/* Generated by node qa/build-design.mjs; edit assets/design sources. */
/* Reels Hunter · shared geometry, color, surface and motion contracts. */
:root{color-scheme:light;--rh-sidebar:262px;--rh-header:68px;--bg:#f0f4ff;--panel:rgba(255,255,255,.67);--solid:#fff;--nav:rgba(249,251,255,.8);--muted-panel:#eaf0fc;--text:#101647;--muted:#52649f;--line:#dbe4fc;--accent:#8039d6;--accent-hover:#6324b0;--pink:#ed46ce;--purple:#8b43e9;--teal:#048c99;--teal-soft:#dff8f6;--success:#087d4c;--danger:#ca315d;--warning:#a96600;--ring:#7750c6;--chart:#367fff;--rh-cyan:#48e6fc;--rh-violet:#858bff;--rh-fuchsia:#f773ea;--rh-gradient:linear-gradient(105deg,#f773ea 0%,#a67cf8 46%,#48e6fc 100%);--radius:20px;--radius-control:12px;--radius-pill:999px;--shadow:0 4px 18px #8494cd15,inset 0 1px 0 #fffffff0;--glass-inset:inset 0 1px 0 #fff;--dash-glass:linear-gradient(120deg,#ffffffd9,#ffffff7a);--dash-shadow:var(--shadow);--dash-blue:#0969eb;--dash-purple:#922dff;--dash-pink:#e927ad;--dash-green:#009b56;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--motion-fast:180ms;--motion-page:320ms;--ease:cubic-bezier(.2,.8,.2,1);--z-header:30;--z-nav:40;--z-dialog:100;--z-toast:150}
:root[data-theme=dark]{color-scheme:dark;--bg:#0b1026;--panel:rgba(22,31,58,.87);--solid:#18213c;--nav:rgba(17,24,47,.94);--muted-panel:#212d4a;--text:#f0f4ff;--muted:#aab9df;--line:#354365;--accent:#eb9ae9;--accent-hover:#ffc4ef;--purple:#c2a8ff;--teal:#69dbe0;--teal-soft:#153d48;--success:#78e1b1;--warning:#ffd079;--danger:#ff9bb9;--ring:#90dbe7;--shadow:0 8px 28px #0003,inset 0 1px 0 #ffffff15;--glass-inset:inset 0 1px 0 #ffffff18;--chart:#66dbe7;--dash-glass:linear-gradient(120deg,#263354ed,#1c2543e8);--dash-blue:#78acff;--dash-purple:#c893ff;--dash-pink:#ff82d9;--dash-green:#67eab4}
/* Small, semantic component overrides belong here. Page layouts are in styles.css. */
button.saved{color:var(--accent)}button.saved .icon{fill:color-mix(in srgb,var(--accent) 18%,transparent)}
[data-busy=true]{pointer-events:none;opacity:.65}.link{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.vertical-space{height:20px}.metric-list{display:grid;gap:13px}.metric-list>div{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:14px}.metric-list strong{font-size:17px}.select-list{max-height:320px;overflow:auto;display:grid;gap:10px}.editor-toolbar{display:flex;gap:5px;margin-bottom:8px;flex-wrap:wrap}.editor-toolbar button{min-height:38px;padding:7px 13px}.line-clamp{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tile-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.article-card{padding:0;overflow:hidden}.article-card img{width:100%;height:215px;display:block}.article-card .body{padding:23px}.article-card h2{margin-bottom:12px}.article-card .date{font-size:13px;color:var(--muted);margin-bottom:10px}.article-languages{display:flex;gap:10px;flex-wrap:wrap;font-size:13px;margin-top:24px}.article-languages a{padding:7px 11px;border-radius:8px;border:1px solid var(--line)}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--teal)}.code{font-family:ui-monospace,monospace;background:var(--muted-panel);padding:12px 16px;border-radius:10px;user-select:all;overflow-wrap:anywhere}.schedule-mini{display:grid;grid-template-columns:1fr 100px;gap:8px}.schedule-mini input,.schedule-mini select{font-size:13px;min-height:42px;padding:7px 10px}.source-title{display:flex;align-items:center;gap:8px;min-width:0}.source-title strong{overflow-wrap:anywhere}.grow-chart{margin-top:12px;min-height:170px}.settings-section+.settings-section{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}.pill{display:inline-flex;border:1px solid var(--line);border-radius:99px;padding:6px 12px;font-size:12px;color:var(--muted);background:var(--solid)}.selection-footer{position:sticky;bottom:15px;background:var(--solid);border:1px solid var(--line);box-shadow:0 10px 40px #0002;padding:15px 20px;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:15px;z-index:20}.inline-error{color:var(--danger);font-size:14px;margin-top:12px}.billing-checks{display:grid;gap:10px;margin-top:22px}.count-pill{font-size:12px;color:var(--muted);background:var(--muted-panel);padding:3px 8px;border-radius:8px}
progress{width:100%;height:8px;border:0;border-radius:99px;overflow:hidden;background:var(--muted-panel);accent-color:var(--accent);margin:16px 0}progress::-webkit-progress-bar{background:var(--muted-panel)}progress::-webkit-progress-value{background:linear-gradient(90deg,var(--accent),var(--pink));border-radius:99px;transition:width .4s}progress::-moz-progress-bar{background:var(--accent);border-radius:99px}
.script-top>select{max-width:210px;justify-self:end}.public-languages{position:relative}.public-languages summary{cursor:pointer;list-style:none;padding:10px;border-radius:12px;white-space:nowrap}.public-languages summary::-webkit-details-marker{display:none}.public-language-menu{position:absolute;z-index:25;inset-inline-end:0;top:100%;padding:8px;border:1px solid var(--line);background:var(--solid);box-shadow:var(--shadow);border-radius:16px;width:190px;max-height:320px;overflow:auto;display:grid}.public-language-menu a{padding:9px 12px;border-radius:9px}.public-language-menu a:hover,.public-language-menu a[aria-current]{background:var(--muted-panel)}@media(max-width:600px){.marketing-nav{flex-wrap:wrap;gap:14px}.marketing-nav>.public-controls{width:100%;justify-content:space-between;gap:6px}.public-controls>.btn{font-size:12px;padding:10px}.script-top>select{justify-self:start}}

.search-row.source-entry{grid-template-columns:minmax(120px,160px) minmax(120px,160px) minmax(140px,1fr) auto}.source-title{flex-direction:column;align-items:flex-start;gap:4px}
@media(max-width:700px){.search-row.source-entry{grid-template-columns:repeat(2,minmax(0,1fr))}.search-row.source-entry>select{grid-column:auto}.search-row.source-entry>input,.search-row.source-entry>.btn{grid-column:span 2}}

.feed-poster>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#080b12}.dashboard-stats{grid-template-columns:repeat(6,minmax(0,1fr))}.connected-account{display:grid;gap:12px;padding:18px;border:1px dashed var(--line);border-radius:15px;background:color-mix(in srgb,var(--solid) 55%,transparent)}.connected-account.active{border-style:solid;border-color:color-mix(in srgb,var(--teal) 35%,var(--line))}.support-counts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}.support-counts>div{display:grid;gap:3px;padding:14px;background:var(--muted-panel);border-radius:13px}.support-counts strong{font-size:30px}.support-counts span{font-size:13px;color:var(--muted)}.faq-list{display:grid;gap:10px}.faq-list details{border:1px solid var(--line);border-radius:12px;padding:13px 15px}.faq-list summary{cursor:pointer;font-weight:650}.faq-list p{margin-top:10px;color:var(--muted);font-size:14px}.support-main{align-items:start}
.auth-providers{align-items:stretch}.telegram-login{position:relative;min-width:170px;min-height:46px;display:grid;place-items:center}.telegram-placeholder{width:100%;pointer-events:none}.telegram-login iframe{position:absolute;z-index:2;inset:0;margin:auto;max-width:100%}.telegram-login.telegram-ready .telegram-placeholder{visibility:hidden}.telegram-status{margin-top:54px;color:var(--danger);font-size:12px;line-height:1.4;text-align:center}.telegram-login.telegram-unavailable iframe{visibility:hidden}
@media(max-width:1300px){.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-stats .stat:last-child{grid-column:auto}.connected-grid,.dashboard-shortcuts,.support-summary,.support-main{grid-template-columns:1fr}}
*{box-sizing:border-box}
html{min-height:100%;scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,"Noto Sans",sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-wrap:anywhere}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 77% 0%,#e483c418,transparent 42%),radial-gradient(ellipse at 18% 63%,#50cacc12,transparent 38%)}
button,input,textarea,select{font:inherit}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
a:hover{color:var(--accent)}
button{cursor:pointer;color:inherit}
button:disabled{cursor:wait;opacity:.58}
input,select,textarea{width:100%;min-width:0;min-height:48px;border:1px solid var(--line);border-radius:12px;background:var(--solid);color:var(--text);padding:11px 14px;box-shadow:inset 0 1px 3px #14223e05;outline:none}
textarea{min-height:110px;resize:vertical;line-height:1.6}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}
input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 14%,transparent)}
:focus-visible{outline:3px solid var(--ring);outline-offset:3px}
button:focus:not(:focus-visible){outline:0}
label{display:block;font-size:14px;font-weight:600;margin-block-end:8px}
h1,h2,h3,h4,p{margin:0}
h1{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:750}
h2{font-size:21px;line-height:1.3;letter-spacing:-.4px}
h3{font-size:17px;line-height:1.4}
h4{font-size:15px}
p+p{margin-top:14px}
small{font-size:13px}
img,video,svg{max-width:100%}
img{object-fit:cover}
svg.icon{width:21px;height:21px;flex:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none;vertical-align:middle}
ul{padding-inline-start:24px}
hr{border:0;border-top:1px solid var(--line);margin:24px 0}
.muted{color:var(--muted)}
.teal{color:var(--teal)}
.accent{color:var(--accent)}
.small{font-size:14px}
.eyebrow{font-size:12px;font-weight:750;letter-spacing:1.6px;text-transform:uppercase;color:var(--accent)}
.stack{display:grid;gap:22px}
.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.between{justify-content:space-between}
.grow{flex:1;min-width:0}
.nowrap{white-space:nowrap}
.center{text-align:center}
.hidden,[hidden]{display:none!important}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:28px}
.page-heading p{margin-top:9px;color:var(--muted)}
.grid{display:grid;gap:20px;min-width:0}
.cols2{grid-template-columns:repeat(2,minmax(0,1fr))}
.cols3{grid-template-columns:repeat(3,minmax(0,1fr))}
.cols4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid>*{min-width:0}
.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow),var(--glass-inset);padding:26px;backdrop-filter:blur(18px);min-width:0}
.card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.card-header h2{font-size:18px}
.card.soft{background:var(--muted-panel);box-shadow:none}
.card.tint{background:linear-gradient(130deg,var(--panel),color-mix(in srgb,var(--teal-soft) 65%,var(--panel)));border-color:color-mix(in srgb,var(--teal) 24%,var(--line))}
.card.pink{border-color:color-mix(in srgb,var(--accent) 30%,var(--line));background:linear-gradient(140deg,var(--panel),color-mix(in srgb,var(--accent) 7%,var(--panel)))}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:11px 19px;border:1px solid var(--line);border-radius:12px;background:var(--solid);font-size:14px;font-weight:650;line-height:1.35;text-align:center;transition:transform .18s ease,background .18s,box-shadow .18s}
.btn:hover{color:var(--text);background:var(--muted-panel);transform:translateY(-1px);box-shadow:0 7px 14px #18223a0d}
.btn.primary{border-color:transparent;background:linear-gradient(100deg,var(--accent),#d74773);color:#fff;box-shadow:0 8px 25px -12px #d52a8ca0}
.btn.primary:hover{background:var(--accent-hover);box-shadow:0 8px 30px -12px #d52a8cc0}
.btn.teal{background:var(--teal-soft);color:var(--teal);border-color:color-mix(in srgb,var(--teal) 28%,var(--line))}
.btn.ghost{background:transparent;border-color:transparent;box-shadow:none}
.btn.danger{color:var(--danger)}
.btn.icon-only{width:46px;padding:10px}
.btn.wide{width:100%}
.btn.compact{min-height:40px;padding:8px 13px}
.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:8px;background:var(--muted-panel);color:var(--muted);font-size:12px;font-weight:650;line-height:1.5}
.badge.good{background:var(--teal-soft);color:var(--teal)}
.badge.pink{background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)}
.badge.error{color:var(--danger);background:color-mix(in srgb,var(--danger) 11%,transparent)}
.field{min-width:0}
.field .help{display:block;font-size:13px;color:var(--muted);margin-top:7px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.span2{grid-column:span 2}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.check{display:flex;align-items:center;gap:11px;cursor:pointer;font-size:14px;font-weight:500;margin:0;min-height:44px}
.check input{width:19px;height:19px;min-height:19px;flex:none;accent-color:var(--accent);padding:0}
.switch{position:relative;display:inline-flex;align-items:center;gap:11px;min-height:44px}
.switch input{position:absolute;opacity:0;width:1px;height:1px;min-height:1px}
.switch .track{width:39px;height:23px;border-radius:99px;background:var(--line);padding:3px;transition:background .2s;flex:none}
.switch .track:after{content:"";display:block;background:#fff;width:17px;height:17px;border-radius:50%;box-shadow:0 1px 3px #0003;transition:transform .2s}
.switch input:checked+.track{background:var(--teal)}
.switch input:checked+.track:after{transform:translateX(16px)}
[dir=rtl] .switch input:checked+.track:after{transform:translateX(-16px)}
.switch input:focus-visible+.track{outline:3px solid var(--ring);outline-offset:3px}
.empty{display:grid;justify-items:center;align-content:center;gap:13px;min-height:200px;padding:30px;text-align:center;color:var(--muted)}
.empty .icon{width:36px;height:36px;opacity:.55}
.empty p{max-width:440px;font-size:14px}
.spinner{width:22px;height:22px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite;display:inline-block;vertical-align:middle}
.initial-loader{min-height:70vh;display:flex;align-items:center;justify-content:center;gap:14px}
.loading-block{min-height:45vh;display:grid;place-content:center;gap:15px;text-align:center;color:var(--muted)}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
main>.page{animation:enter .3s ease both}
.skip{position:fixed;top:-100px;left:16px;background:var(--solid);padding:12px;z-index:200}
.skip:focus{top:12px}
.sidebar{width:236px;position:fixed;inset-block:0;inset-inline-start:0;background:var(--nav);border-inline-end:1px solid var(--line);padding:28px 18px 20px;z-index:40;display:flex;flex-direction:column;backdrop-filter:blur(20px)}
.brand{font-weight:800;font-size:20px;letter-spacing:-.6px;display:flex;align-items:center;gap:9px}
.brand img{width:32px;height:32px;object-fit:contain}
.sidebar .brand{padding:0 10px 32px}
.sidebar nav{display:grid;gap:5px;overflow:auto}
.nav-link{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:12px;color:var(--muted);font-size:14px;font-weight:560;min-height:46px;transition:background .18s,color .18s}
.nav-link:hover{color:var(--text);background:var(--muted-panel)}
.nav-link.active{background:color-mix(in srgb,var(--accent) 9%,transparent);color:var(--accent);font-weight:700}
.nav-separator{height:1px;background:var(--line);margin:16px 13px}
.nav-footer{margin-top:auto;padding:24px 7px 0;display:grid;gap:13px}
.nav-footer p{font-size:12px;color:var(--muted)}
.workspace{margin-inline-start:236px;min-height:100vh}
.topbar{height:85px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 36px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--bg) 84%,transparent);backdrop-filter:blur(18px);position:sticky;top:0;z-index:30}
.topbar .project-picker{max-width:240px;min-width:100px;background:transparent;border-color:transparent;font-size:14px;font-weight:650}
.top-actions{display:flex;align-items:center;gap:7px;min-width:0}
.avatar{display:grid;place-content:center;flex:none;width:38px;height:38px;border-radius:50%;font-size:14px;font-weight:750;background:color-mix(in srgb,var(--accent) 15%,var(--solid));color:var(--accent)}
.content{padding:34px 36px 70px;max-width:1640px;margin:auto;min-width:0}
.mobile-toggle{display:none}
.lang-wrap{position:relative}
.lang-button{display:flex;align-items:center;gap:7px;border:0;background:transparent;border-radius:10px;padding:10px;min-height:44px;font-size:14px;color:var(--muted)}
.lang-menu{position:absolute;inset-inline-end:0;top:52px;padding:9px;width:228px;max-height:365px;overflow-y:auto;border:1px solid var(--line);background:var(--solid);border-radius:17px;box-shadow:0 15px 45px #0003;z-index:80}
.lang-menu button{display:flex;width:100%;border:0;border-radius:8px;min-height:42px;text-align:start;background:none;padding:9px 12px;font-size:14px}
.lang-menu button:hover,.lang-menu button.selected{background:var(--muted-panel);color:var(--accent)}
.stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.stat{padding:21px;display:grid;gap:12px}
.stat .value{font-size:29px;font-weight:750;letter-spacing:-1px;line-height:1.15}
.stat .label{font-size:13px;color:var(--muted)}
.stat .stat-icon{display:flex;justify-content:space-between;align-items:center}
.stat-icon .icon{color:var(--accent)}
.mini-icon{width:36px;height:36px;background:var(--muted-panel);border-radius:11px;display:grid;place-content:center}
.growth-number{font-size:36px;font-weight:740;letter-spacing:-1.5px;margin:14px 0 3px}
.platform-icon{width:24px;height:24px;object-fit:contain}
.chart{width:100%;height:170px;display:block;margin-top:12px;color:var(--chart)}
.chart text{font-size:10px;fill:var(--muted);stroke:none}
.chart-grid{stroke:var(--line);stroke-width:.7}
.history-row{display:flex;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}
.history-row:last-child{border:0}
.history-row .title{font-size:14px;font-weight:620}
.history-row .date{font-size:12px;color:var(--muted);margin-top:4px}
.tabs{display:flex;flex-wrap:wrap;gap:4px;padding:5px;background:var(--muted-panel);border:1px solid var(--line);border-radius:13px;width:fit-content;margin-bottom:24px}
.tab{border:0;padding:10px 18px;min-height:42px;border-radius:9px;background:none;color:var(--muted);font-size:14px;font-weight:600}
.tab.active{background:var(--solid);color:var(--accent);box-shadow:0 2px 6px #0000000c}
.pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:30px}
.pagination .btn{min-width:44px;padding:9px}
.pagination .active{background:var(--accent);color:#fff;border-color:transparent}
.feed-card{padding:0;overflow:hidden;transition:transform .22s,box-shadow .22s}
.feed-card:hover{transform:translateY(-3px);box-shadow:0 20px 40px -24px #33426960}
.feed-poster{height:225px;position:relative;background:linear-gradient(130deg,var(--muted-panel),color-mix(in srgb,var(--purple) 12%,var(--solid)));display:grid;place-content:center;overflow:hidden}
.feed-poster>img{width:100%;height:100%;position:absolute;inset:0}
.feed-poster .score{position:absolute;inset-inline-end:14px;bottom:14px;background:var(--solid);color:var(--teal);box-shadow:0 4px 12px #0003}
.feed-poster .platform-icon{position:absolute;inset-inline-start:14px;top:14px;background:#fff;padding:4px;width:30px;height:30px;border-radius:9px}
.feed-poster .icon{width:36px;height:36px;color:var(--muted)}
.feed-body{padding:20px}
.feed-title{font-size:15px;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:46px}
.feed-author{margin:12px 0;color:var(--muted);font-size:13px}
.feed-metrics{display:flex;gap:15px;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.feed-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.feed-actions .btn{font-size:12px;padding:9px 11px;flex:1}
.feed-actions .icon-only{flex:none;width:43px}
.source-item{border-bottom:1px solid var(--line);padding:18px 0;display:grid;gap:11px}
.source-item:last-child{border:0}
.source-column{padding:23px}
.source-column .empty{padding:18px 0;min-height:170px}
.source-item .reference{font-weight:650;font-size:15px}
.source-item .actions{margin:0;gap:4px}
.source-item .btn.ghost{padding:6px;min-height:40px}
.search-row{display:grid;grid-template-columns:160px minmax(140px,1fr) auto;gap:12px}
.notice{display:flex;align-items:flex-start;gap:12px;padding:15px 18px;border:1px solid var(--line);background:var(--muted-panel);border-radius:13px;font-size:14px;line-height:1.55}
.notice .icon{margin-top:2px}
.notice.error{border-color:color-mix(in srgb,var(--danger) 35%,var(--line));color:var(--danger)}
.notice.success{background:var(--teal-soft);color:var(--teal)}
.notice.sample{background:color-mix(in srgb,var(--purple) 10%,var(--solid));color:var(--purple)}
.progress-track{height:7px;overflow:hidden;background:var(--muted-panel);border-radius:99px;margin:16px 0 7px}
.progress-track>span{height:100%;display:block;background:linear-gradient(90deg,var(--accent),var(--pink));border-radius:99px;width:var(--progress,0%);transition:width .4s ease}
.progress-box{padding:30px;display:grid;gap:6px}
.progress-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px;font-size:12px;color:var(--muted)}
.progress-steps span{padding:9px;border-top:2px solid var(--line)}
.progress-steps .done{border-color:var(--teal);color:var(--teal)}
.profile-top{display:flex;align-items:center;gap:24px}
.profile-avatar{width:100px;height:100px;border-radius:26px;font-size:34px}
.profile-meta{display:flex;gap:22px;flex-wrap:wrap;margin-top:17px}
.profile-meta strong{display:block;font-size:22px}
.profile-meta small{color:var(--muted)}
.report-section{margin-top:24px}
.report-value{font-size:15px;line-height:1.7;white-space:pre-line}
.report-list{display:grid;gap:12px}
.report-beat{border-inline-start:3px solid var(--teal);padding:13px 16px;background:var(--muted-panel);border-radius:0 12px 12px 0}
.report-beat strong{display:block;margin-bottom:7px}
.video-preview{width:100%;max-height:460px;background:#0a0b15;border-radius:16px;object-fit:contain}
.video-layout{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);gap:24px}
.script-layout{display:grid;grid-template-columns:1.6fr .9fr;gap:22px}
.script-part{padding:22px;border-bottom:1px solid var(--line)}
.script-part:last-child{border-bottom:0}
.script-part .role{font-size:12px;letter-spacing:1.2px;text-transform:uppercase;color:var(--teal);font-weight:750;margin-bottom:13px}
.script-part p{font-size:16px;line-height:1.85;white-space:pre-wrap}
.script-paper{padding:0}
.script-alternative{background:var(--muted-panel);padding:15px;border-radius:12px;font-size:14px;margin-top:12px}
.script-top{display:flex;justify-content:space-between;align-items:start;gap:20px}
.script-title{font-size:27px;line-height:1.35;max-width:800px}
.timeline{display:flex;gap:5px;min-height:9px}
.timeline span{flex:1;background:var(--teal-soft);border-radius:99px}
.library-tile{display:flex;flex-direction:column;gap:13px}
.library-tile .snippet{font-size:14px;line-height:1.65;max-height:160px;overflow:hidden;color:var(--muted)}
.library-tile .actions{margin-top:auto;padding-top:10px}
.library-select:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 10%,transparent)}
.notification{display:flex;align-items:start;gap:16px;padding:19px 0;border-bottom:1px solid var(--line)}
.notification:last-child{border:0}
.notification.unread .mini-icon{background:var(--teal-soft);color:var(--teal)}
.notification .text{font-size:14px;margin-top:5px;color:var(--muted)}
.usage-card .used{font-size:25px;font-weight:750;margin-top:14px}
.usage-card .used small{font-size:14px;color:var(--muted);font-weight:500}
.ring-meter{display:block;width:140px;height:140px;transform:rotate(-90deg)}
.ring-wrap{position:relative;width:140px;height:140px;flex:none}
.ring-label{position:absolute;inset:0;display:grid;place-content:center;text-align:center;font-size:26px;font-weight:750}
.ring-label small{font-size:12px;color:var(--muted);font-weight:500}
.plan-price{font-size:35px;font-weight:750;letter-spacing:-1.5px;margin:20px 0 5px}
.plan-list{padding:0;list-style:none;font-size:14px;display:grid;gap:13px;color:var(--muted);margin:24px 0}
.plan-list li{display:flex;gap:9px}
.plan-list .icon{color:var(--teal);width:18px}
.plan-card.featured{border-color:color-mix(in srgb,var(--accent) 45%,var(--line));box-shadow:0 20px 40px -24px color-mix(in srgb,var(--accent) 30%,transparent)}
.token-number{font-size:27px;font-weight:750;margin:10px 0}
.token-card .price{font-size:19px;font-weight:650}
.token-card .btn{margin-top:20px}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:14px 16px;text-align:start;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:12px;color:var(--muted);background:var(--muted-panel);font-weight:650}
tr:last-child td{border:0}
td .btn{min-height:38px}
.admin-tabs{gap:8px;margin-bottom:25px}
.editor{min-height:360px;outline:0;background:var(--solid);padding:22px;border:1px solid var(--line);border-radius:13px}
.editor:focus{border-color:var(--accent)}
.editor h2{margin:20px 0 10px}
.editor img{max-height:360px}
.cms-image{height:130px;width:100%;border-radius:12px}
.color-swatch{width:10px;height:10px;border-radius:50%;display:inline-block;background:var(--accent)}
.onboarding-layout{max-width:930px;margin:auto}
.steps{display:flex;justify-content:space-between;margin:24px 0 30px;gap:12px}
.step{flex:1;border-top:3px solid var(--line);padding-top:14px;font-size:14px;color:var(--muted)}
.step strong{display:grid;place-content:center;border:1px solid var(--line);width:28px;height:28px;border-radius:50%;margin-bottom:9px;font-size:12px}
.step.active{border-color:var(--accent);color:var(--accent)}
.step.active strong{background:var(--accent);color:#fff;border-color:transparent}
.step.done{border-color:var(--teal)}
.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}
.auth-art{display:flex;flex-direction:column;justify-content:center;padding:10vw 7vw;background:radial-gradient(circle at 40% 70%,#87ded76b,transparent 45%),radial-gradient(circle at 65% 30%,#eba5d357,transparent 55%),var(--muted-panel)}
.auth-art h1{font-size:54px;letter-spacing:-2px;line-height:1.15;margin:35px 0 22px}
.auth-art p{max-width:470px;color:var(--muted);font-size:18px;line-height:1.7}
.auth-form-panel{padding:45px;display:flex;flex-direction:column;justify-content:center}
.auth-form{width:100%;max-width:410px;margin:auto}
.auth-form h1{margin-bottom:14px}
.auth-form .stack{gap:18px}
.auth-top{position:absolute;top:25px;inset-inline-end:25px;display:flex;gap:10px}
.auth-bottom{font-size:14px;text-align:center;color:var(--muted);margin-top:20px}
.auth-or{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:12px;margin:20px 0}
.auth-or:before,.auth-or:after{content:"";flex:1;height:1px;background:var(--line)}
.marketing{max-width:1260px;margin:auto;padding:0 30px 50px}
.marketing-nav{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:100px;border-bottom:1px solid var(--line)}
.hero{text-align:center;max-width:1050px;margin:70px auto 60px}
.hero h1{font-size:clamp(43px,5.8vw,78px);font-weight:780;letter-spacing:-3px;line-height:1.08;margin:25px auto;max-width:1000px}
.hero h1 span{color:var(--accent)}
.hero p{font-size:19px;color:var(--muted);max-width:670px;margin:auto;line-height:1.7}
.hero .actions{justify-content:center;margin-top:30px}
.hero .btn{min-height:52px;padding:14px 24px;font-size:15px}
.hero-product{margin:45px auto 65px;padding:16px;border-radius:26px;border:1px solid var(--line);background:linear-gradient(130deg,#efb8dc66,#a2ddd738);box-shadow:0 30px 80px -45px #69465f70}
.hero-product img{display:block;width:100%;border:1px solid var(--line);border-radius:17px}
.marketing-section{padding:45px 0}
.marketing-section .section-title{text-align:center;max-width:700px;margin:0 auto 32px}
.marketing-section h2{font-size:32px;letter-spacing:-1px}
.marketing-footer{border-top:1px solid var(--line);padding:30px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.article-header{max-width:800px;margin:55px auto 35px}
.article-header h1{font-size:44px;line-height:1.18;margin:20px 0}
.article-hero{max-width:940px;display:block;width:100%;max-height:550px;border-radius:24px;margin:0 auto 35px}
.article-body{max-width:760px;margin:auto;font-size:18px;line-height:1.85}
.article-body h2{font-size:28px;margin:35px 0 17px}
.article-body h3{font-size:22px;margin:25px 0 12px}
.article-body a{color:var(--accent);text-decoration:underline}
.article-body img{border-radius:14px;margin:20px 0}
.article-body table{font-size:15px;display:block;overflow:auto}
.article-body pre{background:var(--muted-panel);padding:20px;overflow:auto;border-radius:13px}
.article-body blockquote{border-inline-start:3px solid var(--accent);padding-inline-start:22px;margin-inline:0;color:var(--muted)}
#toasts{position:fixed;bottom:25px;inset-inline-end:25px;z-index:150;display:grid;gap:10px;max-width:min(430px,calc(100vw - 40px))}
.toast{border:1px solid var(--line);background:var(--solid);padding:16px 20px;box-shadow:0 10px 35px #0003;border-radius:14px;font-size:14px;animation:enter .2s ease}
.toast.error{color:var(--danger)}
dialog{padding:30px;border-radius:23px;border:1px solid var(--line);background:var(--solid);color:var(--text);max-width:min(680px,calc(100vw - 30px));width:100%;max-height:90vh;overflow:auto;box-shadow:0 30px 100px #0005}
dialog::backdrop{background:#10172980;backdrop-filter:blur(5px)}
dialog .modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:15px}
.mobile-shade{display:none}
.chart-empty{height:140px;display:grid;place-content:center;color:var(--muted);font-size:14px;background:repeating-linear-gradient(to bottom,transparent,transparent 34px,var(--line) 35px,transparent 36px)}
@media(min-width:1550px){.content{padding:42px 50px}.stats{gap:21px}.feed-poster{height:260px}}
@media(max-width:1150px){.sidebar{width:212px;padding-inline:12px}.workspace{margin-inline-start:212px}.topbar{padding:0 25px}.content{padding:30px 24px 65px}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stats .stat:nth-child(4),.stats .stat:nth-child(5){grid-column:auto}.cols4{grid-template-columns:repeat(2,minmax(0,1fr))}.cols3{gap:14px}.card{padding:21px}.script-part{padding:21px}.feed-card{padding:0}.feed-actions{gap:4px}.feed-actions .btn{font-size:12px}.feed-actions .btn:nth-child(2){flex-basis:100%}.auth-art h1{font-size:43px}}
@media(max-width:900px){.sidebar{transform:translateX(-100%);width:246px;transition:transform .22s}.workspace{margin-inline-start:0}.mobile-toggle{display:inline-flex}.nav-open .sidebar{transform:translateX(0)}.nav-open .mobile-shade{display:block;position:fixed;inset:0;background:#12192b66;z-index:35}.topbar{height:73px;padding:0 19px}.content{padding:25px 20px 60px}.cols3{grid-template-columns:repeat(2,minmax(0,1fr))}.source-grid{grid-template-columns:1fr}.source-column .source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.source-column .source-item{padding-bottom:10px}.script-layout{grid-template-columns:1fr}.script-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px}.auth-layout{grid-template-columns:1fr}.auth-art{display:none}.auth-form-panel{min-height:100vh;padding:100px 25px 40px}.marketing-nav .nav-copy{display:none}.marketing{padding-inline:20px}.hero{margin:45px auto}.hero h1{letter-spacing:-2px}.video-layout{grid-template-columns:1fr 1.2fr}.article-header h1{font-size:35px}.admin-overview.stats{grid-template-columns:repeat(3,minmax(0,1fr))}[dir=rtl] .sidebar{transform:translateX(100%)}[dir=rtl] .nav-open .sidebar{transform:translateX(0)}}
@media(max-width:600px){:root{--panel:var(--solid);--nav:var(--solid);--radius:18px}.topbar{height:67px;padding:0 12px;gap:8px}.top-actions{gap:2px}.topbar>.row{flex-wrap:nowrap;gap:3px;min-width:0}.topbar .project-picker{min-width:0;max-width:104px;padding-inline:8px;font-size:13px}.top-actions .avatar{display:none}.lang-button{font-size:13px;padding:8px}.lang-button .language-name{max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions .icon-only{width:40px}.content{padding:23px 15px 55px}.page-heading{margin-bottom:22px;gap:16px}h1{font-size:27px;letter-spacing:-.7px}.page-heading p{font-size:14px}h2{font-size:19px}.card{padding:20px;backdrop-filter:none}.stack{gap:18px}.cols2,.cols3,.cols4,.form-grid,.video-layout{grid-template-columns:1fr}.span2{grid-column:auto}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stats .stat{padding:17px;gap:10px}.stats .stat:last-child{grid-column:span 2}.stat .value{font-size:26px}.stat .label{font-size:13px}.stat .stat-icon .icon{width:18px}.search-row{grid-template-columns:1fr auto}.search-row>select{grid-column:span 2}.search-row input{grid-column:1}.search-row .btn{padding:11px 15px}.tabs{width:100%;gap:2px;padding:4px}.tab{flex:1;font-size:13px;padding:10px 8px}.feed-card{padding:0}.feed-poster{height:270px}.feed-actions .btn:nth-child(2){flex-basis:auto}.feed-actions .btn{font-size:13px;min-height:44px}.source-column .source-list{grid-template-columns:1fr;gap:0}.profile-top{align-items:start;gap:15px}.profile-avatar{width:66px;height:66px;font-size:24px;border-radius:18px}.profile-meta{gap:17px}.profile-meta strong{font-size:21px}.profile-meta small{font-size:12px}.profile-top h1{font-size:25px}.script-top{display:grid}.script-title{font-size:24px}.script-aside{grid-template-columns:1fr}.script-paper{padding:0}.script-part{padding:20px}.script-part p{font-size:16px}.progress-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.steps{gap:7px}.step{font-size:12px;line-height:1.4}.step strong{width:26px;height:26px}.notification{gap:12px}.notification .mini-icon{width:31px;height:31px}.notification h3{font-size:15px}.notification .btn{padding:8px}.table-wrap{border:none;overflow:visible}table,thead,tbody,th,td,tr{display:block}thead{display:none}tbody{display:grid;gap:12px}tr{padding:13px 16px;border:1px solid var(--line);border-radius:13px;background:var(--solid)}td{border:0;padding:6px 0;display:flex;justify-content:space-between;gap:14px}td:before{content:attr(data-label);font-size:12px;color:var(--muted);flex:0 0 35%}td:empty{display:none}.marketing{padding:0 17px 25px}.marketing-nav{min-height:83px;gap:8px}.marketing-nav>.row{gap:4px}.marketing-nav .brand{font-size:17px}.marketing-nav .brand img{width:26px}.marketing-nav .btn.primary{padding:10px 13px;font-size:13px}.marketing-nav .login-link{display:none}.hero{margin:38px auto}.hero h1{font-size:41px;letter-spacing:-1.6px;margin:20px 0}.hero p{font-size:16px}.hero .actions{gap:10px}.hero-product{margin:30px 0;padding:7px;border-radius:17px}.hero-product img{border-radius:10px}.marketing-section{padding:28px 0}.marketing-section h2{font-size:27px}.marketing-footer{font-size:12px}.article-header{margin-top:30px}.article-header h1{font-size:30px}.article-body{font-size:17px}.article-body h2{font-size:24px}.article-body table{display:block;overflow:auto}.article-body table td{display:block}.article-body table td:before{display:none}.article-hero{border-radius:16px}.auth-form-panel{padding:105px 22px 35px}.auth-form h1{font-size:29px}dialog{padding:22px;max-height:92vh}.btn{min-height:46px}.admin-overview.stats{grid-template-columns:1fr 1fr}.ring-wrap,.ring-meter{width:112px;height:112px}.plan-price{font-size:34px}.notification-settings{grid-template-columns:1fr}.page-heading .actions{margin:0}.article-body img{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.actions,.btn,.marketing-nav,.marketing-footer,#toasts{display:none!important}.workspace{margin:0}.content{padding:0}.card{background:#fff;color:#111;border-color:#ddd;box-shadow:none;break-inside:avoid}body{background:#fff;color:#111}.script-layout{display:block}.script-aside{margin-top:20px}.script-part{break-inside:avoid}.muted{color:#555}}
@media(max-width:360px){.topbar{height:104px;flex-wrap:wrap;padding-block:7px;gap:0}.topbar>.row{width:100%;justify-content:space-between}.topbar .project-picker{max-width:200px}.top-actions{width:100%;justify-content:flex-end}.page-heading{flex-wrap:wrap}}
/* Comparable performance cards */
.feed-filters{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr)) minmax(150px,2fr) auto;gap:12px}
.feed-evidence{display:grid;gap:8px;margin:12px 0;font-size:13px;overflow-wrap:anywhere}
.feed-evidence p{margin:0}
.feed-evidence summary{cursor:pointer;color:var(--muted)}
.feed-evidence .badge{width:fit-content;max-width:100%;white-space:normal}
.feed-metrics{flex-wrap:wrap}
.feed-evidence details p{margin-top:8px}
@media(max-width:1000px){.feed-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.feed-filters{grid-template-columns:minmax(0,1fr)}.feed-filters>*{min-width:0;width:100%}}
/* Reels Hunter · shared Liquid Glass system. Reference palette: ref-24/ref-28. */
@font-face{font-family:Onest;src:url('/assets/brand/onest.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
body{font-family:Onest,Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--bg);color:var(--text);line-height:1.5}
body:before{background:radial-gradient(ellipse at 80% 0%,#e5b8fb50,transparent 36%),radial-gradient(ellipse at 100% 48%,#aceef755,transparent 37%),radial-gradient(ellipse at 24% 82%,#d5e9ff65,transparent 40%)}
:root[data-theme=dark] body:before{background:radial-gradient(ellipse at 86% 0%,#71245a28,transparent 36%),radial-gradient(ellipse at 18% 65%,#167a9820,transparent 42%)}
h1{font-size:clamp(28px,2.35vw,40px);font-weight:780;line-height:1.15;letter-spacing:-1.3px}
h2{font-size:21px;font-weight:730}
h3{font-size:17px}
.page-heading{margin-bottom:25px;min-height:72px}
.page-heading p{max-width:850px;margin-top:8px;font-size:15px}
.page-heading .actions{margin:0}
.page-heading:has(.page-note){position:relative}
.page-note{font-size:22px;color:var(--purple);font-style:italic;line-height:1.3;max-width:230px;transform:rotate(-5deg);margin-inline-start:auto}
.card{border:1px solid color-mix(in srgb,var(--line) 74%,var(--solid));background:var(--panel);border-radius:var(--radius);padding:23px;box-shadow:var(--shadow),var(--glass-inset);backdrop-filter:none}
.card.tint{background:linear-gradient(125deg,var(--panel),color-mix(in srgb,var(--teal-soft) 34%,var(--panel)))}
.card.pink{background:linear-gradient(135deg,var(--panel),color-mix(in srgb,var(--pink) 7%,var(--panel)))}
.card-header{margin-bottom:17px}
.stack{gap:20px}
.grid{gap:18px}
.btn{min-height:44px;padding:10px 17px;border-radius:13px;font-weight:650;border-color:var(--line);background:var(--panel);box-shadow:inset 0 1px 0 #ffffff33;transition:transform .15s,box-shadow .15s,background .15s}
.btn.primary{background:var(--rh-gradient);border:1px solid #ffffff45;color:#172344;border-radius:16px;box-shadow:0 7px 22px -12px #b958dbae,inset 0 1px 0 #ffffff75;text-shadow:none}
.btn.primary:hover{background:var(--rh-gradient);box-shadow:0 8px 25px -8px #996acf70;filter:brightness(1.04)}
.btn:active{transform:translateY(1px)}
.btn:disabled{cursor:not-allowed;transform:none;filter:none}
.btn[aria-busy=true]{cursor:progress}
.btn.icon-only{width:44px;min-width:44px;min-height:44px;padding:10px}
.btn.ghost{box-shadow:none}
.btn.danger{background:color-mix(in srgb,var(--danger) 5%,var(--solid));border-color:color-mix(in srgb,var(--danger) 25%,var(--line))}
.btn .button-arrow{margin-inline-start:auto;width:18px}
.mini-icon{background:linear-gradient(135deg,color-mix(in srgb,var(--rh-fuchsia) 10%,var(--panel)),color-mix(in srgb,var(--rh-cyan) 16%,var(--panel)));color:var(--purple);width:40px;height:40px;border-radius:13px}
input,select,textarea{background:color-mix(in srgb,var(--solid) 82%,transparent);border-color:var(--line);border-radius:13px;min-height:46px;padding:11px 14px;box-shadow:inset 0 1px 0 #ffffff25;font-size:15px}
label{font-size:14px}
input:focus,select:focus,textarea:focus{border-color:var(--rh-violet);box-shadow:0 0 0 3px color-mix(in srgb,var(--rh-violet) 16%,transparent)}
.sidebar{width:var(--rh-sidebar);padding:20px 14px 16px;background:var(--nav);border-inline-end:1px solid color-mix(in srgb,var(--line) 65%,transparent);backdrop-filter:blur(16px);z-index:var(--z-nav)}
.brand-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}
.sidebar .brand{padding:0 12px;font-size:24px;line-height:.97;gap:12px;letter-spacing:-1px}
.brand img{width:39px;height:39px}
.sidebar nav{gap:2px;overflow:visible}
.nav-link{font-size:14px;min-height:44px;padding:10px 13px;gap:13px;border:1px solid transparent;border-radius:12px}
.nav-link .icon{width:21px;height:21px}
.nav-link.active{color:var(--accent);background:linear-gradient(98deg,color-mix(in srgb,var(--rh-fuchsia) 13%,var(--solid)),color-mix(in srgb,var(--rh-violet) 17%,var(--solid)),color-mix(in srgb,var(--rh-cyan) 28%,var(--solid)));border-color:color-mix(in srgb,var(--rh-fuchsia) 20%,var(--line));box-shadow:0 4px 16px -11px var(--rh-cyan)}
.nav-footer{padding:20px 2px 0;gap:12px}
.sidebar-user{display:flex;align-items:center;gap:8px;padding-top:12px;border-top:1px solid var(--line)}
.sidebar-username{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650;flex:1}
.sidebar-user .avatar{width:34px;height:34px}
.workspace{margin-inline-start:var(--rh-sidebar)}
.topbar{height:var(--rh-header);padding:0 27px;gap:18px;border:0;border-bottom:1px solid color-mix(in srgb,var(--line) 65%,transparent);background:var(--nav);backdrop-filter:blur(16px);z-index:var(--z-header)}
.topbar>.row{min-width:0;flex-shrink:1;flex-wrap:nowrap}
.topbar .project-picker{max-width:190px;padding-inline:10px}
.header-search{display:flex;align-items:center;gap:9px;background:var(--panel);border:1px solid var(--line);padding:0 12px;border-radius:99px;max-width:520px;flex:1;color:var(--muted)}
.header-search input{border:0;background:transparent;box-shadow:none;min-height:42px;padding:7px 0;font-size:14px}
.header-search .icon{width:18px}
.search-submit{border:0;background:transparent;color:var(--muted);min-width:28px;min-height:42px}
.top-actions{flex:none}
.language-name{font-size:14px}
.content{padding:26px 28px 60px;max-width:1760px}
.top-actions .avatar{background:linear-gradient(135deg,#f4c5fa,#d9e2ff);color:#9441b5}
.stats{gap:14px}
.dashboard-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.stat{position:relative;padding:18px;gap:9px}
.stat .value{font-size:31px;letter-spacing:-1px}
.stat .label{font-size:14px}
.stat .stat-icon .mini-icon{width:33px;height:33px}
.stat .stat-icon .icon{width:19px}
.stat:nth-child(2n) .mini-icon{color:var(--teal)}
.stat:nth-child(3n) .mini-icon{color:var(--accent)}
.stat .badge{position:absolute;top:22px;right:16px;font-size:12px}
.growth-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.growth-card{min-width:0;padding:20px;border-radius:20px;border:1px solid var(--line);background:linear-gradient(120deg,var(--panel),color-mix(in srgb,var(--rh-cyan) 4%,var(--panel)));display:grid;gap:15px}
.growth-card h3{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.growth-card .platform-icon{width:29px;height:29px}
.growth-metrics{display:grid;gap:11px}
.growth-metric{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;font-size:14px}
.growth-metric strong{font-size:17px}
.growth-delta{min-width:46px;text-align:right;font-size:13px}
.growth-delta.up{color:var(--success)}
.growth-delta.down{color:var(--danger)}
.growth-delta.flat{color:var(--warning)}
.growth-card .chart{height:84px;margin:0}
.growth-card .chart text{display:none}
.growth-title{display:flex;align-items:center;gap:10px}
.growth-empty{min-height:200px;display:grid;align-content:center;gap:15px}
.dashboard-shortcuts .card{padding:18px}
.history-card .history-row{padding:12px 0}
.history-row .mini-icon{width:35px;height:35px}
.history-row .title{font-size:14px}
.history-row .date{font-size:13px}
.analysis-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr);gap:18px;margin-bottom:20px}
.analysis-form{display:flex;flex-direction:column;justify-content:space-between;gap:20px}
.analysis-form .actions{margin:0}
.analysis-form .btn.primary{min-width:210px}
.analysis-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.analysis-benefit{display:flex;align-items:center;gap:12px;border:1px solid color-mix(in srgb,var(--line) 60%,transparent);background:var(--panel);padding:14px;border-radius:16px}
.analysis-benefit strong{display:block;font-size:14px}
.analysis-benefit p{font-size:13px;color:var(--muted);margin-top:3px}
.analysis-feature-strip{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}
.analysis-feature-strip .card{padding:17px}
.analysis-feature-strip p{font-size:14px;color:var(--muted);margin-top:6px}
.analysis-page-eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:1px;color:var(--accent);font-weight:700;margin-bottom:5px}
.notice{border-radius:14px;font-size:14px}
.analysis-method-note{font-size:13px;color:var(--muted);margin-top:15px}
.tabs{background:color-mix(in srgb,var(--solid) 60%,transparent);border-color:var(--line);border-radius:15px;gap:5px}
.tab{min-height:44px}
.tab.active{background:linear-gradient(100deg,color-mix(in srgb,var(--rh-fuchsia) 14%,var(--solid)),color-mix(in srgb,var(--rh-cyan) 16%,var(--solid)));box-shadow:0 3px 8px #b29cc620;color:var(--accent)}
.feed-filters{padding:13px;background:var(--panel);border:1px solid var(--line);border-radius:18px;grid-template-columns:repeat(3,minmax(100px,1fr)) minmax(100px,1fr) minmax(130px,1.5fr) auto;gap:10px}
.feed-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}
.feed-card{padding:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none;min-width:0;border-radius:20px;content-visibility:auto;contain-intrinsic-size:auto 620px}
.feed-poster{height:auto!important;aspect-ratio:9/16;position:relative;border-radius:18px;overflow:hidden;isolation:isolate;background:linear-gradient(145deg,#4a5283,#202a53);color:#fff}
.feed-poster>img,.feed-poster>video{width:100%;height:100%;object-fit:cover;display:block}
.feed-poster:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#06112866,transparent 30%,transparent 63%,#061128b8);z-index:1}
.feed-poster.playing:after{display:none}
.feed-poster.playing .feed-overlays{display:none}
.feed-top{position:absolute;top:10px;left:10px;right:10px;display:flex;justify-content:space-between;align-items:flex-start;gap:6px;z-index:2}
.feed-platform{display:flex;align-items:center;gap:5px;font-size:11px;background:#07173580;padding:5px 7px;border-radius:9px;line-height:1.1}
.feed-platform .platform-icon{position:static;width:19px;height:19px}
.feed-poster .score{position:static;border:1px solid #ffffff77;background:#062e3fd1;color:#fff;min-width:42px;font-size:19px;border-radius:12px;display:grid;place-items:center;padding:3px 7px;font-weight:750}
.feed-score-label{font-size:9px;font-weight:500;text-transform:uppercase;letter-spacing:.6px}
.feed-side-actions{display:grid;gap:8px;position:absolute;top:75px;right:9px;z-index:3}
.feed-side-actions .btn{width:38px;min-width:38px;min-height:38px;padding:8px;background:#13234378;border-color:#ffffff55;color:white;border-radius:12px}
.feed-side-actions .saved{background:#db369dbb}
.feed-play{position:absolute;inset:0;border:0;background:transparent;z-index:2;color:#fff;display:grid;place-items:center;width:100%}
.feed-play>.icon{width:51px;height:51px;filter:drop-shadow(0 2px 9px #0007);opacity:.85}
.feed-metrics{position:absolute;bottom:12px;left:12px;right:12px;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;color:white;font-size:12px}
.feed-metrics>span{display:flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap}
.feed-metrics .icon{width:14px;height:14px}
.feed-body{padding:12px 0 8px}
.feed-title{font-size:14px;line-height:1.45;margin:7px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:41px}
.feed-author{font-size:12px;margin:0 0 9px;color:var(--muted)}
.feed-actions{display:flex;gap:7px;margin:0;flex-wrap:wrap}
.feed-actions .btn{min-height:44px;padding:8px 11px;font-size:12px;flex:1;white-space:normal}
.feed-actions .btn:nth-child(2){flex-basis:auto}
.feed-actions .icon{width:16px}
.feed-error{position:absolute;inset:35% 10px auto;text-align:center;font-size:13px;z-index:4}
.feed-error .btn{margin-top:10px;color:var(--text)}
.feed-anomaly .feed-poster{box-shadow:0 0 0 2px #40cd9b60,0 8px 25px -13px #3cb894}
.feed-result-count{font-size:13px;color:var(--muted);margin:14px 0}
.image-view-dialog img{display:block;max-height:75vh;object-fit:contain;margin:auto}
.source-column.card{padding:17px}
.source-item{padding:12px 0}
.source-item .actions{gap:6px;margin-top:10px}
.source-item .btn{min-height:44px;font-size:13px;padding:8px 10px}
.source-header h2{font-size:18px}
.source-item h3{font-size:14px}
.source-item .switch .track,.platform-switch .track{background:color-mix(in srgb,var(--danger) 76%,var(--solid))}
.source-item .switch input:checked+.track,.platform-switch input:checked+.track{background:#19b88d}
.source-grid{gap:16px}
.source-item .small{font-size:13px}
.notification-settings{gap:15px}
.notification{padding:16px 0}
.notification .mini-icon{color:var(--purple)}
.script-layout{gap:20px}
.script-part{background:transparent}
.script-paper{background:var(--panel)}
.script-aside .card{padding:20px}
.library-filters{gap:10px}
.library-item{padding:19px}
.dna-columns{gap:20px}
.plan-card.featured{border-color:var(--rh-violet);box-shadow:0 10px 30px -20px #9f6dce88}
.plan-price{font-size:32px}
.progress-box{padding:0;max-width:none}
.analysis-progress-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:25px}
.analysis-radar{width:150px;height:150px;margin:8px auto 25px;position:relative;display:grid;place-items:center;color:var(--purple);border:1px solid var(--line);border-radius:50%;box-shadow:0 0 0 18px color-mix(in srgb,var(--rh-cyan) 5%,transparent),0 0 0 38px color-mix(in srgb,var(--rh-violet) 4%,transparent)}
.analysis-radar:before{content:'';position:absolute;inset:9px;border:2px solid transparent;border-top-color:var(--rh-cyan);border-right-color:var(--rh-fuchsia);border-radius:50%;animation:spin 4s linear infinite}
.analysis-radar>.icon{width:49px;height:49px}
.analysis-progress-visual{display:grid;align-content:center;padding:30px 15px;min-height:300px;text-align:center}
.analysis-progress-visual h3{font-size:19px}
.analysis-progress-visual p{font-size:14px;color:var(--muted);margin-top:10px}
.progress-stage-list{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:12px}
.progress-stage-list li{display:flex;align-items:center;gap:10px;font-size:14px;padding:12px;background:var(--muted-panel);border-radius:13px;color:var(--muted)}
.progress-stage-list li .stage-dot{width:23px;height:23px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;font-size:12px}
.progress-stage-list li.done{color:var(--success)}
.progress-stage-list li.current{color:var(--purple);background:color-mix(in srgb,var(--rh-violet) 10%,var(--panel))}
.progress-stage-list li.done .stage-dot{background:var(--teal-soft)}
progress{width:100%;height:12px;border:0;border-radius:99px;overflow:hidden;accent-color:var(--rh-violet);background:var(--muted-panel)}
progress::-webkit-progress-bar{background:var(--muted-panel);border-radius:99px}
progress::-webkit-progress-value{background:var(--rh-gradient);border-radius:99px}
progress::-moz-progress-bar{background:var(--rh-gradient);border-radius:99px}
.progress-elapsed{font-variant-numeric:tabular-nums;font-size:13px;color:var(--muted)}
.route-skeleton{padding-top:18px}
.skeleton-title,.skeleton-grid>div,.skeleton-panel{background:linear-gradient(100deg,var(--muted-panel),var(--panel),var(--muted-panel));background-size:200% 100%;animation:skeleton-shimmer 2s ease infinite;border-radius:18px;border:1px solid var(--line)}
.skeleton-title{height:34px;width:230px;margin-bottom:27px}
.skeleton-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}
.skeleton-grid>div{height:115px}
.skeleton-panel{height:320px;margin-top:22px}
@keyframes skeleton-shimmer{to{background-position:-200% 0}}
.auth-art{background:radial-gradient(ellipse at 70% 35%,#e2b3ee50,transparent 60%),radial-gradient(ellipse at 35% 76%,#b6eff46b,transparent 60%),var(--bg);padding:9vw 7vw}
.auth-art h1{font-size:clamp(36px,3.4vw,56px);letter-spacing:-1.8px}
.auth-art .brand{font-size:25px}
.auth-form-panel{background:transparent}
.auth-form{max-width:470px;padding:32px;background:var(--panel);border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow)}
.auth-form h1{text-align:center;font-size:30px}
.auth-form .eyebrow{text-align:center;color:var(--muted)}
.auth-providers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.auth-provider-slot{height:48px;min-width:0;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:13px;background:var(--panel);overflow:hidden;position:relative}
.auth-provider-slot>a,.auth-provider-slot>button{width:100%;height:46px;border:0;background:transparent;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px}
.auth-provider-slot iframe{position:static!important;display:block!important;max-width:100%;border:0;min-height:28px}
.auth-provider-slot .provider-placeholder{display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;color:var(--muted);padding:0}
.auth-provider-status{min-height:55px;font-size:13px;color:var(--danger);padding-top:10px;text-align:center}
.auth-provider-status:empty{visibility:hidden}
.auth-top{z-index:2}
.auth-form .auth-bottom{font-size:13px}
.auth-layout .stack{gap:18px}
.auth-layout .auth-or{margin:19px 0 15px}
.auth-layout .auth-bottom+.auth-or{margin-top:15px}
.auth-bottom .btn{padding:5px 12px}
body.nav-open{overflow:hidden}
.studio-frame{width:100%;height:calc(100dvh - var(--rh-header) - 50px);min-height:640px;border:0;display:block;border-radius:20px;background:transparent}
.studio-frame[hidden]{display:none}
.studio-frame-loading{padding:30px}
.studio-document{margin:0;background:var(--bg)}
.studio-document:before{display:none}
@media(min-width:1780px){.feed-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-height:880px) and (min-width:901px){.sidebar{padding-top:15px}.brand-row{margin-bottom:12px}.sidebar nav{gap:0}.nav-link{min-height:38px;padding-block:7px}.nav-footer{padding-top:12px;gap:7px}.sidebar-user{padding-top:7px}}
@media(max-height:720px) and (min-width:901px){.sidebar{overflow:auto}.sidebar nav{overflow:visible}.nav-footer{margin-top:15px}}
@media(max-width:1250px){:root{--rh-sidebar:220px}.topbar{padding-inline:20px}.content{padding:25px 22px 50px}.header-search{max-width:330px}.feed-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feed-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.analysis-layout{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}.analysis-benefits{grid-template-columns:1fr}.growth-metric{font-size:13px;gap:5px}.growth-metric strong{font-size:15px}.page-note{display:none}.sidebar .brand{font-size:22px}.nav-link{font-size:13px;gap:11px}.growth-card{padding:16px}}
@media(max-width:1024px){.header-search{display:none}.analysis-layout{grid-template-columns:1fr}.analysis-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}.stats,.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.stat .badge{position:static;justify-self:start}.growth-grid{grid-template-columns:1fr}.growth-card{grid-template-columns:minmax(150px,1fr) 2fr;align-items:start}.growth-card .chart{grid-column:1/-1;height:70px}.growth-card .growth-empty{grid-column:1/-1;min-height:100px}.growth-metrics{grid-row:span 2}.growth-card>a{justify-self:start}.topbar .project-picker{max-width:260px}}
@media(max-width:900px){:root{--rh-header:68px}.workspace{margin-inline-start:0}.sidebar{width:280px;padding:20px 14px;overflow:auto;max-width:calc(100vw - 36px)}.nav-link{font-size:14px;min-height:44px}.sidebar .brand{font-size:24px}.brand-row{margin-bottom:20px}.sidebar nav{overflow:visible}.nav-footer{margin-top:20px}.content{padding:24px 20px 50px}.topbar{padding-inline:15px}.feed-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.studio-frame{height:calc(100dvh - 100px);min-height:650px}.analysis-progress-layout{grid-template-columns:1fr}.analysis-progress-visual{min-height:230px}}
@media(max-width:650px){.feed-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.feed-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.feed-filters>input{grid-column:1/-1}.feed-filters .btn{grid-column:1/-1}.analysis-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-feature-strip{grid-template-columns:1fr}.stats,.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stats .stat:last-child{grid-column:auto}.stats .stat:nth-child(5):last-child{grid-column:1/-1}.content{padding:22px 16px 50px}.card{padding:18px}.page-heading{min-height:60px}.page-heading h1{font-size:28px}.topbar>.row{flex:1;min-width:0}.topbar .project-picker{max-width:135px;min-width:60px;padding-inline:5px}.topbar .language-name{display:none}.topbar .lang-button{min-width:44px;justify-content:center;padding-inline:7px}.top-actions .avatar{display:none}.top-actions .icon-only{width:44px}.top-actions{gap:0}.topbar{gap:3px;padding-inline:10px;flex-wrap:nowrap;height:68px}.topbar>.row{width:auto;justify-content:flex-start}.auth-form-panel{padding:100px 16px 30px}.auth-form{padding:25px 22px;border-radius:23px}.auth-providers{grid-template-columns:1fr}.auth-provider-slot{height:48px}.auth-provider-status{min-height:66px}.growth-card{grid-template-columns:1fr}.growth-metrics{grid-row:auto}.growth-card .chart{height:80px}.skeleton-grid{grid-template-columns:1fr 1fr}.skeleton-grid>div:nth-child(n+3){display:none}.analysis-form .btn.primary{min-width:0;width:100%}.feed-card{padding:0}.feed-platform{font-size:9px;padding:4px;gap:3px}.feed-platform .platform-icon{width:15px;height:15px}.feed-top{top:7px;left:6px;right:6px}.feed-poster .score{font-size:17px;min-width:32px;padding:2px 5px}.feed-score-label{font-size:8px}.feed-side-actions{right:6px;top:65px}.feed-metrics{font-size:10px;left:6px;right:6px;bottom:12px;grid-template-columns:repeat(2,1fr);gap:5px}.feed-metrics .icon{width:13px}.feed-actions{display:grid;grid-template-columns:1fr}.feed-actions .btn{font-size:12px}.feed-title{font-size:13px}.feed-author{font-size:12px}.header-search{display:none}.studio-frame{border-radius:0}.studio-document .creator-studio{padding-inline:10px}}
@media(max-width:360px){.topbar .project-picker{max-width:103px}.content{padding-inline:12px}.feed-grid{gap:10px}.analysis-benefits{grid-template-columns:1fr}.card{padding:16px}.feed-card{padding:0}.auth-form{padding:22px 16px}.page-heading h1{font-size:26px}.lang-button{width:40px;min-width:40px!important}.top-actions .icon-only{width:40px;min-width:40px}.topbar{padding-inline:6px}.btn{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}
.sidebar nav .nav-link{min-height:44px}
.btn.primary:disabled{opacity:.55}
.library-tile{min-width:0}
#library-search input{flex:1;min-width:0}
.content{padding-bottom:calc(60px + env(safe-area-inset-bottom,0px))}
.sidebar{padding-bottom:max(16px,env(safe-area-inset-bottom,0px))}
.search-submit{min-width:44px;min-height:44px}
.feed-side-actions .btn{min-width:44px;min-height:44px}
@media(max-width:900px){.topbar{padding-left:max(10px,env(safe-area-inset-left,0px));padding-right:max(10px,env(safe-area-inset-right,0px))}}
@media(max-width:360px){.topbar .lang-button,.topbar .icon-only{width:44px;min-width:44px!important}.topbar .project-picker{max-width:90px}.topbar>.row{gap:5px}}
#script-inline-editor{padding:24px}
#script-inline-editor textarea{font-size:16px;line-height:1.65;min-height:130px}
#script-inline-editor #body{min-height:260px}
#script-save-state.error{color:var(--danger)}
@media(max-width:650px){#script-inline-editor{padding:18px}}
/* Composition matched to the approved light dashboard; all numbers come from API. */
@font-face{font-family:Caveat;src:url('/assets/brand/caveat.woff2') format('woff2');font-weight:400 700;font-display:swap}
body{background:radial-gradient(ellipse at 73% 0%,#d9e5ff 0,transparent 42%),radial-gradient(ellipse at 42% 39%,#eeceff69 0,transparent 30%),radial-gradient(ellipse at 3% 94%,#e9ceff70 0,transparent 25%),var(--bg)}
:root[data-theme=dark] body{background:radial-gradient(ellipse at 72% 0%,#49345a50,transparent 40%),var(--bg)}
.sidebar{inset-block:10px 18px;inset-inline:15px auto;width:calc(var(--rh-sidebar) - 22px);height:calc(100dvh - 28px);padding:18px 13px;border:1px solid #ffffffc9;border-radius:25px;background:var(--dash-glass);box-shadow:var(--dash-shadow);backdrop-filter:blur(24px)}
.brand-row{margin-bottom:20px;gap:4px}
.sidebar .brand{display:flex;align-items:center;gap:10px;font-size:19px;line-height:1.2;letter-spacing:-.5px}
.sidebar .brand img{width:43px;height:47px;filter:drop-shadow(0 3px 7px #a99aff65)}
.sidebar .brand span{display:grid;gap:4px}
.sidebar .brand strong{font-weight:780;white-space:nowrap}
.sidebar .brand small{font-size:10px;font-weight:400;color:var(--muted);letter-spacing:0}
.sidebar-project{margin-bottom:12px}
.sidebar-project label{display:block;color:var(--muted);font-size:12px;margin:0 7px 7px}
.sidebar-project>div{display:flex;align-items:center;gap:8px;background:var(--dash-glass);padding:6px 9px;border:1px solid #ffffffd9;border-radius:14px;box-shadow:0 3px 10px #9bacee28}
.project-monogram{display:grid;place-items:center;background:linear-gradient(#292d35,#050609);border:1px solid #85889b;box-shadow:0 2px 6px #0003;color:#fff;border-radius:7px;width:27px;height:27px;font-size:19px;flex:none}
.sidebar-project select{padding:3px 1px;background:transparent;border:0;min-height:30px;width:100%;font-size:13px;font-weight:650;box-shadow:none}
.sidebar nav{gap:3px}
.sidebar nav .nav-link{min-height:39px;padding:8px 12px;gap:14px;border-radius:12px;font-size:13px;font-weight:480;color:var(--text)}
.sidebar .nav-link .icon{width:21px;height:21px;stroke-width:1.8}
.sidebar .nav-link.active{color:#fff;background:var(--rh-gradient);border-color:#ffffff70;box-shadow:0 0 14px #d07ffc5c,inset 0 1px 3px #ffffffa8;text-shadow:0 1px 1px #8936b070}
.nav-footer{margin-top:auto;padding-top:25px;gap:11px}
.sidebar-plan{display:flex;align-items:center;gap:12px;padding:10px 12px;min-height:72px;border:1px solid #ffffffda;border-radius:16px;background:var(--dash-glass);box-shadow:var(--dash-shadow)}
.sidebar-plan>img{width:38px;height:42px;filter:drop-shadow(0 3px 7px #9277ff70)}
.sidebar-plan>span{display:grid;gap:3px;flex:1}
.sidebar-plan small{color:var(--muted);font-size:11px}
.sidebar-plan strong{font-size:16px}
.sidebar-plan>.icon{width:15px}
.sidebar-user{padding:11px 9px;border:1px solid #ffffffd9;border-radius:16px;gap:8px;background:var(--dash-glass);box-shadow:var(--dash-shadow)}
.sidebar-user .avatar{width:36px;height:36px;font-size:13px;background:linear-gradient(145deg,#779bff,#ecc6ff);color:#142264}
.sidebar-username{display:grid;gap:4px;min-width:0}
.sidebar-username strong{font-size:12px}
.sidebar-username small{font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}
.sidebar-user #logout{width:28px;min-width:28px;padding:3px}
.sidebar-version{color:var(--muted);font-size:11px;margin:0 7px}
.sidebar-note{position:relative;padding:15px 23px 7px;font:23px/1.05 Caveat,cursive;transform:rotate(-9deg);color:#9292f8;max-width:220px}
.sidebar-note>span{font-size:32px;vertical-align:middle;margin-left:8px}
.workspace{margin-inline-start:var(--rh-sidebar)}
.topbar{height:68px;background:transparent;border:0;box-shadow:none;backdrop-filter:none;padding:13px 25px 8px 15px;gap:18px}
.topbar>.row:not(:has(.mobile-toggle:not([hidden]))){display:none}
.topbar>.row{flex:0}
.topbar>.row:has(.mobile-toggle){display:none}
.header-search{display:flex;flex:1;min-width:140px;max-width:none;height:43px;border:1px solid #ffffffed;border-radius:24px;background:var(--dash-glass);box-shadow:0 3px 10px #92a8fa22;padding:0 14px;gap:10px}
.header-search input{font-size:13px;padding:0}
.header-search .icon{width:21px}
.search-submit{font-size:12px;min-width:39px;min-height:27px;height:27px;border-radius:8px;background:#ece8ff;color:var(--muted)}
.top-actions{gap:14px}
.lang-button{height:43px;min-height:43px;border:1px solid #ffffffc9;border-radius:23px;background:var(--dash-glass);box-shadow:var(--dash-shadow);font-size:13px;padding:9px 14px;gap:8px}
.lang-button:after{content:'⌄';font-size:16px;margin-left:2px}
.lang-menu{width:230px;max-height:480px;overflow:auto;padding:8px;border-radius:17px;background:var(--solid);border:1px solid var(--line);box-shadow:0 8px 30px #6477b733}
.theme-pair{height:43px;display:flex;align-items:center;gap:4px;border-radius:24px;padding:5px;border:1px solid #ffffffc9;background:var(--dash-glass);box-shadow:var(--dash-shadow)}
.theme-pair>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#a33bff;background:#eee3ff}
.theme-pair>span:first-child{color:#ff941c;background:#fff6e7}
.theme-pair .icon{width:19px;height:19px}
:root[data-theme=dark] .theme-pair>span:first-child{background:transparent;opacity:.5}
:root[data-theme=dark] .theme-pair>span:last-child{background:#554184}
.top-actions>a.icon-only{background:var(--dash-glass);border:1px solid #fff9;border-radius:18px;width:43px;height:43px;min-height:43px;position:relative}
.header-create{height:43px;min-height:43px!important;white-space:nowrap;border-radius:18px!important;padding:9px 17px!important;gap:9px}
.btn.primary{color:#fff;background:var(--rh-gradient);text-shadow:0 1px 2px #77358b66;box-shadow:0 4px 12px #c777f554,inset 0 1px 3px #ffffff91;border:1px solid #ffffff91}
.btn.primary:hover{background:var(--rh-gradient);box-shadow:0 6px 17px #bd74ff70}
.content{padding:0 25px 22px 15px}
.content>.page{max-width:none}
.dash-title{display:flex;align-items:center;min-height:74px;position:relative;gap:14px}
.dash-title h1{font-size:36px;font-weight:800;letter-spacing:-1.2px}
.dash-title p{font-size:16px;color:var(--muted);margin:4px 0 0}
.dash-handwritten{font:24px/1 Caveat,cursive;color:#9794f3;max-width:205px;transform:rotate(-8deg);margin-inline-start:auto;margin-inline-end:50px;text-align:center;position:relative;z-index:1}
.dash-handwritten>span{font-size:38px;position:absolute;right:-24px;top:0}
.dash-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:11px}
.dash-stat{position:relative;display:flex;align-items:flex-start;gap:12px;padding:12px 13px 34px;border:1px solid #fff;border-radius:14px;background:var(--dash-glass);box-shadow:var(--dash-shadow);min-height:97px;color:var(--text)}
.stat-symbol{display:grid;place-items:center;width:34px;height:35px;border-radius:10px;background:color-mix(in srgb,currentColor 9%,transparent);flex:none}
.stat-symbol .icon{width:27px;height:27px}
.dash-stat>div{min-width:0}
.stat-label{display:block;font-size:11px;line-height:1.3;font-weight:620;margin-bottom:3px}
.dash-stat strong{font-size:25px;line-height:1.2;letter-spacing:-.4px}
.dash-stat small{font-size:12px;margin-left:8px;font-weight:650}
.blue{--metric-color:var(--dash-blue)}
.purple{--metric-color:var(--dash-purple)}
.pink{--metric-color:var(--dash-pink)}
.green{--metric-color:var(--dash-green)}
.stat-symbol,.section-symbol{color:var(--metric-color,var(--dash-blue))}
.dash-spark{position:absolute;width:calc(100% - 22px);height:29px;left:11px;bottom:6px;color:var(--metric-color)}
.dash-spark-empty{height:20px}
.positive{color:#00b54c}
.negative{color:#f53a68}
.neutral{color:#d37414}
.unknown{color:var(--muted)}
.dash-section{padding:9px 10px 10px;border:1px solid #fffffff0;border-radius:19px;background:var(--dash-glass);box-shadow:var(--dash-shadow);margin-bottom:10px;min-width:0}
.dash-section-heading{display:flex;align-items:center;gap:9px;padding:0 2px 8px;min-height:43px}
.section-symbol{display:grid;place-items:center;flex:none}
.section-symbol>.icon{width:28px;height:28px}
.dash-section-heading h2{font-size:20px;line-height:1.25;letter-spacing:-.5px;font-weight:770}
.dash-section-heading p{font-size:12px;color:var(--muted);margin:2px 0 0}
.dash-date{margin-inline-start:auto;display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);border-radius:14px;padding:8px 12px;background:var(--dash-glass);border:1px solid #fff;white-space:nowrap}
.dash-date>.icon{width:16px;height:16px}
.dash-platform-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dash-platform{padding:10px 11px 11px;border:1px solid #fff;border-radius:16px;background:linear-gradient(135deg,#fff9,#f1f1ff80);box-shadow:0 3px 10px #acaceb16;min-width:0}
.dash-platform>header{display:flex;align-items:center;gap:10px;margin-bottom:8px;min-height:32px}
.dash-platform>header>.platform-icon{width:33px;height:33px}
.dash-platform h3{font-size:16px;font-weight:760;line-height:1.2}
.connection-state{margin-inline-start:auto;white-space:nowrap;display:flex;align-items:center;gap:5px;border-radius:20px;padding:5px 9px;font-size:10px}
.connection-state:before{content:'';width:8px;height:8px;background:currentColor;border-radius:50%}
.connected{color:#00b742;background:#dff9ed}
.disconnected{color:#ed244d;background:#ffe9f1}
.platform-open{display:grid;place-items:center;margin-inline-start:auto;flex:none}
.platform-open .icon{width:17px;height:17px}
.dash-platform-body{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);gap:8px}
.dash-metrics{display:grid;gap:4px}
.dash-metric{display:flex;gap:7px;align-items:center;min-width:0}
.metric-symbol{display:grid;place-items:center;flex:none;width:39px;height:36px;border-radius:11px;background:#e7efff;color:#1467ff}
.metric-symbol .icon{width:23px;height:23px}
.dash-metric>div{display:grid;min-height:36px;align-content:center;border-radius:9px;padding:2px 9px;background:#e2f0f480;flex:1;min-width:0}
.dash-metric strong{font-size:16px;line-height:1.08;font-weight:660}
.dash-metric>div>span{font-size:11px;line-height:1.3;color:var(--muted)}
.metric-likes .metric-symbol{color:#ff304a;background:#fff0f4}
.metric-comments .metric-symbol{color:#3576ff;background:#eaf0ff}
.metric-saves .metric-symbol{color:#2383ff;background:#edf1ff}
.tiktok .metric-followers .metric-symbol{color:#00c353;background:#e7fff0}
.tiktok .metric-views .metric-symbol{color:#13a6c0;background:#e3f9fe}
.tiktok .metric-comments .metric-symbol{color:#ff8a18;background:#fff1e6}
.tiktok .metric-saves .metric-symbol{color:#ff3583;background:#ffedf6}
.youtube .metric-symbol{color:#a833ff;background:#f1e7ff}
.dash-platform-art{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}
.glass-social{display:block;width:128px;height:130px;flex:none;background-image:url('/assets/brand/glass-social.webp');background-size:300% 100%;background-repeat:no-repeat}
.glass-social.instagram{background-position:0% 50%;clip-path:polygon(22% 37%,26% 32%,32% 28%,65% 17%,71% 18%,76% 23%,79% 30%,87% 58%,87% 64%,83% 69%,77% 73%,40% 84%,34% 83%,30% 80%,26% 73%,22% 47%)}
.glass-social.tiktok{background-position:50% 50%;clip-path:polygon(20% 37%,23% 30%,33% 24%,63% 17%,69% 18%,74% 22%,78% 31%,84% 62%,83% 68%,78% 74%,41% 83%,33% 82%,28% 77%,25% 69%)}
.glass-social.youtube{background-position:100% 50%;clip-path:polygon(15% 40%,18% 34%,26% 30%,65% 24%,71% 25%,76% 29%,79% 36%,83% 58%,82% 63%,78% 67%,70% 70%,30% 76%,25% 75%,21% 71%,18% 65%)}
.dash-platform-art p{font-size:12px;line-height:1.45;text-align:center;color:var(--muted);margin:0 0 8px;max-width:155px}
.dash-platform-art .btn{font-size:12px;min-height:38px;padding:7px 14px;width:100%;border-radius:15px;white-space:normal;text-align:center}
.dash-comparison{background:var(--dash-glass);box-shadow:var(--dash-shadow);border:1px solid #fff;border-radius:15px;width:100%;padding:9px 10px;line-height:1.4}
.dash-comparison strong{font-size:17px;display:block}
.dash-comparison span{font-size:11px;color:var(--muted)}
.dash-chart-controls{display:flex;gap:8px;align-items:center;margin-inline-start:auto}
.dash-chart-controls select{font-size:11px;min-height:32px;padding:5px 8px;border-radius:12px;max-width:106px}
.dash-periods{display:flex;background:var(--dash-glass);border:1px solid #fff;border-radius:18px;padding:3px;box-shadow:var(--dash-shadow)}
.dash-periods button{background:transparent;border:0;border-radius:16px;color:var(--muted);padding:6px 16px;font-size:11px;min-height:28px;white-space:nowrap}
.dash-periods button[aria-pressed=true]{background:linear-gradient(100deg,#eee0ff,#cdddff);color:#741cff;box-shadow:0 3px 10px #abb9ff46}
.dash-chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dash-chart-panel{background:var(--dash-glass);border:1px solid #fff;border-radius:14px;padding:6px 8px;color:var(--metric-color)}
.dash-chart-panel>header{display:flex;align-items:center;gap:6px;color:var(--text)}
.dash-chart-panel h3{font-size:11px;font-weight:680;flex:1;line-height:1.25}
.dash-chart-panel>header>strong{font-size:12px;white-space:nowrap;border-radius:9px;padding:4px 6px;color:var(--metric-color);background:color-mix(in srgb,var(--metric-color) 7%,transparent)}
.dash-chart-panel .metric-symbol{width:29px;height:29px;color:var(--metric-color);background:color-mix(in srgb,var(--metric-color) 8%,transparent)}
.dash-chart-panel .icon{width:21px;height:21px}
.dash-chart{width:100%;min-width:0;height:108px}
.dash-chart svg{display:block;width:100%;height:108px;overflow:visible}
.dash-chart text{font-family:Onest,sans-serif;font-size:10px;fill:var(--muted)}
.dash-chart text.chart-value{font-weight:700;fill:var(--text)}
.dash-chart-grid{stroke:var(--line);stroke-width:.7}
.dash-chart-empty{display:grid;place-items:center;height:108px;font-size:12px;color:var(--muted);text-align:center;padding:15px}
.dash-lower-grid{display:grid;grid-template-columns:1.35fr 1fr 1.2fr 1.1fr;gap:8px;margin-bottom:10px}
.dash-mini{padding:9px 10px 8px;border:1px solid #fff;border-radius:15px;background:var(--dash-glass);box-shadow:var(--dash-shadow);min-width:0}
.dash-mini>header{display:flex;align-items:center;gap:7px;margin-bottom:8px;min-height:18px}
.dash-mini>header>.icon{width:18px;height:18px;color:#765aff}
.dash-mini h3{font-size:12px;font-weight:740;flex:1;line-height:1.15}
.dash-mini>header>a>.icon{width:14px;height:14px;color:#953aff}
.dash-source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.dash-source{display:grid;gap:6px;min-width:0;background:var(--dash-glass);border:1px solid #fff;border-radius:12px;padding:7px 8px}
.dash-source>div{display:flex;align-items:center;gap:5px;justify-content:space-between}
.dash-source .platform-icon{width:23px;height:23px}
.dash-source strong{font-size:10px}
.dash-source span,.dash-source small{font-size:10px;white-space:nowrap}
.source-status{width:27px;height:14px;border-radius:9px;background:#d2d9ef;display:block;flex:none;position:relative}
.source-status:after{content:'';position:absolute;left:2px;top:2px;width:10px;height:10px;background:#fff;border-radius:50%}
.source-status.enabled{background:#04c8a0}
.source-status.enabled:after{left:auto;right:2px}
.dash-library-row{display:flex;align-items:center;gap:7px;padding:4px 0;font-size:11px}
.dash-library-row>.icon{width:16px;height:16px;color:#3973ff}
.dash-library-row>span{flex:1}
.dash-library-row>strong{padding:0 6px;border-radius:8px;background:#eaf0ff;color:#1a2059}
.dash-usage{display:grid;gap:9px;padding-top:5px}
.dash-usage-row{display:flex;gap:5px;align-items:center;font-size:10px;white-space:nowrap}
.dash-usage-row>span{width:42%;overflow:hidden;text-overflow:ellipsis}
.dash-usage-row progress{flex:1;width:20%;height:6px}
.dash-usage-row small{font-size:10px;color:var(--muted)}
.dash-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.dash-quick{display:flex;align-items:center;gap:7px;padding:8px 7px;border:1px solid #fff;border-radius:13px;background:var(--dash-glass);min-width:0;font-size:10px;line-height:1.25}
.dash-quick .icon{width:27px;height:27px;flex:none;color:#3b63ff}
.dash-quick:nth-child(2) .icon{color:#a12bff}
.dash-quick:nth-child(3) .icon{color:#ff742c}
.dash-quick:nth-child(4) .icon{color:#00bf68}
.dash-recent .dash-section-heading>div{display:flex;align-items:baseline;gap:16px}
.dash-recent .dash-section-heading h2{font-size:18px}
.dash-history-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.dash-history-item{display:flex;gap:6px;background:var(--dash-glass);border:1px solid #fff;border-radius:13px;padding:8px 9px;min-width:0}
.dash-history-item>.metric-symbol{width:28px;height:28px}
.dash-history-item>.metric-symbol .icon{width:22px;height:22px}
.dash-history-item>div{min-width:0;display:flex;flex-wrap:wrap;gap:4px;align-items:center}
.dash-history-item strong,.history-description,.history-time,.history-open{display:block;max-width:100%;font-size:10px;line-height:1.35}
.dash-history-item strong{font-weight:620}
.history-description{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.history-time{color:var(--muted);font-size:9px}
.dash-history-item .badge{font-size:8px;padding:3px 5px;min-height:0}
.history-open{color:#9c31ff;width:100%;margin-top:2px}
.glass-heart{pointer-events:none;position:absolute;z-index:2;width:130px;clip-path:polygon(21% 45%,22% 39%,25% 34%,31% 31%,38% 31%,43% 34%,48% 37%,51% 32%,54% 26%,59% 22%,65% 21%,71% 23%,77% 29%,81% 37%,82% 44%,81% 51%,78% 58%,73% 65%,68% 72%,64% 76%,61% 77%,57% 76%,51% 73%,44% 70%,37% 66%,31% 62%,26% 56%,23% 50%)}
.heart-heading{right:-45px;top:-17px;width:162px;transform:rotate(-17deg)}
.heart-sidebar{right:-64px;top:320px;width:120px;transform:rotate(18deg)}
.heart-footer{right:-52px;top:-65px;width:125px;transform:rotate(-15deg)}
:root[data-theme=dark] .dash-platform{background:linear-gradient(135deg,#293653,#202944)}
:root[data-theme=dark] .dash-metric>div{background:#243f4b80}
:root[data-theme=dark] .metric-symbol{background:#29436b}
:root[data-theme=dark] .dash-section,:root[data-theme=dark] .dash-stat,:root[data-theme=dark] .dash-platform,:root[data-theme=dark] .dash-chart-panel,:root[data-theme=dark] .dash-mini,:root[data-theme=dark] .dash-source,:root[data-theme=dark] .dash-history-item,:root[data-theme=dark] .sidebar{border-color:#ffffff20}
:root[data-theme=dark] .positive{color:#5be5a2}
:root[data-theme=dark] .dash-library-row>strong{background:#313a63;color:#e9edff}
@media(min-width:1780px){.content{max-width:1680px;margin-inline:auto}}
@media(max-width:1250px){:root{--rh-sidebar:222px}.sidebar{padding:16px 10px}.sidebar .brand{font-size:17px;gap:5px}.sidebar .brand img{width:34px}.sidebar .brand small{font-size:9px}.sidebar nav .nav-link{font-size:11px;gap:10px;padding-inline:9px}.topbar{gap:9px;padding-right:16px}.top-actions{gap:7px}.header-create{font-size:11px;padding-inline:12px!important}.content{padding-right:16px}.dash-platform{padding:9px}.dash-platform h3{font-size:13px}.dash-platform>header{gap:6px}.dash-platform>header>.platform-icon{width:27px;height:27px}.connection-state{font-size:9px;padding:4px 6px;gap:4px}.platform-open .icon{width:13px}.dash-platform-body{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:4px}.glass-social{width:108px;height:112px}.dash-metric .metric-symbol{width:28px}.dash-metric>div{padding-inline:6px}.dash-metric strong{font-size:14px}.dash-metric>div>span{font-size:10px}.dash-stat{gap:7px;padding-inline:9px}.stat-symbol{width:27px}.stat-symbol .icon{width:24px;height:24px}.stat-label{font-size:10px}.dash-stat strong{font-size:23px}.dash-stat small{font-size:10px;margin-left:3px}.dash-section-heading h2{font-size:19px}.dash-periods button{padding-inline:11px}.dash-mini{padding-inline:7px}.dash-source{padding:6px 5px}.dash-source-grid{gap:4px}.source-status{width:22px}.dash-quick{padding:7px 4px;gap:4px}.dash-quick .icon{width:21px}.dash-usage-row{flex-wrap:wrap;row-gap:2px}.dash-usage-row>span{width:51%}.dash-usage-row progress{width:30%}.dash-usage-row small{margin-inline-start:auto}.dash-handwritten{font-size:23px;max-width:170px}.dash-history-item{padding:7px 6px}.dash-history-item>.metric-symbol{width:23px}.dash-history-item>.metric-symbol>.icon{width:20px}.sidebar-note{font-size:22px;padding-inline:17px}.sidebar-user{padding:9px 6px}}
@media(max-width:1050px){:root{--rh-sidebar:205px}.sidebar{inset-inline:9px auto;width:calc(var(--rh-sidebar) - 16px)}.topbar{padding-left:9px;gap:8px}.content{padding-left:9px}.top-actions{gap:7px}.theme-pair{gap:0;padding:4px}.theme-pair>span{width:25px}.lang-button{padding-inline:10px;font-size:11px}.header-search{padding-inline:10px}.header-search input{font-size:11px}.search-submit{display:none}.dash-title h1{font-size:32px}.dash-title p{font-size:14px}.dash-title{min-height:71px}.dash-platform-grid{gap:6px}.dash-platform>header{flex-wrap:wrap;column-gap:6px;row-gap:3px}.connection-state{order:3;margin-left:34px;margin-top:-6px}.platform-open{order:2}.dash-platform-body{margin-top:7px}.dash-metric strong{font-size:14px}.dash-platform-art p{font-size:10px}.dash-comparison strong{font-size:15px}.dash-comparison span{font-size:10px}.glass-social{width:96px;height:106px}.dash-stats{gap:7px}.stat-symbol{width:25px}.stat-label{font-size:10px}.dash-stat strong{font-size:22px}.dash-stat small{font-size:10px;display:block;margin-left:0}.dash-stat{min-height:106px}.dash-chart-controls{gap:5px}.dash-chart-controls select{max-width:86px;font-size:10px}.dash-periods button{padding:6px 9px;font-size:10px}.dash-lower-grid{grid-template-columns:1.25fr 1fr 1fr 1fr;gap:6px}.dash-mini h3{font-size:11px}.dash-source span,.dash-source small{font-size:9px}.dash-source>div{gap:3px}.dash-source .platform-icon{width:19px;height:19px}.source-status{width:20px}.dash-quick{font-size:9px}.dash-history-list{gap:5px}.dash-recent .dash-section-heading p{font-size:11px}}
@media(max-width:900px){:root{--rh-sidebar:0px}.sidebar{inset-inline:0 auto;top:8px;bottom:8px;width:250px;max-height:calc(100dvh - 16px);height:calc(100dvh - 16px);overflow:auto}.sidebar nav .nav-link{font-size:13px;min-height:41px}.sidebar .brand{font-size:20px}.sidebar .brand small{font-size:11px}.sidebar .brand img{width:39px}.topbar>.row:has(.mobile-toggle){display:flex}.workspace{margin-inline-start:0}.content{padding:0 12px 20px}.topbar{padding:10px 12px;height:65px}.header-create{font-size:12px}.sidebar-note{display:none}.dash-handwritten{font-size:25px}.dash-title h1{font-size:33px}.dash-title p{font-size:14px}.dash-platform>header{flex-wrap:nowrap}.connection-state{order:0;margin:0 0 0 auto}.platform-open{order:0}.dash-platform h3{font-size:14px}}
@media(max-width:700px){.header-search{display:none}.topbar{justify-content:space-between}.top-actions{gap:9px}.dash-platform-grid,.dash-chart-grid{grid-template-columns:1fr}.dash-platform{padding:13px}.dash-platform h3{font-size:17px}.dash-platform-body{grid-template-columns:1.5fr 1fr;gap:12px}.dash-metric strong{font-size:17px}.dash-metric>div>span{font-size:12px}.dash-metric .metric-symbol{width:40px}.glass-social{width:148px;height:143px}.dash-platform-art p{font-size:13px}.dash-platform-art .btn{font-size:13px}.dash-comparison span{font-size:12px}.dash-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dash-stat:last-child{grid-column:1/-1}.dash-stat{min-height:95px;gap:12px;padding:10px 14px 35px}.dash-stat small{display:inline-block;margin-left:8px}.stat-label{font-size:12px}.stat-symbol{width:33px}.dash-lower-grid{grid-template-columns:1fr 1fr;gap:9px}.dash-mini{padding:12px}.dash-mini h3{font-size:13px}.dash-source strong,.dash-source span,.dash-source small{font-size:10px}.dash-quick{font-size:12px;min-height:44px}.dash-usage-row,.dash-usage-row small{font-size:11px}.dash-history-list{grid-template-columns:1fr 1fr}.dash-history-item strong,.history-description,.history-open{font-size:12px}.history-time{font-size:11px}.dash-history-item .badge{font-size:10px}.dash-history-item{padding:12px;gap:8px}.dash-history-item>.metric-symbol{width:32px}.dash-title{min-height:100px}.dash-handwritten{display:none}.heart-heading{width:150px;right:-43px;top:-13px}.dash-title p{font-size:13px;max-width:270px}.dash-chart-controls{flex-wrap:wrap;justify-content:flex-end}.dash-periods button{font-size:11px}.dash-section-heading h2{font-size:19px}.dash-section-heading p{font-size:11px}.dash-chart-panel h3{font-size:13px}.dash-chart text{font-size:11px}.dash-date{display:none}.dash-recent .dash-section-heading p{display:none}.dash-trends .dash-section-heading{flex-wrap:wrap}.dash-chart-controls{margin-left:0;width:100%;justify-content:space-between}.dash-periods{flex:1;justify-content:space-between}}
@media(max-width:400px){.header-create{width:44px;padding:8px!important;justify-content:center}.header-create>span{display:none}.lang-button .language-name{display:inline;max-width:78px}.dash-lower-grid,.dash-history-list{grid-template-columns:1fr}.dash-mini h3{font-size:14px}.dash-quick{font-size:12px}.dash-source span,.dash-source small{font-size:11px}.dash-usage-row{flex-wrap:nowrap}.dash-usage-row>span{width:45%}.dash-platform-art p{font-size:12px}.glass-social{width:130px;height:132px}.dash-title h1{font-size:31px}.top-actions{gap:6px}.theme-pair>span{width:24px}}
@media(prefers-reduced-motion:reduce){.glass-heart{animation:none}}
:root[dir=rtl] .sidebar-note,:root[dir=rtl] .dash-handwritten{font-family:inherit;font-size:18px;transform:none}
:root[dir=rtl] .heart-heading{right:auto;left:-45px}
:root[dir=rtl] .heart-sidebar{right:auto;left:-64px}
:root[dir=rtl] .connection-state{margin-inline-start:auto}
:root[dir=rtl] .lang-menu{text-align:right}
/* Shared surfaces and controls. Interaction sizes are never reduced below 44px. */
html{scrollbar-gutter:stable}
body{font:14px/1.45 Onest,system-ui,sans-serif;background:var(--bg)}
body:before{inset:0;background:url('/assets/brand/aurora-rescue.webp') right top/cover no-repeat;opacity:.42}
body[data-page]:before{background-size:100% auto}
:root[data-theme=dark] body{background:var(--bg)}
:root[data-theme=dark] body:before{background:radial-gradient(ellipse at 85% 10%,#2b256280,transparent 50%),radial-gradient(ellipse at 35% 60%,#0d526c55,transparent 65%);opacity:1}
h1{font-size:clamp(28px,2.6vw,44px);line-height:1.12;letter-spacing:-1.2px}
h2{font-size:20px;line-height:1.3}
h3{font-size:15px}
.card{padding:20px;border:1px solid color-mix(in srgb,var(--solid) 80%,var(--line));border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow);backdrop-filter:none}
.card.tint{background:linear-gradient(120deg,var(--panel),color-mix(in srgb,var(--teal-soft) 45%,var(--panel)))}
.card.pink{background:linear-gradient(120deg,var(--panel),color-mix(in srgb,var(--pink) 7%,var(--panel)))}
.stack{gap:16px}
.grid{gap:16px}
.page-heading{margin-bottom:18px;min-height:74px;position:relative}
.page-heading p{margin-top:5px;font-size:15px;max-width:900px}
.page{animation:page-in var(--motion-page) var(--ease) both}
.content{padding:6px 20px 28px 16px;max-width:none}
.small{font-size:13px}
.vertical-space{height:14px}
.actions{margin-top:16px;gap:10px}
.card-header{margin-bottom:12px}
.mini-icon{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#d7f7ff,#f6e4ff);color:#6757d8}
.mini-icon>.icon{width:25px;height:25px}
.card:nth-child(3n) .mini-icon{color:var(--purple)}
input,select,textarea{min-height:44px;padding:10px 13px;font-size:14px;border-radius:var(--radius-control);background:color-mix(in srgb,var(--solid) 76%,transparent)}
textarea{min-height:92px}
input:focus,select:focus,textarea:focus{border-color:var(--purple);box-shadow:0 0 0 3px color-mix(in srgb,var(--purple) 14%,transparent)}
label{font-size:13px;margin-bottom:7px}
.field .help{font-size:12px;line-height:1.5}
.btn,.btn.compact,.btn.ghost,.tab,.lang-button,.theme-pair,.search-submit{min-height:44px}
.btn{padding:9px 16px;font-size:14px;border-radius:var(--radius-control);transition:transform var(--motion-fast) var(--ease),box-shadow var(--motion-fast),background-color var(--motion-fast),opacity var(--motion-fast);background:var(--panel);border:1px solid var(--line);box-shadow:0 2px 6px #819ada12}
.btn.icon-only{width:44px;min-width:44px;padding:10px}
.btn.primary{background:var(--rh-gradient);color:#202155;text-shadow:0 1px 0 #ffffff50;border-color:#ffffffa8;box-shadow:0 4px 14px #b486ea40,inset 0 1px 1px #ffffffc0;font-weight:700}
.btn:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 5px 14px #988bcb30}
.btn:not(:disabled):active{transform:translateY(0) scale(.985)}
.btn:disabled{cursor:not-allowed;opacity:.48;transform:none;box-shadow:none}
.btn.ghost{box-shadow:none}
.btn .button-arrow{margin-inline-start:auto}
.check,.switch{min-height:44px;margin:0;align-items:center;display:flex;gap:10px;cursor:pointer}
.check input{width:18px;height:18px;min-height:18px;accent-color:var(--purple);flex:none}
.switch input{width:44px;height:44px;min-height:44px}
.switch .track{width:34px;height:20px;flex:none}
.switch .track:after{width:16px;height:16px;top:2px}
.switch input:checked+.track:after{transform:translateX(14px)}
.badge{font-size:12px;border-radius:8px;padding:4px 9px}
.tabs{padding:4px;border:1px solid var(--line);border-radius:14px;overflow-x:auto;flex-wrap:nowrap;margin-bottom:16px;max-width:100%}
.tab{white-space:nowrap;flex:none;padding:9px 16px;border-radius:10px;transition:background var(--motion-fast)}
.tab.active{background:var(--rh-gradient);color:#292153;box-shadow:0 3px 8px #a391d025}
.empty{min-height:145px;padding:24px;gap:10px}
.empty h3{font-size:16px}
.empty p{font-size:13px;max-width:430px;margin-inline:auto}
.empty>.icon{width:32px;height:32px}
.lang-menu{width:230px;max-height:min(520px,70dvh);background:var(--solid);padding:7px;animation:popover-in var(--motion-fast) var(--ease);box-shadow:0 14px 40px #35407030}
.lang-menu button{min-height:44px;padding:10px 12px;font-size:14px}
.lang-menu button.selected{background:var(--muted-panel);color:var(--accent)}
.theme-pair{background:var(--panel);border-color:var(--line)}
:root[data-theme=dark] .mini-icon{background:linear-gradient(135deg,#193e59,#373053);color:#83dcff}
:root[data-theme=dark] .btn.primary{color:#172241;text-shadow:none}
dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid var(--line);border-radius:24px;background:var(--solid);color:var(--text);box-shadow:0 24px 90px #0c164540;overflow:auto}
dialog[open]{animation:popover-in var(--motion-page) var(--ease)}
dialog::backdrop{background:#17244366;backdrop-filter:blur(5px)}
.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:16px}
.toast{animation:popover-in var(--motion-fast) var(--ease);max-width:calc(100vw - 24px)}
#toasts{inset-inline:12px;bottom:max(16px,env(safe-area-inset-bottom));max-width:450px;margin-inline-start:auto;pointer-events:none}
.report-value{overflow-wrap:anywhere}
.table-wrap{max-width:100%;overflow:auto}
.table-wrap td{font-size:13px;padding:12px}
.table-wrap th{font-size:12px}
progress{margin:10px 0;height:7px}
.history-row{border:1px solid var(--line);border-radius:12px;padding:10px 12px!important;margin-top:6px;background:var(--panel)}
.history-row h3{font-size:14px}
.history-row .date{font-size:12px}
.history-card .card-header{margin:0 0 10px}
.history-card .history-row .mini-icon{width:36px;height:36px}
/* Persistent shell */
.sidebar nav .nav-link{min-height:40px;padding:8px 12px;font-size:14px;gap:14px}
.sidebar nav{gap:1px}
.sidebar .nav-link.active{background:var(--rh-gradient);color:#362161;text-shadow:none}
.sidebar .brand{font-size:19px}
.brand-row{margin-bottom:16px}
.sidebar-project{margin-bottom:12px}
.sidebar-project select{min-height:36px}
.sidebar .sidebar-user #logout{width:36px;min-width:36px;min-height:36px}
.sidebar-user{gap:8px}
.sidebar-username{flex:1}
.sidebar-username strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar-note{padding-top:9px;padding-bottom:0;line-height:1.1}
.nav-footer{padding-top:18px;gap:10px}
.topbar{padding:10px 20px 8px 16px;gap:16px;height:var(--rh-header)}
.header-search{height:44px;min-width:0}
.header-search input{font-size:13px;min-height:42px}
.header-create{font-size:13px}
.top-actions{gap:12px}
.sidebar{overflow:visible}
.sidebar nav{overflow:visible}
.glass-heart{display:none}
.sidebar-version{font-size:11px}
.sidebar-plan{min-height:68px}
.sidebar-note{font-size:25px}
.topbar .lang-button{font-size:13px}
.header-search .search-submit{display:block}
.sidebar .brand small{font-size:10px}
/* Dashboard geometry */
.dash-stat{min-height:99px}
.dash-stat strong{font-size:27px}
.dash-stat small{font-size:12px;margin-inline-start:9px}
.stat-label{font-size:12px}
.dash-title{min-height:73px}
.dash-title h1{font-size:36px}
.dash-title p{font-size:16px}
.dash-platform{padding:10px 11px}
.dash-platform>header{height:33px}
.dash-platform-body{height:197px}
.dash-metrics{gap:5px}
.dash-metric>div{padding:2px 9px;min-height:36px}
.dash-metric .metric-symbol{height:36px}
.dash-metric strong{font-size:17px}
.dash-metric>div>span{font-size:12px}
.dash-platform-art{gap:0}
.glass-social{width:145px;height:123px}
.dash-comparison{padding:7px 10px}
.dash-comparison strong{font-size:17px}
.dash-comparison span{font-size:11px}
.connection-state{font-size:11px}
.dash-chart{height:102px}
.dash-chart svg{height:102px}
.dash-chart text{fill:var(--muted);font-size:11px;opacity:1}
.dash-chart-panel h3{font-size:12px}
.dash-periods button{min-height:36px;font-size:12px}
.dash-chart-controls select{min-height:36px}
.dash-mini{padding:10px 10px}
.dash-mini h3{font-size:13px}
.dash-usage{gap:10px;padding-top:3px}
.dash-usage-row progress{margin:0}
.dash-usage-row,.dash-usage-row small{font-size:11px}
.dash-source strong,.dash-source small,.dash-source span{font-size:11px}
.dash-quick{font-size:12px;min-height:44px}
.dash-library-row{font-size:12px}
.dash-history-item strong,.history-description,.history-open{font-size:11px}
.history-time{font-size:10px}
.dash-history-item .badge{font-size:9px}
.dash-section-heading p{font-size:12px}
.dash-date{font-size:12px}
body[data-page]:not([data-page=dashboard]) .sidebar-project>label{display:none}
/* Reference-specific page compositions */
.analysis-layout{grid-template-columns:minmax(0,1.85fr) minmax(360px,1fr);gap:16px;align-items:stretch}
.analysis-layout>.card{padding:20px}
.analysis-form{gap:18px;height:100%}
.analysis-form .mini-icon{width:54px;height:54px}
.analysis-benefits{gap:9px}
.analysis-benefit{padding:12px;gap:10px;background:var(--panel);border-color:transparent;min-height:74px;border-radius:14px}
.analysis-benefit strong{font-size:14px}
.analysis-benefit p{font-size:12px;line-height:1.4}
.analysis-benefit .mini-icon{width:42px;height:42px}
.analysis-page-eyebrow{color:var(--pink);font-size:13px;letter-spacing:.5px;margin-top:4px;margin-bottom:4px}
.analysis-page-eyebrow+.page-heading{margin-bottom:18px;min-height:100px;align-items:flex-start;padding-top:0;max-width:100%}
.analysis-page-eyebrow+.page-heading p{font-size:18px;max-width:770px;color:var(--muted)}
.page-note{font:29px/1.05 Caveat,cursive;color:var(--purple);transform:rotate(-9deg);max-width:245px;align-self:center;margin-inline-end:100px}
.analysis-primary{display:grid;gap:16px;min-width:0}
.analysis-primary .analysis-feature-strip{width:100%;margin:0}
.analysis-primary .analysis-form{height:auto}
.analysis-layout>.card{align-self:start}
.analysis-feature-strip{width:100%;gap:14px;margin-top:0}
.analysis-feature-strip h3{font-size:16px}
.analysis-feature-strip p{font-size:13px}
.analysis-history-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:16px}
.analysis-promo{display:flex;flex-direction:column;justify-content:space-between;gap:14px;background-image:linear-gradient(transparent,var(--panel)),url('/assets/brand/aurora-rescue.webp');background-size:cover}
.analysis-promo h3{font-size:20px}
.analysis-promo p{color:var(--muted)}
.analysis-promo .page-note{margin:16px 0;max-width:none}
.analysis-method-note{font-size:12px}
.analysis-progress-layout{gap:24px;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr)}
.analysis-progress-visual{min-height:360px;background:url('/assets/brand/reference/auth-hero.jpg') center top/contain no-repeat;justify-content:end;padding-top:210px;border-radius:18px}
.analysis-progress-visual .analysis-radar{display:none}
.progress-stage-list{gap:6px}
.progress-stage-list li{padding:10px 12px}
.progress-box .vertical-space{height:auto;min-height:28px}
.analysis-progress-visual h3{font-size:20px}
.feed-filters{padding:8px;border-radius:14px;gap:9px}
.feed-grid{gap:20px}
.feed-poster{border-radius:16px}
.feed-title{min-height:40px}
.feed-author{margin-bottom:9px}
.feed-metrics{font-size:13px}
.feed-side-actions{gap:6px}
.source-grid{gap:14px}
.source-entry{gap:10px}
.source-column .card-header .row{flex-wrap:nowrap;gap:8px}
.source-column .card-header h2{font-size:18px}
.source-column .count-pill{font-size:11px;white-space:nowrap}
.source-column .source-item{padding:12px 0;border-bottom:1px solid var(--line)}
.source-item .actions{margin:4px 0 0;gap:4px}
.source-item .btn{min-width:36px;min-height:36px;padding:7px}
.source-item .small{font-size:12px}
.source-column .source-title{flex-direction:row;gap:8px}
.source-column .source-title strong{font-size:14px}
.source-add-grid{display:grid;grid-template-columns:140px 130px minmax(180px,1fr) 210px 130px auto;gap:10px;align-items:end}
.source-add-grid>.field{margin:0}
.source-add-grid input,.source-add-grid select{height:44px}
.source-add-grid .btn{height:44px}
.source-search-panel{padding:16px}
body[data-page=notifications] .notification-settings{gap:24px}
body[data-page=notifications] .notification-settings>section{min-width:0}
body[data-page=notifications] .notification-settings>section+section{border-inline-start:1px solid var(--line);padding-inline-start:20px}
.notification-settings .stack{gap:8px}
.notification-settings .vertical-space{height:8px}
#notification-settings>.actions{justify-content:flex-end}
.notification{padding:13px 12px;border-radius:12px;margin-top:4px;background:var(--panel)}
.notification.unread{background:linear-gradient(100deg,color-mix(in srgb,var(--purple) 7%,var(--panel)),var(--panel))}
.notification h3{font-size:14px}
.notification .text{font-size:13px}
.notification .mini-icon{width:36px;height:36px}
.notification-toolbar{display:flex;align-items:center;gap:8px;margin:12px 0;flex-wrap:wrap}
.notification-toolbar .btn{font-size:12px;min-height:36px}
.notification-toolbar .active{background:var(--rh-gradient)}
body[data-page=usage] .usage-card{padding:14px 18px}
.usage-card .used{font-size:23px;margin:4px 0}
.usage-card .used small{font-size:13px}
.usage-card progress{margin:8px 0 0}
.ring-wrap{width:95px;height:95px}
.ring-label{font-size:22px}
.ring-label small{font-size:11px}
.plan-card{padding:20px}
.plan-card .plan-list{font-size:13px;gap:7px;margin:12px 0}
.plan-price{font-size:30px;margin:8px 0 0}
.token-card{padding:14px 18px}
.token-number{font-size:19px;margin:5px 0}
.token-card .price{font-size:17px}
.support-summary .card{padding:17px}
.support-summary h2{font-size:17px}
.support-counts{margin:12px 0 0;gap:12px}
.support-counts>div{padding:0;background:transparent}
.support-counts strong{font-size:26px}
.support-main .stack{gap:12px}
.support-main textarea{min-height:105px}
.faq-list{gap:6px;margin-top:12px}
.faq-list details{padding:10px 12px;border-color:var(--line);background:var(--panel)}
.faq-list summary{min-height:28px;font-size:14px}
.faq-list p{font-size:13px;line-height:1.5}
.support-bottom{display:grid;grid-template-columns:1.1fr 1fr;gap:16px}
.admin-tabs{gap:6px;margin-bottom:16px}
.admin-tabs .btn{min-height:38px;font-size:13px}
.admin-overview{grid-template-columns:repeat(5,minmax(0,1fr))}
.admin-overview .stat{padding:16px}
.admin-overview .value{font-size:30px}
.admin-chart-grid{display:grid;grid-template-columns:1fr 1fr .8fr;gap:16px}
.admin-chart-grid .chart{height:215px}
.admin-quick{display:grid;gap:7px;margin-top:12px}
.admin-quick a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:10px;background:var(--panel)}
.admin-quick .icon{color:var(--purple)}
body[data-page=settings] .page>.grid{max-width:1300px;min-height:515px}
body[data-page=settings] .page>.grid>.card{padding:26px}
body[data-page=settings] #user-settings{gap:22px}
.settings-side{background:url('/assets/brand/aurora-rescue.webp') right bottom/cover no-repeat}
@keyframes page-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes popover-in{from{opacity:0;transform:translateY(5px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-height:980px) and (min-width:901px){.sidebar nav .nav-link{min-height:38px;font-size:13px}.sidebar nav{gap:0}.nav-footer{padding-top:12px;gap:8px}.brand-row{margin-bottom:14px}.sidebar-project{margin-bottom:8px}.sidebar-note{display:none}.sidebar-plan{min-height:62px}.sidebar{padding-top:16px}}
@media(max-height:820px) and (min-width:901px){.sidebar{overflow:auto}.sidebar-version{display:none}.sidebar nav .nav-link{min-height:36px}.nav-footer{margin-top:12px}}
@media(max-width:1250px){:root{--rh-sidebar:224px}.sidebar .brand{font-size:18px}.sidebar nav .nav-link{font-size:12px}.content{padding-inline:14px}.topbar{gap:10px;padding-inline:14px}.top-actions{gap:8px}.topbar .language-name{max-width:92px}.page-note{margin-inline-end:24px}.analysis-layout{grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr)}.analysis-benefits{grid-template-columns:1fr 1fr}.analysis-benefit{padding:10px;gap:8px}.analysis-benefit p{font-size:11px}.analysis-benefit strong{font-size:12px}.analysis-feature-strip{width:100%}.source-add-grid{grid-template-columns:1fr 1fr 2fr}.source-column .card-header .row{flex-wrap:wrap}.source-title{flex-wrap:wrap}.dash-mini h3{font-size:12px}.dash-source span,.dash-source small{font-size:10px}.dash-usage-row{flex-wrap:wrap}.dash-platform-body{height:218px}.dash-comparison span{font-size:11px}.connection-state{font-size:10px}.glass-social{width:114px;height:119px}}
@media(max-width:1024px){.header-search{display:flex}.header-search input{width:80px;font-size:12px}.header-search .search-submit{display:none}.header-create span{display:none}.header-create{min-width:44px;width:44px;padding:10px}.analysis-layout{grid-template-columns:1fr}.analysis-feature-strip{width:100%}.analysis-history-layout{grid-template-columns:1fr}.analysis-promo{display:none}.analysis-page-eyebrow+.page-heading{min-height:112px}.analysis-page-eyebrow+.page-heading p{font-size:16px}.analysis-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}.analysis-benefit strong{font-size:13px}.analysis-progress-layout{grid-template-columns:1fr}.analysis-progress-visual{display:none}.source-grid{grid-template-columns:1fr}.source-column .source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.source-column .card-header .row{flex-wrap:nowrap}.admin-chart-grid{grid-template-columns:1fr 1fr}.admin-chart-grid>:last-child{grid-column:1/-1}.admin-overview{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){:root{--rh-sidebar:0px;--rh-header:64px}.sidebar{width:280px;max-width:calc(100vw - 32px);overflow-y:auto;overflow-x:hidden;padding:20px 14px}.sidebar nav .nav-link{min-height:44px;font-size:14px}.sidebar .sidebar-user #logout{width:44px;min-width:44px;min-height:44px}.sidebar-project select{min-height:44px}.sidebar .brand{font-size:20px}.sidebar nav{gap:2px}.sidebar-plan{min-height:64px}.sidebar-note{display:block}.sidebar-version{display:block}.content{padding:12px 16px 28px}.topbar{height:64px;padding:8px 16px;gap:12px;background:color-mix(in srgb,var(--bg) 92%,transparent)}.topbar>.row:has(.mobile-toggle){display:flex;flex:none}.topbar>.row{width:auto}.top-actions{gap:8px}.page-note{font-size:26px}.dash-title{min-height:80px}.dash-lower-grid{grid-template-columns:1fr 1fr}.dash-platform-grid{grid-template-columns:1fr}.dash-platform-body{height:auto;min-height:210px;grid-template-columns:1.5fr 1fr}.glass-social{width:145px;height:130px}.dash-platform-art{max-width:210px}.dash-chart-grid{grid-template-columns:1fr}.dash-chart,.dash-chart svg{height:150px}.dash-history-list{grid-template-columns:1fr 1fr}.dash-stat{min-height:98px}.dash-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-mini h3{font-size:14px}.dash-source span,.dash-source small{font-size:11px}.dash-history-item strong,.history-description,.history-open{font-size:12px}.dash-periods button,.dash-chart-controls select{min-height:44px}.dash-section-heading{flex-wrap:wrap}.dash-chart-controls{margin-inline-start:0}.dash-platform-art .btn{min-height:44px}.dash-usage-row{flex-wrap:nowrap}.dash-usage-row>span{width:45%}}
@media(max-width:650px){.header-search{display:none}.topbar{justify-content:space-between;padding-inline:12px}.topbar>.row{flex:1}.topbar .language-name{display:inline;font-size:12px;max-width:76px}.topbar .lang-button{width:auto;padding:8px;gap:5px}.theme-pair{width:44px;min-width:44px;padding:7px}.theme-pair>span{width:27px}.theme-pair>span:nth-child(2){display:none}:root[data-theme=dark] .theme-pair>span:nth-child(1){display:none}:root[data-theme=dark] .theme-pair>span:nth-child(2){display:grid}.top-actions{gap:4px}.content{padding:10px 12px 30px}.page-heading{min-height:74px;gap:10px;align-items:flex-start;flex-direction:column;margin-bottom:16px}.page-heading h1{font-size:30px}.page-heading p{font-size:14px}.page-heading>.btn{align-self:flex-start}.page-note{display:none}.card{padding:16px}.grid.cols2,.grid.cols3,.grid.cols4{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .span2{grid-column:auto}.stack{gap:14px}.btn,.btn.compact,.btn.ghost,.tab{min-height:44px}.actions{flex-wrap:wrap}.table-wrap table{min-width:0}.table-wrap thead{display:none}.table-wrap tr{display:grid;border-bottom:1px solid var(--line);padding:8px 0}.table-wrap td{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;border:0;padding:7px}.table-wrap td:before{content:attr(data-label);font-size:12px;color:var(--muted)}.table-wrap td:only-child{display:block}.analysis-page-eyebrow+.page-heading{min-height:120px}.analysis-page-eyebrow+.page-heading p{font-size:15px}.analysis-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-benefit{padding:10px 8px}.analysis-benefit p{font-size:12px}.analysis-layout>.card{padding:16px}.analysis-feature-strip{grid-template-columns:1fr}.analysis-form .actions .btn{width:100%}.analysis-form .row{gap:10px}.analysis-form .mini-icon{width:40px;height:40px}.analysis-form h2{font-size:18px}.source-add-grid{grid-template-columns:1fr 1fr}.source-add-grid>.field:nth-child(3){grid-column:1/-1}.source-add-grid>.btn{grid-column:1/-1}.source-column .source-list{grid-template-columns:1fr;gap:0}.source-item .btn{min-width:44px;min-height:44px}.notification-settings{grid-template-columns:1fr!important}.notification-settings>section+section{border:0!important;border-top:1px solid var(--line)!important;padding-inline-start:0!important;padding-top:16px}.notification-toolbar .btn{min-height:44px}.support-bottom{grid-template-columns:1fr}.faq-list summary{min-height:44px;display:flex;align-items:center}.admin-chart-grid{grid-template-columns:1fr}.admin-chart-grid>:last-child{grid-column:auto}.admin-overview{grid-template-columns:1fr 1fr}.admin-tabs{flex-wrap:nowrap;overflow:auto}.admin-tabs .btn{white-space:nowrap;min-height:44px}.feed-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.feed-filters{grid-template-columns:1fr 1fr}.feed-platform{font-size:10px}.feed-title{font-size:13px}.feed-poster{border-radius:13px}.feed-side-actions .btn{width:44px;min-width:44px;min-height:44px}.feed-metrics{font-size:11px}.feed-top{gap:4px}.feed-actions .btn{font-size:12px;padding-inline:8px}.dash-stats{grid-template-columns:1fr 1fr}.dash-stat:last-child{grid-column:1/-1}.dash-stat strong{font-size:26px}.dash-stat small{font-size:12px}.dash-title h1{font-size:31px}.dash-title p{font-size:14px}.dash-handwritten{display:none}.dash-stat .stat-label{font-size:12px}.dash-section-heading p{font-size:12px}.dash-history-list{grid-template-columns:1fr}.dash-lower-grid{grid-template-columns:1fr}.dash-source strong,.dash-source span,.dash-source small{font-size:12px}.dash-history-item .badge{font-size:11px}.dash-periods button{font-size:12px;padding-inline:12px}.dash-chart-controls{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}.dash-chart-controls select{max-width:none}.dash-chart-panel h3{font-size:13px}.dash-platform>header{height:auto}.dash-platform h3{font-size:17px}.connection-state{font-size:10px}.dash-platform-art p{font-size:12px}.dash-usage-row,.dash-usage-row small{font-size:12px}body[data-page=settings] .page>.grid{min-height:0}body[data-page=settings] .page>.grid>.card{padding:20px}input,select,textarea{font-size:16px}.auth-form-panel{padding-top:88px}.auth-form{width:100%;padding:22px 18px}.auth-layout .stack{gap:15px}.studio-frame{min-height:740px}.sidebar{padding-bottom:max(24px,env(safe-area-inset-bottom))}}
@media(max-width:359px){.topbar{padding-inline:8px}.topbar .lang-button{gap:4px;max-width:98px}.top-actions{gap:2px}.topbar .language-name{max-width:65px;overflow:hidden;text-overflow:ellipsis}.feed-grid{grid-template-columns:1fr}.feed-poster{max-height:480px}.analysis-benefits{grid-template-columns:1fr}.dash-platform-body{grid-template-columns:1.3fr 1fr;gap:7px}.dash-metric>.metric-symbol{width:28px}.dash-metric>div{padding-inline:7px}.dash-metric>div>span{font-size:11px}.glass-social{width:105px;height:118px}.dash-periods button{padding-inline:10px}.source-add-grid{grid-template-columns:1fr}.source-add-grid>.field:nth-child(3){grid-column:auto}}
:root[dir=rtl] .page-note,:root[dir=rtl] .sidebar-note{font-family:inherit;font-size:18px;transform:none}
:root[dir=rtl] .icon.button-arrow{transform:scaleX(-1)}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Analysis reports retain all verified sections and selection groups. */
.profile-summary-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:16px}
.report-profile{display:grid;grid-template-columns:minmax(0,1.15fr) 1fr;gap:20px;align-items:center}
.profile-identity{display:flex;align-items:center;gap:15px;min-width:0}
.profile-identity>div{min-width:0}
.profile-identity h2{font-size:20px}
.profile-identity .profile-avatar{width:90px;height:90px;min-width:90px;object-fit:cover;border-radius:50%;padding:3px;border:2px solid var(--rh-fuchsia)}
.profile-identity p{font-size:13px;margin-top:4px}
.report-platform{display:flex;gap:6px;align-items:center;margin-top:8px;font-size:12px}
.report-platform img{width:24px;height:24px}
.report-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.report-metrics>div{border-inline-start:1px solid var(--line);padding-inline-start:12px}
.report-metrics small{font-size:12px;color:var(--muted);display:block}
.report-metrics strong{font-size:23px;display:block}
.profile-verdict{padding:16px}
.report-score{display:flex;gap:12px;align-items:center}
.report-score strong{font-size:36px;line-height:1.2;letter-spacing:-1px}
.report-score strong small{font-size:18px;color:var(--muted)}
.profile-verdict .report-value,.profile-verdict .report-object{font-size:13px}
.profile-verdict .actions{gap:6px}
.profile-verdict .btn{font-size:12px;flex:1;padding-inline:10px}
.profile-cohort{padding:12px;border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow);border-radius:18px}
.profile-cohort>header{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.profile-cohort>header h2{font-size:18px}
.profile-cohort>header .mini-icon{width:30px;height:30px;border-radius:50%}
.profile-cohort>header .icon{width:20px;height:20px}
.profile-cohort.strong{--cohort-color:var(--teal)}
.profile-cohort.average{--cohort-color:var(--purple)}
.profile-cohort.weak{--cohort-color:var(--danger)}
.profile-cohort>header .mini-icon,.profile-cohort>header .badge{color:var(--cohort-color)}
.cohort-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:16px}
.cohort-media{display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:12px}
.report-video{min-width:0;padding:7px;border-radius:12px;background:var(--panel)}
.report-video-poster{position:relative;aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:var(--muted-panel)}
.report-video-poster video{width:100%;height:100%;object-fit:cover;display:block}
.report-video-score{position:absolute;inset:6px 6px auto auto;pointer-events:none;border:1px solid #fffb;background:#10182cbd;color:#fff;font-size:18px;padding:3px 8px;border-radius:99px}
.report-video h3{font-size:13px;margin:7px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.report-video-metrics{display:flex;justify-content:space-between;gap:4px;font-size:11px;color:var(--muted);margin-bottom:8px}
.report-video-metrics .icon{width:13px;height:13px;margin-inline-end:3px}
.report-video .btn{width:100%;font-size:12px}
.cohort-insights{padding:12px;border-radius:12px;background:color-mix(in srgb,var(--cohort-color) 5%,var(--panel))}
.cohort-insights h3{margin-bottom:12px}
.cohort-reason{display:flex;align-items:baseline;gap:8px;margin-top:10px;font-size:13px;color:var(--muted)}
.cohort-reason .status-dot{background:var(--cohort-color);flex:none}
.report-block-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.report-section .card-header{justify-content:flex-start;gap:10px;align-items:center}
.report-section .card-header h2{font-size:17px}
.report-section .mini-icon{width:28px;height:28px}
.report-section .mini-icon .icon{width:19px;height:19px}
.report-section .report-value,.report-section .report-beat{font-size:13px}
.report-section .report-beat{padding:10px}
.report-section .report-object{font-size:13px}
.report-section .report-label{font-size:12px}
.report-warnings{font-size:13px}
.video-layout{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(0,1.9fr);gap:16px}
.video-layout>.stack{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-content:start}
.video-layout>.stack>.card{min-width:0}
.video-layout .video-preview{aspect-ratio:9/16;height:auto;width:min(100%,320px);max-height:540px;display:block;margin-inline:auto;border-radius:14px}
.video-layout .report-value,.video-layout .report-beat{font-size:14px}
.video-layout .actions{gap:8px}
.video-layout .actions select{flex:1;min-width:100px}
.video-layout h2{font-size:18px}
@media(max-width:1250px){.report-profile{grid-template-columns:1fr}.profile-summary-grid{grid-template-columns:1.5fr 1fr}.report-block-grid{grid-template-columns:1fr 1fr}.cohort-layout{grid-template-columns:1fr}.cohort-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cohort-insights h3{grid-column:1/-1;margin:0}.video-layout>.stack{grid-template-columns:1fr}}
@media(max-width:650px){.profile-summary-grid{grid-template-columns:1fr}.profile-identity{gap:12px}.profile-identity .profile-avatar{width:68px;height:68px;min-width:68px}.profile-identity h2{font-size:18px}.report-metrics{gap:12px}.report-block-grid{grid-template-columns:1fr}.cohort-media{grid-auto-flow:row;grid-template-columns:1fr}.report-video-poster{aspect-ratio:16/10}.cohort-insights{grid-template-columns:1fr}.cohort-insights h3{grid-column:auto}.report-video-metrics{font-size:13px}.report-video h3{font-size:15px}.report-video-metrics .icon{width:16px;height:16px}.video-layout{grid-template-columns:1fr}.video-layout>.stack{grid-template-columns:1fr}.video-layout .video-preview{max-height:480px}.report-section .report-value{font-size:14px}}
/* Composer, saved script and library layouts. */
.script-compose-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:stretch}
.script-compose-layout>.card{padding:20px}
.script-compose-form .form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
.script-compose-form .form-grid>.field{grid-column:span 4}
.script-compose-form .form-grid>.span2{grid-column:1/-1}
.script-compose-form .form-grid>.field:has(#duration),.script-compose-form .form-grid>.field:has(#language),.script-compose-form .form-grid>.field:has(#niche),.script-compose-form .form-grid>.span2:has(#audience){grid-column:span 3}
.script-compose-form .form-grid>.span2:has(#use_dna),.script-compose-form .form-grid>.span2:has(.script-library-picker){grid-column:span 6}
.script-compose-form #topic{min-height:88px}
.choice-group{display:flex;flex-wrap:wrap;gap:5px;align-items:start}
.choice-group>button{min-height:40px;border:1px solid var(--line);border-radius:11px;padding:7px 10px;font-size:12px;background:var(--panel);color:var(--text);flex:1;white-space:nowrap;transition:background var(--motion-fast),transform var(--motion-fast)}
.choice-group>button[aria-checked=true]{background:var(--rh-gradient);border-color:#fff8;color:#252356;box-shadow:0 3px 9px #9486db28}
.script-reference{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
.script-reference>.actions{margin:0}
.script-reference .field .help{font-size:12px}
.script-reference input{font-size:14px}
.script-reference .btn{background:var(--rh-gradient);color:#252356}
.script-inspiration{border:1px solid #ffffffb8;border-radius:24px;background:linear-gradient(145deg,var(--panel),#dedaff60);padding:20px;display:flex;flex-direction:column;justify-content:space-between;gap:20px;overflow:hidden}
.script-inspiration>img{width:calc(100% + 40px);max-width:none;margin:-20px -20px 0;mix-blend-mode:multiply;object-fit:contain}
.script-inspiration .page-note{display:block;margin:0;max-width:none;font-size:29px;text-align:center}
.script-inspiration p{display:flex;align-items:center;gap:10px;margin:12px 0;color:var(--muted);font-size:14px}
.script-inspiration p>.icon{color:var(--purple);width:20px;height:20px}
.script-library-picker{padding:10px 14px;background:var(--panel);border:1px solid var(--line);border-radius:14px}
.script-library-picker summary{cursor:pointer;min-height:40px;display:flex;align-items:center;gap:10px;font-weight:600;list-style:none}
.script-library-picker .select-list{max-height:220px}
.script-library-picker .library-select{padding:9px;font-size:12px;gap:8px;min-height:44px}
.script-compose-actions{justify-content:flex-end;flex-wrap:wrap}
.script-compose-actions>button:first-child{margin-inline-end:auto}
.script-compose-form .notice{margin-top:14px}
.script-meta-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;max-width:100%}
.script-meta-grid>.card{display:flex;gap:10px;align-items:center;padding:12px}
.script-meta-grid small{display:block;color:var(--muted);font-size:12px}
.script-meta-grid strong{display:block;font-size:14px}
.script-meta-grid .mini-icon{width:32px;height:32px}
.script-meta-grid .icon{width:22px;height:22px}
.script-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(230px,.65fr);gap:16px;align-items:start}
.script-paper{padding:14px}
.script-part{padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--panel);margin-bottom:9px}
.script-part p{font-size:14px;line-height:1.6;white-space:pre-line}
.script-part .role{font-size:14px;font-weight:700}
.script-part .row{gap:8px;margin-bottom:4px}
.script-part .btn{min-height:36px;width:36px;min-width:36px;padding:6px}
.script-aside .card{padding:16px}
.script-aside h2{font-size:18px}
.script-alternative{display:flex;align-items:center;gap:5px;padding:6px 0;border-bottom:1px solid var(--line);background:transparent}
.variant-apply{display:flex;align-items:flex-start;gap:8px;text-align:start;font-size:13px;line-height:1.5;min-height:44px;border:0;background:transparent;color:var(--text);padding:8px 0;flex:1}
.variant-apply>.icon{width:17px;height:17px;margin-top:2px;flex:none;color:var(--purple)}
.variant-apply:hover{color:var(--accent)}
.script-result-actions{display:flex;flex-direction:column;gap:8px;margin:0;position:sticky;top:84px}
.script-result-actions h2{font-size:18px;display:flex;gap:8px;align-items:center;margin-bottom:8px}
.script-result-actions .btn{width:100%;justify-content:flex-start;font-size:13px}
.script-top h2{font-size:25px}
.script-top>select{min-height:44px}
.library-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.library-stat{display:flex;gap:16px;align-items:center;padding:16px 20px}
.library-stat strong{font-size:29px;display:block}
.library-stat small{font-size:12px;color:var(--muted)}
.library-main{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:16px}
.library-main .library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.library-tile{padding:16px;display:flex;flex-direction:column;gap:9px;min-width:0}
.library-tile .tile-heading{margin:0}
.library-tile .tile-heading .btn{min-height:36px;width:36px;min-width:36px;padding:7px}
.library-tile h3{font-size:16px;line-height:1.4}
.library-tile .snippet{font-size:13px;color:var(--muted);max-height:104px;overflow:hidden;margin:0;flex:1}
.library-tile .snippet .report-value{font-size:13px}
.library-tile .actions{margin-top:10px;gap:8px;justify-content:space-between}
.library-tile .actions .btn{background:var(--rh-gradient);color:#252356;font-size:12px}
.library-tile .actions .small{font-size:11px}
.library-aside{display:flex;flex-direction:column;gap:14px}
.library-aside .card{padding:16px}
.library-aside h3{margin-bottom:14px;font-size:15px}
.library-folder-link{display:flex;gap:10px;align-items:center;padding:8px 0;min-height:36px;font-size:13px}
.library-folder-link>.icon{color:var(--purple);width:18px;height:18px}
.library-folder-link>small{margin-inline-start:auto}
.library-recent-link{display:block;font-size:13px;padding:8px 0;border-bottom:1px solid var(--line)}
.library-recent-link small{display:block;color:var(--muted);font-size:11px}
.library-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.library-quick-grid .btn{font-size:11px;white-space:normal;padding:9px;justify-content:start}
.library-main #library-search{flex-wrap:nowrap;margin-bottom:14px}
.library-main .tabs{gap:3px}
.library-main .tab{font-size:12px;padding-inline:12px}
.library-view-heading{display:flex;align-items:center;gap:10px}
.library-view-heading>.mini-icon{width:42px;height:42px}
@media(max-width:1250px){.script-compose-layout{grid-template-columns:minmax(0,1fr) 230px}.script-inspiration{padding:16px}.script-compose-form .form-grid{gap:12px}.choice-group>button{padding-inline:8px;font-size:11px}.script-compose-form .form-grid>.field:has(#duration),.script-compose-form .form-grid>.field:has(#language),.script-compose-form .form-grid>.field:has(#niche),.script-compose-form .form-grid>.span2:has(#audience){grid-column:span 6}.script-layout{grid-template-columns:1.1fr 1fr}.script-result-actions{position:static;grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.script-result-actions h2{grid-column:1/-1}.library-main{grid-template-columns:1fr}.library-aside{display:grid;grid-template-columns:1fr 1fr 1fr}.library-main .library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.script-compose-layout{grid-template-columns:1fr}.script-inspiration{display:none}.script-layout{grid-template-columns:1fr 1fr}.script-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.library-stat-grid{grid-template-columns:1fr 1fr}.library-main .library-grid{grid-template-columns:1fr 1fr}.library-aside{grid-template-columns:1fr 1fr}.library-aside .card:last-child{grid-column:1/-1}}
@media(max-width:650px){.script-compose-layout>.card{padding:16px}.script-compose-form .form-grid{grid-template-columns:1fr 1fr;gap:14px}.script-compose-form .form-grid>.field,.script-compose-form .form-grid>.span2,.script-compose-form .form-grid>.field:has(#duration),.script-compose-form .form-grid>.field:has(#language),.script-compose-form .form-grid>.field:has(#niche),.script-compose-form .form-grid>.span2:has(#audience),.script-compose-form .form-grid>.span2:has(#use_dna),.script-compose-form .form-grid>.span2:has(.script-library-picker){grid-column:1/-1}.choice-group>button{min-height:44px;font-size:13px}.script-reference{grid-template-columns:1fr}.script-reference .btn{width:100%}.script-compose-actions .btn{width:100%}.script-compose-actions>button:first-child{margin:0}.script-layout{grid-template-columns:1fr}.script-result-actions{grid-template-columns:1fr;grid-column:auto;grid-row:1}.script-result-actions h2{grid-column:auto}.script-meta-grid{grid-template-columns:1fr 1fr}.script-meta-grid>.card{padding:10px;gap:7px}.script-meta-grid strong{font-size:13px}.script-meta-grid .mini-icon{width:27px;height:27px;flex:none}.script-part .btn{min-width:44px;min-height:44px}.script-top{display:block}.script-top>select{margin-top:12px;max-width:100%}.library-main .library-grid{grid-template-columns:1fr}.library-aside{grid-template-columns:1fr}.library-aside .card:last-child{grid-column:auto}.library-stat{padding:13px;gap:9px}.library-stat strong{font-size:25px}.library-stat .mini-icon{width:30px;height:30px;flex:none}.library-tile .tile-heading .btn{min-height:44px;width:44px;min-width:44px}.library-tile .snippet{max-height:160px}.library-quick-grid .btn{font-size:13px}.library-stat-grid{gap:10px}.script-library-picker summary{min-height:44px}}
.library-search-filters{display:grid;grid-template-columns:1fr 1fr 1fr 2fr 1fr 44px;gap:8px;margin-bottom:18px}
.library-search-filters input,.library-search-filters select{font-size:12px;padding-inline:10px}
.library-folder-link,.library-recent-link{border:0;background:transparent;color:var(--text);width:100%;text-align:start;cursor:pointer}
.library-folder-link:hover,.library-recent-link:hover{color:var(--accent)}
.library-tile-footer{display:flex;justify-content:flex-end;gap:4px;margin-top:-2px}
.library-tile-footer .btn{background:transparent;box-shadow:none}
.library-main .notice{margin-bottom:16px}
.library-main .notice .btn{margin-inline-start:auto}
.library-main .tabs small{background:var(--panel);border-radius:8px;font-size:10px;padding:2px 5px}
@media(max-width:1250px){.library-search-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.library-search-filters input{grid-column:span 2}.library-search-filters>.btn{grid-column:auto}.library-search-filters>select:last-of-type{grid-column:auto}}
@media(max-width:650px){.library-search-filters{grid-template-columns:1fr 1fr}.library-search-filters input{grid-column:1/-1}.library-search-filters input,.library-search-filters select{font-size:16px}.library-search-filters>.btn{grid-column:1/-1;width:100%}.library-search-filters>select:last-of-type{grid-column:auto}.library-main .tab{font-size:13px}.library-recent-link,.library-folder-link{min-height:44px}.library-tile-footer .btn{min-width:44px;min-height:44px}}
/* Reference composition finishing pass. */
.video-entry{display:grid;gap:18px}
.video-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto 260px;gap:10px;align-items:end}
.video-input-row .field{margin:0}
.video-entry .analysis-form{gap:16px}
.video-entry .analysis-method-note{font-size:12px;margin:0}
.video-benefit-strip .card{padding:16px 20px}
.video-benefit-strip h2{display:none}
.video-benefit-strip .vertical-space{display:none}
.video-benefit-strip .analysis-benefits{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.video-benefit-strip .analysis-benefit{display:block;border:0;padding:0}
.video-benefit-strip .mini-icon{margin-bottom:7px}
.video-benefit-strip .analysis-benefit strong{font-size:14px}
.video-benefit-strip .analysis-benefit p{font-size:12px}
.video-latest{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:18px}
.video-latest-body{display:grid;grid-template-columns:130px 1fr;gap:20px}
.video-latest-body video{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:14px;background:#182441}
.video-latest-body h2{font-size:21px}
.video-latest-body p{font-size:13px;margin:10px 0}
.video-latest-body .report-metrics{margin:16px 0}
.video-latest-body .report-metrics strong{font-size:22px}
.video-latest-summary .report-value,.video-latest-summary .report-object{font-size:12px}
.video-latest-summary{max-height:350px;overflow:auto}
.video-entry .analysis-history-layout{margin-top:0}
.video-layout>article:first-child{align-self:start}
.video-layout .video-preview{height:330px;aspect-ratio:9/16;object-fit:contain}
.settings-layout>.card{min-height:540px;padding:30px}
.settings-layout #user-settings{gap:24px}
.settings-layout .field{gap:10px}
.settings-layout input,.settings-layout select,.settings-layout .btn{min-height:52px}
.settings-layout h2{font-size:25px}
.settings-layout hr{margin-block:32px}
.settings-layout .settings-project h3{font-size:22px}
.support-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:18px}
.support-bottom>.stack{gap:14px}
.support-bottom>.stack .card{padding:18px 22px}
.support-bottom p{font-size:13px}
.auth-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;position:relative;z-index:1;margin:22px 0}
.auth-feature-grid>div{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:15px 12px;display:grid;gap:8px}
.auth-feature-grid strong{font-size:13px}
.auth-art .actions{position:relative;z-index:1}
@media(min-width:1100px){.dash-trends .dash-section-heading{height:40px;min-height:40px;padding-bottom:5px}.dash-trends .dash-chart-panel{height:140px}.dash-trends .dash-chart{height:97px}.dash-lower-grid .card{padding:9px}.dash-recent .dash-section-heading{min-height:34px;height:34px;padding-bottom:3px}.dash-history-card{padding:6px}.dash-history-card .date{font-size:10px}.dash-history-card .badge{font-size:9px;padding:2px 5px}.dashboard-ref .dash-history-list{gap:8px}.dashboard-ref .dash-recent{padding-bottom:8px}.dashboard-ref{padding-bottom:0}}
@media(max-width:1050px){.video-input-row{grid-template-columns:1fr auto}.video-input-row>.btn:last-child{grid-column:1/-1}.video-benefit-strip .analysis-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}.video-latest{grid-template-columns:1fr}.settings-layout>.card{padding:22px;min-height:0}.support-bottom{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.video-input-row{grid-template-columns:1fr}.video-input-row .btn{width:100%}.video-benefit-strip .analysis-benefits{grid-template-columns:1fr 1fr;gap:16px}.video-latest-body{grid-template-columns:95px minmax(0,1fr);gap:12px}.video-latest-body h2{font-size:16px}.video-latest-body .report-metrics{gap:8px}.video-latest-body .report-metrics strong{font-size:18px}.video-latest-body .actions .btn{width:100%}.video-latest-body .actions{grid-column:1/-1}.settings-layout{grid-template-columns:1fr}.support-bottom{grid-template-columns:1fr}.auth-feature-grid{grid-template-columns:1fr}.auth-feature-grid>div{display:flex;align-items:center}}
.notification-tabs{display:flex;gap:7px;margin-inline-start:auto;flex-wrap:wrap}
.notification-tabs .tab{font-size:13px}
.notification-settings{gap:24px}
.notification-settings>section:not(:last-child){border-inline-end:1px solid var(--line);padding-inline-end:20px}
.notification-settings .toggle{min-height:54px}
.notification-settings .check{min-height:37px}
.notification{border:1px solid var(--line);border-radius:16px;margin-top:8px;background:var(--panel);padding:10px 16px;min-height:62px}
.notification.unread{background:color-mix(in srgb,var(--teal-soft) 45%,var(--panel))}
.notification h3{font-size:14px}
.notification .text{font-size:12px}
.notification .muted{font-size:11px}
@media(max-width:650px){.notification-settings>section:not(:last-child){border-inline-end:0;border-bottom:1px solid var(--line);padding:0 0 16px}.notification-tabs{margin:0;width:100%}.notification-settings .check{min-height:44px}}
.marketing{max-width:1440px;margin:auto;padding-inline:32px}
.marketing-nav{display:flex;gap:24px;justify-content:space-between;position:relative;margin:12px 0 20px;padding:12px 18px;border:1px solid var(--line);border-radius:22px;background:var(--panel);box-shadow:var(--shadow)}
.marketing-nav .brand{font-size:20px}
.marketing-nav .brand img{width:32px;height:32px}
.marketing-nav nav{display:flex;gap:20px;align-items:center;font-size:12px}
.marketing-nav .btn{font-size:12px;padding-inline:15px}
.marketing-nav .row{gap:8px}
.marketing-hero{display:grid;grid-template-columns:1fr 1.05fr;gap:26px;min-height:440px;align-items:center;margin:20px 0}
.marketing-pitch h1{font-size:clamp(36px,4.2vw,64px);line-height:1.08;letter-spacing:-2.2px;margin:22px 0 16px;max-width:650px}
.marketing-pitch>p{font-size:17px;line-height:1.6;color:var(--muted);max-width:560px}
.marketing-pitch .pill{font-size:12px}
.marketing-pitch .pill>.icon{width:18px}
.marketing-pitch .actions{margin-top:22px}
.marketing-platforms{display:flex;gap:10px;align-items:center;margin-top:22px}
.marketing-platforms img{width:27px;height:27px}
.marketing-platforms span{font-size:12px;color:var(--muted);margin-inline-start:6px}
.marketing-product-art{position:relative;min-height:420px;border-radius:28px;overflow:hidden}
.marketing-glass-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}
.marketing-float{position:absolute;border:1px solid var(--line);background:var(--panel);border-radius:20px;box-shadow:var(--shadow);padding:16px}
.marketing-float p{font-size:13px;color:var(--muted);margin:5px 0}
.marketing-float h3{font-size:17px}
.float-score{top:18px;inset-inline-start:12px;width:46%;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.float-score svg:not(.icon){width:100%;color:var(--teal);height:65px}
.float-score .mini-icon{width:33px;height:33px}
.float-dna{bottom:40px;inset-inline-start:16px;display:flex;gap:14px}
.float-script{top:38px;inset-inline-end:8px;width:41%;display:grid;gap:12px}
.marketing-sample{position:absolute;bottom:10px;inset-inline:15px;font-size:10px;color:var(--muted);text-align:center}
.marketing-panel{background:var(--panel);border:1px solid #fff9;border-radius:24px;padding:18px;margin:14px 0}
.marketing-panel>h2{text-align:center;margin:0 0 16px;font-size:24px}
.marketing-panel .card-header h2{font-size:24px}
.marketing-panel .card-header a{font-size:12px;display:flex;gap:8px;align-items:center}
.marketing-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.marketing-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.marketing-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.marketing-two{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.marketing-feature{padding:18px 14px;display:flex;align-items:center;gap:12px}
.marketing-feature .mini-icon{width:40px;height:40px;flex:none}
.marketing-feature h3{font-size:15px;line-height:1.3}
.marketing-feature p{font-size:12px;margin-top:6px;color:var(--muted)}
.marketing-reels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.marketing-reel{position:relative;border-radius:15px;overflow:hidden;border:1px solid var(--line);background:var(--panel);padding:0 0 12px}
.marketing-reel>img{width:100%;height:160px;object-fit:cover;object-position:50% 30%;display:block}
.marketing-reel>.badge{position:absolute;top:8px;inset-inline-start:8px;background:var(--panel);font-size:10px;backdrop-filter:blur(8px)}
.marketing-reel h3{font-size:14px;margin:10px 12px}
.marketing-reel>span:last-child{display:flex;align-items:center;gap:6px;margin:0 12px;font-size:12px}
.marketing-reel>.icon{width:15px}
.workflow-card{position:relative;padding-top:30px;margin-top:8px}
.marketing-step{position:absolute;top:-13px;left:calc(50% - 15px);width:30px;height:30px;display:grid;place-items:center;color:var(--purple);border:1px solid var(--line);background:var(--solid);border-radius:50%;box-shadow:var(--shadow)}
.marketing-tool{padding:12px;display:flex;gap:10px;align-items:center}
.marketing-tool .mini-icon{width:32px;height:32px;flex:none}
.marketing-tool strong{font-size:12px}
.marketing .plan-card{padding:20px}
.marketing .plan-price{font-size:29px}
.marketing .plan-list{font-size:13px;line-height:1.6;margin-block:12px}
.marketing .plan-list li{margin:5px 0}
.marketing-faq details{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:10px 14px;font-size:13px}
.marketing-faq summary{min-height:30px;cursor:pointer}
.marketing-faq p{color:var(--muted);margin-block:10px}
.marketing-final{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:22px}
.marketing-final h2{font-size:27px;max-width:450px}
.marketing-final p{font-size:13px;max-width:540px;color:var(--muted)}
.marketing-final>.btn{min-width:260px}
.marketing-footer{font-size:11px;padding:22px 0;gap:20px}
.marketing-footer .brand{font-size:16px}
.marketing-footer .brand img{width:30px;height:30px}
@media(max-width:1100px){.marketing{padding-inline:24px}.marketing-nav nav{gap:12px}.marketing-nav .btn{font-size:11px;padding-inline:9px}.marketing-nav{gap:10px;padding:10px}.marketing-nav .brand{font-size:17px}.marketing-hero{gap:16px;min-height:390px}.marketing-pitch h1{font-size:47px}.marketing-pitch>p{font-size:14px}.marketing-product-art{min-height:380px}.marketing-feature{display:block;padding:14px}.marketing-feature .mini-icon{margin-bottom:8px}.marketing-feature h3{font-size:13px}.marketing-panel>h2,.marketing-panel .card-header h2{font-size:21px}.marketing-reel>img{height:125px}.marketing-tool{display:block}.marketing-tool .mini-icon{margin-bottom:7px}.marketing-nav .language-trigger{min-width:62px}.marketing-nav .language-trigger>span{display:none}}
@media(max-width:800px){.marketing-nav nav{display:none}.marketing-hero{grid-template-columns:1fr 1fr}.marketing-pitch h1{font-size:38px}.marketing-pitch .actions{flex-wrap:wrap}.marketing-pitch .btn{font-size:12px}.marketing-product-art{min-height:350px}.marketing-float{padding:12px}.marketing-float h3{font-size:14px}.float-script{top:30px;inset-inline-end:0;width:43%}.float-dna{bottom:45px;left:0}.marketing-three .card{padding:14px}.marketing-five{grid-template-columns:repeat(3,1fr)}.marketing-final>.btn{min-width:210px}.marketing-footer{flex-wrap:wrap}}
@media(max-width:590px){.marketing{padding-inline:12px}.marketing-nav .brand{font-size:14px}.marketing-nav .row>.btn.primary{display:none}.marketing-nav .row>.btn{padding:6px;font-size:12px}.marketing-nav .theme-btn{display:none}.marketing-hero{grid-template-columns:1fr}.marketing-pitch h1{font-size:40px;letter-spacing:-1.5px}.marketing-product-art{min-height:340px}.marketing-four{grid-template-columns:1fr 1fr}.marketing-three{grid-template-columns:1fr}.marketing-reels{grid-template-columns:1fr 1fr}.marketing-five{grid-template-columns:1fr 1fr}.marketing-panel{padding:14px}.marketing-two{grid-template-columns:1fr}.marketing-final{display:block;padding:20px 4px}.marketing-final .btn{margin-top:18px;width:100%}.marketing-footer .row{flex-wrap:wrap;gap:6px 14px}.marketing-footer a{min-height:44px;display:flex;align-items:center}.marketing-nav .language-trigger{min-width:44px}.marketing .marketing-nav{min-height:64px;flex-wrap:wrap}.marketing-faq summary{min-height:44px}.marketing-panel .card-header{gap:12px}.marketing-panel .card-header h2{font-size:18px}.marketing-product-art .marketing-float{background:color-mix(in srgb,var(--solid) 85%,transparent)}}
.script-text-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.script-text-options.hidden{display:none}
.analysis-history-layout .history-row{min-height:55px;padding:9px 12px}
.analysis-history-layout .history-row .title{font-size:13px}
.analysis-history-layout .history-row .date{font-size:11px}
.analysis-history-layout .history-card .card-header{margin-bottom:12px}
.analysis-promo{gap:14px;justify-content:flex-start}
.analysis-promo .page-note{margin-top:auto}
.analysis-promo p{font-size:13px}
/* Detail labels are fields; only top-level analysis cards are sections. */
.report-field{margin-top:12px;min-width:0}
.report-field>h4{font-size:12px;font-weight:600;margin:0 0 4px}
.report-field .report-field{margin-top:8px}
.report-value{font-size:14px;line-height:1.6}
.report-list{gap:8px}
.report-beat{padding:9px 12px;border-inline-start-width:2px}
.report-timeline .badge{margin-bottom:6px}
.report-timeline p{margin:0}
.report-block-grid>.report-section{margin-top:0}
.report-block-grid>.report-section .card-header{margin-bottom:10px}
.dna-summary-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}
.dna-summary-grid .card{padding:16px}
.dna-summary-grid h3{margin-bottom:12px;font-size:16px}
.dna-summary-grid p{font-size:13px}
.dna-traits{display:flex;gap:7px;margin-bottom:10px}
.dna-summary-grid .btn{margin-top:14px}
.dna-layout .grid.cols2>.card{padding:20px}
.dna-layout #dna-manual{gap:12px}
.dna-layout textarea{min-height:68px}
.dna-layout .report-field{display:grid;grid-template-columns:110px 1fr;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line);margin-top:14px}
.dna-layout .report-field .report-field{display:block;border:0;margin:0;padding:0}
.dna-layout .report-beat{display:inline-block;padding:5px 10px;border:0;border-radius:10px;font-size:12px}
.dna-layout .report-list{display:flex;gap:8px;flex-wrap:wrap}
.dna-layout .report-field h4{color:var(--text)}
.billing-layout{gap:12px}
.billing-layout>.tint{padding:16px 22px}
.billing-layout>.tint .vertical-space{height:6px}
.billing-layout>.tint .ring-wrap,.billing-layout>.tint .ring-meter{width:96px;height:96px}
.billing-layout .usage-card{padding:12px 18px}
.billing-layout .usage-card .used{font-size:22px;margin-top:4px}
.billing-layout .usage-card .used small{font-size:13px}
.billing-layout .usage-card progress{height:6px;margin:4px 0 0}
.billing-layout .plan-card{padding:16px 20px}
.billing-layout .plan-price{font-size:29px;margin:8px 0 2px}
.billing-layout .plan-card h2{font-size:20px}
.billing-layout .plan-list{gap:5px;margin:10px 0;font-size:12px}
.billing-layout .plan-list li{line-height:1.35}
.billing-layout .plan-list .icon{width:15px;height:15px}
.billing-layout>h2,.billing-layout #tokens h2{font-size:22px;margin:0}
.billing-layout .plan-card .btn{min-height:38px;font-size:12px}
.billing-layout>.row{font-size:12px}
.billing-layout #cancel-renewal{font-size:11px;min-height:30px;padding:4px 8px}
.billing-layout .token-grid{display:grid;grid-template-columns:3fr 1fr;gap:12px}
.billing-layout #token-packages{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.billing-layout .token-card{padding:12px 16px}
.billing-layout .token-card .mini-icon{width:28px;height:28px}
.billing-layout .token-number{font-size:18px;margin:2px 0}
.billing-layout .token-card .price{font-size:17px}
.billing-layout .token-card .btn{margin-top:8px;font-size:12px;min-height:36px}
.billing-layout .token-grid>.card{padding:12px 16px}
.billing-layout #custom-tokens{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.billing-layout #custom-tokens>.field{grid-column:1/-1}
.billing-layout #custom-tokens>.btn{grid-column:1/-1;font-size:12px;min-height:36px}
.billing-layout #custom-token-price{font-size:15px;white-space:nowrap}
.billing-layout #custom-tokens input{min-height:36px;font-size:13px}
.billing-layout #token-currency{min-height:36px;max-width:100px}
.billing-layout .empty{min-height:70px;padding:12px}
.billing-layout>.card:last-child{padding:14px 20px}
.billing-layout>.card:last-child h2{font-size:18px}
.billing-layout .empty .mini-icon{width:30px;height:30px}
.billing-layout .empty h3{font-size:15px}
.billing-layout .empty p{font-size:12px}
.top-search>button{min-width:44px}
.notification-settings{padding:8px}
.notification-settings .vertical-space{height:8px}
.notification-settings .stack{gap:10px}
#notification-settings>.actions{justify-content:flex-end;margin-top:12px}
#notification-settings>.actions .btn{min-width:260px}
.notification{padding-block:9px}
.notification-settings .toggle{min-height:44px}
.report-video-poster{max-height:190px}
.report-video-poster video{height:190px;max-width:100%;object-fit:contain;background:#11182b}
.profile-report .cohort-insights{font-size:13px}
.profile-report .cohort-reason{padding:8px 0}
.profile-report .cohort-media{gap:10px}
.profile-report .report-video h3{font-size:13px}
.profile-report .report-video .btn{font-size:11px;min-height:34px}
.profile-report .profile-cohort{margin:0}
.profile-report .profile-summary-grid p{font-size:12px}
.profile-report .profile-summary-grid h3{font-size:14px}
.profile-report .profile-summary-grid h2{font-size:18px}
@media(max-width:1000px){.billing-layout .token-grid{grid-template-columns:1fr}.billing-layout #custom-tokens{grid-template-columns:1fr 1fr auto;align-items:end}.billing-layout #custom-tokens>.field,.billing-layout #custom-tokens>.btn{grid-column:auto}.dna-summary-grid{grid-template-columns:1fr 1fr}.dna-summary-grid>.card:last-child{grid-column:1/-1}}
@media(max-width:650px){.dna-summary-grid{grid-template-columns:1fr}.dna-summary-grid>.card:last-child{grid-column:auto}.dna-layout .report-field{grid-template-columns:1fr;gap:4px}.billing-layout #token-packages{grid-template-columns:1fr}.billing-layout #custom-tokens{grid-template-columns:1fr 1fr}.billing-layout #custom-tokens>.field,.billing-layout #custom-tokens>.btn{grid-column:1/-1}.billing-layout button,.billing-layout input,.billing-layout select,.billing-layout #cancel-renewal,.profile-report .report-video .btn{min-height:44px!important}.billing-layout .plan-card .btn,.billing-layout .token-card .btn{font-size:14px}.billing-layout .plan-list{font-size:14px;gap:8px}.dna-layout textarea{min-height:90px}.report-video-poster,.report-video-poster video{height:220px;max-height:220px}.profile-report .report-video .btn{font-size:12px;width:100%}}
/* Compact commerce composition: every limit remains visible. */
body[data-page=usage] .page-heading{min-height:44px;margin-bottom:12px}
body[data-page=usage] h1{font-size:32px}
.current-plan-layout{position:relative}
.current-plan-layout>.tint{padding:14px 20px}
.current-plan-layout .ring-wrap,.current-plan-layout .ring-meter{width:96px;height:96px}
.current-plan-layout .vertical-space{height:4px}
.current-plan-layout>.row{position:absolute;inset-inline-end:138px;bottom:15px}
.billing-layout .usage-card{min-height:0!important;height:86px!important;padding:10px 16px!important}
.billing-layout .usage-card .used{line-height:1.15;font-size:21px}
.billing-layout .usage-card progress{display:block}
.billing-layout .plan-card{padding:14px 18px;position:relative}
.billing-layout .plan-card .plan-price{position:absolute;inset-inline-end:18px;top:14px;margin:0;font-size:24px}
.billing-layout .plan-card>.small{position:absolute;inset-inline-end:18px;top:47px;font-size:11px}
.billing-layout .plan-card>.row{justify-content:flex-start;gap:8px;min-height:46px;align-items:flex-start}
.billing-layout .plan-card>.row .badge{font-size:9px}
.billing-layout .plan-list{grid-template-columns:1fr 1fr;gap:7px 12px;margin:12px 0;font-size:11px}
.billing-layout .plan-list li{gap:5px}
.billing-layout .plan-list strong{white-space:nowrap}
.billing-layout .token-card{position:relative;padding:10px 14px}
.billing-layout .token-card>.row{position:absolute;inset-inline-end:12px;top:10px}
.billing-layout .token-card .mini-icon{display:none}
.billing-layout .token-number{margin-top:0}
.billing-layout .token-card .price{font-size:16px}
.billing-layout .token-card .btn{min-height:32px;margin-top:6px}
.billing-layout #tokens .card-header{margin-bottom:8px}
.billing-layout #custom-tokens{grid-template-columns:1fr 1fr;gap:4px}
.billing-layout #custom-tokens>.field{grid-column:auto}
.billing-layout #custom-tokens>.grow{align-self:end;padding-bottom:5px}
.billing-layout #custom-tokens input{width:100%}
.billing-layout #custom-tokens .field{gap:2px}
.billing-layout #custom-tokens .field>label{font-size:10px}
.billing-layout #custom-tokens>.btn{min-height:32px}
.billing-layout>.card:last-child{padding:12px 20px}
.billing-layout>.card:last-child>.vertical-space{display:none}
.billing-layout>.card:last-child .empty{min-height:38px;padding:7px;display:flex;gap:8px;justify-content:center;align-items:center}
.billing-layout>.card:last-child .empty .mini-icon{width:24px;height:24px}
.billing-layout>.card:last-child .empty h3{margin:0}
@media(max-width:1100px){.billing-layout .plan-list{grid-template-columns:1fr}.billing-layout .plan-card .plan-price{position:static}.billing-layout .plan-card>.small{position:static}.billing-layout .plan-card>.row{min-height:auto}.current-plan-layout>.row{position:static;margin-top:4px;justify-content:flex-end}}
@media(max-width:650px){.billing-layout .plan-list{grid-template-columns:1fr 1fr;font-size:12px}.billing-layout .usage-card{height:auto!important;min-height:96px!important}.billing-layout .plan-card .plan-price{font-size:28px}.billing-layout .plan-card>.row{flex-wrap:wrap}}
@media(min-width:1101px){body[data-page=usage] .page-heading{min-height:36px;margin-bottom:8px}.billing-layout,.billing-layout>.grid{gap:10px}.current-plan-layout>.tint{padding:10px 20px}.billing-layout .plan-card{padding:10px 18px}.billing-layout .plan-card>.row{min-height:40px}.billing-layout .plan-list{margin-block:9px;gap:5px 12px}.billing-layout #tokens .card-header{margin-bottom:6px}.billing-layout .token-grid>.card{padding:8px 14px}.billing-layout #custom-tokens input,.billing-layout #custom-tokens>.btn{height:32px;min-height:32px;padding-block:4px}.billing-layout #custom-tokens .field{margin:0}.billing-layout #custom-tokens label{min-height:0}.billing-layout>.card:last-child{padding:10px 18px}.billing-layout>.card:last-child .empty{min-height:30px;height:30px}.billing-layout #token-currency{min-height:32px;height:32px}}
/* Small-screen shell has a single, bounded action row. */
@media(max-width:650px){.topbar .top-actions{width:auto;flex:none;min-width:0;justify-content:flex-end}.topbar>.row{flex:0 0 44px}.topbar{gap:4px}.topbar .header-create{width:44px;min-width:44px}.dash-stat{position:relative;min-height:135px;padding:12px}.dash-stat .stat-symbol{position:absolute;top:12px;inset-inline-start:10px;width:30px;height:30px}.dash-stat>div{width:100%;min-width:0}.dash-stat .stat-label{padding-inline-start:35px;display:flex;align-items:center;min-height:34px;font-size:11px;overflow-wrap:normal;word-break:normal;line-height:1.2}.dash-stat strong{display:inline-block;white-space:nowrap;font-size:26px;margin-top:5px;letter-spacing:-1px}.dash-stat small{white-space:nowrap;font-size:11px;margin-inline-start:6px}.dash-stat .sparkline{bottom:8px}.dash-stat:last-child{min-height:114px}}
@media(max-width:1024px){.content button,.content input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.content select,.content summary,.content .btn,.content .tab,.content .choice-button,.topbar input{min-height:44px!important}.content button.icon-only,.content .btn.icon-only{min-width:44px!important}.sidebar-project select,.sidebar .sidebar-user #logout{min-height:44px!important;min-width:44px!important}.check,.toggle{min-height:44px}.topbar .search-submit{min-width:44px}}
.library-main>div,.library-aside{min-width:0}
.library-main{grid-template-columns:minmax(0,1fr) 240px}
.library-search-filters>*{min-width:0;width:100%}
.library-main .tabs{width:100%;min-width:0}
.library-main .tab{flex-shrink:0}
@media(max-width:1250px){.library-main{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1024px){.notification-settings .check{min-height:44px}.notification-settings section{min-width:0}}
@media(max-width:650px){#notification-settings>.actions .btn{min-width:0;width:100%}.library-search-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.library-aside{display:grid;grid-template-columns:1fr;gap:12px}}
.report-video-poster{width:100%;min-width:0;aspect-ratio:16/10;height:auto;max-height:190px}
.report-video-poster video{width:100%;height:100%;aspect-ratio:16/10;max-height:190px}
.report-video-poster img{width:100%;height:100%;object-fit:cover}
.profile-report .report-video{overflow:hidden}
@media(max-width:650px){.report-video-poster{width:100%;height:auto;max-height:220px}.report-video-poster video{height:auto;max-height:220px}.language-trigger,.lang-button{min-width:44px!important;min-height:44px!important}}
@media(min-width:800px){.marketing{max-width:1320px}.marketing-hero{min-height:310px;padding-block:12px}.marketing-product-art{min-height:305px}.marketing-pitch h1{font-size:45px}.marketing-pitch>p{font-size:13px;line-height:1.5}.marketing-panel{padding:14px;margin-top:12px}.marketing-panel>h2,.marketing-panel .card-header h2{font-size:21px;margin-bottom:12px}.marketing-four,.marketing-five,.marketing-three{gap:10px}.marketing-feature{padding:10px;display:flex}.marketing-feature .mini-icon{width:30px;height:30px;margin:0}.marketing-feature p{font-size:11px;line-height:1.5}.marketing .marketing-reel>img{height:95px}.marketing-reel{padding-bottom:8px}.marketing .plan-list{gap:5px;font-size:11px;line-height:1.4;margin-block:8px}.marketing .plan-list li{margin:0}.marketing .plan-card{padding:14px}.marketing .plan-price{font-size:26px;line-height:1.2}.marketing .plan-card .btn{min-height:38px;font-size:12px}.marketing-faq details{padding:5px 10px}.marketing-faq summary{min-height:34px}.marketing-final{padding:14px 0}.marketing-final h2{font-size:25px}.marketing-footer{padding-block:12px}}
@media(max-width:1024px){.marketing summary{min-height:44px}}
.feed-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.feed-actions .btn{min-width:0;width:100%;font-size:11px;padding:10px 6px;white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.35}
.feed-actions .btn .icon{display:none}
.feed-actions .btn:only-child{grid-column:1/-1}
.feed-poster{aspect-ratio:5/7}
.feed-card .feed-side-actions .btn,.feed-card .feed-play{color:#fff!important}
.feed-card .feed-side-actions .btn .icon{color:#fff;opacity:1}
.feed-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:12px 6px}
.feed-metrics>span{display:flex;flex-direction:column;gap:3px;align-items:center;font-size:11px}
.feed-metrics .icon{width:18px;height:18px}
.source-summary-card{padding:14px 18px}
.source-summary-card .card-header{margin-bottom:4px}
.source-summary-card .platform-icon{width:36px;height:36px}
.source-summary-card h2{font-size:19px}
.source-summary-card p{margin:0}
.source-column{padding:16px}
.source-column .card-header{margin-bottom:8px}
.source-column .source-item{padding:9px 0;display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:4px 8px}
.source-item>.row:first-child{grid-column:1/-1}
.source-item>.row:first-child .source-title{display:flex;align-items:center;gap:8px;min-width:0}
.source-item .source-title strong{font-size:12px;overflow-wrap:anywhere}
.source-item .source-title small{font-size:10px}
.source-item>[id^=source-schedule]{margin:0}
.source-item>[id^=source-schedule] .small{font-size:10px;line-height:1.35}
.source-item>[id^=source-schedule] .small+ .small{margin-top:6px}
.source-item>.row:last-child{justify-content:flex-end;align-items:center;gap:2px}
.source-item>.row:last-child>small{display:none}
.source-item .actions{gap:2px}
.source-item .actions>.btn{padding:6px;min-width:32px;width:32px;height:32px;min-height:32px}
.source-item>.row:first-child .toggle{min-height:26px}
.source-item>.row:first-child{min-height:26px}
.source-item .actions>.btn .icon{width:16px;height:16px}
.source-summary .count-pill{font-size:10px}
@media(max-width:1100px){.source-item .source-title{flex-wrap:wrap}.source-column .source-item{grid-template-columns:minmax(0,1fr) 140px}}
@media(max-width:650px){.feed-poster{aspect-ratio:9/16}.feed-actions{grid-template-columns:1fr}.feed-actions .btn{font-size:12px;min-height:44px}.source-summary{grid-template-columns:1fr!important;gap:8px}.source-summary-card{padding:10px 14px}.source-column .source-item{padding:12px 0;gap:8px}.source-item .actions>.btn{width:44px;min-width:44px;min-height:44px;height:44px}}
@media(min-width:1101px){.dash-platform-body{height:188px}.dash-metric>div,.dash-metric .metric-symbol{min-height:32px;height:32px}.dash-metrics{gap:4px}.dash-chart,.dash-chart svg{height:93px}.dash-mini{padding-block:8px}.dash-source{gap:4px;padding-block:5px}.dash-quick{font-size:11px;overflow-wrap:normal}.dash-quick .icon{width:23px}.dash-history-item{padding:8px}.dash-history-list{margin-top:0}.dash-section-heading{margin-bottom:6px}.dash-title{min-height:69px}}
.script-inspiration>img{height:auto;aspect-ratio:670/440}
.library-tile{position:relative;gap:8px}
.library-tile .snippet{max-height:72px;min-height:50px}
.library-tile .actions{padding-inline-end:76px;gap:5px;margin-top:4px}
.library-tile-footer{position:absolute;inset-inline-end:12px;bottom:16px;gap:0;display:flex}
.library-tile-footer .btn{width:34px;min-width:34px;min-height:36px;padding:6px}
.library-quick-grid .btn{overflow-wrap:normal;word-break:normal;gap:5px;font-size:10px}
.library-view-heading h3{font-size:14px}
.library-tile .actions small{font-size:10px}
.library-tile .actions .btn{padding-inline:10px}
.analysis-history-layout .history-row{padding:5px 10px!important;min-height:48px}
.analysis-history-layout .history-row .grow{display:grid;grid-template-columns:minmax(0,1fr) 145px;align-items:center;gap:10px}
.analysis-history-layout .history-row .date{margin:0;font-size:11px}
.analysis-history-layout .history-card{padding:16px}
.analysis-feature-strip .card{padding:14px 16px}
body[data-page=video-analysis]:has(.video-entry) .analysis-page-eyebrow{display:none}
body[data-page=video-analysis]:has(.video-entry) .page-heading{min-height:64px;margin-bottom:12px}
body[data-page=video-analysis]:has(.video-entry) .page-heading p{font-size:15px}
.video-entry-form .card{padding:15px 20px}
.video-entry-form .analysis-form{gap:10px}
.video-entry-form .mini-icon{width:34px;height:34px}
.video-entry-form .analysis-form h2{font-size:20px}
.video-entry-form .analysis-method-note{margin:0}
.video-benefit-strip .card{padding:12px}
.video-benefit-strip .analysis-benefit{display:flex;gap:9px;align-items:center}
.video-benefit-strip .analysis-benefit .mini-icon{width:36px;height:36px;flex:none}
.video-benefit-strip .analysis-benefit strong{font-size:12px}
.video-benefit-strip .analysis-benefit p{font-size:11px}
.video-entry{gap:12px}
.video-latest{grid-template-columns:minmax(0,1fr) 285px;gap:14px}
.video-example{padding:16px}
.video-example .card-header{margin-bottom:12px}
.video-example h2{font-size:19px}
.video-example-grid{display:grid;grid-template-columns:145px minmax(0,1fr) 170px;gap:12px}
.video-example-grid>video{width:100%;height:255px;object-fit:contain;border-radius:12px;background:#121827}
.video-example-structure h3{font-size:14px;margin-bottom:8px}
.video-example-structure .report-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.video-example-structure .report-beat{padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.video-example-structure .report-beat p{font-size:12px}
.video-example-structure .badge{font-size:10px}
.video-example-metrics{display:flex;justify-content:space-between;gap:6px;margin-top:12px}
.video-example-metrics span{display:grid;gap:3px}
.video-example-metrics small{font-size:10px;color:var(--muted)}
.video-example-metrics strong{font-size:15px}
.quality-ring{width:112px;height:112px;border-radius:50%;padding:10px;background:conic-gradient(var(--teal) calc(var(--score)*1%),var(--line) 0);position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0 auto 12px}
.quality-ring:before{content:'';position:absolute;inset:9px;background:var(--solid);border-radius:50%}
.quality-ring>*{position:relative}
.quality-ring strong{font-size:32px;line-height:1.3}
.quality-ring small{font-size:11px;color:var(--muted)}
.video-example-insights h3{font-size:13px}
.video-example-insights p{font-size:12px;line-height:1.55;color:var(--muted);margin-top:10px}
.video-example-actions{padding:16px;display:flex;flex-direction:column;gap:14px}
.video-example-actions h2{font-size:19px}
.video-example-actions .stack{gap:7px}
.video-example-actions .btn{font-size:12px;justify-content:flex-start}
.video-example-actions .page-note{font-size:24px;margin:10px 0 0;align-self:center}
.video-entry .analysis-history-layout{grid-template-columns:1fr}
.video-entry .analysis-history-layout>.analysis-promo{display:none}
.video-entry .history-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.video-entry .history-card .card-header{grid-column:1/-1;margin:0}
.video-entry .history-row{margin:0;gap:7px}
.video-entry .history-row .grow{display:block}
.video-entry .history-row .date{font-size:10px}
.video-entry .history-row .title{font-size:12px}
.video-entry .history-row .badge{font-size:9px;padding:3px 5px}
@media(max-width:1250px){.video-example-grid{grid-template-columns:115px minmax(0,1fr)}.video-example-insights{grid-column:1/-1;display:flex;align-items:center;gap:12px}.quality-ring{width:70px;height:70px;margin:0;flex:none}.quality-ring strong{font-size:22px}.video-example-insights p{margin:0}.video-latest{grid-template-columns:minmax(0,1fr) 240px}.video-example .card-header{flex-wrap:wrap}}
@media(max-width:900px){.video-latest{grid-template-columns:1fr}.video-example-actions .stack{grid-template-columns:1fr 1fr}.video-entry .history-card{grid-template-columns:1fr 1fr}.library-tile .actions{padding-inline-end:88px}.library-tile-footer .btn{min-width:44px;min-height:44px}.library-tile .actions{flex-wrap:wrap}}
@media(max-width:650px){.library-tile .actions{min-height:44px}.analysis-history-layout .history-row .grow{display:block}.video-example-grid{grid-template-columns:1fr}.video-example-grid>video{max-height:340px;height:auto;aspect-ratio:9/16;max-width:230px;margin:auto}.video-example-insights{grid-column:auto}.video-example-actions .stack{grid-template-columns:1fr}.video-entry .history-card{grid-template-columns:1fr}.video-example-structure .report-list{grid-template-columns:1fr}.video-example-metrics{flex-wrap:wrap}.video-benefit-strip .analysis-benefit{display:block}.video-benefit-strip .analysis-benefit .mini-icon{margin-bottom:8px}.video-example .card-header .btn{width:100%}.video-input-row{grid-template-columns:1fr}.video-entry .page-note{max-width:100%}}
.admin-chart-grid{display:grid;grid-template-columns:1fr 1fr .85fr;gap:16px}
.admin-quick-grid{display:grid;gap:8px;margin-top:16px}
.admin-quick-grid .btn{justify-content:flex-start;text-align:start;font-size:13px;gap:10px}
.admin-quick-grid .btn>svg:last-child{margin-inline-start:auto}
.admin-quick-grid .mini-icon{width:30px;height:30px}
.admin-chart-grid .empty{min-height:210px}
.admin-chart-grid .card>h2{font-size:21px}
@media(max-width:1250px){.admin-chart-grid{grid-template-columns:1fr 1fr}.admin-chart-grid>.card:last-child{grid-column:1/-1}.admin-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.admin-chart-grid,.admin-quick-grid{grid-template-columns:1fr}.admin-chart-grid>.card:last-child{grid-column:auto}}
@media(min-width:1101px){.dash-recent .dash-section-heading{min-height:32px;height:32px;margin-bottom:4px}.dash-trends .dash-section-heading{min-height:36px;margin-bottom:4px}.dash-recent .history-time{font-size:9px;line-height:12px}.dash-recent .dash-history-item>div{gap:3px}.dash-recent .dash-history-item .badge{font-size:8px;padding:2px 4px}.dash-recent .dash-history-item strong{width:100%}.dash-recent .history-open{margin-top:0}body[data-page=dashboard] .content{padding-bottom:8px}}
/* Desktop reference balance; content remains free to grow in translated views. */
@media(min-width:1101px){.dash-section-heading h2{line-height:24px;margin:0}.dash-section-heading p{line-height:16px;margin-top:2px}.dash-growth .dash-section-heading{padding-bottom:4px}.dash-trends .dash-section-heading{padding-bottom:2px}.dash-recent .dash-section-heading>div{display:flex;align-items:center;gap:16px}.dash-recent .dash-section-heading p{margin:0}.dash-chart-panel{padding-block:4px}.dash-chart-panel>header{margin-bottom:2px}.dash-platform.youtube .glass-social{height:87px}.dash-platform-art p{margin:3px 0;font-size:12px;line-height:16px}.dash-platform.youtube .btn{min-height:36px;padding:7px 12px}.dash-recent .dash-history-item{padding-block:6px}}
@media(max-width:1024px){.source-item .actions>.btn{width:44px;min-width:44px;height:44px;min-height:44px}.library-tile-footer .btn{min-width:44px;min-height:44px}.source-item>.row:first-child .toggle{min-height:44px}.sidebar nav .nav-link{min-height:44px}}
/* Readable overlays and compact source schedules. */
.feed-card .feed-play .icon,.feed-card .feed-metrics .icon{color:#fff!important;opacity:1}
.feed-author{display:flex;align-items:center;gap:8px;color:var(--accent);font-weight:600;font-size:13px;margin:0 0 6px}
.feed-avatar{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:var(--muted-panel);color:var(--accent)}
.feed-date{font-size:11px;color:var(--muted);margin:4px 0 8px}
.feed-title{font-size:13px;line-height:1.45}
.feed-body{padding:10px 8px 12px;background:var(--panel);border-radius:0 0 16px 16px}
.feed-actions .btn{font-size:12px}
.dash-chart svg text{opacity:1;fill:var(--muted)}
:root[data-theme=dark] .analysis-promo{background-image:linear-gradient(140deg,var(--solid),color-mix(in srgb,var(--purple) 15%,var(--solid)))}
:root[data-theme=dark] .header-search,:root[data-theme=dark] .sidebar-project select,:root[data-theme=dark] .sidebar-plan,:root[data-theme=dark] .sidebar-user{border-color:var(--line)}
@media(min-width:1025px){.source-column .source-item{padding-block:6px}.source-item>.row:first-child .switch{min-height:26px}.source-item>.row:first-child .switch input{height:26px;min-height:26px}.source-item .actions{margin:0}.source-item>[id^=source-schedule] .small{font-size:11px}.source-item .source-title strong{font-size:13px}.analysis-primary .analysis-form{gap:12px}.analysis-primary>.card{padding-block:18px}.analysis-feature-strip .card{padding-block:12px}.analysis-history-layout .history-card{padding-block:12px}.analysis-history-layout .history-row{min-height:46px}.dash-recent{margin-bottom:0}.dash-mini{padding-block:6px}}
/* Profile report: insights first, compact comparable video cohorts. */
.profile-report{gap:14px}
.profile-verdict .actions{display:grid;grid-template-columns:1fr}
.profile-verdict .btn{word-break:normal;overflow-wrap:normal;min-height:44px}
.profile-verdict .button-arrow{flex:none}
.profile-summary{padding:18px}
.profile-cohorts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.profile-cohorts .cohort-layout{display:block}
.profile-cohorts .cohort-media{display:flex;flex-direction:column;gap:8px}
.profile-cohorts .report-video{display:grid;grid-template-columns:92px minmax(0,1fr);gap:4px 8px;align-content:start;padding:8px}
.profile-cohorts .report-video-poster{grid-row:span 4;aspect-ratio:9/13;height:132px;max-height:none}
.profile-cohorts .report-video-poster video{height:100%;aspect-ratio:9/13;max-height:none;object-fit:contain}
.profile-cohorts .report-video h3{margin:0;line-height:1.4}
.profile-cohorts .report-video-score{font-size:12px;inset:4px 4px auto auto;padding:2px 5px}
.profile-cohorts .report-video-metrics{flex-wrap:wrap;justify-content:flex-start;gap:4px 8px}
.profile-cohorts .report-video .btn{min-height:36px;padding:6px;font-size:11px;align-self:end}
.profile-cohorts .cohort-insights{display:block;margin-top:10px;padding:10px}
.profile-cohorts .cohort-insights h3{font-size:12px;margin-bottom:6px}
.profile-cohorts .cohort-reason{margin:0;padding:4px 0;font-size:11px;line-height:1.4}
.profile-cohorts .cohort-reason p{margin:0}
.profile-cohorts .profile-cohort>header h2{font-size:14px}
.profile-cohorts .profile-cohort>header{gap:6px}
.profile-cohorts .profile-cohort{padding:10px}
.billing-layout #token-currency{height:36px;padding:5px 10px;line-height:24px}
.dna-layout>.grid{align-items:start}
.dna-layout .grid.cols2{align-items:start}
@media(min-width:901px) and (max-width:1250px){.profile-summary-grid{grid-template-columns:1fr}.report-profile{grid-template-columns:minmax(0,1.2fr) 1fr}.profile-verdict{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px;align-items:center}.profile-verdict .actions{grid-column:1/-1;grid-template-columns:1fr 1fr}.profile-verdict .report-value{margin:0}.profile-report .report-block-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-report .report-section{padding:14px}.profile-report .report-section h2{font-size:14px}.profile-cohorts .report-video{grid-template-columns:66px minmax(0,1fr)}.profile-cohorts .report-video-poster{height:112px}.profile-cohorts .report-video h3{font-size:11px}.profile-cohorts .report-video .btn{font-size:10px}.profile-cohorts .report-video-metrics{font-size:10px}.profile-cohorts .report-video-metrics .icon{width:11px;height:11px}}
@media(max-width:900px){.profile-cohorts{grid-template-columns:1fr}.profile-cohorts .cohort-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-cohorts .cohort-insights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.profile-cohorts .cohort-insights h3{grid-column:1/-1}.profile-cohorts .cohort-reason{font-size:13px}.profile-cohorts .profile-cohort>header h2{font-size:18px}.profile-cohorts .report-video .btn{min-height:44px;font-size:12px}.billing-layout #token-currency{height:44px}}
@media(max-width:650px){.profile-cohorts .cohort-media,.profile-cohorts .cohort-insights{grid-template-columns:1fr}.profile-cohorts .report-video{grid-template-columns:100px minmax(0,1fr)}.profile-cohorts .report-video h3{font-size:13px}.profile-summary-grid .actions{grid-template-columns:1fr}.profile-report .report-block-grid{grid-template-columns:1fr}}
.video-report{gap:14px}
.video-report>.card{padding:18px 20px}
.video-media-column{display:flex;flex-direction:column;gap:12px;min-width:0}
.video-media-column>.card{padding:14px}
.video-report .video-layout{align-items:start;grid-template-columns:minmax(220px,1fr) minmax(0,1.65fr)}
.video-report .video-layout>.stack{grid-template-columns:1fr;gap:10px}
.video-report .video-report-block{padding:12px 16px}
.video-report .card-header{margin-bottom:8px;min-height:30px;gap:8px}
.video-report .card-header h2{font-size:16px;flex:1}
.video-report .card-header .icon-only{min-height:32px;width:32px;min-width:32px;padding:6px}
.video-report .report-value,.video-report .report-beat{font-size:13px;line-height:1.5}
.video-report .video-preview{max-height:340px;aspect-ratio:1/1;object-fit:contain}
.video-media-column .actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.video-media-column .actions select{grid-column:1/-1;grid-row:2}
.video-media-column .actions .btn{font-size:12px;padding:6px;min-width:0}
.video-secondary{display:grid;grid-template-columns:1.25fr 1fr;gap:12px;align-items:start}
.video-secondary .video-block-structure{grid-column:1/-1}
.video-secondary .report-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.video-secondary .report-beat{padding:8px}
.video-secondary .report-timeline .report-beat{border-inline-start:1px solid var(--line);border-top:2px solid var(--chart);margin-top:2px}
.video-secondary .report-timeline .badge{white-space:normal}
.video-report-block .report-field{display:grid;grid-template-columns:90px 1fr;gap:8px;margin-top:8px}
.video-report-block .report-field h4{font-size:12px;color:var(--muted)}
@media(max-width:1024px){.video-report .card-header .icon-only{width:44px;min-height:44px;min-width:44px}}
@media(max-width:650px){.video-report .video-layout,.video-secondary{grid-template-columns:1fr}.video-report .video-preview{aspect-ratio:9/12;max-height:420px}.video-secondary .report-timeline{grid-template-columns:1fr}.video-secondary .video-block-structure{grid-column:auto}.video-report .report-value,.video-report .report-beat{font-size:14px}.video-report-block .report-field{grid-template-columns:1fr;gap:3px}}
.marketing-nav .brand{white-space:nowrap;flex:none}
.marketing-nav nav a{word-break:normal;overflow-wrap:normal}
.marketing-nav>.row{min-width:0}
@media(min-width:651px) and (max-width:1200px){.marketing-nav{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px 16px}.marketing-nav nav{display:flex;grid-column:1/-1;grid-row:2;justify-content:center;gap:28px}.marketing-nav>.row{justify-content:flex-end;flex-wrap:nowrap}.marketing-nav .brand{font-size:19px}.marketing-nav .btn{font-size:12px}.marketing-nav .language-name{font-size:12px}.marketing-nav nav a{min-height:36px;display:flex;align-items:center}}
.profile-report .report-block-grid{display:block;columns:3;column-gap:12px}
.profile-report .report-block-grid>.report-section{break-inside:avoid;margin:0 0 12px;padding:16px}
.profile-report .profile-summary-grid{align-items:start}
.profile-report .report-block-grid .report-value{line-height:1.45}
.profile-report .report-block-grid .report-beat{padding:7px 9px}
.profile-report .report-block-grid .report-field{margin-top:8px}
.video-secondary .report-timeline{display:block}
.video-secondary .video-block-structure>.report-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.video-secondary .video-block-structure>.report-list>.report-beat{border-top:2px solid var(--chart);border-inline-start:1px solid var(--line)}
@media(max-width:900px){.profile-report .report-block-grid{columns:2}}
@media(max-width:650px){.profile-report .report-block-grid{columns:1}.video-secondary .video-block-structure>.report-list{grid-template-columns:1fr}}
@media(max-width:650px){#notification-settings>.actions .btn{min-width:0!important;max-width:100%;width:100%}}
.dash-chart text{fill:var(--muted);font-size:12px;opacity:1}
@media(max-width:650px){.card-header:has(.notification-tabs){flex-wrap:wrap}.notification-tabs{order:3;flex-basis:100%;min-width:0;overflow-x:auto}#mark-all-read{margin-inline-start:auto;max-width:100%;min-width:0;font-size:12px;padding-inline:8px}}
.filter-sheet-trigger{display:none}
.filter-inline{min-width:0}
.marketing-menu{display:none}
@media(max-width:650px){.filter-inline{display:none}.filter-sheet-trigger{display:flex;min-height:44px;margin:12px 0;width:100%;justify-content:center}.filter-sheet{margin:auto 0 0;width:100%;max-width:100%;max-height:90dvh;border-radius:24px 24px 0 0;padding:20px max(16px,env(safe-area-inset-right,0px)) max(20px,env(safe-area-inset-bottom,0px))}.filter-sheet-content .feed-filters,.filter-sheet-content .library-search-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;border:0;padding:0;background:transparent;box-shadow:none}.filter-sheet-content input,.filter-sheet-content button[type=submit]{grid-column:1/-1}.filter-sheet-content input,.filter-sheet-content select{min-width:0;width:100%}.notifications-layout>.card:has(#notification-settings){order:3}.library-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.library-stat{display:block;padding:10px 8px;min-width:0}.library-stat .mini-icon{width:24px;height:24px;margin-bottom:4px}.library-stat .mini-icon .icon{width:18px;height:18px}.library-stat strong{font-size:22px}.library-stat small{font-size:10px;line-height:1.35;min-height:28px;display:block}.script-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.script-meta-grid>.card{padding:9px;gap:6px}.script-meta-grid .mini-icon{width:24px;height:24px;flex:none}.script-meta-grid .icon{width:18px;height:18px}.script-meta-grid small{font-size:10px}.script-meta-grid strong{font-size:12px}.script-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:14px}.script-result-actions h2{grid-column:1/-1;margin:0 0 4px}.script-result-actions .btn{font-size:11px;padding:8px;min-width:0;min-height:44px}.marketing-menu{display:block;position:relative;margin-inline-start:auto}.marketing-menu summary{display:flex;width:44px;height:44px;align-items:center;justify-content:center;list-style:none;border-radius:12px;cursor:pointer}.marketing-menu summary::-webkit-details-marker{display:none}.marketing-menu[open] summary{background:var(--muted-panel)}.marketing-menu nav{display:flex!important;position:absolute;inset-inline-end:0;top:48px;z-index:60;flex-direction:column;gap:2px;width:230px;max-width:calc(100vw - 40px);padding:8px;border-radius:16px;background:var(--solid);border:1px solid var(--line);box-shadow:var(--shadow)}.marketing-menu nav a{display:flex;align-items:center;min-height:44px;padding:8px 12px;font-size:14px}.marketing-nav>.brand{max-width:calc(100% - 60px)}}
/* Narrow screens keep full words and readable media metrics. Tabs remain swipeable. */
.tabs,.notification-tabs,.admin-tabs{scrollbar-width:none}
.tabs::-webkit-scrollbar,.notification-tabs::-webkit-scrollbar,.admin-tabs::-webkit-scrollbar{display:none}
@media(max-width:650px){.feed-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 4px;gap:7px 4px}.feed-metrics>span{flex-direction:row;justify-content:flex-start;font-size:10px}.feed-metrics .icon{width:14px;height:14px;flex:none}}
@media(max-width:359px){.library-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.library-stat{display:flex;padding:10px;gap:8px;min-height:72px;align-items:center}.library-stat .mini-icon{margin:0;flex:none}.library-stat small{font-size:11px;min-height:0;overflow-wrap:normal;word-break:normal}}
@media(max-width:650px){.script-meta-grid>.card{display:block}.script-meta-grid .mini-icon{margin-bottom:5px}.script-meta-grid small,.script-meta-grid strong{overflow-wrap:normal;word-break:normal}.marketing-nav>.row{width:100%;justify-content:flex-start;flex-wrap:nowrap}.marketing-nav .lang-wrap{flex:none}.marketing-nav .lang-button{min-width:126px!important;width:126px;padding:8px;gap:6px}.marketing-nav .language-name{display:inline!important;max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.marketing-pitch h1{font-size:clamp(32px,9.5vw,40px);letter-spacing:-1.2px}}
@media(max-width:1024px){.script-aside{grid-template-columns:minmax(0,1fr)}}
@media(min-width:1200px){.profile-report>.profile-cohorts{order:1}.profile-report>.report-block-grid{order:4}.profile-report>.report-warnings{order:5}}

/* Reference-led profile report: large media first, analysis beneath. */
@media(min-width:1200px){
 .profile-report .profile-cohorts{grid-template-columns:1fr;gap:14px}
 .profile-report .profile-cohort{padding:14px 16px}
 .profile-report .profile-cohort>header h2{font-size:17px}
 .profile-report .cohort-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(260px,1fr);gap:14px}
 .profile-report .cohort-media{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 .profile-report .report-video{display:block;padding:7px}
 .profile-report .report-video-poster{height:auto;max-height:none;aspect-ratio:16/9}
 .profile-report .report-video-poster video{height:100%;max-height:none;aspect-ratio:16/9;object-fit:cover}
 .profile-report .report-video h3{font-size:13px;margin:7px 0}
 .profile-report .report-video-metrics{flex-wrap:nowrap;justify-content:space-between;font-size:11px}
 .profile-report .report-video .btn{min-height:36px;font-size:12px}
 .profile-report .cohort-insights{display:block;margin-top:0;padding:12px}
 .profile-report .cohort-insights h3{font-size:14px;margin-bottom:8px}
 .profile-report .cohort-reason{font-size:12px;padding:6px 0}
}

/* Content DNA uses the same dense working-card rhythm as the reference. */
.dna-layout{gap:12px}
.dna-layout>.card{padding:16px}
.dna-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dna-account{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.dna-account.connected{box-shadow:inset 0 1px 0 #fff8}
.dna-account-main{display:flex;align-items:center;gap:10px;min-width:0;color:var(--text)}
.dna-account-main>span{display:grid;min-width:0}
.dna-account-main strong,.dna-account-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dna-account-main small{font-size:12px;color:var(--muted)}
.dna-main-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(390px,.85fr);gap:14px;align-items:start}
.dna-main-grid>.card{padding:18px}
.dna-profile-card .badge{white-space:nowrap}
.dna-profile-rows{display:grid;margin-top:10px}
.dna-profile-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:14px;padding:12px 0;border-top:1px solid var(--line)}
.dna-row-label{display:flex;align-items:center;gap:8px;color:var(--text)}
.dna-row-label .icon{width:18px;height:18px;color:var(--purple)}
.dna-row-value{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.dna-row-value p{margin:0;line-height:1.55}
.dna-row-value .report-beat{padding:6px 10px;border-radius:999px;background:var(--muted-panel);font-size:12px}
.dna-settings-card textarea{min-height:76px}
.dna-insight-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}
.dna-insight-grid>.card{padding:15px}
.dna-signal-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.dna-signal-list>div{display:grid;justify-items:center;gap:5px;padding:10px 6px;border-radius:13px;background:var(--muted-panel);text-align:center}
.dna-signal-list small{font-size:11px;color:var(--muted)}
.dna-status{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--panel);color:var(--muted)}
.dna-status.ready{background:color-mix(in srgb,var(--teal) 14%,var(--panel));color:var(--teal)}
.dna-status .icon{width:18px;height:18px}
.dna-best-list{display:grid;gap:7px;margin:12px 0 0;padding:0;list-style:none}
.dna-best-list li{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:8px}
.dna-best-list li>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:color-mix(in srgb,var(--purple) 10%,var(--panel));color:var(--purple);font-weight:800}
.dna-best-list p{margin:0;font-size:13px}
.dna-use-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.dna-use-grid a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;min-height:44px;padding:9px 10px;border-radius:12px;background:var(--muted-panel);color:var(--text)}
.dna-use-grid .icon{width:17px;height:17px;color:var(--purple)}
.dna-disconnect{justify-content:flex-end}
@media(max-width:1100px){.dna-main-grid{grid-template-columns:1fr}.dna-insight-grid{grid-template-columns:1fr 1fr}.dna-insight-grid>.card:last-child{grid-column:1/-1}}
@media(max-width:650px){.dna-account-grid,.dna-insight-grid{grid-template-columns:1fr}.dna-insight-grid>.card:last-child{grid-column:auto}.dna-profile-row{grid-template-columns:1fr;gap:6px}.dna-account{min-height:64px}.dna-use-grid{grid-template-columns:1fr}.dna-signal-list{grid-template-columns:repeat(3,minmax(0,1fr))}.dna-signal-list strong{font-size:12px}}
