:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#172033;background:#f4f7fb;line-height:1.5;--navy-950:#0b1739;--navy-900:#11214d;--navy-800:#172e68;--blue-700:#2358bb;--blue-600:#2f6de0;--blue-100:#e8f0ff;--cyan-500:#13b8ca;--surface:#fff;--surface-soft:#f8faff;--border:#dce4f1;--text:#172033;--muted:#667085;--success:#15803d;--warning:#a16207;--danger:#b42318;--sidebar-width:274px;--topbar-height:72px;--shadow-sm:0 1px 3px rgba(16,24,40,.06);--shadow-md:0 10px 30px rgba(17,33,77,.1)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:radial-gradient(circle at 90% 0,rgba(47,109,224,.08),transparent 28rem),#f4f7fb;color:var(--text)}button,input,select,textarea{font:inherit}.icon{width:1.2rem;height:1.2rem;display:block;flex:0 0 auto}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:1000;top:.5rem;left:.5rem;transform:translateY(-150%);background:#fff;color:var(--navy-900);padding:.65rem .9rem;border-radius:.5rem;box-shadow:var(--shadow-md)}.skip-link:focus{transform:none}.page-progress{position:fixed;z-index:1200;top:0;left:0;width:0;height:3px;background:linear-gradient(90deg,var(--cyan-500),#77e4ef);opacity:0;transition:width .3s ease,opacity .2s ease}.page-progress.loading{width:72%;opacity:1}.topbar{position:sticky;z-index:40;top:0;height:var(--topbar-height);padding:0 1.15rem;background:linear-gradient(112deg,var(--navy-950),var(--navy-800));color:#fff;display:flex;align-items:center;justify-content:space-between;gap:1rem;box-shadow:0 4px 18px rgba(11,23,57,.2)}.topbar-start,.topbar-actions,.brand-lockup,.user-menu{display:flex;align-items:center}.topbar-start{gap:.7rem;min-width:0}.brand-lockup{gap:.7rem;text-decoration:none;color:#fff;min-width:0}.brand-mark{width:2.65rem;height:2.65rem;border-radius:.68rem;display:grid;place-items:center;background:#fff;padding:.08rem;overflow:hidden;border:1px solid rgba(255,255,255,.72);box-shadow:0 6px 16px rgba(0,0,0,.22)}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain;border-radius:.52rem}.brand{display:block;font-weight:850;letter-spacing:.075em;font-size:.96rem;white-space:nowrap}.tagline{display:block;font-size:.73rem;color:#b9caef;white-space:nowrap}.topbar-actions{gap:.8rem}.environment-badge{font-size:.72rem;font-weight:700;color:#d7f9fd;background:rgba(19,184,202,.15);border:1px solid rgba(119,228,239,.28);padding:.28rem .55rem;border-radius:999px}.user-menu{gap:.55rem}.user-avatar{width:2rem;height:2rem;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--navy-900);font-size:.7rem;font-weight:800}.user-details{display:flex;flex-direction:column;line-height:1.15;max-width:180px}.user-details strong{font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-details span{font-size:.68rem;color:#b9caef}.signout-link{display:flex;align-items:center;gap:.35rem;color:#d8e3ff;text-decoration:none;padding:.48rem .58rem;border-radius:.55rem;font-size:.8rem}.signout-link:hover,.signout-link:focus-visible{background:rgba(255,255,255,.1);color:#fff}.icon-button{border:0;background:transparent;color:inherit;width:2.35rem;height:2.35rem;border-radius:.6rem;display:inline-grid;place-items:center;cursor:pointer}.icon-button:hover,.icon-button:focus-visible{background:rgba(255,255,255,.1);outline:none}.nav-toggle{display:none}.app-shell{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);min-height:calc(100vh - var(--topbar-height));transition:grid-template-columns .2s ease}.sidebar{position:sticky;top:var(--topbar-height);height:calc(100vh - var(--topbar-height));display:flex;flex-direction:column;background:rgba(255,255,255,.96);border-right:1px solid var(--border);box-shadow:4px 0 18px rgba(31,52,92,.035);overflow:hidden;z-index:30}.sidebar-tools{display:flex;align-items:center;gap:.45rem;padding:.85rem .75rem .55rem}.nav-search{min-width:0;flex:1;position:relative;color:#8491a7}.nav-search .icon{position:absolute;left:.7rem;top:50%;transform:translateY(-50%);width:1rem}.nav-search input{width:100%;height:2.35rem;padding:.5rem .7rem .5rem 2.15rem;border:1px solid var(--border);border-radius:.65rem;background:#f7f9fd;color:var(--text);font-size:.8rem;transition:.2s}.nav-search input:focus{background:#fff;border-color:#91aff0;box-shadow:0 0 0 3px rgba(47,109,224,.11);outline:none}.sidebar-collapse{color:#64748b;flex:0 0 auto}.sidebar-collapse:hover,.sidebar-collapse:focus-visible{background:#edf2fb;color:var(--blue-700)}.primary-nav{padding:.1rem .65rem 1rem;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.nav-group{margin:.35rem 0 .7rem}.nav-group-title{padding:.52rem .65rem .32rem;color:#8995aa;font-size:.66rem;font-weight:800;letter-spacing:.105em;text-transform:uppercase}.nav-link{position:relative;display:flex;align-items:center;gap:.72rem;min-height:2.55rem;padding:.53rem .7rem;margin:.12rem 0;border-radius:.66rem;color:#40506b;text-decoration:none;font-size:.84rem;font-weight:600;transition:background .15s ease,color .15s ease,transform .15s ease}.nav-link:hover,.nav-link:focus-visible{background:#edf3ff;color:var(--blue-700);outline:none;transform:translateX(2px)}.nav-link.active{background:linear-gradient(90deg,#e7efff,#f3f7ff);color:#174ca8;box-shadow:inset 0 0 0 1px rgba(47,109,224,.09)}.nav-icon{width:1.25rem;height:1.25rem;display:grid;place-items:center}.nav-icon .icon{width:1.12rem;height:1.12rem}.nav-active-marker{position:absolute;right:.45rem;width:.34rem;height:.34rem;border-radius:50%;background:transparent}.nav-link.active .nav-active-marker{background:var(--blue-600);box-shadow:0 0 0 4px rgba(47,109,224,.12)}.nav-empty{padding:1.4rem .75rem;color:var(--muted);font-size:.8rem;text-align:center}.sidebar-footer{display:flex;align-items:center;gap:.65rem;margin-top:auto;padding:.8rem;border-top:1px solid var(--border);background:#f8faff;color:#34435d}.sidebar-footer-icon{width:2rem;height:2rem;border-radius:.55rem;background:#e5f8fa;color:#087b89;display:grid;place-items:center}.sidebar-footer-icon .icon{width:1.05rem}.sidebar-footer span:last-child{display:flex;flex-direction:column}.sidebar-footer strong{font-size:.76rem}.sidebar-footer small{font-size:.66rem;color:var(--muted)}.nav-backdrop{display:none}.app-shell.nav-collapsed{grid-template-columns:78px minmax(0,1fr)}.nav-collapsed .sidebar-tools{justify-content:center}.nav-collapsed .nav-search,.nav-collapsed .nav-group-title,.nav-collapsed .nav-label,.nav-collapsed .sidebar-footer span:last-child{display:none}.nav-collapsed .sidebar-collapse .icon{transform:rotate(180deg)}.nav-collapsed .primary-nav{padding-inline:.55rem}.nav-collapsed .nav-link{justify-content:center;padding:.62rem}.nav-collapsed .nav-link:hover{transform:none}.nav-collapsed .nav-active-marker{right:.25rem}.nav-collapsed .sidebar-footer{justify-content:center}.nav-collapsed .nav-link::after{content:attr(data-nav-label);position:fixed;left:70px;z-index:80;padding:.36rem .52rem;background:var(--navy-950);color:#fff;border-radius:.4rem;font-size:.7rem;opacity:0;pointer-events:none;transform:translateX(-4px);transition:.15s}.nav-collapsed .nav-link:hover::after{opacity:1;transform:none}main{min-width:0;padding:1.35rem clamp(1rem,2vw,2rem) 1.6rem;max-width:1600px;width:100%}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1rem}.breadcrumb{display:flex;align-items:center;gap:.25rem;color:#76839a;font-size:.72rem;font-weight:600}.breadcrumb .icon{width:.82rem;height:.82rem}.page-heading h1{display:flex;align-items:center;gap:.65rem;margin:.25rem 0 0;color:#14213d;font-size:clamp(1.55rem,2.2vw,2.1rem);line-height:1.2;letter-spacing:-.025em}.page-title-icon{width:2.35rem;height:2.35rem;border-radius:.7rem;background:linear-gradient(145deg,var(--navy-900),var(--blue-600));color:#fff;display:grid;place-items:center;box-shadow:0 8px 18px rgba(35,88,187,.2)}.page-title-icon .icon{width:1.2rem;height:1.2rem}.page-top-button{color:#64748b;border:1px solid var(--border);background:#fff;box-shadow:var(--shadow-sm);opacity:0;pointer-events:none;transform:translateY(4px);transition:.2s}.page-top-button.visible{opacity:1;pointer-events:auto;transform:none}.page-top-button:hover,.page-top-button:focus-visible{color:var(--blue-700);background:#edf3ff}.page-content{animation:content-in .22s ease-out}@keyframes content-in{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:none}}.card{background:rgba(255,255,255,.98);border:1px solid var(--border);border-radius:.9rem;padding:1.05rem;margin-bottom:1rem;box-shadow:var(--shadow-sm);transition:box-shadow .18s ease,border-color .18s ease}.card:hover{border-color:#cfdaea;box-shadow:0 6px 20px rgba(17,33,77,.055)}.card h2{margin:0 0 .8rem;color:#263550;font-size:1rem;letter-spacing:-.01em}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem}.metric{position:relative;overflow:hidden}.metric::after{content:"";position:absolute;right:-1rem;bottom:-1.8rem;width:5rem;height:5rem;border-radius:50%;background:rgba(47,109,224,.055)}.metric strong{display:block;font-size:1.9rem;color:var(--navy-900);letter-spacing:-.035em}.muted{color:var(--muted)}.flash{display:flex;align-items:flex-start;gap:.65rem;padding:.78rem .9rem;border-radius:.68rem;margin-bottom:1rem;border:1px solid;box-shadow:var(--shadow-sm)}.flash-icon{margin-top:.05rem}.flash.success{background:#edfcf2;border-color:#b8ebc7;color:#11652f}.flash.error{background:#fff1f0;border-color:#fecaca;color:#a61b14}.flash.info{background:#edf5ff;border-color:#c7dbff;color:#174ca8}.flash-close{margin-left:auto;border:0;background:transparent;color:currentColor;opacity:.65;cursor:pointer;padding:.12rem}.flash-close:hover{opacity:1}.flash-close .icon{width:1rem;height:1rem}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:.72rem;background:#fff;scrollbar-width:thin}table{border-collapse:separate;border-spacing:0;width:100%;background:#fff}th,td{text-align:left;padding:.72rem .78rem;border-bottom:1px solid #e7ecf4;vertical-align:top}th{position:sticky;top:0;z-index:2;background:#f5f8fd;color:#55637a;font-size:.72rem;text-transform:uppercase;letter-spacing:.055em;white-space:nowrap}tbody tr{transition:background .12s ease}tbody tr:hover{background:#f8faff}tbody tr:last-child td{border-bottom:0}form.inline{display:inline}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.85rem 1rem}.form-grid p{margin:.2rem 0 .45rem}label{font-weight:700;font-size:.82rem;color:#40506b;display:block;margin-bottom:.32rem}input,select,textarea{width:100%;padding:.65rem .72rem;border:1px solid #cbd5e1;border-radius:.55rem;background:#fff;color:var(--text);transition:border-color .15s,box-shadow .15s,background .15s}input:hover,select:hover,textarea:hover{border-color:#9fb0c8}input:focus,select:focus,textarea:focus{outline:none;border-color:#5e87dc;box-shadow:0 0 0 3px rgba(47,109,224,.12)}textarea{min-height:100px;resize:vertical}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;border:0;background:linear-gradient(135deg,var(--navy-900),var(--blue-600));color:#fff;padding:.62rem .88rem;border-radius:.55rem;text-decoration:none;cursor:pointer;font-weight:650;font-size:.84rem;box-shadow:0 3px 8px rgba(23,46,104,.14);transition:transform .12s ease,box-shadow .12s ease,filter .12s ease}button:hover,.button:hover{filter:brightness(1.06);box-shadow:0 5px 12px rgba(23,46,104,.18);transform:translateY(-1px)}button:focus-visible,.button:focus-visible{outline:3px solid rgba(47,109,224,.25);outline-offset:2px}.button.secondary,button.secondary{background:#55637a}.button.danger,button.danger{background:#a61b14}.button.small,button.small{padding:.36rem .56rem;font-size:.75rem;border-radius:.45rem}.actions{display:flex;gap:.45rem;flex-wrap:wrap}.filter-row{display:flex;align-items:end;gap:.8rem;flex-wrap:wrap}.filter-row p{margin:.2rem 0;min-width:240px}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:.2rem .55rem;font-size:.7rem;font-weight:700;background:#e7ebf2;color:#4a566b}.status-ACTIVE,.status-ON_TRACK,.status-APPROVED,.status-RELEASED,.status-COMPLETED,.status-CLOSED,.status-LOW,.status-ACCEPTED,.status-IMPLEMENTED{background:#dcfce7;color:#166534}.status-BLOCKED,.status-CRITICAL,.status-SUSPENDED,.status-OVERDUE,.status-REJECTED,.status-CONFLICTS_WITH{background:#fee2e2;color:#991b1b}.status-ON_HOLD,.status-AT_RISK,.status-HIGH{background:#fef3c7;color:#854d0e}.status-IN_PROGRESS,.status-MEDIUM,.status-UNDER_REVIEW,.status-TESTED{background:#dbeafe;color:#1e40af}.status-DRAFT,.status-PROPOSED,.status-DEFERRED,.status-SUPERSEDED{background:#e9edf4;color:#475569}.progress{width:130px;max-width:100%;height:.55rem;border-radius:999px;background:#e5eaf2;overflow:hidden;display:inline-block;vertical-align:middle;margin-right:.35rem}.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--blue-600),var(--cyan-500));border-radius:inherit}.overdue{background:#fff7ed}.compact{padding:.72rem 1rem}code{font-size:.8rem;word-break:break-all;background:#f1f4f9;padding:.1rem .25rem;border-radius:.25rem}.footer{display:flex;gap:.45rem 1rem;flex-wrap:wrap;font-size:.7rem;color:#738096;margin-top:1.8rem;padding-top:1rem;border-top:1px solid var(--border)}.footer span:not(:last-child)::after{content:"·";margin-left:1rem}.login-shell{min-height:100vh;display:grid;place-items:center;padding:1rem;background:radial-gradient(circle at 20% 15%,rgba(19,184,202,.2),transparent 24rem),linear-gradient(145deg,var(--navy-950),var(--navy-800))}.login-card{width:min(440px,100%);background:rgba(255,255,255,.985);padding:1.65rem;border-radius:1.1rem;border:1px solid rgba(255,255,255,.3);box-shadow:0 28px 80px rgba(3,12,35,.35)}.login-brand{display:flex;align-items:center;gap:.75rem;margin-bottom:1.2rem;padding-bottom:1rem;border-bottom:1px solid var(--border)}.login-brand>div{display:flex;flex-direction:column}.login-brand strong{letter-spacing:.06em;color:var(--navy-900)}.login-brand span span{font-size:.72rem;color:var(--muted)}.login-card h1{margin-top:0;font-size:1.45rem}.login-card button{width:100%;margin-top:.35rem}
@media(max-width:1050px){.user-details{display:none}.environment-badge{display:none}}
@media(max-width:850px){:root{--topbar-height:64px}.topbar{padding:0 .8rem}.nav-toggle{display:grid}.tagline{display:none}.signout-link span{display:none}.app-shell,.app-shell.nav-collapsed{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:var(--topbar-height);width:min(86vw,300px);height:calc(100vh - var(--topbar-height));transform:translateX(-104%);transition:transform .22s ease;box-shadow:12px 0 32px rgba(11,23,57,.2)}.app-shell.nav-open .sidebar{transform:none}.nav-backdrop{position:fixed;display:block;inset:var(--topbar-height) 0 0;background:rgba(11,23,57,.42);z-index:25;opacity:0;pointer-events:none;transition:opacity .2s}.app-shell.nav-open .nav-backdrop{opacity:1;pointer-events:auto}.sidebar-collapse{display:none}.nav-collapsed .nav-search,.nav-collapsed .nav-group-title,.nav-collapsed .nav-label,.nav-collapsed .sidebar-footer span:last-child{display:block}.nav-collapsed .nav-link{justify-content:flex-start;padding:.53rem .7rem}.nav-collapsed .nav-link::after{display:none}.nav-collapsed .sidebar-footer{justify-content:flex-start}main{padding:1rem}.page-heading{align-items:center}.breadcrumb{display:none}.page-heading h1{font-size:1.55rem}.page-title-icon{width:2.1rem;height:2.1rem}.table-wrap{margin-inline:-.2rem}.footer span:not(:last-child)::after{display:none}}
@media(max-width:560px){.brand-lockup .brand-mark{width:2.25rem;height:2.25rem}.brand{font-size:.85rem}.user-avatar{display:none}.page-heading h1{font-size:1.35rem}.page-title-icon{width:1.9rem;height:1.9rem}.page-title-icon .icon{width:1rem}.card{padding:.85rem;border-radius:.75rem}.form-grid{grid-template-columns:1fr}.filter-row p{min-width:100%;width:100%}.actions{width:100%}.actions .button,.actions button{flex:1}.footer{flex-direction:column;gap:.25rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.card-heading h2{margin-bottom:.2rem}.card-heading p{margin:.1rem 0}.grid.two{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.filter-bar{display:flex;align-items:end;gap:.75rem;flex-wrap:wrap;background:#fff;border:1px solid var(--border);border-radius:.8rem;padding:.8rem;margin-bottom:1rem;box-shadow:var(--shadow-sm)}.filter-bar label{min-width:min(360px,100%);margin:0}.compact-list{margin:.4rem 0 0;padding-left:1.15rem}.compact-list li{margin:.35rem 0}.workflow-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin-bottom:1rem}.workflow-steps span{display:flex;align-items:center;gap:.55rem;padding:.72rem .8rem;border:1px solid var(--border);border-radius:.7rem;background:#fff;color:#64748b;font-size:.82rem;font-weight:700}.workflow-steps strong{width:1.7rem;height:1.7rem;display:grid;place-items:center;border-radius:50%;background:#e8edf5;color:#40506b}.workflow-steps .active{border-color:#aac3f5;background:#f2f6ff;color:#174ca8}.workflow-steps .active strong{background:var(--blue-600);color:#fff}button:disabled,.button[aria-disabled="true"]{opacity:.5;cursor:not-allowed;filter:none;transform:none;box-shadow:none}input[type=file]{padding:.5rem;background:#f8faff}small{display:block;margin-top:.3rem;color:var(--muted);font-size:.72rem}@media(max-width:700px){.workflow-steps{grid-template-columns:1fr}.card-heading{flex-direction:column}.filter-bar>*{width:100%}}
/* NERALCAVO FORGE v0.6.0 controlled corrective candidate with unified dashboard and contextual drill-down */
.hero-panel,.entity-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;padding:1.35rem;margin-bottom:1rem;border:1px solid #cbd9f0;border-radius:1rem;background:linear-gradient(135deg,#f8fbff,#eef5ff);box-shadow:var(--shadow-sm)}
.hero-panel h2,.entity-hero h2{margin:.15rem 0 .45rem;font-size:1.5rem;color:var(--navy-900)}.hero-panel p,.entity-hero p{margin:0;color:var(--muted);max-width:68rem}.eyebrow{display:block;font-size:.68rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--blue-600)}.hero-badge{display:grid;place-items:center;min-width:5.5rem;min-height:3.2rem;padding:.55rem .8rem;border-radius:.85rem;background:var(--navy-900);color:#fff;font-size:.82rem;font-weight:800;text-align:center}
.domain-tile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:.85rem;margin-bottom:1.25rem}.domain-tile{display:grid;grid-template-columns:3rem minmax(0,1fr) 1.2rem;align-items:center;gap:.85rem;padding:1rem;border:1px solid var(--border);border-radius:.9rem;background:#fff;color:var(--navy-900);text-decoration:none;box-shadow:var(--shadow-sm);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.domain-tile:hover,.domain-tile:focus-visible{transform:translateY(-2px);border-color:#92afe7;box-shadow:0 12px 26px rgba(24,61,123,.12)}.domain-tile strong{display:block;font-size:.98rem}.domain-tile small{margin:.22rem 0 0;line-height:1.35}.domain-icon{width:3rem;height:3rem;display:grid;place-items:center;border-radius:.8rem;background:#edf4ff;color:var(--blue-600)}.domain-icon .icon{width:1.35rem;height:1.35rem}.domain-arrow,.metric-arrow{color:#7890b2}.domain-arrow .icon,.metric-arrow .icon{width:1rem}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:1.25rem 0 .7rem}.section-heading h2{margin:.12rem 0 0}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:.75rem;margin-bottom:1rem}.dashboard-metric{display:grid;grid-template-columns:2.45rem minmax(0,1fr) 1rem;align-items:center;gap:.65rem;padding:.85rem;border:1px solid var(--border);border-radius:.8rem;background:#fff;color:var(--navy-900);text-decoration:none;box-shadow:var(--shadow-sm);transition:border-color .16s ease,transform .16s ease}.dashboard-metric:hover,.dashboard-metric:focus-visible{border-color:#8dacdf;transform:translateY(-1px)}.dashboard-metric-icon{width:2.35rem;height:2.35rem;display:grid;place-items:center;border-radius:.68rem;background:#eef4ff;color:var(--blue-600)}.dashboard-metric-icon .icon{width:1.15rem}.dashboard-metric small{margin:0;font-size:.7rem}.dashboard-metric strong{display:block;margin-top:.12rem;font-size:1.22rem;line-height:1.1}.dashboard-toolbar{display:flex;align-items:center;justify-content:flex-end;margin-bottom:.85rem}.dashboard-toolbar form{margin:0}.dashboard-toolbar label{min-width:min(420px,100%)}
.bar-list{display:grid;gap:.62rem}.bar-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(120px,4fr) 3rem;align-items:center;gap:.7rem;font-size:.79rem}.bar-row>span{overflow-wrap:anywhere}.bar-track{height:.55rem;background:#e8edf5;border-radius:999px;overflow:hidden}.bar-track i{display:block;height:100%;background:linear-gradient(90deg,var(--blue-600),var(--cyan-500));border-radius:inherit}.bar-row strong{text-align:right}.grid.two{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
.entity-hero{align-items:center}.entity-meta{display:flex;flex-direction:column;align-items:flex-end;gap:.45rem;min-width:12rem}.context-tab-row{display:flex;gap:.45rem;overflow:auto;padding:.15rem 0 .8rem;margin-bottom:.35rem}.context-tab-row a{white-space:nowrap;padding:.52rem .72rem;border:1px solid var(--border);border-radius:.65rem;background:#fff;color:var(--navy-800);text-decoration:none;font-size:.77rem;font-weight:700}.context-tab-row a:hover,.context-tab-row a:focus-visible,.context-tab-row a.active{background:#edf4ff;border-color:#9cb6e2;color:var(--blue-600)}.entity-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.7rem}.entity-card{display:flex;flex-direction:column;gap:.28rem;padding:.85rem;border:1px solid var(--border);border-radius:.75rem;background:#fff;text-decoration:none;color:var(--navy-900);box-shadow:var(--shadow-sm)}.entity-card:hover,.entity-card:focus-visible{border-color:#91afe2}.entity-card span{font-size:.82rem}.return-context{display:inline-flex;align-items:center;gap:.35rem;margin-top:.45rem;color:var(--blue-600);text-decoration:none;font-size:.75rem;font-weight:700}.return-context .icon{width:.9rem}.status-list{margin:0;display:grid;gap:.55rem}.status-list>div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-bottom:.5rem;border-bottom:1px solid var(--border)}.status-list dt{font-size:.78rem;color:var(--muted)}.status-list dd{margin:0;text-align:right;font-size:.8rem;font-weight:700}
@media(max-width:700px){.hero-panel,.entity-hero{flex-direction:column}.hero-badge{min-height:auto}.entity-meta{align-items:flex-start;min-width:0}.domain-tile-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:1fr}.bar-row{grid-template-columns:90px minmax(90px,1fr) 2rem}.dashboard-toolbar,.dashboard-toolbar form,.dashboard-toolbar label{width:100%}.dashboard-toolbar .filter-row>*{width:100%}}

/* NERALCAVO FORGE v0.6.0 controlled ATLAS-style workspace and drill-down layer */
.workspace-context{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0 0 1rem;padding:.85rem 1rem;border:1px solid #cfdcf0;border-radius:.9rem;background:linear-gradient(135deg,#f7faff,#eef5ff);box-shadow:var(--shadow-sm)}
.context-heading{display:flex;align-items:center;gap:.65rem;min-width:210px;color:var(--navy-900)}.context-heading>span{width:2.2rem;height:2.2rem;border-radius:.7rem;display:grid;place-items:center;background:#dfeaff;color:var(--blue-700)}.context-heading strong,.context-heading small{display:block}.context-heading small{color:var(--muted);font-size:.68rem}.context-form{display:flex;align-items:flex-end;justify-content:flex-end;gap:.55rem;flex:1;min-width:0}.context-form label{display:grid;gap:.25rem;min-width:150px;font-size:.68rem;font-weight:750;color:#52617a}.context-form select{max-width:230px;min-height:2.25rem}
.workflow-order{display:grid;gap:1rem}.workflow-section{border:1px solid var(--border);border-radius:1rem;background:#fff;box-shadow:var(--shadow-sm);overflow:hidden}.workflow-section>.section-heading{display:flex;align-items:flex-start;gap:.8rem;padding:1rem 1.05rem .3rem}.workflow-section>.section-heading>span{width:2.45rem;height:2.45rem;border-radius:.75rem;display:grid;place-items:center;background:#e8f0ff;color:var(--blue-700)}.workflow-section>.section-heading h2{margin:0;font-size:1.02rem}.workflow-section>.section-heading p{margin:.2rem 0 0}.workflow-section .function-tile-grid{padding:.8rem 1rem 1rem}
.picture-tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.picture-tile{min-height:176px;display:flex;flex-direction:column;position:relative;gap:.75rem;padding:1rem;border:1px solid #d7e1ef;border-radius:1rem;background:linear-gradient(145deg,#fff,#f7faff);text-decoration:none;color:var(--navy-900);box-shadow:var(--shadow-sm);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.picture-tile:hover,.picture-tile:focus-visible{transform:translateY(-2px);border-color:#91afe2;box-shadow:var(--shadow-md);outline:none}.picture-tile-art{width:4.2rem;height:4.2rem;border-radius:1.05rem;display:grid;place-items:center;background:linear-gradient(145deg,#dfeaff,#eefbfc);color:var(--blue-700)}.picture-tile-art .icon{width:2rem;height:2rem}.picture-tile strong,.picture-tile small{display:block}.picture-tile strong{font-size:1rem}.picture-tile small{margin-top:.25rem;color:var(--muted)}.picture-tile .domain-arrow{position:absolute;right:1rem;bottom:1rem;color:var(--blue-600)}
.function-tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.function-tile{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem;padding:.78rem;border:1px solid var(--border);border-radius:.8rem;background:#fff;text-decoration:none;color:var(--navy-900);transition:.17s}.function-tile:hover,.function-tile:focus-visible,.function-tile.selected{border-color:#8ba9dd;background:#edf4ff;box-shadow:0 7px 18px rgba(35,88,187,.09);outline:none}.function-tile-icon{width:2.35rem;height:2.35rem;border-radius:.68rem;display:grid;place-items:center;background:#e9f0fd;color:var(--blue-700)}.function-tile strong,.function-tile small{display:block}.function-tile strong{font-size:.83rem}.function-tile small{font-size:.7rem;color:var(--muted);margin-top:.12rem}.function-tile>span:last-child{color:#7890bb}.function-tile>span:last-child .icon{width:.9rem}
.overview-section{scroll-margin-top:calc(var(--topbar-height) + 1rem)}.overview-section+.overview-section{margin-top:1rem}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1rem 0}.detail-field{padding:.8rem;border:1px solid var(--border);border-radius:.75rem;background:#fff;min-width:0}.detail-field.wide{grid-column:1/-1}.detail-field small{display:block;margin-bottom:.25rem;color:var(--muted);font-weight:750;text-transform:uppercase;letter-spacing:.04em;font-size:.64rem}.detail-field div{overflow-wrap:anywhere}.eyebrow{display:inline-block;font-size:.66rem;font-weight:850;letter-spacing:.1em;color:var(--blue-700);text-transform:uppercase}.activity-list{display:grid;gap:.55rem}.activity-list>div{display:grid;grid-template-columns:minmax(170px,1fr) minmax(140px,1fr) auto;gap:.7rem;align-items:center;padding:.65rem .7rem;border:1px solid var(--border);border-radius:.7rem;background:#fff}.activity-list span,.activity-list small{color:var(--muted);font-size:.75rem}
.pagination{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap;padding-top:.8rem}.pagination-links{display:flex;gap:.35rem;align-items:center}.pagination a,.pagination span.current{min-width:2.1rem;height:2.1rem;padding:.35rem .55rem;display:inline-grid;place-items:center;border:1px solid var(--border);border-radius:.55rem;background:#fff;text-decoration:none;color:var(--navy-900);font-size:.75rem}.pagination span.current{background:var(--blue-600);border-color:var(--blue-600);color:#fff}.context-summary{font-size:.75rem;color:var(--muted)}
.dashboard-filter-row{display:flex;gap:.55rem;align-items:flex-end;flex-wrap:wrap}.dashboard-filter-row label{display:grid;gap:.25rem;min-width:140px;font-size:.7rem;font-weight:700;color:#53617a}.dashboard-filter-row input,.dashboard-filter-row select{min-height:2.25rem}.check-filter{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center!important;min-width:auto!important;padding-bottom:.55rem}.check-filter input{min-height:auto}.large-number{font-size:2rem;letter-spacing:-.04em;color:var(--navy-900)}
@media(max-width:1100px){.picture-tile-grid,.function-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-context{align-items:flex-start;flex-direction:column}.context-form{width:100%;justify-content:flex-start;flex-wrap:wrap}.context-form label{flex:1 1 190px}.context-form select{max-width:none;width:100%}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.picture-tile-grid,.function-tile-grid,.detail-grid{grid-template-columns:1fr}.picture-tile{min-height:145px}.context-form{display:grid;grid-template-columns:1fr;width:100%}.context-form label,.context-form select,.context-form button{width:100%;max-width:none}.activity-list>div{grid-template-columns:1fr}.workflow-section>.section-heading{padding:.85rem}.workflow-section .function-tile-grid{padding:.65rem .8rem .85rem}}
@media(prefers-reduced-motion:reduce){.picture-tile,.function-tile{transition:none}.picture-tile:hover,.picture-tile:focus-visible{transform:none}}

/* v0.7.1 corporate login and standalone shell corrective */
.brand-lockup{cursor:default;user-select:none}.brand-lockup:hover{color:#fff}
.login-shell{min-height:100vh;padding:clamp(1rem,3vw,2.5rem);background:radial-gradient(circle at 12% 10%,rgba(19,184,202,.16),transparent 28rem),radial-gradient(circle at 88% 86%,rgba(47,109,224,.13),transparent 30rem),linear-gradient(135deg,#eef4fb 0%,#f8fbfe 48%,#edf4fb 100%);display:grid;place-items:center}
.login-frame{width:min(1080px,100%);min-height:640px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);overflow:hidden;border:1px solid rgba(25,63,115,.12);border-radius:1.4rem;background:#fff;box-shadow:0 32px 90px rgba(11,23,57,.18)}
.login-identity{position:relative;overflow:hidden;padding:clamp(2rem,4vw,3.4rem);background:linear-gradient(145deg,#07152f 0%,#102a63 58%,#0a7490 130%);color:#fff;display:flex;flex-direction:column;justify-content:center}
.login-identity::before{content:"";position:absolute;inset:-20% -35% auto auto;width:34rem;height:34rem;border:1px solid rgba(112,221,238,.14);border-radius:50%;box-shadow:0 0 0 5rem rgba(47,109,224,.035),0 0 0 10rem rgba(47,109,224,.025)}
.login-identity::after{content:"";position:absolute;left:-8rem;bottom:-12rem;width:30rem;height:30rem;background:radial-gradient(circle,rgba(19,184,202,.25),transparent 63%);pointer-events:none}
.login-logo-surface{position:relative;z-index:1;width:min(470px,100%);padding:.75rem;border-radius:1rem;background:rgba(255,255,255,.98);box-shadow:0 16px 42px rgba(0,0,0,.24);border:1px solid rgba(255,255,255,.4)}
.login-logo{display:block;width:100%;height:auto;border-radius:.55rem}
.login-identity-copy{position:relative;z-index:1;margin-top:2rem;max-width:610px}.login-eyebrow{display:inline-flex;align-items:center;font-size:.7rem;font-weight:850;letter-spacing:.14em;text-transform:uppercase;color:#69e2ee}.login-identity-copy h2{font-size:clamp(1.7rem,3vw,2.45rem);line-height:1.15;letter-spacing:-.035em;margin:.45rem 0 .75rem;color:#fff}.login-identity-copy>p{color:#ccdaf2;max-width:55ch;margin:0 0 1.7rem}
.login-trust-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.login-trust-grid>div{padding:.85rem;border:1px solid rgba(187,218,255,.15);border-radius:.8rem;background:rgba(255,255,255,.055);backdrop-filter:blur(4px)}.login-trust-grid span{width:2rem;height:2rem;border-radius:.55rem;display:grid;place-items:center;background:rgba(19,184,202,.16);color:#80edf5;margin-bottom:.65rem}.login-trust-grid span .icon{width:1.05rem}.login-trust-grid strong,.login-trust-grid small{display:block}.login-trust-grid strong{font-size:.78rem;color:#fff}.login-trust-grid small{font-size:.67rem;line-height:1.4;color:#b9cae8;margin-top:.18rem}
.login-card{width:auto;margin:0;padding:clamp(2rem,4vw,3.4rem);border:0;border-radius:0;box-shadow:none;background:#fff;display:flex;flex-direction:column;justify-content:center}.login-card-head{margin-bottom:1.55rem}.login-card-head .login-eyebrow{color:#1a7791}.login-card-head h1{font-size:2rem;letter-spacing:-.035em;color:#11214d;margin:.35rem 0 .45rem}.login-card-head p{margin:0;color:#667085;font-size:.9rem;line-height:1.6}.login-form{display:grid;gap:.5rem}.login-form label{margin-top:.42rem;margin-bottom:.05rem;font-size:.78rem;color:#34435d}.login-form input{min-height:3rem;padding:.75rem .85rem;border-radius:.68rem;background:#fbfcfe}.login-form input:focus{background:#fff}.login-form button{min-height:3rem;margin-top:.85rem;border-radius:.68rem;font-size:.9rem}.login-card>.flash{font-size:.78rem;margin-bottom:1rem}.login-card-footer{display:flex;gap:.55rem 1rem;flex-wrap:wrap;margin-top:1.6rem;padding-top:1.1rem;border-top:1px solid var(--border);color:#7a879b;font-size:.68rem}.login-card-footer span:not(:last-child)::after{content:"·";margin-left:1rem}
@media(max-width:900px){.login-frame{grid-template-columns:1fr;max-width:620px}.login-identity{padding:1.7rem 1.7rem 1.5rem}.login-logo-surface{max-width:390px}.login-identity-copy{margin-top:1.2rem}.login-identity-copy h2{font-size:1.65rem}.login-trust-grid{grid-template-columns:1fr 1fr 1fr}.login-card{padding:2rem 1.7rem}}
@media(max-width:560px){.login-shell{padding:.65rem}.login-frame{border-radius:1rem;min-height:auto}.login-identity{padding:1rem}.login-logo-surface{padding:.35rem;border-radius:.7rem}.login-identity-copy{display:none}.login-card{padding:1.45rem 1.15rem 1.3rem}.login-card-head h1{font-size:1.65rem}.login-card-footer{margin-top:1.2rem}.topbar .tagline{display:none}}

/* v0.9.0 enterprise governance usability */
.sticky-table{max-height:68vh}.sticky-table thead th{position:sticky;top:0;z-index:2;background:#f8faff;box-shadow:0 1px 0 var(--border)}.dense-table th,.dense-table td{padding:.48rem .58rem;font-size:.78rem;vertical-align:top}.enterprise-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.65rem;flex-wrap:wrap;margin-bottom:.8rem}.enterprise-toolbar form{display:flex;gap:.5rem;align-items:end;flex-wrap:wrap}.enterprise-toolbar label{margin:0;min-width:160px}

/* v0.9.0 UAT UI/access corrective — Enterprise Search top dropdown */
.top-search-dropdown{position:relative}.top-search-dropdown>summary{list-style:none}.top-search-dropdown>summary::-webkit-details-marker{display:none}.top-search-trigger{display:flex;align-items:center;gap:.38rem;min-height:2.35rem;padding:.42rem .62rem;border-radius:.6rem;color:#d8e3ff;font-size:.78rem;font-weight:700;cursor:pointer;user-select:none}.top-search-trigger:hover,.top-search-trigger:focus-visible,.top-search-dropdown[open] .top-search-trigger{background:rgba(255,255,255,.1);color:#fff;outline:none}.top-search-trigger>.icon:first-child{width:1.05rem}.top-search-trigger>.icon:last-child{width:.85rem;transition:transform .15s ease}.top-search-dropdown[open] .top-search-trigger>.icon:last-child{transform:rotate(180deg)}.top-search-panel{position:absolute;z-index:90;right:0;top:calc(100% + .55rem);width:min(390px,calc(100vw - 2rem));padding:.75rem;border:1px solid #d8e1ef;border-radius:.8rem;background:#fff;color:var(--text);box-shadow:0 18px 46px rgba(11,23,57,.24)}.top-search-panel form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem;align-items:end}.top-search-panel label{display:grid;gap:.3rem;margin:0;color:#40506b;font-size:.7rem;font-weight:750}.top-search-panel input{width:100%;min-height:2.35rem}.top-search-panel button{min-height:2.35rem;margin:0}@media(max-width:700px){.top-search-trigger span{display:none}.top-search-trigger{padding:.45rem}.top-search-panel{position:fixed;top:calc(var(--topbar-height) - .25rem);right:.75rem;left:.75rem;width:auto}.top-search-panel form{grid-template-columns:1fr}.top-search-panel button{width:100%}}

/* v0.9.0 UX / information-architecture corrective */
.action-drawer{display:inline-block;margin:0 0 .85rem}.action-drawer>summary{list-style:none;cursor:pointer}.action-drawer>summary::-webkit-details-marker{display:none}.action-drawer[open]::before{content:"";position:fixed;inset:0;z-index:118;background:rgba(11,23,57,.34);backdrop-filter:blur(1px)}.action-drawer-panel{position:fixed;z-index:119;top:var(--topbar-height);right:0;bottom:0;width:min(680px,94vw);background:#fff;border-left:1px solid var(--border);box-shadow:-18px 0 48px rgba(11,23,57,.22);display:flex;flex-direction:column}.action-drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.15rem;border-bottom:1px solid var(--border);background:#f8fafc}.action-drawer-heading strong{font-size:1rem}.action-drawer-body{padding:1rem 1.15rem 2rem;overflow:auto}.action-drawer-body>.card{margin:0;border:0;box-shadow:none;padding:0}.register-toolbar{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin:0 0 .75rem;padding:.65rem .75rem;border:1px solid var(--border);border-radius:.75rem;background:#f8fafc}.register-toolbar>label{display:flex;align-items:center;gap:.45rem;margin:0;font-size:.78rem;font-weight:750}.register-toolbar select{min-width:190px}.register-toolbar details{position:relative}.register-toolbar details>summary{list-style:none}.register-toolbar details>summary::-webkit-details-marker{display:none}.register-toolbar details form{position:absolute;z-index:40;top:calc(100% + .35rem);right:0;width:300px;padding:.8rem;border:1px solid var(--border);border-radius:.7rem;background:#fff;box-shadow:0 14px 34px rgba(11,23,57,.16)}.context-note,.context-callout{display:flex;gap:.45rem;align-items:flex-start;flex-wrap:wrap;margin:0 0 .8rem;padding:.72rem .85rem;border:1px solid var(--border);border-radius:.7rem;background:#f8fafc}.context-note strong,.context-callout strong{color:#172554}.context-note span,.context-callout span{color:var(--text)}.context-callout small{flex-basis:100%;color:var(--muted)}[data-context-values][hidden]{display:none!important}@media(max-width:700px){.action-drawer-panel{width:100vw}.register-toolbar{align-items:stretch}.register-toolbar>label{width:100%}.register-toolbar select{width:100%}.register-toolbar details form{position:fixed;left:.75rem;right:.75rem;top:calc(var(--topbar-height) + .5rem);width:auto}}

/* NERALCAVO FORGE v0.9.0 — agreed UI corrective: typography + semantic colour system */
:root{
  --semantic-positive:#15803d;--semantic-positive-bg:#ecfdf3;--semantic-positive-border:#a7e1bf;
  --semantic-info:#1d4ed8;--semantic-info-bg:#eff6ff;--semantic-info-border:#bfdbfe;
  --semantic-warning:#a16207;--semantic-warning-bg:#fffbeb;--semantic-warning-border:#fde68a;
  --semantic-danger:#b42318;--semantic-danger-bg:#fff1f0;--semantic-danger-border:#fecaca;
  --semantic-neutral:#475569;--semantic-neutral-bg:#f1f5f9;--semantic-neutral-border:#cbd5e1;
  --severity-critical:#b42318;--severity-high:#c2410c;--severity-medium:#a16207;--severity-low:#0f766e;
  --priority-critical:#a21caf;--priority-high:#7c3aed;--priority-medium:#4f46e5;--priority-low:#64748b;
  --chart-1:#2563eb;--chart-2:#0f766e;--chart-3:#7c3aed;--chart-4:#ea580c;--chart-5:#0891b2;
  --chart-6:#c026d3;--chart-7:#65a30d;--chart-8:#e11d48;--chart-9:#d97706;--chart-10:#64748b;
  --surface-soft:#f8fafc;--border:#d9e0e9;--text:#1f2937;--muted:#64748b;
}
body{font-size:14px;background:#f5f6f8;color:var(--text)}
.page-heading h1{font-size:clamp(25.6px,2vw,28px);line-height:1.18}
.card h2,.workflow-section>.section-heading h2,.overview-section>h2,.action-drawer-heading strong{font-size:16px;line-height:1.3}
body,input,select,textarea,button,.button,td,.dense-table td{font-size:14px}
label,.context-form label,.register-toolbar>label,.dashboard-filter-row label,.top-search-panel label,.login-form label{font-size:13px}
th,.dense-table th{font-size:12.5px}
td strong,.dense-table td strong,.entity-card strong,.picture-tile strong{font-size:15px}
.muted,small,.help,.context-summary,.activity-list span,.activity-list small,.detail-field small,.function-tile small,.picture-tile small{font-size:13px}
.pill,.environment-badge{font-size:12px}
.footer,footer,.login-card-footer{font-size:12px}
.signout-form{margin:0;padding:0;display:inline-flex}
.signout-form .signout-link{appearance:none;border:0;background:transparent;margin:0;cursor:pointer;font-family:inherit;font-weight:600;line-height:1.2}
.signout-form .signout-link:hover,.signout-form .signout-link:focus-visible{background:rgba(255,255,255,.1);color:#fff;outline:none}

/* Status / lifecycle families */
.pill.status-ACTIVE,.pill.status-APPROVED,.pill.status-COMPLETED,.pill.status-CLOSED,.pill.status-ON_TRACK,.pill.status-RELEASED,.pill.status-RESOLVED,.pill.status-VERIFIED,.pill.status-PASSED,.pill.status-PASS,.pill.status-ENABLED,.pill.status-ACCEPTED,.pill.status-IMPLEMENTED,.pill.status-SUCCESS,.pill.status-READY{background:var(--semantic-positive-bg);color:#166534;box-shadow:inset 0 0 0 1px var(--semantic-positive-border)}
.pill.status-PROPOSED,.pill.status-PLANNING,.pill.status-IN_PROGRESS,.pill.status-UNDER_ASSESSMENT,.pill.status-UNDER_REVIEW,.pill.status-TESTING,.pill.status-SCOPED,.pill.status-REQUIREMENTS_APPROVED,.pill.status-DESIGN_APPROVED,.pill.status-IN_DEVELOPMENT,.pill.status-DEVELOPMENT_COMPLETE,.pill.status-REMEDIATION,.pill.status-RELEASE_READY,.pill.status-SUBMITTED,.pill.status-SCHEDULED,.pill.status-NEW{background:var(--semantic-info-bg);color:#1e40af;box-shadow:inset 0 0 0 1px var(--semantic-info-border)}
.pill.status-PENDING,.pill.status-PENDING_APPROVAL,.pill.status-AT_RISK,.pill.status-ON_HOLD,.pill.status-AWAITING_APPROVAL,.pill.status-AWAITING_REVIEW,.pill.status-DEFERRED,.pill.status-PARTIAL,.pill.status-WARNING{background:var(--semantic-warning-bg);color:#854d0e;box-shadow:inset 0 0 0 1px var(--semantic-warning-border)}
.pill.status-BLOCKED,.pill.status-REJECTED,.pill.status-FAILED,.pill.status-FAIL,.pill.status-OVERDUE,.pill.status-CANCELLED,.pill.status-REVOKED,.pill.status-EXPIRED,.pill.status-DENIED,.pill.status-ERROR,.pill.status-SUSPENDED{background:var(--semantic-danger-bg);color:#991b1b;box-shadow:inset 0 0 0 1px var(--semantic-danger-border)}
.pill.status-NOT_ASSESSED,.pill.status-RETIRED,.pill.status-SUPERSEDED,.pill.status-NOT_STARTED,.pill.status-UNKNOWN,.pill.status-N_A,.pill.status-NOT_APPLICABLE,.pill.status-DRAFT{background:var(--semantic-neutral-bg);color:var(--semantic-neutral);box-shadow:inset 0 0 0 1px var(--semantic-neutral-border)}

/* Severity is impact; Priority is action urgency. Keep their palettes deliberately different. */
.pill.semantic-severity.status-CRITICAL{background:#fee2e2;color:#991b1b;box-shadow:inset 0 0 0 1px #fecaca}
.pill.semantic-severity.status-HIGH{background:#fff7ed;color:#9a3412;box-shadow:inset 0 0 0 1px #fed7aa}
.pill.semantic-severity.status-MEDIUM{background:#fffbeb;color:#854d0e;box-shadow:inset 0 0 0 1px #fde68a}
.pill.semantic-severity.status-LOW{background:#f0fdfa;color:#115e59;box-shadow:inset 0 0 0 1px #99f6e4}
.pill.semantic-priority.status-CRITICAL{background:#fdf4ff;color:#86198f;box-shadow:inset 0 0 0 1px #f0abfc}
.pill.semantic-priority.status-HIGH{background:#f5f3ff;color:#6d28d9;box-shadow:inset 0 0 0 1px #ddd6fe}
.pill.semantic-priority.status-MEDIUM{background:#eef2ff;color:#4338ca;box-shadow:inset 0 0 0 1px #c7d2fe}
.pill.semantic-priority.status-LOW{background:#f1f5f9;color:#475569;box-shadow:inset 0 0 0 1px #cbd5e1}
select.semantic-severity-critical{border-color:#fca5a5;background:#fff7f7}select.semantic-severity-high{border-color:#fdba74;background:#fffaf5}select.semantic-severity-medium{border-color:#fcd34d;background:#fffdf5}select.semantic-severity-low{border-color:#5eead4;background:#f7fffd}
select.semantic-priority-critical{border-color:#e879f9;background:#fff8ff}select.semantic-priority-high{border-color:#c4b5fd;background:#faf9ff}select.semantic-priority-medium{border-color:#a5b4fc;background:#f8f9ff}select.semantic-priority-low{border-color:#cbd5e1;background:#f8fafc}

/* KPI accents remain restrained; cards stay neutral. */
.dashboard-metric.semantic-positive{border-left:3px solid var(--semantic-positive)}.dashboard-metric.semantic-positive .dashboard-metric-icon{background:var(--semantic-positive-bg);color:var(--semantic-positive)}
.dashboard-metric.semantic-warning{border-left:3px solid var(--semantic-warning)}.dashboard-metric.semantic-warning .dashboard-metric-icon{background:var(--semantic-warning-bg);color:var(--semantic-warning)}
.dashboard-metric.semantic-danger{border-left:3px solid var(--semantic-danger)}.dashboard-metric.semantic-danger .dashboard-metric-icon{background:var(--semantic-danger-bg);color:var(--semantic-danger)}
.dashboard-metric.semantic-info{border-left:3px solid var(--semantic-info)}

/* Distinct controlled series colours for FORGE distribution charts. */




/* NERALCAVO FORGE v0.9.0 HF4 — semantic status/severity chart corrective
   Colour communicates state/impact; ordinary categories never use rainbow-by-position. */
:root{
  --forge-status-closed:#15803d;
  --forge-status-resolved:#0f766e;
  --forge-status-wip:#eab308;
  --forge-status-open:#dc2626;
  --forge-status-reopened:#991b1b;
  --forge-status-blocked:#c2410c;
  --forge-status-hold:#a16207;
  --forge-status-neutral:#64748b;
  --forge-category-bar:#2f6de0;
  --forge-severity-critical:#bd271e;
  --forge-severity-high:#da8b45;
  --forge-severity-medium:#d6bf57;
  --forge-severity-low:#54b399;
  --forge-severity-unknown:#98a2b3;
}

/* Module, environment, assignee and other category distributions use one restrained FORGE blue. */
.bar-list .bar-track i{background:var(--forge-category-bar)}

/* Status / lifecycle distributions. */
.bar-row.semantic-status-closed .bar-track i{background:var(--forge-status-closed)}
.bar-row.semantic-status-resolved .bar-track i{background:var(--forge-status-resolved)}
.bar-row.semantic-status-wip .bar-track i{background:var(--forge-status-wip)}
.bar-row.semantic-status-open .bar-track i{background:var(--forge-status-open)}
.bar-row.semantic-status-reopened .bar-track i{background:var(--forge-status-reopened)}
.bar-row.semantic-status-blocked .bar-track i{background:var(--forge-status-blocked)}
.bar-row.semantic-status-hold .bar-track i{background:var(--forge-status-hold)}
.bar-row.semantic-status-neutral .bar-track i{background:var(--forge-status-neutral)}

/* Severity / impact: Critical → High → Medium → Low → Unknown. */
.bar-row.semantic-severity-critical .bar-track i{background:var(--forge-severity-critical)}
.bar-row.semantic-severity-high .bar-track i{background:var(--forge-severity-high)}
.bar-row.semantic-severity-medium .bar-track i{background:var(--forge-severity-medium)}
.bar-row.semantic-severity-low .bar-track i{background:var(--forge-severity-low)}
.bar-row.semantic-severity-unknown .bar-track i{background:var(--forge-severity-unknown)}

/* Reported vs resolved trend retains semantic meaning. */
.bar-row.semantic-trend-reported .bar-track i{background:var(--forge-status-open)}
.bar-row.semantic-trend-resolved .bar-track i{background:var(--forge-status-resolved)}

/* Status pills follow the same contract. */
.pill.status-CLOSED{background:#ecfdf3;color:#166534;box-shadow:inset 0 0 0 1px #a7e1bf}
.pill.status-RESOLVED{background:#f0fdfa;color:#115e59;box-shadow:inset 0 0 0 1px #99f6e4}
.pill.status-IN_PROGRESS{background:#fefce8;color:#713f12;box-shadow:inset 0 0 0 1px #fde047}
.pill.status-OPEN{background:#fef2f2;color:#b91c1c;box-shadow:inset 0 0 0 1px #fecaca}
.pill.status-REOPEN,.pill.status-REOPENED{background:#fff1f2;color:#881337;box-shadow:inset 0 0 0 1px #fda4af}
.pill.status-BLOCKED{background:#fff7ed;color:#9a3412;box-shadow:inset 0 0 0 1px #fdba74}

/* Dashboard KPI cards follow the same status semantics. */
.dashboard-metric.semantic-open{border-left:3px solid var(--forge-status-open)}
.dashboard-metric.semantic-open .dashboard-metric-icon{background:#fef2f2;color:var(--forge-status-open)}
.dashboard-metric.semantic-reopened{border-left:3px solid var(--forge-status-reopened)}
.dashboard-metric.semantic-reopened .dashboard-metric-icon{background:#fff1f2;color:var(--forge-status-reopened)}
.dashboard-metric.semantic-wip{border-left:3px solid var(--forge-status-wip)}
.dashboard-metric.semantic-wip .dashboard-metric-icon{background:#fefce8;color:#854d0e}
.dashboard-metric.semantic-blocked{border-left:3px solid var(--forge-status-blocked)}
.dashboard-metric.semantic-blocked .dashboard-metric-icon{background:#fff7ed;color:var(--forge-status-blocked)}
.dashboard-metric.semantic-resolved{border-left:3px solid var(--forge-status-resolved)}
.dashboard-metric.semantic-resolved .dashboard-metric-icon{background:#f0fdfa;color:var(--forge-status-resolved)}

/* NERALCAVO FORGE v0.9.0 HF7 — compact executive dashboard composition
   Dashboard summaries share horizontal space; operational tables remain full width. */
.dashboard-analytics-grid{
  display:grid;
  gap:1rem;
  align-items:start;
  margin:0 0 1rem;
}
.dashboard-analytics-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.dashboard-analytics-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.dashboard-analytics-grid>.card{margin-bottom:0;min-width:0}
.dashboard-analytics-grid .table-wrap{max-width:100%}
.dashboard-analytics-grid .dense-table th,
.dashboard-analytics-grid .dense-table td{padding:.45rem .52rem}
.dashboard-analytics-grid .bar-row{grid-template-columns:minmax(80px,1.2fr) minmax(90px,2.6fr) 2.5rem;gap:.5rem}
.dashboard-comparison-table th:not(:first-child),
.dashboard-comparison-table td:not(:first-child),
.dashboard-analytics-grid .dense-table th:last-child,
.dashboard-analytics-grid .dense-table td:last-child{text-align:right}
.dashboard-count-reported{color:var(--forge-status-open,#dc2626)}
.dashboard-count-resolved{color:var(--forge-status-resolved,#0f766e)}

@media(max-width:1100px){
  .dashboard-analytics-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .dashboard-analytics-grid--3,
  .dashboard-analytics-grid--2{grid-template-columns:1fr}
}

/* NERALCAVO FORGE v0.9.0 — Theme A R3 HF1 End-to-End Runtime & Cascade Corrective
   One authoritative Corporate Slate layer after frozen HF7. */
:root{--theme-primary-950:#071c3d;--theme-primary-900:#0b244b;--theme-primary-800:#153760;--theme-primary-700:#0b4fb8;--theme-primary-600:#155ed6;--theme-primary-100:#edf4ff;--theme-accent-500:#13b8ca;--theme-surface:#ffffff;--theme-surface-soft:#f7f9fb;--theme-bg:#f4f6f8;--theme-border:#d8e0e8;--theme-text:#182230;--theme-muted:#66758a;--theme-navy:var(--theme-primary-900);--theme-blue:var(--theme-primary-600);--theme-blue-hover:var(--theme-primary-700);--navy-950:#071c3d;--navy-900:#0b244b;--navy-800:#153760;--blue-700:#0b4fb8;--blue-600:#155ed6;--blue-100:#edf4ff;--surface:#fff;--surface-soft:#f7f9fb;--border:#d8e0e8;--text:#182230;--muted:#66758a;--sidebar-width:240px;--topbar-height:64px;--shadow-sm:0 1px 2px rgba(15,35,65,.045);--shadow-md:0 8px 20px rgba(15,35,65,.08)}
body.theme-a-r3{background:var(--theme-bg);color:var(--theme-text)}
body.theme-a-r3 .topbar{height:64px;min-height:64px;padding:0 1rem;background:var(--theme-navy);box-shadow:0 1px 3px rgba(7,28,61,.2);gap:.8rem}
body.theme-a-r3 .topbar-start{gap:.65rem;min-width:0}body.theme-a-r3 .brand-lockup{gap:.58rem}body.theme-a-r3 .brand-mark{width:2.35rem;height:2.35rem;border-radius:.48rem;box-shadow:0 1px 4px rgba(0,0,0,.15)}body.theme-a-r3 .brand{font-size:.92rem;letter-spacing:.04em}body.theme-a-r3 .tagline{font-size:.69rem;color:#d1dbe8}body.theme-a-r3 .topbar-separator{width:1px;height:2rem;background:rgba(255,255,255,.18)}body.theme-a-r3 .topbar-page-identity{max-width:260px;min-width:0}body.theme-a-r3 .topbar-page-identity strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:#fff}body.theme-a-r3 .topbar-actions{gap:.58rem;min-width:0}
body.theme-a-r3 .top-search-form{display:grid;grid-template-columns:minmax(0,1fr) 2rem;align-items:center;width:min(330px,28vw);height:2.35rem;border:1px solid rgba(255,255,255,.16);border-radius:.42rem;background:rgba(255,255,255,.075);overflow:hidden}body.theme-a-r3 .top-search-field{display:grid;grid-template-columns:1.15rem minmax(0,1fr);align-items:center;gap:.38rem;height:100%;padding:0 .55rem;color:#cbd7e7}body.theme-a-r3 .top-search-field input{width:100%;height:100%;min-height:0;padding:0;border:0;background:transparent;color:#fff;font-size:12.5px;box-shadow:none;outline:none}body.theme-a-r3 .top-search-field input::placeholder{color:#c1ccda}body.theme-a-r3 .top-search-submit{width:2rem;height:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:#d6e0ec;box-shadow:none}
body.theme-a-r3 .environment-badge{padding:.3rem .58rem;background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.18);color:#eef4fb}body.theme-a-r3 .user-avatar{width:2.05rem;height:2.05rem}body.theme-a-r3 .user-details strong{font-size:13px}body.theme-a-r3 .user-details span{font-size:12px;color:#ced9e8}body.theme-a-r3 .signout-link{min-height:2.2rem;padding:.4rem .48rem;border:0;background:transparent;box-shadow:none;color:#e2e8f0}
body.theme-a-r3 .app-shell{grid-template-columns:240px minmax(0,1fr);min-height:calc(100vh - 64px)}body.theme-a-r3 .sidebar{top:64px;height:calc(100vh - 64px);background:#fbfcfd;border-right-color:var(--theme-border);box-shadow:none}body.theme-a-r3 .sidebar-tools{padding:.62rem .6rem .42rem;gap:.42rem}body.theme-a-r3 .nav-search input{height:2.3rem;padding:.45rem .58rem .45rem 2rem;border-color:#d6dee7;border-radius:.45rem;background:#fff;font-size:13px}body.theme-a-r3 .primary-nav{padding:.05rem .55rem .75rem}body.theme-a-r3 .nav-group{margin:.22rem 0 .48rem}body.theme-a-r3 .nav-group-title{padding:.42rem .55rem .24rem;font-size:12px;color:#7d8897}body.theme-a-r3 .nav-link{min-height:2.4rem;gap:.6rem;padding:.48rem .6rem;margin:.06rem 0;border-radius:.44rem;font-size:14px;color:#405066;transform:none}body.theme-a-r3 .nav-link:hover,body.theme-a-r3 .nav-link:focus-visible{background:#eef3f8;color:#164a80;transform:none}body.theme-a-r3 .nav-link.active{background:#e9f1fb;color:#0f4b91;box-shadow:inset 3px 0 0 var(--theme-blue)}body.theme-a-r3 .nav-link.active .nav-active-marker{background:var(--theme-blue);box-shadow:none}body.theme-a-r3 .sidebar-footer{padding:.65rem;background:#f7f9fb;border-top-color:#e1e6ec}body.theme-a-r3 .app-shell.nav-collapsed{grid-template-columns:78px minmax(0,1fr)}
body.theme-a-r3 main{max-width:none;padding:1rem 1.1rem 1.3rem}body.theme-a-r3 .theme-page-meta{min-height:1.7rem;display:flex;align-items:center;gap:.55rem;margin:.05rem 0 .58rem;padding:0 .08rem}body.theme-a-r3 .theme-page-meta .breadcrumb{font-size:12px;color:#748196}
body.theme-a-r3 .theme-workspace-context{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,2.2fr);align-items:end;gap:.8rem;margin-bottom:.72rem;padding:.7rem .8rem;border:1px solid var(--theme-border);border-radius:.52rem;background:#fff;box-shadow:var(--shadow-sm)}body.theme-a-r3 .theme-context-heading>span{width:2.1rem;height:2.1rem;border-radius:.46rem;background:#edf4ff;color:var(--theme-blue)}body.theme-a-r3 .theme-context-heading strong{font-size:14px;color:#17345b}body.theme-a-r3 .theme-context-heading small{font-size:12px;color:#748196}body.theme-a-r3 .theme-context-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.48rem;align-items:end}body.theme-a-r3 .context-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}body.theme-a-r3 .context-fields label{font-size:12.5px;min-width:0}body.theme-a-r3 .context-fields select{width:100%;min-height:38px;border-radius:.38rem;font-size:13.5px}body.theme-a-r3 .context-actions .button{min-height:38px;white-space:nowrap}
body.theme-a-r3 .card{padding:.9rem;margin-bottom:.78rem;border-radius:.52rem;border-color:var(--theme-border);background:#fff;box-shadow:var(--shadow-sm)}body.theme-a-r3 .card h2{margin-bottom:.62rem;font-size:16px;color:#22344b}
body.theme-a-r3 .theme-command-hero,body.theme-a-r3 .theme-workspace-hero{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.88rem 1rem;margin-bottom:.78rem;border:1px solid var(--theme-border);border-radius:.55rem;background:#fff;box-shadow:var(--shadow-sm)}body.theme-a-r3 .hero-copy h2{margin:.06rem 0 .24rem;font-size:20px;color:#17345b}body.theme-a-r3 .hero-copy p{margin:0;font-size:13px;color:#66758a;line-height:1.4}body.theme-a-r3 .hero-copy .eyebrow{font-size:12px;color:#164d85}body.theme-a-r3 .hero-badge{min-height:2.5rem;min-width:4.6rem;padding:.42rem .7rem;background:var(--theme-navy);color:#fff;border-radius:.46rem}
body.theme-a-r3 .theme-workspace-grid{gap:.72rem;margin-bottom:.78rem}body.theme-a-r3 .theme-workspace-tile{display:grid;grid-template-columns:3.2rem minmax(0,1fr) 1rem;align-items:center;gap:.68rem;min-height:5.7rem;padding:.82rem .86rem;border:1px solid var(--theme-border);border-radius:.5rem;background:#fff;box-shadow:var(--shadow-sm)}body.theme-a-r3 .theme-workspace-tile .picture-tile-art{width:3.2rem;height:3.2rem;border-radius:.5rem;background:#edf4ff;color:var(--theme-blue)}body.theme-a-r3 .picture-tile-copy strong{font-size:15px;color:#172b4d}body.theme-a-r3 .picture-tile-copy small{font-size:13px;color:#66758a;line-height:1.35}body.theme-a-r3 .theme-context-summary{padding:.82rem .9rem;margin-bottom:.78rem}
body.theme-a-r3 .theme-dashboard-toolbar{padding:.72rem .78rem;margin-bottom:.72rem}body.theme-a-r3 .dashboard-filter-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:.55rem .6rem;align-items:end}body.theme-a-r3 .filter-field{grid-column:span 2;min-width:0}body.theme-a-r3 .filter-field-wide{grid-column:span 3}body.theme-a-r3 .filter-field label{display:flex;flex-direction:column;gap:.2rem;font-size:12.5px;color:#47566b;font-weight:700}body.theme-a-r3 .filter-field input,body.theme-a-r3 .filter-field select{width:100%;min-height:38px;border-radius:.38rem;font-size:13.5px}body.theme-a-r3 .dashboard-filter-actions{grid-column:span 2;display:flex;gap:.4rem;align-items:end}body.theme-a-r3 .dashboard-filter-actions .button{min-height:38px;padding:.44rem .72rem;font-size:13px}
body.theme-a-r3 .theme-metric-grid{gap:.58rem;margin-bottom:.72rem}body.theme-a-r3 .theme-metric{display:grid;grid-template-columns:2.3rem minmax(0,1fr) .8rem;align-items:center;gap:.58rem;min-height:3.75rem;padding:.72rem .76rem;border:1px solid var(--theme-border);border-radius:.5rem;background:#fff;box-shadow:var(--shadow-sm)}body.theme-a-r3 .theme-metric .dashboard-metric-icon{width:2.3rem;height:2.3rem;border-radius:.46rem}body.theme-a-r3 .dashboard-metric-copy{display:flex;flex-direction:column;gap:.04rem}body.theme-a-r3 .dashboard-metric-copy small{font-size:12px;color:#66758a}body.theme-a-r3 .dashboard-metric-copy strong{font-size:20px;color:#142d53;line-height:1.15}
body.theme-a-r3 .dashboard-analytics-grid{gap:.72rem;margin-bottom:.72rem}body.theme-a-r3 .dashboard-panel{padding:.82rem;margin-bottom:.72rem;border-radius:.5rem}body.theme-a-r3 .dashboard-panel-heading{margin:0 0 .58rem;padding:0}body.theme-a-r3 .dashboard-panel-heading h2{margin:0;font-size:15px;color:#1c2f49}body.theme-a-r3 .dashboard-panel table{font-size:13.5px}body.theme-a-r3 .dashboard-panel th{padding:.48rem .54rem;font-size:12px;background:#f3f6fa}body.theme-a-r3 .dashboard-panel td{padding:.46rem .54rem;font-size:13.5px}body.theme-a-r3 .dashboard-panel .pill{font-size:12px;min-height:1.45rem;padding:.2rem .5rem}body.theme-a-r3 .theme-summary-grid{gap:.72rem}body.theme-a-r3 .theme-summary-card{padding:.86rem .9rem}body.theme-a-r3 .theme-summary-card .large-number{font-size:1.85rem}
body.theme-a-r3 input,body.theme-a-r3 select,body.theme-a-r3 textarea{min-height:38px;border-color:#d4dde7;border-radius:.38rem;background:#fff;color:#14233a}body.theme-a-r3 input:focus,body.theme-a-r3 select:focus,body.theme-a-r3 textarea:focus{border-color:#7ca4df;box-shadow:0 0 0 3px rgba(21,94,214,.10)}body.theme-a-r3 button,body.theme-a-r3 .button{min-height:38px;padding:.44rem .72rem;background:var(--theme-blue);border-color:var(--theme-blue);border-radius:.38rem;box-shadow:0 1px 2px rgba(15,35,65,.07)}body.theme-a-r3 .button.secondary,body.theme-a-r3 button.secondary{background:#fff;color:#34465e;border-color:#d1dae4;box-shadow:none}
body.theme-a-r3 .table-wrap{border-color:var(--theme-border);border-radius:.42rem}body.theme-a-r3 table{font-size:13.5px;background:#fff}body.theme-a-r3 th{padding:.5rem .56rem;background:#f3f6fa;color:#516076;font-size:12px}body.theme-a-r3 td{padding:.48rem .56rem}body.theme-a-r3 .dense-table th,body.theme-a-r3 .dense-table td{padding:.46rem .54rem}body.theme-a-r3 .pill{min-height:1.45rem;padding:.2rem .5rem;font-size:12px}
body.theme-a-r3 .theme-workflow-section>.section-heading{padding:.75rem .85rem .2rem;gap:.65rem}body.theme-a-r3 .theme-workflow-section>.section-heading h2{font-size:16px}body.theme-a-r3 .theme-workflow-section .function-tile-grid{padding:.6rem .8rem .8rem}body.theme-a-r3 .theme-function-tile{grid-template-columns:2.2rem minmax(0,1fr) .8rem;gap:.62rem;padding:.68rem;border-radius:.44rem}body.theme-a-r3 .theme-function-tile .function-tile-icon{width:2.2rem;height:2.2rem;border-radius:.44rem;background:#edf4ff;color:var(--theme-blue)}body.theme-a-r3 .function-tile-copy strong{font-size:14.5px}body.theme-a-r3 .function-tile-copy small{font-size:12.5px;color:#66758a}
body.theme-a-r3 .context-tab-row a{padding:.42rem .62rem;border-radius:.36rem;font-size:13px}body.theme-a-r3 .enterprise-toolbar,body.theme-a-r3 .register-toolbar{gap:.48rem;margin-bottom:.64rem;padding:.58rem .68rem;border-radius:.48rem}body.theme-a-r3 .entity-card{padding:.72rem;border-radius:.46rem}body.theme-a-r3 .domain-tile{padding:.72rem;border-radius:.48rem}body.theme-a-r3 .detail-field,body.theme-a-r3 .activity-list>div{padding:.65rem .72rem;border-radius:.44rem}body.theme-a-r3 .flash{padding:.68rem .78rem;border-radius:.44rem}body.theme-a-r3 .pagination a,body.theme-a-r3 .pagination span.current{min-width:2.05rem;min-height:2.05rem;padding:.32rem .46rem;border-radius:.34rem}body.theme-a-r3 .pagination span.current{background:var(--theme-blue);border-color:var(--theme-blue)}
body.theme-a-r3 .login-shell{background:#eef2f5}body.theme-a-r3 .login-frame{border-color:#d6dde5;border-radius:.72rem;box-shadow:0 16px 38px rgba(11,36,75,.12)}body.theme-a-r3 .login-identity{background:var(--theme-navy)}body.theme-a-r3 .login-form input,body.theme-a-r3 .login-form button{min-height:40px}
@media(max-width:1200px){body.theme-a-r3 .app-shell{grid-template-columns:230px minmax(0,1fr)}body.theme-a-r3 .dashboard-filter-grid{grid-template-columns:repeat(8,minmax(0,1fr))}body.theme-a-r3 .filter-field,body.theme-a-r3 .filter-field-wide,body.theme-a-r3 .dashboard-filter-actions{grid-column:span 2}}
@media(max-width:900px){body.theme-a-r3 .topbar-page-identity,body.theme-a-r3 .topbar-separator{display:none}body.theme-a-r3 .top-search-form{width:min(230px,28vw)}body.theme-a-r3 .theme-workspace-context{grid-template-columns:1fr}body.theme-a-r3 .theme-context-form{grid-template-columns:1fr}body.theme-a-r3 .dashboard-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}body.theme-a-r3 .filter-field,body.theme-a-r3 .filter-field-wide{grid-column:span 2}}
@media(max-width:700px){body.theme-a-r3 .top-search-form{display:none}body.theme-a-r3 .context-fields{grid-template-columns:1fr}body.theme-a-r3 .dashboard-filter-grid{grid-template-columns:1fr}body.theme-a-r3 .filter-field,body.theme-a-r3 .filter-field-wide,body.theme-a-r3 .dashboard-filter-actions{grid-column:1}}

/* NERALCAVO FORGE v0.9.0 — Theme A R3 HF2 Rendered Dashboard Fidelity Corrective
/* R3 HF3 user-assisted root-cause correction:
   Live DevTools network evidence + deployed app.css/app.js hashes confirmed the exact loaded assets.
   Forced stretch/100% height and chart-style width bias are removed. */
   Defect Dashboard only: approved Theme A proportions + accepted HF7 data decisions. */
@media(min-width:1201px){
  body.theme-a-r3 .dashboard-filter-grid--defects{grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:row}
  body.theme-a-r3 .dashboard-filter-grid--defects>.filter-field:nth-child(1){grid-column:1 / 3;grid-row:1}
  body.theme-a-r3 .dashboard-filter-grid--defects>.filter-field:nth-child(2){grid-column:3 / 5;grid-row:1}
  body.theme-a-r3 .dashboard-filter-grid--defects>.filter-field:nth-child(3){grid-column:5 / 8;grid-row:1}
  body.theme-a-r3 .dashboard-filter-grid--defects>.filter-field:nth-child(4){grid-column:8 / 10;grid-row:1}
  body.theme-a-r3 .dashboard-filter-grid--defects>.filter-field:nth-child(5){grid-column:10 / 13;grid-row:1}
  body.theme-a-r3 .dashboard-filter-grid--defects>.filter-field:nth-child(6){grid-column:1 / 3;grid-row:2}
  body.theme-a-r3 .dashboard-filter-grid--defects>.filter-field:nth-child(7){grid-column:3 / 5;grid-row:2}
  body.theme-a-r3 .dashboard-filter-grid--defects>.filter-field:nth-child(8){grid-column:5 / 7;grid-row:2}
  body.theme-a-r3 .dashboard-filter-grid--defects>.filter-field:nth-child(9){grid-column:7 / 9;grid-row:2}
  body.theme-a-r3 .dashboard-filter-grid--defects>.filter-field:nth-child(10){grid-column:9 / 11;grid-row:2}
  body.theme-a-r3 .dashboard-filter-grid--defects>.dashboard-filter-actions{grid-column:11 / 13;grid-row:2;align-self:end;justify-content:flex-end;white-space:nowrap}
}
body.theme-a-r3 .dashboard-analytics-grid--defects-primary{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
body.theme-a-r3 .dashboard-analytics-grid--defects-primary>.card{align-self:start;height:auto;margin-bottom:0}
body.theme-a-r3 .dashboard-analytics-grid--single{grid-template-columns:minmax(0,1fr)}
body.theme-a-r3 .dashboard-analytics-grid--defects-module>.card{width:100%;margin-bottom:0}
body.theme-a-r3 .dashboard-analytics-grid--defects-module .table-wrap,body.theme-a-r3 .dashboard-analytics-grid--defects-module table{width:100%}
@media(max-width:1100px){body.theme-a-r3 .dashboard-analytics-grid--defects-primary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.theme-a-r3 .dashboard-analytics-grid--defects-primary,body.theme-a-r3 .dashboard-analytics-grid--single{grid-template-columns:1fr}}


/* HF10 Governed Gantt & Delivery Timeline R1 — additive Theme A surface */
body.theme-a-r3 .gantt-filter-card{padding:.72rem .78rem;overflow:visible}
body.theme-a-r3 .gantt-filter-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:.48rem .55rem;align-items:end}
body.theme-a-r3 .gantt-filter-grid>label{grid-column:span 2;display:flex;min-width:0;flex-direction:column;gap:.2rem;margin:0;color:#47566b;font-size:12.5px;font-weight:700}
body.theme-a-r3 .gantt-filter-grid>label:nth-of-type(2){grid-column:span 3}
body.theme-a-r3 .gantt-filter-grid select{width:100%;min-width:0;min-height:36px;font-size:13px}
body.theme-a-r3 .gantt-filter-actions{grid-column:span 2;display:flex;align-items:end;justify-content:flex-end;gap:.38rem;white-space:nowrap}
body.theme-a-r3 .gantt-filter-actions button,body.theme-a-r3 .gantt-filter-actions .button{min-height:36px;padding:.4rem .65rem;font-size:13px}
body.theme-a-r3 .gantt-summary{grid-template-columns:repeat(5,minmax(120px,1fr));gap:.5rem;margin-bottom:.58rem}
body.theme-a-r3 .gantt-summary .metric{min-height:58px;padding:.58rem .68rem;border:1px solid var(--theme-border);border-radius:.44rem;background:#fff;box-shadow:var(--shadow-sm)}
body.theme-a-r3 .gantt-summary .metric::after{display:none}
body.theme-a-r3 .gantt-summary .metric span{display:block;color:#6a778a;font-size:12px;font-weight:700}
body.theme-a-r3 .gantt-summary .metric strong{margin-top:.04rem;color:#17345b;font-size:20px;line-height:1.15}
body.theme-a-r3 .gantt-context-line{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;padding:.58rem .72rem;font-size:13px}
body.theme-a-r3 .gantt-context-line strong{color:#17345b}
body.theme-a-r3 .gantt-context-line>span{color:#627086}
body.theme-a-r3 .gantt-context-line .pill{margin-left:auto;color:#245344;background:#edf8f2;border-color:#cfe8da;font-size:11px;font-weight:800;letter-spacing:.04em}
body.theme-a-r3 .gantt-card{padding:.78rem;overflow:hidden}
body.theme-a-r3 .gantt-card>.card-heading{margin-bottom:.58rem}
body.theme-a-r3 .gantt-card>.card-heading h2{margin-bottom:.15rem}
body.theme-a-r3 .gantt-card>.card-heading p{max-width:760px;font-size:12.5px}
body.theme-a-r3 .gantt-legend{display:flex;align-items:center;justify-content:flex-end;gap:.58rem;flex-wrap:wrap;color:#58677b;font-size:11.5px;font-weight:700}
body.theme-a-r3 .gantt-legend>span{display:inline-flex;align-items:center;gap:.28rem;white-space:nowrap}
body.theme-a-r3 .gantt-legend i{display:inline-block;width:18px;height:6px;border-radius:2px;border:1px solid transparent}
body.theme-a-r3 .gantt-legend-plan{background:#3767a9;border-color:#315d9a!important}
body.theme-a-r3 .gantt-legend-progress{background:#1f8b62;border-color:#1d7757!important}
body.theme-a-r3 .gantt-legend-actual{background:#7d8796;border-color:#687383!important}
body.theme-a-r3 .gantt-legend-baseline{height:0!important;border-top:2px dashed #9d6d34!important;background:transparent!important;border-radius:0!important}
body.theme-a-r3 .gantt-scroll{position:relative;max-width:100%;overflow:auto;border:1px solid #d7e0ea;border-radius:.44rem;background:#fff;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#aeb9c7 #eef2f5}
body.theme-a-r3 .gantt-scroll:focus-visible{outline:3px solid rgba(21,94,214,.16);outline-offset:1px}
body.theme-a-r3 .gantt-board{--gantt-tree-width:360px;position:relative;width:calc(var(--gantt-tree-width) + var(--gantt-timeline-width));min-width:100%;background:#fff}
body.theme-a-r3 .gantt-header,body.theme-a-r3 .gantt-row{display:grid;grid-template-columns:var(--gantt-tree-width) var(--gantt-timeline-width);width:calc(var(--gantt-tree-width) + var(--gantt-timeline-width));min-width:100%}
body.theme-a-r3 .gantt-header{position:sticky;top:0;z-index:12;height:36px;border-bottom:1px solid #ccd6e2;background:#f4f7fa}
body.theme-a-r3 .gantt-tree-head{position:sticky;left:0;z-index:14;display:flex;align-items:center;padding:0 .68rem;border-right:1px solid #d4dde7;background:#eef2f6;color:#435269;font-size:11.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
body.theme-a-r3 .gantt-time-head{position:relative;height:36px;overflow:hidden;background:#f4f7fa}
body.theme-a-r3 .gantt-tick{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:0 .38rem;border-left:1px solid #d8e0e9;color:#526178;font-size:11px;white-space:nowrap;overflow:hidden}
body.theme-a-r3 .gantt-tick b{font-weight:750}
body.theme-a-r3 .gantt-rows{position:relative}
body.theme-a-r3 .gantt-row{position:relative;min-height:40px;border-bottom:1px solid #e5eaf0}
body.theme-a-r3 .gantt-row:last-of-type{border-bottom:0}
body.theme-a-r3 .gantt-row[hidden]{display:none!important}
body.theme-a-r3 .gantt-tree-cell{position:sticky;left:0;z-index:6;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.35rem;min-height:40px;padding:.25rem .5rem .25rem calc(.48rem + (var(--gantt-depth) * 15px));border-right:1px solid #d7e0ea;background:#fff}
body.theme-a-r3 .gantt-row:nth-child(even) .gantt-tree-cell{background:#fbfcfd}
body.theme-a-r3 .gantt-tree-main{display:flex;align-items:center;gap:.28rem;min-width:0}
body.theme-a-r3 .gantt-tree-main>div{display:flex;align-items:baseline;gap:.36rem;min-width:0;overflow:hidden}
body.theme-a-r3 .gantt-tree-main strong{flex:0 0 auto;max-width:118px;overflow:hidden;text-overflow:ellipsis;color:#263c59;font-size:12px;white-space:nowrap}
body.theme-a-r3 .gantt-tree-main span{min-width:0;overflow:hidden;text-overflow:ellipsis;color:#526178;font-size:12.5px;white-space:nowrap}
body.theme-a-r3 .gantt-tree-meta{display:flex;align-items:center;justify-content:flex-end;gap:.26rem;min-width:0;color:#7a8797;font-size:10.5px;white-space:nowrap}
body.theme-a-r3 .gantt-toggle{display:inline-grid;place-items:center;flex:0 0 22px;width:22px;min-height:22px;height:22px;padding:0;border:1px solid #cdd7e3;border-radius:.3rem;background:#fff!important;color:#425a77!important;box-shadow:none!important;font-size:12px;line-height:1;cursor:pointer}
body.theme-a-r3 .gantt-toggle:hover,body.theme-a-r3 .gantt-toggle:focus-visible{border-color:#89a8d3;background:#edf4ff!important;color:#194d92!important}
body.theme-a-r3 .gantt-toggle-placeholder{display:block;flex:0 0 22px;width:22px}
body.theme-a-r3 .gantt-type-project{border-left:3px solid #173d6d;background:#f3f6fa!important}
body.theme-a-r3 .gantt-type-workstream{background:#f7f9fc!important}
body.theme-a-r3 .gantt-type-milestone .gantt-tree-main strong{color:#735329}
body.theme-a-r3 .gantt-type-group{font-style:italic;background:#fafbfc!important}
body.theme-a-r3 .gantt-track{position:relative;z-index:1;min-height:40px;overflow:hidden;background:repeating-linear-gradient(90deg,transparent 0,transparent 79px,rgba(86,108,136,.055) 80px),linear-gradient(#fff,#fff)}
body.theme-a-r3 .gantt-row:nth-child(even) .gantt-track{background:repeating-linear-gradient(90deg,transparent 0,transparent 79px,rgba(86,108,136,.055) 80px),#fbfcfd}
body.theme-a-r3 .gantt-bar{position:absolute;z-index:3;top:12px;height:16px;overflow:hidden;border:1px solid;border-radius:3px;box-shadow:0 1px 1px rgba(20,40,70,.08)}
body.theme-a-r3 .gantt-plan{background:#5b7fae;border-color:#496d9b}
body.theme-a-r3 .gantt-progress-fill{display:block;height:100%;background:#245e4a;opacity:.92}
body.theme-a-r3 .gantt-actual{top:28px;height:6px;background:#7d8796;border-color:#687383;border-radius:2px;opacity:.95}
body.theme-a-r3 .gantt-baseline{z-index:2;top:6px;height:4px;background:transparent;border:0;border-top:2px dashed #9d6d34;border-radius:0;box-shadow:none}
body.theme-a-r3 .gantt-milestone{position:absolute;z-index:4;top:13px;width:13px;height:13px;margin-left:-6px;transform:rotate(45deg);border:1px solid #725126;background:#b88749;box-shadow:0 1px 2px rgba(45,35,20,.15)}
body.theme-a-r3 .gantt-milestone.gantt-baseline{top:7px;width:10px;height:10px;border:1px dashed #8a602f;background:#fff;box-shadow:none}
body.theme-a-r3 .gantt-completion-marker{position:absolute;z-index:4;top:8px;bottom:8px;width:3px;margin-left:-1px;border-radius:2px;background:#667382}
body.theme-a-r3 .gantt-completion-marker::after{content:"";position:absolute;top:-2px;left:-3px;width:9px;height:9px;border:2px solid #667382;border-radius:50%;background:#fff}
body.theme-a-r3 .gantt-today{position:absolute;z-index:2;top:0;bottom:0;width:1px;background:#b63a31;opacity:.82}
body.theme-a-r3 .gantt-today::before{content:"Today";position:absolute;top:1px;left:3px;padding:0 3px;border-radius:2px;background:#fff4f2;color:#9f2d26;font-size:9px;font-weight:800;white-space:nowrap}
body.theme-a-r3 .gantt-no-date{position:absolute;left:8px;top:11px;color:#8a95a4;font-size:10.5px;font-style:italic}
body.theme-a-r3 .gantt-state{display:inline-flex;align-items:center;min-height:18px;padding:1px 4px;border:1px solid;border-radius:999px;font-size:9.5px;font-style:normal;font-weight:750;line-height:1}
body.theme-a-r3 .gantt-state-blocked{color:#8d2d27;background:#fff2f1;border-color:#efc2bd}
body.theme-a-r3 .gantt-state-overdue{color:#875916;background:#fff7e6;border-color:#ecd8ad}
body.theme-a-r3 .gantt-state-anomaly{color:#634b7d;background:#f8f3fd;border-color:#dcccea}
body.theme-a-r3 .gantt-dependency-layer{position:absolute;z-index:5;top:0;left:var(--gantt-tree-width);display:block;overflow:visible;pointer-events:none}
body.theme-a-r3 .gantt-dependency-path{fill:none;stroke:#526a88;stroke-width:1.35;opacity:.78;vector-effect:non-scaling-stroke}
body.theme-a-r3 .gantt-dependency-path.gantt-dependency-lag{stroke-dasharray:4 3}
body.theme-a-r3 .gantt-dependency-access{margin-top:.62rem;border-top:1px solid #e1e7ed;padding-top:.5rem;color:#5a687b;font-size:12px}
body.theme-a-r3 .gantt-dependency-access summary{cursor:pointer;color:#3e526d;font-weight:750}
body.theme-a-r3 .gantt-dependency-access ul{margin:.45rem 0 0;padding-left:1.15rem}
body.theme-a-r3 .gantt-dependency-access li{margin:.22rem 0}
body.theme-a-r3 .gantt-limit{border-color:#e3d5b9;background:#fffaf0}
@media(max-width:1200px){body.theme-a-r3 .gantt-filter-grid{grid-template-columns:repeat(8,minmax(0,1fr))}body.theme-a-r3 .gantt-filter-grid>label,body.theme-a-r3 .gantt-filter-grid>label:nth-of-type(2),body.theme-a-r3 .gantt-filter-actions{grid-column:span 2}body.theme-a-r3 .gantt-board{--gantt-tree-width:320px}}
@media(max-width:900px){body.theme-a-r3 .gantt-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr))}body.theme-a-r3 .gantt-filter-grid>label,body.theme-a-r3 .gantt-filter-grid>label:nth-of-type(2){grid-column:span 2}body.theme-a-r3 .gantt-filter-actions{grid-column:span 4;justify-content:flex-start}body.theme-a-r3 .gantt-summary{grid-template-columns:repeat(3,minmax(110px,1fr))}body.theme-a-r3 .gantt-board{--gantt-tree-width:290px}body.theme-a-r3 .gantt-tree-main>div{display:block}body.theme-a-r3 .gantt-tree-main strong,body.theme-a-r3 .gantt-tree-main span{display:block;max-width:205px}}
@media(max-width:700px){body.theme-a-r3 .gantt-filter-grid{grid-template-columns:1fr}body.theme-a-r3 .gantt-filter-grid>label,body.theme-a-r3 .gantt-filter-grid>label:nth-of-type(2),body.theme-a-r3 .gantt-filter-actions{grid-column:1}body.theme-a-r3 .gantt-filter-actions{width:100%}body.theme-a-r3 .gantt-filter-actions>*{flex:1}body.theme-a-r3 .gantt-summary{grid-template-columns:repeat(2,minmax(100px,1fr))}body.theme-a-r3 .gantt-context-line .pill{margin-left:0}body.theme-a-r3 .gantt-card>.card-heading{align-items:flex-start}body.theme-a-r3 .gantt-legend{justify-content:flex-start}body.theme-a-r3 .gantt-board{--gantt-tree-width:245px}body.theme-a-r3 .gantt-tree-cell{padding-left:calc(.35rem + (min(var(--gantt-depth),6) * 10px))}body.theme-a-r3 .gantt-tree-main strong,body.theme-a-r3 .gantt-tree-main span{max-width:150px}body.theme-a-r3 .gantt-tree-meta{display:none}}


/* HF10-HF1 — Gantt hierarchy/timeline geometry corrective.
   Additive Theme A correction: fixed hierarchy lane + explicit timeline lane,
   no inner vertical scroller, stable sticky hierarchy, compact readable rows. */
body.theme-a-r3 .gantt-scroll{
  overflow-x:auto;
  overflow-y:hidden;
}
body.theme-a-r3 .gantt-board{
  --gantt-tree-width:clamp(320px,32vw,420px);
  isolation:isolate;
}
body.theme-a-r3 .gantt-header,
body.theme-a-r3 .gantt-row{
  display:flex;
  grid-template-columns:none;
  align-items:stretch;
  min-width:calc(var(--gantt-tree-width) + var(--gantt-timeline-width));
}
body.theme-a-r3 .gantt-tree-head,
body.theme-a-r3 .gantt-tree-cell{
  flex:0 0 var(--gantt-tree-width);
  width:var(--gantt-tree-width);
  max-width:var(--gantt-tree-width);
  box-sizing:border-box;
}
body.theme-a-r3 .gantt-time-head,
body.theme-a-r3 .gantt-track{
  flex:0 0 var(--gantt-timeline-width);
  width:var(--gantt-timeline-width)!important;
  min-width:var(--gantt-timeline-width);
  box-sizing:border-box;
}
body.theme-a-r3 .gantt-tree-head{
  z-index:20;
}
body.theme-a-r3 .gantt-time-head{
  z-index:10;
}
body.theme-a-r3 .gantt-row,
body.theme-a-r3 .gantt-tree-cell,
body.theme-a-r3 .gantt-track{
  min-height:44px;
}
body.theme-a-r3 .gantt-tree-main>div{
  display:grid;
  grid-template-columns:minmax(82px,118px) minmax(0,1fr);
  align-items:center;
  gap:.4rem;
  width:100%;
}
body.theme-a-r3 .gantt-tree-main strong,
body.theme-a-r3 .gantt-tree-main span{
  display:block;
  max-width:none;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.theme-a-r3 .gantt-tree-meta{
  max-width:112px;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:900px){
  body.theme-a-r3 .gantt-board{--gantt-tree-width:300px}
}
@media(max-width:700px){
  body.theme-a-r3 .gantt-board{--gantt-tree-width:260px}
  body.theme-a-r3 .gantt-tree-main>div{grid-template-columns:1fr}
  body.theme-a-r3 .gantt-tree-meta{display:none}
}

/* FORGE CLEAN CODE — reusable compact icon-rich workspace foundation */
.page-content{min-height:0}
.workspace-flow{display:flex;flex-direction:column;gap:.45rem;min-height:0}
.workspace-summary{display:grid;grid-template-columns:minmax(280px,1.25fr) minmax(420px,1.75fr);gap:.5rem;align-items:stretch}
.workspace-subject,.workspace-status-strip{border:1px solid var(--theme-border);background:#fff;border-radius:.45rem;box-shadow:var(--shadow-sm)}
.workspace-subject{display:flex;align-items:center;gap:.55rem;padding:.5rem .65rem;min-width:0}
.workspace-subject-icon{width:2rem;height:2rem;display:grid;place-items:center;border-radius:.4rem;background:#edf4ff;color:var(--theme-blue)}
.workspace-subject-icon .icon{width:1.05rem}
.workspace-subject>div{min-width:0}
.workspace-subject-line{display:flex;align-items:center;gap:.45rem;min-width:0}
.workspace-subject-line>strong{font-size:13px;color:#17345b;white-space:nowrap}
.workspace-subject>div>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#66758a}
.workspace-lineage-badge{display:inline-flex;align-items:center;gap:.25rem;min-height:1.3rem;padding:.12rem .38rem;border-radius:999px;font-size:10.5px;font-weight:750;white-space:nowrap}
.workspace-lineage-badge .icon{width:.78rem;height:.78rem}
.workspace-lineage-badge.historical{background:#f2f4f7;color:#526178}
.workspace-lineage-badge.controlled{background:#eaf8ef;color:#166534}
.workspace-status-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden}
.workspace-status-tile{display:flex;align-items:center;gap:.42rem;padding:.42rem .52rem;min-width:0;border-left:1px solid #e5eaf0}
.workspace-status-tile:first-child{border-left:0}
.workspace-status-tile>span{width:1.65rem;height:1.65rem;border-radius:.36rem;display:grid;place-items:center;background:#f2f6fb;color:#155ed6;flex:0 0 auto}
.workspace-status-tile .icon{width:.88rem;height:.88rem}
.workspace-status-tile small,.workspace-status-tile strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-status-tile small{font-size:10.5px;color:#748196}
.workspace-status-tile strong{font-size:11.5px;color:#263c59}
.workspace-tabs{display:flex;gap:.28rem;padding:.28rem;border:1px solid var(--theme-border);border-radius:.44rem;background:#eef2f6;overflow-x:auto;scrollbar-width:thin}
.workspace-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:30px;padding:.28rem .52rem;border:1px solid transparent;background:transparent;color:#516076;box-shadow:none;font-size:12px;font-weight:750;white-space:nowrap;flex:1 0 auto}
.workspace-tabs button .icon{width:.9rem;height:.9rem}
.workspace-tabs button[aria-selected="true"]{background:#fff;color:#164d85;border-color:#d3dce7;box-shadow:0 1px 2px rgba(15,35,65,.06)}
.workspace-panels{min-height:0}
.workspace-panel{min-height:0}
.workspace-panel[hidden]{display:none!important}
.workspace-overview-grid{display:grid;grid-template-columns:1.35fr .85fr;gap:.5rem}
.workspace-panel-card{margin:0;padding:.55rem .62rem;border:1px solid var(--theme-border);border-radius:.44rem;background:#fff;box-shadow:var(--shadow-sm)}
.workspace-panel-card+.workspace-panel-card{margin-top:.45rem}
.workspace-section-title{display:flex;align-items:center;gap:.42rem;margin-bottom:.45rem}
.workspace-section-title>.icon{width:1rem;height:1rem;color:#155ed6}
.workspace-section-title h2{margin:0!important;font-size:13.5px!important;line-height:1.15;color:#22344b}
.workspace-section-title span{display:block;margin-top:.08rem;font-size:10.5px;color:#748196}
.workspace-kv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem}
.workspace-kv{display:flex;align-items:center;gap:.35rem;min-width:0;padding:.36rem .42rem;border:1px solid #e3e9f0;border-radius:.38rem;background:#f8fafc}
.workspace-kv>span{color:#426b9d}.workspace-kv .icon{width:.84rem;height:.84rem}
.workspace-kv>div{min-width:0}.workspace-kv small,.workspace-kv strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-kv small{font-size:10px;color:#748196}.workspace-kv strong{font-size:11px;color:#263c59}
.workspace-next-action-body{display:flex;align-items:flex-start;gap:.4rem;padding:.48rem;border-radius:.38rem;background:#edf4ff;color:#17345b}
.workspace-next-action-body .icon{width:.9rem;height:.9rem;margin-top:.08rem;color:#155ed6}.workspace-next-action-body strong{font-size:11.5px;line-height:1.35}
.workspace-boundary-note{display:flex;align-items:flex-start;gap:.35rem;margin-top:.42rem;padding:.4rem;border-top:1px solid #e5eaf0;font-size:10.5px;line-height:1.35;color:#66758a}.workspace-boundary-note .icon{width:.84rem;height:.84rem;color:#155ed6;flex:0 0 auto}
.workspace-notice{display:flex;align-items:flex-start;gap:.4rem;margin-top:.45rem;padding:.45rem .5rem;border:1px solid #d9e1ea;border-radius:.4rem;background:#f8fafc}.workspace-notice>.icon{width:.95rem;height:.95rem;margin-top:.05rem;color:#526178}.workspace-notice strong,.workspace-notice span{display:block}.workspace-notice strong{font-size:11.5px}.workspace-notice span{font-size:10.5px;color:#66758a;line-height:1.35}.workspace-notice.warning{background:#fff8e6;border-color:#f4d58d}.workspace-notice.warning>.icon{color:#a16207}
.workspace-form-section{margin-top:.45rem}.workspace-form-section h3{display:flex;align-items:center;gap:.28rem;margin:0 0 .3rem;font-size:11.5px;color:#34465e}.workspace-form-section h3 .icon{width:.82rem;height:.82rem;color:#155ed6}
.workspace-control-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.34rem .42rem}.workspace-control-grid.assessment-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.workspace-control-grid.decision-grid{grid-template-columns:minmax(180px,260px)}
.workspace-field{display:grid;gap:.18rem;margin:0;min-width:0}.workspace-field-label{display:flex;align-items:center;gap:.25rem;font-size:10.5px;font-weight:750;color:#516076}.workspace-field-label .icon{width:.72rem;height:.72rem;color:#6681a3}
.workspace-field input,.workspace-field select,.workspace-field textarea{width:100%;min-height:30px!important;padding:.28rem .38rem;font-size:12px!important;border-radius:.3rem!important}
.workspace-narrative-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.34rem .42rem}.workspace-textarea-field textarea{height:54px;min-height:54px!important;resize:vertical;line-height:1.3}
.workspace-action-bar{position:sticky;bottom:0;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin:.5rem -.62rem -.55rem;padding:.38rem .62rem;border-top:1px solid #dfe6ee;background:rgba(255,255,255,.96);backdrop-filter:blur(4px)}
.workspace-action-bar>div{display:flex;gap:.35rem}.workspace-action-bar button,.workspace-action-bar .button{display:inline-flex;align-items:center;gap:.3rem;min-height:31px!important;padding:.3rem .5rem!important;font-size:11.5px!important}.workspace-action-bar .icon{width:.78rem;height:.78rem}
.workspace-action-hint{display:flex;align-items:center;gap:.28rem;font-size:10px;color:#748196}.workspace-action-hint .icon{width:.72rem;height:.72rem}
details.workspace-disclosure>summary{display:flex;align-items:center;gap:.42rem;cursor:pointer;list-style:none}.workspace-disclosure>summary::-webkit-details-marker{display:none}.workspace-disclosure>summary>.icon:first-child{width:1rem;color:#155ed6}.workspace-disclosure>summary>.icon:last-child{margin-left:auto;width:.85rem}.workspace-disclosure>summary strong,.workspace-disclosure>summary small{display:block}.workspace-disclosure>summary strong{font-size:12px}.workspace-disclosure>summary small{font-size:10.5px;color:#748196}.workspace-disclosure[open]>summary{margin-bottom:.5rem}
.workspace-compact-copy{margin:.1rem 0 .45rem;font-size:11px;color:#66758a;line-height:1.35}.workspace-gate-prepare form button{display:inline-flex;align-items:center;gap:.3rem;min-height:31px!important;padding:.3rem .52rem!important;font-size:11.5px!important}.workspace-gate-prepare button .icon{width:.8rem;height:.8rem}
.workspace-bounded-table{max-height:250px;overflow:auto}.workspace-register-card table{font-size:11.5px!important}.workspace-register-card th{font-size:10.5px!important;padding:.34rem .4rem!important;position:sticky;top:0;z-index:1}.workspace-register-card td{padding:.34rem .4rem!important;vertical-align:top}.workspace-register-card .pill{font-size:10px!important;min-height:1.25rem!important;padding:.12rem .34rem!important}.workspace-register-card .muted{font-size:10px}
.workspace-decision-disclosure>summary{display:inline-flex;align-items:center;gap:.25rem;min-height:28px!important;padding:.22rem .4rem!important;font-size:10.5px!important}.workspace-decision-disclosure>summary .icon{width:.72rem}.workspace-decision-disclosure[open]{min-width:320px}.workspace-decision-disclosure form{margin-top:.4rem;padding:.45rem;border:1px solid #dfe6ee;border-radius:.38rem;background:#f8fafc}.workspace-condition-note{margin-top:.25rem;font-size:10px;line-height:1.35;color:#66758a}
.footer{margin-top:.5rem;padding-top:.4rem;font-size:10px}

@media(min-width:1101px){
  .app-authenticated{height:100%;overflow:hidden}
  .app-authenticated .app-shell{height:calc(100vh - var(--topbar-height));min-height:0}
  .app-authenticated main{height:calc(100vh - var(--topbar-height));min-height:0;overflow:auto;display:block;padding:.45rem .72rem .5rem;overscroll-behavior:contain;scrollbar-width:thin}
  .theme-workspace-context{margin-bottom:.35rem;padding:.38rem .5rem;grid-template-columns:minmax(150px,.55fr) minmax(0,2.45fr);gap:.5rem}
  .theme-context-heading>span{width:1.65rem;height:1.65rem}.theme-context-heading .icon{width:.86rem}
  .theme-context-heading strong{font-size:11.5px}.theme-context-heading small{display:none}
  .context-fields{gap:.3rem}.theme-context-form{gap:.3rem}
  .context-fields label{font-size:10.5px}.context-fields select{min-height:30px!important;font-size:11.5px!important}
  .context-actions .button{min-height:30px!important;padding:.3rem .5rem!important;font-size:11px!important}
  .theme-page-meta{min-height:1.2rem;margin:0 0 .28rem;font-size:10.5px}.theme-page-meta .breadcrumb{font-size:10.5px}
  .flash{margin-bottom:.3rem;padding:.35rem .48rem;font-size:11px}
  .app-authenticated .page-content{min-height:0;overflow:visible}
  .app-authenticated .footer{display:flex}

  .layout-bounded-workspace main{overflow:hidden;display:flex;flex-direction:column}
  .layout-bounded-workspace .theme-workspace-context{flex:0 0 auto}
  .layout-bounded-workspace .theme-page-meta{flex:0 0 auto}
  .layout-bounded-workspace .flash{flex:0 0 auto}
  .layout-bounded-workspace .page-content{flex:1 1 auto;min-height:0;overflow:hidden}
  .layout-bounded-workspace .workspace-flow{height:100%}
  .layout-bounded-workspace .workspace-summary{flex:0 0 auto}
  .layout-bounded-workspace .workspace-tabs{flex:0 0 auto}
  .layout-bounded-workspace .workspace-panels{flex:1 1 auto;overflow:hidden}
  .layout-bounded-workspace .workspace-panel{height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:.1rem}
  .layout-bounded-workspace .footer{display:none}
}
@media(max-width:1300px) and (min-width:1101px){.workspace-control-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-control-grid.assessment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-kv-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.workspace-summary{grid-template-columns:1fr}.workspace-overview-grid{grid-template-columns:1fr}.workspace-control-grid,.workspace-control-grid.assessment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-kv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-tabs button{flex:0 0 auto}.workspace-panel{overflow:visible}.workspace-action-bar{position:static}}
@media(max-width:700px){.workspace-status-strip{grid-template-columns:1fr}.workspace-status-tile{border-left:0!important;border-top:1px solid #e5eaf0}.workspace-status-tile:first-child{border-top:0}.workspace-control-grid,.workspace-control-grid.assessment-grid,.workspace-narrative-grid,.workspace-kv-grid{grid-template-columns:1fr}.workspace-action-bar{align-items:flex-start;flex-direction:column}.workspace-action-bar>div{width:100%;flex-direction:column}.workspace-action-bar button,.workspace-action-bar .button{width:100%;justify-content:center}}

/* FORGE v2.1.0 R1F — generic bounded page shell + readability corrective.
   Standard workspaces keep the browser document and application shell fixed;
   overflow is owned by the shared workspace scroll region, never by individual routes. */
@media(min-width:1101px){
  .app-authenticated main{
    height:calc(100vh - var(--topbar-height));
    min-height:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    padding:.45rem .72rem .5rem;
  }
  .app-authenticated .theme-workspace-context,
  .app-authenticated .theme-page-meta,
  .app-authenticated .flash,
  .app-authenticated .footer{flex:0 0 auto}
  .app-authenticated .page-content{flex:1 1 auto;min-height:0;overflow:hidden}
  .layout-standard-workspace .workspace-scroll-region{
    height:100%;
    min-height:0;
    overflow:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-gutter:stable;
    padding-right:.22rem;
  }
  .layout-standard-workspace .footer{margin-top:.28rem}
  .layout-bounded-workspace .page-content{overflow:hidden}
}

/* Shared workspace readability hierarchy — applies to every consumer of the
   reusable workspace components and is intentionally not route-specific. */
body.theme-a-r3 .workspace-tabs button{
  min-height:34px;
  padding:.34rem .62rem;
  background:var(--theme-blue);
  border-color:var(--theme-blue);
  color:#fff;
  font-size:13px;
  font-weight:750;
}
body.theme-a-r3 .workspace-tabs button .icon{width:1rem;height:1rem;color:currentColor}
body.theme-a-r3 .workspace-tabs button[aria-selected="true"]{
  background:#fff;
  color:#17345b;
  border-color:#cbd7e5;
  box-shadow:0 1px 2px rgba(15,35,65,.08);
}
body.theme-a-r3 .workspace-tabs button:hover,
body.theme-a-r3 .workspace-tabs button:focus-visible{filter:brightness(.97);outline:2px solid transparent}
body.theme-a-r3 .workspace-section-title h2{font-size:15px!important}
body.theme-a-r3 .workspace-section-title span{font-size:12.5px;color:#5f6f84}
body.theme-a-r3 .workspace-subject-line>strong{font-size:14px}
body.theme-a-r3 .workspace-subject>div>span{font-size:13px;color:#5f6f84}
body.theme-a-r3 .workspace-status-tile small{font-size:12.5px;color:#66758a}
body.theme-a-r3 .workspace-status-tile strong{font-size:14px;color:#203750}
body.theme-a-r3 .workspace-kv small{font-size:12.5px;color:#66758a}
body.theme-a-r3 .workspace-kv strong{font-size:14px;color:#203750}
body.theme-a-r3 .workspace-next-action-body strong{font-size:13.5px;line-height:1.4}
body.theme-a-r3 .workspace-boundary-note{font-size:12.5px;line-height:1.4;color:#5f6f84}
body.theme-a-r3 .workspace-notice strong{font-size:13.5px}
body.theme-a-r3 .workspace-notice span{font-size:12.5px;line-height:1.4;color:#5f6f84}
body.theme-a-r3 .workspace-form-section h3{font-size:13.5px}
body.theme-a-r3 .workspace-field-label{font-size:12.5px;color:#47566b}
body.theme-a-r3 .workspace-field input,
body.theme-a-r3 .workspace-field select,
body.theme-a-r3 .workspace-field textarea{min-height:34px!important;padding:.34rem .45rem;font-size:13.5px!important}
body.theme-a-r3 .workspace-textarea-field textarea{height:64px;min-height:64px!important;line-height:1.4}
body.theme-a-r3 .workspace-action-bar button,
body.theme-a-r3 .workspace-action-bar .button{min-height:34px!important;padding:.34rem .56rem!important;font-size:13px!important}
body.theme-a-r3 .workspace-action-hint{font-size:12px;color:#66758a}
body.theme-a-r3 .workspace-compact-copy{font-size:12.5px;line-height:1.4;color:#5f6f84}
body.theme-a-r3 .workspace-register-card table{font-size:13px!important}
body.theme-a-r3 .workspace-register-card th{font-size:12.5px!important}
body.theme-a-r3 .workspace-register-card td{font-size:13px!important}
body.theme-a-r3 .workspace-register-card .pill{font-size:12px!important}
body.theme-a-r3 .workspace-register-card .muted{font-size:12px}
body.theme-a-r3 .breadcrumb a{color:#315f9b;text-decoration:none}
body.theme-a-r3 .breadcrumb a:hover,
body.theme-a-r3 .breadcrumb a:focus-visible{text-decoration:underline;color:#164d85}

/* Compact standard pages without shrinking typography below the approved
   readable scale. This improves information density while preserving 14px body
   values and 12.5px labels. */
@media(min-width:1101px){
  .layout-standard-workspace .workspace-scroll-region>.card{padding:.72rem;margin-bottom:.55rem}
  .layout-standard-workspace .workspace-scroll-region>.card h2{margin-bottom:.5rem}
  .layout-standard-workspace .workspace-scroll-region .grid{gap:.6rem}
  .layout-standard-workspace .workspace-scroll-region textarea{min-height:58px}
}

/* FORGE v2.1.0 R1G — generic collapsible form-card behaviour.
   Long create/register forms stay collapsed until needed; edit forms are opened
   automatically by the shared JS controller. This is route-agnostic. */
.collapsible-form-card{padding:0!important;overflow:visible}
.collapsible-form-toggle{width:100%;border:0;background:transparent;color:#203750;display:flex;align-items:center;gap:.58rem;min-height:46px;padding:.68rem .78rem;border-radius:inherit;text-align:left;cursor:pointer;font:inherit}
.collapsible-form-toggle:hover,.collapsible-form-toggle:focus-visible{background:#f4f7fb;outline:none}
.collapsible-form-toggle-icon{display:grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:.45rem;background:#e9f1ff;color:var(--theme-blue);flex:0 0 auto}
.collapsible-form-toggle-icon .icon{width:1rem;height:1rem}
.collapsible-form-toggle-copy{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.collapsible-form-toggle-copy strong{font-size:14px;font-weight:750}
.collapsible-form-toggle-copy small{font-size:12.5px;color:#66758a;margin-top:.12rem}
.collapsible-form-toggle-chevron{margin-left:auto;display:grid;place-items:center;color:#66758a;transition:transform .18s ease}
.collapsible-form-toggle-chevron .icon{width:1rem;height:1rem}
.collapsible-form-card.is-open .collapsible-form-toggle-chevron{transform:rotate(180deg)}
.collapsible-form-body{border-top:1px solid var(--border);padding:.72rem .78rem .78rem}
.collapsible-form-body[hidden]{display:none!important}

/* FORGE v2.1.0 R1H — shared disclosure readability corrective.
   Route-agnostic state styling intentionally outranks the common theme button rule. */
:root{
  --disclosure-collapsed-bg:var(--theme-blue);
  --disclosure-collapsed-fg:#fff;
  --disclosure-collapsed-muted:#e3edff;
  --disclosure-expanded-bg:#f4f7fb;
  --disclosure-expanded-fg:#17345b;
  --disclosure-expanded-muted:#526277;
  --disclosure-expanded-accent:var(--theme-blue);
}
body.theme-a-r3 .collapsible-form-toggle{
  background:var(--disclosure-collapsed-bg);
  color:var(--disclosure-collapsed-fg);
  border-color:var(--disclosure-collapsed-bg);
}
body.theme-a-r3 .collapsible-form-toggle-icon{
  background:rgba(255,255,255,.16);
  color:var(--disclosure-collapsed-fg);
}
body.theme-a-r3 .collapsible-form-toggle-copy small,
body.theme-a-r3 .collapsible-form-toggle-chevron{color:var(--disclosure-collapsed-muted)}
body.theme-a-r3 .collapsible-form-toggle:hover,
body.theme-a-r3 .collapsible-form-toggle:focus-visible{
  background:#164d85;
  color:#fff;
  outline:3px solid rgba(21,94,214,.16);
  outline-offset:2px;
}
body.theme-a-r3 .collapsible-form-card.is-open .collapsible-form-toggle{
  background:var(--disclosure-expanded-bg);
  color:var(--disclosure-expanded-fg);
  border-color:#d4dde7;
}
body.theme-a-r3 .collapsible-form-card.is-open .collapsible-form-toggle-icon{
  background:#e9f1ff;
  color:var(--disclosure-expanded-accent);
}
body.theme-a-r3 .collapsible-form-card.is-open .collapsible-form-toggle-copy small{
  color:var(--disclosure-expanded-muted);
}
body.theme-a-r3 .collapsible-form-card.is-open .collapsible-form-toggle-chevron{
  color:var(--disclosure-expanded-accent);
}
@media(min-width:1101px){.layout-standard-workspace .workspace-scroll-region>.collapsible-form-card{margin-bottom:.45rem}}
