:root{font-family:Inter,"Malgun Gothic","Apple SD Gothic Neo",sans-serif;color:#1a3032;background:#f5f8f7;line-height:1.55;font-size:16px}*{box-sizing:border-box}body{margin:0}.wrap{width:min(1080px,92%);margin:auto}header{background:#123b3b;color:white}.brand{height:68px;display:flex;align-items:center;gap:12px;font-size:20px;font-weight:750;letter-spacing:-1px}.book{width:23px;height:27px;display:inline-block;border:2px solid #9be2c9;border-radius:3px;background:linear-gradient(90deg,transparent 21%,#9be2c9 22% 30%,transparent 31%)}main{padding:clamp(32px,5vw,72px) 0}h1,h2,p{margin:0}h1{font-size:clamp(32px,5vw,52px);line-height:1.22;letter-spacing:-.065em}h2{font-size:21px;letter-spacing:-.045em}.intro{margin:12px 0 30px;color:#536967}.upload{display:flex;align-items:center;gap:20px;padding:32px;border:1px dashed #75a69a;border-radius:15px;background:#e9f5ef}.upload.over{outline:3px solid #45856e}.upload button{margin-left:auto}.paper{flex:none;width:42px;height:52px;border:2px solid #437f72;border-radius:5px;background:linear-gradient(135deg,transparent 75%,#b4dcca 75%);display:grid;place-items:center}.paper i{border-block:2px solid #437f72;width:20px;height:9px}.upload p,.privacy{color:#4b635e}.privacy{font-size:14px;margin:12px 0 20px}button,select,input{font:inherit}button,select{border:1px solid #b8cbc4;border-radius:8px;background:white;color:#25433d;padding:8px 14px}button{cursor:pointer;font-weight:650}button:hover{background:#edf4ef}button.primary{background:#146a51;color:white;border-color:#146a51}button.primary:hover{background:#0e5742}button:disabled{opacity:.5;cursor:default}button:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #388d78;outline-offset:3px}#message:not(:empty){margin:18px 0;border-left:3px solid #298161;padding:6px 12px}#workspace{border-top:1px solid #cedad4;margin-top:28px;padding-top:24px}.sectionhead,.filters,.actions,nav{display:flex;align-items:center;gap:12px}.sectionhead{justify-content:space-between}.filters{flex-wrap:wrap;margin:18px 0}.filters label{font-size:14px;font-weight:600}.metrics{display:flex;gap:20px;margin:20px 0}.metrics div{border-left:2px solid #b2d4c5;padding-left:12px;flex:1;color:#536963;font-size:14px}.metrics strong{display:block;color:#174438;font-size:24px}.tablewrap{overflow:auto;border:1px solid #d2ded8;border-radius:10px;background:white;max-height:55vh}table{border-collapse:collapse;width:100%;white-space:nowrap}td,th{padding:10px 13px;text-align:left;border-bottom:1px solid #e3ebe6}th{position:sticky;top:0;font-size:14px;background:#e9f0ec;color:#38554a}.num{text-align:right;font-variant-numeric:tabular-nums}.warning{color:#955205}td button{padding:3px 10px}details{padding:12px 0}summary{cursor:pointer}.actions{justify-content:flex-end}dialog{border:1px solid #b9c9c1;border-radius:14px;padding:24px;width:min(420px,94vw);color:inherit}dialog::backdrop{background:#0b2425a6}dialog form label{display:block;margin:18px 0 4px}#secret{width:100%;padding:10px;border:1px solid #879e94;border-radius:7px}#pw-error{min-height:24px;color:#923f14}#viewer{width:min(1000px,96vw);max-height:92vh}nav{justify-content:center;margin:8px}#canvas{display:block;width:100%;height:auto}.sheet{overflow:auto;max-height:70vh;border:1px solid #d4dfd9}#empty{padding:18px}li{margin:.3em 0}@media(max-width:620px){.upload{flex-wrap:wrap;padding:20px;gap:13px}.upload button{margin-left:0;width:100%}.metrics{gap:8px}td,th{padding:8px}.actions button{flex-grow:1}}
