:root{--background:#edf1ef;--surface:#fff;--surface-soft:#f7f9f8;--ink:#172126;--muted:#63727a;--line:#d8e0de;--brand:#155c64;--brand-dark:#0b3c42;--accent:#b75836;--gold:#b9944e;--green:#2f7d5c;--red:#a33a35;--radius:8px;--shadow:0 18px 44px #11212617}*{box-sizing:border-box}html{background:var(--background);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-frame{grid-template-columns:280px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#fffdf7;background:#102b2e;flex-direction:column;gap:28px;height:100vh;padding:24px 18px;display:flex;position:sticky;top:0}.brand{grid-template-columns:50px minmax(0,1fr);align-items:center;gap:12px;display:grid}.brand-mark{border-radius:var(--radius);color:#112a2e;background:linear-gradient(135deg,#f2eee2,#c8a765);place-items:center;width:50px;height:50px;font-weight:900;display:grid}.brand p,.eyebrow{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:0 0 5px;font-size:.72rem;font-weight:800}.brand p{color:#ffffffa8}.brand strong{line-height:1.16;display:block}.nav{gap:7px;display:grid}.nav-link{border-radius:var(--radius);color:#ffffffc2;align-items:center;gap:10px;min-height:42px;padding:0 12px;font-weight:750;display:flex}.nav-link:hover{color:#fff;background:#ffffff1a}.nav-dot{background:#d1b46d;border-radius:99px;width:8px;height:8px}.sidebar-note{border-radius:var(--radius);background:#ffffff0f;border:1px solid #ffffff21;margin-top:auto;padding:14px}.sidebar-note strong{margin-bottom:6px;display:block}.sidebar-note p{color:#ffffffad;margin:0;font-size:.88rem;line-height:1.45}.main{min-width:0;padding:24px}.topbar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px;display:flex}.topbar h1,.page-header h1{letter-spacing:0;margin:0;font-size:clamp(1.5rem,2.4vw,2.25rem);line-height:1.08}.topbar-actions{align-items:center;gap:10px;display:flex}.button,.button-secondary{border-radius:var(--radius);justify-content:center;align-items:center;min-height:42px;padding:0 15px;font-weight:850;display:inline-flex}.button{background:var(--brand);color:#fff;box-shadow:0 12px 20px #155c642b}.button:hover{background:var(--brand-dark)}.button-secondary{color:var(--brand-dark);background:#fff;border:1px solid #bdccca}.button-secondary:hover{border-color:var(--brand);color:var(--brand)}.page-header{gap:10px;margin-bottom:22px;display:grid}.page-header p:not(.eyebrow){max-width:880px;color:var(--muted);margin:0;line-height:1.6}.grid{gap:18px;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.panel,.metric,.case-card,.report-page{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.panel{padding:20px}.panel-header{justify-content:space-between;align-items:start;gap:16px;margin-bottom:16px;display:flex}.panel h2,.panel h3,.case-card h2,.report-page h2,.report-page h3{letter-spacing:0;margin:0}.panel h2,.panel h3{font-size:1.12rem}.metric{padding:18px}.metric span{color:var(--muted);text-transform:uppercase;margin-bottom:8px;font-size:.76rem;font-weight:850;display:block}.metric strong{font-size:1.45rem;display:block}.metric p{color:var(--muted);margin:8px 0 0;line-height:1.45}.case-card{gap:14px;padding:18px;display:grid}.case-card-header{justify-content:space-between;gap:16px;display:flex}.case-card h2{font-size:1.08rem;line-height:1.28}.case-card p{color:var(--muted);margin:0;line-height:1.5}.meta-row,.tag-row{flex-wrap:wrap;gap:8px;display:flex}.tag,.status,.risk-pill{border-radius:999px;align-items:center;min-height:30px;padding:0 10px;font-size:.82rem;font-weight:850;display:inline-flex}.tag{background:var(--surface-soft);color:var(--muted)}.status{color:var(--brand-dark);background:#e8efee}.risk-pill.low{color:#226245;background:#2f7d5c21}.risk-pill.medium{color:#7a5a1e;background:#b9944e29}.risk-pill.high{color:#8b3e22;background:#b7583629}.risk-pill.critical{color:#842b28;background:#a33a3526}.score-card{grid-template-columns:118px minmax(0,1fr);align-items:center;gap:16px;display:grid}.score-ring{border-radius:50%;place-items:center;width:118px;height:118px;display:grid}.score-ring span{background:var(--surface);border-radius:50%;place-items:center;width:82px;height:82px;font-size:1.7rem;font-weight:950;display:grid}.score-copy h3{margin:0 0 8px;font-size:1.15rem}.score-copy p{color:var(--muted);margin:0;line-height:1.5}.risk-list{gap:14px;display:grid}.risk-row{gap:7px;display:grid}.risk-row-label{color:var(--muted);justify-content:space-between;gap:12px;display:flex}.risk-row-label strong{color:var(--ink)}.risk-track{background:#e7edeb;border-radius:999px;height:10px;overflow:hidden}.risk-track div{border-radius:inherit;background:linear-gradient(90deg, var(--green), var(--gold), var(--accent), var(--red));height:100%}.detail-list{gap:12px;display:grid}.detail-row{border-bottom:1px solid var(--line);grid-template-columns:170px minmax(0,1fr);gap:16px;padding-bottom:12px;display:grid}.detail-row:last-child{border-bottom:0;padding-bottom:0}.detail-row dt{color:var(--muted);font-weight:800}.detail-row dd{margin:0;line-height:1.55}.timeline,.task-list,.document-list{gap:12px;display:grid}.timeline-item,.task-item,.document-item,.participant-item{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft);padding:14px}.timeline-item strong,.task-item strong,.document-item strong,.participant-item strong{margin-bottom:5px;display:block}.timeline-item p,.task-item p,.document-item p,.participant-item p{color:var(--muted);margin:0;line-height:1.45}.form-section{gap:16px;display:grid}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}label{color:#34464b;gap:8px;font-weight:850;display:grid}input,select,textarea{border-radius:var(--radius);width:100%;color:var(--ink);background:#fff;border:1px solid #c9d5d3}input,select{min-height:44px;padding:0 12px}textarea{resize:vertical;min-height:112px;padding:12px;line-height:1.5}.report-page{background:#fbfaf4;max-width:980px;margin:0 auto;padding:clamp(24px,4vw,54px)}.report-cover{border-bottom:2px solid var(--ink);padding-bottom:28px}.report-cover h2{font-size:clamp(2rem,5vw,4rem);line-height:.98}.report-section{border-bottom:1px solid #ded8ca;padding:24px 0}.report-section p{color:#3c4b50;line-height:1.7}.copilot-output{gap:14px;display:grid}.prompt-box{border-radius:var(--radius);color:#405056;background:#f9fbfa;border:1px solid #d9e0de;padding:16px;line-height:1.6}.security-list{gap:10px;display:grid}.security-item{border-bottom:1px solid var(--line);justify-content:space-between;gap:18px;padding:13px 0;display:flex}.security-item:last-child{border-bottom:0}@media (max-width:1080px){.app-frame{grid-template-columns:1fr}.sidebar{height:auto;position:static}.nav{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4,.grid-3,.grid-2{grid-template-columns:1fr}}@media (max-width:720px){.main{padding:16px}.topbar,.topbar-actions,.case-card-header,.panel-header{flex-direction:column;align-items:stretch}.nav,.field-grid{grid-template-columns:1fr}.button,.button-secondary{width:100%}.score-card,.detail-row{grid-template-columns:1fr}}
