:root{color:#222013;background:#f7f2c8;font-family:Inter,Segoe UI,system-ui,sans-serif}body{margin:0}main{max-width:none;min-height:100vh;margin:0;padding:18px 22px 30px 94px}body:before{content:"";background:#071a2d;width:68px;position:fixed;inset:0 auto 0 0}header{color:#12314f}section{background:#fff9d8;border:1px solid #eee5b0;border-radius:8px;margin:16px 0;padding:18px;box-shadow:0 4px 16px #6857140f}h1{margin:0 0 6px;font-size:1.35rem}h2{margin-top:0;font-size:1.05rem}h3,p{margin-top:0}button,a{color:#fff;cursor:pointer;min-height:34px;font:inherit;background:#2f86c7;border:0;border-radius:6px;padding:8px 12px;font-weight:700;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.55}input,select{min-height:34px;color:inherit;font:inherit;background:#fffbed;border:1px solid #e1dca8;border-radius:6px;padding:0 10px}.side-nav{z-index:3;color:#fff;align-content:start;justify-items:center;gap:18px;width:44px;display:grid;position:fixed;inset:18px auto 18px 12px}.side-nav strong{background:#2790cf;border-radius:6px;place-items:center;width:34px;height:34px;display:grid}.side-nav button{color:#d7e7f6;writing-mode:vertical-rl;background:0 0;width:44px;min-height:52px;padding:6px 0;font-size:.8rem}.side-nav button.active,.side-nav button:hover{color:#fff;background:#123a5a}main>p{color:#6d6540}.summary-grid{grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:12px;margin:18px 0;display:grid}.summary-grid article{background:#fff9d8;border:1px solid #f1e8b6;border-radius:12px;grid-template-columns:42px 1fr;align-items:center;gap:10px;min-height:72px;padding:12px;display:grid;box-shadow:0 6px 18px #68571414}.summary-grid article:before{color:#fff;content:"▣";background:#5ea4d4;border-radius:10px;place-items:center;width:40px;height:40px;font-size:1.1rem;display:grid}.summary-grid article:nth-child(2n):before{background:#ef6b5d}.summary-grid article:nth-child(3n):before{background:#8ac34a}.summary-grid article:nth-child(4n):before{background:#ef9c31}.summary-grid strong{color:#1f1c12;font-size:1.25rem}.summary-grid span{color:#6d6540}.tenant-list article,.recent-orders article,.order-list article,.product-list article,.account-list article,.module-list article,.goal-list article,.risk-board article{border-bottom:1px solid #efe7b8;align-items:center;gap:12px;padding:12px 10px;display:grid}.tenant-list article{grid-template-columns:minmax(220px,1fr) repeat(5,auto) auto}.recent-orders article,.order-list article{grid-template-columns:minmax(260px,1fr) auto auto auto auto}.product-list article{grid-template-columns:minmax(230px,1fr) 110px 90px auto auto auto}.account-list article{grid-template-columns:130px minmax(160px,1fr) minmax(180px,1fr) auto auto}.module-list article{grid-template-columns:minmax(260px,1fr) auto auto}.goal-list article{grid-template-columns:48px minmax(0,1fr) auto}.tenant-list h3,.recent-orders h3,.order-list h3,.product-list h3,.module-list h3,.goal-list h3{margin:0 0 4px}.tenant-list p,.recent-orders p,.order-list p,.product-list p,.module-list p,.goal-list p,.risk-board p{color:#6d6540;margin:0}.tenant-list span,.recent-orders span,.order-list span,.product-list code,.account-list code,.goal-list span,.module-list span{color:#9a6810;white-space:nowrap;background:#fff2cb;border-radius:999px;width:fit-content;padding:5px 8px}.filters{grid-template-columns:minmax(260px,1fr) repeat(4,auto);gap:10px;margin-bottom:12px;display:grid}.review-shell{grid-template-columns:minmax(0,1fr) 400px;align-items:start;gap:16px;display:grid}.table-panel{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.92rem}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid #efe7b8;padding:11px 10px}th{color:#5f572f;font-weight:800}tbody tr{cursor:pointer}tbody tr:hover,tbody tr.selected{background:#fff3b5}.detail-panel{background:#fff9d8;border:1px solid #eee5b0;border-radius:8px;gap:14px;padding:16px;display:grid;position:sticky;top:18px;box-shadow:0 4px 16px #6857140f}.detail-panel header{color:inherit;justify-content:space-between;gap:12px;margin:0;display:flex}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.detail-grid p,.line-items p{background:#fffbed;border-radius:6px;margin:0;padding:10px}.detail-grid span,.line-items span{color:#6d6540;margin-bottom:4px;display:block}.line-items{gap:8px;display:grid}.line-items p{justify-content:space-between;gap:12px;display:flex}.proof-note{background:#fff2cb;border-radius:6px;margin:0;padding:10px}.detail-actions{flex-wrap:wrap;gap:8px;display:flex}.edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.edit-grid label{color:#6d6540;gap:6px;display:grid}.product-workbench th:first-child,.product-workbench td:first-child{text-align:center;width:54px}.product-workbench input[type=checkbox]{min-height:auto}.analytics-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.analytics-board h2{grid-column:1/-1}.analytics-board p{justify-content:space-between;gap:12px;margin:8px 0;display:flex}.health-list{flex-wrap:wrap;gap:10px;display:flex}.health-list h2{flex-basis:100%}.operations{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.operations h2,.operations p{flex-basis:100%;margin-bottom:0}.risk-info{border-left:4px solid #2f86c7}.risk-warning{border-left:4px solid #ef9c31}.risk-critical{border-left:4px solid #c92a2a}.goal-done span{color:#4b7e17;background:#eaf7d6}.goal-active span{color:#1b66ad;background:#e3f0ff}.goal-blocked span{color:#b93428;background:#ffe5de}.error{color:#c92a2a}.notice{color:#1b66ad}form{gap:12px;max-width:420px;display:grid}@media (width<=900px){main{padding-left:82px}.tenant-list article,.recent-orders article,.order-list article,.product-list article,.account-list article,.module-list article,.goal-list article,.filters,.review-shell,.analytics-board{grid-template-columns:1fr}.detail-panel{position:static}}
