/* Gobernanza: light workspace. Public marketing pages retain their own theme. */
body.app-body,body.login-body{--bg:#fff;--bg-soft:#f6f9fc;--surface:#fff;--surface-strong:#fff;--line:#dfe8ef;--line-strong:#c5d4e1;--text:#243548;--muted:#60788e;--gold:#467ba4;--gold-strong:#28618b;--ink-accent:#316e9c;--heading-font:var(--body-font);background:#fff;color:var(--text);font-family:var(--body-font);}
body.app-body::before,body.login-body::before{display:none}
.app-body .app-shell{grid-template-columns:244px minmax(0,1fr);gap:0;padding:0;min-height:100vh}
.app-body .sidebar{top:0;height:100dvh;border:0;border-radius:0;border-right:1px solid #deebf3;box-shadow:none;background:#eaf3fa;padding:22px 14px 14px;gap:20px;overflow:auto;scrollbar-width:thin}
.sidebar .sidebar-brand-emblem{padding:0 0 20px;gap:7px;border-color:#d2e4f1}
.sidebar .sidebar-emblem{width:38px;height:38px;filter:grayscale(1) sepia(1) hue-rotate(155deg) saturate(2.4)}
.sidebar .sidebar-wordmark{font-family:Georgia,serif;letter-spacing:3px;font-size:19px;color:#1b3b59}
.sidebar .sidebar-tagline{font-size:7px;letter-spacing:1.5px;color:#517393}
.sidebar .sidebar-nav{gap:7px}
.sidebar .nav-item{min-height:47px;border:0;border-radius:6px;padding:10px 12px;font-size:14px;font-weight:500;color:#2e4965;gap:13px;transform:none;box-shadow:none}
.sidebar .nav-item:hover,.sidebar .nav-subitem:hover{background:#f5faff;color:#205a88;transform:none}
.sidebar .nav-item.active{background:#fff;color:#225f93;box-shadow:none;font-weight:700}
.sidebar .nav-item::before{content:'';width:21px;height:21px;flex:0 0 21px;border-radius:0;background:currentColor;mask:var(--nav-icon) center/contain no-repeat;-webkit-mask:var(--nav-icon) center/contain no-repeat}
.sidebar [data-nav-icon="IN"]{--nav-icon:url('/static/icons/workspace/home.svg')}.sidebar [data-nav-icon="AL"]{--nav-icon:url('/static/icons/workspace/bell.svg')}.sidebar [data-nav-icon="CA"]{--nav-icon:url('/static/icons/workspace/file-text.svg')}.sidebar [data-nav-icon="EX"]{--nav-icon:url('/static/icons/workspace/database.svg')}.sidebar [data-nav-icon="CL"]{--nav-icon:url('/static/icons/workspace/users.svg')}.sidebar [data-nav-icon="DX"]{--nav-icon:url('/static/icons/workspace/file-analytics.svg')}.sidebar [data-nav-icon="AD"]{--nav-icon:url('/static/icons/workspace/settings.svg')}.sidebar [data-nav-icon="RP"]{--nav-icon:url('/static/icons/workspace/chart-bar.svg')}.sidebar [data-nav-icon="US"]{--nav-icon:url('/static/icons/workspace/user-cog.svg')}
.sidebar .nav-caret{font-size:11px}.sidebar .nav-subitem{font-size:12px;border-radius:4px;color:#425f77}.sidebar .sidebar-footer{border-top:1px solid #d2e4f1;padding-top:16px;font-size:11px;color:#59758b}.sidebar .sidebar-footer strong{font-family:var(--body-font);font-size:12px;color:#334f68}
.app-body .main-area{min-width:0;padding:0 26px 26px}
.app-body .topbar{min-height:68px;margin:0 0 25px;padding:12px 0;border:0;border-bottom:1px solid var(--line);background:#fff;border-radius:0;box-shadow:none;gap:16px}
.app-body .topbar-left .eyebrow{display:none}.app-body #screen-title{font:600 14px var(--body-font);color:#5c7388;margin:0}.app-body .user-badge strong{font-size:12px;color:#344f67}.app-body .user-badge span{font-size:10px;color:#64798c}
.app-body .topbar-right{gap:14px}.workspace-date{font-size:11px;color:#637a90;text-transform:capitalize;white-space:nowrap}
.app-body .topbar .btn{font-size:11px;padding:8px 10px;min-height:32px;border-radius:5px;background:#fff;color:#3d5b75;border:1px solid var(--line);box-shadow:none}
.app-body #sidebar-toggle{display:none;background:#fff;border:1px solid var(--line);border-radius:5px;width:34px;height:34px;padding:7px}.app-body #sidebar-toggle img{width:18px;height:18px}
.nordic-dashboard .nd-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}
.app-body .nordic-dashboard h2{font:750 31px/1.2 var(--body-font);letter-spacing:-.9px;margin:0 0 8px;color:#213b55}.nordic-dashboard .nd-heading p{font-size:15px;color:#617c95;margin:0}
.nd-actions{display:flex;gap:16px;align-items:center}.nordic-dashboard .btn{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;min-height:38px;border-radius:5px;padding:9px 15px;font-size:12px;font-weight:650;box-shadow:none;transform:none}
.nordic-dashboard .btn-primary{background:#397ba9;border:1px solid #397ba9;color:#fff;box-shadow:none}.nordic-dashboard .btn-primary:hover{background:#2c648f}.nordic-dashboard .btn-primary img{filter:brightness(0) invert(1)}
.nd-create{position:relative;font-size:12px;color:#286592}.nd-create summary{cursor:pointer;list-style:none;padding:10px 16px 10px 0;white-space:nowrap;background:url('/static/icons/workspace/chevron-down.svg') right center/12px no-repeat}.nd-create summary::-webkit-details-marker{display:none}
.nd-create-menu{position:absolute;right:0;top:100%;z-index:30;min-width:180px;padding:5px;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:0 8px 24px #213b5514}.nd-create-menu button{display:block;width:100%;border:0;text-align:left;padding:10px;font:12px var(--body-font);color:#2b4861;background:#fff;border-radius:3px;cursor:pointer}.nd-create-menu button:hover{background:#edf5fb}
.app-body .nordic-dashboard .kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin:0 0 23px}
.nd-metric{border-right:1px solid var(--line);padding:0 13px;display:flex;flex-direction:column;gap:4px;min-width:0}.nd-metric:first-child{padding-left:0}.nd-metric:last-child{border:0}.nd-metric>span{font-size:9px;letter-spacing:.5px;text-transform:uppercase;font-weight:650;color:#56718b}.nd-metric>strong{font-size:28px;line-height:1.35;color:#285a83;font-weight:650}.nd-metric>small{font-size:10px;color:#637c92}
.nd-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:18px;align-items:start}.nd-primary,.nd-secondary{display:grid;gap:18px;min-width:0}
.nd-panel{border:1px solid #e0eaf2;border-radius:6px;background:#fff;padding:16px;min-width:0}.nd-panel-header{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:0 0 12px;flex-wrap:wrap}.app-body .nordic-dashboard h3{font:750 18px/1.3 var(--body-font);letter-spacing:-.35px;margin:0;color:#243e59}
.nordic-dashboard .action-link,.nordic-dashboard a{color:#22679b;font-size:11px;font-weight:550}.nordic-dashboard .action-link{padding:0;border:0;background:none;box-shadow:none;white-space:nowrap;cursor:pointer}.nordic-dashboard a:hover,.nordic-dashboard .action-link:hover{text-decoration:underline}
.nd-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin:0 0 12px}.nd-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:9px 0 10px;font:12px var(--body-font);color:#657d92;cursor:pointer}.nd-tabs button[aria-selected="true"]{color:#23679a;border-bottom-color:#397ba9;font-weight:750}
.nordic-dashboard .table-wrap,#active-alerts,#nd-critical-panel{overflow:auto;scrollbar-width:thin}.nordic-dashboard .table-wrap{max-height:315px}
.nd-table{width:100%;border-collapse:collapse;table-layout:auto;font-size:11px;color:#344e67}.nd-table th{font-size:8px;text-transform:uppercase;letter-spacing:.2px;text-align:left;color:#627d95;font-weight:650;background:#fff;padding:10px 8px;white-space:nowrap;border:0;border-bottom:1px solid var(--line)}
.nd-table td{padding:12px 8px;border:0;border-bottom:1px solid #e8eef4;vertical-align:middle;background:#fff;line-height:1.5;overflow-wrap:anywhere}.nd-table tr:last-child td{border-bottom:0}.nd-table td strong{font-size:11px;font-weight:650;color:#263f58}.nd-table td small{display:block;color:#698198;font-size:10px;margin-top:3px}.nd-table td:first-child,.nd-table th:first-child{padding-left:0}.nd-table td:last-child,.nd-table th:last-child{padding-right:0}.nd-table td:last-child{white-space:nowrap}
.nd-attention .nd-table th:first-child{width:27%}.nd-attention .nd-table td:first-child{position:relative;padding-left:12px}.nd-attention .nd-table th:first-child{padding-left:12px}.nd-alert-critical td:first-child::before,.nd-alert-high td:first-child::before{content:'';position:absolute;left:0;top:13px;bottom:13px;width:3px;border-radius:2px;background:#d55762}.nd-alert-high td:first-child::before{background:#c38a32}
.nordic-dashboard .tag,.nd-status{font:10px var(--body-font);display:inline-block;background:#ebf3fb;color:#285f8c;border:0;border-radius:4px;padding:4px 7px;white-space:nowrap}.nordic-dashboard .tag.is-danger{background:#fff0f1;color:#ad3445}.nordic-dashboard .tag.is-warning{background:#fff5e6;color:#8b5b14}
.nd-empty-calendar{min-height:197px;padding:25px 15px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;color:#5b7892}.nd-empty-calendar img{opacity:.65}.nd-empty-calendar strong{font-size:13px;color:#365776;font-weight:600}.nd-empty-calendar p{font-size:11px;line-height:1.7;margin:0;max-width:220px}
.nd-list-row{padding:14px 0;border-bottom:1px solid #e8eef4;line-height:1.6;overflow-wrap:anywhere}.nd-list-row:last-child{border:0}.nd-list-row>strong,.nd-list-row div>strong{display:block;font-size:12px;color:#29445e;font-weight:600}.nd-list-row small,.nd-list-row time{display:block;font-size:10px;color:#698198}.nd-activity{display:flex;gap:12px}.nd-activity>img{flex:0 0 18px;margin-top:3px;opacity:.8}#activity-list,#urgent-deadlines{max-height:420px;overflow:auto;scrollbar-width:thin}
.nordic-dashboard .empty-state{font-size:12px;padding:25px 12px;background:#fff;border:0;border-radius:0;box-shadow:none;color:#617c95}
.nordic-dashboard [hidden]{display:none!important}.nordic-dashboard :focus-visible,.sidebar :focus-visible,.login-body :focus-visible{outline:2px solid #387aac;outline-offset:3px}
/* Centered, open login composition; no nested panels. */
.login-body{margin:0;min-height:100dvh;display:flex;flex-direction:column}.login-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:100px;padding:20px 52px;background:#eaf3fa}.login-topbar>span{font-size:14px;color:#486d8c}.login-wordmark{display:flex;gap:17px;align-items:center;color:#203f5d}.login-wordmark img{width:48px;height:55px;filter:grayscale(1) sepia(1) hue-rotate(155deg) saturate(2.4)}.login-wordmark strong{font:22px Georgia,serif;letter-spacing:6px;display:block}.login-wordmark small{font:8px var(--body-font);letter-spacing:3px;color:#557895;display:block;margin-top:9px}
.login-body .login-form-panel{display:grid;place-items:center;flex:1;min-height:0;padding:64px 24px;border:0;border-radius:0;background:#fff;box-shadow:none;backdrop-filter:none}.login-body .auth-card{width:min(100%,440px);padding:0;background:#fff;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}.login-body .auth-card h2{font:650 36px/1.25 var(--body-font);letter-spacing:-1px;text-align:center;margin:0 0 12px;color:#213f5c}.login-body .auth-card>p:not(.form-feedback){font-size:16px;text-align:center;color:#607c95;line-height:1.5;margin:0 0 42px}.login-body .auth-card .field{display:block;margin:0 0 24px;gap:0}.login-body .auth-card .field>span,.login-body #login-form .field-label{display:block;font-size:14px;font-weight:500;letter-spacing:0;text-transform:none;color:#263f58;margin:0 0 8px}.login-body .auth-card input{width:100%;height:52px;border:1px solid #cbdde9;border-radius:6px;background:#fff;color:#243548;padding:13px 16px;font:14px var(--body-font);box-shadow:none}.login-body .auth-card input::placeholder{color:#7d91a4}.login-body .auth-card input:focus{border-color:#397ba9;box-shadow:0 0 0 3px #397ba912}.login-body #login-form .password-control input{padding-right:52px}.login-body #login-form .password-toggle{right:10px;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:4px;background:none;border:0}.login-body #login-form .password-toggle:hover{background:#edf5fb}.login-body .auth-card .btn-primary{min-height:52px;background:#397ba9;border:1px solid #397ba9;border-radius:6px;color:#fff;font-size:15px;font-weight:600;box-shadow:none;transform:none}.login-body .auth-card .btn-primary:hover{background:#2c648f}.login-footer{text-align:center;padding:24px;font-size:12px;color:#587c99;background:#eaf3fa}.login-body .form-feedback{font-size:13px;line-height:1.5;color:#a73343;margin:16px 0 0}
@media(min-width:1600px){.app-body .main-area{padding-left:36px;padding-right:36px}.nd-columns{grid-template-columns:minmax(0,1.8fr) minmax(320px,1fr)}}
@media(max-width:1200px){.app-body .app-shell{grid-template-columns:210px minmax(0,1fr)}.app-body .main-area{padding-left:20px;padding-right:20px}.nd-columns{grid-template-columns:minmax(0,1fr)}.nd-secondary{grid-template-columns:1fr 1fr}.nd-metric{padding:0 9px}.nd-metric>span{font-size:8px}.workspace-date{display:none}}
@media(max-width:850px){.app-body .app-shell{display:block;padding:0}.app-body .sidebar{position:fixed;left:0;top:0;width:244px;height:100dvh;z-index:60;transform:translateX(-100%);transition:transform .2s}.app-body.sidebar-open .sidebar{transform:translateX(0);box-shadow:10px 0 25px #24354818}.app-body #sidebar-toggle{display:inline-grid;place-items:center;flex:0 0 34px}.app-body .main-area{padding:0 16px 24px}.app-body .topbar{margin-bottom:20px}.app-body .user-badge span{display:none}.nordic-dashboard .nd-heading{align-items:flex-start;flex-wrap:wrap}.app-body .nordic-dashboard h2{font-size:27px}.nordic-dashboard .nd-heading p{font-size:13px}.app-body .nordic-dashboard .kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px}.nd-metric:nth-child(3){border:0}.nd-metric:nth-child(4){padding-left:0}.nd-metric>span{font-size:9px}.nd-metric>small{font-size:9px}.nd-panel{padding:14px}.nd-secondary{grid-template-columns:1fr}.nd-table{min-width:550px}.nd-attention #active-alerts,.nd-attention #nd-critical-panel{max-height:420px}.nd-panel-header h3{font-size:16px}.login-topbar{padding:20px 24px;min-height:85px}.login-wordmark strong{font-size:17px;letter-spacing:4px}.login-wordmark small{font-size:6px;letter-spacing:2px}.login-wordmark img{width:37px;height:44px}.login-topbar>span{display:none}.login-body .login-form-panel{padding-top:50px;padding-bottom:50px}.login-body .auth-card h2{font-size:30px}.login-body .auth-card>p:not(.form-feedback){font-size:14px;margin-bottom:32px}}
/* Final contrast and reading-size adjustments against the selected reference. */
.sidebar .nav-item.active::before{background:currentColor;color:inherit}
.sidebar .sidebar-emblem,.login-wordmark img{filter:brightness(0) saturate(100%) invert(29%) sepia(20%) saturate(1099%) hue-rotate(166deg) brightness(93%) contrast(88%)}
.workspace-date{text-transform:none}
body.login-body{padding:0;align-items:stretch;justify-content:initial;width:100%}
.login-body .auth-card{width:min(100%,540px)}.login-body .auth-card h2{font-size:44px}.login-body .auth-card>p:not(.form-feedback){font-size:20px}.login-body .auth-card input{height:62px;font-size:16px}.login-body .auth-card .btn-primary{min-height:60px;font-size:17px}.login-body .auth-card .field>span,.login-body #login-form .field-label{font-size:16px}.login-wordmark strong{font-size:25px}.login-wordmark img{width:54px;height:60px}
.app-body .nordic-dashboard h2{font-size:36px}.app-body .nordic-dashboard h3{font-size:20px}.nd-metric>span{font-size:10px}.nd-metric>strong{font-size:30px}.nd-metric>small{font-size:11px}
.nd-table{font-size:12px}.nd-table th{font-size:9px}.nd-table td strong{font-size:12px}.nd-table td small{font-size:10px}.nd-table td{padding-top:10px;padding-bottom:10px}
.nordic-dashboard .action-link,.nordic-dashboard a{font-size:12px}.nd-metric>span{font-size:9px}.nd-metric>small{font-size:10px}.nd-list-row>strong,.nd-list-row div>strong{font-size:12px}
@media(max-width:850px){.app-body .nordic-dashboard h2{font-size:27px}.app-body .nordic-dashboard h3{font-size:17px}.login-body .auth-card h2{font-size:30px}.login-body .auth-card>p:not(.form-feedback){font-size:14px}.login-body .auth-card input{height:52px;font-size:14px}.login-body .auth-card .btn-primary{min-height:52px;font-size:15px}.login-body .auth-card .field>span,.login-body #login-form .field-label{font-size:14px}.login-wordmark strong{font-size:17px}.login-wordmark img{width:37px;height:44px}}
@media(prefers-reduced-motion:reduce){.app-body .sidebar{transition:none}}
