
:root{font-family:var(--font-ui);color:var(--text);background:var(--surface-soft);font-synthesis:none;--green:var(--text);--lime:var(--line);--muted:var(--muted);--line:var(--line);--amber:var(--text-secondary);--paper:var(--surface);--radius:12px}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--muted);outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:32px;font-weight:500;letter-spacing:0;line-height:1.2}h2{font-size:20px;font-weight:500;letter-spacing:0}h3{font-size:16px;font-weight:600;line-height:1.4}small{font-size:12px}button{border:0}svg.icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle}.shell{display:flex;min-height:100vh}.sidebar{width:234px;position:fixed;inset:0 auto 0 0;background:var(--surface-soft);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 18px}.wordmark{font-size:32px;font-weight:600;letter-spacing:0;line-height:1;display:flex;align-items:center;gap:6px;padding:0 14px}.wordmark span{font-size:32px;color:var(--muted);font-weight:400;letter-spacing:0;transform:translateY(-6px)}.workspace-label{display:flex;align-items:center;gap:10px;margin:37px 6px 31px;font-size:14px;font-weight:600;line-height:1.6}.workspace-label small{display:block;color:var(--muted);font-size:12px;font-weight:400}.workspace-symbol{width:31px;height:34px;border-radius:8px;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);font-size:14px}.nav-label,.eyebrow{font-size:12px;font-weight:600;letter-spacing:0;color:var(--muted)}.nav-label{padding:0 14px;margin-bottom:14px}.nav-item{display:flex;align-items:center;gap:12px;background:transparent;color:var(--text-secondary);width:100%;text-align:left;padding:13px 14px;border-radius:7px;margin-bottom:5px;font-size:14px}.nav-item.active{background:var(--green);color:var(--surface-soft)}.nav-item .count{margin-left:auto;font-size:12px;padding:1px 6px;background:#ffffff25;border-radius:4px}.nav-item:not(.active):hover{background:var(--line)}.sidebar-bottom{margin-top:auto;padding:25px 10px 0}.pilot{font-size:12px;display:flex;align-items:center;gap:8px}.pilot>span:last-child{margin-left:auto;font-size:12px;color:var(--muted)}.live-dot{width:6px;height:6px;border-radius:50%;background:var(--muted)}.sidebar-bottom p{font-size:12px;line-height:1.6;color:var(--muted);margin-top:12px}.signout{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding-top:16px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.signout .icon{width:14px}.main-shell{margin-left:234px;flex:1;min-width:0}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 21px;border-bottom:1px solid var(--line);background:#fff9}.breadcrumb{display:flex;align-items:center;gap:13px;color:var(--muted);font-size:14px}.breadcrumb .icon{width:12px;height:12px}.breadcrumb strong{color:var(--text-secondary);font-weight:500}.top-right{display:flex;align-items:center;gap:25px}.private{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.private .icon{height:14px;width:14px}.avatar{width:31px;height:31px;background:var(--line);border:3px solid white;box-shadow:0 0 0 1px var(--line);border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600}main{padding:20px 21px 30px;max-width:none;margin:auto;min-height:calc(100vh - 126px)}footer{padding:0 42px 25px;display:flex;justify-content:space-between;color:var(--muted);font-size:12px;letter-spacing:0}footer i{padding:0 9px;color:var(--muted)}footer>span:last-child{letter-spacing:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:2px 0 32px}.page-heading .eyebrow{margin-bottom:12px}.muted{font-size:14px;color:var(--muted);line-height:1.7}.page-heading .muted{margin-top:12px;font-size:14px}.primary,.secondary{border-radius:7px;padding:11px 15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:500;white-space:nowrap}.primary{background:var(--green);color:var(--surface)}.primary:hover{background:var(--text-secondary)}.secondary{background:var(--surface);color:var(--text-secondary);border:1px solid var(--line)}.secondary:hover{background:var(--surface-soft)}.primary .icon,.secondary .icon{width:15px;height:15px}.heading-actions{flex-shrink:0}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);margin-bottom:30px}.stat{padding:21px 22px;min-width:0}.stat+.stat{border-left:1px solid var(--line)}.stat>span{display:flex;align-items:center;justify-content:space-between;color:var(--text-secondary);font-size:12px;gap:8px}.stat .icon{height:16px;width:16px;color:var(--muted)}.stat strong{font-size:32px;letter-spacing:0;font-weight:400;display:block;margin:15px 0 8px}.stat small{font-size:12px;color:var(--muted);line-height:1.5;display:block}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:25px}.overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.panel-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:5px;font-size:12px;font-weight:500;padding:5px 8px;white-space:nowrap}.badge i{height:5px;width:5px;border-radius:50%;background:currentColor}.amber{color:var(--text-secondary);background:var(--surface-soft)}.green{color:var(--text-secondary);background:var(--surface-soft)}.purple{color:var(--text-secondary);background:var(--surface-soft)}.gray{color:var(--muted);background:var(--surface-soft)}.spotlight{padding:26px 28px}.focus-icon{width:43px;height:43px;background:var(--surface-soft);border:1px solid var(--line);color:var(--muted);border-radius:10px;display:grid;place-items:center;margin:26px 0 15px}.focus-icon .icon{height:23px;width:23px}.spotlight h2{font-size:24px;letter-spacing:0}.focus-summary{font-size:14px;line-height:1.9;color:var(--muted);margin-top:12px;max-width:480px}.focus-context{display:flex;gap:35px;padding:24px 0;border-bottom:1px solid var(--line);margin-bottom:22px}.focus-context>span{font-size:12px;letter-spacing:0;color:var(--muted)}.focus-context strong{display:block;font-size:12px;font-weight:500;letter-spacing:0;color:var(--text-secondary);margin-top:8px}.focus-context em{font-size:12px;color:var(--muted);font-weight:400;font-style:normal;margin-left:5px}.callout{display:flex;align-items:flex-start;gap:10px;background:var(--surface-soft);border:1px solid var(--line);color:var(--text-secondary);padding:13px 14px;border-radius:7px;margin:16px 0 22px}.callout>.icon{height:16px;width:16px;margin-top:1px}.callout strong{font-size:12px;font-weight:500}.callout p{font-size:12px;line-height:1.7;margin-top:4px;color:var(--muted)}.callout ul{font-size:12px;line-height:1.9;padding-left:18px}.spotlight>.primary{width:100%;justify-content:space-between}.signal-panel h2{margin-top:9px}.signal-panel>.muted{margin-top:12px;font-size:12px}.subtle-tag{font-size:12px;padding:5px 8px;background:var(--surface-soft);border:1px solid var(--line);border-radius:4px;color:var(--muted);white-space:nowrap}.signals{margin-top:12px}.signal{display:flex;gap:12px;text-align:left;background:transparent;padding:20px 0;border-bottom:1px solid var(--surface-soft);width:100%;color:inherit}.signal:last-child{border-bottom:0}.signal:hover h3{color:var(--text-secondary)}.signal-index{font-size:12px;color:var(--muted);padding-top:4px}.signal>div{flex:1}.signal>.icon{width:13px;height:13px;color:var(--muted);margin-top:4px}.signal-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.signal h3{font-size:14px;font-weight:500}.micro-badge{font-size:12px;color:var(--muted);background:var(--surface-soft);border-radius:4px;padding:4px 6px;white-space:nowrap}.micro-badge.risk{background:var(--surface-soft);color:var(--muted)}.signal p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:7px;max-width:350px}.note{background:var(--surface-soft);border-radius:6px;padding:12px 14px;font-size:12px;color:var(--muted);line-height:1.8}.signal-panel>.note{margin-top:12px;font-size:12px}.wide-note{margin-top:20px}.journey{margin-top:26px;padding:25px 28px}.journey h2{font-size:16px;margin-top:8px}.journey-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;margin-top:26px}.journey-steps>div{border-top:1px solid var(--line);padding-top:13px}.journey-steps span{font-size:12px;color:var(--muted);display:block}.journey-steps strong{font-size:12px;font-weight:500;display:block;margin:7px 0}.journey-steps small{font-size:12px;color:var(--muted)}.toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.search{background:var(--surface);border:1px solid var(--line);border-radius:7px;display:flex;align-items:center;padding:9px 13px;gap:9px;max-width:400px;width:100%}.search .icon{width:15px;height:15px;color:var(--muted)}.search input{border:0;background:transparent;font-size:14px;outline:none;width:100%;color:inherit}.table-panel{padding:0;overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left;white-space:nowrap}th{font-size:12px;font-weight:500;letter-spacing:0;color:var(--muted);background:var(--surface-soft);padding:18px 20px;border-bottom:1px solid var(--line)}td{padding:20px;border-bottom:1px solid var(--surface-soft);color:var(--text-secondary)}tr:last-child td{border-bottom:0}.row-title{background:none;text-align:left;display:flex;align-items:center;gap:12px;color:var(--text-secondary);padding:0}.row-title strong{font-size:14px;font-weight:500}.row-title small,td>small{display:block;font-size:12px;color:var(--muted);margin-top:6px}.table-icon{width:34px;height:36px;background:var(--surface-soft);border:1px solid var(--line);border-radius:7px;display:grid;place-items:center;color:var(--muted)}.table-icon .icon{height:17px;width:17px}.gate-count{font-size:12px;color:var(--muted)}.icon-button{background:none;display:inline-flex;padding:7px;color:var(--muted);border-radius:5px}.icon-button:hover{background:var(--surface-soft)}.text-button{background:none;color:var(--muted);display:inline-flex;gap:6px;align-items:center;padding:5px 0;font-size:12px;text-align:left}.text-button:hover{color:var(--text-secondary)}.text-button .icon{width:13px;height:13px}.back{font-size:12px;margin-bottom:20px}.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.detail-heading h1{margin:12px 0 9px;font-size:32px}.detail-heading .muted{font-size:14px}.tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:27px;overflow:auto}.tabs button{padding:0 0 15px;background:none;color:var(--muted);font-size:14px;white-space:nowrap;display:flex;align-items:center;gap:6px;border-bottom:2px solid transparent}.tabs button.selected{border-color:var(--text-secondary);color:var(--text-secondary)}.tabs button>span{font-size:12px;background:var(--line);color:var(--muted);padding:2px 5px;border-radius:4px}.detail-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:23px;align-items:start}.detail-grid h2{margin-top:11px}.body-text{font-size:14px;color:var(--muted);line-height:1.9;margin:15px 0 20px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:25px 0}.facts small,.metric small,.acceptance small,.evidence small{display:block;font-size:12px;letter-spacing:0;color:var(--muted)}.facts strong{display:block;font-size:14px;font-weight:500;margin:8px 0;color:var(--text-secondary)}.facts span{display:block;font-size:12px;color:var(--muted);line-height:1.7}.spaced{margin-top:24px}.scope-strip{display:grid;grid-template-columns:repeat(3,1fr);margin:22px 0}.scope-strip>div+div{border-left:1px solid var(--line);padding-left:25px}.scope-strip strong{font-size:24px;font-weight:400;display:block}.scope-strip span{font-size:12px;color:var(--muted);display:block;margin-top:8px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section-heading h2{font-size:20px}.section-heading p{margin-top:9px}.filter-pills{display:flex;gap:8px;margin-bottom:20px}.filter-pills button{font-size:12px;color:var(--muted);background:var(--surface-soft);padding:7px 13px;border-radius:5px}.filter-pills button.active{color:var(--text-secondary);background:var(--line)}.requirements{display:grid;grid-template-columns:1fr 1fr;gap:20px}.requirement-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.review-state{display:flex;gap:5px;align-items:center;font-size:12px;color:var(--muted);white-space:nowrap}.review-state .icon{width:12px;height:12px}.review-state.done{color:var(--muted)}.requirement h3{font-size:14px;margin-bottom:10px}.objective{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);line-height:1.6}.objective .icon{width:12px;height:12px}.acceptance{background:var(--surface-soft);border-radius:6px;padding:13px 15px;margin:18px 0 8px}.acceptance p{font-size:12px;color:var(--muted);line-height:1.85;margin-top:7px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;padding-top:12px;border-top:1px solid var(--surface-soft)}.metrics-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.metric h3{margin-top:17px}.metric-values{display:flex;align-items:center;gap:26px;margin:24px 0}.metric-values>.icon{width:16px;height:16px;color:var(--muted)}.metric-values strong{font-size:20px;font-weight:400;letter-spacing:0;display:block;margin-top:10px}.metric-actual{background:var(--surface-soft);border-radius:7px;padding:13px}.metric-actual p{margin:8px 0 0;line-height:1.7;font-size:12px;color:var(--muted);white-space:pre-wrap}.metric-actual small:last-child{margin-top:8px}.timing{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px;margin-top:16px;line-height:1.6}.timing .icon{height:13px;width:13px}.gate-list{display:grid;gap:16px}.gate{display:flex;gap:23px;padding:24px}.gate-number{display:grid;place-items:center;width:34px;height:34px;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;font-size:12px;color:var(--muted);flex-shrink:0}.gate.resolved .gate-number{background:var(--surface-soft);color:var(--muted);border-color:var(--line)}.gate-body{flex:1;min-width:0}.gate h3{font-size:14px}.gate p{font-size:14px;color:var(--muted);line-height:1.8;margin-top:10px;max-width:850px}.gate p.gate-owner{font-size:12px;color:var(--muted);margin-top:12px}.evidence{background:var(--surface-soft);border-radius:6px;padding:12px;margin-top:16px}.evidence p{white-space:pre-wrap}.decision-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:25px;align-items:start}.decision-grid h2{margin-top:12px}.check-list{list-style:none;padding:0;margin:25px 0;color:var(--muted);font-size:12px}.check-list li{display:flex;gap:10px;align-items:center;margin:18px 0}.check-list .icon{width:15px;height:15px}.check-list .done{color:var(--muted)}.decision-form form{margin-top:24px}.decision-form>.badge{margin-top:15px}.upload-panel{text-align:center;padding:40px}.upload-panel>.icon{height:35px;width:35px;color:var(--muted);margin-bottom:18px}.upload-panel p{font-size:12px;color:var(--muted);margin:12px 0 20px}.upload-panel form{display:flex;align-items:center;gap:15px;justify-content:center}.upload-panel input{width:auto;border:0;background:var(--surface-soft);max-width:300px;font-size:12px}.document-list{padding:0;margin-top:22px}.document-list a{display:flex;align-items:center;gap:14px;padding:20px;border-bottom:1px solid var(--line)}.document-list a:last-child{border:0}.document-list a>.icon{margin-left:auto;color:var(--muted);width:16px}.document-list strong{font-size:14px;font-weight:500}.document-list small{font-size:12px;color:var(--muted);display:block;margin-top:6px}.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.product-card .focus-icon{margin:0}.product-card h2{margin:24px 0 10px}.outcome-list{margin:22px 0}.outcome-list button{padding:20px 0;background:none;border-top:1px solid var(--line);display:flex;gap:20px;align-items:center;color:inherit;width:100%;text-align:left}.outcome-list small{font-size:12px;letter-spacing:0;color:var(--muted)}.outcome-list strong{font-size:14px;display:block;margin:9px 0;font-weight:500;line-height:1.6}.outcome-list p{font-size:12px;color:var(--muted)}.outcome-list .icon{width:15px;flex-shrink:0;color:var(--muted)}.roadmap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.roadmap-column{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;padding:16px;min-height:470px}.column-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.column-heading h2{font-size:14px;display:flex;align-items:center;gap:8px}.column-heading i{height:6px;width:6px;border-radius:50%;background:var(--muted)}.column-heading>span{font-size:12px;color:var(--muted)}.roadmap-card{padding:20px}.roadmap-card h3{margin:14px 0 15px;font-size:14px;font-weight:500;line-height:1.6}.roadmap-card>.muted{margin:12px 0}.roadmap-facts{display:grid;gap:18px;padding-top:13px;border-top:1px solid var(--line)}.roadmap-facts small{font-size:12px;letter-spacing:0;color:var(--muted);display:block}.roadmap-facts strong{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:7px}.empty-column{border:1px dashed var(--line);border-radius:7px;padding:27px 10px;text-align:center;color:var(--muted);font-size:12px}.activity-panel{padding:0 25px}.activity-panel article{display:flex;gap:18px;padding:25px 0;border-bottom:1px solid var(--line)}.activity-panel article:last-child{border:0}.activity-dot{width:30px;height:30px;display:grid;place-items:center;background:var(--surface-soft);border:1px solid var(--line);border-radius:50%;color:var(--muted);flex-shrink:0}.activity-dot .icon{width:15px;height:15px}.activity-panel strong{font-size:14px;line-height:1.8;font-weight:500;display:block;white-space:pre-wrap}.activity-panel p{font-size:12px;color:var(--muted);margin-top:6px;line-height:1.8}.activity-panel p span{color:var(--muted)}.empty{padding:38px;text-align:center;color:var(--muted);font-size:14px;line-height:1.9}.empty h3{font-weight:500;margin-bottom:10px}.empty p{font-size:12px}dialog{border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:28px;width:min(570px,calc(100vw - 28px));max-height:90vh;color:inherit;box-shadow:0 30px 100px #172a2638}dialog::backdrop{background:#1a2b225e;backdrop-filter:blur(3px)}.modal-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.modal-top h2{margin-top:8px;font-size:24px}label{display:block;font-size:12px;color:var(--muted);font-weight:500;margin:16px 0}input,textarea,select{display:block;width:100%;border:1px solid var(--line);border-radius:6px;padding:11px 12px;background:var(--surface-soft);color:var(--text-secondary);font-size:14px;margin-top:8px;line-height:1.5}textarea{resize:vertical}label.checkbox{display:flex;gap:10px;align-items:center;line-height:1.7}label.checkbox input{width:15px;height:15px;margin:0;flex-shrink:0;accent-color:var(--text-secondary)}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.source-title{margin-top:22px}blockquote{margin:22px 0;padding:20px;border-left:3px solid var(--muted);border-radius:3px;background:var(--surface-soft);color:var(--muted);font-size:14px;line-height:1.9}.error{padding:12px 15px;background:var(--surface-soft);color:var(--text-secondary);border:1px solid var(--line);border-radius:7px;font-size:14px;line-height:1.7;margin:14px 0}[hidden]{display:none!important}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--text);color:var(--surface-soft);padding:13px 22px;border-radius:9px;font-size:14px;box-shadow:0 6px 30px #102d2920;transition:all .2s;z-index:100}#toast.show{opacity:1;transform:translate(-50%,0)}.loading{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;color:var(--muted)}.loading h2{color:var(--text-secondary)}.loading p{font-size:14px}.form-error{white-space:pre-wrap}@media(min-width:1500px){main{padding-top:25px}.overview-grid{grid-template-columns:1.1fr 1fr}.spotlight{padding:30px 34px}.signal-panel{padding:30px}.signal{padding:23px 0}.focus-summary{max-width:530px}}@media(max-width:1150px){.sidebar{width:200px;padding:25px 12px}.main-shell{margin-left:200px}.topbar{padding:0 12.5px}main{padding:15px 12.5px 22.5px}.stat{padding:18px 15px}.stat>span{font-size:12px}.overview-grid{gap:18px}.panel{padding:21px}.signal-title{flex-wrap:wrap}.focus-context{gap:20px}.requirements,.metrics-grid{gap:16px}.roadmap-grid{gap:14px}.roadmap-column{padding:12px}.decision-grid{grid-template-columns:1fr 1fr}footer{padding:0 25px 20px}}@media(max-width:900px){.sidebar{width:76px;padding:25px 10px}.wordmark{padding:0;font-size:24px;letter-spacing:0;justify-content:center}.wordmark span{font-size:20px;gap:0}.workspace-label,.nav-label,.sidebar-bottom{display:none}.nav-item{font-size:0;padding:15px;justify-content:center;margin-top:10px}.nav-item .count{display:none}.nav-item .icon{width:21px;height:21px}.sidebar nav{margin-top:40px}.main-shell{margin-left:76px}.stat-grid{grid-template-columns:repeat(2,1fr)}.stat:nth-child(3){border-left:0;border-top:1px solid var(--line)}.stat:nth-child(4){border-top:1px solid var(--line)}.overview-grid,.detail-grid,.decision-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:1fr}.signal-title{flex-wrap:nowrap}.signal p{max-width:100%}.journey-steps{grid-template-columns:repeat(3,1fr)}.roadmap-grid{grid-template-columns:1fr}.roadmap-column{min-height:150px}.detail-heading{align-items:flex-start}.tabs{gap:22px}.roadmap-card{max-width:100%}}@media(max-width:600px){.sidebar{width:61px;padding:21px 6px}.wordmark{font-size:24px}.wordmark span{font-size:14px}.nav-item{padding:13px}.nav-item .icon{height:19px;width:19px}.main-shell{margin-left:61px}.topbar{height:61px;padding:0 8.5px}.breadcrumb{font-size:12px;gap:6px}.breadcrumb strong{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.private{display:none}.top-right{gap:8px}main{padding:12.5px 8px 17.5px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:24px}h1{font-size:32px;letter-spacing:0}.page-heading .muted{font-size:12px}.stat{padding:16px}.stat strong{font-size:32px;margin:12px 0}.stat small{font-size:12px}.overview-grid{gap:16px}.panel{padding:20px}.focus-context{flex-direction:column;gap:18px}.spotlight h2{font-size:24px}.journey-steps{grid-template-columns:repeat(2,1fr);gap:18px}.journey-steps strong{font-size:12px}.journey{margin-top:18px}.requirements,.metrics-grid{grid-template-columns:1fr}.detail-heading{flex-direction:column;gap:16px}.detail-heading h1{font-size:32px}.detail-heading .subtle-tag{font-size:12px}.tabs{gap:20px}.tabs button{font-size:12px}.section-heading{align-items:flex-start;flex-direction:column}.section-heading h2{font-size:20px}.gate{gap:13px}.gate-number{width:27px;height:29px;font-size:12px}.gate .panel-top{align-items:flex-start}.gate h3{font-size:14px}.gate p{font-size:12px}.facts{gap:20px}.facts strong{font-size:12px}.scope-strip>div+div{padding-left:18px}.upload-panel form{flex-direction:column}.upload-panel input{max-width:100%;font-size:12px}.toolbar{align-items:flex-start;gap:12px;flex-direction:column}.activity-panel article{gap:12px}.activity-panel strong{font-size:12px}.activity-dot{width:25px;height:25px}.metric-values{gap:20px}.metric-values strong{font-size:20px}footer{padding:0 16px 20px;font-size:12px}footer>span:last-child{display:none}.loading .wordmark{font-size:32px}.modal-top h2{font-size:20px}dialog{padding:23px}.filter-pills{gap:5px}.filter-pills button{padding:7px 11px;font-size:12px}}

/* Executive portfolio dashboard */
.dashboard-filters{display:flex;justify-content:flex-end;gap:16px;margin:-12px 0 20px}.dashboard-filter{min-width:210px;margin:0}.dashboard-filter select{margin-top:5px}.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px}.dashboard-stats .stat:nth-child(4){border-left:0}.dashboard-stats .stat:nth-child(n+4){border-top:1px solid var(--line)}.dashboard-stats strong{font-size:32px}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.dashboard-panel{min-width:0}.dashboard-panel h2{font-size:16px;margin-bottom:8px}.dashboard-panel>.muted{margin-bottom:18px}.dashboard-wide{grid-column:1/-1}.dashboard-table{overflow:auto;margin:18px -12px 0}.dashboard-table td,.dashboard-table th{padding:13px 12px;white-space:normal;min-width:85px}.dashboard-table .text-button{line-height:1.6}.matrix{display:grid;grid-template-columns:62px repeat(3,minmax(0,1fr));gap:7px;margin:10px 0 18px}.matrix>strong{display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500}.matrix-cell{min-height:105px;padding:10px;border:1px solid var(--line);border-radius:7px;overflow-wrap:anywhere;display:flex;flex-direction:column;align-items:flex-start;gap:3px}.matrix-low{background:var(--surface-soft)}.matrix-medium{background:var(--surface-soft)}.matrix-high{background:var(--surface-soft)}.matrix-count{font-size:20px;color:var(--text-secondary)}.matrix .text-button{font-size:12px;max-width:100%;white-space:normal}.matrix-caption{font-size:12px;color:var(--muted)}.pipeline-summary{margin-top:24px}.pipeline-summary>div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.pipeline-summary small{color:var(--muted)}.composition{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:25px 0}.composition strong{font-size:24px;display:block}.composition span{font-size:12px;color:var(--muted)}.integration-empty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;padding:25px;color:var(--muted);background:var(--surface-soft);border-radius:8px;margin-top:20px}.integration-empty>.icon{width:30px;height:30px}.integration-empty h3{font-size:14px}.integration-empty p{font-size:14px;line-height:1.9;max-width:450px}.monthly-chart{display:flex;gap:20px;overflow:auto;min-height:170px;align-items:flex-end;padding:16px 0;border-bottom:1px solid var(--line)}.month-column{text-align:center;min-width:68px}.month-bars{height:125px;display:flex;gap:5px;align-items:flex-end;justify-content:center}.month-bars span{width:25px;color:white;font-size:12px;border-radius:3px 3px 0 0;min-height:16px}.intake-bar{background:var(--text-secondary)}.approval-bar{background:var(--text-secondary)}.month-column small{font-size:12px;display:block;margin-top:10px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-grid label{min-width:0}@media(max-width:1100px){.dashboard-grid{grid-template-columns:1fr}.dashboard-wide{grid-column:auto}}@media(max-width:600px){.dashboard-stats{grid-template-columns:1fr 1fr}.dashboard-stats .stat:nth-child(odd){border-left:0}.dashboard-stats .stat:nth-child(even){border-left:1px solid var(--line)}.dashboard-stats .stat:nth-child(n+3){border-top:1px solid var(--line)}.dashboard-filters{flex-direction:column}.dashboard-filter{min-width:0}.matrix{grid-template-columns:42px repeat(3,minmax(0,1fr));gap:4px}.matrix-cell{padding:7px;min-height:88px}.form-grid{grid-template-columns:1fr}.dashboard-stats strong{font-size:24px}}
.month-bars svg{width:68px;height:140px;overflow:visible}.month-bars .intake-bar{fill:var(--text-secondary)}.month-bars .approval-bar{fill:var(--text-secondary)}.month-bars text{font-size:12px;fill:var(--text-secondary)}.pipeline-visual{display:flex;gap:22px;align-items:center}.pipeline-summary{flex:1}.pipeline-donut{width:140px;max-width:40%;flex-shrink:0}.pipeline-donut text{font-size:24px;fill:var(--text-secondary)}.roi-bar{width:100px;height:8px;display:block;margin-top:6px;fill:var(--text-secondary)}.department-chart{margin:25px 0}.department-row{display:flex;align-items:center;gap:12px;margin:15px 0;font-size:12px}.department-row>span{width:110px;flex-shrink:0;overflow-wrap:anywhere}.department-row>svg{flex:1;min-width:0;max-height:25px}.department-row>strong{width:25px}.department-row text{font-size:14px}.roi-value{white-space:nowrap}
.connector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px}.connector-actions{display:flex;gap:12px;margin-top:20px}.burnup-chart{width:100%;overflow:auto;margin-top:22px}.burnup-chart svg{width:100%;min-width:300px}.burnup-chart text{font-size:14px;fill:var(--muted)}.connector-grid .panel{min-width:0}.connector-grid .note{overflow-wrap:anywhere}@media(max-width:900px){.connector-grid{grid-template-columns:1fr}}
/* Aizu brand: charcoal, burnished copper, warm paper. */
:root{--page:#f7f5f2;--surface:#ffffff;--surface-soft:#f3efea;--sidebar:#eee9e3;--text:#20242b;--text-secondary:#625a54;--muted:#756b63;--line:#ded6cd;--accent:#99502e;--accent-hover:#7c3e23;--accent-soft:#f7e8dc;--on-accent:#fff;--focus:#a75d36;--positive:#32674f;--positive-soft:#eaf3ed;--warning:#815722;--warning-soft:#faf0dc;--danger:#a3473d;--danger-soft:#f8e7e3;--purple-text:#715787;--purple-soft:#f0eaf5;--chart-scope:#b76d3e;--chart-complete:#35745b;--chart-blue:#47788b;--chart-muted:#a99c90;--green:var(--accent);--lime:#f3c397;--paper:var(--surface);--amber:var(--warning);color-scheme:light;color:var(--text);background:var(--page)}
:root[data-theme="dark"]{--page:#14171c;--surface:#1c2027;--surface-soft:#242830;--sidebar:#181b21;--text:#f2eee9;--text-secondary:#cec3b9;--muted:#b2a79d;--line:#3b3c40;--accent:#efb184;--accent-hover:#ffca9f;--accent-soft:#3b2c25;--on-accent:#261c16;--focus:#efb184;--positive:#91c5aa;--positive-soft:#21382d;--warning:#e5bc7c;--warning-soft:#3c3020;--danger:#e4a098;--danger-soft:#402a2a;--purple-text:#c4abd9;--purple-soft:#332a3e;--chart-scope:#efb184;--chart-complete:#83b59b;--chart-blue:#80adbf;--chart-muted:#91867e;color-scheme:dark}
body{background:var(--page);color:var(--text)}.sidebar{background:var(--sidebar);padding-top:28px}.topbar{background:var(--surface);border-bottom-color:var(--line)}.panel,.stat-grid,dialog,.search{background:var(--surface);border-color:var(--line)}h1,h2,h3{color:var(--text)}.muted,.private,.eyebrow,.nav-label{color:var(--muted)}.nav-item{color:var(--text-secondary)}.nav-item.active{background:var(--text);color:var(--surface);box-shadow:inset 3px 0 var(--accent)}.nav-item:not(.active):hover{background:var(--accent-soft);color:var(--text)}.nav-item .count{background:var(--accent-soft);color:var(--accent)}.primary{background:var(--accent);color:var(--on-accent)}.primary:hover{background:var(--accent-hover)}.secondary{background:var(--surface);color:var(--text);border-color:var(--line)}.secondary:hover,.icon-button:hover{background:var(--accent-soft)}.text-button{color:var(--accent)}.text-button:hover{color:var(--accent-hover)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:var(--focus)}input,textarea,select{background:var(--surface-soft);color:var(--text);border-color:var(--line)}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}label{color:var(--text-secondary)}input[type=checkbox]{accent-color:var(--accent)}.badge.amber,.callout,.gate-number{background:var(--warning-soft);color:var(--warning);border-color:var(--line)}.badge.green,.gate.resolved .gate-number,.evidence{background:var(--positive-soft);color:var(--positive)}.badge.purple{background:var(--purple-soft);color:var(--purple-text)}.badge.gray,.subtle-tag{background:var(--surface-soft);color:var(--text-secondary);border-color:var(--line)}.error,.micro-badge.risk{background:var(--danger-soft);color:var(--danger);border-color:var(--line)}.review-state.done,.check-list .done{color:var(--positive)}.callout p{color:var(--warning)}.note,.acceptance,.metric-actual,.integration-empty{background:var(--surface-soft);color:var(--text-secondary)}th{background:var(--surface-soft);color:var(--text-secondary)}td{color:var(--text-secondary)}.table-icon,.focus-icon,.activity-dot{background:var(--accent-soft);color:var(--accent);border-color:var(--line)}.avatar{background:var(--accent-soft);color:var(--accent);border-color:var(--surface);box-shadow:0 0 0 1px var(--line)}.tabs button.selected{color:var(--accent);border-color:var(--accent)}.filter-pills button{background:var(--surface-soft);color:var(--text-secondary)}.filter-pills button.active{background:var(--accent-soft);color:var(--accent)}.live-dot{background:var(--accent)}.roadmap-column{background:var(--surface-soft);border-color:var(--line)}.roadmap-column .column-heading i{background:var(--accent)}blockquote{background:var(--accent-soft);border-color:var(--accent);color:var(--text-secondary)}.matrix-low{background:var(--positive-soft)}.matrix-medium{background:var(--warning-soft)}.matrix-high{background:var(--danger-soft)}.matrix-count{color:var(--text)}.roi-bar{fill:var(--accent)}.month-bars .intake-bar{fill:var(--chart-blue)}.month-bars .approval-bar{fill:var(--chart-complete)}.month-bars text,.burnup-chart text{fill:var(--text-secondary)}#toast{background:var(--text);color:var(--surface)}dialog{box-shadow:0 24px 90px #0005}dialog::backdrop{background:#090c1180}footer{border-top:1px solid var(--line);padding-top:20px}footer>span{color:var(--muted)}.stat strong{font-weight:500;letter-spacing:0;font-variant-numeric:tabular-nums}.brand-home{display:flex;flex-direction:column;gap:12px;padding:0 14px 24px;border-bottom:1px solid var(--line);color:inherit}.brand-signature{display:flex;align-items:center;gap:11px}.brand-symbol{width:34px;height:30px;object-fit:contain;flex-shrink:0}.brand-name{width:124px;height:27px;object-fit:contain}.brand-tagline{font-size:12px;font-weight:600;letter-spacing:0;color:var(--accent);white-space:nowrap}.brand-dark{display:none}:root[data-theme="dark"] .brand-light{display:none}:root[data-theme="dark"] .brand-dark{display:block}.brand-home:hover .brand-name{opacity:.8}.workspace-label{margin-top:25px}.loading-brand{width:360px;max-width:75vw;height:auto}.theme-control{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin:0}.theme-control select{width:auto;margin:0;padding:7px 24px 7px 10px;font-size:12px;background:var(--surface-soft)}.top-right{gap:16px}.workspace-symbol{background:var(--surface);color:var(--accent)}.signout{color:var(--text-secondary)}.brand-home:focus-visible{outline-offset:6px}@media(max-width:900px){.brand-home{padding:0 0 22px;align-items:center}.brand-name,.brand-tagline{display:none!important}.brand-symbol{width:36px;height:34px}.theme-label{display:none}}@media(max-width:600px){.brand-symbol{width:30px;height:29px}.top-right{gap:8px}.theme-control select{font-size:12px;max-width:84px;padding:6px}.breadcrumb{max-width:120px}.topbar{padding:0 6px}.brand-home{padding-bottom:20px}}

/* Compact appearance controls and explicit, persistent navigation states. */
.workspace-location{display:flex;align-items:center;gap:12px;min-width:0}.workspace-location .breadcrumb{min-width:0}.nav-toggle{flex-shrink:0;min-width:36px;min-height:36px;align-items:center;justify-content:center;color:var(--text-secondary)}
.theme-options{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.theme-option{display:flex;align-items:center;justify-content:center;gap:5px;min-width:32px;min-height:30px;padding:5px 7px;border-radius:5px;background:transparent;color:var(--muted);font-size:12px;line-height:1}.theme-option .icon{width:16px;height:16px}.theme-option:hover{background:var(--accent-soft);color:var(--accent)}.theme-option.selected{background:var(--surface);color:var(--accent);box-shadow:0 1px 3px #0002}.nav-backdrop{display:none}
:root[data-sidebar="expanded"] .sidebar{width:234px}:root[data-sidebar="expanded"] .main-shell{margin-left:234px}
:root[data-sidebar="collapsed"] .sidebar{width:76px;padding:25px 10px;overflow-y:auto}:root[data-sidebar="collapsed"] .main-shell{margin-left:76px}:root[data-sidebar="collapsed"] .brand-home{padding:0 0 22px;align-items:center}:root[data-sidebar="collapsed"] .brand-name,:root[data-sidebar="collapsed"] .brand-tagline{display:none!important}:root[data-sidebar="collapsed"] .brand-symbol{width:36px;height:34px}
:root[data-sidebar="collapsed"] .workspace-label,:root[data-sidebar="collapsed"] .nav-label,:root[data-sidebar="collapsed"] .nav-text,:root[data-sidebar="collapsed"] .nav-item .count,:root[data-sidebar="collapsed"] .sidebar-bottom .pilot,:root[data-sidebar="collapsed"] .sidebar-bottom p,:root[data-sidebar="collapsed"] .signout-text{display:none}:root[data-sidebar="collapsed"] .sidebar nav{margin-top:20px}:root[data-sidebar="collapsed"] .nav-item{justify-content:center;padding:13px 8px;margin:0 0 6px;font-size:0}:root[data-sidebar="collapsed"] .nav-item .icon{width:21px;height:21px}:root[data-sidebar="collapsed"] .sidebar-bottom{display:block;padding:12px 0 0}:root[data-sidebar="collapsed"] .signout{justify-content:center;margin-top:0;padding-top:16px}
@media(max-width:900px){:root[data-sidebar="expanded"] .sidebar{padding:25px 18px;z-index:40;box-shadow:12px 0 40px #0003;overflow-y:auto}:root[data-sidebar="expanded"] .main-shell{margin-left:76px}:root[data-sidebar="expanded"] .workspace-label{display:flex}:root[data-sidebar="expanded"] .nav-label,:root[data-sidebar="expanded"] .sidebar-bottom{display:block}:root[data-sidebar="expanded"] .sidebar nav{margin-top:0}:root[data-sidebar="expanded"] .nav-item{font-size:14px;justify-content:flex-start;padding:13px 14px;margin:0 0 5px}:root[data-sidebar="expanded"] .nav-item .count{display:inline-block}:root[data-sidebar="expanded"] .brand-home{padding:0 14px 24px;align-items:flex-start}:root[data-sidebar="expanded"] .brand-name.brand-light{display:block!important}:root[data-sidebar="expanded"] .brand-name.brand-dark{display:none!important}:root[data-theme="dark"][data-sidebar="expanded"] .brand-name.brand-light{display:none!important}:root[data-theme="dark"][data-sidebar="expanded"] .brand-name.brand-dark{display:block!important}:root[data-sidebar="expanded"] .brand-tagline{display:block!important}:root[data-sidebar="expanded"] .nav-backdrop{display:block;position:fixed;inset:0 0 0 234px;background:#090c1159;z-index:35}:root[data-sidebar="expanded"] .nav-toggle{position:relative;z-index:45;background:var(--surface);box-shadow:0 1px 4px #0003}}
@media(max-width:600px){.workspace-location{gap:4px}.top-right{gap:6px}.nav-toggle{min-width:32px;min-height:36px}.theme-option{min-width:30px;min-height:32px;padding:5px}.theme-options{padding:2px}.theme-option span{font-size:12px}.topbar .breadcrumb{max-width:110px}.topbar .breadcrumb>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .breadcrumb{font-size:0;gap:0}.topbar .breadcrumb>.icon{display:none}.topbar .breadcrumb>strong{font-size:12px}:root[data-sidebar="collapsed"] .sidebar{width:61px;padding:21px 6px}:root[data-sidebar="collapsed"] .main-shell,:root[data-sidebar="expanded"] .main-shell{margin-left:61px}:root[data-sidebar="collapsed"] .brand-symbol{width:30px;height:29px}:root[data-sidebar="collapsed"] .nav-item .icon{width:19px;height:19px}.nav-item{min-height:42px}}
@media(prefers-reduced-motion:no-preference){.sidebar{transition:width .16s ease}.main-shell{transition:margin-left .16s ease}}

/* Workspace administration */
.settings-layout{display:grid;grid-template-columns:165px minmax(0,1fr);gap:24px;align-items:start}.settings-tabs{display:flex;flex-direction:column;gap:5px;position:sticky;top:20px}.settings-tabs button{background:transparent;color:var(--text-secondary);padding:12px 14px;border-radius:7px;text-align:left;font-size:14px}.settings-tabs button.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.settings-content{min-width:0}.settings-content .panel>h2{margin:10px 0 20px}.settings-form{max-width:700px}.settings-form fieldset{border:0;padding:0;margin:0 0 22px;min-width:0}.settings-form fieldset:disabled{opacity:.7}.settings-table{max-width:100%;overflow:auto;margin-top:22px}.settings-row{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line);gap:20px}.settings-row:last-child{border:0}.settings-row p{margin-top:6px}.settings-row>div:last-child{flex-shrink:0}.settings-row .text-button+.text-button{margin-left:15px}.workspace-logo{width:100%;height:100%;object-fit:contain;border-radius:6px}.workspace-logo-preview{padding:15px;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;margin-top:20px;display:inline-flex}.workspace-logo-preview>img{width:72px;height:72px;object-fit:contain}.danger-text{color:var(--danger)}.workspace-label>div{min-width:0;overflow-wrap:anywhere}.settings-content .connector-grid{grid-template-columns:1fr}.settings-content .page-heading{margin-top:0}.settings-content .note{overflow-wrap:anywhere}.settings-content .settings-table table td small{display:block;margin-top:6px}.settings-content .settings-table table{white-space:normal}.settings-content .settings-table td{min-width:100px}.settings-content .settings-table th:first-child{min-width:180px}.settings-tabs button:hover{background:var(--surface-soft)}@media(max-width:900px){.settings-layout{grid-template-columns:1fr}.settings-tabs{flex-direction:row;overflow-x:auto;position:static;padding-bottom:8px;gap:3px}.settings-tabs button{white-space:nowrap;padding:10px 12px}.settings-content .section-heading{align-items:flex-start}}@media(max-width:600px){.settings-row{align-items:flex-start}.settings-layout{gap:12px}.settings-row .text-button+.text-button{margin-left:8px}}

/* Outcomes: objectives first, then key results, then KPI evidence. */
.okr-list{display:grid;gap:18px}.okr-objective-summary,.okr-kr-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px 28px}.okr-title{min-width:0;overflow-wrap:anywhere}.okr-title h3{margin:7px 0 10px;font-size:16px}.okr-title h3 button{font-size:inherit;text-align:left;font-weight:600;line-height:1.45;padding:0}.okr-title .muted{font-size:14px;line-height:1.6}.okr-title .subtle-tag{display:inline-block;margin-top:10px;white-space:normal}.okr-counts,.okr-actions,.okr-detail-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.okr-count{display:flex;gap:8px;align-items:center;min-width:125px;min-height:58px;padding:12px 16px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--text);text-align:left}.okr-count:hover{border-color:var(--text-secondary)}.okr-count strong{font-size:24px;font-weight:500}.okr-count span{font-size:14px;color:var(--text-secondary)}.okr-count .icon{width:15px;margin-left:auto}.okr-objective-summary>.okr-actions,.okr-kr-summary>.okr-actions{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px;gap:20px}.okr-actions .text-button{font-size:14px}.okr-breadcrumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:22px;font-size:14px;color:var(--muted);overflow-wrap:anywhere}.okr-breadcrumb button{font-size:14px;text-align:left}.okr-breadcrumb [aria-current]{color:var(--text)}.okr-success{margin:8px 0;line-height:1.6;font-size:14px}.okr-section-label{font-size:14px;margin:0 0 16px}.okr-kpi-group{min-width:0}.okr-measures{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:18px}.okr-kpi-detail{min-width:0;overflow-wrap:anywhere}.okr-kpi-detail .section-heading{align-items:flex-start;gap:16px}.okr-kpi-detail .okr-title h3{margin-bottom:0}.okr-measure-facts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0}.okr-measure-facts>div:last-child{grid-column:1/-1}.okr-datum{min-width:0;overflow-wrap:anywhere}.okr-datum dt{font-size:12px;letter-spacing:0;color:var(--muted);margin-bottom:7px}.okr-datum dd{margin:0;font-size:14px;line-height:1.6;white-space:pre-wrap}.okr-evidence{padding:16px;background:var(--surface-soft);border-radius:8px}.okr-evidence>p:not(.eyebrow){margin:10px 0;line-height:1.7;white-space:pre-wrap}.okr-detail-actions{justify-content:space-between;margin-top:20px}.okr-kpi-group>.section-heading{gap:16px}.okr-kpi-group>.section-heading h3{margin-top:6px}.okr-kpi-group>.section-heading h3 button{font-size:16px;text-align:left}
@media(max-width:850px){.okr-objective-summary,.okr-kr-summary{grid-template-columns:1fr}.okr-counts{gap:10px}.okr-count{flex:1}.okr-kr-summary>.okr-count{justify-self:start}.okr-measures{grid-template-columns:1fr}}
@media(max-width:500px){.okr-count{min-width:110px;padding:10px}.okr-kpi-detail .section-heading{flex-direction:column}.okr-detail-actions{align-items:flex-start;gap:12px}.okr-breadcrumb{gap:7px}}

/* In-place editing */
.inline-edit-hidden{display:none!important}.has-inline-editor{display:block!important}.inline-editor{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:22px;margin:0 0 20px}.has-inline-editor>.inline-editor{padding:0;border:0;margin:0}.inline-editor-heading{margin-bottom:20px}.inline-editor-heading h3{margin-top:8px;font-size:20px}.inline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;align-items:start}.inline-fields>p,.inline-fields>h3,.inline-fields>.form-grid,.inline-fields>.note,.inline-fields>.body-text,.inline-fields>label:has(textarea),.inline-fields>.checkbox{grid-column:1/-1}.inline-fields label{min-width:0}.inline-fields input,.inline-fields select,.inline-fields textarea{width:100%;min-width:0}.inline-fields input[type=checkbox]{width:auto}.inline-editor-actions{display:flex;align-items:center;gap:12px;margin-top:20px}.inline-editor .form-error{margin:12px 0}.inline-editor .form-grid{width:100%}.settings-table .inline-editor{white-space:normal}.inline-editor .note{overflow-wrap:anywhere}@media(max-width:700px){.inline-fields{grid-template-columns:1fr}.inline-editor{padding:16px}.inline-editor-actions{flex-wrap:wrap}}

/* Five-point company ratings */
.rating-field{min-width:0;margin:0 0 20px;padding:0;border:0}.rating-field legend{font-size:14px;font-weight:600;margin-bottom:12px}.rating-choices{display:flex;gap:7px;align-items:center}.rating-field .rating-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:40px;min-height:56px;margin:0;cursor:pointer}.rating-input{accent-color:var(--accent)}.rating-choice .rating-input{position:absolute;width:1px!important;height:1px;opacity:0;overflow:hidden}.rating-dot{display:block;width:22px;height:22px;border:2px solid var(--text-secondary);border-radius:50%;background:var(--surface)}.rating-choice.filled .rating-dot{background:var(--accent);border-color:var(--accent)}.rating-choice:has(input:checked) .rating-dot{outline:2px solid var(--text);outline-offset:3px}.rating-choice:has(input:focus-visible){outline:3px solid var(--text-secondary);outline-offset:3px;border-radius:6px}.rating-number{font-size:12px;color:var(--text-secondary)}.rating-endpoints{display:flex;justify-content:space-between;max-width:235px;font-size:12px;color:var(--muted);margin-top:5px}.rating-selected{font-size:14px;font-weight:600;margin-top:12px}.rating-help{font-size:14px;color:var(--muted);line-height:1.6;margin-top:6px;overflow-wrap:anywhere}.rating-field .rating-unassessed{display:flex;flex-direction:row;gap:8px;align-items:center;font-size:12px;margin:10px 0 0}.rating-unassessed input{width:auto!important}.rating-display{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;font-weight:400}.rating-display-dots{display:inline-flex;gap:3px}.rating-display-dots i{width:8px;height:8px;border:1px solid var(--text-secondary);border-radius:50%;display:block}.rating-display-dots i.filled{background:var(--accent);border-color:var(--accent)}.rating-config-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:22px 0}.rating-config-tabs button{padding:10px 13px;background:var(--surface-soft);border:1px solid var(--line);color:var(--text);border-radius:6px}.rating-config-tabs button.selected{border-color:var(--text);font-weight:600}.rating-definition-list{display:grid;gap:20px;margin-top:20px}.rating-definition{display:grid;grid-template-columns:50px minmax(120px,.65fr) minmax(180px,1.5fr);gap:16px;align-items:start;border-bottom:1px solid var(--line);padding-bottom:12px}.rating-definition-score{font-size:24px;padding-top:22px}.rating-definition-score span{font-size:12px;color:var(--muted);margin-left:4px}.rating-definition label{min-width:0}.rating-definition textarea{min-height:80px}.settings-content .settings-form:has(.rating-definition-list){max-width:none}.matrix-scroll{max-width:100%;overflow-x:auto}.matrix-scroll .matrix{grid-template-columns:28px repeat(5,minmax(85px,1fr));gap:5px;min-width:480px}.matrix-scroll .matrix-cell{min-height:90px;padding:7px}.pipeline-summary{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.rating-definition{grid-template-columns:40px minmax(0,1fr)}.rating-definition>label:last-child{grid-column:2}.rating-choice{min-width:36px}.rating-choices{gap:4px}}


/* Horizontal dot ratings, matching the supplied row reference. */
.rating-line{display:flex;flex-flow:row nowrap;align-items:center;gap:12px;min-width:0}
.rating-line .rating-choices{display:inline-flex;flex-flow:row nowrap;gap:0;align-items:center;flex:0 0 auto}
.rating-field .rating-choice{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;min-width:24px;width:24px;min-height:32px;height:32px;gap:0;margin:0;padding:0}
.rating-line .rating-dot{width:16px;height:16px;border:0;background:var(--rating-dot-empty,#e4e7ec);border-radius:50%}
.rating-line .rating-choice.filled .rating-dot{background:#1b5cff;border:0}
.rating-line .rating-choice:has(input:checked) .rating-dot{outline:none}
.rating-line .rating-choice:has(input:focus-visible){outline:2px solid #1b5cff;outline-offset:1px}
.rating-line .rating-selected{display:block;margin:0;font-size:14px;font-weight:500;line-height:1.5;color:var(--text-secondary);min-width:0;overflow-wrap:anywhere}
.rating-field .rating-help{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rating-display{display:inline-flex;flex-flow:row nowrap;align-items:center;gap:12px}
.rating-display-dots{display:inline-flex;flex-flow:row nowrap;gap:6px;flex:0 0 auto}
.rating-display-dots i{display:block;width:12px;height:12px;border:0;border-radius:50%;background:var(--rating-dot-empty,#e4e7ec)}
.rating-display-dots i.filled{border:0;background:#1b5cff}
:root[data-theme="dark"]{--rating-dot-empty:#444c59}


/* Selected company meanings and matching edit/read-only dot geometry. */
.rating-line .rating-choice{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;flex:0 0 24px;min-width:24px;width:24px;min-height:32px;height:32px;gap:0;margin:0;padding:0}
.rating-display{max-width:100%;vertical-align:middle}
.rating-display .rating-choices{gap:0}
.rating-display .rating-dot{width:16px;height:16px}
.rating-line .rating-selected{white-space:normal;overflow-wrap:anywhere;line-height:1.6;flex:1 1 auto}


/* Meanings sit beneath horizontal dots in both edit and read-only ratings. */
.rating-display.rating-line,.rating-field .rating-line{flex-direction:column;align-items:flex-start;gap:3px}
.rating-line .rating-selected{flex:0 1 auto;max-width:260px;font-size:14px;line-height:1.5}
.rating-display{vertical-align:top}
.rating-pair{display:grid;grid-template-columns:repeat(2,minmax(120px,180px));gap:18px;max-width:100%;width:fit-content}
.rating-pair>div{min-width:0}.rating-pair-label{display:block;font-size:12px;letter-spacing:0;color:var(--muted);margin-bottom:3px}
.rating-pair .rating-display{width:100%}.rating-pair .rating-selected{max-width:100%}


/* Portfolio bubble matrices */
.bubble-chart{min-width:0;margin-top:14px}.bubble-chart-scroll{max-width:100%;overflow-x:auto}.bubble-svg{display:block;width:100%;height:auto;min-width:300px;overflow:visible}
.bubble-zone{stroke:var(--surface);stroke-width:1}.zone-quick,.risk-zone-low{fill:var(--positive-soft)}.zone-strategic{fill:var(--accent-soft)}.zone-nice{fill:var(--surface-soft)}.zone-consider,.risk-zone-medium{fill:var(--warning-soft)}.risk-zone-high{fill:var(--danger-soft)}
.bubble-frame{fill:none;stroke:var(--line);stroke-width:1.5}.bubble-midline{stroke:var(--text-secondary);stroke-width:1;stroke-dasharray:5 5;opacity:.45}.bubble-quadrants{font-size:12px;font-weight:600;letter-spacing:0;fill:var(--muted);pointer-events:none}.bubble-tick{font-size:14px;fill:var(--text-secondary)}.bubble-axis{font-size:14px;font-weight:600;letter-spacing:0;fill:var(--text-secondary)}.bubble-empty{font-size:14px;fill:var(--muted)}
.matrix-bubble{cursor:pointer;outline:none}.bubble-hit{fill:transparent;stroke:none;pointer-events:all}.bubble-dot{fill:#447cec;fill-opacity:.82;stroke:var(--surface);stroke-width:2}.bubble-quick .bubble-dot,.bubble-low .bubble-dot{fill:#278967}.bubble-strategic .bubble-dot{fill:#447cec}.bubble-nice .bubble-dot,.bubble-middle .bubble-dot{fill:#8491a5}.bubble-consider .bubble-dot,.bubble-medium .bubble-dot{fill:#d99022}.bubble-high .bubble-dot{fill:#cd5353}.bubble-unknown .bubble-dot{fill:var(--surface);fill-opacity:.7;stroke:var(--text-secondary);stroke-dasharray:3 2}.bubble-focus{fill:none;stroke:var(--text);stroke-width:2;opacity:0;pointer-events:none}.matrix-bubble:hover .bubble-focus,.matrix-bubble:focus .bubble-focus{opacity:1}
.bubble-tooltip{min-height:78px;white-space:pre-line;overflow-wrap:anywhere;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);font-size:14px;line-height:1.6;color:var(--text);margin:2px 0 10px}.bubble-legend{font-size:12px;line-height:1.7;color:var(--muted)}.bubble-data{margin-top:14px;font-size:14px}.bubble-data>summary{cursor:pointer;color:var(--text-secondary);padding:8px 0}.bubble-data .dashboard-table{max-width:100%;overflow:auto}.bubble-data td{white-space:normal}


/* Reference-style scored risk heatmap; company-configured axis labels. */
.risk-heatmap .bubble-zone{stroke:var(--surface);stroke-width:5}
.risk-heatmap .risk-band-minimal{fill:#2bc970}.risk-heatmap .risk-band-low{fill:#83dfad}.risk-heatmap .risk-band-guarded{fill:#f8cf48}.risk-heatmap .risk-band-elevated{fill:#f7ad53}.risk-heatmap .risk-band-significant{fill:#ef8935}.risk-heatmap .risk-band-major{fill:#f77b81}.risk-heatmap .risk-band-severe{fill:#f65c68}.risk-heatmap .risk-band-critical{fill:#ef3546}
.risk-cell-score{fill:#171b21;font-size:20px;font-weight:600;pointer-events:none}.risk-axis-number{fill:var(--text);font-size:20px;font-weight:600}.risk-axis-meaning{fill:var(--text-secondary);font-size:12px}.risk-axis-title{font-size:14px;letter-spacing:0}
.risk-heatmap .bubble-dot{fill:#203654;fill-opacity:.92;stroke:#fff;stroke-width:2}.risk-heatmap .bubble-unknown .bubble-dot{fill:#fff;fill-opacity:.8;stroke:#203654}.risk-heatmap .bubble-focus{stroke:#111827}


/* Native work planning */
.work-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:20px 0}.work-filters label{min-width:135px;flex:1;margin:0}.work-filters .work-search{min-width:180px;flex:1.5}.work-filters input,.work-filters select{margin-bottom:0}.work-table{overflow:auto}.work-table table{min-width:850px}.work-tree{display:flex;flex-direction:column;gap:5px;min-width:180px}.work-tree strong button{font-weight:600;text-align:left;white-space:normal}.work-tree.depth-1{padding-left:20px}.work-tree.depth-2{padding-left:40px}.work-tree.depth-3{padding-left:60px}.work-type{font-size:12px;color:var(--muted);text-transform:none;letter-spacing:0}.work-board-note{margin:16px 0}.work-board{display:grid;grid-template-columns:repeat(5,minmax(230px,1fr));gap:14px;overflow-x:auto;padding-bottom:16px;align-items:start}.work-column{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;min-height:280px}.work-column>header{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--line)}.work-column h2{font-size:14px}.work-cards{padding:10px;display:grid;gap:10px}.work-card{padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);min-width:0;overflow-wrap:anywhere}.work-card[draggable=true]{cursor:grab}.work-card h3{margin:10px 0}.work-card h3 button{text-align:left;white-space:normal;font-weight:600;font-size:14px}.work-card>.muted,.work-card-context{font-size:12px;margin:8px 0}.work-card .rating-selected{max-width:180px;font-size:12px}.work-card-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:flex-end;border-top:1px solid var(--line);padding-top:10px;margin-top:12px}.work-card-actions label{flex:1;min-width:125px;margin:0;font-size:12px}.work-card-actions select{font-size:12px;padding:7px}.work-card-actions .secondary{font-size:12px;padding:8px}.work-column-empty{font-size:12px;color:var(--muted);padding:5px}.work-blocked{color:var(--danger);font-size:14px;line-height:1.6}.work-detail{min-width:0}.work-detail h1{font-size:24px;overflow-wrap:anywhere}.work-detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.work-detail-facts>div{min-width:0;display:flex;flex-direction:column;gap:7px}.work-detail-facts small{font-size:12px;color:var(--muted);letter-spacing:0}.work-detail-facts strong{font-size:14px;font-weight:500}.work-detail>h3{margin-top:24px}.work-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;margin:12px 0}.work-comments{margin:20px 0}.work-comments article{border-bottom:1px solid var(--line);padding:10px 0}.work-comments>p{font-size:14px}.work-sprints{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px}.work-sprint-stats{display:flex;flex-direction:column;gap:8px;font-size:14px;margin:18px 0}.work-sprints progress{width:100%;height:10px;accent-color:var(--accent)}.work-sprints .muted{font-size:14px;line-height:1.7;margin:10px 0}.work-sprints .okr-actions{margin-top:16px;justify-content:flex-start}.inline-fields>[data-work-parent]{min-width:0}.inline-fields [hidden]{display:none!important}.work-card.has-inline-editor{grid-column:1/-1;cursor:default}
@media(max-width:700px){.work-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.work-filters{gap:10px}.work-filters label{min-width:140px}.work-detail h1{font-size:24px}.work-board{grid-template-columns:repeat(5,240px)}}

/* Supplied Aizu artwork: AIZU logo in the expanded header, A icon on the collapsed rail and compact screens */
.brand-symbol{display:none}.brand-name{width:148px;height:28px}:root[data-sidebar="collapsed"] .brand-symbol{display:block}@media(max-width:900px){.brand-symbol{display:block}:root[data-sidebar="expanded"] .brand-symbol{display:none}:root[data-sidebar="expanded"] .brand-name{display:block!important}}


/* Release pill: deployed commit, left of Appearance; hidden on phones to keep the top bar uncluttered */
.release-pill{display:inline-flex;align-items:center;padding:3px 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft);color:var(--text-secondary);font:500 12px/1.4 var(--font-ui);letter-spacing:0;text-decoration:none;white-space:nowrap}.release-pill:hover{color:var(--accent);border-color:var(--accent)}.release-pill:focus-visible{outline:2px solid var(--focus);outline-offset:2px}@media(max-width:600px){.release-pill{display:none}}
/* Sign-in, workspace setup and organization switching (ADR-0010) */
.auth-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 16px;gap:18px;background:var(--page)}
.auth-card{width:min(440px,100%);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:32px 28px;display:flex;flex-direction:column;gap:14px}
.auth-card .loading-logo{align-self:flex-start;max-width:120px}.auth-card .loading-brand{width:180px;height:auto}
.auth-card h1{font-size:24px;line-height:1.25;margin:6px 0 0}.auth-card h2{font-size:16px;margin:0}
.auth-card .muted{font-size:14px;line-height:1.6;margin:0}
.auth-form{display:flex;flex-direction:column;gap:2px}.auth-form label{margin:10px 0}
.auth-form .primary,.auth-actions .primary{width:100%;justify-content:center;padding:12px 16px;font-size:14px}
.auth-actions{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.button-link{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:12px 16px;font-size:14px;font-weight:500;text-decoration:none;background:var(--accent);color:var(--on-accent)}
.auth-aside{font-size:14px;color:var(--muted);text-align:center;max-width:440px}
.auth-aside .text-button{font-size:14px;padding:0}
.auth-note{font-size:14px!important}
.auth-divider{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);margin:6px 0}.auth-divider::before,.auth-divider::after{content:"";flex:1;border-top:1px solid var(--line)}
.claim-card{border:1px solid var(--accent);background:var(--accent-soft);border-radius:var(--radius);padding:18px}
.address-field{display:flex;align-items:stretch;margin-top:8px}.address-field input{margin:0;border-radius:6px 0 0 6px;min-width:0}
.address-field span{display:flex;align-items:center;padding:0 12px;border:1px solid var(--line);border-left:0;border-radius:0 6px 6px 0;background:var(--surface);color:var(--muted);font-size:14px;white-space:nowrap}
.audience{border:0;padding:0;margin:4px 0;display:grid;gap:8px}.audience legend{font-size:12px;color:var(--muted);font-weight:500;margin-bottom:8px}
.audience .choice{display:flex;align-items:flex-start;gap:12px;margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.audience .choice:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}
.audience .choice input{width:auto;margin:3px 0 0}.audience .choice span{display:flex;flex-direction:column;gap:2px}
.audience strong{font-size:14px;color:var(--text)}.audience small{font-size:12px;color:var(--muted);line-height:1.5}
.workspace-picker{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.workspace-choice{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}
.workspace-choice:hover,.workspace-choice:focus-visible{border-color:var(--accent)}
.workspace-choice>span:nth-child(2){flex:1;display:flex;flex-direction:column}.workspace-choice small{font-size:12px;color:var(--muted);text-transform:capitalize}
.clerk-mount{min-height:120px}
.plan-badge{font-size:12px;font-weight:600;letter-spacing:0;color:var(--accent);background:var(--accent-soft);border-radius:999px;padding:4px 10px;white-space:nowrap}
.clerk-org,.clerk-user{display:flex;align-items:center}
@media (max-width:600px){.top-right .plan-badge{display:none}}
/* Settings › SSO */
.sso-summary-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px}
.sso-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;border-radius:999px;padding:4px 10px;white-space:nowrap}
.sso-status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.sso-status.active{color:var(--positive);background:var(--positive-soft)}.sso-status.pending{color:var(--warning);background:var(--warning-soft)}.sso-status.neutral{color:var(--muted);background:var(--surface-soft)}
.sso-steps{list-style:none;padding:0;margin:18px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;counter-reset:none}
.sso-steps li{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted);padding:10px 12px;border:1px solid var(--line);border-radius:8px}
.sso-steps li span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600;background:var(--surface-soft);flex:none}
.sso-steps li.current{border-color:var(--accent);color:var(--text)}.sso-steps li.current span{background:var(--accent);color:var(--on-accent)}
.sso-steps li.done{color:var(--text-secondary)}.sso-steps li.done span{background:var(--positive-soft);color:var(--positive)}
@media (max-width:700px){.sso-steps{grid-template-columns:1fr}}
.dns-record,.sp-details{margin-top:10px;display:grid;gap:6px}
.sp-details{margin:4px 0 14px;padding:14px;border-radius:8px;background:var(--surface-soft)}
.copy-row{display:grid;grid-template-columns:minmax(80px,auto) 1fr auto;align-items:center;gap:10px;font-size:12px}
.copy-label{color:var(--muted)}.copy-row code{font-size:12px;overflow-wrap:anywhere;background:var(--surface);border:1px solid var(--line);border-radius:5px;padding:5px 8px;color:var(--text)}
@media (max-width:600px){.copy-row{grid-template-columns:1fr auto}.copy-label{grid-column:1/-1}}
.inline-add{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-top:14px}.inline-add label{flex:1;min-width:200px;margin:0}.inline-add .form-error{flex-basis:100%}
.segmented{display:flex;gap:0;border:1px solid var(--line);border-radius:8px;padding:3px;margin:14px 0 4px;width:fit-content;max-width:100%;flex-wrap:wrap}
.segmented label{display:flex;align-items:center;gap:6px;margin:0;padding:6px 12px;border-radius:6px;font-size:14px;cursor:pointer}
.segmented input{position:absolute;opacity:0;width:1px;height:1px}
.segmented label:has(input:checked){background:var(--accent-soft);color:var(--accent);font-weight:600}
.segmented label:has(input:focus-visible){outline:2px solid var(--focus);outline-offset:1px}
.sso-idp-form .wide{grid-column:1/-1}
.row-actions{text-align:right;white-space:nowrap}
.sso-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:6px 0 4px}
.sso-steps li.done{border-color:var(--positive-soft)}.sso-steps li span svg{width:12px;height:12px}
/* Aizu's card already titles the page; hide the repeated heading inside Clerk's form. */
.clerk-mount .cl-header{display:none!important}
/* Platform console (ADR-0011) */
.button-link.secondary{background:var(--surface);color:var(--text-secondary);border:1px solid var(--line)}
.admin-shell{min-height:100vh;background:var(--page);display:flex;flex-direction:column}
.admin-top{display:flex;align-items:center;gap:24px;padding:14px 28px;border-bottom:1px solid var(--line);background:var(--surface);flex-wrap:wrap}
.admin-brand{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--muted)}
.admin-logo{width:92px;height:auto}
.admin-tabs{display:flex;gap:4px;flex:1}
.admin-tabs button{white-space:nowrap;background:none;border:0;padding:8px 12px;border-radius:6px;font-size:14px;color:var(--text-secondary);cursor:pointer}
.admin-tabs button.active{background:var(--accent-soft);color:var(--accent);font-weight:600}
.admin-user{display:flex;align-items:center;gap:12px;font-size:14px}
.admin-main{padding:28px;max-width:1280px;width:100%;margin:0 auto;display:flex;flex-direction:column;gap:20px}
.admin-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.admin-stats div{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;display:flex;flex-direction:column;gap:6px}
.admin-stats span{font-size:12px;color:var(--muted)}.admin-stats strong{font-size:24px;font-weight:600}
.admin-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}.admin-filters label{margin:0;min-width:180px}.admin-filters label:first-child{flex:1;min-width:240px}
.admin-row{cursor:pointer}.admin-row:hover td,.admin-row:focus-visible td{background:var(--surface-soft)}
.admin-row td small{display:block;margin-top:2px}
.plan-badge.plan-free{color:var(--muted);background:var(--surface-soft)}
.admin-back{align-self:flex-start;padding:0}
.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.admin-actions{display:flex;flex-direction:column;gap:20px}
.admin-grid h2{font-size:16px;margin:0 0 12px}
.admin-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;margin:0}
.admin-facts div{display:flex;flex-direction:column;gap:4px}.admin-facts dt{font-size:12px;color:var(--muted)}.admin-facts dd{margin:0;font-size:14px;overflow-wrap:anywhere}
.admin-facts dd small{display:block;margin-top:4px}
.admin-list{list-style:none;padding:0;margin:0;display:grid;gap:10px;font-size:14px}.admin-list li{display:flex;flex-direction:column;gap:2px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.admin-list li:last-child{border-bottom:0;padding-bottom:0}.admin-list small{font-size:12px}
.admin-danger{border-color:var(--danger-soft)}
.danger-button{background:var(--danger);color:#fff;border:0;border-radius:7px;padding:11px 15px;font-size:14px;font-weight:600;cursor:pointer}
.danger-button:disabled{opacity:.6;cursor:default}
.admin-steps{font-size:14px;line-height:1.7;padding-left:20px;margin:4px 0}
@media (max-width:900px){.admin-stats{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:1fr}.admin-facts{grid-template-columns:1fr}.admin-main{padding:18px 16px}.admin-top{padding:12px 16px}}

/* Prospects and Articles in the platform console (ADR-0012) */
.mkt-heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.mkt-heading-actions .primary.mkt-auto,.inline-editor-actions .primary,.mkt-inline-form .secondary{width:auto}
.admin-stats.mkt-stats-6{grid-template-columns:repeat(6,1fr)}
.admin-stats.mkt-stats-4{grid-template-columns:repeat(4,1fr)}
.mkt-h2{font-size:16px;margin:0 0 12px}
.mkt-h2-gap{font-size:16px;margin:26px 0 12px}
.mkt-small{font-size:14px;margin:12px 0 0}
.mkt-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
.mkt-form-grid .mkt-span,.mkt-form-grid .form-error{grid-column:1/-1}
.mkt-check{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}
.mkt-check input{width:auto}
.mkt-inline-form{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin-top:14px}
.mkt-inline-form label{flex:1;min-width:220px;margin:0}
.mkt-link{font-size:14px;color:var(--accent);padding:0}
.stage-badge,.article-status{display:inline-block;font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;background:var(--surface-soft);color:var(--text-secondary);white-space:nowrap}
.stage-qualified,.status-review{background:var(--warning-soft);color:var(--warning)}
.stage-opportunity,.status-scheduled{background:var(--purple-soft);color:var(--purple-text)}
.stage-customer,.status-published{background:var(--positive-soft);color:var(--positive)}
.stage-lost,.status-archived{background:var(--danger-soft);color:var(--danger)}
.mkt-timeline li{padding-left:12px;border-left:3px solid var(--line)}
.mkt-timeline .touch-signup,.mkt-timeline .touch-contact_form{border-left-color:var(--accent)}
.mkt-timeline .touch-workspace{border-left-color:var(--positive)}
.mkt-timeline .touch-call,.mkt-timeline .touch-meeting,.mkt-timeline .touch-demo{border-left-color:var(--purple-text)}
.mkt-quote{margin:6px 0;padding:8px 12px;background:var(--surface-soft);border-radius:6px;white-space:pre-wrap;font-size:14px}
.mkt-bulk{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;min-height:38px}
.mkt-check-col{width:34px}
.mkt-check-col input{width:16px;height:16px;cursor:pointer}
.mkt-token{border:1px solid var(--accent);background:var(--accent-soft);border-radius:var(--radius);padding:14px 16px;margin:12px 0;font-size:14px}
.mkt-token code{display:block;font-size:14px;padding:8px 10px;background:var(--surface);border-radius:6px;overflow-wrap:anywhere;user-select:all;margin:6px 0}
.mkt-token p{margin:4px 0}.mkt-token p code{display:inline;padding:1px 4px;margin:0}
.mkt-editor{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.mkt-editor-main{display:flex;flex-direction:column;gap:14px}
.mkt-editor-main label,.mkt-editor-side label{display:flex;flex-direction:column;gap:6px}
.mkt-editor-side{display:flex;flex-direction:column;gap:20px;position:sticky;top:12px}
.mkt-body{font:14px/1.65 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;min-height:520px;resize:vertical}
.mkt-prefix{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--surface)}
.mkt-prefix span{padding:0 4px 0 10px;font-size:14px;color:var(--muted)}
.mkt-prefix input{border:0;flex:1;min-width:0}
.mkt-checks{list-style:none;padding:0;margin:4px 0 0;display:grid;gap:6px;font-size:14px}
.mkt-checks .ok{color:var(--positive)}.mkt-checks .todo{color:var(--muted)}
.mkt-article{max-width:720px;font-size:14px;line-height:1.75}
.mkt-article h2{font-size:20px;margin:28px 0 10px}.mkt-article h3{font-size:16px;margin:22px 0 8px}
.mkt-article blockquote{margin:16px 0;padding:4px 16px;border-left:3px solid var(--accent);color:var(--text-secondary)}
.mkt-article table{border-collapse:collapse;width:100%;font-size:14px}.mkt-article th,.mkt-article td{border:1px solid var(--line);padding:6px 8px;text-align:left}
.mkt-article a{color:var(--accent);text-decoration:underline}
@media(max-width:1100px){.mkt-editor{grid-template-columns:1fr}.mkt-editor-side{position:static}.admin-stats.mkt-stats-6{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.admin-stats.mkt-stats-6,.admin-stats.mkt-stats-4{grid-template-columns:repeat(2,1fr)}.mkt-form-grid{grid-template-columns:1fr}}
.settings-table .mkt-articles td,.settings-table .mkt-articles th{min-width:64px}
.settings-table .mkt-articles .mkt-check-col{min-width:0;width:34px}
.settings-table .mkt-articles td:nth-child(2){min-width:260px}
.settings-table .mkt-articles td small{overflow-wrap:anywhere}
.mkt-form-grid label{margin:0}
.settings-table .mkt-articles td:nth-child(2),.settings-table .mkt-articles td:nth-child(3){white-space:normal}
.settings-table .mkt-articles td:nth-child(2){max-width:420px}
.mkt-h3{font-size:14px;margin:18px 0 0}
.error-text{color:var(--danger)}
.billing-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 20px;margin:12px 0 18px}
.billing-facts div{display:flex;flex-direction:column;gap:4px}.billing-facts dt{font-size:12px;color:var(--muted)}.billing-facts dd{margin:0;font-size:14px}
.billing-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.billing-actions .primary,.billing-actions .secondary{width:auto}
.billing-plan{border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px;width:100%}.billing-price{font-size:14px;margin:4px 0}.billing-price strong{font-size:24px}.connector-actions .subtle-tag{align-self:center}.billing-includes{margin:8px 0 0;padding-left:20px;font-size:14px;line-height:1.5}
@media(max-width:700px){.billing-facts{grid-template-columns:1fr}}
.activation{font-size:12px;font-weight:600;border-radius:999px;padding:3px 9px;white-space:nowrap;display:inline-block}
.activation-hot{background:#f6dccd;color:#99502e}.activation-warm{background:#f3ead2;color:#7a5d17}.activation-cold{background:var(--surface-soft);color:var(--muted)}
.mkt-scores{display:block;font-size:14px;color:var(--muted);margin:4px 0}

/* UX review: progressive information, consistent navigation and phone layouts. */
.account-control{position:relative}.account-control .avatar{cursor:pointer;color:var(--text);border:1px solid var(--line)}.account-menu{position:absolute;right:0;top:42px;min-width:220px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:8px;z-index:60;box-shadow:0 10px 30px #0003}.account-menu[hidden]{display:none}.account-menu p{margin-bottom:12px}.account-menu a,.account-menu button{display:block;padding:10px 0;font-size:14px;text-align:left}.workspace-location,.breadcrumb{min-width:0}.breadcrumb{white-space:nowrap;overflow:hidden}.breadcrumb strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-right{flex-shrink:0}.topbar{gap:12px}.private{white-space:nowrap}.page-heading{margin-bottom:24px;padding-top:8px}.page-heading h1{font-size:32px}.dashboard-filters{justify-content:flex-start;margin:0 0 20px}.dashboard-panel{content-visibility:visible;contain:none}.method-note{font-size:14px;color:var(--text-secondary);margin:8px 0 16px}.method-note summary,.portfolio-empty-modules>summary,.optional-chart>summary{cursor:pointer;padding:10px 0}.method-note p{margin:10px 0;line-height:1.6}.portfolio-setup{margin:20px 0}.portfolio-setup p{margin:12px 0;color:var(--text-secondary)}.portfolio-setup li{padding:6px 0}.portfolio-empty-modules{margin-top:24px}.portfolio-empty-modules .dashboard-panel{margin-top:16px}.dashboard-stats{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.connection-choices{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:20px}.connection-choices button{padding:24px;min-width:180px}.settings-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:24px}.settings-tabs{display:flex;flex-direction:column;overflow:visible;align-items:stretch;border:0;gap:4px;min-width:0}.settings-tabs button{text-align:left;white-space:normal;margin:0;padding:12px}.settings-group{font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;padding:14px 12px 6px;color:var(--text-secondary)}.settings-content{min-width:0}.identity-facts{display:grid;gap:16px;margin:18px 0;overflow-wrap:anywhere}.identity-facts p{line-height:1.7}.identity-facts small{color:var(--text-secondary)}.product-actions{position:relative;margin-left:auto}.product-actions summary{cursor:pointer;font-size:14px;padding:8px}.product-actions .danger-text{display:block;padding:12px;color:var(--danger)}.activity-filters{display:flex;gap:16px;flex-wrap:wrap;margin:20px 0}.activity-filters label{min-width:180px;flex:1}.activity-day{font-size:16px;margin:20px 0 8px}.activity-description summary{cursor:pointer;font-weight:400;line-height:1.6;font-size:14px;overflow-wrap:anywhere}.activity-description p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.activity-panel article>div{min-width:0}.activity-panel article strong{font-size:14px}.event-risk{color:var(--danger)}.event-measurement{color:var(--positive)}.event-created{color:var(--accent)}.event-assessment{color:var(--purple-text)}.signal-panel .panel-top{gap:16px}.signal-panel .eyebrow{letter-spacing:0;margin-bottom:10px}.signal-index{margin-right:8px}.subtle-tag,.micro-badge,.muted,small{opacity:1}.subtle-tag,.micro-badge{color:var(--text-secondary);font-size:14px}.bubble-unknown .bubble-dot{stroke-width:2.5}.rating-display-dots i.filled{background:var(--accent);border-color:var(--accent)}.bubble-strategic .bubble-dot,.bubble-dot{fill:var(--accent)}.optional-chart .bubble-svg{min-width:0}.work-table .empty{white-space:normal;overflow-wrap:anywhere}.work-filters input{min-width:0}.work-search input{width:100%}
:root[data-theme="light"] .nav-item.active{background:var(--accent-soft);color:var(--accent)}:root[data-theme="dark"]{--muted:#b5aba1;--text-secondary:#c4b9ae}
@media(max-width:900px){.topbar{flex-wrap:nowrap}.breadcrumb{max-width:clamp(100px,28vw,340px)}.topbar .private{display:none}.settings-layout{grid-template-columns:160px minmax(0,1fr);gap:16px}}
@media(max-width:800px){.table-panel table,.dashboard-table table,.settings-table table{display:block;min-width:0;width:100%}.table-panel thead,.dashboard-table thead,.settings-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.table-panel tbody,.dashboard-table tbody,.settings-table tbody{display:block}.table-panel tbody tr,.dashboard-table tbody tr,.settings-table tbody tr{display:block;padding:12px;border-bottom:1px solid var(--line)}.table-panel td,.dashboard-table td,.settings-table td{display:grid;grid-template-columns:minmax(90px,.4fr) minmax(0,1fr);gap:12px;padding:8px 0;min-width:0;border:0;white-space:normal;overflow-wrap:anywhere}.table-panel td:before,.dashboard-table td:before,.settings-table td:before{content:attr(data-label);font-size:12px;color:var(--text-secondary);font-weight:600}.table-panel td[colspan],.dashboard-table td[colspan],.settings-table td[colspan]{display:block}.table-panel td[colspan]:before,.dashboard-table td[colspan]:before,.settings-table td[colspan]:before{display:none}.table-panel .rating-pair{display:block}.rating-pair>div+div{margin-top:8px}.table-panel .row-title{min-width:0;padding:0}.dashboard-table{margin:12px 0}.work-table{overflow:visible}}
@media(max-width:600px){:root[data-sidebar="collapsed"] .sidebar{transform:translateX(-100%);width:234px}:root[data-sidebar="expanded"] .sidebar{width:min(280px,85vw);transform:none;z-index:80}:root[data-sidebar="collapsed"] .main-shell,:root[data-sidebar="expanded"] .main-shell{margin-left:0;width:100%;min-width:0}:root[data-sidebar="expanded"] .nav-backdrop{inset:0;z-index:70;background:#0008}.sidebar{transition:none}.main-shell>main,#main{padding:20px 16px!important;min-width:0}.topbar{padding:12px 16px;min-height:64px}.topbar .breadcrumb{max-width:30vw}.topbar .breadcrumb>strong{font-size:14px}.theme-label,.theme-option span{display:none}.theme-options{gap:1px}.theme-option{min-width:28px}.top-right{gap:8px}.topbar .avatar{width:30px;height:30px}.page-heading{gap:16px;flex-direction:column;align-items:flex-start}.page-heading h1{font-size:24px}.page-heading .muted{font-size:14px}.panel{padding:18px;min-width:0}.signal-panel .panel-top{align-items:flex-start;flex-direction:column}.signal-panel .subtle-tag{max-width:100%;white-space:normal}.signal-panel h2{font-size:24px}.settings-layout{grid-template-columns:1fr}.settings-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.settings-group{grid-column:1/-1}.settings-tabs button{font-size:14px}.settings-content .panel{padding:16px}.bubble-svg{min-width:0}.bubble-chart-scroll{overflow:visible}.bubble-tooltip{font-size:14px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-panel td,.dashboard-table td{grid-template-columns:95px minmax(0,1fr)}.activity-filters{flex-direction:column}.activity-filters label{min-width:0}.activity-panel article{gap:10px}.activity-panel article p{font-size:14px}.activity-description summary{font-size:14px}.connection-choices{display:grid;grid-template-columns:1fr}.connection-choices button{min-width:0}.rating-pair{max-width:100%}.work-filters label{min-width:0;flex-basis:100%}.work-board{grid-template-columns:1fr;overflow:visible}.work-column{min-height:0}.work-tree.depth-1,.work-tree.depth-2,.work-tree.depth-3{padding-left:0}.body-text{overflow-wrap:anywhere}footer{padding:16px}.account-menu{right:0}.pipeline-visual{display:block}}
.rating-line .rating-choice.filled .rating-dot,.rating-display-dots .rating-choice.filled i{background:var(--accent);border-color:var(--accent)}.ux-cell-value{min-width:0;overflow-wrap:anywhere}.bubble-data .ux-cell-value{white-space:normal}
.drawer-close{display:none}@media(max-width:600px){.drawer-close{display:block;margin:0 0 16px auto}:root[data-sidebar="expanded"]{overflow:hidden}}
.note,.wide-note{font-size:14px;line-height:1.7}.portfolio-setup .text-button{font-size:14px}.panel>.muted{font-size:14px}
.ux-cell-value>small{display:block;margin-top:4px}

/* Ideas portal (ADR-0022) */
.idea-support{display:inline-flex;align-items:center;gap:4px;min-width:52px;justify-content:center;padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);font:inherit;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;cursor:pointer}
.idea-support:hover{border-color:var(--accent)}
.idea-support.on{background:var(--accent-soft);border-color:var(--accent);color:var(--text)}
.idea-support.static{cursor:default;color:var(--text-secondary)}
.idea-support:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.idea-row-meta{display:block;margin-top:2px}
.idea-table td:first-child{width:72px}
.idea-decisions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.idea-outcome{margin:12px 0}
.idea-history{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.idea-history li{padding-left:14px;border-left:2px solid var(--line)}
.idea-history .work-prose{margin:4px 0 0}
.work-detail-facts .badge{justify-self:start;width:fit-content}

/* Ledger design system (ADR-0024, typography revised in ADR-0025): paper and ink, ledger green
   for structure and action, the logo's copper as the brand accent, red reserved for blocking states.
   One typeface, Geist (self-hosted, SIL OFL 1.1, docs/licenses/; Inter until ADR-0026), on a six-step scale:
   12 meta · 14 body · 16 emphasis · 20 section · 24 page title · 32 key figures.
   Weights 400/500/600 only. Every number uses tabular, lining figures. */
@font-face{font-family:"Geist";src:url("/fonts/geist-latin.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Geist";src:url("/fonts/geist-latin-ext.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{--font-ui:"Geist","Segoe UI",system-ui,-apple-system,sans-serif;--font-display:var(--font-ui);--font-mono:var(--font-ui);
 --page:#f7f6f2;--surface:#ffffff;--surface-soft:#f1efe9;--sidebar:#efede6;--text:#14181f;--text-secondary:#3a4048;--muted:#5b6169;--line:#dcdad2;--line-strong:#c9d8cf;
 --accent:#0f3b2e;--accent-hover:#0a2a21;--accent-soft:#e6efea;--on-accent:#f7f6f2;--focus:#a85a28;--copper:#a85a28;--copper-soft:#f6e9de;
 --positive:#1e6b44;--positive-soft:#e3f1e8;--warning:#8a5a12;--warning-soft:#fbf1dc;--danger:#b8321a;--danger-soft:#fcebe5;
 --purple-text:#5f4a7a;--purple-soft:#efebf5;--chart-scope:#b4652f;--chart-complete:#1e6b44;--chart-blue:#3d6f84;--chart-muted:#a3a7a0;
 --green:var(--accent);--lime:#cfe0d6;--radius:10px;font-family:var(--font-ui)}
:root[data-theme="dark"]{--page:#11151b;--surface:#181d24;--surface-soft:#1f252d;--sidebar:#141920;--text:#f1efe9;--text-secondary:#c9cdd3;--muted:#9ea6b0;--line:#2e353f;--line-strong:#36504a;
 --accent:#7fc4a4;--accent-hover:#a2d8bf;--accent-soft:#1c3129;--on-accent:#0c1813;--focus:#e3a06b;--copper:#e3a06b;--copper-soft:#3a2a1f;
 --positive:#8fcfae;--positive-soft:#1b3227;--warning:#e5bc7c;--warning-soft:#3a2f1e;--danger:#f29a85;--danger-soft:#3d2523;
 --purple-text:#c9b3e0;--purple-soft:#2f283b;--chart-scope:#e3a06b;--chart-complete:#7fc4a4;--chart-blue:#80adbf;--chart-muted:#7b818a}

body{font-family:var(--font-ui);-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums lining-nums;font-feature-settings:"tnum" 1,"lnum" 1,"cv11" 1}
input,select,textarea,button{font-variant-numeric:inherit;font-feature-settings:inherit}
h1,h2,h3,.detail-heading h1,.page-heading h1{font-family:var(--font-ui);font-weight:600;letter-spacing:0;color:var(--text)}
h1,.detail-heading h1,.page-heading h1{font-size:24px;line-height:1.25}
h2{font-size:20px;line-height:1.3}
h3{font-size:16px;line-height:1.4;letter-spacing:0}
/* Labels: sentence case, plain weight, no tracking. Page eyebrows repeat the breadcrumb, so they are hidden. */
.eyebrow,.nav-label,th,.brand-tagline,.gate-number,.ledger-id,.rank-chip,footer>span:first-child{font-family:var(--font-ui);letter-spacing:0;text-transform:none}
.eyebrow,.nav-label{font-size:12px;font-weight:500;color:var(--muted)}
.page-heading .eyebrow{display:none}
th{font-size:12px;font-weight:500;color:var(--muted);letter-spacing:0}
td{font-size:14px}
strong,b{font-weight:600}

/* Buttons: one solid action color, quiet outlines, generous touch targets. */
.primary,.secondary{min-height:40px;border-radius:8px;font-size:14px;font-weight:600;padding:10px 16px}
.primary{background:var(--accent);color:var(--on-accent)}.primary:hover{background:var(--accent-hover)}
.secondary{border:1.5px solid var(--line);background:var(--surface);color:var(--text)}.secondary:hover{border-color:var(--text);background:var(--surface)}
.text-button{font-weight:600}
input,textarea,select{border-radius:8px}

/* Shell */
.sidebar{border-right-color:var(--line)}
.nav-item{font-weight:500;font-size:14px;border-radius:8px}
.nav-item.active{background:var(--accent-soft);color:var(--accent);box-shadow:none}
.nav-item .count{font-family:var(--font-ui)}
.topbar{background:var(--page);border-bottom:1px solid var(--line)}
.panel,.stat-grid{border-radius:var(--radius)}
.stat strong{font-family:var(--font-ui);font-weight:600;letter-spacing:-.01em}
.tabs button.selected{color:var(--text);border-color:var(--copper)}
.badge{font-family:var(--font-ui);font-weight:600}
table{font-variant-numeric:tabular-nums}

/* ——— Ledger stamps ——— */
.ledger-stamp{display:inline-flex;align-items:center;white-space:nowrap;font-family:var(--font-ui);font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;border:1px solid currentColor;line-height:1.3}
.ledger-stamp.ready{color:var(--accent)}
.ledger-stamp.solid{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.ledger-stamp.done{background:var(--accent-soft);border-color:var(--accent-soft);color:var(--accent)}
.ledger-stamp.pending{color:var(--text-secondary);border-color:var(--line);background:var(--surface-soft)}
.ledger-stamp.muted{border-color:var(--line);color:var(--muted)}
.ledger-stamp.alert{color:var(--danger);background:var(--danger-soft);border-color:transparent}

/* ——— Ledger view ——— */
.ledger-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.ledger-chips{display:flex;flex-wrap:wrap;gap:8px}
.ledger-toolbar .search{flex:0 1 360px;min-width:220px}
.ledger-chip{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:6px 14px;border-radius:20px;border:1.5px solid var(--line);background:var(--surface);color:var(--text-secondary);font-weight:600;font-size:14px}
.ledger-chip span{font-size:12px;font-weight:500;color:var(--muted)}
.ledger-chip[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.ledger-chip[aria-pressed="true"] span{color:var(--on-accent);opacity:.8}
.ledger-panel{overflow:hidden}
.ledger-table th{border-bottom:1px solid var(--line-strong)}
.ledger-table td{vertical-align:middle}
.ledger-table th:first-child,.ledger-table td.ledger-rank{width:64px;text-align:center}
.ledger-rank span{font-size:16px;font-weight:600;color:var(--text)}
.ledger-row.unranked .ledger-rank span{color:var(--muted);font-weight:400;font-size:14px}
.ledger-table .row-title strong{font-size:14px}
.ledger-table .row-title small{display:block;margin-top:3px;color:var(--muted)}
.ledger-id{font-size:12px;color:var(--muted)}
.ledger-vc{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--text)}
.ledger-vc b{font-weight:600}.ledger-vc i{color:var(--muted);font-style:normal}
.ledger-standing{display:flex;flex-direction:column;gap:5px;min-width:110px}
.ledger-standing small{font-size:12px;color:var(--text-secondary)}
.ledger-meter{display:block;width:100%;max-width:140px;height:6px}
.ledger-meter-track{fill:var(--accent-soft)}
.ledger-meter-fill{fill:var(--accent)}.ledger-meter-fill.low{fill:var(--copper)}
.ledger-roi{font-size:14px}
.ledger-unowned{color:var(--danger);font-weight:500}
.ledger-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 24px;padding:12px 18px;border-top:1px solid var(--line);background:var(--surface-soft);font-size:12px;color:var(--muted)}

/* ——— PROVE gate bar (intake detail) ——— */
.prove-gate{margin:4px 0 22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.prove-gate-head{border-radius:var(--radius) var(--radius) 0 0}
.prove-gate-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:12px 16px;border-bottom:1px solid var(--line);background:var(--surface-soft)}
.prove-gate-head .eyebrow{margin:0}
.prove-gate-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.rank-chip{font-size:12px;padding:5px 10px;border-radius:14px;background:var(--accent-soft);color:var(--accent);font-weight:600}
.rank-chip.muted{background:var(--surface);color:var(--muted);border:1px dashed var(--line)}
.prove-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.prove-step+.prove-step{border-left:1px solid var(--line)}
.prove-step button{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 14px;background:transparent;color:var(--text);text-align:left}
.prove-step button:hover{background:var(--surface-soft)}
.prove-letter{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:8px;font-size:14px;font-weight:600;background:var(--surface-soft);color:var(--text-secondary);border:1.5px solid var(--line)}
.prove-step.done .prove-letter,.prove-checklist>li.done .prove-letter{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}
.prove-step.blocked .prove-letter,.prove-checklist>li.blocked .prove-letter{border-color:var(--danger);color:var(--danger);background:var(--danger-soft)}
.prove-step-text{min-width:0}
.prove-step-text strong{display:block;font-size:14px;font-weight:600;line-height:1.3}
.prove-step-text small{display:inline-flex;align-items:center;gap:4px;margin-top:3px;font-size:12px;color:var(--muted)}
.prove-step-text small .icon{width:13px;height:13px}
.prove-step.done small{color:var(--positive)}.prove-step.blocked small{color:var(--danger);font-weight:600}
@media(max-width:1100px){.prove-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.prove-step:nth-child(4){border-left:0}.prove-step:nth-child(n+4){border-top:1px solid var(--line)}}
@media(max-width:600px){.prove-steps{grid-template-columns:minmax(0,1fr)}.prove-step+.prove-step{border-left:0;border-top:1px solid var(--line)}}

/* ——— PROVE checklist (Home and intake overview) ——— */
.prove-checklist{list-style:none;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:2px}
.prove-checklist>li{display:flex;gap:14px;padding:12px 0;border-top:1px solid var(--line)}
.prove-checklist>li:first-child{border-top:0}
.prove-checklist h3{font-size:14px;margin:6px 0 6px}
.prove-checklist ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.prove-checklist ul li{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text-secondary)}
.prove-checklist ul li>span:last-child{line-height:1.4}
.prove-checklist ul li .text-button{display:inline-flex;align-items:center;gap:8px;min-height:30px;padding:0;text-align:left;color:var(--text);font-weight:500;background:none}
.prove-checklist ul li .text-button:hover span:not(.check-mark){text-decoration:underline;text-underline-offset:3px}
.prove-checklist em{font-style:normal;font-size:12px;font-weight:500;color:var(--danger)}
.check-mark{flex:none;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;border:1.5px dashed var(--muted)}
.prove-checklist li.done .check-mark{border:0;background:var(--accent-soft);color:var(--accent)}.check-mark .icon{width:12px;height:12px}
.prove-checklist ul li.blocked .check-mark{border-color:var(--danger);border-style:solid}

/* ——— Rank preview (assessment and new intake) ——— */
.rank-preview,.rank-context{border:1px solid var(--line-strong);background:var(--accent-soft);border-radius:var(--radius);padding:14px 16px;margin-bottom:16px;grid-column:1/-1}
.rank-context{margin-bottom:18px}
.rank-preview .eyebrow,.rank-context .eyebrow{color:var(--accent);margin-bottom:6px}
.rank-preview-body{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-bottom:10px}
.rank-preview-body strong{font-size:24px;font-weight:600;letter-spacing:-.01em;color:var(--text)}
.rank-preview-body strong span{font-size:16px;color:var(--muted)}
.rank-preview-body>span{font-size:14px;color:var(--text-secondary)}
.rank-preview .ledger-meter,.rank-context .ledger-meter{max-width:none;height:8px}
.rank-preview .ledger-meter-track,.rank-context .ledger-meter-track{fill:var(--surface)}

/* ——— Slack and Teams channels ——— */
.channels-section{margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}
.channels-section .heading-actions{display:flex;flex-wrap:wrap;gap:8px}
.channel-mark{width:17px;height:17px;flex:none;vertical-align:-3px}
.channel-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;margin-top:18px}
.channel-card h3{display:flex;align-items:center;gap:8px}
.channel-events{margin:10px 0;padding-left:18px;font-size:14px;color:var(--text-secondary);line-height:1.7}
.channel-card .card-bottom{display:flex;flex-wrap:wrap;gap:6px 16px}
.channel-event-picks{border:1px solid var(--line);border-radius:8px;padding:10px 14px;display:flex;flex-direction:column;gap:6px}
.channel-event-picks legend{font-size:12px;color:var(--text-secondary);padding:0 4px}
label.check{display:flex;align-items:center;gap:8px;font-size:14px;min-height:32px}
label.check input{width:18px;height:18px;margin:0}

@media(max-width:600px){.ledger-table td.ledger-rank{border-right:0;width:auto;text-align:left}.ledger-toolbar .search{flex:1 1 100%}}

/* Calm typography pass (ADR-0025): small consistency fixes. */
.workspace-label{line-height:1.35}
.workspace-label>div{overflow-wrap:normal}
.brand-tagline{font-weight:500;color:var(--muted)}
.prove-checklist ul li,.prove-checklist ul li .text-button{font-size:14px}
.search{min-height:40px;padding:0 12px}
.search input{min-height:0;padding:8px 0;margin:0}

/* Decision desk (ADR-0026): warm paper, white cards, ink for structure and the main action,
   the logo's copper for selection and attention, green only for done, red only for blocked.
   Navigation stays in the left sidebar, with the rail and drawer on smaller screens. */
:root{--page:#f6f5f1;--surface:#ffffff;--surface-soft:#f0ede6;--sidebar:#ffffff;--text:#1b1d21;--text-secondary:#3f434a;--muted:#565a62;--line:#e4e1da;--line-strong:#d9d5cc;
 --accent:#1b1d21;--accent-hover:#000000;--accent-soft:#ebe8e1;--on-accent:#ffffff;--copper:#a85a28;--copper-soft:#f6e9de;--focus:#a85a28;
 --positive:#1e6b44;--positive-soft:#e3f1e8;--warning:#7a4a00;--warning-soft:#fbeed6;--danger:#b42318;--danger-soft:#fdecea;
 --seg-done:#1e6b44;--seg-open:#d9a13f;--seg-blocked:#b42318;--seg-todo:#e4e1da;--radius:12px}
:root[data-theme="dark"]{--page:#131418;--surface:#1b1d22;--surface-soft:#24262c;--sidebar:#1b1d22;--text:#f1efe9;--text-secondary:#cfd2d8;--muted:#a2a7b0;--line:#30333a;--line-strong:#3c4048;
 --accent:#f1efe9;--accent-hover:#ffffff;--accent-soft:#2b2e34;--on-accent:#131418;--copper:#e3a06b;--copper-soft:#3a2a1f;--focus:#e3a06b;
 --positive:#8fcfae;--positive-soft:#1b3227;--warning:#e5bc7c;--warning-soft:#3a2f1e;--danger:#f29a85;--danger-soft:#3d2523;
 --seg-done:#5fb38a;--seg-open:#d9a13f;--seg-blocked:#e0715c;--seg-todo:#3a3d44}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--page:#131418;--surface:#1b1d22;--surface-soft:#24262c;--sidebar:#1b1d22;--text:#f1efe9;--text-secondary:#cfd2d8;--muted:#a2a7b0;--line:#30333a;--line-strong:#3c4048;
 --accent:#f1efe9;--accent-hover:#ffffff;--accent-soft:#2b2e34;--on-accent:#131418;--copper:#e3a06b;--copper-soft:#3a2a1f;--focus:#e3a06b;
 --positive:#8fcfae;--positive-soft:#1b3227;--warning:#e5bc7c;--warning-soft:#3a2f1e;--danger:#f29a85;--danger-soft:#3d2523;
 --seg-done:#5fb38a;--seg-open:#d9a13f;--seg-blocked:#e0715c;--seg-todo:#3a3d44}}
body{background:var(--page);color:var(--text)}
.panel{background:var(--surface);border-color:var(--line);border-radius:var(--radius)}
.primary{background:var(--accent);color:var(--on-accent);border-radius:10px}.primary:hover{background:var(--accent-hover)}
.secondary{border:1px solid var(--line-strong);background:var(--surface);color:var(--text);border-radius:10px}
.primary.small,.secondary.small{min-height:36px;padding:6px 14px;font-size:14px}
.nav-item.active{background:var(--accent);color:var(--on-accent);box-shadow:none}

/* ——— Navigation: the left sidebar and top bar of the app, in the desk palette ——— */
.sidebar{background:var(--surface);border-right-color:var(--line)}
.topbar{background:var(--page);border-bottom-color:var(--line)}
.nav-item{color:var(--text-secondary)}
.nav-item:hover{background:var(--accent-soft);color:var(--text)}
.nav-item .count{background:var(--accent-soft);color:var(--text-secondary)}
.nav-item.active .count{background:transparent;color:inherit}
/* The working area uses the full width beside the sidebar; only reading text keeps a line length. */
main#main{max-width:none;width:100%;margin:0;box-sizing:border-box;padding-left:32px;padding-right:32px}
@media(max-width:900px){main#main{padding-left:16px;padding-right:16px}}

.page-heading .muted,.desk-head-text,.body-text{max-width:860px}

/* ——— Ledger: queue and brief ——— */
.desk-split{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.desk-queue{flex:1 1 320px;max-width:440px;display:flex;flex-direction:column;gap:12px;position:sticky;top:80px}
.desk-queue-head{display:flex;justify-content:space-between;align-items:baseline}
.desk-queue-head h1{margin:0;font-size:24px}
.desk-queue-head span{color:var(--muted)}
.desk-new{align-self:flex-start}
.desk-queue .search{max-width:none;min-height:40px;border-radius:10px}
.desk-filter{display:flex;gap:4px;padding:3px;background:var(--accent-soft);border-radius:10px}
.desk-filter button{flex:1;min-height:36px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-weight:500;white-space:nowrap}
.desk-filter button span{font-size:12px}
.desk-filter button[aria-pressed="true"]{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 2px #0000001a}
.desk-cards{display:flex;flex-direction:column;gap:8px}
.desk-card{display:flex;align-items:flex-start;gap:14px;width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);text-align:left;cursor:pointer}
.desk-card:hover{border-color:var(--line-strong)}
.desk-card.selected{border:2px solid var(--copper);padding:13px 15px}
.desk-rank{flex:none;width:28px;font-size:20px;font-weight:600;line-height:1.2}
.desk-card-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.desk-card-top{display:flex;justify-content:space-between;gap:12px}
.desk-card-top strong{font-weight:600}
.desk-card-top small{font-size:12px;color:var(--muted);white-space:nowrap}
.desk-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}
.desk-seg{display:block;height:5px;border-radius:3px;background:var(--seg-todo)}
.desk-seg.done{background:var(--seg-done)}.desk-seg.open{background:var(--seg-open)}.desk-seg.blocked{background:var(--seg-blocked)}
.desk-status{margin:0;font-size:12px;color:var(--muted)}
.desk-status.ready{color:var(--positive);font-weight:500}.desk-status.open{color:var(--warning)}.desk-status.blocked{color:var(--danger);font-weight:500}
.desk-foot{margin:4px 0 0;font-size:12px;color:var(--muted)}
.desk-empty{padding:24px;color:var(--muted)}
.desk-brief{flex:999 1 560px;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:28px;display:flex;flex-direction:column;gap:20px}

/* ——— Record head, tabs ——— */
.desk-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;align-items:flex-start}
.desk-head-text{display:flex;flex-direction:column;gap:6px;flex:1 1 420px;min-width:0}
.desk-head h1,.desk-head h2{margin:0;font-size:24px;line-height:1.25}
.desk-kicker{margin:0;font-size:12px;color:var(--muted)}
.desk-head-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.desk-owner{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px 0 6px;border:1px solid var(--line-strong);border-radius:999px;background:var(--surface);color:var(--text);cursor:pointer;font:inherit}
.desk-owner.static{cursor:default}
.desk-owner.missing{border-color:var(--danger);color:var(--danger)}
.desk-owner .icon{width:14px;height:14px;color:var(--muted);transform:rotate(90deg)}
.desk-avatar{flex:none;width:32px;height:32px;border-radius:50%;background:var(--surface-soft);display:grid;place-items:center;font-size:12px;font-weight:600}
.desk-avatar.alert{background:var(--danger-soft);color:var(--danger)}
.desk-pill-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.25}
.desk-pill-text small{font-size:12px;color:var(--muted)}
.desk-pill-text strong{font-weight:600}
.desk-tabs{display:flex;flex-wrap:wrap;gap:24px;border-bottom:1px solid var(--line)}
.desk-tabs button{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font:inherit}
.desk-tabs button[aria-current="page"]{color:var(--text);font-weight:600;border-bottom-color:var(--text)}
.desk-tabs button span{font-size:12px}
.desk-record{display:flex;flex-direction:column;gap:20px}
.desk-record>.back{align-self:flex-start}
.desk-tab-body{display:flex;flex-direction:column;gap:20px}

/* ——— Brief ——— */
.desk-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.desk-tiles div{background:var(--page);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.desk-tiles small,.desk-tiles span{font-size:12px;color:var(--muted)}
.desk-tiles strong{font-size:24px;font-weight:600;letter-spacing:-.01em}
.desk-summary{margin:0;color:var(--text-secondary);max-width:760px}
.desk-missing h3,.desk-settled h3,.desk-decision h3{margin:0 0 4px;font-size:16px}
.desk-check{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.desk-mark{flex:none;width:20px;height:20px;border-radius:50%;border:2px solid var(--line-strong);box-sizing:border-box}
.desk-check.required .desk-mark{border-color:var(--copper)}
.desk-check-text{flex:1;min-width:200px;display:flex;flex-direction:column}
.desk-check-text strong{font-weight:500}
.desk-check-text small{font-size:12px;color:var(--muted)}
.desk-check-actions{display:flex;gap:8px;align-items:center}
.desk-settled p{margin:0;color:var(--muted)}

/* ——— Record tabs ——— */
.desk-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.desk-columns.wide{grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr)}
.desk-stack{display:flex;flex-direction:column;gap:20px}
.desk-facts{margin:12px 0 0;display:grid;grid-template-columns:160px minmax(0,1fr);row-gap:10px;column-gap:16px}
.desk-facts dt{color:var(--muted)}.desk-facts dd{margin:0}
.desk-facts small{color:var(--muted)}
.desk-jump{display:flex;flex-wrap:wrap;gap:8px}
.desk-jump a{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 14px;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--text);text-decoration:none}
.desk-jump a span{color:var(--muted);font-size:12px}
#desk-req,#desk-gates,#desk-risks,#desk-docs{scroll-margin-top:96px}
.desk-log{list-style:none;margin:12px 0 0;padding:0}
.desk-log li{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;padding:12px 0;border-top:1px solid var(--line)}
.desk-log small{color:var(--muted);font-size:12px}
.desk-line{margin:10px 0 0}

/* ——— Commit review ——— */
.desk-stages{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.desk-stages li{display:flex;flex-direction:column;gap:4px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.desk-stages .desk-seg{height:4px;margin-bottom:6px}
.desk-stages small{font-size:12px;color:var(--muted)}
.desk-stages li.open small{color:var(--warning);font-weight:500}
.desk-decision{display:flex;flex-direction:column;gap:14px}
.desk-decision h2{margin:0;font-size:20px}
.desk-signers{display:flex;flex-direction:column}
.desk-signer{display:flex;align-items:center;gap:12px;min-height:56px;border-top:1px solid var(--line)}
.desk-signer-state{font-size:12px;font-weight:500;color:var(--muted)}
.desk-signer.signed .desk-signer-state{color:var(--positive)}
.desk-signer.missing .desk-signer-state{color:var(--danger)}
.desk-decide fieldset{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.desk-decide legend{font-weight:500;margin-bottom:8px}
.desk-decide .desk-choice{display:flex;flex-direction:row;gap:10px;align-items:flex-start;justify-items:start;text-align:left;padding:12px 14px;border:1px solid var(--line-strong);border-radius:10px;cursor:pointer;margin:0;font-weight:400}
.desk-decide .desk-choice input{width:18px;height:18px;min-height:0;flex:none;margin:2px 0 0;padding:0}
.desk-decide .desk-choice span{display:flex;flex-direction:column;align-items:flex-start}
.desk-choice small{font-size:12px;color:var(--muted)}
.desk-choice.disabled{opacity:.55;cursor:not-allowed}
.desk-choice:has(input:checked){border-color:var(--text);box-shadow:inset 0 0 0 1px var(--text)}
.desk-decide{display:flex;flex-direction:column;gap:12px}
.desk-blockers{background:var(--warning-soft);border-radius:10px;padding:12px 16px;color:var(--text)}
.desk-blockers ul{margin:6px 0 0;padding-left:18px}
.desk-big{margin:0;font-size:32px;font-weight:600;letter-spacing:-.01em}
.desk-big span{font-size:16px;color:var(--muted);font-weight:400}
.desk-meter{display:block;width:100%;height:8px;margin:12px 0 4px}
.desk-meter .track{fill:var(--surface-soft)}.desk-meter .fill{fill:var(--copper)}.desk-meter.over .fill{fill:var(--danger)}
.desk-warn{color:var(--danger);font-weight:500}
.desk-size-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}

@media(max-width:1100px){.desk-columns,.desk-columns.wide{grid-template-columns:minmax(0,1fr)}.desk-stages{grid-template-columns:repeat(3,minmax(0,1fr))}.desk-queue{position:static;max-width:none}}
@media(max-width:700px){.desk-stages li{flex-direction:row;align-items:center;gap:10px;padding:10px 14px}.desk-stages .desk-seg{flex:none;width:28px;height:6px;margin:0}.desk-stages small{margin-left:auto}.desk-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-brief{padding:18px}.desk-stages{grid-template-columns:minmax(0,1fr)}.desk-decide fieldset{grid-template-columns:minmax(0,1fr)}.desk-facts{grid-template-columns:minmax(0,1fr)}.desk-size-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.desk-tabs{gap:16px;overflow-x:auto;flex-wrap:nowrap}}

.desk-capacity-panel{margin-top:20px}
.ledger-meter{height:6px}.ledger-meter-track{fill:var(--surface-soft)}.ledger-meter-fill,.ledger-meter-fill.low{fill:var(--copper)}
.rank-preview,.rank-context{background:var(--surface);border-color:var(--line)}
.account-plan{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0;margin:4px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}
.account-plan{flex-wrap:nowrap;white-space:nowrap}
.account-plan .release-pill{margin-left:auto;min-height:0;padding:2px 8px;font-size:12px;line-height:1.4}
.account-menu{min-width:260px}
/* Portfolio: when an empty module is tucked away, the next half-width panel fills its place. */
.dashboard-grid{grid-auto-flow:row dense;align-items:start}

/* Portfolio by PROVE step (ADR-0027) */
.portfolio-tabs{margin-top:8px}
.portfolio-question{margin:12px 0 20px;color:var(--muted)}
.dashboard-stats[data-count]{margin-top:0}
.dashboard-stats[data-count] .stat{border-top:0;border-left:1px solid var(--line)}
.dashboard-stats[data-count] .stat:first-child{border-left:0}
.dashboard-stats[data-count="1"]{grid-template-columns:minmax(0,1fr)}
.dashboard-stats[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.dashboard-stats[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.dashboard-stats[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.dashboard-stats .stat strong{overflow-wrap:anywhere}
@media(max-width:700px){.dashboard-stats[data-count]{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-stats[data-count] .stat:nth-child(odd){border-left:0}.dashboard-stats[data-count] .stat:nth-child(n+3){border-top:1px solid var(--line)}}
.dashboard-stats .stat-text strong{font-size:20px;line-height:1.3;margin:6px 0}
#main .wide-note{margin-bottom:16px}
.dashboard-panel.dashboard-wide .bubble-chart{max-width:820px}
.dashboard-panel .dashboard-table{overflow-x:auto}

/* ——— Record tabs and Ledger layouts (ADR-0028) ——— */
.desk-card-panel{display:flex;flex-direction:column;gap:12px}
.desk-section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px 16px}
.desk-section-head h2{margin:0;font-size:16px}
.desk-section-head p{margin:2px 0 0}
.desk-section-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.desk-tab-body>.desk-section-head h2{font-size:20px}
.desk-rating{display:grid;grid-template-columns:110px 130px minmax(0,1fr);align-items:center;gap:16px;padding-top:12px;border-top:1px solid var(--line)}
.desk-rating-name{font-weight:500}
.desk-rating-text{display:flex;flex-direction:column}
.desk-rating-text small{font-size:12px;color:var(--muted)}
.desk-dots{display:inline-flex;gap:5px}
.desk-dots span{width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line-strong)}
.desk-dots span.on{background:var(--text);box-shadow:none}
.desk-rank-strip{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;padding:12px 14px;background:var(--page);border-radius:10px;color:var(--muted)}
.desk-rank-strip strong{font-size:20px;color:var(--text)}
.desk-rank-strip strong span{font-size:14px;font-weight:400;color:var(--muted)}
.desk-fin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.desk-fin-grid div{background:var(--page);border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:2px;min-width:0}
.desk-fin-grid small,.desk-fin-grid span{font-size:12px;color:var(--muted)}
.desk-fin-grid strong{font-size:20px;font-weight:600}
.desk-stacked{margin:0;display:flex;flex-direction:column;gap:12px}
.desk-stacked dt{font-size:12px;color:var(--muted)}.desk-stacked dd{margin:0}
.desk-card-panel .desk-facts{margin:0}
.desk-table{overflow-x:auto;margin:0 -4px}
.desk-table table{width:100%;border-collapse:collapse;min-width:640px}
.desk-table th{text-align:left;font-size:12px;font-weight:500;color:var(--muted);background:transparent;padding:8px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
.desk-table td{padding:12px 10px;border-top:1px solid var(--line);vertical-align:top;font-size:14px;white-space:normal;overflow-wrap:anywhere}
.desk-table td.num,.desk-table td.desk-row-actions{overflow-wrap:normal;white-space:nowrap}
.desk-table td:first-child:not(.num){min-width:180px}
.ledger-sheet td:last-child{min-width:200px}
.ledger-sheet td:nth-child(2){min-width:220px}
.desk-gates-table td:first-child,.desk-risks-table td:first-child{min-width:0;width:44px}
.desk-table tr:first-child td{border-top:0}
.desk-table td small{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.desk-table .num{text-align:right;white-space:nowrap}
.desk-table td.desk-wrap{max-width:420px;color:var(--text-secondary)}
.desk-row-actions{white-space:nowrap;text-align:right}
.desk-row-actions .text-button{margin-left:12px;font-size:14px}
.desk-table td.empty{text-align:center;color:var(--muted);padding:20px}
.desk-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:500;white-space:nowrap;background:var(--surface-soft);color:var(--text)}
.desk-pill.ink{background:var(--text);color:var(--page)}
.desk-pill.line{background:transparent;box-shadow:inset 0 0 0 1px var(--line-strong);color:var(--muted)}
.desk-pill.warn{background:var(--warning-soft);color:var(--warning)}
.desk-ok{color:var(--positive);font-weight:500}
.desk-warn-text{color:var(--warning);font-weight:500}
.desk-gate-mark{display:block;width:18px;height:18px;margin-top:2px;border-radius:50%;box-sizing:border-box;border:2px solid var(--seg-open)}
.desk-gate-mark.done{border:0;background:var(--seg-done)}
.desk-gates-table td:first-child{width:28px}
.desk-score{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px;font-weight:600;background:var(--surface-soft)}
.desk-score.med{background:var(--warning-soft);color:var(--warning)}
.desk-score.high{background:var(--danger-soft);color:var(--danger)}
.desk-filter.compact{display:inline-flex}
.desk-filter.compact button{flex:none;min-height:32px;padding:0 12px;font-size:14px}
.desk-docs{display:flex;flex-direction:column}
.desk-doc{display:grid;grid-template-columns:20px minmax(0,1fr) auto 20px;align-items:center;gap:12px;min-height:48px;border-top:1px solid var(--line);color:var(--text);text-decoration:none}
.desk-doc:first-child{border-top:0}
.desk-doc small{color:var(--muted);font-size:12px}
.desk-doc .icon{width:18px;height:18px;color:var(--muted)}
.desk-upload{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.desk-file{display:inline-flex;align-items:center;gap:8px;margin:0;font-weight:500}
.desk-file input{font-size:14px;min-height:0;padding:6px 0;margin:0;border:0;background:transparent;width:auto}
.desk-kicker{margin:0;font-size:12px;color:var(--muted)}
.desk-objective h2{font-size:20px}
.desk-kr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.desk-kr{background:var(--page);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.desk-kr small{font-size:12px;color:var(--muted)}
.desk-kr-target{font-size:20px;font-weight:600}
.desk-kr-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.desk-kr-actions .text-button{font-size:14px}
.desk-small{font-size:12px;margin:0}
/* Ledger: page head, list and sheet */
.ledger-page-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin:2px 0 16px;padding-top:8px}
.ledger-page-head h1{margin:0;font-size:24px}
.ledger-page-head p{margin:4px 0 0}
.ledger-page-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.ledger-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.ledger-toolbar .desk-filter{min-width:300px;flex:none}
.ledger-toolbar .desk-filter button{flex:1 0 auto}
.ledger-toolbar .search{flex:0 1 360px;min-height:40px}
.desk-queue .ledger-layout{align-self:flex-start}
.ledger-kpis{margin-bottom:16px}
.ledger-sheet{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin:0 0 10px}
.ledger-sheet table{min-width:1260px}
.ledger-sheet th{background:var(--surface-soft);padding:0}
.ledger-sheet th button{width:100%;min-height:40px;padding:0 10px;border:0;background:none;font:inherit;font-weight:500;color:var(--muted);text-align:inherit;cursor:pointer;white-space:nowrap}
.ledger-sheet th:not(:has(button)){padding:8px 10px}
.ledger-sheet th.num button{text-align:right}
.ledger-sheet td{padding:10px}
.ledger-sheet .row-title{padding:0;min-height:0;text-align:left}
.ledger-sheet .ledger-meter{width:110px;height:8px}
.ledger-total td{border-top:2px solid var(--text);background:var(--surface-soft)}
@media(max-width:700px){.desk-rating{grid-template-columns:minmax(0,1fr) auto}.desk-rating-text{grid-column:1/-1}.desk-fin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-toolbar .desk-filter{min-width:0;width:100%}.ledger-toolbar .search{flex:1 1 100%}}
.desk-section-actions .text-button{font-size:14px}
.ledger-sheet th:first-child,.ledger-sheet td:first-child{width:56px;min-width:0}
.ledger-page-actions .primary,.ledger-page-actions .secondary{min-height:40px;height:40px;padding-top:0;padding-bottom:0;box-sizing:border-box}
.ledger-page-head{min-height:52px}

/* ——— Full-width header (Jira-style) ———
   One bar across the whole window: collapse button, Aizu logo, then appearance and account on the
   right. The sidebar and content start beneath it. Page titles and back links replace the breadcrumb. */
.topbar,:root[data-sidebar] .topbar{position:fixed;top:0;left:0;right:0;z-index:60;height:56px;padding:0 16px 0 12px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}
.topbar .workspace-location{display:flex;align-items:center;gap:6px;min-width:0}
.topbar .breadcrumb{display:none}
.topbar .brand-home,:root[data-sidebar] .topbar .brand-home{display:flex;flex-direction:row;align-items:center;padding:4px 8px;margin:0;border:0;border-radius:6px}
.topbar .brand-home:hover{background:var(--accent-soft)}
.topbar .brand-signature{display:flex;align-items:center}
.topbar .brand-symbol,:root[data-sidebar] .topbar .brand-symbol{display:none!important}
.topbar .brand-name,:root[data-sidebar] .topbar .brand-name{display:block!important;height:27px;width:auto}
.nav-toggle,:root[data-sidebar] .nav-toggle{min-width:36px;min-height:36px;padding:0;border:0;border-radius:6px;background:transparent;box-shadow:none;color:var(--text-secondary)}
.nav-toggle:hover{background:var(--accent-soft);color:var(--text)}
.nav-toggle .icon{width:20px;height:20px}
.sidebar,:root[data-sidebar] .sidebar{top:56px!important;bottom:0;height:auto;padding-top:16px}
.sidebar .workspace-label{margin-top:0}
.main-shell{padding-top:56px}

/* ——— Portfolio Rank visuals (ADR-0029) ——— */
.dashboard-grid.rank-grid{grid-template-columns:1fr}.dashboard-grid.rank-grid .dashboard-panel{grid-column:auto}
@media(min-width:1400px){.dashboard-grid.rank-grid{grid-template-columns:minmax(0,1.75fr) minmax(320px,1fr)}.dashboard-grid.rank-grid .dashboard-wide{grid-column:1/-1}}
.rank-matrix-scroll{overflow-x:auto;margin:0 -4px;padding:0 4px}
.rank-matrix{display:block;width:100%;min-width:560px;max-width:860px;height:auto;font-family:inherit;overflow:visible}
.rank-zone{fill:var(--positive-soft)}
.rank-mid{stroke:var(--line-strong);stroke-dasharray:4 4;fill:none}
.rank-axis{stroke:var(--muted);fill:none}
.rank-labels text{font-size:12px;fill:var(--muted)}
.rank-empty{font-size:14px;fill:var(--muted)}
.rank-bubble{cursor:pointer;outline:none}
.rank-bubble circle{fill:var(--accent);fill-opacity:.85;stroke:var(--surface);stroke-width:2}
.rank-bubble.low circle{fill:var(--copper)}
.rank-bubble.done circle{fill:var(--surface);fill-opacity:1;stroke:var(--accent);stroke-width:2}
.rank-bubble.unknown circle{fill:var(--muted);fill-opacity:.45}
.rank-bubble text{font-size:12px;fill:var(--text)}
.rank-bubble:hover circle,.rank-bubble:focus-visible circle{stroke:var(--focus);stroke-width:3}
.rank-bubble:hover text,.rank-bubble:focus-visible text{text-decoration:underline}
.rank-key{display:flex;flex-wrap:wrap;gap:6px 18px;margin:12px 0 0;font-size:12px;color:var(--muted)}
.rank-key span{display:inline-flex;align-items:center;gap:6px}
.rank-dot{width:10px;height:10px;border-radius:50%;background:var(--accent);opacity:.85}
.rank-dot.low{background:var(--copper)}
.rank-dot.done{background:var(--surface);border:2px solid var(--accent);opacity:1;box-sizing:border-box}
.rank-dot.unknown{background:var(--muted);opacity:.45}
.rank-unrated{margin-top:12px;font-size:14px}
.rank-roi{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}
.rank-roi-row{display:flex;flex-direction:column;gap:4px;width:100%;padding:8px 10px;margin:0 -10px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left;font:inherit;cursor:pointer;box-sizing:content-box}
.rank-roi-row:hover{background:var(--surface-soft)}
.rank-roi-row:focus-visible{outline:2px solid var(--focus);outline-offset:1px}
.rank-roi-top{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.rank-roi-top span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-roi-top strong{font-weight:600;font-variant-numeric:tabular-nums}.rank-roi-top strong.low{color:var(--copper)}
.rank-roi-bar{display:block;overflow:visible}
.rank-roi-bar .track{fill:var(--surface-soft)}
.rank-roi-bar .fill{fill:var(--accent);fill-opacity:.85}.rank-roi-bar .fill.low{fill:var(--copper)}
.rank-roi-bar .even{fill:var(--text)}
.rank-roi-missing{margin-top:12px;font-size:14px}

/* ——— RICE (ADR-0030) ——— */
.rice-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.rice-grid .rice-total{background:var(--accent-soft)}
.rice-fields{grid-column:1/-1;border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:4px 0 12px}
.rice-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.rice-head h3{font-size:14px;margin:0}
.rice-live{margin:0;font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}
.rice-fields .note{margin:4px 0 10px}
@media(max-width:900px){.rice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rice-grid .rice-total{grid-column:1/-1}}
.ledger-sheet td.sheet-owner{white-space:nowrap;overflow-wrap:normal;word-break:normal}

/* ——— Sheet in the getaizu.com ledger look (ADR-0031): serif rank, mono figures, stamps ——— */
@font-face{font-family:"Fraunces";src:url("/fonts/fraunces.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url("/fonts/jetbrains-mono-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url("/fonts/jetbrains-mono-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
.brand-ledger{--bl-paper:#fff;--bl-band:#fbfcfb;--bl-row:#e3eae5;--bl-rule:#c9d8cf;--bl-edge:#d5ded8;--bl-accent:#0f3b2e;--bl-accent-soft:#e6efea;--bl-on-accent:#f7f6f2;--bl-ink:#14181f;--bl-ink-2:#3a4048;--bl-muted:#5b6169;--bl-copper:#a85a28;--bl-alert:#b8321a;--bl-shadow:0 30px 60px -32px #0f3b2e66;
 --bl-display:"Fraunces",Georgia,"Times New Roman",serif;--bl-mono:"JetBrains Mono",ui-monospace,Menlo,Consolas,monospace;
 background:var(--bl-paper);color:var(--bl-ink);border:1px solid var(--bl-edge);border-radius:14px;box-shadow:var(--bl-shadow);overflow:hidden;margin:0 0 10px}
:root[data-theme="dark"] .brand-ledger{--bl-paper:#1b1d22;--bl-band:#202329;--bl-row:#2c3036;--bl-rule:#3c4048;--bl-edge:#30333a;--bl-accent:#8fcfae;--bl-accent-soft:#1b3227;--bl-on-accent:#131418;--bl-ink:#f1efe9;--bl-ink-2:#cfd2d8;--bl-muted:#a2a7b0;--bl-copper:#e3a06b;--bl-alert:#f29a85;--bl-shadow:none}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .brand-ledger{--bl-paper:#1b1d22;--bl-band:#202329;--bl-row:#2c3036;--bl-rule:#3c4048;--bl-edge:#30333a;--bl-accent:#8fcfae;--bl-accent-soft:#1b3227;--bl-on-accent:#131418;--bl-ink:#f1efe9;--bl-ink-2:#cfd2d8;--bl-muted:#a2a7b0;--bl-copper:#e3a06b;--bl-alert:#f29a85;--bl-shadow:none}}
.brand-ledger-top,.brand-ledger-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding:14px 20px;background:var(--bl-band)}
.brand-ledger-top{border-bottom:1px solid var(--bl-row)}
.brand-ledger-foot{border-top:1px solid var(--bl-row);font-size:13px;color:var(--bl-muted)}
.brand-ledger-foot span:last-child{max-width:720px}
.brand-ledger-title{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.brand-ledger-title strong{font:500 21px/1.2 var(--bl-display);color:var(--bl-ink)}
.brand-tag{font:400 11px/1 var(--bl-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--bl-muted);border:1px solid var(--bl-edge);padding:5px 8px;border-radius:4px}
.brand-ledger-sort{font:400 12px/1.2 var(--bl-mono);color:var(--bl-muted)}
.brand-ledger .ledger-sheet{background:transparent;border:0;border-radius:0;margin:0}
.brand-ledger .ledger-sheet table{font-size:15px}
.brand-ledger .ledger-sheet th{background:transparent;border-bottom:1px solid var(--bl-rule);padding:0}
.brand-ledger .ledger-sheet th button{font:400 11px/1.2 var(--bl-mono);letter-spacing:.1em;color:var(--bl-muted);min-height:44px;padding:0 12px}
.brand-ledger .ledger-sheet th:not(:has(button)){font:400 11px/1.2 var(--bl-mono);letter-spacing:.1em;color:var(--bl-muted);padding:13px 12px}
.brand-ledger .ledger-sheet td{padding:12px;border-top:1px solid var(--bl-row);vertical-align:middle;color:var(--bl-ink)}
.brand-ledger .ledger-sheet tr:first-child td{border-top:0}
.brand-ledger .ledger-sheet th:first-child,.brand-ledger .ledger-sheet td:first-child{width:1%;min-width:64px;text-align:center;border-right:3px double var(--bl-copper)}
.brand-ledger .ledger-sheet td.sheet-item{width:26%;min-width:220px}
.brand-ledger .ledger-sheet td.sheet-status{min-width:170px}
.brand-ledger .ledger-sheet th:first-child button{text-align:center}
.brand-ledger td.sheet-rank{font:450 23px/1 var(--bl-display)}
.brand-ledger .sheet-item .row-title strong{font-weight:600;color:var(--bl-ink)}
.brand-ledger .sheet-item small{font:400 12px/1.5 var(--bl-mono);color:var(--bl-muted)}
.brand-ledger td.mono{font-family:var(--bl-mono);font-size:14px}
.brand-ledger td.mono strong{font-weight:700}.brand-ledger td.mono strong.low{color:var(--bl-copper)}
.brand-ledger .meter{display:block;width:110px;height:6px;margin-bottom:5px}
.brand-ledger .meter .track{fill:var(--bl-accent-soft)}.brand-ledger .meter .fill{fill:var(--bl-accent)}.brand-ledger .meter .fill.low{fill:var(--bl-copper)}
.brand-ledger .sheet-standing small{font-size:13px;color:var(--bl-ink-2)}
.brand-ledger .unowned{color:var(--bl-alert);font-style:italic;font-weight:600}
.brand-ledger td.sheet-status small{font-size:12px;color:var(--bl-muted);margin-top:6px}
.stamp{display:inline-block;white-space:nowrap;font:700 11px/1.1 var(--bl-mono,ui-monospace,monospace);letter-spacing:.08em;text-transform:uppercase;padding:6px 9px;border-radius:4px;border:2px solid currentColor}
.stamp.ready{color:var(--bl-accent)}
.stamp.solid{background:var(--bl-accent);border-color:var(--bl-accent);color:var(--bl-on-accent)}
.stamp.pending{border-style:dashed;color:var(--bl-ink-2)}
.stamp.done{background:var(--bl-accent-soft);border-color:var(--bl-accent-soft);color:var(--bl-accent)}
.stamp.alert{color:var(--bl-alert);transform:rotate(-3deg)}
.stamp.muted{color:var(--bl-muted);border-color:var(--bl-edge)}
.brand-ledger .ledger-total td{border-top:2px solid var(--bl-ink);background:var(--bl-band)}
@media(max-width:700px){.brand-ledger-top,.brand-ledger-foot{padding:12px 14px}}

/* ——— Page descriptions behind an info icon beside the title ——— */
.page-title{display:flex;align-items:center;gap:6px;min-width:0}
.page-title h1{margin:0}
.info-tip{position:relative;display:inline-flex}
.info-tip-button{display:inline-grid;place-items:center;width:28px;height:28px;min-width:0;min-height:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:help;box-shadow:none}
.info-tip-button .icon{width:18px;height:18px}
.info-tip-button:hover,.info-tip.open .info-tip-button{color:var(--text);background:var(--accent-soft)}
.info-tip-button:focus-visible{outline:2px solid var(--focus);outline-offset:1px}
.info-tip-text{display:none;position:absolute;top:calc(100% + 6px);left:-8px;z-index:70;width:max-content;max-width:min(360px,80vw);padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text-secondary);font-size:14px;font-weight:400;line-height:1.5;box-shadow:0 10px 30px #0000001f;white-space:normal}
.info-tip:hover .info-tip-text,.info-tip:focus-within .info-tip-text,.info-tip.open .info-tip-text{display:block}
@media(max-width:700px){.page-title{position:relative}.page-title .info-tip{position:static}.page-title .info-tip-text{left:0;max-width:calc(100vw - 32px)}}

/* ——— Roadmap timeline (ADR-0033) ——— */
.rm-panel{padding:0;overflow:hidden}
.rm-scroll{overflow-x:auto}
.rm-chart{min-width:760px}
.rm-row{display:grid;grid-template-columns:minmax(200px,280px) minmax(0,1fr);border-top:1px solid var(--line)}
.rm-row.rm-head{border-top:0;background:var(--surface-soft)}
.rm-label{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:8px 16px;min-width:0;border-right:1px solid var(--line)}
.rm-label .text-button{padding:0;min-height:0;text-align:left;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rm-label small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rm-head .rm-label span{font-size:12px;color:var(--muted)}
.rm-track{min-width:0}
.rm-svg{display:block;overflow:visible;font-family:inherit}
.rm-grid{stroke:var(--line);stroke-width:1}.rm-grid.year{stroke:var(--line-strong)}
.rm-today{stroke:var(--copper);stroke-width:1.5;stroke-dasharray:4 3}
.rm-head text{font-size:12px;fill:var(--text-secondary)}.rm-head .rm-year{font-size:11px;fill:var(--muted)}
.rm-bar{stroke-width:1.5}
.rm-bar.proposed{fill:var(--copper-soft);stroke:var(--copper)}
.rm-bar.deferred{fill:var(--surface);stroke:var(--muted);stroke-dasharray:4 3}
.rm-bar.committed{fill:var(--accent);stroke:var(--accent)}
.rm-bar.done{fill:var(--positive-soft);stroke:var(--positive)}
.rm-bar-text{font-size:12px;fill:var(--text-secondary);font-variant-numeric:tabular-nums}
.rm-bar-text.inside{fill:var(--text)}
.rm-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0;padding:12px 16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.rm-legend span{display:inline-flex;align-items:center;gap:6px}
.rm-key{width:18px;height:10px;border-radius:3px;border:1.5px solid}
.rm-key.proposed{background:var(--copper-soft);border-color:var(--copper)}
.rm-key.deferred{background:var(--surface);border-color:var(--muted);border-style:dashed}
.rm-key.committed{background:var(--accent);border-color:var(--accent)}
.rm-key.done{background:var(--positive-soft);border-color:var(--positive)}
.rm-key.today{width:0;height:14px;border-radius:0;border-width:0 0 0 1.5px;border-color:var(--copper);border-style:dashed}
.rm-unscheduled{margin-top:20px}
.rm-unscheduled h2{display:flex;align-items:center;gap:8px;font-size:16px}
.rm-unscheduled h2 span{font-size:12px;font-weight:500;color:var(--muted);background:var(--accent-soft);border-radius:10px;padding:2px 8px}
.rm-unscheduled ul{list-style:none;margin:12px 0 0;padding:0}
.rm-unscheduled li{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;padding:10px 0;border-top:1px solid var(--line)}
.rm-unscheduled li .text-button{padding:0;min-height:0;font-weight:600}
.rm-unscheduled li small{font-size:12px;color:var(--muted)}
@media(max-width:700px){.rm-chart{min-width:880px}.rm-row{grid-template-columns:170px minmax(0,1fr)}.rm-label{padding:8px 12px}}
.rm-label{position:sticky;left:0;z-index:1;background:var(--surface)}
.rm-head .rm-label{background:var(--surface-soft)}
.rm-bar.committed+.rm-bar-text.inside{fill:var(--on-accent)}

/* ——— Settings navigation: group labels read as section labels, not as items ——— */
.settings-tabs{gap:2px}
.settings-tabs button{min-height:36px;padding:7px 12px;border-radius:8px;font-size:14px}
.settings-tabs .settings-group{margin:12px 0 2px;padding:14px 12px 4px;border-top:1px solid var(--line);font-size:12px;font-weight:600;color:var(--muted)}
.settings-tabs .settings-group:first-child{margin-top:0;padding-top:4px;border-top:0}

/* ——— Roles: permissions grouped by area (ADR-0034) ——— */
.perm-group{border:0;margin:0 0 14px;padding:0}
.perm-group legend{font-size:12px;font-weight:600;color:var(--muted);padding:0 0 6px}
.perm-group-row th{background:var(--surface-soft);font-size:12px;font-weight:600;color:var(--muted);text-align:left;padding:8px 12px}
