@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&family=Rubik:wght@400;500;700&display=swap");

/* Dark Theme (Default) */
:root,
[data-theme="dark"] {
  --bg-base: rgb(22, 22, 22);
  --bg-surface: rgb(30, 30, 30);
  --bg-raised: rgb(40, 40, 40);
  --bg-input: rgb(50, 50, 50);
  --accent: rgb(47, 48, 112);
  --accent-hover: rgb(60, 62, 140);
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(47, 48, 112, 0.6);
  --text-primary: rgb(240, 240, 240);
  --text-muted: rgb(160, 155, 155);
  --text-dim: rgb(100, 98, 98);
  --scrollbar-track: rgba(255,255,255,0.03);
  --scrollbar-thumb: rgba(255,255,255,0.12);
  --scrollbar-thumb-hover: rgba(255,255,255,0.22);
}

/* Light Theme */
[data-theme="light"] {
  --bg-base: rgb(245, 245, 247);
  --bg-surface: rgb(235, 235, 238);
  --bg-raised: rgb(225, 225, 230);
  --bg-input: rgb(210, 210, 215);
  --accent: rgb(47, 48, 112);
  --accent-hover: rgb(70, 72, 160);
  --border: rgba(0, 0, 0, 0.1);
  --border-accent: rgba(47, 48, 112, 0.3);
  --text-primary: rgb(20, 20, 22);
  --text-muted: rgb(80, 85, 90);
  --text-dim: rgb(130, 135, 140);
  --scrollbar-track: rgba(0,0,0,0.05);
  --scrollbar-thumb: rgba(0,0,0,0.15);
  --scrollbar-thumb-hover: rgba(0,0,0,0.25);
}

/* High Contrast Theme */
[data-theme="high-contrast"] {
  --bg-base: rgb(0, 0, 0);
  --bg-surface: rgb(15, 15, 15);
  --bg-raised: rgb(30, 30, 30);
  --bg-input: rgb(50, 50, 50);
  --accent: rgb(0, 255, 255);
  --accent-hover: rgb(0, 200, 200);
  --border: rgba(0, 255, 255, 0.3);
  --border-accent: rgba(0, 255, 255, 0.6);
  --text-primary: rgb(255, 255, 255);
  --text-muted: rgb(200, 200, 200);
  --text-dim: rgb(150, 150, 150);
  --scrollbar-track: rgba(0,255,255,0.05);
  --scrollbar-thumb: rgba(0,255,255,0.2);
  --scrollbar-thumb-hover: rgba(0,255,255,0.4);
}

* {
  box-sizing: border-box;
}

/* ── Scrollbars ── */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

html {
  background-color: var(--bg-base);
  overflow: hidden;
  color: var(--text-primary);
}

#container {
  overflow: hidden;
}

#container[style*="display: grid"] {
  overflow: auto;
}

/* ── Header ── */
.header {
  width: 100%;
  height: 4.5rem;
  display: flex;
  align-items: center;
  background-color: var(--bg-surface);
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title {
  font-family: "Quicksand", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #f5d800;
  margin: 0;
  width: max-content;
  letter-spacing: -0.5px;
}

.beacon {
  font-family: "Rubik", sans-serif;
  color: royalblue;
  margin: 0;
  margin-left: -7px;
}

.time-display {
  display:block;
  width: 100%;
  text-align: center;
  font-family: "Rubik", sans-serif;
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.frc7250 {
  font-size: 0.8rem;
  font-family: "Rubik", sans-serif;
  color: var(--text-dim);
  margin: 0;
}

.version {
  font-size: 0.6rem;
  font-family: "Rubik", sans-serif;
  color: var(--text-dim);
  margin: 0;
}

.settings {
  width: 1.8rem;
  height: 1.8rem;
  margin: 0 10px;
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.2s;
  filter: invert(1);
}

.settings:hover {
  opacity: 0.65;
}

/* ── Settings Modal ── */
.settingscontainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 0;
  width: 320px;
  display: none;
  flex-direction: column;
  font-family: "Rubik", sans-serif;
  color: var(--text-muted);
  z-index: 100;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  max-height: 80vh;
  overflow-y: auto;
}

.settings-title {
  background-color: var(--bg-raised);
  width: 100%;
  border-radius: 12px 12px 0 0;
  padding: 16px 20px;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.settingsdiv {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.settingsdiv:last-of-type {
  border-bottom: none;
}

.settings-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 0 0 8px 0;
  font-weight: 500;
}

.settings-field {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.settings-field label {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
}

input {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background-color: var(--bg-input);
  color: var(--text-primary);
  font-family: "Rubik", sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

input[type="text"],
input[type="number"] {
  padding: 8px 10px;
  min-width: 120px;
  text-align: left;
}

select {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background-color: var(--bg-input);
  color: var(--text-primary);
  font-family: "Rubik", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s;
  min-width: 120px;
}

select:focus {
  outline: none;
  border-color: var(--accent);
}

select option {
  background-color: var(--bg-input);
  color: var(--text-primary);
}

.teaminput {
  width: 100px;
}

#testDate {
  width: 160px;
}

/* ── Toggle Switch ── */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

input[type="checkbox"]::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--text-primary);
  top: 1px;
  left: 1px;
  transition: all 0.3s ease;
}

input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

input[type="checkbox"]:checked::before {
  left: 21px;
}

.savebutton {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 12px 24px;
  margin: 20px;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Rubik", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color 0.2s;
  width: calc(100% - 40px);
}

.savebutton:hover { background-color: var(--accent-hover); }


/* ── Toasts ── */
.errorcontainer {
  position: fixed;
  bottom: 20px;
  width: 100%;
  pointer-events: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: end;
  margin-top: 16px;
  z-index: 50;
  gap: 4px;
}
/* test to see if css updates*/
.error,
.message {
  display: flex;
  align-items: center;
  pointer-events: fill;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: "Rubik", sans-serif;
  font-size: 0.82rem;
  color: var(--text-primary);
}

.error {
  background-color: rgb(80, 25, 25);
  border: 1px solid rgba(200, 60, 60, 0.25);
}

.message {
  background-color: var(--bg-raised);
  border: 1px solid var(--border);
}

.error-exit {
  color: var(--text-dim);
  cursor: pointer;
  margin: 0;
  font-size: 0.75rem;
  transition: color 0.15s;
}

.error-exit:hover { color: var(--text-primary); }

/* ── Main layout ── */
.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  padding: 12px;
  gap: 12px;
  height: calc(100vh - 4.5rem);
  overflow: hidden;
}

/* All direct grid children must have min-height: 0 or they
   ignore max-height and overflow into adjacent columns */
.container > * {
  min-height: 0;
}

#left-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 0;
  overflow: hidden; /* webcast stays fixed, notes scrolls internally */
}

/* ── Webcast ── */
.webcast-card {
  background-color: var(--bg-surface);
  border-radius: 8px;
  border: 1px solid var(--border-accent);
  overflow: hidden;
  flex-shrink: 0; /* never squish the video */
}

.webcast-card iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* ── Notes ── */
#notes-section {
  flex: 1; /* fills remaining height below the webcast */
  min-height: 0;
  height: 100%;
  background-color: var(--bg-surface);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-family: "Rubik", sans-serif;
  color: var(--text-primary);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.notes-title {
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.add-note-btn {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 4px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Rubik", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.add-note-btn:hover { background-color: var(--accent-hover); }

.notes-table {
  width: 100%;
  border-collapse: collapse;
}

.notes-table th {
  text-align: left;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 4px 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background-color: var(--bg-surface); /* stay visible while scrolling */
}

.note-row td {
  padding: 5px 8px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.note-row:last-child td {
  border-bottom: none;
}

.note-input {
  background-color: var(--bg-raised);
  border: 1px solid transparent !important;
  color: var(--text-primary);
  border-radius: 4px;
  padding: 4px 8px !important;
  width: 100%;
  font-family: "Rubik", sans-serif;
  font-size: 0.85rem;
  resize: none;
  overflow: hidden;
  min-height: 30px;
  line-height: 1.45;
  transition: border-color 0.15s;
}

.note-input:focus {
  outline: none;
  border-color: var(--accent) !important;
}

.priority-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.priority-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  cursor: text;
  outline: none;
  white-space: nowrap;
  overflow: hidden;
  transition: background-color 0.25s;
}

.delete-note-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s;
}

.delete-note-btn:hover { color: rgb(200, 80, 80); }

/* ── Leaderboard ── */
#leaderboard-section {
  height: 100%;
  min-height: 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font-family: "Rubik", sans-serif;
  color: var(--text-primary);
  overflow-y: auto;
  align-self: stretch;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.leaderboard-table thead th {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 4px 8px 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background-color: var(--bg-surface);
}

.leaderboard-table tbody td {
  text-align: center;
  padding: 7px 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.leaderboard-table tbody tr:last-child td {
  border-bottom: none;
}

.leaderboard-table tbody tr:hover td {
  background-color: var(--bg-raised);
}

.my-team td {
  background-color: rgba(47, 48, 112, 0.3) !important;
  color: var(--text-primary) !important;
  font-weight: 700;
}

.my-team td:first-child { border-radius: 6px 0 0 6px; }
.my-team td:last-child  { border-radius: 0 6px 6px 0; }

/* ── Match cards ── */
#match-section {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 2px 12px 2px;
  overflow-y: auto;
  align-self: stretch;
}

.match-card,
.upcomingmatch-card {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  font-family: "Rubik", sans-serif;
  flex-shrink: 0;
}

.match-card {
  border-color: var(--border-accent);
  background-color: rgba(47, 48, 112, 0.12);
}

.countdown-warning {
  color: rgb(255, 200, 0);
  font-weight: 600;
  font-size: 0.95rem;
}

.countdown-urgent {
  color: rgb(255, 80, 80);
  font-weight: 700;
  font-size: 1rem;
  animation: pulse 0.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.match-card p,
.upcomingmatch-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.inactive {
  text-align: center;
  color: var(--text-dim);
  font-style: italic;
  width: 100vw;
  font-family: "Rubik", sans-serif;
  padding: 20px;
}
.match-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}

.upcoming-basicinfo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.upcoming-teams {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.alliance-row {
  display: flex;
  flex-direction: row;
  gap: 4px;
  flex-wrap: wrap;
}
.user-team {
  justify-content: center;
  padding: 8px 0;
  border-bottom: 2px solid var(--border);
}
.red {
  color: rgb(200, 80, 80) !important;
  border: 1px solid rgba(200, 80, 80, 0.25);
  padding: 4px 8px;
  border-radius: 5px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.blue {
  color: rgb(80, 80, 200) !important;
  border: 1px solid rgba(80, 80, 200, 0.25);
  padding: 4px 8px;
  border-radius: 5px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.red.highlight {
  background-color: rgba(200, 80, 80, 0.3) !important;
}
.blue.highlight {
  background-color: rgba(80, 80, 200, 0.3) !important;
}

/* ── Layout Editor Modal ── (replace the existing layout editor block) ── */

.layout-editor-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.layout-editor-modal.active {
  display: flex;
}

.layout-editor-container {
  display: flex;
  flex-direction: column;
  height: calc(100% - 40px);
  margin: 20px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.layout-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background-color: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 10px;
}

.layout-editor-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.layout-editor-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.layout-editor-controls label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: "Rubik", sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

.layout-editor-controls input[type="number"] {
  width: 52px;
  padding: 5px 7px;
  text-align: center;
}

.layout-editor-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.layout-editor-buttons button {
  padding: 7px 14px;
  border: none;
  border-radius: 6px;
  font-family: "Rubik", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s, opacity 0.15s;
}

.btn-export  { background-color: rgb(55, 110, 55);  color: #fff; }
.btn-export:hover  { background-color: rgb(70, 130, 70); }
.btn-import  { background-color: rgb(110, 90, 55);  color: #fff; }
.btn-import:hover  { background-color: rgb(130, 110, 70); }
.btn-reset   { background-color: rgb(110, 60, 60);  color: #fff; }
.btn-reset:hover   { background-color: rgb(130, 80, 80); }
.btn-close   { background-color: var(--bg-input);   color: var(--text-primary); }
.btn-close:hover   { background-color: var(--accent); color: #fff; }

/* ── Canvas & Grid ── */

.layout-editor-canvas {
  flex: 1;
  overflow: auto;
  padding: 20px;
  background-color: var(--bg-base);
}

.layout-grid {
  display: grid;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 400px;
  position: relative;

  /* Dotted background grid — updates via inline backgroundSize */
  background-image:
    linear-gradient(to right,  rgba(47, 48, 112, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 48, 112, 0.18) 1px, transparent 1px);
  /* backgroundSize is set dynamically in JS */
  border: 1px solid rgba(47, 48, 112, 0.25);
  border-radius: 6px;
}

/* ── Layout items ── */

.layout-item {
  background-color: var(--bg-surface);
  border: 2px solid var(--border-accent);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-height: 0;
  overflow: hidden;
}

.layout-item:hover {
  border-color: rgba(90, 92, 200, 0.8);
  box-shadow: 0 0 0 3px rgba(47, 48, 112, 0.15);
}

.layout-item.dragging {
  cursor: grabbing;
  opacity: 0.85;
  border-color: rgb(90, 92, 200);
  box-shadow: 0 4px 20px rgba(47, 48, 112, 0.45);
  z-index: 50;
}

.layout-item.resizing {
  opacity: 0.85;
  border-color: rgb(90, 92, 200);
  box-shadow: 0 4px 20px rgba(47, 48, 112, 0.45);
}

.layout-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

.layout-item-header i {
  margin-right: 5px;
  opacity: 0.7;
  font-size: 1rem;
  vertical-align: -2px;
}

.layout-item-size {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-dim);
  background: var(--bg-raised);
  padding: 2px 7px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: "Rubik", sans-serif;
}

.layout-item-hint {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: "Rubik", sans-serif;
  flex: 1;
  display: flex;
  align-items: flex-end;
}

/* ── Resize handle ── */

.resize-handle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  cursor: nwse-resize;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 3px;
  opacity: 0.35;
  transition: opacity 0.15s;
}

.resize-handle::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  border-radius: 0 0 4px 0;
}

.layout-item:hover .resize-handle { opacity: 0.8; }
.layout-item.resizing .resize-handle { opacity: 1; }

/* ── Locked-aspect (webcast) item ── */

.layout-item--locked-aspect {
  cursor: grab;
  border-color: rgba(60, 100, 180, 0.55);
}

.layout-item--locked-aspect:hover {
  border-color: rgba(80, 130, 220, 0.85);
  box-shadow: 0 0 0 3px rgba(60, 100, 180, 0.15);
}

.layout-item--locked-aspect.dragging {
  border-color: rgb(80, 130, 220);
  box-shadow: 0 4px 20px rgba(60, 100, 180, 0.4);
}

.layout-item-aspect-badge {
  font-size: 0.7rem;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(60, 100, 180, 0.2);
  color: rgb(120, 160, 230);
  border: 1px solid rgba(60, 100, 180, 0.35);
  letter-spacing: 0.03em;
}

/* ── Right-edge width-only resize handle (locked-aspect items) ── */

.resize-handle-width {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
  transition: opacity 0.15s, background 0.15s;
  border-radius: 0 8px 8px 0;
}

.resize-handle-width::before {
  content: "";
  display: block;
  width: 3px;
  height: 28px;
  background: var(--text-muted);
  border-radius: 2px;
}

.layout-item:hover .resize-handle-width { opacity: 0.75; }
.layout-item.resizing .resize-handle-width { opacity: 1; background: rgba(47, 48, 112, 0.15); }