:root{font-family:Inter,Segoe UI,Arial,"Khmer OS",sans-serif;color:#192a3a;background:#f3f5f7;font-synthesis:none;--nav:#101f30;--teal:#087f72;--line:#dfe5eb;--muted:#667587;--amber:#aa5c0b}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.48;cursor:wait}button,.button{border:1px solid var(--line);background:white;border-radius:8px;padding:10px 15px;font-size:14px;font-weight:600;color:#243b50;text-decoration:none;display:inline-flex;gap:8px;align-items:center;justify-content:center}.primary{background:var(--teal);color:white;border-color:var(--teal)}.quiet{background:transparent;border-color:transparent}.danger{color:#ae3444}a{color:var(--teal)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.8px;margin-bottom:9px}h2{font-size:20px;letter-spacing:-.35px}h3{font-size:16px}p{line-height:1.65}small,.small{font-size:13px;color:var(--muted);line-height:1.5}.muted{color:var(--muted)}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#bac9d6;padding:28px 20px;display:flex;flex-direction:column;gap:24px;position:sticky;top:0;height:100vh}.brand{display:flex;gap:11px;align-items:center;color:white;font-weight:700;font-size:20px}.brand-icon{background:#1c3c4a;color:#62e0bd;border:1px solid #36525c;border-radius:10px;padding:9px;font-size:17px}.brand small{display:block;color:#8fa7ba;font-size:11px;letter-spacing:2px;margin-top:5px}.nav-label{color:#7892a8;font-size:11px;letter-spacing:1.6px;font-weight:700;margin:8px 10px}.sidebar nav{display:grid;gap:5px}.sidebar nav button{background:transparent;color:#bfcdda;border:none;justify-content:start;padding:12px;font-weight:500}.sidebar nav button.active{background:#21434c;color:#8ce8cd}.nav-symbol{width:22px;font-size:18px}.sidebar-footer{margin-top:auto;border-top:1px solid #2b3f50;padding-top:20px}.sidebar-footer p{font-size:13px}.sidebar .quiet{color:#bfcdda;padding-left:0}.workspace{min-width:0}.topbar{background:white;border-bottom:1px solid var(--line);height:73px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:16px}.breadcrumb{font-size:14px;color:var(--muted)}.breadcrumb strong{color:#33495b;font-weight:500}.identity{display:flex;gap:12px;align-items:center;font-size:13px}.avatar{border-radius:50%;width:32px;height:32px;background:#e5f4ef;color:var(--teal);display:grid;place-items:center;font-weight:700}.content{max-width:1440px;margin:0 auto;padding:34px 36px 64px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;color:var(--teal);margin-bottom:12px}.page-head p{color:var(--muted);font-size:14px;max-width:680px;margin-bottom:0}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat{border:1px solid var(--line);background:white;border-radius:12px;padding:20px}.stat-label{font-size:13px;color:var(--muted);margin-bottom:15px;display:flex;justify-content:space-between}.stat-value{font-size:31px;font-weight:650;letter-spacing:-1px;margin-bottom:8px}.stat small{font-size:12px}.panel{background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:20px;overflow:hidden}.panel-head{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line)}.panel-head h2{margin:0;font-size:17px}.panel-body{padding:24px}.grid-two{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:20px}.tag{font-size:12px;display:inline-block;border-radius:5px;padding:5px 8px;font-weight:600;background:#eef2f6;color:#496079;white-space:nowrap}.tag.teal{color:#086d5f;background:#e1f5ed}.tag.amber{color:#8f530e;background:#fff1d8}.tag.red{color:#a6384a;background:#fce8eb}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}th{font-size:11px;text-transform:uppercase;letter-spacing:.7px;color:#728093;background:#fafbfc;font-weight:650;padding:14px 20px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:18px 20px;border-bottom:1px solid #edf0f3;vertical-align:middle}tr:last-child td{border-bottom:0}.row-title{font-weight:600;color:#263d51;display:block;margin-bottom:5px}.row-title.link{padding:0;border:0;text-align:left;background:none;justify-content:start;font-size:14px}.row-title.link:hover{text-decoration:underline}.progress-track{height:6px;background:#e8eef1;border-radius:5px;width:100%;min-width:70px;overflow:hidden}.progress-fill{background:var(--teal);height:100%;border-radius:5px}.progress-label{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:7px}.timeline{display:grid;gap:0}.timeline-item{display:flex;gap:14px;padding:0 0 21px;position:relative}.timeline-item:before{content:'';position:absolute;left:8px;top:18px;bottom:0;border-left:1px solid #dce4e7}.timeline-item:last-child:before{display:none}.timeline-dot{height:18px;width:18px;flex-shrink:0;border-radius:50%;background:#e7f5f0;border:5px solid #beddd1}.timeline-item strong{font-size:14px;display:block;margin-bottom:5px}.timeline-item small{display:block}.notice{background:#eef8f5;border:1px solid #d4eae2;border-radius:9px;padding:14px 17px;color:#356455;font-size:13px;line-height:1.6;margin-bottom:20px}.notice.amber{background:#fff7e8;border-color:#f1e3c5;color:#805d24}.toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px}input,select,textarea{width:100%;border:1px solid #cfd9e1;border-radius:7px;padding:10px 12px;background:white;color:#20374b;min-height:42px;font-size:14px}textarea{min-height:100px;resize:vertical;line-height:1.6}.toolbar input{max-width:330px}.tabs{display:flex;gap:6px;overflow:auto;border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:0}.tabs button{border:0;border-radius:0;background:transparent;color:#6a7988;padding:14px 16px;border-bottom:2px solid transparent;white-space:nowrap}.tabs button.active{border-bottom-color:var(--teal);color:var(--teal)}.empty{padding:38px 24px;text-align:center}.empty h3{margin-bottom:8px}.empty p{color:var(--muted);font-size:14px}.issue{padding:15px 0;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:start}.issue:last-child{border-bottom:0}.issue p{font-size:13px;margin:6px 0 0;color:var(--muted)}.result-card{padding:20px;border:1px solid var(--line);border-left:3px solid var(--teal);border-radius:9px;margin-bottom:13px}.result-card h3{margin:12px 0 8px}.result-card p{margin-bottom:10px;font-size:14px}.result-card.level-Outcome{margin-left:18px;border-left-color:#4186a4}.result-card.level-Output{margin-left:36px;border-left-color:#ab8b54}.inline-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.cycle{display:flex;gap:4px;margin:22px 0;overflow:auto}.cycle span{flex:1;background:#e5ecef;border-radius:3px;font-size:11px;padding:8px 6px;text-align:center;min-width:80px;color:#607183}.cycle span.current{background:#156e66;color:white}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:grid;gap:7px;font-size:13px;font-weight:600;color:#42566a}.field.wide{grid-column:1/-1}.field small{font-weight:400}.form-actions{display:flex;justify-content:end;gap:10px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}dialog{border:1px solid var(--line);border-radius:14px;padding:0;width:min(720px,calc(100% - 30px));max-height:90vh;box-shadow:0 25px 100px #00152844}dialog::backdrop{background:#10243880;backdrop-filter:blur(2px)}#modal-content{padding:28px}.modal-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:24px}.modal-head h2{margin:5px 0}.modal-head button{padding:4px 9px}.error{color:#a52d43;background:#fff0f2;border-radius:6px;padding:12px;font-size:14px;margin-bottom:16px}.hidden{display:none!important}#toast{position:fixed;bottom:24px;right:24px;background:#143d37;color:white;border-radius:9px;padding:14px 22px;max-width:450px;z-index:100;box-shadow:0 8px 25px #0002;display:none;font-size:14px}#toast.visible{display:block}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-aside{background:var(--nav);color:white;padding:10vw 7vw;display:flex;flex-direction:column;justify-content:center}.auth-aside h1{font-size:44px;max-width:450px;margin:42px 0 24px;line-height:1.17}.auth-aside p{color:#a8bdcd;font-size:16px;max-width:420px}.auth-main{display:grid;place-items:center;padding:40px}.auth-form{max-width:410px;width:100%}.auth-form h2{font-size:26px}.auth-form .field{margin:20px 0}.auth-form .primary{width:100%;margin-top:10px}.checkbox{display:flex;gap:9px;align-items:start;font-size:13px;line-height:1.6}.checkbox input{width:18px;min-height:18px;flex-shrink:0;margin-top:2px}.criterion-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.criterion{border:1px solid var(--line);padding:21px;border-radius:9px}.criterion p{font-size:14px;margin:12px 0}.criterion h3{display:flex;justify-content:space-between;gap:12px}.mono{font-family:Consolas,monospace}.excerpts{white-space:pre-wrap;word-break:break-word;font-size:14px;line-height:1.7;background:#f6f8fa;padding:18px;border-radius:8px;max-height:360px;overflow:auto}.footer-note{margin-top:20px;font-size:12px;color:#778697}.boot{padding:50px;text-align:center}.step-number{font-size:12px;font-weight:700;color:var(--teal);margin-right:12px}.report-header{display:none}td .actions button{padding:5px 8px;font-size:12px}select.language{width:95px;font-size:12px;min-height:30px;padding:6px}.kpi-title{color:#425d73;font-size:14px;margin-bottom:10px}.consultation{border-left:3px solid #6fa199;padding-left:18px;margin:20px 0}.consultation p{font-size:14px}.scm-formula{background:#102c3b;color:#b8d6dc;padding:20px 24px;font-size:14px;border-radius:10px;margin-bottom:22px;line-height:1.8}.scm-formula strong{color:#6ce1bd}.link-text{word-break:break-word}.search-count{align-self:center;color:var(--muted);font-size:13px}
@media(max-width:1100px){.shell{grid-template-columns:205px minmax(0,1fr)}.content{padding:28px 22px}.topbar{padding:0 22px}.stats{gap:10px}.stat{padding:15px}.grid-two{grid-template-columns:1fr}.stat-value{font-size:27px}.criterion-grid{grid-template-columns:1fr}}
@media(max-width:760px){.shell{display:block}.sidebar{position:static;height:auto;padding:17px 18px;gap:14px}.sidebar nav{display:flex;overflow:auto}.sidebar nav button{white-space:nowrap;padding:9px}.sidebar-footer,.nav-label{display:none}.brand{font-size:17px}.brand small{display:none}.topbar{height:auto;min-height:60px;padding:12px 18px}.content{padding:24px 16px}.stats{grid-template-columns:1fr 1fr}.page-head{flex-direction:column}h1{font-size:26px}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.auth{grid-template-columns:1fr}.auth-aside{padding:32px}.auth-aside h1{font-size:28px;margin:22px 0 12px}.auth-aside p{margin:0}.auth-main{padding:30px}.identity .role-label{display:none}.panel-head{padding:18px}.panel-body{padding:18px}.result-card.level-Output{margin-left:16px}.result-card.level-Outcome{margin-left:8px}}
@media print{body{background:white;color:black}.sidebar,.topbar,.page-head .actions,.tabs,.toolbar,.trip-action,button,#toast,dialog,.no-print{display:none!important}.shell{display:block}.content{padding:0;max-width:none}.panel{break-inside:auto;border:1px solid #ccc}.panel-head{padding:12px}.panel-body{padding:12px}.stat,.criterion,.result-card,tr{break-inside:avoid}.stats{grid-template-columns:repeat(4,1fr)}.grid-two,.criterion-grid{display:block}.criterion{margin-bottom:14px}.report-header{display:block;border-bottom:2px solid #183d42;margin-bottom:20px;padding-bottom:12px}.table-wrap{overflow:visible}table{font-size:11px}td,th{padding:8px}.notice{font-size:11px}a{color:black}.excerpts{max-height:none} @page{size:A4;margin:14mm}}
/* Combined reports use narrow field lists to avoid clipped wide tables on A4. */
.combined-report{max-width:100%;overflow-wrap:anywhere}
.report-cover{border-bottom:3px solid #176b65;padding:20px 0;margin-bottom:24px}
.report-section{margin:24px 0;padding:20px;background:white;border:1px solid #dce5e7;border-radius:10px}
.report-section>h2{border-bottom:1px solid #dce5e7;padding-bottom:12px;margin-bottom:16px}
.report-record{margin:16px 0;padding-bottom:16px;border-bottom:1px solid #e3e8eb}
.report-record h3,.report-record h4{margin:12px 0 6px}
.report-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
.report-fields dt{font-size:12px;font-weight:700;color:#476067}
.report-fields dd{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.report-text{white-space:pre-wrap}
.report-source{border-left:3px solid #9cbcb7;padding-left:12px;margin:12px 0}
td small{display:block;margin-top:4px}
@media(max-width:700px){.report-fields{grid-template-columns:1fr}}
@media print{
 .content:has(.combined-report)>.report-header,.content:has(.combined-report)>.page-head,.content:has(.combined-report)>.notice{display:none!important}
 .combined-report{font-size:10pt;line-height:1.5}
 .report-cover{padding:0 0 10mm}
 .report-section{border:0;padding:0;border-radius:0;break-before:page}
 .report-section h2,.report-record h3,.report-record h4{break-after:avoid}
 .report-record,.report-source,.report-fields{break-inside:auto}
 .report-fields{display:block}
 .report-fields>div{margin-bottom:3mm}
 .report-fields dt{break-after:avoid}
 .report-fields dd,.report-text{orphans:3;widows:3}
 .report-source{border-left:1px solid #aaa}
}
