:root {
  --bg: #080909;
  --panel: #17191b;
  --panel-soft: #202327;
  --panel-hard: #0c0d0f;
  --line: #363b42;
  --text: #edf2f7;
  --muted: #8d98a6;
  --blue: #0a84d6;
  --blue-soft: #12395a;
  --green: #4eb033;
  --red: #c8323a;
  --amber: #d39a28;
  --button: #2d3137;
  --button-hi: #3c424a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body.is-authenticated .login-screen {
  display: none;
}

body:not(.is-authenticated) {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

body.is-layer-dragging {
  cursor: grabbing;
  user-select: none;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(28, 33, 38, .86), rgba(8, 9, 9, .92) 260px),
    radial-gradient(circle at 18% 8%, rgba(10, 132, 214, .12), transparent 30%),
    #080909;
}

.app-shell.is-locked {
  display: none;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    radial-gradient(circle at 70% 38%, rgba(10, 132, 214, .18), transparent 34%),
    #070808;
  background-size: 64px 64px, 64px 64px, auto, auto;
}

.login-brand {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  background: rgba(18, 20, 23, .92);
  border-bottom: 1px solid #2b3036;
}

.login-brand strong,
.login-brand small {
  display: block;
}

.login-brand small {
  color: var(--muted);
}

.login-panel {
  width: min(1080px, calc(100vw - 32px));
  align-self: center;
  justify-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 520px;
  border: 1px solid #353c44;
  background: #111315;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55);
}

.login-preview {
  padding: 26px;
  border-right: 1px solid #30363d;
  background: #0b0d0f;
}

.login-monitor {
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(42, 51, 61, .72), rgba(4, 5, 5, .82)),
    #030404;
  background-size: 25% 25%, 25% 25%, auto, auto;
  border: 1px solid #505862;
}

.login-monitor::before,
.login-monitor::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .28);
}

.login-monitor::before {
  inset: 5%;
}

.login-monitor::after {
  inset: 12%;
}

.monitor-tag {
  position: absolute;
  top: 16px;
  min-width: 100px;
  padding: 7px 10px;
  text-align: center;
  color: white;
  font-size: 12px;
  border: 1px solid currentColor;
  background: rgba(0, 0, 0, .34);
}

.preview-tag {
  left: 16px;
  color: #9bee87;
}

.program-tag {
  right: 16px;
  color: #ff7b84;
}

.login-lower-third {
  position: absolute;
  left: 8%;
  right: 12%;
  bottom: 17%;
  padding: 17px 22px;
  background:
    linear-gradient(90deg, rgba(6, 116, 204, .95), rgba(24, 151, 237, .78) 58%, rgba(255,255,255,.12)),
    #10283b;
  border-left: 5px solid #67c5ff;
  box-shadow: 0 0 22px rgba(0, 132, 255, .45), inset 0 -5px 0 rgba(0, 0, 0, .32);
}

.login-lower-third span,
.login-lower-third strong,
.login-lower-third small {
  display: block;
  text-shadow: 0 1px 1px #000;
}

.login-lower-third span {
  color: #c8e9ff;
  font-size: 12px;
  text-transform: uppercase;
}

.login-lower-third strong {
  margin-top: 4px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
}

.login-lower-third small {
  margin-top: 8px;
  color: #e6f4ff;
}

.login-fields {
  align-self: center;
  margin: 0 18px;
  background: linear-gradient(180deg, #1d2024, #151719 58%, #121416);
  border: 1px solid #333942;
}

.login-error {
  min-height: 20px;
  margin: 0;
  padding: 0 10px 10px;
  color: #ff9aa2;
  font-size: 12px;
}

.login-submit {
  width: calc(100% - 20px);
  margin: 0 10px 12px;
}

.topbar {
  height: 54px;
  display: grid;
  grid-template-columns: 280px 1fr 220px;
  align-items: stretch;
  border-bottom: 1px solid #24282d;
  background: linear-gradient(180deg, #22262b 0%, #151719 72%, #101214 100%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-right: 1px solid #282c31;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 30px;
  place-items: center;
  background: linear-gradient(160deg, #0c7fd1, #1d313b);
  border: 1px solid #3b9ada;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.muted {
  color: var(--muted);
}

.top-actions {
  display: flex;
  overflow-x: auto;
}

.top-action {
  min-width: 132px;
  padding: 0 18px;
  color: #cfd6df;
  background: linear-gradient(180deg, #24282e, #1a1d21);
  border: 0;
  border-right: 1px solid #30343a;
  text-transform: uppercase;
  font-size: 12px;
}

.top-action.is-active {
  color: white;
  background: linear-gradient(180deg, #2e4658, #1d3447);
  box-shadow: inset 0 -3px 0 var(--blue);
}

.status-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 16px;
  background: #111315;
  color: #c4ccd5;
  font-size: 12px;
}

.logout-btn {
  min-height: 28px;
  padding: 0 10px;
  color: #dfe8f2;
  background: #2b3036;
  border: 1px solid #454c55;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.status-dot.online {
  background: var(--green);
  box-shadow: 0 0 10px rgba(78, 176, 51, .8);
}

main {
  min-height: 0;
  flex: 1;
}

.view {
  display: none;
  min-height: calc(100vh - 54px);
}

.view.is-active {
  display: block;
}

.live-grid {
  display: grid;
  grid-template-columns: 280px minmax(640px, 1fr) 320px;
  gap: 8px;
  min-height: calc(100vh - 54px);
  padding: 8px;
}

.source-bank,
.control-stack,
.monitor-wall,
.panel,
.admin-panel,
.properties,
.canvas-panel {
  background: linear-gradient(180deg, #1d2024, #151719 58%, #121416);
  border: 1px solid #2c3137;
}

.panel-title {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #2b3036, #20242a);
  color: #f4f7fb;
  font-size: 12px;
  text-transform: uppercase;
}

.source-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.preset {
  min-height: 58px;
  padding: 9px 10px;
  border: 1px solid #343a42;
  background: linear-gradient(180deg, #171a1e, #0e1012);
  color: white;
  text-align: left;
}

.preset.is-selected {
  border-color: var(--green);
  box-shadow: inset 4px 0 0 #2f861f;
}

.rider-preset {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.rider-name {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
  line-height: 1.05;
}

.rider-country {
  display: grid;
  justify-items: end;
  gap: 3px;
  flex: 0 0 auto;
}

.rider-name b {
  color: #9bd4ff;
  font-size: 11px;
  font-weight: 800;
}

.flag {
  display: block;
  width: 22px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, .42);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}

.flag-ger {
  background: linear-gradient(#111 0 33.33%, #dd1d28 33.33% 66.66%, #f6d04d 66.66% 100%);
}

.flag-aut {
  background: linear-gradient(#d71920 0 33.33%, #fff 33.33% 66.66%, #d71920 66.66% 100%);
}

.flag-fra {
  background: linear-gradient(90deg, #183a8f 0 33.33%, #fff 33.33% 66.66%, #d71920 66.66% 100%);
}

.flag-sui {
  background:
    linear-gradient(90deg, transparent 0 36%, #fff 36% 64%, transparent 64% 100%),
    linear-gradient(transparent 0 36%, #fff 36% 64%, transparent 64% 100%),
    #d71920;
}

.flag-ned {
  background: linear-gradient(#ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66% 100%);
}

.flag-gbr {
  background:
    linear-gradient(90deg, transparent 0 42%, #fff 42% 58%, transparent 58% 100%),
    linear-gradient(transparent 0 38%, #fff 38% 62%, transparent 62% 100%),
    #1f3f8f;
}

.preset small {
  display: block;
  color: var(--muted);
  line-height: 1.2;
}

.monitor-wall {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.monitor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
}

.monitor {
  min-width: 0;
}

.monitor-label {
  padding: 6px 8px;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
  color: #dce5ee;
  background: #0b0d0f;
  border: 1px solid #2c3137;
  border-bottom: 0;
  position: relative;
  min-height: 31px;
}

.monitor-preview .monitor-label,
.monitor-preview .video-frame {
  border-color: var(--red);
}

.monitor-program .monitor-label,
.monitor-program .video-frame {
  border-color: var(--green);
}

.monitor-settings-btn {
  position: absolute;
  top: 3px;
  right: 5px;
  width: 25px;
  height: 23px;
  display: grid;
  place-items: center;
  color: #dfe8f2;
  background: linear-gradient(180deg, #3a4048, #252a30);
  border: 1px solid #4b535e;
  font-size: 14px;
  line-height: 1;
}

.monitor-settings-btn.is-active {
  color: white;
  border-color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--blue);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 36%, rgba(0,0,0,.22)),
    repeating-conic-gradient(#24282e 0 25%, #16191d 0 50%) 0 / 18px 18px,
    #070808;
  border: 2px solid #30343a;
}

.program-settings-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  width: min(238px, calc(100% - 20px));
  padding: 10px;
  color: #e8eef6;
  background: linear-gradient(180deg, rgba(31, 35, 40, .96), rgba(14, 16, 18, .96));
  border: 1px solid #4b535e;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .55);
  z-index: 5;
}

.program-settings-panel[aria-hidden="true"] {
  display: none;
}

.video-frame.has-greenscreen::after {
  content: "GREENSCREEN";
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 7px;
  color: #d8ffd3;
  background: rgba(26, 71, 22, .78);
  border: 1px solid rgba(78, 176, 51, .9);
  font-size: 10px;
  font-weight: 800;
  z-index: 4;
}

.settings-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #363d45;
  font-size: 12px;
  text-transform: uppercase;
}

.settings-head span {
  color: var(--muted);
  font-size: 11px;
}

.toggle-row,
.settings-field {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  font-size: 12px;
}

.toggle-row span,
.settings-field span {
  color: #c3ccd7;
}

.settings-field input[type="color"] {
  width: 100%;
  height: 24px;
  padding: 0;
  border: 1px solid #4b535e;
  background: #111315;
}

.settings-field input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}

.toggle-row input {
  justify-self: start;
  accent-color: var(--green);
}

.safe,
.canvas-safe {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .24);
}

.safe-title,
.canvas-safe.title {
  inset: 10%;
}

.canvas-safe.action {
  inset: 4%;
}

.gfx.lower-third,
.editable.lower-third {
  position: absolute;
  left: 8%;
  bottom: 16%;
  width: min(570px, 68%);
  padding: 10px 18px 12px 22px;
  background:
    linear-gradient(90deg, rgba(6, 116, 204, .95), rgba(24, 151, 237, .8) 62%, rgba(255, 255, 255, .12)),
    linear-gradient(#0b2940, #0b2940);
  border-left: 5px solid #60c0ff;
  box-shadow: 0 0 18px rgba(0, 132, 255, .5), inset 0 -4px 0 rgba(0, 0, 0, .32);
}

.gfx strong,
.gfx small,
.gfx span,
.editable strong,
.editable small,
.editable span {
  display: block;
  text-shadow: 0 1px 1px #000;
}

.gfx strong,
.editable strong {
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1;
}

.gfx small,
.editable small {
  color: #dfefff;
  margin-top: 5px;
}

.gfx-kicker {
  color: #bfe4ff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.gfx.is-hidden {
  opacity: 0;
  transform: translateX(-26px);
}

.gfx {
  transition: opacity .28s ease, transform .28s ease;
}

.shortcut-switcher {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto;
  gap: 1px;
  padding: 8px;
  border-top: 1px solid #252a30;
  background: linear-gradient(180deg, #171a1e, #101214);
}

.shortcut-label {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #30353c, #24282e);
  color: #d2d9e2;
  font-size: 12px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0;
  text-transform: uppercase;
}

.shortcut-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(72px, 1fr));
  grid-template-rows: repeat(3, 52px);
  gap: 1px;
}

.source-btn {
  min-height: 52px;
  border: 0;
  background: linear-gradient(180deg, #333940, #272b31);
  color: #e4ebf3;
  font-size: 12px;
}

.source-btn.is-live {
  background: linear-gradient(180deg, #2b6a24, #1a4716);
  box-shadow: inset 0 -4px 0 var(--green);
}

.source-btn.is-preview {
  background: linear-gradient(180deg, #7a2029, #4c151a);
  box-shadow: inset 0 -4px 0 var(--red);
}

.source-btn.is-live.is-preview {
  background:
    linear-gradient(90deg, rgba(78, 176, 51, .95) 0 50%, rgba(200, 50, 58, .95) 50% 100%),
    linear-gradient(180deg, #30353c, #24282e);
}

.shortcut-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  position: relative;
}

.shortcut-btn span {
  color: #aeb8c5;
  font-size: 11px;
}

.shortcut-btn strong {
  font-size: 12px;
  line-height: 1.05;
}

.shortcut-btn small {
  color: #95a0ad;
  font-size: 10px;
  line-height: 1;
}

.shortcut-btn.is-drop-target {
  outline: 2px solid #9bd4ff;
  outline-offset: -3px;
  background:
    linear-gradient(180deg, rgba(10, 132, 214, .55), rgba(18, 57, 90, .72)),
    linear-gradient(180deg, #333940, #272b31);
}

.layer-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
  margin-top: auto;
  max-height: 236px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #171a1e, #101214);
  border-top: 1px solid #272c32;
  scrollbar-color: #56616d #111315;
  scrollbar-width: thin;
}

.layer-strip::-webkit-scrollbar {
  width: 10px;
}

.layer-strip::-webkit-scrollbar-track {
  background: #111315;
}

.layer-strip::-webkit-scrollbar-thumb {
  background: #56616d;
  border: 2px solid #111315;
}

.layer-card {
  background: linear-gradient(180deg, #252a30, #1a1d21);
  border: 1px solid #333942;
  cursor: grab;
  min-width: 0;
  user-select: none;
}

.layer-card.is-dragging {
  opacity: .55;
  cursor: grabbing;
  outline: 2px solid #9bd4ff;
  outline-offset: -2px;
}

.layer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px;
  background: #2b3036;
  font-size: 12px;
}

.layer-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  background:
    linear-gradient(90deg, transparent, rgba(10, 132, 214, .8), transparent),
    repeating-conic-gradient(#24282e 0 25%, #171a1e 0 50%) 0 / 16px 16px;
}

.layer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.layer-actions button {
  height: 32px;
  color: white;
  background: #30353c;
  border: 1px solid #20242a;
}

.control-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 0;
  background: transparent;
}

.take-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
}

.take-btn {
  min-height: 64px;
  border: 1px solid #414852;
  background: linear-gradient(180deg, #3a4048, #2b3037);
  color: white;
  font-weight: 800;
}

.take-btn.primary {
  background: linear-gradient(180deg, #1877ba, #0b5d95);
  border-color: #1894e8;
}

.take-btn.danger {
  background: linear-gradient(180deg, #6b2027, #4d171b);
  border-color: #a53038;
}

.field {
  display: block;
  padding: 10px;
}

.field span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 5px;
}

.field input {
  width: 100%;
  height: 36px;
  color: white;
  background: linear-gradient(180deg, #15181b, #0f1113);
  border: 1px solid #3a4048;
  padding: 0 10px;
}

.event-log ul,
.event-log li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-log ul {
  padding: 8px 10px 12px;
  max-height: 180px;
  overflow: auto;
}

.event-log li {
  color: #cfd8e3;
  border-bottom: 1px solid #262b31;
  padding: 7px 0;
  font-size: 12px;
}

.pill {
  display: inline-grid;
  place-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 2px;
  font-size: 11px;
  text-transform: uppercase;
}

.live-pill {
  background: #64191f;
  color: #ffd9dd;
}

.online-pill {
  background: #1c5918;
  color: #d8ffd3;
}

.standby-pill {
  background: #5a431c;
  color: #ffe4ad;
}

.mini-btn,
.icon-btn,
.link-btn {
  min-height: 28px;
  border: 1px solid #454b55;
  color: #eef4fb;
  background: linear-gradient(180deg, #3a4048, #2e333a);
}

.icon-btn {
  width: 28px;
}

.mini-btn {
  padding: 0 12px;
}

.mini-btn.ghost {
  background: transparent;
}

.link-btn {
  min-height: 26px;
  padding: 0 9px;
  color: #9bd4ff;
  background: transparent;
}

.studio-grid {
  display: grid;
  grid-template-columns: 64px minmax(620px, 1fr) 310px;
  gap: 8px;
  min-height: calc(100vh - 54px);
  padding: 8px;
}

.tool-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: linear-gradient(180deg, #343a42, #24282e);
  border: 1px solid #3a414a;
}

.tool {
  height: 42px;
  border: 1px solid #515963;
  background: linear-gradient(180deg, #2b3036, #202327);
  color: white;
}

.tool.is-active {
  background: linear-gradient(180deg, #1682cb, #0a66a8);
  border-color: #4fb4ff;
}

.canvas-stage {
  position: relative;
  width: min(100%, 1180px);
  aspect-ratio: 16 / 9;
  margin: 28px auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%, rgba(0,0,0,.32)),
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    #030404;
  background-size: auto, 25% 25%, 25% 25%, auto;
  border: 1px solid #4a515b;
  overflow: hidden;
}

.editable.lower-third {
  outline: 2px solid rgba(255, 255, 255, .7);
  outline-offset: 2px;
}

.page-list,
.layer-list {
  display: grid;
  gap: 6px;
  padding: 10px;
}

.page-item,
.layer-item {
  height: 38px;
  border: 1px solid #3a4048;
  background: linear-gradient(180deg, #181b1f, #101214);
  color: white;
  text-align: left;
  padding: 0 10px;
}

.page-item.is-active {
  border-color: var(--blue);
  box-shadow: inset 4px 0 0 var(--blue);
}

.layers-title {
  margin-top: 10px;
}

.management-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 8px;
  padding: 8px;
}

.admin-panel {
  min-height: 220px;
}

.admin-panel.wide {
  grid-column: span 2;
}

.metric {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #2a3037;
}

.metric span {
  color: var(--muted);
}

.button-row {
  display: flex;
  gap: 8px;
  padding: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid #2a3037;
  font-size: 13px;
}

th {
  color: #aeb8c5;
  background: linear-gradient(180deg, #1a1d21, #111315);
  font-weight: 600;
}

@media (max-width: 1180px) {
  .topbar {
    grid-template-columns: 220px 1fr;
  }

  .status-strip {
    justify-content: flex-start;
    grid-column: 1 / -1;
    min-height: 42px;
  }

  .live-grid,
  .studio-grid,
  .management-grid {
    grid-template-columns: 1fr;
  }

  .source-list,
  .monitor-row,
  .layer-strip,
  .management-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel.wide {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  body:not(.is-authenticated) {
    overflow: auto;
  }

  .login-panel {
    grid-template-columns: 1fr;
    align-self: start;
    margin: 16px 0;
  }

  .login-preview {
    border-right: 0;
    border-bottom: 1px solid #30363d;
  }

  .login-monitor {
    min-height: 320px;
  }

  .topbar {
    height: auto;
    grid-template-columns: 1fr;
  }

  .brand {
    min-height: 54px;
  }

  .top-actions {
    min-height: 46px;
  }

  .view,
  .live-grid,
  .studio-grid {
    min-height: auto;
  }

  .shortcut-row {
    grid-template-columns: repeat(3, minmax(64px, 1fr));
    grid-template-rows: repeat(6, 52px);
  }
}
