/* BULUTTEL Neural UI v2 — a real responsive dashboard, no embedded mock figures. */
:root,[data-theme=dark]{--bg:#040c20;--nav:#05152d;--panel:#081a36;--panel2:#0a2343;--panel3:#0c294b;--border:#214267;--border-bright:#087b9c;--text:#f0f7ff;--muted:#9fb4d2;--dim:#7896b6;--cyan:#12e5f0;--blue:#248dff;--violet:#9457ff;--green:#00dfa6;--orange:#ffad52;--surface:#081a36;--surface-hi:#0d2a4e;--edge:#244366;--title:#f0f7ff;--soft:#b0c5e1;--back-glow:rgba(7,99,197,.15);color-scheme:dark}
[data-theme=light]{--bg:#edf4fc;--nav:#fff;--panel:#fff;--panel2:#f7faff;--panel3:#edf5ff;--border:#cfdded;--border-bright:#38aaca;--text:#102a48;--muted:#526b88;--dim:#607995;--cyan:#007f99;--blue:#176ed1;--violet:#7047bc;--green:#087f67;--orange:#bd6719;--surface:#fff;--surface-hi:#f0f7ff;--edge:#ccdded;--title:#142f4c;--soft:#47647e;--back-glow:rgba(8,123,190,.08);color-scheme:light}
body{font-family:Vazirmatn,'Segoe UI',Tahoma,sans-serif;font-size:13px;line-height:1.75;color:var(--text);background:radial-gradient(ellipse at 54% -150px,var(--back-glow),transparent 65%),var(--bg);transition:background-color .25s,color .25s}
body:before{opacity:.08}.site-shell{direction:rtl}.site-main{min-width:0}.content{max-width:1850px;padding:13px clamp(14px,1.7vw,27px) 5px}.site-footer{color:var(--muted)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.sidebar{flex-basis:210px;padding:15px 12px 19px;background:linear-gradient(160deg,var(--nav),var(--nav));border-color:var(--edge);box-shadow:-5px 0 25px #00000010}.brand{padding:0 7px 24px;gap:10px}.brand-mark{width:43px;height:43px;border-radius:12px;font-size:24px;background:linear-gradient(125deg,#0efbd6,#008dd9)}.brand-text strong{font-size:18px}.nav-stack{gap:6px}.nav-item{font-size:12px;font-weight:750;padding:11px 12px;min-height:43px;color:var(--muted)}.nav-item svg{width:22px;height:22px}.nav-overline{color:var(--dim);font-size:10px;margin:6px 11px 9px}.side-bottom{border-color:var(--edge)}.sidebar-note{font-size:9px;color:var(--muted)}
.topbar{height:65px;position:relative;gap:14px;background:var(--nav);border-color:var(--edge);padding:0 clamp(14px,1.6vw,24px)}.topbar-start,.topbar-end{gap:9px}.top-status{display:flex;gap:7px}.top-status-chip{display:flex;gap:7px;align-items:center;white-space:nowrap;font-size:10px;font-weight:700;padding:5px 10px;background:var(--surface-hi);color:var(--soft);border:1px solid var(--edge);border-radius:20px}.top-status-chip.okay{color:var(--green)}.top-status-chip.offline{color:var(--orange)}.top-status-chip.offline .pulse-dot{background:var(--orange);box-shadow:0 0 8px var(--orange)}.top-status-chip.muted-chip .pulse-dot{background:var(--muted);box-shadow:none}.global-search{height:39px;flex:1 1 380px;max-width:485px;background:var(--surface-hi);border:1px solid var(--edge);color:var(--muted)}.global-search input{font-size:11px;color:var(--text)}.global-search input::placeholder{color:var(--dim)}.icon-button{width:35px;height:35px;min-width:35px;border-color:var(--edge);background:var(--surface-hi);color:var(--soft)}.icon-button:hover{color:var(--cyan);border-color:var(--cyan)}.profile-chip{display:flex;align-items:center;gap:8px;color:var(--text);white-space:nowrap;font-size:11px;font-weight:700}.profile-chip small{display:block;font:10px/1.3 Arial,Tahoma,sans-serif;color:var(--muted);direction:ltr}.profile-avatar{width:33px;height:33px;border:1px solid var(--cyan);border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#0e6485,#162c62);color:#bcfffa;font:800 15px Arial}.status-toggle{position:relative}.status-popover,.theme-menu{position:absolute;z-index:75;background:var(--surface);border:1px solid var(--edge);border-radius:12px;box-shadow:0 18px 48px #0006;padding:7px;min-width:158px;color:var(--text)}.theme-control{position:relative}.theme-toggle{font-size:20px}.theme-menu{left:0;top:43px}.theme-menu button{display:block;text-align:right;background:transparent;color:var(--text);border:1px solid transparent;padding:8px 10px;border-radius:8px;width:100%;font-size:11px}.theme-menu button:hover,.theme-menu button.active{background:var(--surface-hi);color:var(--cyan);border-color:var(--border-bright)}.status-popover{top:57px;left:85px;width:255px;padding:15px;font-size:11px}.status-popover p{color:var(--muted);margin:8px 0}.status-popover a{color:var(--cyan)}
.hero-banner.neural-hero{height:146px;margin:0 0 13px;padding:17px 27px;border-radius:16px;border-color:#0f91c3;background:radial-gradient(ellipse at 55% 10%,#104d96 0,transparent 51%),linear-gradient(115deg,#041630,#071943 58%,#071d43);box-shadow:inset 0 0 36px #0287f522,0 4px 15px #0003}.neural-hero .hero-art{left:0;width:31%;background:linear-gradient(270deg,#071943 0,transparent 31%),url('ai-hero.webp') center 42%/cover no-repeat;mask-image:linear-gradient(90deg,#000 61%,transparent 100%);opacity:1}.neural-hero .hero-copy{max-width:55%;margin-right:0}.neural-hero .hero-meta{margin-bottom:3px;color:#91bce9;font-size:9px;letter-spacing:.7px}.neural-hero .hero-copy h1{font-size:clamp(25px,2.25vw,33px);font-weight:900;color:#fff;margin:0 0 1px;line-height:1.52}.neural-hero .hero-copy>p{font-size:11px;color:#46dbf1;margin:0 0 12px}.neural-hero .hero-status{gap:6px}.neural-hero .status-pill{font-size:9px;padding:3px 8px}.neural-hero .hero-mesh{height:100%;width:50%;bottom:-59%;left:24%;opacity:.95;border-color:#01d5f0;transform:rotate(-11deg);animation:meshFloat 9s ease-in-out infinite alternate}.hero-quote{z-index:2;position:absolute;top:42px;left:24%;max-width:29%;text-align:center;display:grid;gap:3px;color:#c8e3ff}.hero-quote strong{font-size:clamp(12px,1.2vw,17px);font-weight:850}.hero-quote span{font-size:10px;color:#98bfe6}.hero-quote strong::first-letter{color:#76edff}
.cloud-notice{background:color-mix(in srgb,var(--orange) 9%,var(--surface));color:var(--orange);border-color:color-mix(in srgb,var(--orange) 45%,var(--surface));margin:9px 0;padding:7px 12px;font-size:11px}
/* Five cards with restrained neon edges. */
.stat-grid.neural-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-bottom:12px}.neural-stats .stat-card{min-height:116px;padding:12px 13px;box-shadow:inset 0 0 22px rgba(var(--tone-rgb),.07),0 0 12px rgba(var(--tone-rgb),.055);background:radial-gradient(ellipse at 0 100%,rgba(var(--tone-rgb),.15),transparent 67%),var(--surface);border-radius:12px}.neural-stats .stat-name{color:var(--soft);font-size:10px}.neural-stats .stat-icon{height:36px;width:36px;border-radius:10px}.neural-stats .stat-icon svg{height:19px;width:19px}.neural-stats .stat-value{font:900 clamp(22px,2.1vw,30px)/1.45 Vazirmatn,Tahoma,sans-serif;color:var(--text);margin:1px 0 0}.neural-stats .stat-caption{font-size:9px;color:var(--muted);position:relative;z-index:1}.metric-ornament{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:3px;height:13px;color:var(--tone);opacity:.85}.metric-ornament svg{flex:1;width:95px;height:15px;stroke:var(--tone);fill:none;stroke-width:1.9;filter:drop-shadow(0 0 5px var(--tone))}.metric-ornament i{width:34px;height:9px;opacity:.5;background:repeating-linear-gradient(90deg,rgba(var(--tone-rgb),.8) 0 2px,transparent 2px 5px);mask-image:linear-gradient(to top,#000,transparent)}
/* Dashboard: same visual zones as reference. */
.neural-middle{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(320px,.98fr);gap:12px;margin-bottom:12px}.neural-bottom{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.95fr) minmax(0,1fr);gap:12px}.neural-middle>*,.neural-bottom>*{min-width:0}.neural-middle .surface,.neural-bottom .surface{grid-column:auto;padding:12px;border:1px solid var(--edge);border-radius:13px;background:linear-gradient(152deg,var(--surface-hi),var(--surface) 43%);box-shadow:inset 0 1px #ffffff08,0 5px 19px #00000011}.neural-middle .section-heading,.neural-bottom .section-heading{align-items:center;margin:0 0 10px;min-height:22px;display:flex;justify-content:space-between;gap:12px}.neural-middle .section-heading h2,.neural-bottom .section-heading h2{font-size:13px;color:var(--title);margin:0;font-weight:850}.neural-middle .section-heading a,.neural-bottom .section-heading a{font-size:10px}.neural-middle .recent-section{min-height:307px}.neural-middle .experts-section{min-height:307px}.neural-bottom .surface{min-height:244px}.neural-middle .table-scroll{max-width:100%;overflow:auto}.neural-calls{font-size:10px;color:var(--text);table-layout:auto}.neural-calls thead{background:var(--surface-hi)}.neural-calls th{font-size:9px;padding:7px 8px;color:var(--muted);border-color:var(--edge)}.neural-calls td{padding:7px 8px;color:var(--soft);border-color:var(--edge);line-height:1.55}.neural-calls tbody tr:hover{background:color-mix(in srgb,var(--cyan) 8%,transparent)}.neural-calls td.latin{direction:ltr;text-align:right;font:11px/1.7 Vazirmatn,Tahoma,sans-serif}.neural-calls .row-number{color:var(--dim)}.neural-calls .phone-number{font-weight:700;color:var(--text)}.kind-pill{font-size:9px;border-radius:30px;padding:2px 9px;border:1px solid #048d754d;background:#008f7050;color:#59f8d2}.kind-pill.outbound{background:#0062c546;border-color:#1689ff6a;color:#80c3ff}.tag{font-size:9px}.agent-inline{display:flex;gap:6px;align-items:center}.small-agent-avatar{height:23px;width:23px;display:grid;place-items:center;background:var(--surface-hi);border:1px solid var(--edge);border-radius:50%;color:var(--cyan);font-size:9px}.circle-action{width:23px;height:23px;display:grid;place-items:center;color:var(--cyan);background:var(--surface-hi);border:1px solid var(--border-bright);border-radius:50%}.circle-action svg{height:12px;width:12px}.circle-action:hover{box-shadow:0 0 12px #00dafa66}.panel-note{font-size:9px;color:var(--muted);margin-top:9px}.neural-agents{display:grid;gap:7px}.agent-card{display:flex;align-items:center;gap:10px;padding:9px 8px;min-height:70px;background:var(--surface-hi);border:1px solid var(--edge);border-radius:10px;transition:transform .18s,border-color .18s}.agent-card:hover{transform:translateY(-2px);border-color:var(--cyan)}.agent-ident{display:flex;align-items:center;gap:7px;min-width:0;flex:1 1 115px}.agent-avatar{display:grid;place-items:center;min-width:33px;width:33px;height:33px;border-radius:50%;background:linear-gradient(135deg,#125c7b,#183e8d);border:1px solid #16d8de;color:white;font-size:10px;font-weight:850}.agent-ident strong{display:block;font-size:10px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agent-ident small{display:block;color:var(--muted);font-size:8px}.agent-stat{display:grid;min-width:49px;text-align:center;border-right:1px solid var(--edge);padding-right:5px}.agent-stat b{font-size:12px;color:var(--title)}.agent-stat small{font-size:8px;color:var(--muted)}.agent-ring{--pct:0%;min-width:52px;height:52px;width:52px;border-radius:50%;background:conic-gradient(var(--cyan) var(--pct),var(--edge) var(--pct));display:grid;place-content:center;position:relative;text-align:center;isolation:isolate;line-height:1.3}.agent-ring:before{content:'';position:absolute;inset:5px;background:var(--surface-hi);border-radius:50%;z-index:-1}.agent-ring b{font:800 10px Vazirmatn,Tahoma,sans-serif}.agent-ring small{font-size:6px;color:var(--muted);max-width:38px}.neural-agents+.panel-note{margin-top:8px}
.neural-analysis-list{display:grid;gap:7px}.analysis-row{display:flex;align-items:center;gap:8px;border-radius:9px;border:1px solid var(--edge);padding:8px;background:var(--surface-hi);min-height:58px;transition:border-color .18s,transform .18s}.analysis-row:hover{border-color:var(--cyan);transform:translateY(-1px)}.analysis-row-icon{width:33px;min-width:33px;height:33px;display:grid;place-items:center;color:#54bfff;background:#1255937b;border-radius:8px}.analysis-row-icon.variant-1{color:#f7ac6a;background:#82401555}.analysis-row-icon.variant-2{color:#a997ff;background:#51349477}.analysis-row-copy{min-width:0;flex:1}.analysis-row-copy strong{display:block;font-size:10px;color:var(--title);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.analysis-row-copy small{font-size:9px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.analysis-row-time{font-size:8px;color:var(--dim);max-width:65px;white-space:normal;text-align:center}.panel-select{border:1px solid var(--edge);border-radius:8px;padding:4px 7px;color:var(--muted);font-size:9px}.distribution-top{display:flex;align-items:center;gap:17px;justify-content:center;margin:6px auto 4px}.neural-donut{width:116px;min-width:116px;height:116px;border-radius:50%;background:conic-gradient(#03e2a6 var(--portion),#f7a558 var(--portion) 100%);display:grid;place-items:center;box-shadow:0 0 20px #09cbaa22;animation:ringShow .8s ease-out backwards}.neural-donut>div{display:grid;place-content:center;text-align:center;width:88px;height:88px;border-radius:50%;background:var(--surface);line-height:1.4}.neural-donut strong{font:900 25px Vazirmatn,Tahoma,sans-serif;color:var(--title)}.neural-donut small{font-size:9px;color:var(--muted)}.distribution-legend{display:grid;gap:10px;font-size:10px;flex:1}.distribution-legend>span{display:flex;align-items:center;gap:6px;color:var(--soft)}.distribution-legend b{margin-right:auto;color:var(--text)}.distribution-legend small{font-size:8px;color:var(--muted)}.key{display:inline-block;min-width:8px;height:8px;border-radius:50%;margin-left:3px}.key.green{background:#03e2a6}.key.amber{background:#f7a558}.weekly-chart{margin-top:9px}.weekly-chart .cloud-empty{padding:9px;font-size:9px}.trend-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;height:69px;border-bottom:1px solid var(--edge);padding-top:2px}.trend-day{display:flex;flex-direction:column;justify-content:end;align-items:center;gap:3px}.bar-pair{height:49px;width:100%;display:flex;justify-content:center;align-items:end;gap:3px}.bar-pair i{width:8px;border-radius:4px 4px 1px 1px;min-height:1px;animation:growBar .55s ease-out backwards}.bar-pair .answer-bar{background:linear-gradient(#02f0c0,#018ba6)}.bar-pair .review-bar{background:linear-gradient(#fbb35d,#a65e2a)}.trend-day small{color:var(--dim);font-size:8px}.trend-keys{display:flex;gap:12px;color:var(--muted);font-size:8px;margin-top:7px}.incomplete-note{font-size:8px;color:var(--orange);display:block}.sample-section .sample-player{display:flex;align-items:center;gap:10px;background:var(--surface-hi);border:1px solid var(--edge);border-radius:9px;padding:8px}.play-feature{border:1px solid #08bccf;color:var(--cyan);background:#064c69;border-radius:50%;width:35px;height:35px;min-width:35px;display:grid;place-items:center}.play-feature:disabled{opacity:.7;cursor:not-allowed}.play-feature svg{width:17px;height:17px}.sample-wave{display:flex;gap:2px;align-items:center;justify-content:center;height:40px;flex:1}.sample-wave i{height:var(--h);flex:1 1 2px;max-width:4px;background:linear-gradient(var(--cyan),#6b67ed);border-radius:8px;opacity:.72}.sample-player .latin{font-size:9px;color:var(--muted)}.sample-footnote{font-size:8px;margin:4px 0 7px;color:var(--muted)}.sample-tabs{display:flex;gap:5px;margin:4px 0 7px}.sample-tabs button{border:1px solid var(--edge);border-radius:7px;background:var(--surface-hi);color:var(--soft);flex:1;min-height:27px;font-size:9px;white-space:nowrap}.sample-tabs button.selected{border-color:var(--cyan);background:color-mix(in srgb,var(--cyan) 13%,var(--surface));color:var(--cyan);box-shadow:inset 0 0 12px #06cefb22}.sample-body{font-size:10px;color:var(--soft);background:var(--surface-hi);border:1px solid var(--edge);border-radius:9px;padding:10px;min-height:72px;max-height:115px;overflow:auto}.sample-body p{margin:0 0 5px;font-size:10px;line-height:1.9}.sample-body .text-link{font-size:9px}.ai-label{display:inline-block;color:var(--cyan);font-weight:850;margin-left:5px}.transcript-preview{white-space:pre-wrap;line-height:2;max-height:70px;overflow:auto}.sample-empty{text-align:center;color:var(--muted);padding:13px}.sample-empty svg{color:var(--cyan);width:27px;height:27px}.sample-empty strong{display:block;font-size:11px;color:var(--text)}.sample-empty p{font-size:9px;margin:0 0 6px}.dashboard-disclaimer{margin:9px 0;color:var(--muted)}
/* Other routes retain their existing features, but use the same design tokens. */
.surface,.ai-item,.ai-hero{background:var(--surface);border-color:var(--edge);color:var(--text)}.page-header h1,.section-heading h2,.empty-state h3,.analysis-summary h3{color:var(--title)}.page-header p,.section-heading p,.mini-label,.cloud-keyval span{color:var(--muted)}.data-table thead,.expert,.insight,.analysis-summary,.ai-item,.recording-preview,.audio-top{background:var(--surface-hi)}.data-table th{color:var(--muted);border-color:var(--edge)}.data-table td{color:var(--soft);border-color:var(--edge)}.data-table tbody tr:hover{background:color-mix(in srgb,var(--cyan) 7%,var(--surface))}.cloud-empty{color:var(--muted);border-color:var(--edge)}.cloud-mini{color:var(--muted)}.expert-name strong,.audio-meta strong{color:var(--text)}.expert-metrics,.audio-meta small,.expert-name small,.insight-body small{color:var(--muted)}.cloud-keyval{border-color:var(--edge)}.cloud-filter input,.cloud-filter select,.login-card input,.cloud-field{background:var(--surface-hi);border-color:var(--edge);color:var(--text)}.cloud-filter button,.btn-outline{background:var(--surface-hi);border-color:var(--edge);color:var(--cyan)}.login-cover{background:radial-gradient(ellipse at 50% -10%,var(--surface-hi),var(--bg) 72%)}.login-card{background:var(--surface);color:var(--text);border-color:var(--border-bright)}.login-card h1{color:var(--text)}.login-card p,.login-card label{color:var(--muted)}.transcript,.prewrap{color:var(--text)}.expert-avatar{color:white}.topic-track{background:var(--edge)}
/* Light option keeps the same structure but replaces neon black surfaces with airy ones. */
[data-theme=light] .sidebar{box-shadow:-8px 0 30px #0b426311}[data-theme=light] .sidebar:before{opacity:.05}[data-theme=light] .nav-item:hover{color:var(--cyan);background:#dff4fb}[data-theme=light] .nav-item.active{color:#006d90;background:linear-gradient(90deg,#d7f7f9,#e7efff);text-shadow:none;border-color:#4abfd0;box-shadow:inset 0 0 18px #2ec7db19}[data-theme=light] .topbar{background:#fff}[data-theme=light] .global-search{background:#f3f8ff}[data-theme=light] .global-search input::placeholder{color:#68829b}[data-theme=light] .neural-stats .stat-card{background:radial-gradient(ellipse at 0 100%,rgba(var(--tone-rgb),.13),transparent 66%),#fff}[data-theme=light] .neural-middle .surface,[data-theme=light] .neural-bottom .surface{background:linear-gradient(145deg,#fff,#f9fcff 85%);box-shadow:0 4px 20px #133f5910}[data-theme=light] .neural-calls .tag-neutral{color:#426080}[data-theme=light] .neural-calls td{color:#294865}[data-theme=light] .kind-pill.inbound{color:#08735e;background:#d9f7ed}[data-theme=light] .kind-pill.outbound{color:#1764b4;background:#e1efff}[data-theme=light] .agent-card,[data-theme=light] .analysis-row,[data-theme=light] .sample-body,[data-theme=light] .sample-player{background:#f5faff}[data-theme=light] .neural-donut>div,[data-theme=light] .agent-ring:before{background:#fff}[data-theme=light] .data-table td{color:#294865}[data-theme=light] .tag-success{color:#08745b;background:#dcf9ed}[data-theme=light] .tag-warning{color:#a85b13;background:#fff0db}[data-theme=light] .tag-blue{color:#2169b8;background:#e2f0ff}[data-theme=light] .tag-neutral{color:#48637f;background:#e9eff7}[data-theme=light] .cloud-pill{background:#daf6ea;color:#087e63}[data-theme=light] .cloud-pill.warn{background:#fff0e0;color:#b46824}[data-theme=light] .theme-menu{box-shadow:0 18px 40px #12395727}[data-theme=light] .hero-quote,[data-theme=light] .neural-hero .hero-copy h1{color:#fff}
/* Motion is subdued, never blocks reading or interaction. */
@keyframes meshFloat{from{transform:rotate(-11deg) translateX(-5px)}to{transform:rotate(-10deg) translateX(7px)}}@keyframes ringShow{from{filter:brightness(.5);transform:scale(.93)}to{filter:brightness(1);transform:scale(1)}}@keyframes growBar{from{transform:scaleY(.15);transform-origin:bottom}to{transform:scaleY(1);transform-origin:bottom}}@keyframes panelIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.neural-middle>.surface,.neural-bottom>.surface{animation:panelIn .4s ease-out both}.neural-stats>.stat-card{animation:panelIn .38s ease-out both}.neural-stats>.stat-card:nth-child(2){animation-delay:.045s}.neural-stats>.stat-card:nth-child(3){animation-delay:.09s}.neural-stats>.stat-card:nth-child(4){animation-delay:.135s}.neural-stats>.stat-card:nth-child(5){animation-delay:.18s}.pulse-dot{animation:glowPulse 3s infinite}@keyframes glowPulse{50%{box-shadow:0 0 15px currentColor}}.stat-card:hover,.neural-middle .surface:hover,.neural-bottom .surface:hover{transition:transform .2s,border-color .2s;}.neural-middle .surface:hover,.neural-bottom .surface:hover{border-color:var(--border-bright)}
/* Fluid layouts */
@media(max-width:1370px){.stat-grid.neural-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.neural-middle{grid-template-columns:minmax(0,1.6fr) minmax(305px,1fr)}.neural-bottom{grid-template-columns:repeat(2,minmax(0,1fr))}.sample-section{grid-column:1/-1!important}.top-status-chip{font-size:9px;padding:5px 7px}.hero-quote{left:22%}}
@media(max-width:1100px){.sidebar{flex-basis:190px}.neural-middle{grid-template-columns:1fr}.neural-middle .experts-section{min-height:0}.neural-agents{grid-template-columns:repeat(2,minmax(0,1fr))}.neural-hero .hero-quote{display:none}.neural-hero .hero-copy{max-width:75%}.top-status{display:none}.neural-stats .stat-name{font-size:9px}}
@media(max-width:790px){.sidebar{width:250px;flex-basis:auto}.mobile-menu{display:grid}.content{padding:12px}.topbar{gap:8px}.global-search{max-width:none}.profile-chip{display:none}.hero-banner.neural-hero{height:150px}.neural-hero .hero-copy{max-width:85%}.neural-hero .hero-art{width:40%;opacity:.5}.stat-grid.neural-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.neural-stats>.stat-card:last-child{grid-column:1/-1}.neural-bottom{grid-template-columns:1fr}.sample-section{grid-column:auto!important}.neural-agents{grid-template-columns:1fr}.neural-middle .recent-section{min-height:0}}
@media(max-width:520px){.content{padding:10px}.topbar{height:61px;padding:0 10px}.topbar .global-search{min-width:0;max-width:none;flex-basis:100px}.global-search input{font-size:10px}.status-toggle{display:none}.hero-banner.neural-hero{height:165px;padding:14px}.neural-hero .hero-copy{max-width:100%}.neural-hero .hero-copy h1{font-size:23px}.neural-hero .hero-copy>p{font-size:10px;max-width:74%}.neural-hero .hero-art{width:57%;opacity:.26}.neural-hero .hero-meta{font-size:8px}.neural-stats .stat-card{min-height:119px}.neural-stats .stat-value{font-size:27px}.neural-middle .surface,.neural-bottom .surface{padding:10px}.neural-calls{min-width:660px}.agent-card{gap:6px}.agent-stat{min-width:40px}.agent-ring{min-width:46px;width:46px;height:46px}.analysis-row-time{display:none}.neural-bottom .surface{min-height:0}.distribution-top{justify-content:start}.logout-button{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Fine type scale: visual hierarchy matched to the provided RTL reference. */
.sidebar .nav-item{font-size:13px}.neural-stats .stat-name{font-size:11px}.neural-stats .stat-caption{font-size:10px}.neural-middle .section-heading h2,.neural-bottom .section-heading h2{font-size:15px}.neural-middle .section-heading a,.neural-bottom .section-heading a{font-size:11px}.neural-calls th{font-size:10px}.neural-calls td,.neural-calls td.latin{font-size:11px}.agent-ident strong{font-size:11px}.agent-stat b{font-size:13px}.agent-ident small{font-size:9px}.agent-ring b{font-size:11px}.analysis-row-copy strong{font-size:11px}.analysis-row-copy small{font-size:10px}.sample-body p{font-size:11px}.distribution-legend{font-size:11px}.neural-middle .surface,.neural-bottom .surface{min-height:0}.neural-middle .recent-section,.neural-middle .experts-section{min-height:307px}.neural-bottom .surface{min-height:245px}

@media(min-width:791px){.neural-hero .hero-art{width:26.5%}.neural-hero .hero-quote{left:26%;max-width:29%}}
