@font-face{font-family:Geist;src:url('/font-medium.ttf') format('truetype');font-weight:500;font-display:swap}@font-face{font-family:Geist;src:url('/font-bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Geist;src:url('/font.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
:root{--ground:#f2f4f7;--surface:#fff;--ink:#151719;--muted:#62666b;--line:#e6e8eb;--blue:#1d5fbf;--radius:8px;color-scheme:light;font-family:Geist,Arial,sans-serif;color:var(--ink);background:var(--ground);font-size:16px;font-variant-numeric:tabular-nums}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--blue)}a{color:var(--blue);text-underline-offset:3px}button{cursor:pointer;border:1px solid #cdd1d6;background:white;border-radius:6px;min-height:40px;padding:8px 14px;font-size:.875rem;display:inline-flex;justify-content:center;align-items:center;gap:8px;white-space:nowrap}button:hover{border-color:#7d838c}button:disabled{cursor:not-allowed;color:#62666b;background:#eee;border-color:#d7d9dd}.primary{background:#17191c;color:white;border-color:#17191c}.primary:hover{background:#33383e}.danger{color:#9a2529}.ghost{border-color:transparent;background:transparent;padding:7px 9px}.muted,small{color:var(--muted)}small{font-size:.8125rem;line-height:1.6}h1{font-size:1.5rem;font-weight:500;letter-spacing:-.025em;margin:0 0 8px}h2{font-size:1.0625rem;font-weight:500;margin:0}h3{font-size:1rem;font-weight:500;margin:0}p{line-height:1.6;margin:8px 0}svg{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}input,select,textarea{border:1px solid #cdd1d6;border-radius:6px;padding:10px 12px;min-height:42px;background:white;max-width:100%}select{appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2362666b' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}textarea{resize:vertical;min-height:80px;width:100%;line-height:1.55}input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:#17191c}label{display:flex;flex-direction:column;gap:8px;font-size:.875rem}label.check{flex-direction:row;align-items:center;min-height:40px}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.layout{display:grid;grid-template-columns:64px minmax(0,1fr);min-height:100vh}.rail{position:sticky;top:0;height:100vh;border-right:1px solid #dde1e6;display:flex;align-items:center;flex-direction:column;padding:22px 6px;gap:12px}.mark{font-size:20px;letter-spacing:-4px;font-weight:700;margin-right:4px}.rail button{width:48px;height:48px;padding:0;border-color:transparent;background:transparent;color:#62666b;position:relative}.rail button.active{background:#e3e6ea;color:#17191c}.rail button span{position:absolute;left:56px;background:#17191c;color:white;z-index:6;border-radius:4px;padding:4px 8px;display:none}.rail button:hover span,.rail button:focus-visible span{display:block}.rail .spacer{flex:1}.canvas{padding:0 36px 40px;min-width:0;max-width:1600px;width:100%;margin:auto}.topbar{height:80px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dde1e6;gap:16px}.brand{font-weight:500;line-height:1.4}.brand small{display:block;font-weight:400}.account{display:flex;gap:12px;align-items:center;font-size:.875rem}.account .name{text-align:right}.avatar{width:36px;height:36px;border:1px solid #cfd3d9;border-radius:50%;display:grid;place-items:center;background:white}.pagehead{display:flex;justify-content:space-between;align-items:start;gap:24px;margin:32px 0 24px}.pagehead p{font-size:.875rem;color:var(--muted);margin:0}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;min-width:0}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:24px;align-items:start}.wide{grid-column:1/-1}.stats{display:grid;grid-template-columns:repeat(4,1fr);margin:0 0 24px;border:1px solid var(--line);border-radius:8px;background:white;padding:24px 0}.stat{padding:0 24px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat span{display:block;font-size:.875rem;color:var(--muted);margin-bottom:10px}.stat b{font-size:1.875rem;font-weight:400}.stat small{margin-left:6px}.pipeline{display:flex;gap:3px;height:8px;margin:24px 0 16px;background:#edf0f4;overflow:hidden;border-radius:4px}.pipeline i{background:var(--blue);opacity:.3}.pipeline i:last-child{opacity:1}.stages{display:grid;grid-template-columns:repeat(4,1fr);font-size:.875rem;gap:12px}.stages b{display:block;font-size:1.25rem;font-weight:400;margin-top:8px}.filters{display:flex;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.filters input[type=search]{min-width:220px;flex:1}.filters select{max-width:210px}.tableframe{overflow:auto}table{width:100%;border-collapse:collapse;font-size:.875rem;text-align:left}th{font-weight:400;color:var(--muted);font-size:.8125rem;padding:8px 12px 16px}td{padding:14px 12px;border-top:1px solid #edf0f2;vertical-align:middle}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0}.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.person{display:flex;gap:12px;align-items:center;min-width:150px}.person .avatar{width:32px;height:32px;font-size:.8125rem;flex:none}.person small{display:block}.badge{display:inline-flex;white-space:nowrap;align-items:center;background:#eef0f2;color:#43484e;border-radius:4px;padding:3px 7px;font-size:.8125rem}.badge.submitted{background:#edf3fc;color:#214d8b}.badge.returned{background:#fff5dd;color:#865707}.badge.approved{background:#eaf4ed;color:#25613b}.empty{padding:32px 16px;text-align:center;background:#fafbfc;border-radius:6px;margin-top:16px}.empty p{font-size:.875rem;color:var(--muted);max-width:500px;margin:10px auto 20px}.plainlist{list-style:none;padding:0;margin:0}.plainlist li{padding:15px 0;border-bottom:1px solid #edf0f2;display:flex;justify-content:space-between;gap:12px;align-items:center}.plainlist li:last-child{border:0;padding-bottom:0}.source{display:flex;flex-direction:column;gap:7px}.source strong{font-weight:500}.notice{padding:12px 16px;background:#f7f8fa;border:1px solid #e0e3e7;border-radius:6px;font-size:.875rem;line-height:1.6;margin:16px 0}.notice.warning{background:#fffaf0;border-color:#eee0bb;color:#80520e}.notice.error{color:#9a2529;background:#fff5f5}.steps{counter-reset:steps;list-style:none;padding:0}.steps li{display:flex;gap:14px;margin:20px 0;font-size:.875rem;line-height:1.6}.steps li:before{counter-increment:steps;content:counter(steps);border:1px solid #d7dce2;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex:none}.steps strong{display:block;font-weight:500}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.formgrid .full{grid-column:1/-1}.fieldnote{font-size:.8125rem;color:var(--muted)}.template{margin-bottom:24px}.templateheader{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:20px}.criteriaref{padding:18px 0;border-top:1px solid var(--line)}.criteriaref .row{display:flex;align-items:start;gap:16px;justify-content:space-between}.criteriaref summary{cursor:pointer;font-size:.875rem;line-height:1.6}.verbatim{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:.9375rem;color:#4e545b;margin-top:12px}.weight{white-space:nowrap;font-size:.875rem}.policyline{font-size:.875rem;line-height:1.7}.loading,.login{padding:40px;max-width:620px;margin:12vh auto}.login .brand{margin:24px 0 40px}.login .primary{margin:24px 0}.login h1{font-size:28px}.skeleton{height:44px;background:#e5e8ed;margin-top:20px;border-radius:6px}dialog{border:1px solid #d9dde2;border-radius:8px;padding:0;max-width:720px;width:calc(100% - 40px);max-height:90dvh;box-shadow:0 20px 60px #0002}dialog::backdrop{background:#10192366}dialog.review{width:min(1360px,calc(100% - 32px));max-width:1360px;height:calc(100dvh - 32px);max-height:none}dialog header{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;background:white;position:sticky;top:0;z-index:3}dialog .modalbody{padding:24px}dialog footer{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px;background:white;position:sticky;bottom:0;z-index:3;flex-wrap:wrap}.reviewlayout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;padding:24px;background:#f7f8fa;align-items:start}.reviewcontent{min-width:0}.criterion{padding:24px;background:white;border:1px solid var(--line);border-radius:8px;margin-bottom:16px}.criterionhead{display:flex;gap:20px;justify-content:space-between;align-items:start}.criterionhead h3{font-size:1rem;font-weight:500;white-space:pre-wrap;line-height:1.6}.criterionhead .weight{font-size:1.125rem}.criterion small{display:block;margin-top:4px}.criterion details{margin:16px 0}.criterion summary{font-size:.875rem;cursor:pointer;color:#48515d}.scorecols{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.scorecol{border-top:1px solid var(--line);padding-top:16px;min-width:0}.scorecol label{margin-top:12px}.scorecol input[type=number]{width:100%;font-size:1.125rem;font-variant-numeric:tabular-nums}.scorecol textarea{font-size:.875rem}.scorecol .heading{font-size:.875rem;font-weight:500;display:flex;justify-content:space-between;gap:8px}.scorecol input:disabled,.scorecol textarea:disabled{background:#f7f8fa;color:#555b63}.evidence{display:flex;flex-direction:column;gap:6px;margin-top:10px;font-size:.8125rem}.evidence a{overflow-wrap:anywhere}.evidence .evidenceitem{display:flex;justify-content:space-between;align-items:center;gap:8px}.evidence button{font-size:.8125rem;min-height:32px;padding:4px 8px}.scoretools{display:flex;gap:4px;flex-wrap:wrap;margin-top:8px}.scoretools button{font-size:.8125rem;padding:7px 10px}.reviewaside{position:sticky;top:88px}.summarytotal{font-size:2.25rem;font-weight:400;margin:16px 0 6px}.summarytotal small{font-size:1rem}.summaryrows{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:.875rem;margin:20px 0}.summaryrows span:nth-child(even){text-align:right}.summaryrows .total{border-top:1px solid var(--line);padding-top:16px}.progress{height:5px;background:#e9edf2;margin:16px 0}.progress i{display:block;background:var(--blue);height:100%}.adjustment{padding:12px 0;border-top:1px solid var(--line);font-size:.875rem}.adjustment strong{font-weight:500}.reviewaside .panel{padding:20px}.reviewaside button{width:100%;margin-top:8px}.feedback{margin-top:20px}.dirty{color:#80520e;font-size:.8125rem}.errorline{color:#9a2529;font-size:.875rem;white-space:pre-wrap;margin:12px 0;line-height:1.6}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:50;max-width:calc(100vw - 32px);background:#17191c;color:white;border-radius:6px;padding:12px 20px;display:none;font-size:.875rem}#toast.on{display:block}#printView{display:none}.historyitem{padding:16px 0;border-bottom:1px solid var(--line);font-size:.875rem}.historyitem small{display:block}.historyitem details{margin-top:10px}.historyitem pre{white-space:pre-wrap;font-size:.8125rem;overflow-wrap:anywhere}.two{display:grid;grid-template-columns:1fr 1fr;gap:24px}.chiprow{display:flex;gap:8px;flex-wrap:wrap}.chiprow button.active{border-color:#151719;background:#eceff3}.fieldweight{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:20px;align-items:center;padding:12px 0;border-top:1px solid var(--line);font-size:.875rem}.fieldweight input{width:90px;text-align:right}.footerstamp{color:var(--muted);font-size:.8125rem;margin:24px 0 0}.screen-error{padding:20px;border:1px solid #e3cccc;background:white;border-radius:8px}.mobilelabel{display:none}
/* 1440 = 64 rail + 2×36 gutter + 1304 canvas. Inside: (2fr + 1fr) + 24 gap. */
@media(max-width:1100px){.canvas{padding:0 24px 32px}.grid{grid-template-columns:minmax(0,1fr)}.reviewlayout{grid-template-columns:minmax(0,1fr) 240px;gap:16px;padding:16px}.reviewaside .panel{padding:16px}.criterion{padding:20px}}
@media(max-width:700px){.layout{display:block}.rail{position:fixed;top:auto;bottom:0;width:100%;height:68px;background:#f2f4f7;flex-direction:row;padding:4px;gap:0;justify-content:space-around;z-index:8;border-top:1px solid #dce0e5;border-right:0}.rail .mark,.rail .spacer{display:none}.rail button{height:58px;flex:1;width:auto;flex-direction:column;gap:4px}.rail button span{position:static;display:block!important;font-size:11px;background:transparent;color:inherit;padding:0}.canvas{padding:0 16px 88px}.topbar{height:76px}.topbar .account .name{display:none}.brand{font-size:.875rem}.brand small{font-size:.75rem}.account{gap:3px}.account .avatar{display:none}.pagehead{margin:24px 0 20px;gap:12px;flex-wrap:wrap}.pagehead h1{font-size:1.375rem}.pagehead .actions{width:100%}.actions button{min-height:44px}.stats{grid-template-columns:1fr 1fr;padding:0;margin-bottom:20px}.stat{padding:18px;border:0}.stat:nth-child(odd){border-right:1px solid var(--line)}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.stat b{font-size:1.625rem}.panel{padding:18px}.grid{gap:20px}.stages{font-size:.75rem;gap:8px}.stages b{font-size:1.125rem}.sectionhead{gap:8px}.formgrid,.two{grid-template-columns:1fr}.formgrid .full{grid-column:auto}.filters{gap:8px}.filters input[type=search]{flex-basis:100%;min-width:0}.filters select{flex:1;min-width:0;max-width:none}.filters input[type=month]{width:100%}.tableframe{overflow:visible}.reviewtable thead{display:none}.reviewtable tr{display:grid;grid-template-columns:1fr auto;gap:8px;padding:16px 0;border-top:1px solid var(--line)}.reviewtable td{border:0;padding:0;min-width:0}.reviewtable .personcell{grid-column:1/-1}.reviewtable td.num{display:flex;justify-content:space-between;font-size:.8125rem;gap:8px}.reviewtable td.num .mobilelabel{display:inline;color:var(--muted)}.reviewtable td.statuscell{align-self:center}.reviewtable td.actioncell{text-align:right;grid-column:2;grid-row:3}.reviewtable .meta{font-size:.8125rem;color:var(--muted)}.reviewtable button{min-height:44px}.templateheader{flex-direction:column}.templateheader .actions{width:100%}dialog{width:calc(100% - 24px);max-height:95dvh}dialog.review{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}dialog header{padding:14px 16px;gap:8px}dialog header h2{font-size:.9375rem}dialog .modalbody{padding:18px}dialog footer{padding:12px 16px;gap:8px}dialog footer button{min-height:44px}.reviewlayout{display:flex;flex-direction:column;padding:12px;gap:12px}.reviewaside{position:static;order:-1;width:100%}.reviewaside .panel{padding:16px}.reviewaside .summarytotal{font-size:1.625rem;margin:8px 0}.reviewaside .summaryrows{gap:8px;margin:12px 0}.reviewaside .progress{margin:12px 0}.reviewaside details{margin-top:8px}.criterion{padding:16px;margin-bottom:12px}.criterionhead{gap:12px}.criterionhead h3{font-size:.9375rem}.criterionhead .weight{font-size:1rem}.scorecols{gap:12px}.scorecol .heading{font-size:.8125rem}.scorecol .heading small{display:none}.scorecol input[type=number]{padding:10px 8px;min-height:44px}.scorecol textarea{padding:9px;min-height:100px}.scoretools{flex-direction:column}.scoretools button{min-height:40px}.scorecol label{font-size:.8125rem}.verbatim{font-size:.875rem}.reviewcontent{width:100%}.loading,.login{padding:24px;margin:8vh auto}.login h1{font-size:24px}.fieldweight{grid-template-columns:minmax(0,1fr) 78px;gap:12px}.fieldweight input{width:78px}.person{min-width:0}.notice{padding:12px}.review footer .secondary{display:none}}
@media print{body{background:white;font-family:Arial,sans-serif}#app,#modal,#toast{display:none!important}#printView{display:block;font-size:11pt;padding:0}#printView h1{font-size:18pt}#printView table{font-size:10pt;width:100%}#printView th,#printView td{border:1px solid #aaa;padding:6px;white-space:normal;text-align:left}#printView .printcriterion{break-inside:avoid;border-top:1px solid #bbb;padding:12px 0}#printView p{white-space:pre-wrap}#printView small{color:#333}#printView .printcols{display:grid;grid-template-columns:1fr 1fr;gap:20px}@page{size:A4;margin:15mm}}

.mobilelogout{display:none}dialog header .actions{flex-wrap:nowrap;flex-shrink:0}
@media(max-width:700px){.rail{padding-left:12px;padding-right:12px}.rail button[data-logout]{display:none}.rail button span{font-size:12px}.mobilelogout{display:inline-flex}.topbar .account .ghost{min-width:44px;min-height:44px}}

@media(max-width:700px){.overviewProgress .pipeline,.overviewProgress .stages,.overviewProgress hr{display:none}.stat{padding:14px 18px}.stat span{margin-bottom:6px}}
