/* Engineering Studio: semantic tokens, native controls, responsive content. */
:root{--background:#f3f6f7;--surface:#fff;--text:#182b38;--secondary:#526675;--accent:#176383;--accent-hover:#104d68;--tint:#eaf2f5;--line:#dce4e8;--line-strong:#9aadb7;--error:#a33430;--error-bg:#fff1ef;--warning:#755013;--warning-bg:#fff6e4;--radius:12px;--shadow:0 4px 18px #182b3806;--font:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--mono:ui-monospace,SFMono-Regular,Consolas,monospace}
*,*::before,*::after{box-sizing:border-box}html{font-size:100%;scroll-padding-top:2rem}body{margin:0;color:var(--text);background:var(--background);font-family:var(--font);font-size:1rem;line-height:1.55;-webkit-font-smoothing:antialiased;min-height:100dvh;display:flex;flex-direction:column}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,summary{cursor:pointer}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.55}img,svg,canvas{max-width:100%}h1,h2,h3,h4,p{margin:0}h1,h2,h3{line-height:1.18;overflow-wrap:anywhere}h1{font-size:clamp(2rem,3.5vw,2.75rem);font-weight:680;letter-spacing:-.055em}h2{font-size:1.2rem;letter-spacing:-.025em;font-weight:650}h3{font-size:1.1rem;font-weight:650;letter-spacing:-.02em}p{overflow-wrap:anywhere}ul{padding-left:1.3rem}button{color:inherit}input,select,textarea{max-width:100%;color:var(--text)}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}main:focus{outline:none}.icon{width:1.3rem;height:1.3rem;flex-shrink:0;vertical-align:middle}.muted{color:var(--secondary)}.user-text{white-space:pre-wrap;overflow-wrap:anywhere;unicode-bidi:plaintext}.title-dot{color:var(--accent)}.eyebrow{display:block;color:var(--secondary);font-size:.7rem;letter-spacing:.16em;font-weight:700;line-height:1.6}.skip-link{position:fixed;top:.7rem;left:1rem;padding:.75rem 1rem;background:var(--surface);border:2px solid var(--accent);border-radius:6px;transform:translateY(-180%);z-index:100}.skip-link:focus{transform:translateY(0)}
.site-header{background:var(--surface);border-bottom:1px solid var(--line);position:relative;z-index:10}.header-inner{max-width:1544px;min-height:92px;padding:0 48px;display:flex;align-items:center;gap:44px;margin:auto}.brand{display:flex;align-items:center;gap:14px;color:var(--text);flex-shrink:0}.brand:hover{text-decoration:none}.brand-monogram{width:48px;height:46px;display:flex;align-items:center;justify-content:center;background:var(--text);color:#fff;font-style:italic;font-size:1.7rem;letter-spacing:-.16em;font-weight:850;padding-right:5px;position:relative;line-height:1}.brand-monogram span{position:absolute;bottom:0;right:0;width:14px;height:5px;background:#65b0c5}.brand-name{font-size:.89rem;letter-spacing:.035em;font-weight:800;line-height:1.4}.brand-name>span{display:block;color:var(--secondary);font-size:.56rem;letter-spacing:.19em;font-weight:550;margin-top:4px}.primary-nav{display:flex;align-self:stretch;gap:30px;margin-left:32px}.primary-nav>a{display:flex;align-items:center;border-bottom:3px solid transparent;color:var(--secondary);font-size:.86rem;font-weight:550;padding:3px 0 0;min-height:44px}.primary-nav>a:hover{color:var(--accent);text-decoration:none}.primary-nav>a[aria-current]{color:var(--accent);border-bottom-color:var(--accent)}.account-menu{margin-left:auto;position:relative;max-width:300px}.account-menu summary{list-style:none;display:flex;gap:11px;align-items:center;min-height:44px}.account-menu summary::-webkit-details-marker{display:none}.avatar{width:36px;height:36px;background:var(--tint);border:1px solid #d3e3ea;border-radius:50%;display:grid;place-items:center;flex-shrink:0;color:var(--accent);font-size:.85rem;font-weight:650}.account-label{font-size:.8rem;line-height:1.5;overflow-wrap:anywhere}.account-label small{display:block;font-size:.68rem;color:var(--secondary);font-weight:400}.chevron{margin-left:8px;font-size:1rem}.account-popover{position:absolute;right:0;top:calc(100% + 16px);width:235px;max-width:calc(100vw - 32px);background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 10px 35px #182b3814;padding:8px;z-index:30}.account-hint{display:block;padding:8px 10px 12px;border-bottom:1px solid var(--line);font-size:.75rem;color:var(--secondary);overflow-wrap:anywhere}.account-popover a,.account-popover button{display:block;width:100%;text-align:left;border:0;background:none;padding:12px 10px;font-size:.85rem;color:var(--text);border-radius:4px;min-height:44px}.account-popover a:hover,.account-popover button:hover{background:var(--tint);text-decoration:none}.header-label{margin-left:auto;font-size:.67rem;font-weight:600;letter-spacing:.14em;color:var(--secondary)}
.main-container{width:100%;max-width:1544px;padding:48px 48px 64px;margin:0 auto;flex:1;min-width:0}.page-heading{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-bottom:32px}.page-heading>div:first-child{min-width:0}.page-heading .eyebrow{margin-bottom:10px}.page-heading h1+p{color:var(--secondary);margin-top:12px;font-size:.95rem;max-width:750px}.page-heading>.badge{flex-shrink:1}.home-heading{margin-bottom:42px}.home-heading h1{font-size:clamp(2.25rem,4vw,3.25rem)}.heading-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:7px;border:1px solid transparent;padding:10px 16px;font-size:.82rem;font-weight:600;line-height:1.4;white-space:normal;text-align:center;transition:background .16s,border-color .16s,box-shadow .16s;max-width:100%}.button:hover{text-decoration:none}.button:active{box-shadow:inset 0 2px 3px #182b381a}.button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}.button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.button.secondary{background:var(--surface);color:var(--text);border-color:var(--line)}.button.secondary:hover{background:var(--tint);border-color:var(--line-strong)}.button.quiet{color:var(--secondary);background:transparent}.button.quiet:hover{background:#e5edf0;color:var(--text)}.button.small{font-size:.76rem;padding:9px 12px;min-height:44px}.full-width{width:100%}.text-link{display:inline-flex;align-items:center;gap:12px;color:var(--accent);font-size:.85rem;font-weight:600;min-height:44px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line);border-radius:6px;background:var(--surface);flex-shrink:0;color:var(--secondary)}.icon-button:hover{background:var(--tint);color:var(--accent)}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;min-height:26px}.section-heading h2{font-size:.93rem;display:flex;align-items:center;gap:10px}.section-heading h2>.icon{color:var(--accent)}.section-caption{font-size:.57rem;font-weight:650;letter-spacing:.13em;color:var(--secondary);text-align:right}.badge{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:#f3f5f6;border-radius:5px;padding:4px 8px;font-size:.64rem;font-weight:550;line-height:1.4;color:var(--secondary);max-width:100%}.badge.subtle{color:var(--accent);background:var(--tint);border-color:#d6e6ed}.badge.warning{color:var(--warning);background:var(--warning-bg);border-color:#e8d9b8}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:28px;align-items:start}.systems-section,.car-section{min-width:0}.system-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.system-card{min-height:231px;display:flex;flex-direction:column;padding:23px 24px 0;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--text);box-shadow:var(--shadow);transition:border-color .16s,box-shadow .16s,background .16s}.system-card:hover{border-color:#8cadbd;box-shadow:0 7px 22px #182b380a;text-decoration:none;background:#fcfeff}.system-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.system-symbol{width:44px;height:44px;display:grid;place-items:center;background:var(--tint);border-radius:10px;color:var(--accent)}.system-symbol .icon{width:25px;height:25px;stroke-width:1.5}.system-access{color:var(--secondary);font-size:.61rem;padding-top:7px;line-height:1.4;text-align:right}.system-card-content{padding-top:27px;padding-bottom:20px;flex:1}.system-card-content h3{font-size:1.31rem;letter-spacing:-.035em}.system-card-content p{font-size:.75rem;color:var(--secondary);margin-top:8px}.system-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-top:1px solid var(--line);font-size:.73rem;font-weight:550;color:var(--accent)}.system-card-bottom .icon{width:17px;height:17px}.workspace-note{display:flex;gap:13px;align-items:center;margin-top:30px;padding:22px 0;border-top:1px solid var(--line);color:var(--secondary);font-size:.78rem}.workspace-note>.icon{width:19px;height:19px}.workspace-note p{font-weight:550}.workspace-note p span{font-weight:400}
.viewer-panel{overflow:hidden;border:1px solid #cfdde4;border-radius:var(--radius);background:#eaf0f3;display:flex;flex-direction:column;min-width:0;box-shadow:var(--shadow)}.viewer-topline{padding:19px 21px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;z-index:1}.viewer-label{display:flex;gap:8px;align-items:center;color:var(--secondary);font-size:.58rem;letter-spacing:.1em;font-weight:650;min-width:0}.viewer-label .icon{width:16px;height:16px}.viewer-stage{position:relative;min-height:378px;isolation:isolate;background-image:linear-gradient(#c5d2da38 1px,transparent 1px),linear-gradient(90deg,#c5d2da38 1px,transparent 1px);background-size:32px 32px;overflow:hidden;width:100%}.viewer-stage::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at center,transparent 25%,#eaf0f3 85%);pointer-events:none}.viewer-stage canvas{display:block;width:100%;height:100%;position:absolute;inset:0}.viewer-stage canvas:focus-visible{outline-offset:-4px}.viewer-empty{position:relative;min-height:378px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px;z-index:1}.empty-model-icon{width:82px;height:82px;border-radius:50%;border:1px solid #c7d9e3;display:grid;place-items:center;margin-bottom:24px;background:#f6fafcbf;box-shadow:0 0 0 10px #e3edf3b0}.empty-model-icon .icon{width:38px;height:38px;color:#4d788d;stroke-width:1.1}.viewer-empty>.eyebrow{font-size:.57rem;letter-spacing:.14em;margin-bottom:9px}.viewer-empty h3{font-size:1.18rem;font-weight:600;letter-spacing:-.035em}.viewer-empty p{font-size:.79rem;color:var(--secondary);margin:11px 0 20px;max-width:300px;line-height:1.7}.viewer-footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #d5e0e6;padding:17px 21px;min-height:55px;align-items:center;font-size:.65rem;color:var(--secondary);overflow-wrap:anywhere}.viewer-footer>span:first-child{min-width:0}.viewer-footer>span:last-child{font-family:var(--mono);font-size:.6rem;flex-shrink:0}.viewer-status,.viewer-error{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;z-index:2;background:#eaf0f3e8;font-size:.87rem;gap:14px}.viewer-status:empty{display:none}.viewer-controls{border-top:1px solid #d5e0e6;padding:10px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;background:#f6f9fa}.view-presets,.viewer-utilities,.viewer-pan{display:flex;flex-wrap:wrap;gap:4px}.viewer-controls button,.viewer-pan button{background:var(--surface);border:1px solid var(--line);border-radius:5px;min-height:44px;min-width:44px;padding:8px 10px;font-size:.73rem;color:var(--text)}.viewer-controls button:hover,.viewer-pan button:hover{border-color:var(--accent);color:var(--accent)}.viewer-controls button[aria-pressed="true"]{color:var(--accent);background:var(--tint);border-color:#a4c3d1}.viewer-help{font-size:.72rem;padding:0 16px;background:#f6f9fa;color:var(--secondary);border-top:1px solid var(--line)}.viewer-help summary{padding:12px 0;min-height:44px}.viewer-help p{margin-bottom:12px;line-height:1.7}.viewer-pan{padding-bottom:14px}.viewer-panel:fullscreen{background:#eaf0f3;width:100vw;height:100dvh;border-radius:0;overflow:auto}.viewer-panel:fullscreen .viewer-stage{flex:1;min-height:260px}.viewer-panel:fullscreen .viewer-topline{flex-shrink:0}.viewer-panel:fullscreen .viewer-footer{display:none}.viewer-panel:fullscreen .viewer-controls{flex-shrink:0}[hidden]{display:none!important}
.breadcrumbs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:28px;color:var(--secondary);font-size:.77rem}.breadcrumbs a{min-height:44px;display:inline-flex;align-items:center}.breadcrumbs>span:last-child{overflow-wrap:anywhere;min-width:0}.subsystem-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.subsystem-card{padding:24px;color:var(--text);display:flex;flex-direction:column;min-height:242px;transition:border-color .16s}.subsystem-card:hover{text-decoration:none;border-color:#8cadbd}.card-small-icon{width:42px;height:42px;display:grid;place-items:center;background:var(--tint);color:var(--accent);border-radius:9px;flex-shrink:0}.subsystem-card h3{margin:20px 0 9px;font-size:1.25rem}.subsystem-card>p{color:var(--secondary);font-size:.86rem;flex:1;overflow-wrap:anywhere}.subsystem-card-bottom{margin-top:25px;display:flex;justify-content:space-between;align-items:center}.subsystem-card-bottom .icon{color:var(--accent);width:18px}.full-grid{grid-column:1/-1}.empty-state{text-align:center;padding:48px 24px;display:flex;align-items:center;flex-direction:column;justify-content:center}.empty-state>.icon{color:var(--accent);width:33px;height:33px;margin-bottom:18px;stroke-width:1.3}.empty-state h2,.empty-state h3{margin-bottom:11px}.empty-state p{font-size:.87rem;color:var(--secondary);max-width:430px;line-height:1.75}.empty-state .button,.empty-state .text-link{margin-top:21px}.design-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.design-lists>section{min-width:0}.entry-list{display:flex;flex-direction:column;gap:16px}.entry-card{padding:22px;position:relative}.entry-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.entry-heading h3{padding-top:5px;min-width:0;font-size:1.1rem;line-height:1.5}.entry-heading .icon-button{margin-top:-4px;margin-right:-5px;border-color:transparent}.entry-body{line-height:1.75;font-size:.93rem}.entry-footer{margin-top:24px;padding-top:16px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center}.entry-footer>p{color:var(--secondary);font-size:.68rem;line-height:1.7}.entry-actions{position:relative;flex-shrink:0}.entry-actions>summary{font-size:.74rem;color:var(--secondary);min-height:44px;padding:11px 12px;border:1px solid var(--line);border-radius:6px;list-style:none;display:flex;align-items:center;gap:12px}.entry-actions>summary::after{content:"⌄";line-height:1}.entry-actions>summary::-webkit-details-marker{display:none}.entry-actions[open]>summary{background:var(--tint);color:var(--accent)}.entry-action-menu{position:absolute;right:0;top:calc(100% + 6px);min-width:170px;background:var(--surface);border:1px solid var(--line);border-radius:7px;box-shadow:0 8px 24px #182b3812;padding:6px;z-index:20}.entry-action-menu button,.entry-action-menu a{display:block;text-align:left;min-height:44px;padding:11px 10px;width:100%;background:none;border:0;border-radius:3px;color:var(--text);font-size:.76rem;line-height:1.5}.entry-action-menu button:hover,.entry-action-menu a:hover{background:var(--tint);text-decoration:none}.list-empty{min-height:270px}.archived-section{padding:20px 24px;margin-top:28px}.archived-section>summary{font-weight:600;min-height:44px;padding:10px 0}.archived-section>summary .badge{margin-left:8px}.archived-section>.muted{font-size:.85rem;margin-bottom:16px}.archive-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding:14px 0}.archive-row>div{min-width:0}.archive-row strong{display:block;overflow-wrap:anywhere;font-size:.9rem}.archive-row .muted{font-size:.72rem}
.admin-nav{display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px solid var(--line);margin-bottom:30px;padding-bottom:12px}.admin-nav a{color:var(--secondary);font-size:.83rem;padding:10px 15px;border-radius:7px;min-height:44px;display:flex;align-items:center}.admin-nav a:hover{background:#e5edf0;text-decoration:none}.admin-nav a[aria-current]{color:var(--accent);background:#e1edf2;font-weight:600}.admin-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.admin-card{padding:28px;color:var(--text);display:flex;flex-direction:column;align-items:flex-start;transition:border-color .16s}.admin-card:hover{text-decoration:none;border-color:#8cadbd}.admin-card h2{margin:26px 0 12px;font-size:1.25rem}.admin-card p{color:var(--secondary);font-size:.86rem;line-height:1.75;flex:1}.admin-card .text-link{margin-top:22px}.inline-note{display:flex;align-items:flex-start;gap:12px;color:var(--secondary);font-size:.81rem;margin-top:24px;line-height:1.7}.inline-note>.icon{margin-top:2px;width:18px;height:18px;flex-shrink:0}.member-row{display:flex;align-items:center;gap:24px;padding:23px 26px;border-bottom:1px solid var(--line);flex-wrap:wrap}.member-row:last-child{border-bottom:0}.member-identity{display:flex;align-items:center;gap:13px;flex:1;min-width:180px}.member-identity>div{min-width:0}.member-identity h2{font-size:.93rem;margin-bottom:4px}.member-identity .muted{font-size:.75rem;overflow-wrap:anywhere}.member-state{min-width:120px}.row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.permission-key{display:flex;flex-wrap:wrap;gap:12px 25px;color:var(--secondary);font-size:.8rem;margin-bottom:24px}.permission-key strong{color:var(--text)}.access-form{max-width:960px}.access-system{margin-bottom:18px;overflow:hidden}.access-row{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:18px 25px}.access-row label{font-weight:550;overflow-wrap:anywhere;font-size:.9rem}.access-row .badge{margin-left:10px}.system-default{background:#f9fbfc}.system-default label{font-weight:650;font-size:1rem}.system-default p{font-size:.75rem;color:var(--secondary);margin-top:5px}.access-select{width:240px;flex-shrink:0}.subsystem-access{border-top:1px solid var(--line);padding-left:46px}.access-empty{padding:18px 25px;color:var(--secondary);font-size:.77rem;border-top:1px solid var(--line)}.structure-list{display:flex;flex-direction:column;gap:22px}.structure-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 25px}.structure-title{display:flex;gap:14px;align-items:center;min-width:0}.structure-title>div{min-width:0}.structure-title h2{font-size:1rem;margin-bottom:5px}.structure-title .muted{font-size:.72rem}.structure-children{border-top:1px solid var(--line);padding:0 25px}.structure-child{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:14px 0 14px 17px}.structure-child:last-child{border-bottom:0}.structure-child-name{display:flex;align-items:center;gap:12px;min-width:0;font-size:.87rem;overflow-wrap:anywhere}.structure-child-name>span{min-width:0}.branch{color:#728e9e;font-family:var(--mono);font-size:1rem}.structure-empty{padding:20px 0;color:var(--secondary);font-size:.82rem}.structure-empty a{text-decoration:underline}.is-archived{background:#f9fbfc}.model-guidance{display:flex;gap:20px;align-items:flex-start;padding:26px;margin-bottom:24px;background:#f9fbfc}.model-guidance h2{font-size:1.05rem;margin-bottom:8px}.model-guidance p{color:var(--secondary);font-size:.86rem;max-width:820px;line-height:1.8}.model-row{display:flex;gap:20px;align-items:center;padding:24px;border-bottom:1px solid var(--line);flex-wrap:wrap}.model-row:last-child{border:0}.model-file-icon{width:44px;height:48px;display:grid;place-items:center;border-radius:7px;background:var(--tint);color:var(--accent)}.model-info{flex:1;min-width:150px}.model-info h2{font-size:.93rem;margin-bottom:6px}.model-info p{color:var(--secondary);font-size:.73rem}.model-preview-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}.model-preview-layout .viewer-stage{min-height:480px}.publish-panel{padding:28px}.publish-panel h2{font-size:1.4rem;margin:12px 0 18px;letter-spacing:-.04em}.publish-panel p{font-size:.85rem;color:var(--secondary);line-height:1.8;margin-bottom:20px}.publish-panel .field-help{font-size:.75rem}.publish-panel form{margin-bottom:16px}.publish-panel .text-link{margin-top:14px}
.narrow-page{max-width:710px;margin:0 auto}.narrow-page .page-heading{margin-bottom:27px}.narrow-page h1{font-size:2.2rem}.form-panel{padding:30px}.form-stack{display:flex;flex-direction:column;gap:22px;min-width:0}.form-field{min-width:0}.form-field>label{display:block;font-size:.86rem;font-weight:600;margin-bottom:8px}.required-mark{color:var(--secondary);font-weight:400}.required-note{color:var(--secondary);font-size:.73rem;margin-bottom:-5px}.input-wrap{position:relative}input:not([type=hidden],[type=checkbox],[type=radio]),select,textarea{display:block;width:100%;border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;min-height:46px;padding:11px 12px;line-height:1.5;font-size:1rem;transition:border-color .16s,box-shadow .16s}textarea{resize:vertical;min-height:120px}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #17638317;outline:2px solid transparent;outline-offset:1px}input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--accent)}input[type=file]{font-size:.87rem;padding:10px;white-space:normal;overflow-wrap:anywhere}input::file-selector-button{background:var(--tint);color:var(--accent);border:0;border-radius:4px;padding:8px 10px;margin-right:12px;font:inherit;cursor:pointer}input[type=password],input[data-password-field]{padding-right:72px!important}.password-toggle{position:absolute;top:2px;bottom:2px;right:3px;min-width:58px;min-height:44px;background:transparent;border:0;border-radius:4px;color:var(--accent);font-size:.75rem;font-weight:600}.password-toggle:hover{background:var(--tint)}.field-help{font-size:.76rem;line-height:1.7;color:var(--secondary);margin-top:8px}.field-help ul{margin:8px 0 0;padding-left:18px}.field-help li+li{margin-top:4px}.form-errors,.field-errors,.errorlist{color:var(--error);font-size:.82rem;line-height:1.65}.form-errors{padding:14px 16px;border:1px solid #e8bdb9;background:var(--error-bg);border-radius:7px}.form-errors ul,.field-errors ul{margin:0;list-style:none;padding:0}.field-errors{margin-top:7px}.errorlist{list-style:none;padding:0;margin:6px 0 0}.has-error input,.has-error select,.has-error textarea{border-color:var(--error)}.form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:5px}.checkbox-field{display:grid;grid-template-columns:24px 1fr;column-gap:12px}.checkbox-field>label{grid-column:2;margin:0;grid-row:1}.checkbox-field>.input-wrap{grid-column:1;grid-row:1}.checkbox-field .field-help{grid-column:2}.message-stack{display:flex;flex-direction:column;gap:10px;margin-bottom:24px}.message{display:flex;align-items:flex-start;gap:10px;font-size:.84rem;line-height:1.7;padding:14px 18px;border:1px solid #bbd2dc;background:#e8f2f5;border-radius:8px;color:#205167}.message .icon{margin-top:3px;width:18px;height:18px}.message.error{border-color:#e8bdb9;background:var(--error-bg);color:var(--error)}.message.warning{border-color:#e8d9b8;background:var(--warning-bg);color:var(--warning)}.error-page{max-width:700px;padding:44px;margin:35px auto}.error-page>.icon{width:38px;height:38px;color:var(--accent);margin-bottom:16px}.error-page>.card-small-icon{margin-bottom:20px}.error-page h1{font-size:2rem;margin-bottom:16px}.error-page p{color:var(--secondary);line-height:1.8;margin-bottom:26px}
.auth-page{background:var(--surface)}.auth-container{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.78fr);gap:8%;align-items:center;max-width:1230px;min-height:calc(100dvh - 175px);padding-top:60px;padding-bottom:60px}.auth-story{padding:30px 0}.auth-story>.eyebrow{color:var(--accent);margin-bottom:24px}.auth-story h1{font-size:clamp(2.5rem,4vw,3.5rem);letter-spacing:-.055em;line-height:1.12}.auth-story>p{font-size:.92rem;color:var(--secondary);line-height:1.8;margin-top:22px}.engineering-mark{margin-top:45px;max-width:420px;color:#9bb8c7;position:relative}.engineering-mark svg{width:100%;height:auto;display:block}.engineering-mark>span{display:block;font-size:.5rem;font-family:var(--mono);letter-spacing:.12em;color:#58717e;text-align:center;margin-top:15px}.auth-card{padding:38px 36px;border:1px solid var(--line);border-radius:14px;background:var(--background);box-shadow:0 12px 40px #182b3805}.auth-card>.eyebrow{margin-bottom:12px;font-size:.6rem}.auth-card h1{font-size:1.9rem;letter-spacing:-.05em;font-weight:650;margin-bottom:12px}.auth-card>.muted{font-size:.82rem;margin-bottom:30px}.auth-card .form-stack{gap:20px}.auth-card .form-field label{font-size:.79rem}.auth-card .button.primary{margin-top:7px;justify-content:space-between}.auth-help{font-size:.72rem;color:var(--secondary);line-height:1.8;border-top:1px solid var(--line);margin-top:28px;padding-top:20px}.site-footer{max-width:1544px;width:100%;margin:auto;padding:24px 48px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--secondary);font-size:.65rem;line-height:1.6;border-top:1px solid var(--line)}.footer-separator{margin:0 9px;color:#8ca0ac}.footer-private{display:flex;align-items:center;gap:7px;font-size:.63rem}.footer-private .icon{width:12px;height:12px}
@media(min-width:1600px){.system-card{min-height:250px}.viewer-stage,.viewer-empty{min-height:416px}}
@media(max-width:1190px){.header-inner{padding:0 32px;gap:26px}.primary-nav{margin-left:10px;gap:22px}.main-container{padding:40px 32px 56px}.site-footer{padding:22px 32px}.system-card{padding:21px 20px 0}.system-card-content h3{font-size:1.2rem}.system-access{font-size:.57rem}.workspace-grid{gap:22px}.section-caption{font-size:.54rem}.model-preview-layout{grid-template-columns:minmax(0,1fr) 290px}}
@media(max-width:1099px){.workspace-grid{grid-template-columns:minmax(0,1fr);gap:34px}.system-card{min-height:227px}.system-card-content h3{font-size:1.4rem}.system-card-content{padding-top:25px}.system-access{font-size:.65rem}.car-section .viewer-stage,.car-section .viewer-empty{min-height:390px}.subsystem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-card-grid{gap:16px}.admin-card{padding:24px}.account-label{max-width:120px}.home-heading{margin-bottom:35px}.model-preview-layout{grid-template-columns:minmax(0,1fr)}.publish-panel{max-width:none}.model-preview-layout .viewer-stage{min-height:430px}.publish-panel .button.full-width{width:auto}.auth-container{gap:6%}.auth-card{padding:30px 26px}.auth-story h1{font-size:2.7rem}.structure-heading{align-items:flex-start}.structure-heading>.row-actions{justify-content:flex-end;max-width:50%}}
@media(max-width:799px){.header-inner{padding:18px 24px;min-height:85px;flex-wrap:wrap;gap:18px}.brand{gap:10px}.brand-name{font-size:.77rem}.brand-name>span{font-size:.48rem}.brand-monogram{width:40px;height:40px;font-size:1.45rem}.primary-nav{order:3;margin-left:0;width:100%;gap:24px;min-height:44px;margin-bottom:-18px}.primary-nav>a{font-size:.82rem;padding-bottom:13px}.account-menu{max-width:200px}.account-label{font-size:.74rem}.main-container{padding:32px 24px 44px}.page-heading{align-items:flex-start;gap:20px;flex-wrap:wrap}.page-heading h1+p{font-size:.88rem}.heading-actions{flex-shrink:1}.design-lists{grid-template-columns:minmax(0,1fr);gap:32px}.admin-card-grid{grid-template-columns:minmax(0,1fr)}.admin-card{padding:26px}.admin-card h2{margin-top:20px}.admin-card p{max-width:560px}.member-row{gap:15px;padding:21px}.member-state{min-width:0}.member-row>.row-actions{width:100%;margin-left:49px}.auth-container{display:flex;flex-direction:column;padding-top:30px;padding-bottom:45px;gap:24px;min-height:0}.auth-story{display:none}.auth-card{max-width:460px;width:100%;padding:32px}.auth-page .header-label{font-size:.57rem}.auth-page .header-inner{flex-wrap:nowrap}.auth-page .site-footer{margin-top:auto}.site-footer{padding:20px 24px}.home-heading h1{font-size:2.55rem}.viewer-empty h3{font-size:1.2rem}.structure-heading{flex-direction:column}.structure-heading>.row-actions{max-width:none;justify-content:flex-start}.structure-child{padding-left:0}.structure-title{width:100%}.access-row{padding:18px 22px}.subsystem-access{padding-left:35px}.access-select{width:210px}.permission-key{display:block}.permission-key>span{display:block;margin-bottom:6px}.model-row{gap:14px}.model-row>.button{margin-left:64px}.model-preview-layout .viewer-stage{min-height:400px}.model-guidance{padding:22px}}
@media(max-width:639px){.header-inner{padding:16px 18px;gap:16px}.main-container{padding:28px 18px 40px}.brand-name{font-size:.72rem}.brand-name>span{font-size:.46rem;letter-spacing:.13em}.brand-monogram{width:36px;height:36px;font-size:1.35rem}.account-label,.chevron{display:none}.account-menu summary{min-width:44px;justify-content:flex-end}.account-menu{max-width:44px}.account-popover{top:calc(100% + 12px)}.primary-nav{margin-bottom:-16px}.header-label{display:none}.home-heading{margin-bottom:28px}.home-heading h1{font-size:2.2rem}.home-heading .eyebrow{font-size:.61rem}.home-heading>div>p{font-size:.84rem;max-width:300px}.home-heading>.button{font-size:.76rem}.page-heading h1{font-size:2rem}.page-heading .eyebrow{font-size:.61rem}.system-grid{grid-template-columns:minmax(0,1fr);gap:14px}.system-card{min-height:218px;padding:21px 22px 0}.system-card-content{padding-top:23px}.system-card-content h3{font-size:1.35rem}.section-caption{font-size:.5rem}.system-card-top .system-access{font-size:.63rem}.workspace-note{align-items:flex-start;padding-top:20px}.workspace-note>.icon{margin-top:3px}.workspace-note p span{display:block;margin-top:5px}.car-section .viewer-stage,.car-section .viewer-empty{min-height:345px}.viewer-empty{padding:24px 16px}.viewer-empty p{font-size:.76rem}.viewer-topline{padding:16px 16px 10px}.viewer-label{font-size:.54rem}.viewer-topline .badge{font-size:.57rem}.viewer-footer{padding:16px;font-size:.6rem}.viewer-empty>.eyebrow{font-size:.53rem}.empty-model-icon{width:72px;height:72px;margin-bottom:22px}.viewer-controls{padding:8px;gap:8px}.view-presets,.viewer-utilities{gap:3px;width:100%}.viewer-controls button{flex:1;padding:8px;font-size:.68rem}.subsystem-grid{grid-template-columns:minmax(0,1fr)}.subsystem-card{min-height:220px}.section-heading{flex-wrap:wrap}.design-lists .section-heading{gap:10px}.design-lists .section-heading h2{font-size:.95rem}.entry-card{padding:19px}.entry-body{font-size:.9rem}.entry-footer{align-items:flex-start}.archived-section{padding:18px}.admin-nav{gap:4px;margin-bottom:24px}.admin-nav a{font-size:.76rem;padding:10px 12px;flex:1 0 auto;justify-content:center}.admin-card{padding:24px}.member-row{padding:20px 18px}.member-identity{width:100%;min-width:0}.member-state{margin-left:49px}.member-row>.row-actions{margin-left:49px}.member-row .button,.member-row summary{font-size:.7rem;padding:10px}.member-row .row-actions{gap:7px}.access-row{flex-direction:column;align-items:stretch;gap:12px;padding:18px}.access-select{width:100%;flex-shrink:1}.subsystem-access{padding-left:30px}.access-row label{font-size:.85rem}.access-row .badge{margin-left:0;display:table;margin-top:7px}.access-empty{padding:18px;font-size:.75rem}.structure-heading{padding:20px 18px;gap:18px}.structure-children{padding:0 18px}.structure-child{flex-direction:column;align-items:stretch;gap:9px;padding:15px 0}.structure-child>.row-actions{padding-left:26px}.structure-child-name{font-size:.83rem;flex-wrap:wrap}.structure-child-name .badge{margin-left:25px}.structure-empty{font-size:.78rem;line-height:1.8}.model-guidance{flex-direction:column;gap:15px;padding:20px}.model-row{padding:20px 18px}.model-file-icon{display:none}.model-info{flex:1 1 100%;min-width:0}.model-row>.button{margin-left:0}.model-row>.badge{font-size:.62rem}.model-preview-layout .viewer-stage{min-height:340px}.publish-panel{padding:23px}.narrow-page h1{font-size:1.9rem}.form-panel{padding:24px 18px}.form-stack{gap:21px}.field-help{font-size:.72rem}.form-actions .button{flex:1 1 auto}.breadcrumbs{margin-bottom:22px;font-size:.73rem;gap:8px}.site-footer{padding:20px 18px;gap:8px;flex-direction:column;align-items:flex-start;font-size:.61rem}.footer-private{font-size:.6rem}.auth-card{padding:28px 23px}.auth-card h1{font-size:1.8rem}.auth-container{padding-top:28px}.auth-help{font-size:.7rem}.error-page{padding:28px 22px;margin:12px auto}.error-page h1{font-size:1.7rem}.empty-state{padding:35px 20px}}
/* Allow translated labels and enlarged text to reflow instead of squeezing controls. */
.brand{min-height:44px}.brand-monogram{flex-shrink:0}.brand-name{min-width:0;overflow-wrap:anywhere}.primary-nav{flex-wrap:wrap}.primary-nav>a{overflow-wrap:anywhere;min-width:0}.entry-body{font-size:1rem}.form-field>label{font-size:.9rem}
@media(max-width:639px){.brand{min-width:0;max-width:calc(100% - 60px);flex-shrink:1}.primary-nav{column-gap:20px;row-gap:0}.entry-body{font-size:1rem}.auth-page .brand{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(prefers-contrast:more){:root{--line:#718897;--line-strong:#526675;--secondary:#354b5a}.badge,.button.secondary,.panel,.system-card{border-color:var(--line)}.viewer-stage{background-image:none}.brand-name>span,.section-caption{font-weight:700}}
@media(forced-colors:active){.system-card,.panel,.viewer-panel,.button,.badge{border:1px solid CanvasText}.brand-monogram,.avatar{border:1px solid CanvasText}.title-dot{color:CanvasText}.viewer-stage{background-image:none}.icon{forced-color-adjust:auto}}
@media print{.site-header,.site-footer,.heading-actions,.row-actions,.entry-actions,.icon-button,.button,.viewer-panel{display:none!important}body{background:#fff;color:#000}.main-container{padding:0;max-width:none}.design-lists{display:block}.entry-card{break-inside:avoid;margin:16px 0}.entry-body{font-size:11pt}}

/* Approved rules have a clear green frame without changing card dimensions. */
.entry-rule.entry-approved{border-color:var(--approved-color);box-shadow:inset 0 0 0 1px var(--approved-color),var(--shadow)}

/* Design approval charts stay readable as numbers, labels, and rings. */
:root{--spec-color:#2563eb;--spec-track:#e4ecfd;--rule-color:#7c3aed;--rule-track:#eee7fc;--approved-color:#246646;--approved-bg:#eef7f0}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.progress-overview{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:25px 28px;margin-bottom:25px}
.progress-overview-heading{min-width:0}.progress-overview-heading>.eyebrow{font-size:.61rem;margin-bottom:7px}.progress-overview-heading h2{font-size:1.25rem;letter-spacing:-.035em}.progress-overview-heading p{font-size:.8rem;color:var(--secondary);margin-top:7px;max-width:440px}
.progress-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;min-width:0}.progress-overview>.progress-pair{min-width:min(100%,390px)}
.progress-metric{--ring-color:var(--spec-color);--ring-track:var(--spec-track);display:flex;align-items:center;gap:13px;min-width:0}.progress-rule{--ring-color:var(--rule-color);--ring-track:var(--rule-track)}
.progress-ring{width:68px;height:68px;position:relative;flex-shrink:0}.progress-ring>svg{display:block;width:100%;height:100%;transform:rotate(-90deg);overflow:visible}.progress-ring circle{fill:none;stroke-width:5}.ring-track{stroke:var(--ring-track)}.ring-value{stroke:var(--ring-color);stroke-linecap:round}.is-zero .ring-value{display:none}.ring-number{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--text);font-size:1.08rem;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.ring-number small{font-size:.6em;letter-spacing:0;margin-left:1px}
.progress-copy{min-width:0}.progress-label{display:block;font-size:.81rem;line-height:1.35;font-weight:650;color:var(--text)}.progress-count{display:block;font-size:.72rem;line-height:1.45;color:var(--secondary);margin-top:4px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.progress-compact{gap:12px;margin:2px 0 20px}.progress-compact .progress-ring{width:42px;height:42px}.progress-compact .ring-number{font-size:.75rem}.progress-compact .progress-metric{gap:8px}.progress-compact .progress-label{font-size:.71rem}.progress-compact .progress-count{font-size:.65rem;margin-top:3px}.system-card-content{padding-bottom:18px}.system-card-bottom{margin-top:auto}.subsystem-card>.progress-pair{margin-top:22px;margin-bottom:0}.subsystem-card-bottom{margin-top:20px}
.source-coverage-note{display:flex;align-items:center;gap:14px;margin:-9px 0 32px;padding:0 5px}.source-coverage-note>.icon{color:var(--accent);width:22px;height:22px}.source-coverage-note>div{flex:1;min-width:0}.source-coverage-note strong{display:block;font-size:.78rem;font-weight:600}.source-coverage-note p{font-size:.73rem;color:var(--secondary);margin-top:3px}.source-coverage-note>.text-link{font-size:.76rem;flex-shrink:0}.source-coverage-note>.text-link .icon{width:17px}
.list-description{font-size:.83rem;color:var(--secondary);margin:-2px 0 19px;line-height:1.65}.entry-heading{gap:15px}.entry-body{margin-bottom:18px}.entry-information{border-top:1px solid var(--line);margin-top:18px}.entry-information>summary{display:flex;list-style:none;align-items:center;gap:8px;min-height:44px;padding:12px 0;font-size:.77rem;color:var(--accent);font-weight:550}.entry-information>summary::-webkit-details-marker{display:none}.entry-information>summary>.icon{width:19px;height:19px}.information-chevron{margin-left:auto;font-size:1rem}.entry-information[open] .information-chevron{transform:rotate(180deg)}.entry-information-body{padding:3px 0 20px;font-size:.88rem;line-height:1.75}.entry-information-body>.user-text{margin-bottom:17px}.entry-figure{margin:15px 0 0}.entry-figure img{display:block;max-height:340px;max-width:100%;object-fit:contain;border:1px solid var(--line);border-radius:6px;background:var(--background)}.entry-figure figcaption{font-size:.76rem;color:var(--secondary);margin-top:8px}.entry-source{margin-top:15px;border-left:2px solid var(--rule-color);padding-left:13px}.entry-source>.eyebrow{font-size:.58rem;margin-bottom:6px}.entry-source>strong{font-size:.89rem}.entry-source>p{font-size:.78rem;color:var(--secondary);margin-top:3px}.entry-source .text-link{font-size:.75rem;margin-right:14px;gap:7px;line-height:1.6}.entry-source .text-link .icon{width:16px}
.entry-approval{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:18px 0 0}.entry-approval form{flex-shrink:0}.approval-status{min-width:0}.approval-status p{font-size:.71rem;color:var(--secondary);margin-top:7px;line-height:1.65}.badge.approved{background:var(--approved-bg);color:var(--approved-color);border-color:#c6dfd0;gap:4px}.badge.approved>.icon{width:13px;height:13px}.entry-approval .button>.icon{width:16px;height:16px}.entry-approved{border-color:#c8dbcf}.entry-footer{padding-top:18px;margin-top:18px}.entry-footer>p{font-size:.68rem}.entry-action-menu{z-index:5}
.access-controls{min-width:220px;max-width:270px}.access-controls .access-select{width:100%}.access-row .approval-choice{display:flex;align-items:center;gap:10px;margin-top:8px;min-height:44px;font-size:.8rem;font-weight:500}.approval-choice input{flex-shrink:0}.access-approval-help{font-size:.7rem!important;line-height:1.6;color:var(--secondary);margin-top:2px!important}.approval-choice:has(input:disabled){color:var(--secondary)}
/* The source inventory is intentionally separate from approval progress. */
.rulebook-intro{display:flex;align-items:flex-start;gap:20px;padding:25px;margin-bottom:25px;background:#f9fbfc}.rulebook-intro h2{font-size:1.08rem;margin-bottom:10px}.rulebook-intro p{font-size:.87rem;line-height:1.8;max-width:900px;color:var(--secondary)}.rulebook-intro p+p{margin-top:8px}
.rulebook-list{display:flex;flex-direction:column;gap:16px}.rulebook-card{padding:25px;display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap}.rulebook-identity{display:flex;align-items:flex-start;gap:17px;min-width:0;flex:1 1 360px}.rulebook-identity>div{min-width:0}.rulebook-identity h2{font-size:1.1rem}.inline-labels{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.rulebook-identity p{font-size:.78rem;color:var(--secondary);margin-top:9px}.rulebook-identity .file-metadata{font-size:.7rem;margin-top:5px}.rulebook-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.coverage-summary{padding:27px;margin-bottom:22px}.coverage-summary-heading{display:flex;gap:20px;justify-content:space-between;align-items:center}.coverage-summary-heading h2{font-size:1.15rem;margin-bottom:8px}.coverage-summary-heading p{font-size:.84rem;color:var(--secondary)}.coverage-summary-heading>.badge{flex-shrink:0}.coverage-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:25px 0 20px}.coverage-counts>a{padding:4px 14px 4px 0;border-right:1px solid var(--line);color:var(--text);display:flex;flex-direction:column;align-items:flex-start;gap:5px}.coverage-counts>a:last-child{border:0}.coverage-counts strong{font-size:1.8rem;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.3;letter-spacing:-.04em}.coverage-counts strong small{font-size:.75rem;font-weight:500;letter-spacing:0;color:var(--secondary)}.coverage-counts>a>span{font-size:.74rem;color:var(--secondary);line-height:1.55}.coverage-explanation{padding-top:17px;border-top:1px solid var(--line);font-size:.76rem;color:var(--secondary);line-height:1.8}
.coverage-pages{margin-bottom:30px}.coverage-pages>summary{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:20px 25px;list-style:none;min-height:64px}.coverage-pages>summary::-webkit-details-marker{display:none}.coverage-pages>summary strong{font-size:.9rem;font-weight:600}.coverage-pages>summary small{display:block;font-size:.73rem;color:var(--secondary);margin-top:5px}.coverage-pages-body{padding:0 25px 25px}.coverage-pages-body>p{font-size:.8rem;margin-bottom:17px;line-height:1.7}.page-review-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(65px,1fr));gap:8px}.page-review-link{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:1px solid var(--line);border-radius:6px;color:var(--secondary);font-size:.8rem;font-variant-numeric:tabular-nums}.page-review-link:hover{background:var(--tint);border-color:var(--line-strong);text-decoration:none}.page-review-link.is-reviewed{color:var(--approved-color);background:var(--approved-bg);border-color:#c6dfd0}.page-review-link .icon{width:15px;height:15px}.page-review-marker{font-size:1.4rem;line-height:1}
.source-filter{display:flex;align-items:flex-end;gap:14px;padding:18px 20px;margin-bottom:18px;flex-wrap:wrap}.source-filter>div{flex:1 1 210px;min-width:0}.source-filter>div:first-child{flex:2 1 280px}.source-filter label{font-size:.77rem;font-weight:600;display:block;margin-bottom:7px}.source-filter input,.source-filter select{font-size:.9rem}.source-filter>.button{min-height:46px}.source-clause-list{display:flex;flex-direction:column;gap:14px}.source-clause{padding:23px}.source-clause-heading{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:13px}.source-clause-heading h3{font-size:.98rem}.source-clause-heading .badge{flex-shrink:0}.source-clause>.user-text{font-size:.91rem;line-height:1.8}.source-clause-footer{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:15px;border-top:1px solid var(--line);padding-top:13px}.source-clause-footer .text-link,.source-clause-footer>.muted{font-size:.75rem}.source-clause-footer>.row-actions{margin-left:auto}.source-rationale{margin-top:15px;font-size:.8rem;color:var(--secondary);line-height:1.75}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:25px 0;font-size:.8rem;color:var(--secondary);flex-wrap:wrap}
.link-review{padding:25px;margin-top:30px}.link-review>.muted{font-size:.82rem;line-height:1.75}.link-review-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:17px 0}.link-review-row:first-of-type{margin-top:18px}.link-review-row:last-child{padding-bottom:0}.link-review-row>div{min-width:0}.link-review-row strong{font-size:.85rem;overflow-wrap:anywhere}.link-review-row p{font-size:.73rem;color:var(--secondary);margin-top:6px}.link-review-row>.button{flex-shrink:0}.link-review-empty{font-size:.81rem;color:var(--approved-color);margin-top:18px}
.page-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}.page-review-layout>div{min-width:0}.page-review-form{padding:25px}.page-review-form>.eyebrow{font-size:.59rem;margin-bottom:10px}.page-review-form h2{font-size:1.3rem;margin-bottom:15px}.page-review-form>p{font-size:.81rem;color:var(--secondary);line-height:1.8;margin-bottom:20px}.page-review-form .form-stack{gap:18px}.page-review-form>.text-link{font-size:.77rem;margin-top:12px}.page-review-form>.field-help{font-size:.72rem;margin-bottom:0}.page-review-form .review-stamp{font-size:.72rem;border-left:2px solid var(--approved-color);padding-left:10px}.page-review-form .checkbox-field label{font-size:.85rem;min-height:44px}.extracted-text{margin-top:25px}.extracted-text>summary{font-size:.84rem;min-height:44px;padding:18px 22px;font-weight:550}.extracted-text>div{padding:4px 22px 22px;font-size:.82rem;line-height:1.85;max-height:700px;overflow:auto}
.form-field .input-wrap:has(input[type=checkbox])>div{display:flex;flex-direction:column;gap:8px}.form-field .input-wrap:has(input[type=checkbox])>div>div>label{display:flex;align-items:center;gap:12px;min-height:44px;font-size:.9rem}.form-field .input-wrap:has(input[type=checkbox])>div>div>label input{flex-shrink:0}
.admin-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1190px){.progress-compact{gap:8px}.progress-compact .progress-metric{gap:6px}.progress-compact .progress-ring{width:38px;height:38px}.progress-compact .progress-label{font-size:.67rem}.progress-compact .progress-count{font-size:.63rem}.coverage-counts{gap:14px}}
@media(max-width:1099px){.progress-overview{gap:24px;padding:23px}.progress-compact .progress-ring{width:46px;height:46px}.progress-compact .progress-label{font-size:.75rem}.progress-compact .progress-count{font-size:.69rem}.progress-compact{gap:18px}.progress-compact .progress-metric{gap:9px}.source-coverage-note{align-items:flex-start}.source-coverage-note>.icon{margin-top:2px}.page-review-layout{grid-template-columns:minmax(0,1fr) 290px;gap:22px}.page-review-form{padding:23px}.progress-overview>.progress-pair{min-width:min(100%,350px)}.progress-overview .progress-pair{gap:18px}}
@media(max-width:799px){.progress-overview{align-items:stretch;flex-direction:column;gap:20px}.progress-overview>.progress-pair{min-width:0;max-width:470px}.progress-overview-heading p{max-width:none}.progress-overview .progress-pair{gap:20px}.source-coverage-note{flex-wrap:wrap;gap:10px 12px}.source-coverage-note>.text-link{margin-left:34px;min-height:34px}.source-coverage-note>div{flex-basis:calc(100% - 35px)}.coverage-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.coverage-counts>a{border:0;padding-right:0}.coverage-summary-heading{align-items:flex-start;flex-direction:column;gap:14px}.page-review-layout{grid-template-columns:minmax(0,1fr)}.page-review-form{order:-1}.page-review-form .form-stack{max-width:560px}.page-review-form .form-stack .button{align-self:flex-start}.admin-card-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:639px){.progress-overview{padding:21px 18px;margin-bottom:22px;gap:20px}.progress-overview-heading h2{font-size:1.15rem}.progress-overview-heading p{font-size:.77rem}.progress-overview .progress-pair{gap:13px}.progress-overview .progress-metric{flex-direction:column;align-items:flex-start;gap:9px}.progress-overview .progress-ring{width:64px;height:64px}.progress-label{font-size:.77rem}.progress-count{font-size:.7rem}.progress-compact .progress-ring{width:43px;height:43px}.progress-compact .progress-label{font-size:.7rem}.progress-compact .progress-count{font-size:.65rem}.progress-compact{gap:13px}.progress-compact .progress-metric{gap:7px}.source-coverage-note{padding:0;margin-bottom:28px}.source-coverage-note strong{font-size:.75rem}.source-coverage-note p{font-size:.7rem}.source-coverage-note>.text-link{font-size:.73rem}.entry-approval{gap:10px;align-items:flex-start}.entry-approval form{max-width:45%}.entry-approval .button{font-size:.71rem;padding:10px}.entry-information-body{font-size:.84rem}.entry-figure img{max-height:260px}.entry-source .text-link{margin-right:0;display:flex}.access-controls{min-width:0;max-width:none}.access-row .approval-choice{margin-top:4px;font-size:.79rem}.access-row .access-controls .access-select{width:100%}.rulebook-intro{padding:21px 18px;gap:15px;flex-direction:column}.rulebook-intro h2{font-size:1rem}.rulebook-intro p{font-size:.81rem}.rulebook-card{padding:21px 18px;gap:18px}.rulebook-identity{gap:12px;flex-basis:100%}.rulebook-identity>.card-small-icon{width:34px;height:38px}.rulebook-identity h2{font-size:1rem}.rulebook-identity p{font-size:.73rem}.rulebook-identity .file-metadata{font-size:.67rem}.rulebook-actions{width:100%;gap:8px}.rulebook-actions>.button,.rulebook-actions>form{flex:1 1 auto}.rulebook-actions>form>.button{width:100%}.rulebook-actions .button{font-size:.73rem;padding:10px}.coverage-summary{padding:22px 18px}.coverage-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}.coverage-counts strong{font-size:1.6rem}.coverage-counts>a>span{font-size:.72rem}.coverage-explanation{font-size:.72rem}.coverage-pages>summary{padding:18px}.coverage-pages-body{padding:0 18px 18px}.page-review-grid{grid-template-columns:repeat(auto-fill,minmax(54px,1fr));gap:7px}.source-filter{padding:18px;gap:13px}.source-filter>div{flex-basis:100%}.source-filter>div:first-child{flex-basis:100%}.source-filter>.button{flex:1}.source-clause{padding:20px 18px}.source-clause-heading{flex-wrap:wrap;gap:10px}.source-clause>.user-text{font-size:.87rem}.source-clause-footer{gap:8px 15px}.source-clause-footer>.row-actions{margin-left:0;flex-basis:100%;margin-top:5px}.source-clause-footer .button{font-size:.71rem;flex:1 1 auto}.link-review{padding:20px 18px}.link-review-row{align-items:flex-start;flex-direction:column;gap:12px}.link-review-row>.button{align-self:flex-start}.page-review-form{padding:22px 18px}.extracted-text>summary{padding:16px 18px}.extracted-text>div{padding:4px 18px 18px}}
@media(prefers-contrast:more){.ring-track{stroke:#bac9d6}.progress-label{font-weight:700}.entry-approved{border-color:#246646}.coverage-counts>a{color:#182b38}}
@media(forced-colors:active){.ring-track{stroke:GrayText}.ring-value{stroke:Highlight}.ring-number{color:CanvasText}.source-coverage-note,.entry-information,.entry-approval,.page-review-link{border-color:CanvasText}.badge.approved{color:CanvasText}.entry-source{border-color:CanvasText}}
@media print{.progress-overview,.progress-pair,.source-coverage-note{break-inside:avoid}.source-filter,.page-review-form,.rulebook-actions{display:none}.entry-information>summary{display:none}.entry-information:not([open])>.entry-information-body{display:block}.page-review-layout{display:block}}
.rulebook-activation{display:flex;align-items:center;gap:25px;justify-content:space-between;padding:22px 25px;margin-bottom:22px;background:#f8fbfc}.rulebook-activation>div{min-width:0}.rulebook-activation strong{font-size:.9rem}.rulebook-activation p{font-size:.79rem;color:var(--secondary);margin-top:7px;line-height:1.75;max-width:730px}.rulebook-activation>form{flex-shrink:0}.source-rule-text{margin:7px 0}.source-rule-text>summary{font-size:.76rem;min-height:44px;padding:10px 0;color:var(--accent)}.source-rule-text>p{font-size:.85rem;margin-bottom:12px}
@media(max-width:799px){.rulebook-activation{flex-direction:column;align-items:flex-start;gap:15px}}
@media(max-width:639px){.rulebook-activation{padding:20px 18px}.rulebook-activation>form{width:100%}.rulebook-activation .button{width:100%}}

/* Use the available header width for system and subsystem descriptions. */
.page-heading h1 + .user-text { max-width: none; }

/* A subsystem can contain more subsystems without losing its own design lists. */
.nested-subsystems { margin-bottom: 34px; }
.nested-empty { padding: 25px; }
.nested-empty h3 { font-size: 1rem; }
.nested-empty p { max-width: 620px; }
.subsystem-heading .heading-actions { max-width: 470px; justify-content: flex-end; }
.breadcrumbs > a { min-width: 0; overflow-wrap: anywhere; }
.structure-child-label { min-width: 0; }
.structure-child-label > span:first-child { display: block; }
.structure-child-label > small { display: block; margin-top: 4px; color: var(--secondary); font-size: .72rem; line-height: 1.6; }
.structure-child-label > .badge { margin-top: 7px; }
.structure-child.nested-child { padding-inline-start: 34px; }
.structure-child > .row-actions { flex-shrink: 0; }
.subsystem-access > label { min-width: 0; }

/* Source approval combines every active Design Rule linked to the same clause. */
.source-approval-summary { display: flex; align-items: center; gap: 30px; padding: 25px 27px; margin-bottom: 22px; }
.source-approval-summary > div:first-child { flex: 1; min-width: 0; }
.source-approval-summary h2 { font-size: 1.15rem; margin-bottom: 8px; }
.source-approval-summary p { font-size: .84rem; color: var(--secondary); line-height: 1.75; max-width: 620px; }
.source-approval-summary p + p { margin-top: 8px; }
.source-approval-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; flex: 0 1 440px; }
.source-approval-totals > a { display: flex; flex-direction: column; gap: 5px; min-width: 0; color: var(--text); }
.source-approval-totals strong { font-size: 1.8rem; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.3; letter-spacing: -.04em; }
.source-approval-totals small { font-size: .8rem; font-weight: 500; letter-spacing: 0; color: var(--secondary); }
.source-approval-totals span { font-size: .77rem; color: var(--secondary); line-height: 1.55; }
.source-approval { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 19px; }
.source-approval-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.source-approval-heading > div { min-width: 0; }
.source-approval-heading .eyebrow { font-size: .61rem; margin-bottom: 6px; }
.source-approval-count { font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.source-approval-heading > .badge { flex-shrink: 0; }
.source-approval-note { font-size: .8rem; line-height: 1.75; color: var(--secondary); margin-top: 9px; }
.source-linked-entries { margin-top: 7px; }
.source-linked-entries > summary { min-height: 44px; padding: 12px 0; color: var(--accent); font-weight: 550; font-size: .8rem; }
.source-linked-entries > ul { margin: 0; padding: 0; list-style: none; }
.source-linked-entry { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.source-linked-entry:last-child { padding-bottom: 4px; }
.source-linked-identity { min-width: 0; }
.source-linked-path { color: var(--secondary); font-size: .75rem; margin-bottom: 5px; }
.source-linked-identity > strong { display: block; font-size: .87rem; font-weight: 600; overflow-wrap: anywhere; }
.source-linked-stamp { color: var(--secondary); font-size: .73rem; line-height: 1.7; margin-top: 7px; }
.source-linked-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 4px; flex-shrink: 0; max-width: 100%; }
.source-linked-actions .text-link { font-size: .76rem; gap: 8px; }
.source-linked-actions .icon { width: 16px; height: 16px; }
@media (max-width: 799px) {
  .source-approval-summary { flex-direction: column; align-items: stretch; gap: 22px; }
  .source-approval-totals { flex-basis: auto; max-width: 470px; }
  .subsystem-heading .heading-actions { max-width: 100%; justify-content: flex-start; }
  .structure-child { align-items: flex-start; flex-direction: column; }
  .structure-child.nested-child { padding-inline-start: 14px; }
}
@media (max-width: 639px) {
  .source-approval-summary { padding: 22px 18px; }
  .source-approval-totals { gap: 20px; }
  .source-approval-totals strong { font-size: 1.6rem; }
  .source-linked-entry { flex-direction: column; align-items: flex-start; gap: 11px; }
  .source-linked-actions { align-items: flex-start; }
  .nested-subsystems { margin-bottom: 28px; }
  .nested-empty { padding: 22px 18px; }
  .subsystem-heading .heading-actions > .badge { flex-basis: auto; }
  .structure-child.nested-child { padding-inline-start: 8px; }
}

/* Permanent deletion stays distinct from reversible entry actions. */
.entry-footer { flex-wrap: wrap; }
.entry-footer-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; max-width: 100%; }
.entry-footer > .entry-footer-actions { margin-inline-start: auto; }
.archive-row { flex-wrap: wrap; }
.archive-row > .entry-footer-actions { margin-inline-start: auto; }
.button.danger { color: #fff; background: var(--error); border-color: var(--error); }
.button.danger:hover { background: #852824; border-color: #852824; }
.button.quiet.danger { color: var(--error); background: transparent; border-color: transparent; }
.button.quiet.danger:hover { background: var(--error-bg); border-color: #e8bdb9; }
.delete-consequences { color: var(--secondary); line-height: 1.7; }
.delete-consequences p + p { margin-top: 12px; }
.subsystem-delete-form h2, .subsystem-delete-descendants { overflow-wrap: anywhere; }
.subsystem-delete-form h3 { font-size: .95rem; }
.subsystem-delete-note { color: var(--secondary); font-size: .78rem; margin-top: 6px; }
.subsystem-delete-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 16px 0 0; }
.subsystem-delete-counts > div { display: flex; flex-direction: column; gap: 4px; }
.subsystem-delete-counts dt { color: var(--secondary); font-size: .8rem; }
.subsystem-delete-counts dd { margin: 0; font-size: 1.35rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.subsystem-delete-descendants { margin: 12px 0 0; padding-inline-start: 20px; }
.subsystem-delete-descendants li { margin-top: 10px; line-height: 1.7; font-size: .86rem; }
.subsystem-delete-descendants .badge { margin-inline-start: 7px; }
@media (max-width: 639px) {
  .subsystem-delete-counts { grid-template-columns: 1fr; gap: 12px; }
  .subsystem-delete-counts > div { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; }
}

/* Inspection requirements share the approval workflow and retain a distinct ring. */
:root { --inspection-color: #e66a00; --inspection-track: #ffead9; }
.progress-inspection { --ring-color: var(--inspection-color); --ring-track: var(--inspection-track); }
.progress-pair { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.progress-overview { flex-wrap: wrap; }
.progress-overview > .progress-pair { flex: 1 1 620px; min-width: 0; max-width: none; }
@media (min-width: 1100px) {
  .progress-overview > .progress-pair { padding-inline-start: 32px; }
  .progress-overview > .progress-pair > .progress-metric { justify-content: flex-end; }
}
.progress-ring { container-type: inline-size; }
.progress-overview .progress-ring { width: 4.25rem; max-width: 100%; height: auto; aspect-ratio: 1; }
.progress-overview .ring-number { font-size: min(1.08rem, 29cqw); }
.progress-label { overflow-wrap: anywhere; }
.progress-compact .progress-metric { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.progress-compact .progress-ring { width: 100%; max-width: 3rem; height: auto; aspect-ratio: 1; }
.progress-compact .ring-number { font-size: min(.75rem, 29cqw); }
.progress-compact { gap: 12px; }
.design-lists { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.design-lists .section-heading { flex-wrap: wrap; align-items: flex-start; }
.design-lists .section-heading h2 { min-width: 0; }
.design-lists .section-heading .button { margin-inline-start: auto; }
.subsystem-delete-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1099px) {
  .design-lists { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 799px) {
  .progress-overview > .progress-pair { flex: 0 1 auto; width: 100%; }
  .progress-overview .progress-metric { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 639px) {
  .progress-overview > .progress-pair { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .progress-overview .progress-metric { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .progress-overview .progress-ring { width: 100%; max-width: 4rem; height: auto; aspect-ratio: 1; }
  .subsystem-delete-counts { grid-template-columns: minmax(0, 1fr); }
}
@media print { .design-lists { display: block; } }

/* A quiet live-state indicator; failures stay visible while data is stale. */
.live-updates{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 16px;margin-bottom:12px;min-height:24px;font-size:.75rem;color:var(--secondary)}
.live-status{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;color:var(--secondary)}
.live-status::before{content:"";width:6px;height:6px;border-radius:50%;background:#28734f;flex:none}
.live-status.is-offline::before{background:var(--warning)}
.status-heading-badges{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.live-access-notice{padding:24px;font-size:1rem}
.live-access-notice a{text-decoration:underline}
@media print{.live-updates,.live-status{display:none!important}}
