/* LG V0.76 | Unified, accessible private application UI. Overrides are intentionally last. */
:root{
 --v74-bg:#f4f7fb;--v74-surface:#ffffff;--v74-soft:#eef4fa;--v74-text:#182f47;--v74-muted:#52677b;
 --v74-line:#d6e1ed;--v74-blue:#175e8b;--v74-strong:#103e63;--v74-focus:#287ebc;--v74-danger:#9d343a;
 --v74-shadow:0 8px 28px rgba(17,46,75,.048);--v74-radius:14px;
}
html[data-theme="dark"]{
 --v74-bg:#0b1726;--v74-surface:#12243a;--v74-soft:#1d334b;--v74-text:#eff6ff;--v74-muted:#bbccde;
 --v74-line:#38516c;--v74-blue:#9cd8ff;--v74-strong:#cdeaff;--v74-focus:#97d5ff;--v74-danger:#ffaaa8;
 --v74-shadow:0 10px 26px rgba(0,0,0,.13);
}
:where(.portal-layout,.v74-command){font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;color:var(--v74-text);letter-spacing:0}
.portal-layout{background:var(--v74-bg)!important;color:var(--v74-text)!important;grid-template-columns:238px minmax(0,1fr)}
.portal-layout.nav-collapsed{grid-template-columns:72px minmax(0,1fr)}
.portal-layout .dash-main{max-width:1560px;padding-bottom:78px}
.portal-layout .sidebar{background:var(--v74-surface)!important;border-color:var(--v74-line)!important;padding:14px 10px;box-shadow:none}
.portal-layout .sidebar-head{padding:3px 6px 15px;border-color:var(--v74-line)}
.sidebar-brand{color:var(--v74-text)!important}.sidebar-brand .brand-monogram{background:var(--v74-strong);color:var(--v74-surface)}
html[data-theme="dark"] .brand-monogram{background:#265f88!important;color:#fff!important}
.portal-layout .nav-caption{font-size:10px;letter-spacing:.115em;color:var(--v74-muted);margin:14px 11px 5px}
.portal-layout .nav-item{min-height:37px;padding:7px 10px;font-size:12.5px;gap:11px;border-radius:9px;color:var(--v74-muted)!important;font-weight:600}
.portal-layout .nav-item:hover,.portal-layout .nav-item.is-current{background:var(--v74-soft)!important;color:var(--v74-strong)!important}
.portal-layout .nav-item.is-current{font-weight:760;box-shadow:inset 3px 0 0 var(--v74-blue)}
.portal-layout .nav-item .ui-icon{flex:none;stroke:currentColor}
.portal-layout .sidebar-bottom{gap:9px;border-top:1px solid var(--v74-line);padding:12px 4px 0;margin-top:auto}
.portal-layout .dash-top{min-height:59px;border-color:var(--v74-line);background:var(--v74-surface)!important;margin-bottom:0}
.portal-layout .eyebrow{color:var(--v74-muted)!important;letter-spacing:.08em;font-size:10px}
.portal-layout .welcome{padding:22px 0 14px;gap:12px}
.portal-layout .welcome-kicker{color:var(--v74-blue)!important}
.portal-layout .welcome h1{font:750 clamp(27px,2.7vw,39px)/1.12 Inter,"Segoe UI",system-ui,sans-serif;letter-spacing:-.047em;margin:5px 0 5px;color:var(--v74-text)!important}
.portal-layout .dash-intro{font-size:13px;line-height:1.55;margin:0;color:var(--v74-muted)!important}
.portal-layout .welcome-number{display:flex;gap:5px;align-items:baseline;height:auto;width:auto;border:1px solid var(--v74-line);border-radius:40px;padding:9px 13px;color:var(--v74-text)!important;background:var(--v74-surface)}
.portal-layout .welcome-number strong{font-size:19px;line-height:1;color:var(--v74-strong)}
.portal-layout .welcome-number small{display:inline;font-size:11px;color:var(--v74-muted)!important}
.portal-layout .hub-search-intro{margin-block:8px 7px;padding:11px 13px;border-radius:11px;background:var(--v74-soft)!important;border:1px solid var(--v74-line);color:var(--v74-text)!important}
.portal-layout .hub-search-intro strong{color:var(--v74-text)!important}
.portal-layout .hub-search-intro span{color:var(--v74-muted)!important}
.portal-layout .lg-unified-search{margin-top:0;padding:11px 13px;border:1px solid var(--v74-line);border-radius:12px;background:var(--v74-surface)!important}
.portal-layout .lg-search-heading{font-size:12px;color:var(--v74-text)!important}
.portal-layout .lg-search-hint{font-size:11px;color:var(--v74-muted)!important;margin-bottom:0}
.v74-search-entry{margin:8px 0 9px}
.v74-search-trigger,.v74-top-search{appearance:none;cursor:pointer;display:flex;align-items:center;gap:10px;min-height:43px;border:1px solid var(--v74-line);border-radius:11px;background:var(--v74-surface)!important;color:var(--v74-text)!important;padding:9px 13px;font:600 13px/1.4 inherit}
.v74-search-trigger{width:100%;text-align:left}.v74-search-trigger span{flex:1}.v74-search-trigger kbd,.v74-top-search kbd{font-size:10px;font-family:inherit;border:1px solid var(--v74-line);border-radius:5px;padding:3px 6px;color:var(--v74-muted)}
.v74-top-search{min-height:35px;padding:7px 10px}.v74-top-search .ui-icon{width:17px;height:17px}.v74-top-search span{font-size:11px}
.v74-search-trigger:hover,.v74-top-search:hover{background:var(--v74-soft)!important;border-color:var(--v74-blue)}
.v74-command{border:1px solid var(--v74-line);border-radius:18px;padding:0;background:var(--v74-surface);color:var(--v74-text);width:min(640px,calc(100vw - 28px));max-height:min(80dvh,680px);box-shadow:0 30px 120px #07192b69;overflow:hidden}
.v74-command::backdrop{background:#071424ab;backdrop-filter:blur(5px)}
.v74-command-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 22px 7px}
.v74-eyebrow{font:800 10px/1.4 Inter,"Segoe UI",sans-serif;letter-spacing:.115em;color:var(--v74-blue)!important}
.v74-command h2{font-size:20px;font-weight:750;color:var(--v74-text);margin:4px 0 0;letter-spacing:-.025em}
#v74-command-close{border:1px solid var(--v74-line);border-radius:9px;color:var(--v74-text);background:var(--v74-soft);width:36px;height:36px;cursor:pointer}
.v74-command-query{display:block;padding:10px 22px}.v74-command-query input{display:block;width:100%;padding:14px;border-radius:11px;border:1px solid var(--v74-line);background:var(--v74-bg);color:var(--v74-text);font:500 16px system-ui}
.v74-command-help{font-size:11px;color:var(--v74-muted);margin:0;padding:1px 22px 12px}
.v74-command-results{padding:7px 12px 14px;overflow:auto;max-height:49vh;border-top:1px solid var(--v74-line)}
.v74-command-hit{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border-radius:9px;color:var(--v74-text);text-decoration:none}
.v74-command-hit:hover,.v74-command-hit:focus-visible{background:var(--v74-soft)}.v74-hit-content{display:flex;flex-direction:column;gap:3px;min-width:0}.v74-hit-content strong{font-weight:690;font-size:13px;overflow-wrap:anywhere}.v74-hit-content small{color:var(--v74-muted);font-size:11px}.v74-hit-group{background:var(--v74-soft);border-radius:8px;padding:5px 7px;font-size:10px;color:var(--v74-muted);white-space:nowrap}.v74-no-results{padding:12px;color:var(--v74-muted)}
.portal-layout .hub-area{padding-top:9px}.portal-layout .hub-section-label{color:var(--v74-muted)!important}
.portal-layout .hub-overview-slim{background:var(--v74-soft)!important;border-color:var(--v74-line)!important;color:var(--v74-text)!important;border-radius:12px}
.portal-layout .hub-overview-slim .hub-figures>div{border-color:var(--v74-line)!important}.portal-layout .hub-overview-slim .hub-figures strong{color:var(--v74-strong)!important}
.portal-layout .hub-overview-slim .hub-figures small,.portal-layout .hub-overview-slim .hub-overview-label span{color:var(--v74-muted)!important}
.v74-home-actions{display:flex;align-items:start;justify-content:space-between;gap:14px;margin:14px 0 12px}
.v74-home-heading h2{font:750 21px/1.15 Inter,"Segoe UI",system-ui,sans-serif;letter-spacing:-.03em;color:var(--v74-text);margin:3px 0}.v74-home-heading p{font-size:12px;color:var(--v74-muted);margin:6px 0 0}
.v74-customize{min-width:235px;max-width:350px;border:1px solid var(--v74-line);border-radius:11px;background:var(--v74-surface);padding:0 10px;color:var(--v74-text)}
.v74-customize>summary{cursor:pointer;font-size:12px;font-weight:700;list-style:none;padding:11px 3px}.v74-customize>summary::-webkit-details-marker{display:none}
.v74-customize[open]{padding-bottom:12px}.v74-customize p{font-size:11px;color:var(--v74-muted);line-height:1.5}
.v74-module-settings{display:grid;gap:4px;margin:6px 0}.v74-module-option{display:grid;grid-template-columns:18px minmax(0,1fr) 29px 29px;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid var(--v74-line);font-size:12px}
.v74-module-option input{accent-color:var(--v74-strong)}.v74-module-option button{padding:3px;min-height:28px;min-width:28px;background:var(--v74-soft);color:var(--v74-text)}
.portal-layout .hub-pinned,.portal-layout .hub-card,.portal-layout .hub-feature-route,.portal-layout .tile,.portal-layout .research-card{background:var(--v74-surface)!important;border:1px solid var(--v74-line)!important;box-shadow:var(--v74-shadow)!important;color:var(--v74-text)!important}
.portal-layout .hub-pinned{border-radius:var(--v74-radius);margin-block:8px 13px}
.portal-layout .hub-feature-routes{margin-bottom:13px;gap:10px}.portal-layout .hub-feature-route{padding:12px 15px;color:var(--v74-text)!important}
.portal-layout .hub-feature-route strong{font-size:13px;color:var(--v74-text)!important}.portal-layout .hub-feature-route small{color:var(--v74-muted)!important;font-size:11px}.portal-layout .hub-feature-route-icon{background:var(--v74-soft)!important;color:var(--v74-blue)!important}
.v74-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:start}
.v74-module-grid>.v74-module{min-width:0}.v74-module-grid>.v74-module-wide{grid-column:span 2}
.v74-module-grid>.v74-module[hidden]{display:none!important}
.portal-layout .v74-module-grid .hub-card{width:100%;margin:0;align-self:start;overflow:hidden}
.portal-layout .hub-card-head{min-height:64px;padding:12px 15px;gap:10px}
.portal-layout .hub-card-body{padding:13px 15px 16px}
.portal-layout .hub-card-title{font-size:14px;font-weight:720;color:var(--v74-text)!important}
.portal-layout .hub-card-description{font-size:11px;color:var(--v74-muted)!important}
.portal-layout .hub-card-icon,.portal-layout .hub-card-toggle{background:var(--v74-soft)!important;color:var(--v74-blue)!important;border-color:var(--v74-line)!important}
.portal-layout .hub-card-vault .hub-card-head,.portal-layout .hub-card-vault .hub-vault-intro{background:var(--v74-soft)!important;color:var(--v74-text)!important;border-color:var(--v74-line)!important}
.portal-layout .hub-application-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:space-between}
.v74-app-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 13px}
.v74-app-kpi{display:flex;flex-direction:column;gap:3px;background:var(--v74-soft);border:1px solid var(--v74-line);border-radius:11px;padding:12px 14px;min-width:0}
.v74-app-kpi strong{font:750 25px/1.1 Inter,system-ui,sans-serif;letter-spacing:-.04em;color:var(--v74-strong)}.v74-app-kpi span{font:600 11px/1.3 system-ui;color:var(--v74-muted)}
.v74-app-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:13px 0 10px}.v74-filter-search{flex:1 1 230px;min-width:0}.v74-compact-select{flex:0 1 auto}
.v74-app-toolbar :is(input,select){min-height:39px;padding:9px 11px;border:1px solid var(--v74-line);border-radius:9px;background:var(--v74-surface)!important;color:var(--v74-text)!important;font:500 12px/1.4 system-ui;max-width:100%}
.v74-filter-search input{width:100%}.v74-app-toolbar select{width:min(195px,100%)}
.v74-view-switch{display:flex;border:1px solid var(--v74-line);border-radius:9px;overflow:hidden}.v74-view-switch button{border:0;padding:9px 11px;background:var(--v74-surface);color:var(--v74-muted);cursor:pointer;font-size:12px}.v74-view-switch button.is-active{background:var(--v74-strong);color:#fff}
.v74-export-actions{display:flex;align-items:center;gap:8px}.v74-export-actions button{font-size:12px}
.portal-layout .hub-applications-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,370px),1fr));gap:9px;align-items:start;margin-top:9px}
.portal-layout .v74-application-card{display:flex;flex-direction:column;gap:8px;padding:13px 14px;border-radius:10px;background:var(--v74-surface)!important;border:1px solid var(--v74-line);box-shadow:none}
.portal-layout .v74-application-card.v74-app-due{border-left:4px solid #b87926}
.v74-application-card .hub-application-head{display:flex;align-items:start;justify-content:space-between;gap:9px;margin:0}
.v74-application-heading{display:flex;flex-direction:column;gap:4px;min-width:0}.v74-application-heading strong{font-size:14px;font-weight:740;color:var(--v74-text)}.v74-application-heading span{font-size:12px;color:var(--v74-muted)}
.v74-app-status{font-size:10px;font-weight:720;border-radius:50px;padding:5px 8px;background:var(--v74-soft);color:var(--v74-strong);white-space:nowrap}
.v74-app-status.v74-status-entretien,.v74-app-status.v74-status-offre{background:#dcefe6;color:#135b45}
html[data-theme="dark"] .v74-app-status.v74-status-entretien,html[data-theme="dark"] .v74-app-status.v74-status-offre{background:#174a40;color:#c0f3d9}
.v74-app-meta{font-size:11px;line-height:1.55;color:var(--v74-muted)!important}.v74-app-notes{font-size:12px;color:var(--v74-text);margin:0;overflow-wrap:anywhere}
.v74-app-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding-top:8px;border-top:1px solid var(--v74-line)}
.v74-app-actions button,.v74-app-actions select,.v74-app-actions a{font:600 11px/1.25 system-ui;min-height:34px;border:1px solid var(--v74-line);border-radius:8px;padding:7px 9px;background:var(--v74-soft)!important;color:var(--v74-text)!important;text-decoration:none}
.v74-app-actions .v74-delete-app{margin-left:auto;color:var(--v74-danger)!important;background:transparent!important}
.v74-app-actions select{max-width:140px}.v74-extra-fields{border:1px solid var(--v74-line);border-radius:9px;padding:10px;margin:9px 0}.v74-extra-fields summary{font-size:12px;font-weight:650;color:var(--v74-muted);cursor:pointer}
.v74-extra-fields[open] summary{margin-bottom:9px}.v74-form-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:12px}
.portal-layout .hub-applications-list.v74-kanban{grid-template-columns:repeat(7,minmax(220px,1fr));overflow-x:auto;scrollbar-width:thin;max-width:100%;padding-bottom:10px;align-items:start}
.v74-kanban-column{min-width:220px;display:flex;flex-direction:column;gap:9px;padding:10px;background:var(--v74-soft);border-radius:12px;border:1px solid var(--v74-line)}.v74-kanban-column h3{font-size:12px;font-weight:750;color:var(--v74-text);margin:3px 3px 6px}
.portal-layout .hub-card :is(input,select,textarea){color:var(--v74-text)!important;border-color:var(--v74-line)!important}
.portal-layout .hub-card :is(input,select,textarea)::placeholder{color:var(--v74-muted)!important}
.portal-layout .hub-card :is(.hub-disclaimer,.hub-empty,.hub-subnote,.hub-proton-note){color:var(--v74-muted)!important}
.portal-layout .research-hero{padding:20px 23px!important;border-radius:13px;background:linear-gradient(115deg,#173b5c,#215c83)!important;margin-bottom:13px}
.portal-layout .research-hero h1{font:750 clamp(25px,3vw,36px)/1.16 Inter,"Segoe UI",system-ui,sans-serif;letter-spacing:-.035em;margin:8px 0 5px;color:#fff!important}
.portal-layout .research-hero h1 em{color:#c4e6ff!important}
.portal-layout .research-hero p{font-size:12.5px;line-height:1.55;margin:0 0 6px;color:#e1edf7!important}
.portal-layout .research-hero .hero-sub{font-size:10px;color:#d4eafa}
.portal-layout .research-main{padding:16px 0 45px}.portal-layout .research-main-grid{gap:12px}
.portal-layout .research-card{padding:17px;margin-bottom:12px;border-radius:var(--v74-radius)}
.portal-layout .research-card h2{color:var(--v74-text)!important}
.portal-layout .research-card :is(.research-muted,.research-evidence,.research-small-note){color:var(--v74-muted)!important}
.portal-layout .research-card :is(.research-controls input,.research-controls select,.research-input-action input,.intel-topic-label select){background:var(--v74-surface)!important;color:var(--v74-text)!important;border-color:var(--v74-line)!important}
.portal-layout .research-card :is(.watch-row,.research-chips button,.summary-stat,.r-outline,.intel-article-topic){background:var(--v74-soft)!important;color:var(--v74-text)!important;border-color:var(--v74-line)!important}
.portal-layout .research-card :is(.research-article,.intel-curated-article){background:var(--v74-surface)!important;color:var(--v74-text)!important;border-color:var(--v74-line)!important}
.portal-layout .research-card :is(.research-article h3,.watch-label,.research-publisher){color:var(--v74-text)!important}
.portal-layout .research-card :is(.research-article-top time,.research-article-kind,.summary-stat small){color:var(--v74-muted)!important}
.v74-source-errors{font-size:12px;color:var(--v74-danger);background:var(--v74-soft);border:1px solid var(--v74-line);border-radius:9px;padding:10px 12px;margin:0 0 12px}
.v74-reading-action{border:1px solid var(--v74-line);border-radius:8px;background:var(--v74-surface);color:var(--v74-blue);padding:7px 10px;font-weight:680;font-size:11px;cursor:pointer}
.v74-reading-entry{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--v74-line);padding:8px 0}.v74-reading-entry a{font-size:12px;color:var(--v74-blue);word-break:break-word}
.portal-layout :is(a,button,input,select,textarea,summary):focus-visible,.v74-command :is(a,button,input):focus-visible{outline:3px solid var(--v74-focus)!important;outline-offset:3px}
.portal-layout [hidden],.v74-command [hidden]{display:none!important}
@media(max-width:1100px){.v74-app-toolbar .v74-compact-select{flex:1 1 130px}.portal-layout .hub-card-description{font-size:11px}}
@media(max-width:860px){
 .portal-layout,.portal-layout.nav-collapsed{display:block}
 .portal-layout .sidebar{position:fixed;inset:0 auto 0 0;width:min(83vw,330px);z-index:65;transform:translateX(-103%);height:100dvh;overflow-y:auto}
 .portal-layout.mobile-nav-open .sidebar{transform:translateX(0)}
 .portal-layout .dash-main{padding:0 15px calc(90px + env(safe-area-inset-bottom))}
 .portal-layout .dash-top{min-height:56px;margin-inline:-15px;padding:7px 15px}
 .portal-layout .welcome{padding-top:16px}
 .portal-layout .welcome-number{display:flex!important}
 .portal-layout .lg-mobile-dock{z-index:45;position:fixed;left:10px;right:10px;bottom:calc(8px + env(safe-area-inset-bottom));height:64px;max-width:520px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--v74-line);border-radius:17px;background:var(--v74-surface)!important;box-shadow:0 9px 35px #071e3044;padding:5px;gap:2px}
 .v74-mobile-dock :is(a,button){display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:5px;border:0;border-radius:12px;background:transparent;color:var(--v74-muted);font:700 10px/1.2 Inter,system-ui;text-decoration:none;min-width:0}
 .v74-mobile-dock :is(a,button).is-active{background:var(--v74-soft)!important;color:var(--v74-strong)!important}.v74-mobile-dock .ui-icon{width:21px;height:21px}
 .v74-module-grid{gap:10px}.portal-layout .hub-overview-slim{margin:0 0 11px!important}
 .v74-home-actions{flex-wrap:wrap}.v74-customize{max-width:100%;min-width:min(100%,255px)}
 .portal-layout .research-main{padding-top:12px}
}
@media(max-width:640px){
 .v74-module-grid{grid-template-columns:1fr}.v74-module-grid>.v74-module-wide{grid-column:span 1}
 .portal-layout .welcome h1{font-size:28px}
 .portal-layout .welcome-number{padding:8px 10px}.portal-layout .welcome-number strong{font-size:17px}
 .portal-layout .dash-intro{font-size:12px}
 .portal-layout .hub-section-label{flex-wrap:wrap;gap:5px}
 .portal-layout .hub-overview-slim{align-items:stretch!important;flex-direction:column!important;padding:10px 12px!important}
 .portal-layout .hub-overview-slim .hub-figures{width:100%!important;justify-content:space-between!important;gap:4px!important}
 .portal-layout .hub-overview-slim .hub-figures>div{border-left:0!important;padding:2px 3px!important;text-align:center!important;min-width:0!important}
 .portal-layout .hub-overview-slim .hub-figures strong{font-size:17px!important}
 .portal-layout .hub-overview-slim .hub-figures small{font-size:9px!important}
 .v74-app-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.v74-app-kpi{padding:10px 7px}.v74-app-kpi strong{font-size:20px}.v74-app-kpi span{font-size:9px}
 .v74-app-toolbar .v74-filter-search{flex-basis:100%}.v74-app-toolbar .v74-compact-select{flex:1 1 43%}.v74-app-toolbar select{width:100%}
 .v74-view-switch{flex:1 0 auto}.v74-view-switch button{flex:1}
 .portal-layout .research-hero{padding:18px!important}.portal-layout .research-hero h1{font-size:27px}
 .portal-layout .research-card{padding:12px}.v74-top-search span,.v74-top-search kbd{display:none}
 .v74-search-trigger kbd{display:none}.v74-command-results{max-height:56dvh}
}
@media(max-width:370px){.portal-layout .welcome-number small{display:none}.v74-home-heading h2{font-size:18px}.portal-layout .hub-card-head{padding:11px}}
@media(prefers-reduced-motion:reduce){.portal-layout *,.v74-command *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* One visible universal search; advanced legacy search remains available on demand. */
.v74-legacy-search{margin:0 0 8px;border:0;padding:0}
.v74-legacy-search>summary{cursor:pointer;display:inline-flex;align-items:center;min-height:33px;padding:5px 1px;font:600 11px/1.4 Inter,system-ui,sans-serif;color:var(--v74-blue);list-style:disclosure-closed inside}
.v74-legacy-search[open]>summary{margin-bottom:7px}
.v74-legacy-search>.lg-unified-search{margin-top:0!important}
.v74-article-wrapper{border:1px solid var(--v74-line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0;background:var(--v74-surface)}
.v74-article-wrapper .research-result{border:0!important;box-shadow:none!important;border-radius:0!important}
.v74-article-wrapper>.v74-reading-action{margin:0 10px 10px auto}

/* V0.77 · refined private dark theme with stronger depth and consistent contrast. */
html[data-theme="dark"]{
 --v74-bg:#091523;
 --v74-surface:#12263d;
 --v74-soft:#1b3450;
 --v74-text:#f1f7ff;
 --v74-muted:#c3d2e1;
 --v74-line:#45617c;
 --v74-blue:#8fd5ff;
 --v74-strong:#f5f9ff;
 --v74-focus:#9ad8ff;
 --v74-danger:#ffb4b2;
 --v74-shadow:0 12px 36px rgba(0,0,0,.22);
 color-scheme:dark;
}
html[data-theme="dark"] .portal-layout{background:radial-gradient(circle at top,#11253d 0,#0a1522 45%,#08111d 100%)!important}
html[data-theme="dark"] .portal-layout .sidebar,
html[data-theme="dark"] .portal-layout .dash-top,
html[data-theme="dark"] .portal-layout .hub-pinned,
html[data-theme="dark"] .portal-layout .hub-card,
html[data-theme="dark"] .portal-layout .hub-feature-route,
html[data-theme="dark"] .portal-layout .tile,
html[data-theme="dark"] .portal-layout .research-card,
html[data-theme="dark"] .portal-layout .lg-unified-search,
html[data-theme="dark"] .portal-layout .v74-customize,
html[data-theme="dark"] .portal-layout .welcome-number,
html[data-theme="dark"] .portal-layout .hub-search-intro,
html[data-theme="dark"] .portal-layout .lg-mobile-dock,
html[data-theme="dark"] .v74-command,
html[data-theme="dark"] .v74-article-wrapper{
  background:#12263d!important;
  border-color:#45617c!important;
  box-shadow:0 12px 36px rgba(0,0,0,.22)!important;
}
html[data-theme="dark"] .portal-layout .nav-item:hover,
html[data-theme="dark"] .portal-layout .nav-item.is-current,
html[data-theme="dark"] .portal-layout .hub-card-icon,
html[data-theme="dark"] .portal-layout .hub-card-toggle,
html[data-theme="dark"] .portal-layout .hub-feature-route-icon,
html[data-theme="dark"] .portal-layout .hub-overview-slim,
html[data-theme="dark"] .portal-layout .v74-app-kpi,
html[data-theme="dark"] .portal-layout .v74-view-switch button.is-active,
html[data-theme="dark"] .portal-layout .hub-filter button.active,
html[data-theme="dark"] .portal-layout .hub-date-badge,
html[data-theme="dark"] .portal-layout .hub-icon-button:hover,
html[data-theme="dark"] .portal-layout .hub-vault-intro,
html[data-theme="dark"] .portal-layout .hub-secret,
html[data-theme="dark"] .v74-hit-group,
html[data-theme="dark"] #v74-command-close{
  background:#1b3450!important;
  border-color:#45617c!important;
  color:#edf6ff!important;
}
html[data-theme="dark"] .portal-layout .dash-intro,
html[data-theme="dark"] .portal-layout .hub-card-description,
html[data-theme="dark"] .portal-layout .lg-search-hint,
html[data-theme="dark"] .portal-layout .hub-empty,
html[data-theme="dark"] .portal-layout .hub-subnote,
html[data-theme="dark"] .portal-layout .hub-disclaimer,
html[data-theme="dark"] .portal-layout .hub-link-name small,
html[data-theme="dark"] .portal-layout .hub-task-main small,
html[data-theme="dark"] .portal-layout .hub-agenda-label small,
html[data-theme="dark"] .portal-layout .hub-vault-detail small,
html[data-theme="dark"] .portal-layout .research-card :is(.research-muted,.research-evidence,.research-small-note,.research-article-top time,.research-article-kind,.summary-stat small){color:#c3d2e1!important}
html[data-theme="dark"] .portal-layout .hub-card-title,
html[data-theme="dark"] .portal-layout .hub-pinned-head h2,
html[data-theme="dark"] .portal-layout .hub-feature-route strong,
html[data-theme="dark"] .portal-layout .hub-link-name strong,
html[data-theme="dark"] .portal-layout .hub-task-main strong,
html[data-theme="dark"] .portal-layout .hub-agenda-label strong,
html[data-theme="dark"] .portal-layout .hub-vault-detail strong,
html[data-theme="dark"] .portal-layout .research-card h2,
html[data-theme="dark"] .portal-layout .research-card .research-article h3,
html[data-theme="dark"] .v74-command h2{color:#f5f9ff!important}
html[data-theme="dark"] .portal-layout :is(input,select,textarea),
html[data-theme="dark"] .v74-command-query input,
html[data-theme="dark"] .v74-search-trigger,
html[data-theme="dark"] .v74-top-search,
html[data-theme="dark"] .portal-layout .v74-app-toolbar :is(input,select),
html[data-theme="dark"] .portal-layout .v74-app-actions :is(button,select,a){background:#0f2032!important;border-color:#48657f!important;color:#eff6ff!important}
html[data-theme="dark"] .portal-layout :is(input,select,textarea)::placeholder,
html[data-theme="dark"] .v74-command-query input::placeholder{color:#9cb0c5!important}
html[data-theme="dark"] .portal-layout .hub-primary,
html[data-theme="dark"] .portal-layout .primary-action,
html[data-theme="dark"] .portal-layout .v74-reading-action{background:#2c78ad!important;border-color:#4595cc!important;color:#fff!important}
html[data-theme="dark"] .portal-layout .hub-primary:hover,
html[data-theme="dark"] .portal-layout .primary-action:hover,
html[data-theme="dark"] .portal-layout .v74-reading-action:hover{background:#3b89bf!important}
html[data-theme="dark"] .portal-layout .tile-entry .favorite-toggle,
html[data-theme="dark"] .portal-layout .tile-move-controls button,
html[data-theme="dark"] .portal-layout .hub-reorder-controls button{background:#173049!important;border-color:#45617c!important;color:#eaf5ff!important}
html[data-theme="dark"] .portal-layout .tile-entry .favorite-toggle.is-favorite{background:#4b3e1b!important;border-color:#8f7341!important;color:#ffd88e!important}
html[data-theme="dark"] .portal-layout .hub-vault-unlocked{background:#203b30!important;border-color:#457661!important;color:#d8ffea!important}
html[data-theme="dark"] .portal-layout .hub-danger-btn{background:#3a2326!important;border-color:#8d575d!important;color:#ffd7da!important}
html[data-theme="dark"] .portal-layout .sidebar-brand .brand-monogram{background:#2a6f9f!important;border-color:#6fb7e3!important;color:#fff!important}
html[data-theme="dark"] .portal-layout .lg-mobile-dock a{color:#c4d2e1!important}
html[data-theme="dark"] .portal-layout .lg-mobile-dock a.is-active{background:#234662!important;color:#fff!important}
html[data-theme="dark"] .v74-command-hit:hover,
html[data-theme="dark"] .v74-command-hit:focus-visible{background:#1b3450!important}
html[data-theme="dark"] .portal-layout .research-hero{background:linear-gradient(120deg,#173452,#23547a)!important}
