/* In-app hierarchy: primary content, readable metadata, explanations on demand. */
:root{--muted:#a5a7a3;--green:#d0d2cc}
.page-head{display:flex;align-items:center;gap:20px;margin-bottom:28px}
.page-title,.home-title{display:flex;align-items:center;gap:12px;min-width:0}
.page-head h1{font-size:28px;line-height:1.25;margin:0;font-weight:600}
.page-help{border:0;background:transparent;color:#a1a59e;padding:6px;min-height:30px;flex:none}
.page-help .ui-icon{width:17px;height:17px}
.page-help:hover{background:#353734;color:#e5e7e1}
.page-actions{align-items:center;flex-wrap:wrap}
.page-head:has(+.section-tabs-wrap){margin-bottom:10px}
.section-tabs-wrap{display:flex;align-items:stretch;gap:8px;border-bottom:1px solid var(--line);margin-bottom:25px;min-width:0}
.section-tabs{display:flex;gap:24px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#555751 transparent;overscroll-behavior-x:contain}
.section-tab{display:inline-flex;align-items:center;flex:none;padding:12px 1px 13px;font-size:13px;font-weight:500;line-height:1.5;color:#a8aba5;white-space:nowrap;text-decoration:none;border-bottom:2px solid transparent}
.section-tab:hover{color:#f1f2ef;background:transparent}
.section-tab.active{color:#eeefec;border-bottom-color:#c8cbc3}
.section-tab:focus-visible{outline:2px solid #b9bdb1;outline-offset:-3px;border-radius:4px}
.section-tab-control{flex:none;align-self:center;min-width:32px;min-height:32px;font-size:22px;line-height:1;padding:3px 8px}
.section-tab-control[hidden]{display:none}
.section-tab-control:disabled{opacity:.3}
.sidebar .nav-label{padding-top:16px}
.sidebar .nav-item{margin-bottom:5px}
.page-actions button,.filters button,.filters select,.filters input{font-size:13px;min-height:36px}
.filters{gap:8px;margin-bottom:24px;align-items:center}
.filter-note{font-size:12px;color:var(--muted)}
.mode-banner{font-size:13px;padding:12px 15px;gap:10px;margin-bottom:22px}
.mode-banner strong{font-size:13px;letter-spacing:0;text-transform:none}
.card-head{padding:20px 22px;align-items:center}
.card-head h2,.card-head h3{font-size:16px;font-weight:550;letter-spacing:-.2px;line-height:1.5}
.card-head h2:has(+.section-help),.card-head h3:has(+.section-help){display:inline;margin:0}
.section-help{display:inline-block;vertical-align:middle;margin-left:7px;color:var(--muted);font-size:13px}
.section-help>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;width:27px;min-height:27px;border-radius:50%;font-size:13px;cursor:pointer;border:1px solid transparent;color:#a1a59e}
.section-help>summary::-webkit-details-marker{display:none}
.section-help>summary:hover,.section-help[open]>summary{background:#393c37;border-color:#4d5148;color:#e3e6de}
.section-help[open]{display:block;margin:8px 0 0}
.section-help-content{padding:5px 0 0;max-width:75ch}
.card-head .section-help-content p{font-size:13px!important;line-height:1.75;color:var(--muted);margin:5px 0 0}
.card-head>div{min-width:0}
.card-body{padding-top:3px}
.metric-label{font-size:13px;line-height:1.5;color:#bfc2bb}
.metric-value{margin:14px 0 10px;font-size:33px}
.metric-note{font-size:12px;line-height:1.6;color:var(--muted)}
.section-title{font-size:14px;letter-spacing:0;text-transform:none;color:#c2c5be;font-weight:500}
.tiny-text,.form-hint,.item-footnote,.report-error{font-size:12px;line-height:1.7}
.form-hint,.item-footnote{color:var(--muted)}
label,legend{font-size:13px;line-height:1.5}
.card-head p,.subtitle,.muted,.filter-note,.report-scope p,.comparison-change,.prompt-stage-label,.draft-evidence-line,.draft-history-settings summary{color:var(--muted)}
.notice{font-size:13px;line-height:1.75}
.pill{font-size:12px;line-height:1.5;padding:3px 8px}
.pill.blue{color:#c4c8c0;background:#3a3d37}
.schema-tag{font-size:11px;letter-spacing:.2px;color:#a7ada0;background:#353932}
.stats-line,.pagination{font-size:12px;line-height:1.6;color:var(--muted)}
.legend,.bar-row,.bar-row strong,.service-status,.list-bottom small,.conversation-main small,.contact-picker .check span{font-size:12px}
.legend{flex-wrap:wrap;line-height:1.6}
.chart text{font-size:12px}
table{font-size:13px}
th{font-size:12px;font-weight:500;letter-spacing:0;padding:13px 20px;color:#b9bdb4}
td{padding:17px 20px;line-height:1.6}
td .muted{font-size:12px;color:var(--muted)}
.answer-table td:first-child{min-width:320px;max-width:530px}
.answer-table td:nth-child(2){min-width:105px}
.answer-table .answer-question{border:0;background:transparent;color:#e1e4dd;padding:0;min-height:0;text-align:left;font-size:14px;font-weight:500;line-height:1.7;white-space:normal}
.answer-table .answer-question:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.answer-context{display:block;color:var(--muted);font-size:12px;line-height:1.6;margin-top:7px}
.provider-name{display:block;font-size:13px;white-space:nowrap}
.answer-table .pill{white-space:normal}
.answer-table .pagination{font-size:12px}
.sidebar .nav-item{font-size:13px;min-height:38px;padding-top:10px;padding-bottom:10px}
.sidebar .nav-label{font-size:12px;letter-spacing:0;text-transform:none;color:#969c90;font-weight:450;padding-top:22px}
.sidebar .sub-brand{font-size:12px;color:#a3a89d;letter-spacing:0}
.workspace-user,.workspace-user strong{font-size:12px}
.top-actions select,.project-select select{font-size:13px}
.home-title{justify-content:center}
.pulse-greeting{margin-bottom:28px}
.pulse-greeting h2{margin:0;font-size:32px;letter-spacing:-.8px}
.starter-card{font-size:13px;line-height:1.6;padding:16px}
.research-toggle{font-size:13px}
.home-section-heading h3{font-size:15px;color:#d1d5ca}
.home-section-heading a{font-size:12px}
.next-step strong{font-size:14px;line-height:1.6}
.next-step small{font-size:12px;line-height:1.65;margin-top:5px;color:var(--muted)}
.conversation-row span{font-size:14px;line-height:1.6}
.conversation-row small{font-size:12px}
.workspace-status{font-size:12px;color:var(--muted);gap:9px}
.section-toolbar{font-size:13px}
.chat-heading h2{font-size:16px;line-height:1.5}
.chat-heading button{font-size:12px}
.message-label{font-size:12px;text-transform:none;letter-spacing:0;align-items:center;flex-wrap:wrap}
.message-label span{font-size:12px;color:#a1a69a}
.markdown{font-size:14px;line-height:1.85}
.message-actions{gap:6px;flex-wrap:wrap}
.message-actions button{font-size:12px}
.message-sources a{font-size:12px}
.chat-file .muted{font-size:12px}
.chat-file strong{font-size:14px}
.source-link,.answer-body a,.connection-card p,.list-card p{font-size:13px;line-height:1.75}
.source-link small{font-size:12px;color:var(--muted)}
.modal-head p:empty{display:none}
.modal-subtitle,.modal-head p{font-size:13px;line-height:1.7;color:var(--muted)}
.modal-content .tiny-text,.modal-content .notice{font-size:13px}
.modal-content h3{font-size:15px}
.answer-body{font-size:14px;line-height:1.85}
@media(max-width:800px){
 .section-tabs{gap:20px}
 .section-tabs-wrap{gap:5px;margin-bottom:23px}
 .page-head{flex-direction:row;align-items:center;flex-wrap:wrap;gap:18px;margin-bottom:24px}
 .page-head h1{font-size:26px}
 .page-actions{margin-top:0;gap:7px}
 .filters{margin-bottom:22px}
 .pulse-greeting h2{font-size:28px;line-height:1.4}
 .home-title{gap:7px}
 .card-head{padding:18px}
 .card-head h2{font-size:16px}
 .starter-card{font-size:13px}
 .metric{padding:18px}
 .metric-label{font-size:13px}
 .metric-note{font-size:12px}
 .metric-value{font-size:30px}
 .home-next-steps .next-step{padding:15px}
 .conversation-row small{display:none}
}
@media(max-width:420px){.page-head h1{font-size:25px}.page-title{gap:8px}.metric{padding:15px}.metric-note{font-size:12px}.home-title h2{font-size:25px}.page-actions{width:100%}.page-head:has(.page-actions:empty){margin-bottom:24px}}
@media(max-width:600px){
 .conversation-index{align-items:stretch;gap:12px}
 .conversation-index .conversation-main{flex-basis:100%;width:100%}
 .conversation-index>.inline-actions{width:100%;justify-content:flex-end}
}
