:root{--tc-navy:#071e49;--tc-menu:#132844;--tc-cyan:#0684ce;--tc-ink:#18283e;--tc-paper:#fff;--tc-bg:#f8f9ff;--tc-border:#dbe3ef;--tc-muted:#526078;--tc-soft:#eef4fc}body{background:var(--tc-bg);color:var(--tc-ink)}.topbar{background:linear-gradient(105deg,#051b46,#17365f)!important;color:#fff!important;gap:10px}.topbar .text-primary,.topbar .text-on-surface-variant,.topbar #ws-context,.topbar .top-identity,.topbar .ui-icon,.topbar .material-symbols-outlined{color:#e0edff!important}.topbar .btn,.top-help{background:#12365b;color:white;border:1px solid #436181;border-radius:7px;padding:8px 10px;text-decoration:none;cursor:pointer;white-space:nowrap}.topbar input{background:#fff;color:#0f2646}.brand-title{color:white;font-weight:700;white-space:nowrap;font-size:17px}.group-logo{width:190px;max-width:100%;height:auto;display:block;object-fit:contain;border-radius:3px}.top-group-logo{width:132px;flex:none}.sidebar{background:linear-gradient(165deg,#132844,#08172d)!important}.ws-local-link.active,.ws-local-link:hover,.ws-rail-link.active{background:#075486!important}.ws-local-link.active{box-shadow:inset 3px 0 #f8a515}.login-card .group-logo{margin:0 auto 15px;width:220px}.scope-wide{grid-column:1/-1}.scope-status{font-weight:700;padding:10px;border-radius:7px}.scope-status.ok{background:#dcfce7;color:#166534}.scope-status.bad{background:#fee2e2;color:#991b1b}.scope-document{background:var(--tc-soft);border:1px solid var(--tc-border);padding:20px;border-radius:8px;margin:12px 0;overflow-wrap:anywhere}.scope-document h4,.scope-document h3{font-weight:700;margin:8px 0}.scope-document p{white-space:pre-wrap;margin:6px 0}.scope-document section{border-top:1px solid var(--tc-border);padding:7px 0}.audit-json{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:65vh;overflow:auto}.help-section{display:grid;grid-template-columns:38px minmax(0,1fr);gap:15px;padding:20px 0;border-bottom:1px solid var(--tc-border)}.help-section h3{font-size:17px;font-weight:700}.help-section h4{font-size:13px;font-weight:700;margin-top:10px}.help-section p{margin:7px 0;line-height:1.5}.help-step{background:#0f3d73;color:#fff;font-weight:700;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.help-map{background:radial-gradient(circle at 50% 50%,#164774,#0d2548 58%,#0b172b);border-radius:14px;min-height:765px;position:relative;overflow:hidden;color:white;isolation:isolate}.help-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:210px;height:210px;border-radius:50%;border:3px solid #00a1d9;background:#f8f9ff;color:#092748;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:18px;box-shadow:0 0 0 15px #10639355;z-index:2}.help-hub strong{font-size:23px}.help-hub span{font-size:12px}.help-orbit{position:absolute;inset:0}.help-circle{--angle:calc(var(--i) * 360deg / var(--n) - 90deg);position:absolute;left:calc(50% + 300px * cos(var(--angle)));top:calc(50% + 300px * sin(var(--angle)));transform:translate(-50%,-50%);width:132px;height:132px;border:2px solid #0e8cc8;border-radius:50%;background:linear-gradient(135deg,#17446d,#07304c);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;padding:10px;color:#fff;text-decoration:none;line-height:1.2;box-shadow:0 4px 12px #0004;transition:background .15s,border-color .15s;z-index:3}.help-circle b{font-size:12px}.help-circle small{font-size:10px;color:#b9e4ff}.help-circle .material-symbols-outlined{font-size:24px}.help-circle:hover,.help-circle:focus-visible{border-color:#ffa51c;background:#08578a;outline:2px solid #ffc15e}.help-map:before{content:"";position:absolute;width:600px;height:600px;border:2px dashed #3282ae55;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1}.page-header h1{position:relative}.page-header h1 .widget-help{position:static;display:inline-flex;margin-left:9px;vertical-align:middle}.card .widget-help{z-index:2}.tablewrap{max-width:100%;overflow:auto}main{min-width:0}.topbar .top-help{font-size:15px;min-height:32px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:1350px){.top-group-logo{width:105px}.topbar #ws-context{display:none}.help-map{min-height:720px}.help-circle{left:calc(50% + 270px * cos(var(--angle)));top:calc(50% + 270px * sin(var(--angle)));width:120px;height:120px}.help-map:before{width:540px;height:540px}}@media(max-width:1000px){.help-map{min-height:0;padding:20px}.help-map:before{display:none}.help-hub{position:static;transform:none;margin:0 auto 20px;width:auto;height:auto;border-radius:12px;box-shadow:none;padding:14px}.help-orbit{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.help-circle{position:static;transform:none;width:auto;height:auto;min-height:110px;border-radius:18px}.top-group-logo{width:100px}}@media(max-width:600px){.help-orbit{grid-template-columns:repeat(2,minmax(0,1fr))}.help-map{padding:12px}.topbar .brand-title{font-size:14px}.top-group-logo{display:none}.topbar .top-identity,.topbar #filter-toggle,.topbar #alerts-toggle{display:none!important}.topbar{padding:8px!important;flex-wrap:wrap}.topbar .btn,.top-help{padding:6px 8px}.scope-document{padding:12px}}
html[data-theme=dark]{color-scheme:dark;--tc-bg:#0b1423;--tc-paper:#142236;--tc-ink:#e4edf9;--tc-border:#33435a;--tc-muted:#b6c5d9;--tc-soft:#1c304a;--primary:#8dbcf4;--on-surface:#e4edf9;--on-surface-variant:#b6c5d9;--surface:#0b1423;--surface-container-low:#142236;--surface-container:#1b2c43;--outline-variant:#33435a}html[data-theme=dark] body,html[data-theme=dark] .workspace,html[data-theme=dark] main,html[data-theme=dark] #tool-strip{background:#0b1423!important;color:#e4edf9!important}html[data-theme=dark] .card,html[data-theme=dark] .action-card,html[data-theme=dark] .diagnosis-item,html[data-theme=dark] .ws-mini-stats,html[data-theme=dark] .v5-period,html[data-theme=dark] dialog,html[data-theme=dark] .dialog-head,html[data-theme=dark] .login-card,html[data-theme=dark] .list-item,html[data-theme=dark] .scope-document,html[data-theme=dark] .v5-service-tile{background:#142236!important;color:#e4edf9!important;border-color:#33435a!important}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] h4,html[data-theme=dark] .metric,html[data-theme=dark] .ws-mini-stats strong,html[data-theme=dark] .ws-card-title h2{color:#e4edf9!important}html[data-theme=dark] p,html[data-theme=dark] label,html[data-theme=dark] small,html[data-theme=dark] .chart-note,html[data-theme=dark] .ws-open,html[data-theme=dark] .page-header p{color:#b6c5d9!important}html[data-theme=dark] table,html[data-theme=dark] th,html[data-theme=dark] td{background:#142236;color:#e4edf9;border-color:#33435a}html[data-theme=dark] tr.group td,html[data-theme=dark] tr.tech td,html[data-theme=dark] th{background:#1d3551}html[data-theme=dark] .btn:not(.primary),html[data-theme=dark] .ws-tool-tab,html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:#1b3049!important;color:#e4edf9!important;border-color:#425b78!important}html[data-theme=dark] .ws-tool-tab.active{background:#174b77!important}html[data-theme=dark] .row-action{color:#a9d2ff!important}html[data-theme=dark] .chip{color:#172033}html[data-theme=dark] .scope-status.ok{color:#166534!important}html[data-theme=dark] .scope-status.bad{color:#991b1b!important}html[data-theme=dark] .ws-track,html[data-theme=dark] .cap-track{background:#33435a}html[data-theme=dark] .ws-track i,html[data-theme=dark] .cap-track i{background:#398de6}html[data-theme=dark] .ws-tool-icon{background:#173959;color:#b6dcff}html[data-theme=dark] .ws-hero p{color:#b6c5d9}html[data-theme=dark] .help-hub{color:#092748}html[data-theme=dark] .help-hub span{color:#092748}
@media print{html[data-theme=dark] body,html[data-theme=dark] main,html[data-theme=dark] .card,html[data-theme=dark] table,html[data-theme=dark] td,html[data-theme=dark] th{background:white!important;color:#111!important}html[data-theme=dark] main h1,html[data-theme=dark] main h2,html[data-theme=dark] main p,html[data-theme=dark] main label,html[data-theme=dark] main small,html[data-theme=dark] main .metric{color:#111!important}}
.page-summary{font-size:12px;color:var(--tc-muted);margin:4px 0}.page-header .page-summary+p{display:none}input[type=checkbox]{accent-color:#0f3d73}.scope-document h4{font-size:14px}.scope-document p{font-size:13px}.help-map a:focus-visible{outline-offset:3px}.top-help:hover{background:#075486}
.scope-effort-bar{display:flex;height:18px;border-radius:6px;overflow:hidden;gap:2px;margin:12px 0}.scope-effort-bar span{display:block;min-width:1px}.scope-effort-legend{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:12px;padding-bottom:12px}.scope-effort-legend span{display:flex;gap:5px;align-items:center}.scope-effort-legend i{display:inline-block;width:9px;height:9px;border-radius:2px}
@supports not (left:calc(50% + 1px * cos(0deg))){.help-map{min-height:0;padding:20px}.help-map:before{display:none}.help-hub{position:static;transform:none;margin:0 auto 20px;width:auto;height:auto;border-radius:12px;box-shadow:none;padding:14px}.help-orbit{position:static;display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:13px}.help-circle{position:static;transform:none;width:auto;height:auto;min-height:110px;border-radius:18px}}

/* V7 R2 — one permanent sidebar and Stitch design tokens; no launcher. */
:root{--r2-sidebar:240px;--r2-primary:#002752;--r2-blue:#0f3d73;--r2-orange:#fd761a;--r2-line:#e2e8f0;--r2-muted:#475569}
html,body{font-family:Inter,Arial,sans-serif;background:#f8f9ff;color:#0b1c30}
#app .sidebar{width:var(--r2-sidebar);background:#002752!important;border:0!important;padding:0;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;color:#fff}
#app .workspace{margin-left:var(--r2-sidebar);width:auto}
.sidebar-shell{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}
.sidebar-brand{text-decoration:none;display:flex;flex-direction:column;gap:5px;align-items:flex-start;padding:21px 17px 17px;border-bottom:1px solid #ffffff1c;color:white}
.sidebar-brand .group-logo{width:179px;border-radius:3px;margin-bottom:6px}
.sidebar-brand strong{font:700 17px/1.3 'Plus Jakarta Sans',Inter,sans-serif;color:#fff}
.sidebar-brand small{font-size:11px;color:#a8c8ff}
.side-menu-caption{font-size:10px;letter-spacing:.11em;font-weight:600;color:#9bb8dc;padding:16px 18px 7px}
#side-nav{display:flex;flex-direction:column;gap:2px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#315680 transparent;padding:0 8px 14px;flex:1;min-height:0}
#side-nav .nav-group{flex:none}
#side-nav .nav-group-button{min-height:39px;padding:8px 8px 8px 10px;gap:8px;border-radius:6px;border-left:3px solid transparent;font:600 12px/1.4 Inter,sans-serif;color:#bfd5f3}
#side-nav .nav-group-button .ui-icon{font-size:19px;color:#9ebce7}
#side-nav .nav-group-button .ui-icon:last-child{font-size:17px}
#side-nav .nav-group-button:hover,#side-nav .nav-group-button.group-active{background:#0f3d73;color:white}
#side-nav .nav-group-button.group-active{border-left-color:#fd761a}
#side-nav .nav-group-button.group-active .ui-icon{color:#d6e3ff}
#side-nav .nav-children{margin:3px 0 7px 19px;padding-left:7px}
#side-nav .nav-children[hidden]{display:none!important}
#side-nav .nav-sub{font:500 12px/1.45 Inter,sans-serif;padding:8px 9px;min-height:32px;color:#bbd0ed}
#side-nav .nav-sub.active{background:#184879;color:white;box-shadow:inset 3px 0 #fd761a;font-weight:600}
.sidebar-footer{display:flex;align-items:center;gap:9px;border-top:1px solid #ffffff1f;padding:14px 15px;flex:none;min-width:0}
.sidebar-footer .identity-text{min-width:0;overflow-wrap:anywhere;font-size:12px}
.sidebar-footer .identity-text small{display:block;font-size:10px;color:#a8c8ff}
#tool-strip{display:none!important}
.topbar{background:#fff!important;color:#0b1c30!important;border-bottom:1px solid #e2e8f0;height:64px;padding:0 24px!important;justify-content:space-between;gap:12px}
.topbar-title,.topbar-tools{display:flex;align-items:center;gap:12px;min-width:0}
.topbar-title{flex:1;overflow:hidden}
.topbar-tools{flex:none;gap:8px}
.topbar .brand-title{font:700 16px/1.35 'Plus Jakarta Sans',Inter,sans-serif;color:#002752!important}
.topbar #ws-context{display:block;color:#64748b!important;font-size:12px;border-left:1px solid #e2e8f0;padding-left:12px;overflow:hidden;text-overflow:ellipsis;min-width:0}
.topbar #menu-toggle,.topbar #filter-toggle,.topbar #alerts-toggle,.topbar .top-help{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:0;border:1px solid transparent;border-radius:7px;background:transparent;color:#0f3d73;cursor:pointer;flex:none}
.topbar .top-help{border-color:#e2e8f0;font-weight:600}
.topbar #filter-toggle:hover,.topbar #alerts-toggle:hover,.topbar .top-help:hover,.topbar #menu-toggle:hover{background:#eff4ff}
.topbar .material-symbols-outlined{color:#0f3d73!important;font-size:20px}
.topbar .btn{background:white;color:#0f3d73;border:1px solid #e2e8f0;border-radius:8px;padding:7px 10px}
.topbar .top-identity{color:#0b1c30!important;font-size:12px}
.topbar .top-identity small{color:#64748b!important}
.top-user-box{display:flex;align-items:center;gap:7px}
.top-search{position:relative;display:flex;align-items:center;min-width:0;width:228px}
.top-search .material-symbols-outlined{position:absolute;left:9px;pointer-events:none;color:#64748b!important;font-size:17px}
.topbar .top-search input{width:100%;height:36px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:12px;padding:7px 8px 7px 31px;color:#0b1c30}
main{padding:24px;gap:20px;max-width:none}
.page-header{align-items:flex-start;padding-bottom:12px;gap:15px}
.page-header h1{font-family:'Plus Jakarta Sans',Inter,sans-serif;font-size:26px;line-height:1.35;letter-spacing:-.02em;font-weight:700;color:#002752}
.page-header p,.page-summary{font:400 13px/1.5 Inter,sans-serif;color:#475569;max-width:90ch}
.eyebrow{font-size:10px;letter-spacing:.05em}
.card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:18px;box-shadow:none}
.card h2,.card h3{font-family:'Plus Jakarta Sans',Inter,sans-serif;color:#002752;font-size:16px;line-height:1.4;font-weight:600}
.card .kpi-head label{font-size:12px;line-height:1.45}
.card .metric{font-family:'Plus Jakarta Sans',Inter,sans-serif;font-weight:700;font-variant-numeric:tabular-nums}
.kpi{min-height:108px}
.tablewrap th{background:#f8fafc;color:#475569;font-size:12px;font-weight:600}
.tablewrap td{font-variant-numeric:tabular-nums;font-size:13px}
.btn{font-size:12px;border-radius:8px;min-height:34px}
.btn.primary{background:#0f3d73;color:#fff}
.btn.primary:hover{background:#1e40af;color:#fff}
.card .chart-note{font-size:12px;line-height:1.45;color:#64748b}
.has-widget-help>.widget-help{right:10px;top:10px;width:22px;height:22px;background:#f8f9ff;color:#0f3d73;border-color:#d6e3ff}
.has-widget-help>.ict-heading,.has-widget-help>.kpi-head{padding-right:29px}
.has-widget-help>.kpi-head .ui-icon{font-size:17px}
.page-header h1 .widget-help{width:23px;height:23px;position:static;vertical-align:middle}
.card .grid>.card.has-widget-help>h2{padding-right:28px}
.field-help-wrap{position:relative;min-width:0}
.field-help-wrap>.field,.field-help-wrap>.cap-field{padding-right:0}
.field-help-wrap>.cap-check{padding-right:29px}
.field-tip{position:absolute;right:1px;top:0;z-index:3}
.field-tip summary{list-style:none;display:grid;place-items:center;width:20px;height:20px;border:1px solid #c3c6d1;background:#f8f9ff;color:#0f3d73;font-weight:700;font-size:11px;border-radius:50%;cursor:pointer}
.field-tip summary::-webkit-details-marker{display:none}
.field-tip[open]{z-index:12}
.field-tip>div{background:var(--tc-paper);color:var(--tc-ink);border:1px solid var(--tc-border);border-radius:8px;box-shadow:0 4px 12px #0002;position:absolute;right:0;top:26px;width:min(260px,70vw);padding:11px;font-size:12px;line-height:1.5}
.field-help-wrap>.cap-field{padding-right:0;position:relative}
.field-help-wrap>.cap-field::first-line{line-height:20px}
.field-help-wrap>.field>label{padding-right:25px}
.field-help-wrap>.cap-field>input,.field-help-wrap>.cap-field>select,.field-help-wrap>.cap-field>textarea{margin-top:2px}
.scope-wide.field-help-wrap{grid-column:1/-1}
.portfolio-orbit{position:relative;isolation:isolate;min-height:540px;border-radius:10px;background:#002752;overflow:hidden;color:white}
.portfolio-orbit:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,#0a618b 0,#0f3d73 45%,#002752 76%);z-index:-1}
.portfolio-orbit:after{content:'';position:absolute;border:2px dashed #85a9e666;width:410px;height:410px;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%);z-index:-1}
.portfolio-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:180px;height:180px;border-radius:50%;background:#fff;color:#002752;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:6px;border:3px solid #85a9e6;padding:16px}
.portfolio-hub strong{font:700 19px/1.2 'Plus Jakarta Sans',Inter,sans-serif}
.portfolio-hub span{font-size:12px}.portfolio-hub small{color:#475569;font-size:11px}
.portfolio-orbit-node{--angle:calc(var(--i) * 360deg / var(--n) - 90deg);position:absolute;left:calc(50% + 205px * cos(var(--angle)));top:calc(50% + 205px * sin(var(--angle)));transform:translate(-50%,-50%);width:126px;height:126px;border-radius:50%;background:#0f3d73;border:2px solid #3288bb;color:white;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;text-align:center;padding:9px;cursor:pointer;font-size:12px;line-height:1.25}
.portfolio-orbit-node.selected,.portfolio-orbit-node:hover{background:#08628d;border-color:#fd761a}
.portfolio-orbit-node strong{font-weight:600}.portfolio-orbit-node span:last-child{color:#d6e3ff;font-size:10px}
.portfolio-orbit-node .ui-icon{font-size:22px}
.portfolio-orbit-node:focus-visible{outline:3px solid #ffb690;outline-offset:3px}
.effort-visual{margin:14px 0;padding:16px;border:1px solid var(--tc-border);border-radius:8px;background:var(--tc-soft)}
.effort-overview{display:grid;grid-template-columns:minmax(130px,180px) minmax(0,1fr);align-items:center;gap:20px}
.effort-ring svg{display:block;width:100%;max-width:180px;aspect-ratio:1;margin:auto}
.effort-number{fill:var(--tc-ink);font-size:17px;font-weight:700;font-family:'Plus Jakarta Sans',Inter,sans-serif}
.effort-sub{fill:var(--tc-muted);font-size:9px}
.effort-legend-row{display:grid;grid-template-columns:minmax(0,1fr) auto 50px;gap:8px;align-items:center;padding:5px 0;font-size:12px;border-bottom:1px solid var(--tc-border)}
.effort-legend-row>span{display:flex;align-items:center;gap:7px;overflow-wrap:anywhere}
.effort-legend-row i{width:10px;height:10px;border-radius:2px;flex:none}
.effort-legend-row small{text-align:right}
.effort-timeline{margin-top:16px;border-top:1px solid var(--tc-border);padding-top:12px}
.effort-timeline h4{font-size:13px;font-weight:600;margin-bottom:7px}
.effort-axis{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--tc-muted)}
.effort-time-row{display:grid;grid-template-columns:minmax(110px,1fr) minmax(60px,2fr) auto;gap:9px;align-items:center;padding:6px 0;font-size:12px}
.effort-time-row small{display:block;font-size:10px;color:var(--tc-muted)}
.effort-time-track{position:relative;height:14px;background:#c3d6ed;border-radius:3px;overflow:hidden}
.effort-time-track i{position:absolute;height:100%;border-radius:3px}
.help-map{min-height:770px}.help-circle{width:128px;height:128px}
html[data-theme=dark] .topbar{background:#142236!important;color:#e4edf9!important;border-color:#33435a}
html[data-theme=dark] .topbar .brand-title,html[data-theme=dark] .topbar .material-symbols-outlined,html[data-theme=dark] .topbar .top-identity{color:#e4edf9!important}
html[data-theme=dark] .topbar #ws-context,html[data-theme=dark] .topbar .top-identity small{color:#b6c5d9!important;border-color:#33435a}
html[data-theme=dark] .topbar .top-help,html[data-theme=dark] .topbar #menu-toggle{color:#d6e3ff;border-color:#33435a}
html[data-theme=dark] .topbar .top-help:hover,html[data-theme=dark] .topbar #filter-toggle:hover,html[data-theme=dark] .topbar #alerts-toggle:hover{background:#1b3049}
html[data-theme=dark] .portfolio-hub strong,html[data-theme=dark] .portfolio-hub small,html[data-theme=dark] .portfolio-hub span{color:#002752!important}
html[data-theme=dark] .v5-provisional{background:#4c3019;color:#ffe2bb!important;border-color:#95602d}
html[data-theme=dark] .help-map .help-circle small{color:#d6e3ff!important}
@media(max-width:1280px){.top-search{width:175px}.top-user-box .top-identity{display:none}.topbar #ws-context{font-size:11px}.help-map{min-height:0;padding:16px}.help-map:before{display:none}.help-hub{position:static;transform:none;margin:0 auto 18px;width:auto;height:auto;border-radius:12px;box-shadow:none;padding:14px}.help-orbit{position:static;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.help-circle{position:static;transform:none;width:auto;height:auto;min-height:90px;border-radius:10px}}
@media(min-width:1024px){#app .sidebar{display:flex!important;max-width:none}.topbar #menu-toggle{display:none!important}}
@media(max-width:1023px){#app .sidebar{display:none;max-width:min(85vw,280px);width:260px;z-index:60}#app .sidebar.open{display:flex!important}#app .workspace{margin-left:0;width:100%}.topbar{padding:0 14px!important}.topbar #ws-context{display:none}.topbar #menu-toggle{display:inline-flex!important}main{padding:18px;gap:16px}.topbar .brand-title{font-size:15px}}
@media(max-width:767px){.top-search{display:none}.topbar-tools{gap:5px}.top-user-box,.topbar #alerts-toggle,.topbar #filter-toggle{display:none!important}.topbar{height:auto;min-height:56px;padding:8px 10px!important;flex-wrap:nowrap}.topbar-title{gap:5px}.topbar .brand-title{font-size:14px}.topbar .btn{padding:6px 8px}.topbar .top-help{width:30px;height:30px;min-height:30px}main{padding:12px}.page-header h1{font-size:22px}.card{padding:14px}.help-orbit{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-orbit{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.portfolio-orbit:after{display:none}.portfolio-hub{position:static;transform:none;width:auto;height:auto;border-radius:8px;grid-column:1/-1;padding:10px}.portfolio-orbit-node{position:static;transform:none;width:auto;height:auto;min-height:100px;border-radius:9px}.effort-overview{grid-template-columns:1fr;gap:8px}.effort-ring svg{max-width:150px}.effort-time-row{grid-template-columns:minmax(72px,1fr) minmax(45px,1fr) auto;gap:5px}.effort-time-row small{overflow-wrap:anywhere}.field-tip>div{width:min(220px,65vw)}}
@media(max-width:480px){.topbar .brand-title{font-size:12px}.topbar #menu-toggle{width:28px}.topbar-tools{gap:4px}.topbar .btn{font-size:11px}.help-circle{min-height:85px}}
@supports not (left:calc(50% + 1px * cos(0deg))){.portfolio-orbit{min-height:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;padding:16px}.portfolio-hub,.portfolio-orbit-node{position:static;transform:none;width:auto;height:auto;border-radius:10px;min-height:100px}.portfolio-orbit:after{display:none}}
@media print{#app .workspace{margin:0!important;width:100%!important}.topbar,.sidebar,.field-tip,.widget-help{display:none!important}.effort-visual{break-inside:avoid}}
/* Preserve table and filter widths; concise help on non-interactive labels. */
.ict-heading h2{padding-right:20px}
#side-nav .nav-sub:focus-visible,#side-nav .nav-group-button:focus-visible,.field-tip summary:focus-visible,.widget-help:focus-visible{outline:2px solid #fd761a;outline-offset:2px}
.portfolio-orbit-node strong{max-width:100%;overflow-wrap:anywhere}
.topbar .top-search input[type=search]{appearance:none}
@media(min-width:1281px){.executive-bottom{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}}
@media(max-width:1023px){#app .sidebar.open~#mobile-backdrop{display:block!important}}

/* R3: autenticação split-screen, independente do tema do portal. */
#login[hidden]{display:none!important}
#login.login-split:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100vh;min-height:100dvh;padding:0!important;margin:0!important;background:#fff!important;color:#475569!important;align-items:stretch;justify-content:stretch;font-family:'Plus Jakarta Sans',Inter,Arial,sans-serif;color-scheme:light}
.login-brand-panel{position:relative;min-width:0;min-height:100vh;background:#0f3d73;overflow:hidden}
.login-brand-panel img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.login-auth-panel{min-width:0;position:relative;display:flex;align-items:center;justify-content:center;padding:48px;background:#fff!important}
.login-content{width:100%;max-width:448px;text-align:left}
.login-badge{display:inline-flex;gap:7px;align-items:center;border:1px solid #dbe4f4;border-radius:99px;background:#eef4ff;color:#0f3d73;font-size:12px;font-weight:600;padding:6px 12px;margin-bottom:20px}
#login .login-content h1{font:700 32px/1.2 'Plus Jakarta Sans',Inter,Arial,sans-serif;letter-spacing:-.025em;color:#0f3d73!important;margin:0 0 12px}
#login .login-description{font:400 16px/1.65 'Plus Jakarta Sans',Inter,Arial,sans-serif;color:#475569!important;margin:0 0 32px}
.login-sso{display:flex;align-items:center;justify-content:center;gap:12px;background:#0f3d73;color:#fff!important;font-weight:600;font-size:14px;min-height:48px;width:100%;border-radius:8px;padding:12px;text-decoration:none;box-sizing:border-box;transition:background .15s}
.login-sso:hover{background:#002752}.login-sso:focus-visible{outline:3px solid #85a9e6;outline-offset:3px}.login-sso svg{flex:none}
.login-auth-panel footer{position:absolute;bottom:40px;left:48px;right:48px;max-width:448px;margin:auto;font-size:12px;line-height:1.5;color:#64748b!important;text-align:left}
#login-error{color:#b91c1c!important;font-size:13px;margin:12px 0 0}
@media(max-width:1023px){#login.login-split:not([hidden]){grid-template-columns:1fr;grid-template-rows:auto 1fr}.login-brand-panel{min-height:320px;height:320px}.login-auth-panel{min-height:320px;padding:40px 24px;flex-direction:column;gap:32px}.login-auth-panel footer{position:static;width:100%;text-align:left;margin:0}.login-content{margin:auto}}
@media(max-width:639px){.login-brand-panel{height:256px;min-height:256px}#login .login-content h1{font-size:28px}.login-auth-panel{padding:32px 24px}}

/* V7 R3.1 - stretch grid items; override the legacy #login place-items:center. */
#login.login-split:not([hidden]){justify-items:stretch!important;align-items:stretch!important;width:100%}
#login.login-split>.login-brand-panel,#login.login-split>.login-auth-panel{width:100%;min-width:0;justify-self:stretch;align-self:stretch}
