:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#182b49;background:#eef2f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{padding:24px max(20px,calc((100vw - 720px)/2));background:#17365e;color:white;display:flex;justify-content:space-between;gap:16px;align-items:center}.brand{font-size:23px;font-weight:750;white-space:nowrap}.brand span{display:block;margin-top:6px;font-size:12px;font-weight:400;opacity:.7}.identity{font-size:15px;background:#ffffff18;border:1px solid #ffffff38;border-radius:10px;padding:10px 14px;overflow-wrap:anywhere}main{max-width:760px;margin:0 auto;padding:20px}.card{background:white;border:1px solid #dee5ee;border-radius:18px;padding:24px;margin-bottom:18px;box-shadow:0 6px 24px #18365d06}h1{font-size:25px;line-height:1.45;margin:8px 0 12px;overflow-wrap:anywhere}h2{font-size:18px;margin:0}.eyebrow{color:#3366a3;font-size:12px;font-weight:700;letter-spacing:1px}.project-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px;color:#66758a;padding-bottom:18px;border-bottom:1px solid #e7ecf1}.criterion{margin:22px 0}.criterion label{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-weight:650;margin-bottom:8px}.criterion label span{font-size:13px;color:#66758a;font-weight:400}.criterion small{display:block;color:#66758a;white-space:pre-wrap;line-height:1.6;margin:8px 0}.criterion input{width:100%;padding:14px 16px;border-radius:10px;border:1px solid #c9d5e3;font:inherit;font-size:24px;color:#17365e;background:#f8fafd}.criterion input:focus{outline:2px solid #4a80bf;outline-offset:2px}.total{display:flex;justify-content:space-between;align-items:baseline;padding:18px;background:#edf4fc;border-radius:12px;margin:24px 0 16px}.total strong{font-size:32px;color:#245e9e}button{background:#245e9e;border:0;border-radius:12px;color:white;font:inherit;font-weight:650;min-height:52px;width:100%;padding:12px;cursor:pointer}button:disabled{opacity:.55;cursor:wait}.muted{color:#66758a;font-size:14px;line-height:1.7}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.section-heading span{font-size:12px;color:#66758a}.history-item{padding:16px 0;border-top:1px solid #edf0f4}.history-top{display:flex;justify-content:space-between;gap:12px;overflow-wrap:anywhere}.history-item time{display:block;color:#8491a3;font-size:12px;margin:6px 0}.history-item p{margin:6px 0;color:#66758a;font-size:13px;line-height:1.7}.status{display:inline-block;padding:3px 8px;border-radius:5px;font-size:11px;color:#2c6a47;background:#edf7f0;margin-top:6px}.waiting{text-align:center;padding:24px 4px}.waiting .symbol{font-size:42px;color:#6786ac;margin:8px}.waiting h1{font-size:22px}footer{text-align:center;color:#8994a3;font-size:12px;line-height:1.8;padding:8px 4px 24px}#notice:empty{display:none}#notice{padding:14px 16px;border-radius:10px;background:#fff5de;color:#835710;font-size:14px;margin-bottom:16px;line-height:1.6}.good{background:#e8f5ed!important;color:#286443!important}@media(max-width:420px){header{padding:20px 16px}.brand{font-size:20px}.identity{font-size:13px;padding:9px}main{padding:14px}.card{padding:20px;border-radius:14px}}

.confirm-backdrop{position:fixed;inset:0;background:#14233688;z-index:1000;padding:20px;display:flex;align-items:center;justify-content:center}.confirm-backdrop section{background:white;border-radius:16px;padding:24px;width:min(440px,100%);box-shadow:0 16px 64px #0003}.confirm-backdrop p{white-space:pre-wrap;line-height:1.75;overflow-wrap:anywhere}.confirm-backdrop section>div{display:flex;gap:10px}.confirm-backdrop #cancelScore{background:#edf2f8;color:#345474}

/* Direct input and bounded slider stay on the same row. */
.score-controls{display:grid;grid-template-columns:86px minmax(0,1fr);align-items:center;gap:16px}
.score-controls input[type="number"]{padding:10px 8px;font-size:24px;min-width:0;text-align:center}
.score-slider{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0}
.score-slider>span{font-size:13px;font-variant-numeric:tabular-nums;color:#66758a}
.criterion .score-slider input[type="range"]{width:100%;min-width:0;height:44px;padding:0;border:0;border-radius:0;background:transparent;accent-color:#245e9e;cursor:pointer;touch-action:pan-y}
.criterion .score-slider input[type="range"]:focus{outline-offset:2px}
.confirm-backdrop section{max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto}
.confirm-scores{margin:16px 0;padding:0;border-top:1px solid #e1e7ef}
.confirm-scores>div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #e1e7ef}
.confirm-scores dt{overflow-wrap:anywhere;min-width:0}.confirm-scores dd{margin:0;white-space:nowrap;font-weight:650}
.confirm-backdrop section>.confirm-total{display:flex;justify-content:space-between;gap:16px;padding:14px;background:#edf4fc;color:#245e9e;border-radius:10px;margin:0 0 20px;font-size:20px}
.confirm-backdrop section>.confirm-actions{position:sticky;bottom:0;background:#fff;padding-top:4px}
@media(max-width:360px){.score-controls{grid-template-columns:74px minmax(0,1fr);gap:10px}.score-slider{gap:6px}}

.score-error{color:#b42318;font-size:13px;margin:6px 0 0}.criterion input[aria-invalid="true"]{border-color:#b42318}

.history-filter{display:flex;align-items:center;gap:8px;cursor:pointer;flex-shrink:0}.history-filter input{appearance:none;-webkit-appearance:none;width:38px;height:22px;margin:0;background:#bbc7d5;border-radius:20px;position:relative;cursor:pointer;transition:background .15s}.history-filter input:before{content:"";position:absolute;width:18px;height:18px;top:2px;left:2px;background:white;border-radius:50%;transition:transform .15s}.history-filter input:checked{background:#245e9e}.history-filter input:checked:before{transform:translateX(16px)}.history-filter input:focus-visible{outline:2px solid #4a80bf;outline-offset:3px}
