/* Shared visual language with the Welcome, About and Support pages. */
:root {
  color-scheme: dark;
  --bg-1: #101410;
  --bg-2: #101410;
  --panel: #171d17;
  --line: #364030;
  --ink: #f4f5ed;
  --muted: #b1b8aa;
  --neon: #75f443;
  --lime: #75f443;
  --glow: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #101410; font-family: "Segoe UI", Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:hover { color: var(--lime); }
:is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.studio-header, .studio-intro, .layout { width: min(100%, 1560px); margin-inline: auto; }
.studio-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 25px 3.5%; border-bottom: 1px solid var(--line); }
.studio-wordmark { font-family: "Arial Narrow", "Segoe UI", sans-serif; font-size: 19px; font-weight: 900; font-style: italic; letter-spacing: -.6px; text-decoration: none; white-space: nowrap; }
.studio-wordmark span { color: var(--lime); }
.studio-nav { display: flex; align-items: center; gap: 26px; font-size: 12px; font-weight: 600; }
.studio-nav a { text-decoration: none; padding-block: 7px; }
.studio-nav a:last-child span { color: var(--lime); margin-left: 6px; }
.studio-intro { display: flex; justify-content: space-between; align-items: end; gap: 26px; padding: 31px 3.5% 29px; }
.studio-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 11px; color: var(--lime); font-size: 12px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.studio-eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--lime); border-radius: 50%; }
.studio-intro h1 { margin: 0; font-family: "Arial Narrow", "Segoe UI", sans-serif; font-size: clamp(32px, 3.6vw, 51px); font-weight: 850; line-height: 1.08; letter-spacing: -2px; }
.studio-intro h1 em { color: var(--lime); font-style: normal; }
.studio-intro p:last-child { margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.studio-intro .btn-link { flex-shrink: 0; margin-bottom: 3px; }
.btn-link, .btn-link.secondary { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 16px; border: 1px solid #526149; border-radius: 2px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 700; text-decoration: none; }
.btn-link:hover { border-color: var(--lime); background: #202a1b; color: var(--ink); }
.btn-link span { color: var(--lime); font-size: 19px; }
.layout { grid-template-columns: minmax(0, 1.85fr) minmax(320px, 1fr); gap: 20px; align-items: start; padding: 0 3.5% 48px; }
.layout > .panel { padding: 22px; border: 1px solid var(--line); border-top: 3px solid var(--lime); border-radius: 2px; background: var(--panel); box-shadow: none; min-width: 0; }
.layout > .panel > h3:first-child { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; color: var(--ink); font-size: 19px; letter-spacing: -.4px; }
.layout > .panel > h3:first-child::before { content: "01 /"; font-size: 12px; font-weight: 700; color: var(--lime); letter-spacing: 1px; }
.layout > .panel:nth-child(2) > h3:first-child::before { content: "02 /"; }
h3, h4, .shift-tracker h2 { font-family: "Segoe UI", Helvetica, sans-serif; font-weight: 650; letter-spacing: -.3px; }
h3, h4 { color: var(--ink); font-size: 17px; }
button, select, input, textarea { font-family: inherit; font-size: 12px; line-height: 1.4; background: #11170f; color: var(--ink); border-color: #45513d; border-radius: 3px; padding: 9px 10px; max-width: 100%; }
button { min-height: 36px; transition: background .15s, border-color .15s; font-weight: 600; }
button:enabled:hover { background: #26331e; color: var(--ink); border-color: var(--lime); }
button:disabled, button:disabled:hover, .shift-tracker button:disabled, .shift-tracker button:disabled:hover { background: #1c2319 !important; color: #b1b8aa !important; border-color: #364030; opacity: .55; cursor: not-allowed; }
input::placeholder, textarea::placeholder { color: #a1ab99; opacity: 1; }
input[type="checkbox"], input[type="range"] { accent-color: var(--lime); }
input[type="color"] { min-width: 40px; height: 36px; padding: 4px; vertical-align: middle; }
input[type="file"] { width: 100%; min-width: 0; padding: 8px; border-style: dashed; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 11px; border: 0; border-radius: 2px; background: #33432a; color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; }
select { text-overflow: ellipsis; }
textarea { resize: vertical; min-height: 82px; }
label { color: #c5ccbf; font-size: 12px; line-height: 1.8; }
.row { gap: 9px; }
.row > label { min-width: 0; max-width: 100%; }
.muted, .help-list { color: var(--muted); font-size: 12px; line-height: 1.75; }
.upload-format-hint { margin-bottom: 15px; }
#videoLibrary { min-width: 0 !important; flex: 1 1 220px; }
#videoContainer { max-width: none; border: 1px solid #526149; border-radius: 2px; box-shadow: none; }
#uploadVideoBtn, #previewLocalVideoBtn, #saveClipBtn, #playPresentationBtn, #shiftStart, #enterFullscreenBtn { background: var(--lime) !important; color: #14200c !important; border-color: var(--lime); }
#uploadVideoBtn:enabled:hover, #previewLocalVideoBtn:enabled:hover, #saveClipBtn:enabled:hover, #playPresentationBtn:enabled:hover, #shiftStart:enabled:hover, #enterFullscreenBtn:enabled:hover { background: #9bff73 !important; color: #14200c !important; }
#exportPresentationBtn { background: #273720 !important; border-color: #60744f; color: var(--ink) !important; }
.upload-progress-track { background: #101410; border-radius: 2px; }
.upload-progress-fill { background: var(--lime); box-shadow: none; }
.shift-tracker { --green: var(--lime); margin-block: 24px; padding-block: 22px; border-block: 1px solid #526149; scroll-margin-top: 18px; }
.shift-tracker > summary { color: var(--ink); font-size: 19px; letter-spacing: -.4px; }
.shift-tracker > summary::marker { color: var(--lime); }
.shift-tracker > summary span { font-size: 12px; letter-spacing: 0; }
.shift-tracker h2 { color: var(--ink); font-size: 23px; }
.shift-tracker .eyebrow { color: var(--lime); font-size: 12px; }
.shift-tracker .notice { background: #202b1b; color: #d0ddc5; border-left-width: 2px; }
.shift-tracker label { font-size: 13px; }
.shift-tracker label > input:not([type=checkbox]), .shift-tracker select { background: #11170f; border-color: #45513d; border-radius: 3px; }
.shift-tracker .shift-player-form { align-items: end; }
.shift-tracker .shift-player-form label { min-width: 0; flex-basis: 140px; }
.shift-tracker th { background: #20281c; color: #d0d8c9; font-weight: 600; }
.shift-tracker th, .shift-tracker td { padding-block: 13px; }
.shift-tracker .table-wrap { border: 1px solid var(--line); border-radius: 2px; }
.shift-tracker .table-wrap table { margin-bottom: 0; }
.shift-tracker .shift-editor { background: #20271c; border-radius: 2px; }
#shiftClock { color: var(--lime); }
.help-box { border-color: var(--line); background: #11170f; border-radius: 2px; padding: 14px; margin-top: 23px; }
.help-box summary { font-size: 13px; color: var(--ink); }
.help-grid { gap: 12px; }
.help-card { background: transparent; border-left: 1px solid #526149; border-radius: 0; padding: 2px 12px; }
.help-title { font-size: 13px; }
.clip-item { background: #11170f; border-left: 2px solid var(--lime); border-radius: 2px; padding: 14px; }
.pill { background: #26331e; border-color: #526149; color: #d0ddc5; border-radius: 3px; }
#clipsList:empty::after { content: "Your saved clips will appear here."; display: block; color: var(--muted); border: 1px dashed var(--line); padding: 23px 14px; margin-top: 15px; font-size: 13px; }
#videoContainer .presentation-toolbar { background: #101410ed; }
#videoContainer:fullscreen, #videoContainer:-webkit-full-screen { border: 0; border-radius: 0; }
@media (max-width: 1150px) { .layout { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 15px; } .layout > .panel { padding: 17px; } }
@media (max-width: 980px) { .layout { grid-template-columns: minmax(0, 1fr); } .studio-intro { padding-block: 28px; } }
@media (max-width: 650px) {
  .studio-header { padding: 20px 5%; gap: 16px; flex-wrap: wrap; }
  .studio-wordmark { font-size: 17px; }
  .studio-nav { gap: 20px; font-size: 12px; }
  .studio-intro { padding: 27px 5% 24px; display: block; }
  .studio-intro h1 { font-size: clamp(33px, 7.8vw, 46px); letter-spacing: -1.4px; }
  .studio-intro .btn-link { margin-top: 20px; }
  .studio-intro p:last-child { max-width: 340px; }
  .layout { padding: 0 4% 30px; gap: 20px; }
  .layout > .panel { padding: 15px; }
  .layout > .panel :is(input, select, textarea) { min-width: 0 !important; max-width: 100%; }
  .layout > .panel > .row > label { flex-wrap: wrap; }
  .layout > .panel > .row { row-gap: 10px; }
  .shift-tracker > summary span { display: block; margin: 7px 0 0; font-size: 12px; }
  .shift-player-form { gap: 10px; }
  .shift-tracker .shift-player-form label { flex-basis: 100%; }
  #enterFullscreenBtn { margin-left: 0 !important; }
  .shift-tracker td button { min-height: 36px; }
}
.preview-notice { width: calc(93% - 2px); max-width: 1450px; margin: 0 auto 18px; padding: 12px 15px; border: 1px solid #45513d; border-left: 3px solid var(--lime); background: #202b1b; color: #d0ddc5; font: 12px/1.75 "Segoe UI", Helvetica, sans-serif; }
.preview-notice strong { color: var(--ink); }
@media (max-width: 650px) { .preview-notice { width: 92%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
