:root {
  color-scheme: light;
  --ink: #0b0b0b;
  --muted: #647082;
  --line: #d8d8d8;
  --canvas: #f6f7f9;
  --paper: #ffffff;
  --brand: #46c777;
  --brand-hover: #3bb369;
  --brand-text: #1b713e;
  --brand-soft: #f0faf5;
  --sidebar: #0b0b0b;
  --danger: #a92b35;
  --danger-soft: #fff0f1;
  --warning: #886018;
  --warning-soft: #fff5db;
  --radius: 14px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, textarea, select { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
button, a { touch-action: manipulation; }
button, input, select, textarea { border-radius: 8px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #218243; outline-offset: 3px; }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #b8bec7; color: var(--ink); background: white; }
input::placeholder, textarea::placeholder { color: #647082; }
select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23647082' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
input[type="file"] { padding: 10px; }
input[type="file"]::file-selector-button { border: 0; border-radius: 5px; background: #f2f2f2; color: var(--ink); padding: 6px 10px; margin-right: 12px; font: inherit; font-size: .875rem; cursor: pointer; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
input[type="checkbox"] { width: 18px; min-height: 18px; accent-color: var(--brand); }
a { color: var(--brand-text); text-underline-offset: 3px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 650; letter-spacing: -.035em; }
h1 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.0625rem; letter-spacing: -.015em; }
svg { display: inline-block; flex-shrink: 0; vertical-align: middle; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -100px; padding: 10px 16px; z-index: 100; background: white; box-shadow: 0 3px 10px #0003; }
.skip-link:focus { top: 12px; }
.boot-screen { min-height: 100dvh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; color: var(--muted); }
.brand-tile { padding: 16px 24px 20px; border-radius: 14px; background: var(--sidebar); }
.loading-ring { width: 24px; height: 24px; border: 2px solid #d8d8d8; border-top-color: var(--brand); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.app-shell { min-height: 100dvh; display: grid; grid-template-columns: 224px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100dvh; padding: 30px 18px 18px; display: flex; flex-direction: column; color: #ffffff; background: var(--sidebar); }
.brand { display: flex; gap: 15px; align-items: center; padding: 0 14px 30px; }
.brand img { width: 80px; height: auto; }
.brand-divider { height: 24px; border-left: 1px solid #ffffff30; }
.brand-label { font-size: 1.125rem; font-weight: 550; }
.workspace-label { margin: 0 14px 12px; color: #b8bec7; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 650; }
.primary-nav { display: flex; flex-direction: column; gap: 6px; }
.nav-link { border: 0; padding: 13px 14px; background: transparent; color: #d8d8d8; display: flex; align-items: center; gap: 12px; border-radius: 9px; text-decoration: none; font-size: .9375rem; font-weight: 550; }
.nav-link:hover { background: #ffffff09; color: white; }
.nav-link.active { background: #242424; color: white; box-shadow: inset 3px 0 #46c777; }
.nav-count { margin-left: auto; background: #ffffff13; border-radius: 5px; min-width: 25px; text-align: center; padding: 1px 6px; font-size: .75rem; }
.sidebar-foot { margin-top: auto; padding: 22px 12px 10px; border-top: 1px solid #ffffff14; color: #b8bec7; font-size: .875rem; }
.sidebar-foot p { margin: 0; }
.sidebar-foot strong { color: white; display: block; font-weight: 550; margin-bottom: 5px; }
.workspace { min-width: 0; }
.topbar { height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 38px; background: white; border-bottom: 1px solid var(--line); }
.topbar-title { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .9375rem; }
.topbar-title strong { color: var(--ink); font-weight: 550; }
.topbar-separator { color: #b8bec7; }
.account { display: flex; align-items: center; gap: 15px; min-width: 0; }
.account-email { max-width: 240px; overflow: hidden; text-overflow: ellipsis; font-size: .875rem; color: var(--muted); white-space: nowrap; }
.account-avatar { height: 32px; width: 32px; border-radius: 50%; display: grid; place-items: center; background: #f0faf5; color: #1b713e; font-size: .8125rem; font-weight: 650; }
.page { padding: 36px 38px 48px; max-width: 1640px; margin: 0 auto; }
.page-header { display: flex; gap: 24px; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.page-header p { color: var(--muted); margin: 9px 0 0; max-width: 660px; }
.page-actions { display: flex; gap: 10px; flex-shrink: 0; align-items: center; }
.eyebrow { color: var(--brand-text); font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; margin: 0 0 10px; }
.button { min-height: 44px; padding: 10px 16px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid transparent; text-decoration: none; font-size: .875rem; line-height: 1.4; font-weight: 600; white-space: nowrap; }
.button.primary { background: var(--brand); color: var(--ink); box-shadow: 0 2px 3px #0000000c; }
.button.primary:hover { background: var(--brand-hover); }
.button.secondary { background: white; color: var(--ink); border-color: #d8d8d8; }
.button.secondary:hover { background: #f6f7f9; border-color: #979797; }
.button.ghost { color: var(--muted); background: transparent; }
.button.ghost:hover { color: var(--ink); background: #f2f2f2; }
.button.danger { background: var(--danger); color: white; }
.button.danger:hover { background: #8c202b; }
.button.danger-quiet { color: var(--danger); background: transparent; }
.button.danger-quiet:hover { background: var(--danger-soft); }
.button.small { min-height: 38px; padding: 8px 12px; }
.icon-button { padding: 8px; min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; background: transparent; color: var(--muted); }
.icon-button:hover { color: var(--ink); background: #f2f2f2; }
.status-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .875rem; color: var(--muted); margin: 0 0 18px; }
.status-summary { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #647082; display: inline-block; flex-shrink: 0; }
.status-dot.online { background: #1b713e; }
.last-updated { display: flex; align-items: center; gap: 7px; font-size: .8125rem; }
.toolbar { display: flex; align-items: center; gap: 12px; background: white; border: 1px solid var(--line); border-radius: 11px; padding: 12px; margin-bottom: 22px; }
.search-field { position: relative; flex: 1 1 260px; max-width: 440px; }
.search-field > svg { position: absolute; left: 13px; top: 14px; color: #647082; pointer-events: none; }
.search-field input { padding-left: 40px; min-height: 44px; border-color: transparent; background: #f6f7f9; }
.toolbar select { width: auto; min-width: 150px; min-height: 44px; border-color: #d8d8d8; font-size: .875rem; }
.toolbar .toolbar-spacer { flex: 1; }
.toolbar-result { color: var(--muted); font-size: .8125rem; padding: 0 6px; white-space: nowrap; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 15px 18px; border: 1px solid #ccebd8; background: #f0faf5; border-radius: 10px; margin-bottom: 24px; font-size: .875rem; }
.notice > svg { margin-top: 1px; color: var(--brand-text); }
.notice p { margin: 0; }
.notice.spaced { margin-top: 24px; }
.notice strong { display: block; font-weight: 600; margin-bottom: 3px; }
.notice.error { border-color: #efc7cc; background: #fff3f4; color: #8c2632; }
.notice.error > svg { color: inherit; }
.notice .button { margin-left: auto; }
.empty-state { text-align: center; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 64px 24px; min-height: 330px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.empty-icon { color: var(--brand-text); display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: #f0faf5; margin-bottom: 23px; }
.empty-state h2 { font-size: 1.4rem; margin-bottom: 10px; }
.empty-state p { color: var(--muted); max-width: 470px; margin-bottom: 25px; }
.empty-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.onboarding { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #f6f7f9; }
.onboarding-item { padding: 24px; border-right: 1px solid var(--line); }
.onboarding-item:last-child { border: 0; }
.onboarding-item > svg { color: #647082; margin-bottom: 16px; }
.onboarding h3 { margin-bottom: 9px; font-size: 1rem; }
.onboarding p { color: var(--muted); margin: 0; font-size: .875rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.screen-card, .content-card, .playlist-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 2px #00000003; min-width: 0; }
.screen-card { padding: 22px; }
.screen-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.screen-type { color: #1b713e; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #f0faf5; }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 20px; background: #f6f7f9; color: #647082; padding: 4px 9px; font-size: .875rem; font-weight: 550; line-height: 1.5; white-space: nowrap; }
.badge.online, .badge.ready { background: var(--brand-soft); color: #1b713e; }
.badge.pending { background: var(--warning-soft); color: var(--warning); }
.badge.failed { background: var(--danger-soft); color: var(--danger); }
.screen-card h2 { font-size: 1.125rem; overflow-wrap: anywhere; }
.screen-site { color: var(--muted); font-size: .875rem; margin: 6px 0 20px; display: flex; gap: 6px; align-items: center; overflow-wrap: anywhere; }
.screen-assignment { background: #f6f7f9; border: 1px solid #e7ecef; border-radius: 9px; padding: 14px; margin-bottom: 18px; }
.field-caption { display: block; color: var(--muted); font-size: .875rem; font-weight: 550; margin-bottom: 5px; }
.screen-assignment strong { font-size: .9375rem; font-weight: 550; overflow-wrap: anywhere; }
.screen-assignment .playing { margin: 9px 0 0; font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
.screen-info { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .875rem; margin-bottom: 17px; }
.screen-error { padding: 10px 12px; background: var(--danger-soft); border-radius: 7px; color: var(--danger); font-size: .875rem; margin-bottom: 17px; overflow-wrap: anywhere; }
.screen-card-actions { display: flex; gap: 6px; align-items: center; padding-top: 17px; border-top: 1px solid var(--line); }
.screen-card-actions .button { flex: 1; }
.screen-card-actions .icon-button { flex-shrink: 0; }
.card-image { aspect-ratio: 16 / 9; background: #f2f2f2; border-bottom: 1px solid var(--line); position: relative; display: grid; place-items: center; overflow: hidden; }
.card-image > img { width: 100%; height: 100%; object-fit: contain; display: block; background: #f6f7f9; }
.card-image .media-icon { color: #647082; display: flex; align-items: center; flex-direction: column; gap: 9px; }
.media-icon span { font-size: .8125rem; }
.card-image .preview-button { position: absolute; inset: 0; width: 100%; border: 0; border-radius: 0; background: transparent; display: flex; align-items: center; justify-content: center; }
.preview-button .preview-label { background: #0b0b0be8; color: white; border-radius: 7px; padding: 9px 14px; font-size: .875rem; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.preview-button:hover { background: #0b0b0b12; }
.preview-button:hover .preview-label, .preview-button:focus-visible .preview-label { opacity: 1; transform: none; }
.preview-button:focus-visible { outline-offset: -4px; }
.media-kind { position: absolute; top: 12px; left: 12px; color: white; background: #0b0b0bdb; border-radius: 5px; padding: 4px 8px; font-size: .75rem; display: flex; gap: 5px; align-items: center; pointer-events: none; }
.card-body { padding: 19px 20px; }
.card-body h2 { font-size: 1.0625rem; line-height: 1.4; margin-bottom: 10px; overflow-wrap: anywhere; }
.content-meta { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: .8125rem; color: var(--muted); }
.content-error { margin: 10px 0 0; color: var(--danger); font-size: .875rem; overflow-wrap: anywhere; }
.content-source { margin: 10px 0 0; color: var(--muted); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-footer { border-top: 1px solid var(--line); padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; }
.card-footer .button { font-weight: 550; }
.playlist-card { padding: 23px; }
.playlist-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.playlist-head .screen-type { width: 40px; height: 40px; }
.playlist-head h2 { font-size: 1.125rem; margin-top: 15px; overflow-wrap: anywhere; }
.playlist-head p { margin: 6px 0 0; font-size: .875rem; color: var(--muted); }
.playlist-preview { min-height: 112px; margin-bottom: 20px; padding: 0; list-style: none; }
.playlist-preview li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: .875rem; }
.playlist-preview li > svg { color: #647082; }
.playlist-preview .item-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.playlist-preview .item-time { color: var(--muted); font-size: .8125rem; }
.playlist-preview .more-items { font-size: .8125rem; color: var(--muted); padding-left: 27px; }
.playlist-card .card-footer { margin: 0 -23px -23px; padding: 12px 16px; }
.playlist-use { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .8125rem; margin: 0 0 15px; }
.auth-shell { min-height: 100dvh; display: grid; grid-template-columns: minmax(320px, .9fr) minmax(440px, 1.1fr); }
.auth-aside { position: relative; overflow: hidden; background: var(--sidebar); color: white; display: flex; flex-direction: column; justify-content: space-between; padding: 48px 12%; }
.auth-brand { display: flex; align-items: center; gap: 20px; }
.auth-brand img { width: 104px; height: auto; }
.auth-brand span { color: #d8d8d8; font-size: 1.2rem; border-left: 1px solid #ffffff30; padding-left: 20px; }
.auth-copy { position: relative; z-index: 1; padding: 70px 0; }
.auth-copy h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); letter-spacing: -.05em; line-height: 1.08; max-width: 430px; margin: 32px 0 20px; }
.auth-copy p { color: #d8d8d8; max-width: 380px; line-height: 1.7; }
.auth-screen-drawing { width: 190px; height: 112px; border: 2px solid #46c777; border-radius: 8px; padding: 12px; transform: rotate(-3deg); box-shadow: 16px 18px 0 -2px #242424; display: flex; align-items: flex-end; gap: 9px; }
.auth-screen-drawing span { width: 28px; border-radius: 3px 3px 0 0; background: #46c777; }
.auth-screen-drawing span:nth-child(1) { height: 35%; }
.auth-screen-drawing span:nth-child(2) { height: 60%; background: #6dd394; }
.auth-screen-drawing span:nth-child(3) { height: 45%; }
.auth-screen-drawing span:nth-child(4) { height: 80%; background: #94dfb1; }
.auth-foot { color: #b8bec7; font-size: .8125rem; }
.auth-main { display: flex; justify-content: center; align-items: center; padding: 50px 36px; background: white; }
.auth-panel { width: 100%; max-width: 410px; }
.auth-panel h1 { font-size: 1.95rem; }
.auth-intro { color: var(--muted); margin: 13px 0 28px; }
.auth-panel .button.primary { width: 100%; margin-top: 10px; }
.auth-note { color: var(--muted); font-size: .8125rem; margin: 22px 0 0; }
.form-field { margin-bottom: 20px; min-width: 0; }
.form-field label, .field-label { display: block; margin-bottom: 7px; font-size: .875rem; font-weight: 600; }
.field-hint { display: block; margin: 7px 0 0; font-size: .8125rem; color: var(--muted); font-weight: 400; }
.field-hint.inline-hint { display: inline; }
.section-heading { margin-bottom: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-error { margin: 0 0 20px; padding: 12px 14px; border-radius: 8px; font-size: .875rem; color: #942c37; background: var(--danger-soft); border: 1px solid #f0ccd1; overflow-wrap: anywhere; }
.form-field input[aria-invalid="true"] { border-color: var(--danger); }
.auth-retry { text-align: center; }
dialog { border: 1px solid #d8d8d8; border-radius: 17px; width: calc(100% - 32px); max-width: 540px; max-height: min(90dvh, 960px); padding: 0; color: var(--ink); background: white; box-shadow: 0 24px 90px #00000038; overflow: auto; }
dialog::backdrop { background: #00000066; backdrop-filter: blur(3px); }
dialog.wide { max-width: 830px; }
dialog.preview-dialog { max-width: 1050px; }
.modal-header { padding: 26px 28px 0; position: relative; }
.modal-header h2 { padding-right: 30px; font-size: 1.45rem; }
.modal-header .icon-button { position: absolute; right: 16px; top: 16px; }
.modal-description { font-size: .875rem; color: var(--muted); margin: 11px 0 0; line-height: 1.6; }
.modal-body { padding: 25px 28px 8px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; align-items: center; background: #f6f7f9; border-top: 1px solid var(--line); padding: 17px 28px; margin-top: 12px; }
.modal-footer .button.danger-quiet { margin-right: auto; }
.modal-footer .busy-label { margin-right: auto; font-size: .8125rem; color: var(--muted); }
.code-input { font-size: 1.5rem; letter-spacing: .24em; font-family: ui-monospace, "SFMono-Regular", monospace; text-transform: uppercase; }
.pair-guidance { padding: 15px; margin-bottom: 23px; border-radius: 9px; background: #f0faf5; display: flex; gap: 12px; color: #1b713e; font-size: .875rem; }
.pair-guidance p { margin: 0; }
.pair-guidance svg { margin-top: 2px; }
.screen-detail-status { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding: 14px; background: #f6f7f9; border-radius: 9px; flex-wrap: wrap; font-size: .875rem; color: var(--muted); }
.dialog-section { padding-top: 20px; border-top: 1px solid var(--line); margin-top: 8px; }
.dialog-section h3 { margin-bottom: 15px; }
.playlist-add { display: grid; grid-template-columns: minmax(0,1fr) 110px auto; gap: 12px; align-items: end; padding: 17px; border-radius: 10px; background: #f0faf5; border: 1px solid #ccebd8; margin-bottom: 23px; }
.playlist-add .form-field { margin: 0; }
.playlist-add .button { min-height: 46px; }
.playlist-editor-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.playlist-editor-item { display: grid; grid-template-columns: 32px minmax(0, 1fr) 96px auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.playlist-order { color: #647082; font-size: .8125rem; font-variant-numeric: tabular-nums; text-align: center; }
.playlist-editor-name { font-size: .9375rem; font-weight: 550; overflow-wrap: anywhere; }
.playlist-editor-type { color: var(--muted); font-size: .8125rem; }
.playlist-editor-item label { font-size: .875rem; color: var(--muted); }
.playlist-editor-item input { min-height: 38px; padding: 7px 8px; }
.playlist-row-actions { display: flex; gap: 3px; }
.playlist-row-actions button { border: 1px solid #d8d8d8; background: white; border-radius: 5px; color: var(--muted); min-height: 38px; padding: 6px 8px; font-size: .875rem; }
.playlist-row-actions button:hover { background: #f6f7f9; color: var(--ink); }
.playlist-row-actions button:disabled { cursor: default; opacity: .35; }
.playlist-empty { padding: 26px; border: 1px dashed #b8bec7; border-radius: 10px; text-align: center; color: var(--muted); font-size: .875rem; margin-bottom: 20px; }
.playlist-total { display: flex; justify-content: space-between; font-size: .875rem; color: var(--muted); margin-bottom: 15px; }
.content-preview { background: #0b0b0b; border-radius: 10px; overflow: hidden; display: grid; place-items: center; min-height: 200px; margin-bottom: 18px; }
.content-preview img, .content-preview video { display: block; width: 100%; max-height: 60dvh; object-fit: contain; }
.preview-details { margin: 0 0 8px; font-size: .875rem; color: var(--muted); overflow-wrap: anywhere; }
.confirmation-copy { margin: 0 0 16px; color: var(--muted); overflow-wrap: anywhere; }
.confirmation-copy strong { color: var(--ink); }
.toast-stack { position: fixed; bottom: 24px; right: 24px; z-index: 50; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 15px 18px; border: 1px solid #ccebd8; background: white; border-radius: 10px; box-shadow: 0 6px 25px #0000001f; font-size: .875rem; animation: toast-in .2s ease-out; }
.toast > svg { color: var(--brand-text); margin-top: 1px; }
.toast.error { border-color: #e8bdc2; }
.toast.error > svg { color: var(--danger); }
.toast > span { padding-top: 1px; }
.toast button { margin: -5px -8px -5px 8px; flex-shrink: 0; }
.noscript { margin: 16px; background: var(--danger-soft); padding: 15px; }
.skeleton-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.skeleton { min-height: 260px; background: linear-gradient(100deg,#e7ecef 15%,#f6f7f9 35%,#e7ecef 55%); background-size: 200% 100%; border: 1px solid var(--line); border-radius: 14px; animation: pulse 1.6s linear infinite; }
.loading-copy { color: var(--muted); margin: 18px 0; }
@keyframes pulse { to { background-position: -200% 0; } }
@keyframes toast-in { from { transform: translateY(6px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 1500px) { .page { padding-top: 44px; } .app-shell { grid-template-columns: 244px minmax(0,1fr); } .sidebar { padding-left: 22px; padding-right: 22px; } }
@media (max-width: 1100px) { .app-shell { grid-template-columns: 194px minmax(0,1fr); } .sidebar { padding-left: 12px; padding-right: 12px; } .brand { padding-left: 12px; gap: 10px; } .brand img { width: 70px; } .page { padding: 30px 26px; } .topbar { padding: 0 26px; } .page-header { align-items: flex-start; flex-direction: column; gap: 18px; } .skeleton-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .onboarding-item { padding: 20px; } .toolbar-result { display: none; } }
@media (max-width: 780px) { .app-shell { display: block; } .sidebar { position: static; height: auto; padding: 18px 20px 0; } .brand { padding: 0 0 19px; } .brand img { width: 72px; } .brand-label { font-size: 1rem; } .workspace-label, .sidebar-foot { display: none; } .primary-nav { flex-direction: row; gap: 8px; } .nav-link { padding: 11px 14px; flex: 1; border-radius: 8px 8px 0 0; justify-content: center; gap: 8px; font-size: .875rem; } .nav-link.active { box-shadow: inset 0 -3px #46c777; } .nav-count { margin-left: 0; font-size: .75rem; } .topbar { height: 60px; padding: 0 22px; } .topbar-title { font-size: .875rem; } .topbar-title > strong, .topbar-separator { display: none; } .account-email { max-width: 200px; } .account-avatar { display: none; } .account { gap: 10px; } .page { padding: 28px 22px 40px; } .page-header { margin-bottom: 23px; } .page-header p { max-width: 550px; } .onboarding { grid-template-columns: 1fr; } .onboarding-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; display: grid; grid-template-columns: 32px 1fr; gap: 4px 12px; } .onboarding-item svg { grid-row: 1 / span 2; margin: 0; } .onboarding-item h3 { margin-bottom: 3px; } .auth-shell { display: block; background: white; } .auth-aside { padding: 25px 28px; } .auth-brand img { width: 80px; } .auth-brand span { font-size: 1rem; } .auth-copy, .auth-foot { display: none; } .auth-main { padding: 42px 28px; } .auth-panel { max-width: 440px; } .toolbar { flex-wrap: wrap; gap: 10px; } .search-field { max-width: none; flex-basis: 100%; } .toolbar select { flex: 1; min-width: 125px; } .toolbar .toolbar-spacer { display: none; } .playlist-editor-item { grid-template-columns: 24px minmax(0,1fr) 82px; gap: 8px; } .playlist-row-actions { grid-column: 2 / 4; } .playlist-row-actions button { flex: 1; } .status-line { align-items: flex-start; } }
@media (max-width: 460px) { .sidebar { padding: 16px 14px 0; } .primary-nav { gap: 3px; } .nav-link { padding: 11px 8px; gap: 6px; } .nav-link > svg { width: 17px; } .nav-count { display: none; } .topbar { padding: 0 18px; } .account-email { max-width: 155px; font-size: .8125rem; } .topbar-title { display: none; } .account { width: 100%; justify-content: space-between; } .page { padding: 25px 16px 36px; } .page-header h1 { font-size: 1.8rem; } .page-header p { font-size: .9375rem; } .page-actions { width: 100%; flex-wrap: wrap; } .page-actions .button { flex: 1; padding: 10px 12px; } .card-grid { grid-template-columns: minmax(0,1fr); gap: 16px; } .empty-state { padding: 42px 20px; min-height: 300px; } .empty-state h2 { font-size: 1.25rem; } .empty-state p { font-size: .9375rem; } .last-updated { font-size: .75rem; } .status-line { font-size: .8125rem; gap: 8px; } .status-line .status-summary { gap: 6px; } .skeleton-grid { grid-template-columns: 1fr; } .skeleton:nth-child(n+2) { display: none; } .toolbar select { min-width: 0; width: 100%; } dialog { width: calc(100% - 20px); max-height: 94dvh; border-radius: 13px; } .modal-header { padding: 25px 20px 0; } .modal-header h2 { font-size: 1.3rem; } .modal-body { padding: 23px 20px 6px; } .modal-footer { padding: 15px 20px; flex-wrap: wrap; } .modal-footer .button { flex: 1; } .modal-footer .button.danger-quiet { flex-basis: 100%; order: 3; } .modal-footer .busy-label { width: 100%; } .form-row { grid-template-columns: 1fr; gap: 0; } .playlist-add { grid-template-columns: minmax(0,1fr) 90px; padding: 14px; } .playlist-add > .form-field:first-child { grid-column: 1 / -1; } .playlist-add > .button { grid-column: 1; grid-row: 2; } .playlist-add > .form-field:nth-child(2) { grid-column: 2; grid-row: 2; } .playlist-editor-item { padding: 10px; grid-template-columns: 20px minmax(0,1fr) 72px; } .toast-stack { right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
