/* heyARVO · Чистый. One visual system for every screen. */
@font-face{font-family:Inter;src:url("./fonts/Inter-Regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url("./fonts/Inter-Medium.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Inter;src:url("./fonts/Inter-SemiBold.woff2") format("woff2");font-style:normal;font-weight:600 900;font-display:swap}
:root{
  --bg:#fff;--surface:#fff;--surface-soft:#f7f8fa;
  --line:#e4e7eb;--line-strong:#d4d9e0;--ink:#181b23;--muted:#626975;
  --blue:#434c5b;--teal:#434c5b;--violet:#434c5b;--green:#434c5b;
  --amber:#626975;--red:#626975;--shadow:none;--radius:10px;--gap:14px;
}
html{color-scheme:light}
body,body.is-auth-screen{background:var(--bg);color:var(--ink);font:400 14px/1.55 Inter,Arial,sans-serif}
button,input,textarea,select{font:inherit}
button{color:inherit;-webkit-tap-highlight-color:transparent}
:is(button,a,summary,input,textarea,select,[role="button"]):focus-visible{outline:2px solid #434c5b;outline-offset:2px}
h1,h2,h3,h4{color:var(--ink);font-weight:500;letter-spacing:-.025em}
h1{font-size:30px;line-height:1.25}h2{font-size:18px}h3{font-size:16px}h4{font-size:14px}
p{line-height:1.6}

/* Shell, navigation, controls */
.app-shell{grid-template-columns:216px minmax(0,1fr)}
.navigation-backdrop{display:none}
.sidebar{min-height:100vh;padding:22px 13px 18px;background:#fafbfc;border-right:1px solid var(--line);backdrop-filter:none}
.brand{gap:9px;margin:0 8px 36px}
.brand-mark,.auth-brand .brand-mark{width:30px;height:30px;border-radius:8px;background:#434c5b}
.brand-mark::after{width:7px;height:7px;right:6px;top:6px}
.brand strong,.auth-brand strong{font-size:16px;font-weight:600;letter-spacing:-.025em}
.brand span,.auth-brand span{font-size:11px;color:var(--muted)}
.sidebar-section{margin-bottom:24px}
.sidebar-label{margin:0 11px 8px;color:#818894;font-size:10px;font-weight:600;letter-spacing:.08em}
.role-switch{gap:3px;margin:0 6px 20px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}
.role-switch button{padding:7px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:11px;font-weight:500;text-align:center}
.role-switch button.is-active{background:#fff;color:var(--ink);box-shadow:0 1px 3px #181b2314}
.nav{gap:2px}
.nav button{justify-content:flex-start;gap:11px;padding:10px 11px;border-radius:6px;color:#515966;font-size:13px;font-weight:400}
.nav button:hover{background:#f0f2f5}
.nav button.is-active{background:#e9edf2;color:#252c37;box-shadow:none;font-weight:500}
.nav button.is-active .nav-icon{color:#434c5b}
.nav-icon{display:inline-grid;place-items:center;flex:none;width:17px;color:#808894;font-size:17px;font-weight:400;line-height:1}
.nav-divider{height:1px;margin:12px 10px;background:var(--line)}
/* Collapsible navigation: an icon rail on wide screens (narrow screens use the drawer). */
.brand{position:relative}
.sidebar-collapse{margin-left:auto;width:26px;height:26px;padding:0;border:0;border-radius:6px;background:transparent;color:#808894;font-size:16px;line-height:1;cursor:pointer}
.sidebar-collapse:hover{background:#f0f2f5;color:#434c5b}
@media(min-width:901px){
  .app-shell{transition:grid-template-columns .15s ease}
  body.sidebar-collapsed .app-shell{grid-template-columns:58px minmax(0,1fr)}
  body.sidebar-collapsed .sidebar{padding:18px 7px;overflow:hidden}
  body.sidebar-collapsed .brand{flex-direction:column;gap:10px;margin:0 0 26px}
  body.sidebar-collapsed .brand>div:not(.brand-mark),body.sidebar-collapsed .sidebar-label,body.sidebar-collapsed .role-switch,
  body.sidebar-collapsed .nav-label,body.sidebar-collapsed .sidebar-footer{display:none}
  body.sidebar-collapsed .sidebar-collapse{margin:0;transform:scaleX(-1)}
  body.sidebar-collapsed .sidebar-section{margin-bottom:10px}
  body.sidebar-collapsed .nav button{justify-content:center;padding:10px 0}
  body.sidebar-collapsed .nav-divider{margin:10px 8px}
}
@media(max-width:900px){.sidebar-collapse{display:none}}
@media(prefers-reduced-motion:reduce){.app-shell{transition:none}}
.sidebar-footer{padding:14px 8px 0;border-color:var(--line);color:var(--muted);font-size:11px}
.auth-card{margin-top:15px;padding:10px;border-radius:8px;box-shadow:none}
.auth-card strong{color:var(--ink);font-weight:500}
.auth-card button{border-radius:6px;background:var(--surface-soft)}
.workspace{grid-template-rows:auto minmax(0,1fr);min-width:0}
.topbar{position:sticky;top:0;min-height:60px;padding:10px 26px;border-bottom:1px solid var(--line);background:#fff;backdrop-filter:none}
.topbar-title{display:none;color:var(--ink);font-size:14px;font-weight:500}
.ask-chrome-toggle{display:none}
.searchbox{width:min(340px,100%);padding:7px 11px;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:none}
.searchbox>span{color:#8a929d;font-size:20px;line-height:18px}
.searchbox input{font-size:13px}
.topbar-meta{gap:8px}
.period-control{margin-left:0}
.period-summary,.filter-chip{min-height:34px;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:none;color:#434c5b;font-size:12px;font-weight:400}
.period-summary{padding:6px 10px}
.period-summary:hover,.filter-chip:hover{background:var(--surface-soft)}
.period-popover{border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 28px #181b2319}
.filter-chip.is-active{border-color:#aeb5bf;background:#edf0f4;color:#252c37;box-shadow:none;font-weight:500}
.status-dot{background:#737c89}
.content-scroll{padding:27px 30px 48px;background:#fff;overflow:visible}
.content-scroll #view-root{width:100%;max-width:1120px;margin:0 auto}

/* Page hierarchy */
.subnav-bar{margin:0 0 22px;padding:0 0 10px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;box-shadow:none;color:var(--muted)}
.subnav-breadcrumbs,.subnav-breadcrumbs strong{color:#7c838e;font-size:12px;font-weight:400}
.subnav-breadcrumbs strong{color:#434c5b}
.subnav-breadcrumbs button{padding:2px 0;border:0;background:none;color:#626975;font:inherit;text-decoration:underline;text-decoration-color:#c6ccd3;text-underline-offset:3px;cursor:pointer}
.subnav-breadcrumbs button:hover,.subnav-breadcrumbs button:focus-visible{color:var(--ink);text-decoration-color:currentColor}
.subnav-breadcrumbs [aria-current="page"]{color:#434c5b}
.subnav-actions{gap:7px}
.section{margin-top:24px;gap:13px}
.section-head{align-items:baseline}
.section-head h2{font-size:18px;line-height:1.35;font-weight:500;letter-spacing:-.025em}
.view:is([data-view="clients"],[data-view="products"],[data-view="suppliers"])>.section-head h2{font-size:30px;line-height:1.25;letter-spacing:-.035em}
.section-head p{margin-top:8px;color:var(--muted);font-size:13px}
.hero-card{padding:4px 0 8px;border:0;border-radius:0;background:#fff;box-shadow:none;overflow:visible}
.hero-card::after{display:none}
.hero-card h1{max-width:none;font-size:30px;font-weight:500;line-height:1.25;letter-spacing:-.035em}
.hero-card p:not(.eyebrow){max-width:790px;margin-top:9px;color:var(--muted);font-size:14px;line-height:1.6}
.eyebrow{margin:0 0 10px;color:#7c838e;font-size:11px;font-weight:500;letter-spacing:.08em}
.hero-tags{margin-top:16px;gap:7px}
.hero-tags span,.pill,.build-badge,.mode-chip{display:inline-flex;align-items:center;padding:4px 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft);color:#59616d;font-size:11px;font-weight:400;letter-spacing:0;text-transform:none;white-space:nowrap}
.mode-chip:is(.finance,.grow,.price,.watch){border-color:var(--line);background:var(--surface-soft);color:#434c5b}
.card,.panel,.signal-card,.kpi-banner,.mode-card{min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:none}
.panel{padding:18px}
.panel-head{align-items:baseline;margin-bottom:14px}
.panel-head h3{font-size:16px;font-weight:500;letter-spacing:-.02em}
.panel-head p{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.5}
.cards-6,.cards-4,.cards-3,.cards-2,.chart-grid,.signal-grid,.mode-grid{gap:12px}
.metric-card{min-height:115px;padding:15px 17px;border-top:1px solid var(--line)!important}
.metric-card .label{color:var(--muted);font-size:12px}
.metric-card .value{margin-top:8px;color:var(--ink);font-size:24px;font-weight:500;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.metric-card .meta{margin-top:7px;color:#818894;font-size:11px}
.metric-card.has-quality-warning{border-color:#d6d9df;background:#fff}
.metric-card:is(button){width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer}
.metric-card:is(button) .label,.metric-card:is(button) .meta{display:block}
.metric-card:is(button):focus-visible{outline:2px solid #626975;outline-offset:2px}
.metric-trust-warning,.data-quality-disclosure{border:1px solid var(--line);border-radius:6px;background:var(--surface-soft);color:#59616d}
.metric-trust-warning span{color:var(--muted)}
.data-quality-disclosure{padding:10px 13px}
.hint-box,.ask-conversation-scope{padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:#59616d;font-size:12px;line-height:1.55}
.signal-card{min-height:160px;padding:16px;gap:9px}
.signal-card.is-link:hover,.signal-card.is-link:focus-visible,.metric-card.is-link:hover,.rank-item.is-link:hover{transform:none;background:var(--surface-soft);border-color:#c7cdd5;box-shadow:none}
.signal-card .kicker,.mode-card small{color:#818894;font-size:11px;font-weight:500;text-transform:none;letter-spacing:0}
.signal-card .impact,.mode-card strong{font-size:23px;font-weight:500;letter-spacing:-.03em}
.signal-card p,.mode-card p{color:var(--muted)}
.signal-card .footer{color:#818894;font-size:11px}
.mode-card{padding:16px;background:#fff}
.kpi-banner{padding:16px 18px}
.build-badge{flex:none}
.empty-state{padding:24px;border:1px dashed var(--line-strong);border-radius:8px;background:#fff;color:var(--muted)}

/* Tables and drill-down: one full-width registry, then a flat detail section. */
.view:is([data-view="clients"],[data-view="products"],[data-view="suppliers"]).is-active{display:flex;flex-direction:column;gap:20px}
.view:is([data-view="clients"],[data-view="products"],[data-view="suppliers"])>.subnav-bar,
.view:is([data-view="clients"],[data-view="products"],[data-view="suppliers"])>.section{margin:0}
.master-detail{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;height:auto;align-items:start}
.view:is([data-view="clients"],[data-view="products"],[data-view="suppliers"]){min-height:0}
.view:is([data-view="clients"],[data-view="products"],[data-view="suppliers"]) .master-detail{grid-template-columns:minmax(0,1fr);height:auto;align-items:start}
.view:is([data-view="clients"],[data-view="products"],[data-view="suppliers"]) .panel{padding:18px}
.registry-panel{display:block;min-height:0;height:auto}
.view:is([data-view="clients"],[data-view="products"],[data-view="suppliers"]) .registry-panel{display:block;min-height:0;height:auto}
.registry-panel .table-wrap,.view:is([data-view="clients"],[data-view="products"],[data-view="suppliers"]) .registry-panel .table-wrap{height:auto;max-height:min(54vh,510px);overflow:auto}
.table-wrap{max-width:100%;overflow-x:auto;border:0;border-radius:0;background:#fff;scrollbar-width:thin;scrollbar-color:#c7ccd3 #fff}
table,.registry-panel table,.view[data-view="suppliers"] .registry-panel table{width:100%;min-width:0;border-collapse:collapse;font-size:14px;table-layout:auto}
.view[data-view="clients"] .registry-panel table{min-width:1080px}
.view[data-view="products"] .registry-panel table{min-width:1050px}
.view[data-view="suppliers"] .registry-panel table{min-width:950px}
th,td{padding:11px 9px;border-bottom:1px solid var(--line);vertical-align:top}
th:first-child,td:first-child{padding-left:0}
th:last-child,td:last-child{padding-right:0}
th{position:static;background:#fff;color:#7a828d;font-size:14px;font-weight:500;letter-spacing:0;text-transform:none}
td{color:#424a56}
td strong{color:#252b35;font-size:14px;font-weight:500;line-height:1.45;overflow-wrap:anywhere}
tbody tr:hover{background:#f8f9fa}
tbody tr.is-selected{background:#f2f4f6}
.registry-panel td{overflow-wrap:anywhere}
.registry-panel td:nth-child(n+4){font-variant-numeric:tabular-nums;white-space:nowrap}
.view[data-view="clients"] .registry-panel :is(th,td):nth-child(n+4),
.view[data-view="suppliers"] .registry-panel :is(th,td):nth-child(n+4),
.view[data-view="products"] .registry-panel :is(th,td):nth-child(n+2){text-align:right}
.view[data-view="clients"] .registry-panel td:nth-child(3),
.view[data-view="suppliers"] .registry-panel td:nth-child(3){max-width:190px}
.view[data-view="validation"] :is(th,td):first-child{min-width:112px;white-space:nowrap}
.view[data-view="validation"] :is(th,td):nth-child(n+2):nth-child(-n+5){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.view[data-view="validation"] :is(th,td):last-child{min-width:260px;overflow-wrap:anywhere}
.detail-rail{position:static;top:auto;height:auto;align-self:stretch}
.detail-card{display:block;height:auto;max-height:none;overflow:visible}
.detail-card{scroll-margin-top:80px}
.registry-panel,#sales-tighten-terms,#sales-scale-now,#sales-careful-products{scroll-margin-top:80px}
.registry-panel:focus-visible,#sales-tighten-terms:focus-visible,#sales-scale-now:focus-visible,#sales-careful-products:focus-visible{outline:2px solid #626975;outline-offset:2px}
.registry-row-action{display:block;width:100%;padding:0;border:0;background:none;color:#252b35;font:inherit;font-size:14px;font-weight:500;line-height:1.45;text-align:left;overflow-wrap:anywhere;cursor:pointer}
.registry-row-action:hover{text-decoration:underline;text-underline-offset:3px}
.registry-row-action:focus-visible{outline:2px solid #626975;outline-offset:3px}
tbody tr:focus-within{background:var(--surface-soft)}
.view:is([data-view="clients"],[data-view="products"],[data-view="suppliers"]) .detail-rail{position:static;top:auto;height:auto}
.view:is([data-view="clients"],[data-view="products"],[data-view="suppliers"]) .detail-card{display:block;height:auto;max-height:none;overflow:visible}
.detail-card .panel-head{margin-bottom:18px}
.detail-summary{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:9px;padding:0 0 15px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff}
.detail-summary strong{font-size:13px;font-weight:500;letter-spacing:0}
.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:4px 0 18px;border-top:1px solid var(--line)}
.mini-stat,.ask-result-stack .mini-stat{min-width:0;padding:13px 12px 12px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff}
.mini-stat span{display:block;margin-bottom:5px;color:#818894;font-size:11px}
.mini-stat strong{color:var(--ink);font-size:15px;font-weight:500;letter-spacing:-.015em;font-variant-numeric:tabular-nums}
.detail-card .hint-box{margin:14px 0}
.info-list{gap:0}
.info-row{padding:11px 0;border-color:var(--line);color:var(--muted);font-size:12px}
.info-row strong{max-width:65%;color:#303844;font-size:12px;font-weight:500;text-align:right}
.rank-list{gap:0}
.rank-item{border-color:var(--line)}
.rank-item.is-link{margin:0;padding:12px 2px;border-radius:0}
.rank-item.is-link:hover,.rank-item.is-link:focus-visible{background:var(--surface-soft);box-shadow:none;transform:none}
.rank-top strong,.rank-top b{font-size:13px;font-weight:500}
.rank-meta,.share-meta{color:#818894;font-size:11px}
.track,.share-track,.ask-inline-bar__track{height:7px;border-radius:3px;background:#edf0f3}
.track>span,.share-track>span,.share-track>span:is(.red,.green,.amber,.teal,.violet),.ask-inline-bar__track i{border-radius:3px;background:#434c5b}
.share-head strong,.metric-strip-head strong,.share-head span,.metric-strip-head span{font-size:12px;font-weight:500}
.share-head span,.metric-strip-head span{color:var(--muted)}
.bridge-bar,.bridge-bar:is(.positive,.profit,.cost,.stock),.trend-stick{border-radius:5px 5px 0 0;background:#434c5b;box-shadow:none}
.bridge-label,.trend-col span{color:#818894;font-size:11px;font-weight:400;text-transform:none;letter-spacing:0}
.bridge-value,.trend-col strong{font-size:13px;font-weight:500}
.finance-bridge,.trend-bars{min-height:205px}

/* Authentication uses the same white canvas and restrained controls. */
body.is-auth-screen{background:#fff}
.auth-page{padding:22px}
.auth-shell{width:min(940px,100%);grid-template-columns:minmax(0,1fr) minmax(330px,.8fr);gap:0;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:none;overflow:hidden}
.auth-hero,.auth-form-card{min-height:0;border:0;border-radius:0;background:#fff;box-shadow:none;backdrop-filter:none}
.auth-brand .brand-mark{box-shadow:none}
.auth-hero{padding:45px 42px;background:var(--surface-soft)}
.auth-hero::after{display:none}
.auth-brand{margin-bottom:64px}
.auth-hero h1{max-width:440px;color:var(--ink);font-size:35px;font-weight:500;line-height:1.2;letter-spacing:-.035em}
.auth-hero p:not(.eyebrow){margin-top:16px;color:var(--muted);font-size:14px}
.auth-proof-grid{margin-top:42px;gap:12px}
.auth-proof{padding:0;border:0;border-radius:0;background:none}
.auth-proof strong{color:var(--ink);font-weight:500}
.auth-proof span{color:var(--muted)}
.auth-form-card{padding:45px 40px}
.auth-form-card h2{font-size:22px;font-weight:500}
.auth-form-card>p{color:var(--muted)}
.auth-field label{color:#515966;font-weight:500}
.auth-field input{border:1px solid var(--line-strong);border-radius:6px;background:#fff}
.auth-field input:focus{border-color:#434c5b;box-shadow:0 0 0 2px #434c5b1c}
.auth-submit,.auth-submit:hover{border:1px solid #434c5b;border-radius:6px;background:#434c5b;box-shadow:none;color:#fff}
.auth-meta{color:#818894}

/* Research workspace, dialogue, evidence, charts, and history. */
body.is-ask .topbar .searchbox{display:none}
body.is-ask .workspace{display:block;position:relative;height:100dvh}
body.is-ask .topbar{display:none}
body.is-ask .content-scroll{height:100%;padding:0}
body.is-ask #view-root{height:100%;max-width:none}
body.is-ask .ask-shell{display:grid;grid-template-columns:224px minmax(0,1fr);border:0;border-radius:0;background:#fff}
body.is-ask .ask-history-sidebar{display:block;position:relative;inset:auto;align-self:stretch;width:auto;max-width:none;height:100%;padding:17px 10px;border:0;border-right:1px solid var(--line);border-radius:0;background:#fafbfc;box-shadow:none;z-index:auto;overflow:hidden}
body.is-ask .ask-history-drawer,body.is-ask .ask-history-panel{min-height:0}
body.is-ask .ask-history-panel{border:0;background:transparent;box-shadow:none}
body.is-ask .ask-history-close{display:none}
body.is-ask .ask-sidebar-head{padding:0 10px;margin:0 0 14px}
body.is-ask .ask-sidebar-head h3{color:#818894;font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase}
body.is-ask .ask-sidebar-new{margin-bottom:12px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#434c5b;font-size:12px;font-weight:500}
body.is-ask .ask-sidebar-new:hover{background:var(--surface-soft)}
body.is-ask .ask-history-item{padding:9px 10px;border-radius:6px;color:#4d5561}
body.is-ask .ask-history-item:hover{background:#f0f2f5}
body.is-ask .ask-history-item.is-active{background:#e9edf2}
body.is-ask .ask-history-item strong{font-size:12px;font-weight:500}
body.is-ask .ask-history-item small{color:#818894}
body.is-ask .ask-history-backdrop{display:none!important}
body.is-ask .ask-thread-shell,body.is-ask .ask-thread-shell.is-empty{min-width:0;grid-template-rows:auto auto minmax(0,1fr) auto;background:#fff}
body.is-ask .ask-thread-topbar{min-height:60px;padding:12px 24px;border-bottom:1px solid var(--line)}
body.is-ask .ask-thread-topbar__side{min-width:0}
body.is-ask #ask-period-slot{min-width:0;max-width:210px}
body.is-ask #ask-period-slot :is(.period-control,.period-summary){max-width:100%;min-width:0}
body.is-ask #ask-period-slot #period-current-label{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.is-ask .ask-thread-topbar h3{font-size:15px;font-weight:500}
body.is-ask .ask-thread-topbar h3 span{color:#9299a4;font-weight:400}
body.is-ask .ask-mobile-history{display:none}
body.is-ask .ask-icon-button{border-radius:6px;color:#626975}
body.is-ask .ask-icon-button:hover{background:var(--surface-soft);color:#434c5b}
body.is-ask .llm-balance-badge{border-color:var(--line);border-radius:6px;background:#fff;color:var(--muted)}
body.is-ask .ask-history-sidebar .llm-balance-badge{display:flex;margin:0 3px 12px;white-space:normal}
body.is-ask .ask-thread-topbar .llm-balance-badge{display:none}
body.is-ask .llm-balance-badge strong{color:var(--ink)}
body.is-ask .ask-quality-slot{max-width:850px;padding:0 24px}
body.is-ask .data-quality-disclosure{margin:9px 0 0}
body.is-ask .ask-quality-slot .data-quality-disclosure{border:1px solid var(--line);border-radius:6px;background:var(--surface-soft);color:#59616d}
body.is-ask .ask-thread-panel{scrollbar-gutter:stable}
body.is-ask .ask-thread-feed{width:100%;max-width:850px;min-width:0;padding:27px 24px 42px}
body.is-ask .ask-message-user{margin-bottom:22px}
body.is-ask .ask-bubble-user{border:1px solid var(--line);border-radius:10px;background:#f1f3f5;box-shadow:none;color:#303844}
body.is-ask .ask-message-assistant{margin-bottom:38px}
body.is-ask .ask-message-meta{display:flex;gap:9px;align-items:baseline;margin-bottom:10px}
body.is-ask .ask-speaker{color:#434c5b;font-size:12px;font-weight:500}
body.is-ask .ask-human-copy h4,body.is-ask .ask-human-fact-heading{color:var(--ink);font-size:18px;font-weight:500}
body.is-ask .ask-human-body,body.is-ask .ask-human-body p,body.is-ask .ask-prose-paragraph{color:#303844;line-height:1.7}
body.is-ask .ask-prose-heading{color:var(--ink);font-weight:500}
/* Compact reading size: the chat answers and pages carry long text. */
body.is-ask .ask-human-body,body.is-ask .ask-human-body p,body.is-ask .ask-prose-paragraph{font-size:14px;line-height:1.6}
body.is-ask .ask-prose-paragraph,body.is-ask .ask-human-body p{margin:0 0 11px}
body.is-ask .ask-prose-heading{font-size:15px;margin:18px 0 7px}
body.is-ask .ask-human-body strong,body.is-ask .research-el strong{font-weight:600}
body.is-ask .ask-human-copy h4,body.is-ask .ask-human-fact-heading{font-size:15px}
body.is-ask .ask-bubble-user{padding:9px 14px}body.is-ask .ask-bubble-user p{font-size:14px;line-height:1.55}
body.is-ask .ask-narrative-part+.ask-narrative-part{margin-top:14px}
body.is-ask .ask-entity-link{color:#434c5b;text-decoration-color:#aab1bc}
body.is-ask .ask-entity-link:hover{color:var(--ink)}
body.is-ask .ask-fact-value{font-weight:500;text-decoration-color:#aab1bc}
body.is-ask .ask-inline-fact>summary>small{color:#626975}
body.is-ask .ask-inline-fact[open]>summary{border-color:var(--line)}
/* A closed fact's hidden source still forms a block box, which split the
   sentence after inline names ("…ООО / с выручкой"). Remove it while closed. */
body.is-ask .ask-inline-fact:not([open])::details-content{display:none}
body.is-ask .ask-inline-fact__source{border-color:var(--line);border-radius:6px;background:var(--surface-soft);color:#434c5b}
body.is-ask .ask-inline-fact__source dt,body.is-ask .ask-human-copy .ask-inline-fact__source p{color:var(--muted)}
body.is-ask .ask-inline-visual,
body.is-ask .ask-inline-visual:is(.is-bar,.is-column,.is-line,.is-time,.is-metric,.is-table,.is-revenue_sensitivity){border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);box-shadow:none}
body.is-ask .ask-inline-visual.is-published.is-table{border-radius:10px;background:#fff}
body.is-ask .ask-inline-bar__track i,body.is-ask .ask-inline-column__plot i{background:#434c5b}
body.is-ask .ask-inline-line__segment{stroke:#434c5b}
body.is-ask .ask-inline-line__point{background:#434c5b;box-shadow:0 0 0 1px #434c5b}
body.is-ask .ask-client-detail{border-color:var(--line);border-radius:10px;background:#fff}
body.is-ask .ask-client-detail__fact{border-color:var(--line)}
body.is-ask .ask-composer-bar{width:100%;max-width:850px;min-width:0;padding:10px 24px max(14px,env(safe-area-inset-bottom));box-shadow:none}
body.is-ask .ask-composer-form{border:1px solid var(--line-strong);border-radius:10px;box-shadow:none}
body.is-ask .ask-composer-form:focus-within{border-color:#434c5b;box-shadow:0 0 0 2px #434c5b17}
body.is-ask .ask-send-button,body.is-ask .ask-send-button:hover{border-radius:6px;background:#434c5b;color:#fff}
body.is-ask .ask-send-button:disabled{background:#e4e7eb;color:#8a929d}
body.is-ask .ask-composer-hint{color:#818894}
body.is-ask .is-empty .ask-thread-panel{align-items:center}
body.is-ask .is-empty .ask-thread-feed{padding-bottom:28px}
body.is-ask .ask-empty-state h3{font-size:24px;font-weight:500}
body.is-ask .ask-empty-state p{color:var(--muted)}
body.is-ask .ask-empty-actions .filter-chip{border-color:var(--line);color:#434c5b}
body.is-ask .ask-human-body :is(ol,ul){padding-left:1.45em}
body.is-ask .ask-human-body li{padding-left:.3em;margin:0 0 10px}

/* The approved business overview shares all tokens above. */
.business-home{color:var(--ink)}
.business-home :is(h1,h2,h3){font-weight:500;letter-spacing:-.025em}
.business-intro{padding:4px 0 0}
.business-kicker{margin:0 0 10px;color:#7c838e;font-size:11px;font-weight:500;letter-spacing:.08em}
.business-intro h1{margin:0 0 10px;font-size:30px;line-height:1.25}
.business-intro>p:not(.business-kicker){max-width:790px;margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.business-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}
.business-meta span{padding:4px 8px;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:11px}
.business-quality{margin:20px 0 3px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:#59616d;font-size:12px}
.business-quality strong{font-weight:500}
.business-quality ul{display:flex;flex-wrap:wrap;column-gap:25px;row-gap:4px;margin:5px 0 0;padding-left:18px}
.business-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:30px 0 12px}
.business-section-head h2{margin:0;font-size:18px}
.business-section-head>span{color:#818894;font-size:12px}
.business-section-head button{padding:0;border:0;background:none;color:#434c5b;font-size:12px;cursor:pointer}
.business-section-head button:hover{text-decoration:underline}
.business-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.business-metrics--snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}
.business-metric{display:flex;flex-direction:column;min-height:123px;padding:15px 17px;border:1px solid var(--line);border-radius:10px;background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}
.business-metric:hover,.business-metric:focus-visible{border-color:#b8bec7;background:var(--surface-soft)}
.business-metric:focus-visible{outline:2px solid #626975;outline-offset:2px}
.business-metric>span{color:var(--muted);font-size:12px}
.business-metric strong{margin:7px 0 8px;color:var(--ink);font-size:24px;line-height:1.2;font-weight:500;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.business-metric small{margin-top:auto;color:#818894;font-size:11px}
.business-measure-note{margin:10px 0 0;color:#818894;font-size:11px}
.business-findings,.business-recents{border-bottom:1px solid var(--line)}
.business-finding{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:15px;padding:16px 0;border-top:1px solid var(--line)}
.business-finding:hover,.business-finding:focus-within{background:var(--surface-soft)}
.business-finding-index{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);border-radius:50%;color:#818894;font-size:12px}
.business-finding h3{margin:0 0 4px;font-size:15px}
.business-finding p{margin:0 0 3px;color:#434c5b;font-size:13px}
.business-finding p strong{font-weight:500}
.business-finding small{color:#818894;font-size:11px}
.business-finding button,.ask-home-back{min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#434c5b;font-size:12px;cursor:pointer;white-space:nowrap}
.business-finding button::after{content:"";position:absolute;inset:0}
.business-finding button:focus-visible{outline:2px solid #626975;outline-offset:2px}
.mode-card:is(button){display:block;width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer}
.mode-card:is(button):hover,.mode-card:is(button):focus-visible{border-color:#b8bec7;background:var(--surface-soft)}
.mode-card:is(button):focus-visible{outline:2px solid #626975;outline-offset:2px}
.mode-card-description{display:block;color:#6f7988;font-size:13px;line-height:1.5}
.business-finding button:hover,.business-recents button:hover,.ask-home-back:hover{border-color:#b8bec7;background:var(--surface-soft)}
.business-empty{margin:0;padding:17px 0;color:var(--muted);font-size:13px}
.business-recents button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:12px 4px;border:0;border-top:1px solid var(--line);background:#fff;color:#303844;text-align:left;font-size:13px;cursor:pointer}
.business-recents button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.business-recents button small{color:#818894;font-size:11px;white-space:nowrap}
.business-recents p{padding:14px 0;color:#818894;font-size:12px}
.business-footnote{margin:18px 0 30px;color:#818894;font-size:11px}
.business-sources{margin-top:20px;padding:12px 0;border-top:1px solid var(--line);color:#818894;font-size:11px}
.business-sources summary{cursor:pointer;color:var(--muted)}
.business-sources p{margin:8px 0}

@media(max-width:1380px){
  .cards-6{grid-template-columns:repeat(3,minmax(0,1fr))}
  .registry-panel .panel-head{flex-wrap:wrap}
  .registry-panel .panel-head::after{content:"← Прокрутите таблицу →";align-self:end;flex:none;color:#818894;font-size:11px;white-space:nowrap}
}
@media(max-width:1200px){.registry-panel :is(th,td):first-child{min-width:220px}}
@media(max-width:1100px){
  .cards-4,.signal-grid,.mode-grid,.chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.is-ask .ask-shell{display:flex;min-width:0}
  body.is-ask .ask-history-sidebar{display:none;position:absolute;z-index:40;left:8px;top:8px;bottom:8px;align-self:auto;width:min(300px,calc(100% - 16px));max-width:none;height:auto;padding:17px 11px;border:1px solid var(--line);border-radius:8px;background:#fafbfc;box-shadow:0 12px 30px #181b2326}
  body.is-ask.ask-history-open .ask-history-sidebar{display:block}
  body.is-ask.ask-history-open .ask-history-backdrop{display:block!important;position:absolute;z-index:30;inset:0;width:100%;height:100%;border:0;border-radius:0;background:#181b2366}
  body.is-ask .ask-history-close{display:grid}
  body.is-ask .ask-thread-shell{flex:1;min-width:0;width:100%}
  body.is-ask .ask-mobile-history{display:inline-flex}
}
@media(max-width:900px){
  .app-shell{display:block;min-height:100vh}
  .sidebar{display:flex;position:fixed;z-index:81;left:0;top:0;bottom:0;width:min(278px,calc(100vw - 55px));height:100dvh;min-height:0;overflow-y:auto;visibility:hidden;pointer-events:none;transform:translateX(-105%);transition:transform .2s ease,visibility .2s ease;box-shadow:12px 0 35px #181b2322}
  body.ask-navigation-open .sidebar{visibility:visible;pointer-events:auto;transform:translateX(0)}
  body.ask-navigation-open .navigation-backdrop{display:block;position:fixed;z-index:80;inset:0;width:100%;height:100%;border:0;background:#181b2366}
  .workspace{min-height:100vh}
  .topbar{position:sticky;min-height:56px;padding:8px 16px;gap:12px}
  .topbar-title{display:inline;margin-right:auto}
  .ask-chrome-toggle{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:6px;background:#fff;cursor:pointer}
  .content-scroll{padding:22px 18px 36px}
  body.is-ask .workspace{display:grid;height:100dvh;min-height:0;grid-template-rows:56px minmax(0,1fr)}
  body.is-ask .topbar{display:flex;position:sticky;top:0;justify-content:space-between;width:auto;height:56px;min-height:56px;padding:8px 16px;background:#fff}
  body.is-ask .content-scroll{min-height:0;padding:0}
  body.is-ask #view-root{height:100%}
  body.is-ask .ask-shell{display:flex;height:100%;min-height:0}
  body.is-ask .ask-thread-shell{flex:1}
  body.is-ask .ask-history-sidebar .llm-balance-badge{display:none}
  body.is-ask .ask-thread-topbar .llm-balance-badge{display:flex}
  body.is-ask .ask-thread-topbar{min-height:53px;padding:8px 16px}
}
@media(max-width:760px){
  .cards-6,.cards-4,.cards-3,.cards-2,.signal-grid,.mode-grid,.chart-grid{grid-template-columns:1fr}
  .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .subnav-bar{flex-direction:column;align-items:flex-start}
  .business-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .business-metrics:not(.business-metrics--snapshot) .business-metric:last-child{grid-column:1/-1}
  .business-finding{grid-template-columns:28px minmax(0,1fr);align-items:start;gap:10px}
  .business-finding button{grid-column:2;justify-self:start}
  .business-quality ul{display:block}
}
@media(max-width:600px){
  .topbar{flex-wrap:wrap}
  .topbar .searchbox{display:flex;order:3;flex:1 0 100%;width:100%}
  body.is-ask .topbar .searchbox{display:none}
  .topbar-meta{flex:0 1 auto;min-width:0;margin-left:0}
  .period-control{max-width:min(55vw,220px)}
  .period-summary{min-width:0;max-width:100%;padding:6px 8px}
  .period-summary span:not(.period-chevron){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .period-popover{right:-6px;max-width:calc(100vw - 20px)}
  .content-scroll{padding:18px 12px 30px}
  .hero-card h1,.business-intro h1{font-size:26px}
  .panel{padding:16px}
  .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .auth-page{padding:12px}
  .auth-shell{display:block;border-radius:8px}
  .auth-hero{padding:28px 24px 22px}
  .auth-brand{margin-bottom:30px}
  .auth-hero h1{font-size:29px}
  .auth-proof-grid{display:none}
  .auth-form-card{padding:28px 24px;border-top:1px solid var(--line)}
  body.is-ask .ask-thread-topbar{padding:6px 12px}
  body.is-ask .ask-thread-topbar h3{font-size:14px}
  body.is-ask .ask-thread-feed{padding:18px 15px 26px}
  body.is-ask .ask-quality-slot{padding:0 12px}
  body.is-ask .ask-composer-bar{padding:8px 12px max(10px,env(safe-area-inset-bottom))}
  body.is-ask .ask-composer-hint{font-size:10px}
  body.is-ask .ask-empty-state{padding-top:0}
  body.is-ask .ask-empty-state h3{font-size:21px}
  body.is-ask .ask-empty-actions{gap:6px}
  body.is-ask .ask-empty-actions .filter-chip{font-size:11px}
  .business-metric{min-height:110px;padding:13px}
  .business-metric strong{font-size:21px}
}
@media(max-width:440px){
  .business-metrics{grid-template-columns:1fr}
  .business-metrics:not(.business-metrics--snapshot) .business-metric:last-child{grid-column:auto}
  .business-section-head{align-items:start}
  .business-section-head>span{text-align:right}
}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}

/* One durable analytical application stays in the dialogue that created it. */
.research-app{margin:0 0 24px;padding:25px 27px;border:1px solid var(--line);border-radius:11px;background:var(--surface);box-shadow:0 3px 16px rgba(23,31,45,.035);min-width:0}
.research-app__header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:17px;border-bottom:1px solid var(--line)}
.research-app__eyebrow{display:block;color:var(--muted);font-size:12px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:6px}
.research-app__header h2{font-size:22px;font-weight:500;line-height:1.3;letter-spacing:-.5px;margin:0}
.research-app__status{white-space:nowrap;color:var(--muted);font-size:12px;border:1px solid var(--line);border-radius:5px;padding:5px 8px}
.research-app__controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:17px 0 6px}
.research-app__controls label,.research-app__table-tools label{display:grid;gap:5px;color:var(--muted);font-size:12px}
.research-app__controls select,.research-app__table-tools input{min-height:37px;padding:7px 9px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font:inherit}
.research-app__controls button,.research-app__table-tools button{min-height:37px;padding:7px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font:inherit;cursor:pointer}
.research-app__controls button:hover,.research-app__table-tools button:hover{background:var(--surface-soft)}
.research-app__period{display:grid;gap:5px;color:var(--muted);font-size:12px}
.research-app__period strong{min-height:37px;display:flex;align-items:center;color:var(--text);font-size:14px;font-weight:500}
.research-app__compare{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:var(--muted);font-size:12px}
.research-app__compare>span{margin-right:3px}
.research-app__compare .filter-chip{min-height:0;width:auto;padding:5px 10px;font-size:12px;line-height:1.35;text-align:left}
/* Research page composed of its own elements; numbers come from verified facts. */
.research-app.is-elements .research-app__header h2{font-size:17px;line-height:1.35;font-weight:500}
.research-app__elements{display:grid;gap:6px;margin-top:14px}
.research-el{position:relative;min-width:0;padding:12px 14px;border-radius:8px}
.research-el:hover,.research-el:focus-within{background:var(--surface-soft)}
.research-el p,.research-el li{font-size:14px;line-height:1.55;color:var(--text);margin:0}
.research-el h3{font-size:14px;font-weight:600;margin:0 0 6px;color:var(--ink)}
.research-el ul{margin:0;padding-left:19px;display:grid;gap:4px}
.research-el--heading{padding-bottom:0}
.research-el.is-focused{background:#eef1f5;box-shadow:inset 3px 0 0 #465364}
.research-el.is-updated{box-shadow:inset 3px 0 0 #8fa3bd}
.research-chart{display:grid;gap:6px;max-width:620px}
.research-el__tools{position:absolute;top:8px;right:10px;display:flex;gap:10px;align-items:flex-start;opacity:0;transition:opacity .12s}
.research-el:hover .research-el__tools,.research-el:focus-within .research-el__tools{opacity:1}
@media(hover:none),(max-width:800px){.research-el__tools{opacity:1;position:static;justify-content:flex-end;margin-bottom:4px}}
.research-el__ask,.research-el__source summary{border:0;background:none;padding:0;color:#465364;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:2px;cursor:pointer;list-style:none}
.research-el__source summary::-webkit-details-marker{display:none}
.research-el__source[open]{position:absolute;right:0;top:20px;z-index:3;width:min(360px,80vw);padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 6px 22px rgba(20,28,40,.12)}
.research-el__source[open] summary{margin-bottom:6px}
.research-el__source ul{list-style:none;padding:0;gap:8px}
.research-el__source li{font-size:12px;line-height:1.45;color:var(--text)}
.research-el__source li span{color:var(--muted)}
.research-fact{font-weight:600;border-bottom:1px dotted #8794a8;cursor:help}
.research-fact.is-qualified{border-bottom-style:dashed}
.research-metric{display:grid;gap:3px;max-width:520px}
.research-metric__label{color:var(--muted);font-size:13px}
.research-metric__entity{font-size:14px;font-weight:500;color:var(--ink)}
.research-metric__value{font-size:22px;font-weight:600;line-height:1.2;color:var(--ink)}
.research-metric__period{color:var(--muted);font-size:13px}
.research-metric__compare{display:grid;gap:6px;margin-top:10px}
.research-metric__bar{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:10px;font-size:12px;color:var(--muted)}
.research-metric__bar i{display:block;height:10px;border-radius:3px;background:#465364}
.research-metric__bar.is-base i{background:#b6becb}
.research-metric__bar b{font-weight:500;color:var(--text)}
.research-metric__change{margin-top:8px;font-size:13px;font-weight:500;color:#2f6b45}
.research-metric__change.is-down{color:#a3412f}
/* Comparison card: current period, compared period and difference side by side, one value size. */
.research-metric.is-comparison{max-width:640px;gap:8px}
.research-compare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:8px;overflow:hidden}
.research-compare__cell{display:grid;align-content:start;gap:2px;min-width:0;padding:10px 12px 12px;border-left:1px solid var(--line)}
.research-compare__cell:first-child{border-left:0}
.research-compare__cell.is-current{background:var(--surface-soft)}
.research-compare__name{color:var(--ink);font-size:12px;font-weight:500}
.research-compare__period{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.research-compare__value{margin-top:4px;color:var(--ink);font-size:19px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}
.research-compare__bar{display:block;height:4px;margin-top:8px;border-radius:2px;background:#b6becb}
.research-compare__cell.is-current .research-compare__bar{background:#465364}
.research-compare__pct{font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}
.research-compare__cell.is-down :is(.research-compare__value,.research-compare__pct){color:#a3412f}
.research-compare__cell.is-up :is(.research-compare__value,.research-compare__pct){color:#2f6b45}
@media(max-width:640px){.research-compare{grid-template-columns:1fr}.research-compare__cell{grid-template-columns:minmax(0,1fr) auto;column-gap:12px;border-left:0;border-top:1px solid var(--line)}.research-compare__cell:first-child{border-top:0}.research-compare__name,.research-compare__period{grid-column:1}.research-compare__value{grid-column:2;grid-row:1/3;align-self:center;margin:0}.research-compare__pct{grid-column:2;text-align:right}.research-compare__bar{grid-column:1/-1}}
.research-table{width:100%;border-collapse:collapse;font-size:13px}
.research-table th{text-align:left;font-weight:500;color:var(--muted);padding:6px 8px;border-bottom:1px solid var(--line)}
.research-table td{padding:7px 8px;border-bottom:1px solid var(--line)}
.research-table td:last-child,.research-table th:last-child{text-align:right;white-space:nowrap}
/* Comparison table: one row per object, current and compared periods side by side, then the difference. */
.research-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.research-table.is-comparison td:not(:first-child),.research-table.is-comparison th:not(:first-child){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.research-table.is-comparison td.is-current{color:var(--ink);font-weight:600}
.research-table.is-comparison td.is-base{color:var(--muted)}
.research-table.is-comparison td.is-difference.is-down{color:#a3412f;font-weight:500}
.research-table.is-comparison td.is-difference.is-up{color:#2f6b45;font-weight:500}
.research-table.is-comparison td.is-empty{color:var(--muted)}
/* Comparison bars: per object the current period above the compared one, then the difference. */
.research-cbars{display:grid;gap:12px;max-width:640px}
.research-cbars__row{display:grid;gap:4px;min-width:0}
.research-cbars__name{color:var(--ink);font-size:13px;font-weight:500}
.research-cbar{display:grid;grid-template-columns:minmax(96px,150px) minmax(0,1fr) auto;align-items:center;gap:10px;font-size:12px;color:var(--muted)}
.research-cbar i{display:block;height:9px;border-radius:3px;background:#b6becb}
.research-cbar.is-current i{background:#465364}
.research-cbar b{font-weight:500;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.research-cbar.is-current b{color:var(--ink);font-weight:600}
.research-cbars__delta{font-size:12px;font-variant-numeric:tabular-nums}
.research-cbars__delta>span:first-child{color:var(--muted)}
.research-cbars__delta.is-down{color:#a3412f}
.research-cbars__delta.is-up{color:#2f6b45}
@media(max-width:640px){.research-cbar{grid-template-columns:minmax(0,1fr) auto}.research-cbar span{grid-column:1/-1}}
@media(max-width:640px){.research-table.is-comparison thead{display:none}.research-table.is-comparison,.research-table.is-comparison tbody{display:block}.research-table.is-comparison tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 10px;padding:10px 0;border-bottom:1px solid var(--line)}.research-table.is-comparison td{display:block;padding:0;border:0;text-align:left!important;white-space:normal!important}.research-table.is-comparison td:first-child{grid-column:1/-1;color:var(--ink);font-weight:500}.research-table.is-comparison td[data-label]::before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;font-weight:400}}
.research-app__tail{display:grid;gap:10px;margin-top:20px;padding-top:14px;border-top:1px solid var(--line)}
.research-app__more{font-size:12px;color:var(--muted)}
.research-app__more summary{cursor:pointer}
.research-app__more ul{margin:8px 0 0;padding-left:17px}
.research-app__more select{margin-top:8px;min-height:32px;padding:4px 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);font:inherit}
@media(max-width:640px){.research-metric__bar{grid-template-columns:96px minmax(0,1fr) auto}.research-metric__value{font-size:21px}}
.research-app__body{display:grid;gap:18px;margin-top:13px}
.research-app__block{min-width:0;padding-top:18px;border-top:1px solid var(--line)}
.research-app__block:first-child{border-top:0;padding-top:0}
.research-app__block-meta{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-bottom:10px}
.research-app__table-tools{display:flex;align-items:end;gap:9px;flex-wrap:wrap;margin:0 0 13px}
.research-app__table-tools input{min-width:190px}
.research-app__block .ask-narrative-flow{margin:0}
.research-app__footer{margin-top:21px;padding-top:15px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
@media(max-width:640px){.research-app{padding:19px 15px;margin-bottom:20px}.research-app__header{display:block}.research-app__header h2{font-size:19px}.research-app__status{display:inline-block;margin-top:10px}.research-app__controls label{width:100%}.research-app__controls select,.research-app__controls button{width:100%}.research-app__table-tools input{min-width:0;width:100%}}

body.is-ask .ask-thread-shell,body.is-ask .ask-thread-shell.is-empty{grid-template-rows:auto auto auto minmax(0,1fr)}
body.is-ask .research-workspace{display:grid;grid-template-columns:minmax(0,var(--research-chat-width)) 10px minmax(0,1fr);min-height:0;min-width:0;border-top:1px solid var(--line)}
body.is-ask .research-workspace__chat{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0}
body.is-ask .research-workspace__chat .ask-thread-panel{min-height:0;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain}
body.is-ask .research-workspace__chat .ask-thread-feed{max-width:none;padding:23px 22px 34px}
body.is-ask .research-workspace__chat .ask-composer-bar{max-width:none;padding:10px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}
body.is-ask .research-workspace__splitter{min-width:10px;min-height:0;padding:0;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);border-radius:0;background:var(--surface);cursor:col-resize;touch-action:none}
body.is-ask .research-workspace__splitter:hover,body.is-ask .research-workspace__splitter:focus-visible{background:var(--surface-soft);outline:2px solid #6b7c95;outline-offset:-2px}
body.is-ask .research-workspace__page{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:20px 23px 28px}
body.is-ask .research-workspace__page .research-app{border:0;border-radius:0;box-shadow:none;padding:0;margin:0}
/* The research workspace fills the window (index.html capped .ask-stack at 1440px and left an
   empty strip on wide screens); only the page content keeps a reading width. */
body.is-ask .ask-stack{width:100%}
body.is-ask .research-workspace__page .research-app{max-width:1040px}
body.is-ask .research-workspace.is-page-expanded .research-workspace__page .research-app{margin-inline:auto}
.research-workspace__empty{max-width:420px;color:var(--muted);padding:28px 8px}
.research-workspace__empty h2{font-size:20px;font-weight:500;color:var(--ink);margin:0 0 10px}
.research-workspace__mobile-tabs{display:none}
.research-context-chip{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;padding:3px 7px 3px 10px;margin:0 0 9px;border-radius:6px;background:var(--surface-soft);font-size:12px;color:#434c5b}
.research-context-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.research-context-chip button{border:0;background:none;color:var(--muted);font-size:18px;line-height:1;cursor:pointer}
.research-app__block-meta button,.research-app__answer-link,.research-app__focus-notice button{border:0;background:none;padding:0;color:#465364;text-decoration:underline;text-underline-offset:2px;font:inherit;font-size:12px;cursor:pointer}
.research-app__block-meta button{margin-left:auto}
.research-app__objects{margin-top:12px;border-top:1px solid var(--line);padding-top:10px;color:var(--muted);font-size:12px}
.research-app__objects>div{display:flex;flex-wrap:wrap;gap:6px;padding:9px 0}
.research-app__objects button{border:1px solid var(--line);border-radius:5px;background:var(--surface);color:#434c5b;padding:5px 7px;font:inherit;font-size:11px;cursor:pointer;text-align:left}
.research-app__objects button:hover{background:var(--surface-soft)}
.research-app__focus-notice{margin:13px 0 0;padding:9px 11px;border-radius:6px;background:var(--surface-soft);color:#434c5b;font-size:12px;white-space:pre-line}
.research-app__block.is-focused,.research-app__block .is-research-focused{background:#eef1f5;box-shadow:inset 3px 0 0 #465364}
.research-app__block .is-research-focused{border-radius:4px}
.research-app__answer-link{display:block;margin:10px 0;text-align:left}
.ask-on-page{margin:14px 0;padding:11px 13px;border:1px solid var(--line);border-radius:7px;background:var(--surface-soft)}
.ask-on-page__label{display:block;margin-bottom:6px;color:var(--muted);font-size:12px}
.ask-on-page ul{margin:0;padding:0;list-style:none;display:grid;gap:5px}
.ask-on-page__link{border:0;background:none;padding:0;color:#384456;font:inherit;font-size:14px;line-height:1.45;text-align:left;text-decoration:underline;text-decoration-color:#b6becb;text-underline-offset:3px;cursor:pointer}
.ask-on-page__link:hover{text-decoration-color:currentColor}
.research-app__update-notice{position:sticky;top:34px;z-index:2;margin:13px 0 0;padding:9px 11px;border-radius:6px;background:#e8edf4;color:#2f3a4a;font-size:12px;box-shadow:0 1px 0 var(--line)}
.research-app__update-notice button{border:0;background:none;padding:0;color:#2f3a4a;font:inherit;font-size:12px;font-weight:600;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.research-app__block.is-updated{box-shadow:inset 3px 0 0 #8fa3bd}
/* The page title is the original request; keep it to two lines (full text in the tooltip). */
.research-app__header h2.research-app__goal{font-size:17px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.research-app__limits{white-space:normal}
.research-app__limits strong{display:block;font-weight:500;margin-bottom:4px}
.research-app__limits ul{margin:0;padding-left:17px}
.research-workspace__page-tools{display:flex;justify-content:flex-end;gap:14px;margin:-6px 0 6px}
.research-workspace__page-tools button,.research-workspace__reopen{border:0;background:none;padding:0;color:var(--muted);font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.research-workspace__reopen{display:block;margin:10px 22px 0;text-align:left;color:#465364}
body.is-ask .research-workspace.is-page-hidden .research-workspace__chat{grid-template-rows:auto minmax(0,1fr) auto}
.research-workspace__tab-badge{margin-left:6px;padding:1px 6px;border-radius:9px;background:#e8edf4;color:#2f3a4a;font-size:11px}
body.is-ask .research-workspace.is-chat-only,body.is-ask .research-workspace.is-page-expanded,body.is-ask .research-workspace.is-page-hidden{grid-template-columns:minmax(0,1fr)}
body.is-ask .research-workspace.is-page-expanded .research-workspace__chat,body.is-ask .research-workspace.is-page-expanded .research-workspace__splitter,
body.is-ask .research-workspace.is-page-hidden .research-workspace__page,body.is-ask .research-workspace.is-page-hidden .research-workspace__splitter{display:none}
body.is-ask .research-workspace.is-chat-only .ask-thread-feed,body.is-ask .research-workspace.is-chat-only .ask-composer-bar,
body.is-ask .research-workspace.is-page-hidden .ask-thread-feed,body.is-ask .research-workspace.is-page-hidden .ask-composer-bar{max-width:860px;width:100%;margin-inline:auto}
@media(max-width:800px){
  body.is-ask .research-workspace.is-page-expanded .research-workspace__chat{display:grid}
  body.is-ask .research-workspace.is-page-hidden .research-workspace__page{display:block}
  body.is-ask .research-workspace__page-tools{display:none}
  body.is-ask .research-workspace__reopen{display:none}
  body.is-ask .ask-thread-shell,body.is-ask .ask-thread-shell.is-empty{grid-template-rows:auto auto auto minmax(0,1fr)}
  body.is-ask .research-workspace__mobile-tabs{display:flex;border-bottom:1px solid var(--line)}
  body.is-ask .research-workspace__mobile-tabs button{flex:1;min-height:41px;border:0;background:var(--surface);color:var(--muted);font:inherit;font-size:13px}
  body.is-ask .research-workspace__mobile-tabs button[aria-selected=true]{color:var(--ink);box-shadow:inset 0 -2px 0 #465364}
  body.is-ask .research-workspace{display:block;min-height:0}
  body.is-ask .research-workspace__chat,body.is-ask .research-workspace__page{height:100%;min-height:0}
  body.is-ask .research-workspace[data-mobile-tab=chat] .research-workspace__page,
  body.is-ask .research-workspace[data-mobile-tab=page] .research-workspace__chat,
  body.is-ask .research-workspace__splitter{display:none}
  body.is-ask .research-workspace__page{padding:18px 15px 27px}
}
.research-app__crumbs{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:7px;min-height:34px;max-width:100%;overflow:hidden;white-space:nowrap;padding:6px 0;border-bottom:1px solid var(--line);background:var(--surface);box-shadow:0 -24px 0 0 var(--surface);color:#626975;font-size:12px}
.research-app__crumbs button{flex:0 0 auto;border:0;background:none;padding:0;color:#465364;font:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.research-app__crumb-section,.research-app__crumb-object{min-width:0;overflow:hidden;text-overflow:ellipsis}
.research-app__crumb-object{color:var(--ink);font-weight:600}
.research-app__outline{margin:8px 0 0;font-size:12px;color:#626975}
.research-app__outline summary{width:max-content;max-width:100%;padding:3px 0;color:#465364;cursor:pointer}
.research-app__outline nav{display:flex;flex-wrap:wrap;gap:6px;padding:7px 0}
.research-app__outline button{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:5px 8px;color:#465364;font:inherit;cursor:pointer}
.research-app__outline button:hover{background:var(--surface-soft);border-color:#aeb9c8}
.research-app__outline-new{color:#2f6f4f;font-weight:600}
.research-app__answer-links{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline}
.research-app__answer-links span{color:#626975;font-size:12px}
.research-el .research-el__coverage{margin:6px 0 0;color:#626975;font-size:12px;line-height:1.4}
.research-el .research-el__earlier{margin:0 0 4px;color:#7a6a3a;font-size:11px;line-height:1.4;letter-spacing:.01em}
