/* GOMD Workspace · Ocean / Ink / Sea Glass. Shared application design, separate from the landing page. */
html:root {
 --bg-darker:#f3f6f5;--bg-dark:#eaf0ee;--bg-card:#fff;--bg-card-hover:#f6faf9;--surface-subtle:#edf4f2;--table-head-bg:#f0f5f3;--input-bg:#fff;
 --border-color:#d9e4e1;--border-strong:#afc5be;--gomd-rule:#e6eeeb;--gomd-rule-strong:#c7d8d2;
 --text-primary-base:#173b46;--text-secondary-base:#4d6870;--text-muted-base:#556c71;
 --text-primary:var(--text-primary-base);--text-secondary:var(--text-secondary-base);--text-muted:var(--text-muted-base);--text-on-surface:var(--text-primary);--text-on-surface-soft:var(--text-secondary);
 --primary:#08777d;--primary-rgb:8,119,125;--primary-hover:#065c63;--secondary:#12698a;
 --accent-info-base:#08777d;--accent-success-base:#22734e;--accent-warning-base:#956013;--accent-danger-base:#b33f42;--accent-violet-base:#695396;
 --accent-info:var(--accent-info-base);--accent-success:var(--accent-success-base);--accent-warning:var(--accent-warning-base);--accent-danger:var(--accent-danger-base);--accent-violet:var(--accent-violet-base);
 --surface-inverse:#0c3040;--surface-inverse-soft:#143e4c;--text-on-inverse:#f0faf7;--text-on-inverse-soft:#b5d0ce;
 --action-bg:#08777d;--action-text:#fff;--text-on-fill:#fff;--text-on-fill-soft:#e5f5f2;--success:#22734e;--danger:#b33f42;--accent:#956013;
 --nav-hover:#e7f2ee;--panel-tint:#edf6f3;--primary-glow:transparent;--secondary-glow:transparent;--accent-glow:transparent;
 --body-grid:transparent;--body-radial-primary:transparent;--body-radial-secondary:transparent;
 --radius-sm:8px;--radius-md:12px;--radius-lg:18px;--radius-xl:24px;
 --shadow-sm:0 2px 5px #163d3210;--shadow-md:0 5px 22px #163d320b;--shadow-lg:0 16px 48px #0a302526;--shadow-orange:var(--shadow-sm);--shadow-cyan:var(--shadow-sm);
 --workspace-sidebar:264px;color-scheme:light;
}
html:root[data-theme=dark] {
 --bg-darker:#0b2029;--bg-dark:#102d36;--bg-card:#14333d;--bg-card-hover:#1a3e48;--surface-subtle:#1a3c45;--table-head-bg:#193b44;--input-bg:#102c35;
 --border-color:#2d4c54;--border-strong:#54767c;--gomd-rule:#28464f;--gomd-rule-strong:#426169;
 --text-primary-base:#e6f3ef;--text-secondary-base:#b0c9c8;--text-muted-base:#98b5b6;
 --primary:#77d2c6;--primary-rgb:119,210,198;--primary-hover:#a1e5dc;--secondary:#8ccbe1;
 --accent-info-base:#77d2c6;--accent-success-base:#88d5a8;--accent-warning-base:#ecc27d;--accent-danger-base:#f3979c;--accent-violet-base:#bca9e8;
 --action-bg:#87d7cc;--action-text:#092d36;--text-on-fill:#092d36;--text-on-fill-soft:#163e44;
 --nav-hover:#20464e;--panel-tint:#193e46;--success:#88d5a8;--danger:#f3979c;--accent:#ecc27d;
 --surface-inverse:#071b25;--shadow-sm:0 2px 6px #0002;--shadow-md:0 6px 24px #0002;color-scheme:dark;
}
html:root body{background:var(--bg-darker)!important;background-image:none!important;color:var(--text-primary);font-size:14px;line-height:1.65;overflow-x:clip}
html:root body::before,html:root body::after{display:none!important}
html:root body *,html:root body *::before,html:root body *::after{box-sizing:border-box}
html:root body [hidden]{display:none!important}
html:root body .app-container{width:100%!important;max-width:100%;min-height:100dvh!important;align-items:flex-start}
html:root body .main-content{min-width:0;min-height:100dvh;overflow:visible!important;gap:0;padding:32px 38px 48px!important}
/* Switch parent surfaces and inherited text together; legacy transitions mixed themes. */
html:root body,html:root body .main-content{transition:none!important}
html:root body main :is(h1,h2,h3,h4,p){overflow-wrap:break-word}
html:root body h1{font-size:clamp(1.55rem,2.4vw,2.15rem)!important;line-height:1.22;letter-spacing:-.045em;font-weight:800}
html:root body h2{font-size:1.22rem;line-height:1.35;letter-spacing:-.025em;font-weight:750}
html:root body h3{font-size:1rem;line-height:1.45;letter-spacing:-.015em;font-weight:750}
html:root body h4{font-size:.92rem;line-height:1.45}
html:root body :is(.top-header,.sr-header){align-items:flex-start;gap:20px;margin-bottom:24px;padding:0 0 24px;border-bottom:1px solid var(--border-color)}
html:root body :is(.top-header,.sr-header)>div{min-width:0}
html:root body :is(.header-title p,.sr-intro,.cm-note){font-size:.88rem;line-height:1.7;max-width:80ch;color:var(--text-secondary)}
html:root body :is(.eyebrow,.sr-eyebrow){font-size:.68rem;letter-spacing:.12em;line-height:1.6;font-weight:800;color:var(--accent-info)}
html:root body :is(.section-header,.cm-block-head,.sr-panel-heading){gap:16px;flex-wrap:wrap;align-items:center}
html:root body :is(.section-title,.panel-title){font-size:1rem!important;font-weight:750!important;text-transform:none!important;letter-spacing:-.02em!important;margin-bottom:16px}
html:root body :is(.card,.stat-card,.metric-card,.surface-card,.dashboard-sub-card,.dashboard-theme-surface,.sr-panel,.sr-card,.sr-stat,.ds-card,.oi-card,.oi-panel,.cm-card,.pol-card,.lg-card,.bf-call-card,.bf-project-card,.bf-partner,.bf-panel,.bf-stat,.chart-container,.table-container,.panel,.filter-bar){
 background:var(--bg-card)!important;color:var(--text-primary);border:1px solid var(--border-color)!important;border-radius:16px!important;box-shadow:var(--shadow-md)!important;background-image:none!important;transform:none!important;min-width:0}
html:root body :is(.card,.surface-card,.sr-panel,.cm-card,.bf-panel,.chart-container){padding:22px}
html:root body :is(.card,.sr-card,.bf-call-card,.bf-project-card){transition:border-color .16s,box-shadow .16s}
html:root body :is(.card,.sr-card,.bf-call-card,.bf-project-card):hover{border-color:var(--border-strong)!important;box-shadow:var(--shadow-sm)!important;transform:none!important}
html:root body :is(.sr-stat,.stat-card,.metric-card,.bf-stat){padding:20px}
html:root body :is(.stat-value,.metric-value,.card-value,.sr-stat strong,.bf-stat strong){font-size:clamp(1.6rem,2.4vw,2.35rem);font-weight:800;letter-spacing:-.055em;line-height:1.2;font-variant-numeric:tabular-nums}
html:root body :is(.card-title,.metric-label,.stat-label,.sr-stat span){font-size:.74rem;line-height:1.5;letter-spacing:0;color:var(--text-secondary)}
html:root body :is(.card-desc,.card-subtitle,.sr-card-desc){font-size:.8rem;line-height:1.6;color:var(--text-secondary)}
html:root body :is(.card-icon,.icon-wrap:not(.on-dark)){border-radius:12px!important;background:var(--panel-tint);color:var(--accent-info);box-shadow:none!important}
html:root body :is(.surface-dark,.bf-hero,.pol-hero){border-radius:20px!important}
html:root body :is(.table-container,.table-wrap,.cm-table-wrap,.bf-table-wrap){overflow-x:auto;max-width:100%;border-radius:14px}
html:root body table{width:100%;border-collapse:collapse;font-size:.82rem;font-variant-numeric:tabular-nums}
html:root body thead th{background:var(--table-head-bg)!important;color:var(--text-secondary)!important;border-bottom:1px solid var(--border-color)!important;padding:13px 16px!important;font-size:.7rem!important;letter-spacing:.055em;text-transform:uppercase;font-weight:750}
html:root body tbody td{border-bottom:1px solid var(--gomd-rule)!important;padding:13px 16px!important;vertical-align:top}
html:root body tbody tr:last-child td{border-bottom:0!important}
html:root body tbody tr:hover td{background:var(--surface-subtle)!important}
html:root body :is(input[type=text],input[type=search],input[type=email],input[type=password],input[type=number],input[type=date],input[type=url],select,textarea,.form-control-custom){
 background:var(--input-bg)!important;color:var(--text-primary)!important;border:1px solid var(--border-strong)!important;border-radius:10px!important;font:inherit;font-size:.85rem!important;padding:10px 12px!important;min-height:42px;max-width:100%;box-shadow:none!important}
html:root body :is(input[type=checkbox],input[type=radio]){accent-color:var(--primary);width:17px;height:17px;min-height:0;padding:0!important;flex-shrink:0}
html:root body :is(input,textarea)::placeholder{color:var(--text-muted);opacity:1}
html:root body :is(button,.btn,.sr-button,.cm-btn){font-family:inherit}
html:root body :is(.btn,.cm-btn,.sr-button,.pol-btn,.bf-btn){
 display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px!important;border-radius:10px!important;box-shadow:none!important;font-size:.8rem!important;font-weight:750!important;letter-spacing:0;text-decoration:none!important;transform:none!important;transition:background-color .15s,border-color .15s}
html:root body :is(.btn-primary,.sr-primary,.cm-btn-primary,.pol-primary,.bf-btn-primary){background:var(--action-bg)!important;color:var(--action-text)!important;border:1px solid var(--action-bg)!important;background-image:none!important}
html:root body :is(.btn-primary,.sr-primary):hover{filter:brightness(.93)}
html:root body :is(.btn-secondary,.btn-ghost,.cm-btn){background:var(--bg-card)!important;color:var(--text-primary)!important;border:1px solid var(--border-strong)!important;background-image:none!important}
html:root body :is(.btn-secondary,.btn-ghost,.cm-btn):hover{background:var(--surface-subtle)!important}
html:root body :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--accent-info)!important;outline-offset:3px!important;box-shadow:none!important}
html:root body :is(button:disabled,input:disabled,select:disabled){opacity:.55;cursor:not-allowed}
html:root body :is(.badge,.tag,.chip,.status-pill,.pill,.lg-psc-tag){border-radius:6px!important;padding:4px 8px;font-size:.68rem;font-weight:750;line-height:1.4;box-shadow:none!important;background-image:none!important}
html:root body :is(.tabs,.cm-tabs,.sr-category-nav,.source-area-nav,.pw-nav,.lg-tabs,.pol-tabs){display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html:root body :is(.tab,.cm-tab,.sr-category,.da-category){border-radius:9px!important;min-height:40px;border:1px solid var(--border-color)!important;background:var(--bg-card)!important;color:var(--text-secondary);font-size:.78rem!important;padding:9px 13px!important;font-weight:700;box-shadow:none!important}
html:root body :is(.tab.active,.cm-tab.active,.tab[aria-selected=true],.sr-category[aria-pressed=true],.da-category[aria-pressed=true]){background:var(--action-bg)!important;border-color:var(--action-bg)!important;color:var(--action-text)!important}
html:root body .source-area-nav{padding:8px!important;background:transparent!important;border:0!important;margin:0 0 20px!important}
html:root body .source-area-nav .btn{font-size:.73rem!important;min-height:36px;padding:7px 11px!important;background:transparent!important;border-color:var(--border-color)!important;color:var(--text-secondary)!important}
html:root body :is(.callout,.cm-guest,.pol-warn,.lab-warn){border-radius:12px!important;border:1px solid var(--border-color);border-left:3px solid var(--accent-info);padding:16px 18px;background:var(--surface-subtle);box-shadow:none!important}
html:root body :is(.callout.critical,.pw-error){border-left-color:var(--accent-danger)}
html:root body :is(.cm-empty,.empty-state){padding:40px 24px;border:1px dashed var(--border-strong);border-radius:16px;background:var(--surface-subtle);color:var(--text-secondary)}
html:root body .chain{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:16px 0;padding:14px;border:1px solid var(--border-color);border-radius:12px;background:var(--surface-subtle);font-size:.75rem}
html:root body .chain-label{font-size:.63rem;letter-spacing:.09em;font-weight:800;color:var(--text-muted);text-transform:uppercase}
html:root body .chain-step{padding:6px 9px;border:1px solid var(--border-color);border-radius:7px;font-weight:700;text-decoration:none!important}
html:root body .chain-done{background:var(--bg-card);color:var(--accent-info)}
html:root body .chain-todo{border-style:dashed;color:var(--text-muted)}
html:root body .chain-here{background:var(--action-bg);color:var(--action-text);border-color:var(--action-bg)}
html:root body .chain-hint{font-size:.65rem;font-weight:500}
html:root body .chain-arrow{color:var(--text-muted)}
html:root body .chain-count{padding:1px 4px;border-radius:4px;background:var(--panel-tint)}
html:root body :is(.lg-psc-bars,.lg-psc-links){display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}
html:root body .lg-psc-bar{flex:1 1 130px;padding:16px;background:var(--bg-card);border:1px solid var(--border-color);border-radius:12px}
html:root body .lg-psc-bar strong{display:block;font-size:1.6rem;font-weight:800;font-variant-numeric:tabular-nums}
html:root body .lg-psc-bar span{font-size:.73rem;color:var(--text-secondary)}
html:root body .lg-psc-tag.lg-psc-0{color:var(--accent-success)}
html:root body .lg-psc-tag.lg-psc-1{color:var(--accent-warning)}
html:root body .lg-psc-tag.lg-psc-2{color:var(--accent-danger)}
html:root body .lg-psc-me td{background:var(--surface-subtle)!important;font-weight:750}
html:root body .lg-psc-gap td{text-align:center}
html:root body .pw{color:var(--text-primary)}
html:root body .pw :is(section,article,fieldset,details){background:var(--bg-card);border-color:var(--border-color);border-radius:16px;color:var(--text-primary)}
html:root body .pw-nav a{background:var(--bg-card);border-color:var(--border-color);color:var(--text-secondary);border-radius:9px}
html:root body .pw :is(small,.pw-note){color:var(--text-secondary)}
html:root body .pw .pw-preview{background:var(--surface-subtle);border-radius:10px}
html:root body .pw button{background:var(--action-bg);color:var(--action-text);border-radius:10px;min-height:42px}
html:root body .workspace-launchpad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
html:root body .workspace-launch-card{display:flex;gap:16px;align-items:flex-start;position:relative;padding:22px;background:var(--bg-card);border:1px solid var(--border-color);border-radius:16px;text-decoration:none;color:var(--text-primary);box-shadow:var(--shadow-sm)}
html:root body .workspace-launch-card:hover{border-color:var(--primary)}
html:root body .workspace-launch-card>span:first-child{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:12px;background:var(--panel-tint);color:var(--accent-info)}
html:root body .workspace-launch-card strong{display:block;font-size:.98rem;letter-spacing:-.025em;margin-bottom:4px}
html:root body .workspace-launch-card small{display:block;font-size:.76rem;color:var(--text-secondary);line-height:1.55}
html:root body .workspace-launch-card.is-primary{background:var(--surface-inverse);color:var(--text-on-inverse);border-color:var(--surface-inverse)}
html:root body .workspace-launch-card.is-primary small{color:var(--text-on-inverse-soft)}
html:root body .workspace-launch-card.is-primary>span:first-child{background:#ffffff18;color:#a4e2d5}
html:root body .dashboard-architecture{margin:0 0 24px;border:1px solid var(--border-color);border-radius:14px;background:var(--bg-card)}
html:root body .dashboard-architecture>summary{padding:16px 20px;cursor:pointer;font-weight:750;color:var(--text-secondary)}
html:root body .dashboard-architecture>.surface-card{margin:0!important;border:0!important;box-shadow:none!important}
html:root body footer{margin-top:32px;padding-top:22px;border-top:1px solid var(--border-color);color:var(--text-muted);font-size:.74rem}
/* Persistent dark navigation surface. */
html:root body #godmpSidebar{
 --text-primary:#edf7f4;--text-secondary:#b1c9c9;--text-muted:#98b6b8;--text-on-surface:#edf7f4;--text-on-surface-soft:#b1c9c9;
 --bg-card:#153d4a;--surface-subtle:#123846;--input-bg:#123845;--border-color:#31535e;--border-strong:#50717a;--primary:#9bdacd;--accent-info:#9bdacd;
 --action-bg:#9bdacd;--action-text:#0a303c;--text-on-fill:#0a303c;
 background:#092c3e!important;background-image:none!important;color:#edf7f4;border:0!important;padding:24px 18px!important;gap:16px!important;box-shadow:none!important}
html:root body .workspace-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#f0faf7;min-width:0}
html:root body .workspace-brand img{width:44px;height:44px;object-fit:contain;background:#fff;border-radius:12px;padding:3px}
html:root body .workspace-brand strong{font-size:1.4rem;line-height:1.2;letter-spacing:.045em;display:block;color:#f0faf7}
html:root body .workspace-brand small{display:block;font-size:.6rem;letter-spacing:.1em;color:#a3c4c6;text-transform:uppercase;margin-top:3px}
html:root body .workspace-brand-row{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 8px}
html:root body .workspace-sidebar-utility{display:flex;align-items:center;gap:6px;margin-top:-8px}
html:root body #godmpSidebar .workspace-sidebar-utility button{min-height:33px;min-width:33px;padding:6px 8px;border:1px solid #31535e;border-radius:7px;background:transparent;color:#c9dcda;font-size:.68rem;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}
html:root body #godmpSidebar .workspace-sidebar-utility button[aria-pressed=true]{background:#a6dbd1;color:#10323e;border-color:#a6dbd1}
html:root body #godmpSidebar .workspace-sidebar-utility .workspace-theme-toggle{margin-left:auto}
html:root body #godmpSidebar .workspace-nav-search{margin:0;position:relative}
html:root body #godmpSidebar .workspace-nav-search input{background:#113a48!important;color:#edf7f4!important;border:1px solid #315461!important;font-size:.77rem!important;min-height:40px;padding:10px 12px!important;width:100%}
html:root body #godmpSidebar .workspace-nav-search input::placeholder{color:#a9c3c6}
html:root body #godmpSidebar .nav-menu{margin:0!important;padding:0;display:flex;flex-direction:column;gap:3px;list-style:none}
html:root body #godmpSidebar .nav-section-title{margin:17px 0 5px;padding:0 12px;font-size:.6rem;color:#8dafb3;letter-spacing:.12em;font-weight:750}
html:root body #godmpSidebar .nav-section-title:first-child{margin-top:0}
html:root body #godmpSidebar .nav-item{margin:0;padding:0}
html:root body #godmpSidebar .nav-item a{display:flex;align-items:center;gap:11px;padding:10px 12px!important;min-height:41px;border:1px solid transparent!important;border-radius:9px!important;color:#c1d6d6!important;font-size:.79rem!important;font-weight:550!important;line-height:1.4;box-shadow:none!important;background:transparent!important;text-decoration:none}
html:root body #godmpSidebar .nav-item a .gicon{flex-shrink:0;opacity:.8}
html:root body #godmpSidebar .nav-item a:hover{background:#173e4d!important;color:#fff!important}
html:root body #godmpSidebar .nav-item.active a{background:#204c56!important;color:#cbf1e7!important;border-color:#39666c!important;font-weight:750!important}
html:root body #godmpSidebar .nav-item.active a .gicon{color:#9ce0d0;opacity:1}
html:root body #godmpSidebar .nav-item.active a::after{content:'';width:5px;height:5px;margin-left:auto;border-radius:50%;background:#9ce0d0;flex-shrink:0}
html:root body #godmpSidebar .workspace-settings{border-top:1px solid #31535e;padding-top:14px;margin-top:4px}
html:root body #godmpSidebar .workspace-settings>summary{font-size:.75rem;color:#b1c9c9;cursor:pointer;list-style:revert}
html:root body #godmpSidebar .persona-select-box{border:0!important;padding:14px 0 4px!important;background:transparent!important}
html:root body #godmpSidebar .persona-select-box label{font-size:.61rem!important}
html:root body #godmpSidebar .persona-select-box select{background:#153d4a!important;color:#edf7f4!important;font-size:.76rem!important}
html:root body #godmpSidebar :is(.lang-switch,.theme-switcher){margin-top:10px!important;padding:0;border:0;background:none}
html:root body #godmpSidebar :is(.lang-switch button,.theme-switcher button){border-radius:7px!important;min-height:34px;font-size:.72rem!important;padding:7px 12px!important;box-shadow:none!important;color:#c9dcda;background:transparent;border:1px solid #31535e}
html:root body #godmpSidebar .theme-switcher button[aria-pressed=true]{background:#a6dbd1!important;color:#10323e!important;border-color:#a6dbd1!important}
html:root body #godmpSidebar .theme-switcher-label{font-size:.58rem;color:#98b6b8}
html:root body #godmpSidebar .sidebar-footer{border-top:1px solid #31535e;margin-top:4px;padding-top:16px;flex-shrink:0}
html:root body #godmpSidebar .sidebar-footer .btn{width:100%;background:#9bdacd!important;color:#0a303c!important;border-color:#9bdacd!important}
html:root body #godmpSidebar .workspace-credit{display:flex;align-items:center;gap:10px;padding:10px 0 0;color:#98b6b8;font-size:.6rem;line-height:1.5}
html:root body #godmpSidebar .workspace-credit img{width:26px;height:26px;background:#fff;border-radius:50%}
html:root body #godmpSidebar .workspace-credit strong{display:block;font-size:.67rem;color:#c1d6d6}
html:root body #godmpSidebar .workspace-top-credits{display:flex;flex-direction:column;gap:6px;margin:-4px 0 2px}
html:root body #godmpSidebar :is(.workspace-ministry-credit,.workspace-cop31-credit){display:flex;align-items:center;gap:9px;margin:0;padding:6px 8px;border-radius:10px;background:rgba(255,255,255,.06);border:1px solid #31535e;color:#98b6b8;font-size:.58rem;line-height:1.38;text-decoration:none;transition:background-color .15s ease,border-color .15s ease}
html:root body #godmpSidebar :is(.workspace-ministry-credit,.workspace-cop31-credit):hover{background:rgba(156,224,208,.12);border-color:#56848f;color:#d6ece9}
html:root body #godmpSidebar .workspace-ministry-plate{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:2px;border-radius:50%;background:#fff}
html:root body #godmpSidebar .workspace-ministry-plate img{display:block;width:28px!important;height:28px!important;border-radius:50%!important;object-fit:contain}
html:root body #godmpSidebar .workspace-cop31-plate{flex:none;display:inline-flex;align-items:center;justify-content:center;padding:3px 6px;border-radius:6px;background:#fff}
html:root body #godmpSidebar .workspace-cop31-plate img{display:block;width:68px!important;height:27px!important;border-radius:0!important;object-fit:contain}
html:root body #godmpSidebar :is(.workspace-ministry-credit,.workspace-cop31-credit) strong{display:block;font-size:.64rem;line-height:1.28;color:#d8ecea;margin-bottom:1px}
html:root body .workspace-top-patronage{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:0 0 18px;padding:10px 14px;border-radius:14px;background:var(--bg-card);border:1px solid var(--border-color);box-shadow:var(--shadow-sm)}
html:root body .wtp-badge{display:inline-flex;align-items:center;gap:10px;padding:5px 11px 5px 7px;border-radius:10px;background:var(--surface-subtle);border:1px solid var(--border-color);color:var(--text-secondary);font-size:.71rem;line-height:1.35;text-decoration:none!important;min-width:0}
html:root body a.wtp-badge:hover{border-color:var(--primary);background:var(--nav-hover)}
html:root body .wtp-badge strong{display:block;color:var(--text-primary);font-size:.75rem;font-weight:800;line-height:1.25}
html:root body .wtp-plate-ministry{flex:none;width:34px;height:34px;border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center;padding:2px;border:1px solid rgba(15,46,63,.12)}
html:root body .wtp-plate-ministry img{display:block;width:30px!important;height:30px!important;object-fit:contain;border-radius:50%}
html:root body .wtp-plate-cop31{flex:none;border-radius:7px;background:#fff;display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;border:1px solid rgba(15,46,63,.12)}
html:root body .wtp-plate-cop31 img{display:block;width:72px!important;height:28px!important;object-fit:contain}
html:root body .wtp-plate-pru{flex:none;width:30px;height:30px;border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center;padding:2px;border:1px solid rgba(15,46,63,.12)}
html:root body .wtp-plate-pru img{display:block;width:24px!important;height:24px!important;object-fit:contain;border-radius:50%}
html:root body #godmpSidebar .user-name{color:#edf7f4;font-size:.78rem}
html:root body #godmpSidebar .user-role{color:#98b6b8}
html:root body .workspace-skip{position:fixed;left:16px;top:-100px;padding:12px 18px;z-index:20000;background:var(--action-bg);color:var(--action-text);border-radius:8px}
html:root body .workspace-skip:focus{top:12px}
html:root body #godmpSidebar .mobile-sidebar-close-btn{background:#204c56!important;color:#effaf7!important;border:1px solid #456c75!important;border-radius:10px!important;box-shadow:none!important}
@media(min-width:992px){
 html:root body #godmpSidebar{width:var(--workspace-sidebar)!important;min-width:var(--workspace-sidebar)!important;max-width:var(--workspace-sidebar)!important;flex:0 0 var(--workspace-sidebar)!important;position:fixed!important;inset:0 auto 0 0!important;height:100dvh!important;z-index:100!important}
 html:root body .main-content{margin-left:var(--workspace-sidebar)!important;width:calc(100% - var(--workspace-sidebar))!important;max-width:calc(100% - var(--workspace-sidebar))!important}
 html:root body .mobile-sidebar-close-btn{display:none!important}
 html:root body #map{height:580px!important;min-height:550px!important}
}
@media(min-width:1600px){html:root body .main-content{padding:38px 56px 56px!important}}
@media(max-width:1199px){.workspace-launchpad{grid-template-columns:1fr!important}.workspace-launch-card{padding:18px!important}}
@media(max-width:991px){
 html:root body :is(input[type=text],input[type=search],input[type=email],input[type=password],input[type=number],input[type=date],input[type=url],select,textarea,.form-control-custom){font-size:16px!important}
 html:root body .app-container{display:block!important}
 html:root body .main-content{width:100%!important;max-width:100%!important;margin:0!important;padding:24px 18px 36px!important;min-height:calc(100dvh - 118px)}
 html:root body #godmpSidebar{left:-310px!important;width:290px!important;min-width:0!important;max-width:calc(100vw - 24px)!important;gap:14px!important;height:100dvh!important}
 html:root body #godmpSidebar.mobile-open{left:0!important}
 html:root body .mobile-top-bar{height:62px;position:sticky;top:0;z-index:999;padding:0 16px;background:#092c3e!important;color:#f0faf7!important;box-shadow:none!important;border:0!important}
 html:root body .mobile-top-bar .mobile-menu-toggle{width:40px;height:40px;min-width:40px;padding:0!important;display:grid;place-items:center;border:1px solid #40616d;background:#163e4b;color:#edf7f4;border-radius:10px}
 html:root body .mobile-menu-toggle span{display:none}
 html:root body .mobile-workspace-brand{color:#f0faf7!important;font-size:1.05rem;font-weight:800;letter-spacing:.07em}
 html:root body .mobile-utility{display:flex;gap:6px;align-items:center}
 html:root body .mobile-utility button{min-width:35px;height:35px;border:1px solid #40616d;border-radius:8px;background:#153c49;color:#edf7f4;font-size:.71rem;font-weight:750;padding:4px}
 html:root body .mobile-utility button[aria-pressed=true]{background:#a6dbd1;color:#10323e;border-color:#a6dbd1}
 html:root body .mobile-horizontal-nav-bar{display:flex!important;position:sticky!important;top:62px!important;z-index:998;flex-wrap:nowrap!important;overflow-x:auto!important;white-space:nowrap;gap:.5rem!important;padding:10px 14px!important;width:100%;max-width:100%;height:56px!important;background:var(--bg-card)!important;border-bottom:1px solid var(--border-color);box-shadow:none!important;-webkit-overflow-scrolling:touch}
 html:root body .mobile-nav-pill{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;font-size:.73rem!important;border-radius:999px!important;min-height:34px;padding:7px 12px!important;color:var(--text-secondary)!important;border:1px solid var(--border-color)!important;background:transparent!important;box-shadow:none!important}
 html:root body .mobile-nav-pill.active{background:var(--action-bg)!important;border-color:var(--action-bg)!important;color:var(--action-text)!important}
 html:root body :is(.tabs,.cm-tabs,.source-area-nav,.pw-nav,.lg-tabs,.pol-tabs){flex-wrap:nowrap!important;overflow-x:auto;white-space:nowrap;gap:.5rem;padding:.5rem;-webkit-overflow-scrolling:touch}
 html:root body :is(.tabs,.cm-tabs,.source-area-nav,.pw-nav,.lg-tabs,.pol-tabs)>*{flex-shrink:0}
 html:root body .top-header{flex-wrap:wrap;margin-bottom:20px;padding-bottom:20px}
 html:root body :is(.card,.surface-card,.sr-panel,.cm-card,.bf-panel,.chart-container){padding:18px}
 html:root body #map{min-height:420px!important;height:430px!important}
 html:root body .workspace-launchpad{gap:10px}
 html:root body .workspace-launch-card{padding:18px}
 html:root body .cm-row{grid-template-columns:1fr}
 html:root body [id]{scroll-margin-top:130px}
}
@media(max-width:575px){
 html:root body .main-content{padding:22px 14px 32px!important}
 html:root body h1{font-size:1.55rem!important}
 html:root body :is(.card,.surface-card,.sr-panel,.cm-card,.bf-panel){border-radius:14px!important;padding:16px}
 html:root body :is(.header-title p,.sr-intro){font-size:.83rem}
 html:root body :is(.sr-stats,.stats-grid,.cards-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html:root body :is(.sr-stat,.stat-card){padding:14px;gap:8px}
 html:root body :is(.sr-stat strong,.stat-value){font-size:1.45rem}
 html:root body .chain{gap:6px;padding:10px}
 html:root body .chain-label{width:100%}
}
/* Module surfaces that have dedicated component class names. */
html:root body :is(.sr-source-card,.oe-card,.oe-stat,.sm-panel,.ds-panel,.ds-summary,.ds-lineage-stage,.pol-form,.pol-output,.pol-brief-list li,.lg-sample,.cm-threads li,.cm-post,.cm-attach) {
 background:var(--bg-card)!important;border:1px solid var(--border-color)!important;border-radius:16px!important;color:var(--text-primary);box-shadow:var(--shadow-sm)!important;min-width:0;
}
html:root body .main-content:is(.sr-page,.oe-page,.sm-page){gap:20px}
html:root body :is(.sr-source-card,.oe-card,.sm-panel,.ds-panel,.pol-form){padding:22px}
html:root body :is(.ds-header,.ds-nav){background:var(--bg-card);border-color:var(--border-color)}
html:root body .ds-page{max-width:1400px;padding:28px 24px;margin:0 auto}
html:root body :is(.lg-caveat,.bf-notice){background:var(--surface-subtle);border-color:var(--border-color);color:var(--text-secondary);border-radius:12px}
html:root body :is(.control-field select,.year-frame){background:var(--input-bg)!important;color:var(--text-primary)!important;border-color:var(--border-strong)!important}
html:root body .year-frame.active{background:var(--action-bg)!important;color:var(--action-text)!important}
html:root body .bf-hero{background:linear-gradient(115deg,#0c3040,#174c55)!important;border:1px solid #305966!important;box-shadow:var(--shadow-md)!important}
html:root body .bf-hero :is(p,.bf-role-card span){color:#c1dcd8!important}
html:root body .bf-hero :is(.bf-eyebrow,.bf-role-card strong){color:#a6dfd2!important}
html:root body .bf-hero .bf-role-card{background:#092c3e80!important;border:1px solid #628880!important;backdrop-filter:none}
html:root body .bf-primary-action{background:#a6dfd2!important;color:#0c3040!important}
html:root body .bf-hero-actions a{text-decoration:none!important}
html:root body .mobile-workspace-brand{text-decoration:none!important}
html:root body .sr-category-nav{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;padding:12px 0;-webkit-overflow-scrolling:touch}
html:root body .sr-category-nav>*{flex-shrink:0}
@media(max-width:991px){
 html:root body .sr-category-nav{flex-wrap:nowrap!important;gap:.5rem;padding:.5rem}
 html:root body :is(.sr-source-card,.oe-card,.sm-panel,.ds-panel,.pol-form){padding:18px}
 html:root body .ds-page{padding:20px 14px}
 html:root body .bf-hero-grid{grid-template-columns:minmax(0,1fr);gap:20px}
}
@media(prefers-reduced-motion:reduce){html:root body *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{html:root body #godmpSidebar,html:root body .mobile-top-bar,html:root body .mobile-horizontal-nav-bar{display:none!important}html:root body .main-content{margin:0!important;width:100%!important;max-width:100%!important;padding:0!important}}


/* Official GOMD artwork: preserve its original colours on a neutral plate. */
html:root body .gomd-brand-symbol{display:block;flex:none;width:32px;height:32px;object-fit:contain;background:#f7f7f7;border-radius:8px;padding:2px}
html:root body .workspace-brand img{background:#f7f7f7}
html:root body .mobile-workspace-brand{display:inline-flex;align-items:center;gap:7px;flex-shrink:0}
html:root body .mobile-workspace-brand .gomd-brand-symbol{width:28px;height:28px;border-radius:7px}
html:root body .auth-brand .gomd-brand-symbol{width:44px;height:44px;border-radius:10px;padding:3px}
html:root body .auth-mobile-brand{display:none}
@media(max-width:991px){html:root body .auth-mobile-brand{display:inline-flex;align-items:center;gap:9px;margin-bottom:20px;text-decoration:none;color:var(--text-primary)}}
/* Kart sınıfı arka planı tema kartına zorlar; surface-dark ise metin belirteçlerini koyu zemin
   için açık tona çevirir. İkisi birlikteyken açık temada beyaz üstüne beyaz yazı çıkıyordu.
   Arka plan kart olduğundan metin belirteçleri temanın kendi değerine döner. */
html:root body :is(.card,.surface-card,.panel,.chart-container,.table-container).surface-dark{
 color:var(--text-primary-base);--text-on-surface:var(--text-primary-base);--text-on-surface-soft:var(--text-secondary-base);--text-primary:var(--text-primary-base);--text-secondary:var(--text-secondary-base);--text-muted:var(--text-muted-base);--accent-info:var(--accent-info-base);--accent-success:var(--accent-success-base);--accent-warning:var(--accent-warning-base);--accent-danger:var(--accent-danger-base);--accent-violet:var(--accent-violet-base)}
html:root body :is(.card,.surface-card,.panel).surface-dark .gicon.on-dark{color:var(--accent-info)}
/* Seçili kategori düğmesi koyu dolguludur; içindeki sayı rozeti açık zeminini koruyup beyaz yazıyı kaybediyordu. */
html:root body :is(.sr-category,.da-category)[aria-pressed=true] :is(.sr-category-count,.da-category-count){background:rgba(0,0,0,.22);color:inherit}
/* Grafik ve harita panellerinin sağ üst köşesinde kompakt GOMD kurumsal filigran rozeti */
.gomd-map-watermark{
 position:absolute;
 top:10px;
 right:12px;
 z-index:1050;
 display:inline-flex;
 align-items:center;
 gap:5px;
 height:22px;
 padding:2px 8px 2px 6px;
 border-radius:6px;
 background:rgba(7,22,40,.86);
 border:1px solid rgba(56,189,248,.42);
 color:#e0f2fe;
 font:800 10px/1 system-ui,-apple-system,sans-serif;
 letter-spacing:.06em;
 opacity:.9;
 pointer-events:none;
 user-select:none;
 box-shadow:0 2px 8px rgba(0,0,0,.32);
}
.gomd-map-watermark img{
 width:15px!important;
 height:15px!important;
 max-width:15px!important;
 max-height:15px!important;
 display:block;
 border-radius:3px;
}
html:root body :is(.chart-container,.chart-box,.canvas-wrapper,.sst-b-map,.lab-x-map,#sstBMap,#lxMap,#sm-map,.sm-map,#map,#wr-map,.leaflet-container,.rain-chart,.wr-chart,.sm-chart,.bef-canvas-holder,#labChart .lab-main-scroll,.lab-compare-chart,.lm-plot,.lx-plot,.lx-seasonal-plot,#oe-chart,#ur-chart){position:relative}
html:root body :is(.chart-container,.chart-box,.canvas-wrapper,.sst-b-map,.lab-x-map,#sstBMap,#lxMap,#sm-map,.sm-map,#map,#wr-map,.leaflet-container,.rain-chart:not(:empty),.wr-chart:not(:empty),.sm-chart:not(:empty),.bef-canvas-holder,#labChart .lab-main-scroll,.lab-compare-chart,.lm-plot,.lx-plot,.lx-seasonal-plot,#oe-chart:not(:empty),#ur-chart:not(:empty)):not(:has(.gomd-map-watermark)):not(:has(.gomd-svg-watermark))::after{
 content:'GOMD';
 position:absolute;
 top:10px;
 right:12px;
 z-index:1050;
 display:inline-flex;
 align-items:center;
 height:22px;
 padding:2px 8px 2px 24px;
 border-radius:6px;
 background:rgba(7,22,40,.86) url('assets/brand/gomd-icon-64.png') no-repeat 5px center / 15px 15px;
 border:1px solid rgba(56,189,248,.42);
 color:#e0f2fe;
 font:800 10px/18px system-ui,-apple-system,sans-serif;
 letter-spacing:.06em;
 opacity:.9;
 pointer-events:none;
 box-shadow:0 2px 8px rgba(0,0,0,.32);
}
html:root body :is(.chart-container,.chart-box,.canvas-wrapper) :is(.chart-container,.chart-box,.canvas-wrapper)::after{display:none!important}
