/* Shared shell for the approved executive, research and report concepts. */
@font-face{font-family:Dalil Arabic;src:url('/static/fonts/noto-kufi-arabic.ttf') format('truetype');font-weight:100 900;font-display:swap}
@font-face{font-family:Dalil Latin;src:url('/static/fonts/roboto.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{font-family:Dalil Latin,Dalil Arabic,Arial,sans-serif;--paper:#f6f5ef;--green:#214c43;--line:#e0e2da;--muted:#68746f;color:#263e38;font-size:15px}
html[lang=ar]{font-family:Dalil Arabic,Dalil Latin,sans-serif}h1,h2,h3{color:var(--green);letter-spacing:0;font-weight:650}button,input,textarea,select{font:inherit}button{transition:background .15s ease}button:hover:not(:disabled){filter:brightness(.96)}button,.primary,.secondary{border-radius:8px}.primary,.secondary{font-size:13px;min-height:44px}.muted{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.workspace-search{display:none}.sidebar-brand{display:none}.tabs img{opacity:.8;flex-shrink:0}.authenticated{--sidebar:210px;padding-inline-start:var(--sidebar)}
.authenticated .topbar{max-width:none;min-height:78px;padding:14px 32px;background:var(--paper);gap:24px;position:relative}.authenticated .topbar>.brand{display:none}.authenticated .header-actions{margin-inline-start:auto;flex-shrink:0}.authenticated .workspace-search{display:flex;position:relative;max-width:470px;flex:1}.workspace-search input{background:#f0f0e9;padding-inline-end:48px;font-size:13px;height:44px}.workspace-search button{position:absolute;inset-inline-end:4px;top:2px;display:flex;align-items:center;height:40px}.authenticated main{max-width:1600px;padding:24px 32px}.authenticated>.topbar{border-color:var(--line)}.authenticated .intro{display:none}.authenticated .notice{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 13px;margin-bottom:16px}.authenticated .notice p{font-size:11px;color:var(--muted)}.authenticated .notice-mark{display:none}.authenticated .statusbar{font-size:11px;gap:24px;margin-bottom:20px;line-height:1.9}.authenticated .panel{border:0;border-radius:0;background:transparent;padding:0}
.authenticated .workspace-nav{position:fixed;inset-inline-start:0;inset-block:0;width:var(--sidebar);padding:26px 16px 20px;border:0;border-inline-end:1px solid var(--line);display:flex;flex-direction:column;gap:20px;background:var(--paper);margin:0;z-index:5;overflow-y:auto}.authenticated .sidebar-brand{display:flex;flex-direction:column;text-decoration:none;color:var(--green);font-size:39px;font-weight:800;line-height:1.5;align-items:center;padding-bottom:22px}.sidebar-brand span{font-family:Dalil Latin,sans-serif;font-size:10px;letter-spacing:4px;font-weight:500}.nav-primary,.nav-account,.nav-secondary{display:flex;flex-direction:column;gap:8px}.workspace-nav button{display:flex;align-items:center;gap:14px;white-space:normal;text-align:start;line-height:1.8;padding:13px 12px;border:0;width:100%;font-size:14px;color:var(--green);min-height:48px}.workspace-nav button.active{background:#e7ebe3;border:0;font-weight:650}.workspace-nav button:hover{background:#eceee7}.nav-account{margin-top:auto;border-top:1px solid var(--line);padding-top:16px}.nav-more summary{cursor:pointer;padding:10px 12px;font-size:13px;color:var(--muted)}.nav-secondary button{font-size:12px;padding:8px 12px;min-height:38px}.authenticated footer{font-size:10px;margin-top:28px}
/* Executive overview */
body[data-view=dashboard] #list-view>h2{font-size:26px;margin-bottom:6px}.dashboard-hero{padding:14px 0 22px;display:flex;justify-content:space-between;align-items:center;gap:30px}.dashboard-hero h3{font-size:clamp(28px,3.5vw,46px);line-height:1.7;margin:0 0 6px;font-weight:750}.dashboard-hero p{margin:0;color:var(--muted);line-height:1.9}.dashboard-hero button{flex-shrink:0}.event-card{border-radius:10px;padding:18px 26px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 30px;align-items:center}.event-card h3{color:white;font-size:20px;margin:0}.event-card>.muted:first-child{grid-column:1/-1;font-size:10px;margin:0 0 6px}.event-phase{grid-column:2;grid-row:2/5;font-size:24px;max-width:180px;text-align:center}.event-timeline{border:0;margin:6px 0;padding:0;justify-content:flex-start;gap:24px}.event-timeline>div{flex:none;flex-direction:row;align-items:center;gap:10px}.event-timeline strong{font-size:14px}.event-timeline span{font-size:11px}.event-card a{font-size:10px}.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin:24px 0}.metric-card{background:transparent;border:0;border-inline-end:1px solid var(--line);border-radius:0;padding:10px 20px}.metric-card:last-child{border:0}.metric-card strong{font-size:35px;font-weight:650}.dashboard-grid{gap:28px}.chart-card{border:0;border-top:1px solid var(--line);border-radius:0;padding:20px 0}.dashboard-updates{border-top:1px solid var(--line);padding-top:18px}.knowledge-gaps{font-size:12px}.dashboard-feature{display:grid;grid-template-columns:2fr 1fr;gap:32px;margin-top:26px}.dashboard-feature>section{min-width:0}.dashboard-feature>aside{border-inline-start:1px solid var(--line);padding-inline-start:26px}.dashboard-feature h3{font-size:23px}.dashboard-feature .source-card:first-child{margin-top:0}.overview-date{font-size:12px;color:var(--muted)}
/* Research workspace: answer and registered evidence remain independently scrollable. */
#ask-view{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}.chat-main{min-width:0}.chat-heading h2{font-size:32px}.chat-main>p.muted{font-size:11px}.chat-evidence{border:1px solid var(--line);border-radius:10px;padding:20px;background:#fff;position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto;min-height:430px}.chat-evidence h3{font-size:17px;margin:0 0 16px}.chat-evidence .citation{font-family:Dalil Latin,Dalil Arabic,sans-serif}.chat-evidence blockquote{font-size:13px;line-height:1.8;padding:12px;border:0;border-radius:6px;background:#f5f6f3}.chat-evidence .citation a{font-size:14px}.chat-evidence .citation>.muted{font-size:10px;overflow-wrap:anywhere}.chat-evidence .badge{float:inline-end}.chat-question{background:#eaeef0;margin-inline-start:12%;padding:16px 20px}.chat-turn{border:0;padding:12px 0}.chat-turn>.answer-text{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;margin-bottom:12px;font-size:16px;line-height:2.15}.chat-turn>.secondary{font-size:11px;min-height:36px;padding:8px 12px;margin-inline-end:8px}.result-label{font-size:11px;color:#83612b}.chat-turn details{font-size:12px;margin:10px 0}#answer:not(:empty){max-height:56vh;margin:12px 0}#ask-form{background:#fff;padding:16px;border:1px solid var(--line);border-radius:10px;position:sticky;bottom:12px;z-index:1}#ask-form label{font-size:12px;margin-bottom:8px}#question{min-height:74px;height:80px;font-size:14px}#ask-form>.muted{font-size:10px;margin:6px 0}.form-footer{margin-top:8px;align-items:center}.form-footer>.muted{font-size:10px;max-width:190px}.query-actions{gap:8px}.query-actions button{font-size:11px;padding:10px 12px}.examples{gap:8px}.example{font-size:11px;padding:8px 12px}
/* Report reader with tools above the paper and linked evidence alongside it. */
.requested-report-detail{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:0 32px;background:#fff;padding:30px 32px;border:1px solid var(--line);border-radius:8px}.requested-report-detail>*{grid-column:1;min-width:0}.requested-report-detail>.requested-report-actions{grid-column:1/-1;margin:0 0 26px;padding-bottom:20px;border-bottom:1px solid var(--line);gap:8px}.requested-report-actions .secondary{font-size:12px;padding:9px 14px}.requested-report-detail>h2{font-size:30px;line-height:1.8;margin-top:10px}.requested-report-detail>.answer-text{font-size:16px;line-height:2.2;border-top:1px solid var(--line);padding-top:24px;margin-top:18px}.requested-report-detail>.shared-access-note{padding:5px 10px;background:#f5eee0;border:0;border-radius:5px;color:#785923;font-size:11px;justify-self:start}.report-evidence{grid-column:2;grid-row:2/20;align-self:start;border-inline-start:1px solid var(--line);padding-inline-start:24px;position:sticky;top:20px;max-height:calc(100vh - 50px);overflow:auto}.report-evidence h3{font-size:15px;margin-top:0}.report-evidence blockquote{font-family:Dalil Latin,Dalil Arabic,sans-serif;font-size:13px;background:#f7f7f3;padding:12px;border:0}.report-evidence .citation a{font-size:14px}.report-evidence .muted{font-size:10px}.requested-reports{max-width:1000px;margin:auto}.requested-reports h2{font-size:30px}.requested-reports form{padding:24px;background:#fff;border:1px solid var(--line);border-radius:10px}.requested-report-row>button{border:0;background:none;font-weight:600}.requested-report-list{margin-top:18px}.shared-access-note{line-height:1.9}
@media(min-width:1600px){.authenticated{--sidebar:230px}.authenticated main{padding-inline:45px}#ask-view{grid-template-columns:minmax(0,1fr) 340px}}
@media(max-width:1100px){.authenticated{--sidebar:180px}.authenticated main{padding-inline:22px}.authenticated .topbar{padding-inline:22px}#ask-view{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.workspace-nav button{font-size:12px;padding-inline:8px}.requested-report-detail{padding:24px;grid-template-columns:minmax(0,1fr) 220px;gap:0 20px}.form-footer{flex-wrap:wrap}.dashboard-hero{flex-wrap:wrap}}
@media(max-width:850px){.authenticated{padding:0}.authenticated .topbar>.brand{display:flex;font-size:26px}.authenticated .topbar>.brand span{display:none}.authenticated .topbar{padding:14px 18px;flex-wrap:wrap;gap:10px}.authenticated .workspace-search{order:3;max-width:none;flex-basis:100%}.authenticated main{padding:18px}.authenticated .workspace-nav{position:relative;width:auto;inset:auto;overflow:visible;border:0;border-bottom:1px solid var(--line);padding:0 0 14px;gap:10px;margin-bottom:22px;z-index:2}.authenticated .sidebar-brand{display:none}.nav-primary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.workspace-nav button{font-size:11px;padding:8px 4px;gap:5px;justify-content:center;flex-direction:column;min-height:54px}.nav-primary img{width:20px;height:20px}.nav-account{flex-direction:row;margin:0;border:0;padding:0;position:absolute;inset-inline-end:0;top:65px;max-width:65%;gap:6px}.nav-account button{flex-direction:row;font-size:11px;min-height:36px;padding:4px 8px}.nav-account img{width:17px;height:17px}.nav-more{margin-top:0}.nav-more summary{min-height:40px;padding:9px 4px;width:90px}.nav-secondary{display:grid;grid-template-columns:1fr 1fr;padding-top:10px}.nav-secondary button{text-align:start;align-items:flex-start;min-height:36px}.authenticated .notice p{font-size:10px}.authenticated .statusbar{flex-direction:column;gap:4px;margin-bottom:14px}#ask-view{grid-template-columns:minmax(0,1fr)}.chat-evidence{position:static;min-height:0;max-height:420px}#ask-form{position:static}.requested-report-detail{grid-template-columns:minmax(0,1fr);padding:20px}.report-evidence{grid-column:1;grid-row:auto;position:static;max-height:none;border:0;border-top:1px solid var(--line);padding:20px 0 0;margin-top:20px}.requested-report-detail>.requested-report-actions{grid-column:1}.requested-report-detail>h2{font-size:24px}.requested-report-detail>.answer-text{font-size:15px}.event-card{grid-template-columns:minmax(0,1fr);padding:20px}.event-phase{grid-column:1;grid-row:auto;max-width:none;text-align:start;margin:8px 0}.event-card>.muted:first-child{grid-column:1}.event-card h3{font-size:18px}.event-timeline{flex-wrap:wrap;gap:12px}.dashboard-hero h3{font-size:30px}.dashboard-feature{grid-template-columns:1fr;gap:18px}.dashboard-feature>aside{border:0;border-top:1px solid var(--line);padding:18px 0}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.metric-card:nth-child(2){border:0}.dashboard-grid{grid-template-columns:1fr;gap:10px}.requested-reports form{padding:18px}.chat-heading h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
/* Option 1: government executive dashboard, approved 8 September 2026. */
.authenticated{--sidebar:235px}.authenticated .workspace-nav{padding-top:28px}.workspace-nav button.active{background:var(--green);color:white}.workspace-nav button.active img{filter:brightness(0) invert(1);opacity:1}.authenticated .sidebar-brand{padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:3px}.authenticated .workspace-search{max-width:600px}.authenticated #create-report{background:#947b39;white-space:nowrap}body:not(.authenticated) #create-report{display:none}.authenticated .topbar{padding-block:18px}.authenticated .header-actions{gap:8px}.authenticated .pilot{font-size:10px;padding:5px 8px}.executive-heading{margin:8px 0 26px}.executive-heading h2{font-size:43px;line-height:1.5;font-weight:800;margin:0 0 7px}.executive-heading p{font-size:16px;margin:0}.executive-feature{display:grid;grid-template-columns:minmax(0,2fr) minmax(200px,1fr);gap:32px;margin:32px 0}.executive-briefing{min-width:0;position:relative;padding-top:8px}.executive-briefing h3{font-size:25px;line-height:1.8;margin:18px 0 16px}.executive-summary{line-height:2.1;font-size:16px;margin:0 0 20px}.executive-briefing>.eyebrow{font-size:11px;margin-top:16px}.review-status{color:#876722;background:#f0e8d1;border:0;padding:6px 14px}.text-action{border:0;background:none;color:var(--green);text-align:start;padding:0;min-height:40px;line-height:1.8;font-size:15px;text-decoration:underline;text-underline-offset:5px}.executive-briefing>.text-action{color:#8e722e}.executive-sources{border-inline-start:1px solid var(--line);padding-inline-start:30px}.executive-sources h3{margin-top:0;font-size:20px}.source-stat{display:flex;flex-direction:column;margin:22px 0;gap:3px}.source-stat strong{font-size:26px}.source-stat span{font-size:14px}.source-check{font-size:12px;line-height:1.8}.source-health{font-size:11px;color:var(--muted)}.executive-saved{border-top:1px solid var(--line);padding-top:20px}.executive-saved>h3{font-size:17px;margin-top:0}.saved-report-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 20px;background:#fff;border:1px solid var(--line);border-radius:8px}.saved-report-row .text-action{text-decoration:none;font-weight:650}.saved-report-row .muted{margin:4px 0}.saved-report-downloads{display:flex;gap:10px;flex-shrink:0}.saved-report-downloads button{min-width:80px;border-color:#c8d2ca}.executive-footnote{font-size:11px;color:var(--muted);margin:22px 0}.dashboard-details{border-top:1px solid var(--line);padding-top:14px}.dashboard-details>summary{cursor:pointer;font-size:12px;color:var(--muted);padding:8px 0}.dashboard-details>h2{display:none}body[data-view=dashboard] .event-card{position:relative;min-height:135px;padding-inline-end:230px;background:#214c43 url('/static/congress-skyline.png') no-repeat left bottom;background-size:230px auto}html[dir=ltr] body[data-view=dashboard] .event-card{background-position:right bottom}.event-card>.muted:first-child{margin-bottom:4px}.event-card .event-phase{font-size:20px;line-height:1.8}.event-card h3{font-size:18px;line-height:1.8}.event-card>.muted{margin:2px 0}.event-card .event-timeline{gap:16px}.event-card .event-timeline strong{font-size:12px}
@media(max-width:1150px){.authenticated{--sidebar:200px}body[data-view=dashboard] .event-card{padding-inline-end:24px;background-image:none}.executive-heading h2{font-size:36px}.executive-feature{grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:22px}.executive-sources{padding-inline-start:22px}.executive-briefing h3{font-size:23px}}
@media(max-width:850px){.authenticated .workspace-nav{padding-top:0}.authenticated .topbar{padding:12px 18px}.authenticated .header-actions{gap:3px}.authenticated #create-report{font-size:11px;padding:8px 12px;min-height:38px}.authenticated .pilot{display:none}.executive-heading h2{font-size:32px}.executive-heading p{font-size:13px}.executive-feature{grid-template-columns:1fr;margin-block:24px}.executive-sources{border:0;border-top:1px solid var(--line);padding:20px 0 0;display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.executive-sources>h3{grid-column:1/-1}.source-stat{margin:8px 0}.source-stat span{font-size:12px}.source-check{margin:0;align-self:center}.source-health{grid-column:1/-1}.executive-summary{font-size:15px}.saved-report-row{flex-direction:column;align-items:stretch;gap:12px;padding:16px}.saved-report-downloads button{flex:1}.event-card .event-timeline{flex-direction:column;gap:6px}.event-card .event-phase{font-size:21px}.executive-briefing h3{font-size:23px}.authenticated .workspace-nav .nav-account{top:65px}}
/* QA correction: preserve the saved-report row above the desktop fold. */
body.authenticated[data-view=dashboard] .notice{display:none}
body[data-view=dashboard] .executive-heading{margin:0 0 22px}
body[data-view=dashboard] .executive-feature{margin:26px 0}
body[data-view=dashboard] .source-stat{margin:16px 0}
body[data-view=dashboard] .executive-sources>.muted{margin:10px 0 4px}
body[data-view=dashboard] .source-check{margin:4px 0}
@media(max-width:850px){.authenticated .workspace-nav .nav-account{position:static;max-width:none;justify-content:flex-end;order:3}.nav-more{order:2}.nav-primary{align-items:stretch}.workspace-nav button.active{background:var(--green);opacity:1}}

.delegation-summary{border-bottom:1px solid var(--line);padding:18px 0;margin-bottom:22px}.delegation-summary button{margin-inline-end:8px}
