@import url("/docs/assets/theme-tokens.css");
/* Dashboard chrome matches the standalone overlay design workspace. */
body{font-family:var(--site-font);font-size:15px;color:var(--ink);background:var(--palette-bg)}
.brand,.landing .brand{font-family:var(--site-font);font-size:var(--site-brand-size);font-weight:650;letter-spacing:-.5px}
.sidebar,[data-theme=dark] .sidebar{background:var(--palette-sidebar);border-color:var(--line)}
.sidebar .brand{font-family:var(--site-font);font-size:20px;font-weight:650;letter-spacing:-.5px}
.sidebar .brand img{width:34px;height:38px}
.sidebar nav a,.sidebar .sidebar-bottom a,.sidebar .overlay-nav-toggle,.sidebar .overlay-nav-toggle.active,[data-theme=dark] .sidebar nav a,[data-theme=dark] .sidebar .sidebar-bottom a,[data-theme=dark] .sidebar .overlay-nav-toggle,[data-theme=dark] .sidebar .overlay-nav-toggle.active{color:var(--ink);font-size:14px;font-weight:550}
.sidebar nav a,.sidebar .overlay-nav-toggle{padding:13px 14px}
.sidebar nav a.active,[data-theme=dark] .sidebar nav a.active{color:var(--purple);background:var(--soft)}
.sidebar nav a:hover,.sidebar .overlay-nav-toggle:hover,[data-theme=dark] .sidebar .overlay-nav-toggle:hover{background:var(--soft)}
.sidebar .overlay-submenu a{padding:9px 11px}
.topbar,[data-theme=dark] .topbar{height:76px;background:var(--palette-bg);padding:0 32px;border-color:var(--line);font-size:13px}
.content{padding:28px 32px;max-width:none}
.content h1{font-size:30px;font-weight:600}
.content h2{font-size:16px;font-weight:650}
.panel,[data-theme=dark] .panel{background:var(--palette-card);border-color:var(--line);border-radius:12px;margin-bottom:24px}
.panel-body{padding:26px}
.account-footer .workspace,[data-theme=dark] .account-footer .workspace,.account-footer #account-menu,[data-theme=dark] .account-footer #account-menu{background:var(--palette-sidebar);border-color:var(--line)}
.content input,.content select,.content textarea,[data-theme=dark] .content input,[data-theme=dark] .content select,[data-theme=dark] .content textarea{background:var(--design-field);color:var(--ink);border-color:var(--line)}
.content button:not(.primary):not(.toggle):not(.switch),.account-footer button,[data-theme=dark] .content button:not(.primary):not(.toggle):not(.switch){color:var(--ink)}
.content th,[data-theme=dark] .content th{background:var(--design-field);color:var(--muted)}
@media(min-width:1051px){.sidebar{width:232px;padding:30px 18px 18px}.main-wrap{margin-left:232px}}
@media(max-width:700px){.content{padding:22px 18px}.topbar,[data-theme=dark] .topbar{padding:0 18px}}
/* Native details makes the whole command header keyboard- and pointer-operable. */
.builtin-group{position:relative}
.builtin-group:has(.builtin-aliases){padding:0}
.builtin-aliases{margin:0}
.builtin-aliases>summary.builtin-command-heading{display:flex;align-items:center;gap:10px;min-height:64px;width:calc(100% + 52px);margin-inline:-26px;padding:16px 156px 16px 26px;list-style:none;cursor:pointer;color:var(--ink);border-radius:0}
.builtin-aliases>summary.builtin-command-heading::-webkit-details-marker{display:none}
.builtin-aliases>summary.builtin-command-heading:hover{background:var(--soft)}
.builtin-alias-badge{display:inline-flex;align-items:center;white-space:nowrap;padding:2px 7px;border:1px solid var(--line);border-radius:5px;color:var(--muted);font-size:12px;font-weight:500;line-height:1.5}
.builtin-aliases[open] .builtin-alias-badge{display:none}
.builtin-group:has(>.command-group-control:hover) .builtin-command-heading{background:var(--soft)}
.builtin-group>.command-group-control{position:absolute;right:0;top:16px;min-height:32px}
.builtin-group:has(.builtin-aliases[open])>.command-group-control{display:none}
.builtin-command-options{margin-top:0;padding-top:0;border-top:1px solid var(--line)}
.builtin-command-options .setting-row{padding:14px 8px 10px 18px}
.content .segmented{background:var(--design-field);border-color:var(--line)}
.content .segmented button[aria-pressed=false],[data-theme=dark] .content .segmented button[aria-pressed=false]{background:transparent;color:var(--muted);box-shadow:none;border:1px solid transparent}
.content .segmented button[aria-pressed=true],[data-theme=dark] .content .segmented button[aria-pressed=true]{background:var(--soft);color:var(--purple);border:1px solid var(--purple);box-shadow:none}
.content .segmented button[aria-pressed=false]:hover{color:var(--ink);background:var(--palette-card)}
select:not([multiple]){appearance:none;-webkit-appearance:none;background-image:url('/docs/assets/icon-select-chevron.svg')!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:14px 14px!important;padding-right:42px!important}
.content:has(#boot-error){min-height:100dvh;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;gap:16px;text-align:center}
.content:has(#boot-error)>h1,.content:has(#boot-error)>p{width:100%}
.landing .hero{background:radial-gradient(ellipse at 50% 65%,var(--soft),var(--palette-bg) 75%)}
.landing,.landing nav,.landing footer{background-color:var(--palette-bg);color:var(--ink)}
.landing p,.landing footer .fan-disclaimer{color:var(--muted)}
.mobile-header-logo{display:none}
.topbar>.dashboard-breadcrumb{margin-right:auto}
@media(max-width:1050px){.topbar{position:relative}.topbar>.dashboard-breadcrumb{display:none}.topbar>.mobile-header-logo{display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:34px;height:38px;object-fit:contain;pointer-events:none}.topbar>.mobile-menu{margin-right:auto}.topbar #bot-status{max-width:125px;overflow:hidden;text-overflow:ellipsis}}
/* Persistent, quiet thumbs make bounded owner panels discoverable. */
#owner-activity,.owner-console,.owner-channel-list,.maintenance-list{scrollbar-width:thin;scrollbar-color:var(--evo-scroll-thumb,#827091) transparent;scrollbar-gutter:stable}
#owner-activity::-webkit-scrollbar-thumb,.owner-console::-webkit-scrollbar-thumb,.owner-channel-list::-webkit-scrollbar-thumb,.maintenance-list::-webkit-scrollbar-thumb{background:var(--evo-scroll-thumb,#827091)}

/* Dark controls use a quiet outline; keyboard focus remains a separate ring. */
[data-theme=dark] .content .segmented button[aria-pressed=true],
[data-theme=dark] .moderator-tabs button[aria-pressed=true],
[data-theme=dark] .overlay-types button[aria-pressed=true]{border-color:var(--selection-line)}
[data-theme=dark] .primary{background:#6d508f!important;border-color:#6d508f!important;color:#e2dce9!important}

[data-theme=dark] .current-title,[data-theme=dark] .auto-selection,
[data-theme=dark] .title-preview,[data-theme=dark] .title-account-list{border-color:var(--line)}

/* Preserve spacing within the single scrolling navigation area. */
.sidebar-navigation{padding-top:32px;padding-bottom:12px}
.sidebar-navigation>.nav-caption:not(:first-child){margin-top:26px}
@media(max-width:1050px){
 .topbar #bot-status{display:none}
 .topbar>.mobile-menu{width:44px;height:44px;padding:9px;margin-left:-5px;margin-right:auto;flex-shrink:0}
 .topbar>.mobile-menu svg{display:block;width:25px;height:25px}
 .sidebar-navigation{padding-top:28px}
}

/* Ordered title setup shares the dashboard form typography and spacing. */
.title-workflow .panel-body{padding-top:0}.title-step{padding:26px 0;border-bottom:1px solid var(--line)}.title-step:last-child{border-bottom:0;padding-bottom:0}.title-step>h3{display:flex;align-items:center;gap:10px;font-size:16px;margin:0 0 20px}.title-step>h3>span{display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--line);border-radius:7px;font-size:13px;color:var(--purple)}.title-step>.field{max-width:580px}.title-step .title-count{max-width:200px}.title-record-warning{margin:20px 0;line-height:1.65}.title-step .title-account-list{margin-top:20px}.title-step .title-account-row>.field>span{font-weight:550}.title-step .title-account-row>.field>small{line-height:1.5}

.title-workflow .title-step{padding:20px 0}.title-workflow .title-step>h3{margin-bottom:14px}.title-workflow .title-step>.field{margin-bottom:0}

/* Guided title builder, shared by broadcaster and moderator views. */
.title-builder{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:28px;align-items:start}
.title-builder-setup{min-width:0}.title-builder .title-step:first-child{padding-top:0}.title-builder .title-step:last-child{border-bottom:0}
.title-type-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.title-type-options button{min-width:0;display:flex;flex-direction:column;text-align:left;align-items:flex-start;gap:9px;padding:15px 13px;border-radius:10px;background:var(--palette-card,var(--soft));line-height:1.4}
.title-type-options strong{font-size:15px}.title-type-options small{font-size:13px;color:var(--muted)}
.title-type-options button[aria-pressed=true],.title-format-options button[aria-pressed=true]{background:var(--soft);border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple);color:var(--ink)}
.title-mode-field{margin-top:20px}.title-account-controls{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(0,1.5fr);align-items:end;gap:18px}
.title-account-controls .field,.title-account-controls .selection-control{margin:0}.title-account-controls .field-label{display:block;margin-bottom:9px}
.title-builder .auto-selection{margin-top:18px}.title-counter-intro h4{font-size:15px;margin:22px 0 8px}.title-builder .title-record-warning{margin:0 0 12px}
.title-builder .title-account-list{padding:0 12px;margin:16px 0 0}.title-builder .title-account-row{gap:10px;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(65px,1fr))}
.title-review{position:sticky;top:88px;min-width:0;border:1px solid var(--line);background:var(--palette-bg,var(--soft));padding:22px;border-radius:12px;margin-bottom:10px}
.title-review-heading h3{font-size:18px;margin:8px 0 18px}.title-review .eyebrow{font-size:11px}.title-review .title-preview{font-size:17px;line-height:1.65;overflow-wrap:anywhere;min-height:88px;margin:0 0 12px;padding:16px;background:var(--palette-card,var(--soft));border:1px solid var(--line);border-radius:8px}
.title-review textarea{resize:vertical;min-height:88px}.title-review .primary{width:100%;margin-top:18px}.title-review>.hint:last-child{text-align:center;margin-bottom:0}.title-review .hint{font-size:13px;line-height:1.6}
.title-format-options{border:1px solid var(--line);border-radius:10px;padding:16px;margin-top:8px}.title-format-options summary{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:600}.title-format-options summary:before{content:'\203a';font-size:22px;line-height:1;transition:transform .15s}.title-format-options[open] summary:before{transform:rotate(90deg)}.title-format-options summary small{margin-left:auto;font-weight:400;color:var(--muted)}
.title-format-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.title-format-grid button{font-variant-numeric:tabular-nums;font-size:15px;padding:11px 8px}.title-format-current{width:100%}
@media(max-width:1100px){.title-builder{grid-template-columns:1fr}.title-review{position:static}.title-type-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.title-builder{gap:18px}.title-type-options{grid-template-columns:1fr}.title-type-options button{gap:4px;padding:12px 14px}.title-account-controls{grid-template-columns:1fr}.title-builder .title-account-row{grid-template-columns:1fr 1fr}.title-builder .title-account-row>.field:first-child{grid-column:1/-1}.title-review{padding:16px}.title-format-options{padding:12px}}

.panel.title-workflow{overflow:visible}

.title-workflow .current-title{margin-top:16px}
.title-review .title-preview-editor{cursor:text;line-height:1.8}
.title-locked-counters{color:var(--purple);background:var(--soft);border-radius:4px;padding:2px 4px;box-decoration-break:clone;user-select:none}
#title-body{display:inline;white-space:pre-wrap;overflow-wrap:anywhere;outline:none;color:var(--ink);caret-color:var(--purple);min-width:1em}
#title-body:empty:before{content:attr(data-placeholder);color:var(--muted);opacity:.7;pointer-events:none}
.title-preview-editor:focus-within{border-color:var(--purple);box-shadow:0 0 0 2px var(--soft)}

.title-builder.no-running-title{padding-top:18px}
.title-locked-counters{color:var(--ink);background:transparent;border-radius:0;padding:0;user-select:none}
#title-body{display:inline-block;min-width:2px;min-height:1.8em;vertical-align:baseline}
.title-format-options summary:before{display:inline-grid;place-items:center;flex:none;width:16px;height:20px;font-family:Arial,sans-serif;font-weight:400}
.title-format-options summary{line-height:20px;align-items:center}
.title-format-options summary>span,.title-format-options summary>small{line-height:20px}
.title-review #start-title:disabled{opacity:.55;filter:saturate(.3);cursor:wait}
#title-fetch-status:empty{display:none}

/* Slightly clearer dashboard copy, without altering the public-page palette. */
:root[data-theme=dark]{--ink:#d0cdd8;--muted:#a19ba9}
:root:not([data-theme=dark]){--muted:#6e667a}

.title-account-controls .selection-control{display:block}
.title-account-controls .segmented{display:flex}
.title-account-controls .segmented button{white-space:nowrap;flex:1;min-width:0;padding-inline:10px}

/* Give the compact disclaimer room to stay on one desktop line. */
.landing footer{max-width:1400px;grid-template-columns:135px minmax(0,1fr) 88px;gap:16px}
.landing footer .fan-disclaimer{font-size:12px;line-height:1.6}
@media(min-width:1200px){.landing footer .fan-disclaimer{white-space:nowrap}}
@media(max-width:700px){.landing footer{grid-template-columns:1fr}.landing footer .fan-disclaimer{white-space:normal}}
