@import url('/digitalmedia-brand.css');
/* Phase 3 · one visual system. No views, actions or permission gates are removed. */
.form-grid label[hidden] { display: none !important; }
.plan-price .plan-price-usd { display: block; margin-top: 8px; font-size: 22px; color: var(--action); }
.plan-price .plan-currency-note { display: block; margin-top: 10px; font: 400 11px/1.5 Inter,sans-serif; color: var(--muted); }
:root {
  --bg: #f6f5f1; --bg2: #eeeee8; --panel: #fff; --line: #dedfd8;
  --text: #20231f; --muted: #62665d; --ink: #1b1e1a;
  --accent: #1765d1; --action: #1765d1; --action-hover: #1254b5;
  --success: #16734f; --amber: #8c5b08; --danger: #b73145; --info: #375c83;
  --surface-soft: #f8f9f5; --accent-soft: #fff0e9;
  --success-soft: #eaf5ee; --warning-soft: #fff4da; --error-soft: #fceef0;
  --radius-sm: 7px; --radius: 12px; --radius-lg: 16px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --shadow: 0 16px 48px #1920161a; --control-shadow: 0 6px 24px #19201612;
}
body { background-image: none; font-size: 13px; line-height: 1.5; }
.workspace { background: var(--bg); }
.content { width: 100%; max-width: 1520px; padding: 28px clamp(20px,3vw,40px) 48px; }
h1,h2,h3,h4,p { overflow-wrap: anywhere; }
.hero-row,.section-head { align-items: center; gap: 16px; margin-bottom: 24px; }
.hero-row h1,.section-head h1 { font-size: clamp(27px,2.4vw,32px); line-height: 1.2; font-weight: 600; letter-spacing: -.045em; }
.section-head .muted { font-size: 13px; line-height: 1.5; margin: 6px 0 0; }
.eyebrow { color: var(--muted); font-size: 10px; letter-spacing: .1em; font-weight: 600; margin-bottom: 6px; }
.panel h3,.station-card h3 { font-size: 18px; line-height: 1.3; font-weight: 600; margin-bottom: 12px; }
.panel,.station-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 20px; box-shadow: none; }
.panel-head { align-items: center; margin-bottom: 12px; }
.panel-head h3 { margin-bottom: 0; }
.muted,.context-help,.readable { color: var(--muted); }
.context-help { font-size: 12px !important; }
.sidebar { padding: 24px 16px 16px; background: var(--ink); }
.sidebar nav { gap: 4px; flex: 1; min-height: 0; }
.sidebar .brand { padding: 0 10px 24px; }
.sidebar .brand small { color: #b0b4a9; font-size: 9px; }
.nav-group-label { color: #a2a79b; font-size: 10px; letter-spacing: .1em; margin: 20px 12px 8px; }
.nav-item { position: relative; min-height: 40px; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; color: #bec3b8; gap: 10px; }
.nav-item span { display: inline-flex; align-items: center; color: inherit; }
.nav-item.active { color: #ffb49f; background: #f25c3b14; font-weight: 600; }
.nav-item.active::before { content: ''; position: absolute; width: 3px; height: 18px; left: 0; background: var(--accent); border-radius: 2px; }
.nav-item.active span { color: inherit; }
.nav-item:hover { background: #ffffff0b; color: #fff; }
.sidebar-foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid #ffffff15; }
.logout-btn { align-items: center; min-height: 40px; color: #bdc1b7; font-size: 12px; }
.topbar { min-height: 72px; height: 72px; padding: 12px 32px; border-bottom: 1px solid var(--line); background: #ffffffeb; gap: 16px; backdrop-filter: blur(8px); }
.topbar p { color: var(--muted); font-size: 9px; margin-bottom: 3px; }
.topbar h2 { font-size: 15px; font-weight: 600; letter-spacing: -.025em; }
.global-search input { height: 40px; border-color: var(--line); border-radius: 8px; background: var(--surface-soft); font-size: 12px; }
.global-search kbd { background: transparent; font-size: 10px; color: var(--muted); }
.global-search-results { border-radius: 10px; box-shadow: var(--control-shadow); }
.global-search-result { padding: 12px; border-bottom-color: var(--line); }
.global-search-result b { font-size: 12px; }
.global-search-result small { font-size: 11px; }
.global-search-result > span { background: var(--surface-soft); color: var(--muted); }
.global-search-result:hover { background: var(--surface-soft); }
.user-chip b { font-size: 12px; }.user-chip small { font-size: 10px; color: var(--muted); }
.user-chip > span { width: 32px; height: 32px; }
.ui-icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 18px; vertical-align: middle; pointer-events: none; }
button,a.secondary-btn,summary { -webkit-tap-highlight-color: transparent; }
.primary-btn,.secondary-btn,.mini-btn,.text-btn,.icon-btn,.close-btn,.copy-icon,.context-menu > summary,.menu-btn,.alert-center-btn { transition: background-color .14s ease,border-color .14s ease,color .14s ease,box-shadow .14s ease; }
.primary-btn,.primary-btn.compact,.secondary-btn,.mini-btn { display: inline-flex; width: auto; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 13px; border-radius: var(--radius-sm); font-size: 12px; line-height: 1.35; font-weight: 600; box-shadow: none; margin-right: 0; text-decoration: none; }
.primary-btn,.primary-btn.compact { color: #fff; background: var(--action); border: 1px solid var(--action); }
.primary-btn:hover:not(:disabled) { background: var(--action-hover); border-color: var(--action-hover); box-shadow: none; }
.secondary-btn { color: #41473c; border: 1px solid var(--line); background: #fff; }
.secondary-btn:hover:not(:disabled) { background: var(--surface-soft); border-color: #aeb5a5; }
.primary-btn:active:not(:disabled),.secondary-btn:active:not(:disabled) { filter: brightness(.94); }
.mini-btn { min-height: 34px; padding: 6px 10px; font-size: 12px; }
.text-btn { min-height: 36px; padding: 6px 8px; color: var(--action); border-radius: 6px; font-size: 12px; }
.text-btn:hover { background: var(--accent-soft); }
.icon-btn,.close-btn,.copy-icon,.menu-btn,.alert-center-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 36px; height: 36px; min-width: 36px; padding: 6px; flex: 0 0 36px; border-radius: 7px; border: 1px solid transparent; color: var(--muted); background: transparent; }
.copy-icon { border-color: var(--line); }
.menu-btn { display: none; }
.copy-icon .ui-icon { width: 16px; height: 16px; flex-basis: 16px; }
.icon-btn:hover:not(:disabled),.close-btn:hover,.copy-icon:hover,.menu-btn:hover,.alert-center-btn:hover { background: var(--surface-soft); border-color: var(--line); color: var(--text); }
.copy-icon[data-copy-state="success"] { color: var(--success); border-color: #91bba1; background: var(--success-soft); }
.copy-icon[data-copy-state="error"] { color: var(--danger); border-color: #d899a3; background: var(--error-soft); }
.danger-btn,[data-danger],.context-menu-items .finish-danger { color: var(--danger); }
.danger-btn:hover:not(:disabled),.context-menu-items .finish-danger:hover { color: #8d2434; background: var(--error-soft); border-color: #db9ca5; }
button:disabled,.primary-btn:disabled,.secondary-btn:disabled { color: #686e62; background: #edeee8; border-color: #daddd2; opacity: 1; cursor: not-allowed; box-shadow: none; }
button[aria-busy="true"] { cursor: progress; }
button[aria-busy="true"]::before { content: ''; width: 14px; height: 14px; flex: 0 0 14px; border: 2px solid #7c8575; border-right-color: transparent; border-radius: 50%; animation: finish-busy .7s linear infinite; }
button[aria-busy="true"] > .ui-icon { display: none; }
@keyframes finish-busy { to { transform: rotate(360deg); } }
:where(button,a,input,select,textarea,summary,[tabindex]):focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
.sidebar :focus-visible { outline-color: #ffb49f; }
.ui-tabs { gap: 4px; padding: 0; margin: 0 0 20px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.ui-tabs button { flex: 0 1 auto; min-height: 42px; padding: 10px 16px; margin-bottom: -1px; color: var(--muted); font-size: 13px; font-weight: 500; border-radius: 6px 6px 0 0; border-bottom: 2px solid transparent; }
.ui-tabs button[aria-selected="true"] { color: var(--action); background: transparent; box-shadow: none; border-bottom-color: var(--action); font-weight: 600; }
.ui-tabs button:hover { background: var(--surface-soft); color: var(--text); }
.context-menu > summary { gap: 6px; min-height: 36px; border-color: transparent; padding: 6px 9px; background: transparent; color: var(--muted); border-radius: 7px; }
.context-menu > summary span { font-size: 12px; font-weight: 500; }
.context-menu > summary:hover,.context-menu[open] > summary { background: var(--surface-soft); color: var(--text); border-color: var(--line); }
.context-menu-items { min-width: min(224px,calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; translate: var(--menu-shift-x,0px) var(--menu-shift-y,0px); gap: 2px; padding: 5px; border-radius: 10px; border-color: var(--line); background: #fff; box-shadow: var(--control-shadow); }
.context-menu-items button { justify-content: flex-start; min-height: 36px; padding: 9px 10px; font-size: 12px; border-radius: 6px; gap: 9px; }
.context-menu-items button .ui-icon { width: 16px; height: 16px; flex-basis: 16px; color: inherit; }
.context-menu-items .finish-danger-start { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; }
.context-menu[open] .context-menu-items { animation: finish-menu .12s ease-out; }
.dialog-actions .context-menu-items { left: auto; right: 0; }
.context-menu.finish-menu-above > .context-menu-items { top: auto; bottom: calc(100% + 5px); }
#view-autodj .context-menu-items button { width: 100%; min-height: 36px; padding: 9px 10px; white-space: normal; line-height: 1.35; font-size: 12px; font-weight: 500; }
.autodj-folder b,.track-folder-title b { display: inline-flex; align-items: center; gap: 6px; }
.table-wrap td .pill { width: fit-content; max-width: 100%; }
@keyframes finish-menu { from { opacity: .4; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.pill { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 3px 8px; font-size: 11px; line-height: 1.35; font-weight: 600; border-radius: 6px; white-space: normal; }
.pill::before { content: ''; width: 13px; height: 13px; flex: 0 0 13px; background: currentColor; mask: var(--state-icon) center/contain no-repeat; }
.pill.active { color: var(--success); background: var(--success-soft); }
.pill.pending,.pill.setup { color: var(--amber); background: var(--warning-soft); }
.pill.offline,.pill.suspended { color: var(--danger); background: var(--error-soft); }
.pill[data-visual-state="loading"],.pill[data-visual-state="empty"] { color: var(--muted); background: #f0f2ec; }
.pill[data-visual-state="stale"] { color: var(--amber); background: var(--warning-soft); }
.pill[data-visual-state="error"] { color: var(--danger); background: var(--error-soft); }
.pill[data-visual-state="info"] { color: var(--info); background: #eef3f8; }
#view-overview .ops-status-bar { margin-bottom: 16px; padding: 0; border: 0; background: transparent; box-shadow: none; }
#view-overview .hero-row [data-register-client-payment] { background: var(--action); border-color: var(--action); color: #fff; }
#view-overview .hero-row [data-register-client-payment]:hover { background: var(--action-hover); border-color: var(--action-hover); }
.ops-status-main { gap: 10px; }
.ops-status-main > i,.ops-status-main > i.alert { width: 8px; height: 8px; box-shadow: none; }
.ops-status-main b { font-size: 12px; font-weight: 500; color: var(--text); }
.ops-status-main small { color: var(--muted); font-size: 11px; margin-top: 2px; }
#view-overview .metric-grid { gap: 0; margin-bottom: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
#view-overview .metric-grid article { min-height: 102px; padding: 20px 24px; border: 0; border-right: 1px solid var(--line); border-radius: 0; box-shadow: none; background: transparent; }
#view-overview .metric-grid article:last-child { border-right: 0; }
#view-overview .metric-grid small { color: var(--muted); font-size: 11px; font-weight: 500; text-transform: none; letter-spacing: 0; }
#view-overview .metric-grid strong,#view-overview .metric-grid dd { margin-top: 6px; font-size: 32px; font-weight: 600; letter-spacing: -.04em; }
.metric-grid article { min-height: 96px; padding: 18px; border-radius: var(--radius); box-shadow: none; }
.metric-grid small { color: var(--muted); font-size: 11px; letter-spacing: 0; text-transform: none; }
.metric-grid p { font-size: 11px; color: var(--muted); }
.metric-icon { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 7px; background: var(--surface-soft) !important; color: var(--muted) !important; }
.metric-grid .billing-metrics strong { font-size: 24px; }
.attention-panel { min-height: 0; }
.attention-panel .eyebrow { color: var(--muted); }
.operation-alert { gap: 12px; padding: 12px; border: 0; border-left: 2px solid #d5a054; border-radius: 0 6px 6px 0; background: #fffcf5; }
.operation-alert.danger { border-left-color: var(--danger); background: #fff9fa; }
.operation-alert > span { width: 28px; height: 28px; border-radius: 50%; background: transparent; color: var(--danger); }
.operation-alert.pending > span { color: var(--amber); background: transparent; }
.operation-alert b { font-size: 13px; font-weight: 600; }.operation-alert small { font-size: 12px; margin-top: 2px; }
.operations-ok { border: 0; padding: 12px 0; background: transparent; color: var(--muted); }
.operations-ok span { background: var(--success-soft); color: var(--success); }.operations-ok small { display: block; font-size: 12px; }
#stationCards.cards-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,285px),1fr)); gap: 16px; }
.station-card.compact-station { min-height: 0; padding: 16px 18px; }
.station-card.compact-station::before,.station-card:has(.pill.active)::before { width: 0; box-shadow: none; }
.compact-station h3 { margin: 14px 0 4px; font-size: 18px; font-weight: 600; }
.compact-station .station-client { color: var(--muted); margin: 0 0 16px; font-size: 12px; }
.station-card-bottom { padding-top: 12px; border-top: 1px solid #eeefe9; }
.station-listeners { font-size: 12px; }.station-listeners b { font-size: 22px; font-weight: 600; }
.compact-station [data-station-detail] { color: var(--action); border-color: transparent; background: var(--accent-soft); font-size: 12px; }
.compact-station [data-station-detail]:hover { background: #ffe5d9; }
.station-card:hover { border-color: #bbc2b3; }
.plan-card { min-height: 0; }.plan-price { font-size: 28px; margin: 16px 0; }.plan-price small { font-size: 12px; }
.station-card dl { margin: 12px 0; }.station-card dt { font-size: 11px; text-transform: none; letter-spacing: 0; }.station-card dd { font-size: 12px; }
.table-panel { padding: 0; }
.table-tools { gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-bottom-color: var(--line); }
.table-tools span { font-size: 12px; color: var(--muted); }
.table-panel th,.table-panel td { border-bottom: 1px solid #eeefe9; padding: 14px 18px; font-size: 12px; }
.table-panel th { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; background: var(--surface-soft); }
.table-panel td b { font-size: 13px; font-weight: 600; }.table-panel tr:last-child td { border-bottom: 0; }
.table-panel tbody tr:hover { background: #fafbf7; }
.table-panel td small,.responsive-table small { color: var(--muted); font-size: 11px; }
.row-details > summary { color: var(--muted); font-size: 11px; min-height: 26px; }
.row-actions { gap: 6px; }.row-actions > [data-open-client] { color: var(--text); border-color: transparent; background: var(--surface-soft); }
.row-actions > [data-register-client-payment] { color: var(--action); border-color: transparent; background: transparent; }
body input,body select,body textarea { min-width: 0; font-size: 13px; font-weight: 400; border-radius: var(--radius-sm); line-height: 1.4; }
.login-card input,.form-panel input,dialog input,dialog select,.table-tools input,.station-toolbar input,.station-toolbar select,.analytics-filters select,#autodjMount { min-height: 40px; padding: 9px 12px; border-color: #c7cdbe !important; box-shadow: none; }
.station-search input { padding-left: 36px; }.global-search input { padding-left: 40px; }
body input::placeholder,body textarea::placeholder { color: #686e60 !important; font-weight: 400; }
.form-panel label,dialog label,.login-card label { gap: 6px; margin-bottom: 16px; font-size: 12px; font-weight: 500; }
.form-grid { gap: 0 20px; }.check-field { min-height: 36px; line-height: 1.5; }.check-field input { accent-color: var(--action); }
body :is(.form-panel,dialog,.login-card,.table-tools,#view-autodj) :is(input,select,textarea):focus { border-color: var(--action) !important; box-shadow: 0 0 0 3px #c344271a !important; }
input:user-invalid,select:user-invalid,input[aria-invalid="true"],select[aria-invalid="true"] { border-color: var(--danger) !important; background-image: none; }
.form-error { color: var(--danger); font-size: 12px; }.form-hint { font-size: 12px; color: var(--muted); padding: 10px 12px; border: 0; border-left: 2px solid #c7cdbe; border-radius: 0 6px 6px 0; background: var(--surface-soft); }
.form-panel { max-width: 980px; }.form-panel button[type="submit"] { margin-top: 12px; }
dialog { max-height: calc(100dvh - 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); padding: 0; }
dialog::backdrop { background: #1b211c66; backdrop-filter: blur(3px); }
dialog form { padding: 24px; }.station-detail-dialog,.client-detail-dialog,#credentialsDialog,#encoderDialog,#recordDetailDialog { padding: 24px; }
.dialog-head { align-items: flex-start; gap: 16px; margin-bottom: 20px; }.dialog-head h2 { font-size: 23px; line-height: 1.3; font-weight: 600; letter-spacing: -.03em; }
.dialog-head .eyebrow { color: var(--muted); }.station-detail-mount { font-family: Inter,sans-serif; font-size: 12px; color: var(--muted); margin-top: 4px; }
.dialog-actions { gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 20px; }
.station-detail-hero { border: 0; border-radius: 8px; background: var(--surface-soft); padding: 14px; }.station-detail-hero p { font-size: 12px; }
.station-detail-hero audio { max-width: 340px; height: 36px; border-radius: 8px; }
.station-detail-metrics { gap: 0; margin: 16px 0; border-bottom: 1px solid var(--line); }
.station-detail-metrics div { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; padding: 10px 14px; }.station-detail-metrics div:last-child { border-right: 0; }
.station-detail-metrics span { font-size: 11px; letter-spacing: 0; text-transform: none; }.station-detail-metrics b { font-size: 18px; font-weight: 600; }
.detail-values { gap: 0 24px; }.detail-value { border-bottom-color: #eeefe9; padding: 12px 0; }.detail-value dt { color: var(--muted); font-size: 12px; }.detail-value dd { font-size: 13px; }
.credential-box { gap: 0 20px; margin: 16px 0; }.credential-box > div { padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; border-radius: 0; }
.credential-box small { font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--muted); }.credential-box code { display: inline; font-size: 13px; line-height: 1.6; color: var(--text); }.credential-box .copy-icon { float: right; margin: 0 0 0 6px; }
.empty-state,.chart-empty { font-size: 13px; line-height: 1.6; color: var(--muted); padding: 28px 18px; }.chart-empty { padding: 48px 20px; }.empty-state .ui-icon { color: var(--muted); }
.toast { bottom: 20px; right: 20px; border-radius: 9px; font-size: 13px; box-shadow: var(--control-shadow); color: var(--success); background: var(--success-soft); padding: 12px 16px; }.toast.error { color: var(--danger); background: var(--error-soft); }
.inline-help > summary,.library-all-tracks > summary,.autodj-advanced > summary { font-size: 12px; color: var(--muted); min-height: 36px; padding: 8px 0; }.inline-help p { font-size: 12px; }
.billing-automation,.autodj-hero,.backup-monitor { background: #fff; }.billing-automation { padding: 16px 20px; }.billing-automation h3 { font-size: 16px; }.billing-automation .muted,.automation-state small { font-size: 12px; }
.automation-icon,.backup-icon { width: 34px; height: 34px; flex-basis: 34px; border: 0; background: var(--surface-soft); color: var(--muted); }
.backup-summary { padding: 12px; border: 0; background: var(--surface-soft); }.backup-summary small { font-size: 12px; }.backup-details div { font-size: 12px; }
.billing-alert { padding: 14px 0; }.billing-alert b { font-size: 13px; font-weight: 600; }.billing-alert small { font-size: 12px; }
.autodj-hero { padding: 16px 20px; }.autodj-hero h3 { font-size: 18px; }.autodj-hero .muted { font-size: 12px; }
#view-autodj :is(.autodj-library-panel,.autodj-playlist-panel,.autodj-clocks-panel,.autodj-schedule-panel) { overflow: visible; border-color: var(--line); border-radius: var(--radius); box-shadow: none; background: #fff; }
#view-autodj :is(.autodj-library-panel,.autodj-playlist-panel,.autodj-clocks-panel,.autodj-schedule-panel) > .panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; margin: 0; background: var(--surface-soft); color: var(--text); }
#view-autodj :is(.autodj-library-panel,.autodj-playlist-panel,.autodj-clocks-panel,.autodj-schedule-panel) .panel-head h3 { color: var(--text); font-size: 17px; }
#view-autodj :is(.autodj-library-panel,.autodj-playlist-panel,.autodj-clocks-panel,.autodj-schedule-panel) .panel-head :is(.eyebrow,.muted) { color: var(--muted); opacity: 1; }
.autodj-storage-meter { color: var(--muted); background: transparent; padding: 0; border-radius: 0; width: 210px; }.autodj-storage-title { opacity: 1; color: var(--muted); }.autodj-storage-line i { background: #e0e4d9; }.autodj-storage-used { background: #819073; }.autodj-storage-free { background: var(--success); }
#view-autodj :is(.autodj-folder-wrap,.autodj-playlist-row,.autodj-schedule-row) { border-color: var(--line); box-shadow: none; background: #fff; }
#view-autodj .autodj-folder { padding: 12px; }.autodj-folder.selected { background: var(--surface-soft); }.autodj-folder b { font-size: 13px; font-weight: 600; }
#view-autodj .folder-toggle { width: 32px; height: 32px; color: var(--muted); background: var(--surface-soft); }.folder-toggle .ui-icon { width: 16px; }
.folder-track { grid-template-columns: 24px minmax(0,1fr) 60px auto; }.folder-track-info b { font-size: 12px; }.folder-track-info small { color: var(--muted); }
#view-autodj :is(.autodj-new-folder,.autodj-playlist-name,.autodj-clock-row) :is(input,select) { min-height: 40px; padding: 8px 12px; border-color: #c7cdbe; background: #fff; color: var(--text); box-shadow: none; font-size: 13px; font-weight: 400; border-radius: 7px; }
#view-autodj :is(.autodj-playlist-name,.autodj-clock-row) label { color: var(--muted); font-size: 12px; font-weight: 500; text-transform: none; letter-spacing: 0; }
#view-autodj :is(.autodj-new-folder,.autodj-playlist-name) .secondary-btn { min-height: 38px; }
#view-autodj .autodj-playlist-panel > .autodj-playlist-name { background: var(--surface-soft); border-color: var(--line); padding: 14px; }
#view-autodj :is(.autodj-playlist-help,.autodj-weekly-preview) { background: var(--surface-soft); color: var(--muted); border-color: var(--line); }
.autodj-step { color: var(--muted); background: var(--surface-soft); font-weight: 600; }.autodj-block-icon { display: inline-flex; color: var(--muted); }
.autodj-clock-row { border: 1px solid var(--line); box-shadow: none; border-radius: 10px; }.autodj-clock-card-head { color: var(--text); background: var(--surface-soft); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.autodj-clock-card-head .danger-btn { color: var(--danger); background: transparent; border-color: transparent; }.autodj-clock-card-head .danger-btn:hover { color: var(--danger); border-color: #db9ca5; background: var(--error-soft); }
.autodj-clock-number { background: #fff; color: var(--muted); }.autodj-clock-times { background: var(--surface-soft); border-radius: 8px; }.autodj-clock-arrow { color: var(--muted); background: transparent; }
#view-autodj .autodj-schedule-row > div:first-child b { color: var(--text); }
#view-autodj .autodj-clock-days button { min-width: 36px; min-height: 36px; font-size: 12px; border-color: var(--line); }
#view-autodj .autodj-clock-days button.selected { border-color: var(--action); background: var(--action); color: #fff; }
.autodj-analysis-progress { background: var(--surface-soft); border-color: var(--line); }.autodj-analysis-head { color: var(--text); }.autodj-analysis-progress small { color: var(--muted); }
.autodj-server-storage { background: #fff; }.storage-bar { height: 6px; background: #e6e9df; }.storage-bar-used { background: #819073; }.storage-bar-assigned { background: var(--action); }
.voiceover-active { background: var(--success-soft) !important; color: var(--success) !important; border-color: #91bba1 !important; }
.voiceover-picker { border-color: var(--line); }.voiceover-choices label { min-height: 40px; border-color: var(--line); background: var(--surface-soft); }.voiceover-duck output { color: var(--success); }
.login-shell { border-radius: var(--radius-lg); box-shadow: var(--control-shadow); }.login-art { background: var(--ink); padding: 24px 28px; }.login-copy { margin-top: 32px; }.login-copy h1 { font-size: 40px; line-height: 1.05; }.login-panel { padding: 28px; background: #fff; }.login-card > .primary-btn { width: 100%; }.login-card .eyebrow { color: var(--muted); }
@media (max-width:1100px) {
  .topbar { height: auto; padding: 12px 20px; }.content { padding: 24px 20px 40px; }
  .row-actions .mini-btn { font-size: 12px; padding: 6px 9px; }
  .autodj-playlist-name { grid-template-columns: minmax(0,1fr); }
}
@media (max-width:800px) {
  .menu-btn { display: inline-flex; }
  .content { padding: 20px 16px 36px; }.topbar { min-height: 68px; padding: 12px 16px; gap: 12px; }.topbar-title h2 { font-size: 15px; }
  .hero-row,.section-head { gap: 14px; margin-bottom: 20px; }.hero-row .section-actions,.section-head .section-actions { gap: 8px; }
  #view-overview .metric-grid article { padding: 16px 20px; min-height: 94px; border-right: 0; }
  #view-overview .metric-grid article:nth-child(odd) { border-right: 1px solid var(--line); }
  #view-overview .metric-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .table-panel .responsive-table td { padding: 8px 0; font-size: 13px; border-bottom: 0; }
  .responsive-table td::before { font-size: 12px; font-weight: 500; }
  .responsive-table tr { padding: 14px 16px; }.row-actions { gap: 8px; }.row-actions > button { min-height: 40px; }
  .copy-icon,.close-btn,.icon-btn,.menu-btn,.alert-center-btn,.folder-toggle { width: 40px; height: 40px; min-width: 40px; flex-basis: 40px; }
  .context-menu > summary,.context-menu-items button { min-height: 40px; }.context-menu-items { max-width: calc(100vw - 40px); }
  #view-autodj .context-menu-items button { min-height: 40px; }
  .ui-tabs button { min-height: 44px; padding: 10px 12px; font-size: 12px; }
  .autodj-hero,.autodj-state { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .autodj-clock-days { flex-wrap: wrap; }.station-detail-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }.station-detail-metrics div:nth-child(2) { border-right: 0; }
  dialog { max-height: calc(100dvh - 24px); }.dialog-actions { flex-wrap: wrap; }.station-detail-dialog,.client-detail-dialog { padding: 20px; }
}
@media (max-width:480px) {
  .hero-row h1,.section-head h1 { font-size: 28px; }.panel,.station-card.compact-station { padding: 16px; }
  #view-overview .metric-grid article { min-height: 90px; padding: 14px 16px; }#view-overview .metric-grid strong,#view-overview .metric-grid dd { font-size: 30px; }
  .form-grid,.credential-box,.voiceover-cues { grid-template-columns: minmax(0,1fr); }.form-grid .full { grid-column: 1; }
  dialog { width: calc(100vw - 24px); }.station-detail-dialog,.client-detail-dialog { width: calc(100vw - 24px); padding: 18px; }
  dialog form,#credentialsDialog,#encoderDialog,#recordDetailDialog { padding: 18px; }.dialog-head h2 { font-size: 22px; }
  .station-detail-hero { align-items: stretch; }.station-detail-hero audio { max-width: none; }
  .autodj-storage-meter { width: 180px; }.autodj-storage-line { grid-template-columns: 34px minmax(38px,1fr) auto; }
  #view-autodj :is(.autodj-library-panel,.autodj-playlist-panel,.autodj-clocks-panel,.autodj-schedule-panel) > .panel-head { padding: 16px; }
  .folder-track { grid-template-columns: 24px minmax(0,1fr); }.folder-track-actions { grid-column: 1/-1; }
  .operation-alert { padding: 12px; }.operation-alert small { font-size: 12px; }.toast { right: 12px; bottom: 12px; max-width: calc(100vw - 24px); }
  .login-copy h1 { font-size: 34px; }.login-panel,.login-art { padding: 24px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
