:root{color:#173126;font-synthesis:none;background:#f1f3ed;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,.button,input{font:inherit}.center{place-items:center;min-height:100dvh;display:grid}.spinner{border:3px solid #ccd5cd;border-top-color:#276147;border-radius:50%;width:32px;height:32px;animation:.75s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.nav{z-index:20;left:50%;bottom:max(12px,env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#173126e8;border-radius:999px;gap:4px;padding:4px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 8px 28px #0b201648}.nav button{color:#b7c6bc;background:0 0;border:0;border-radius:999px;padding:9px 22px;font-weight:700}.nav .active{color:#173126;background:#f4f1e7}.labeler{width:min(100%,600px);min-height:100dvh;padding:env(safe-area-inset-top) 16px calc(90px + env(safe-area-inset-bottom));flex-direction:column;margin:auto;display:flex}.topbar{justify-content:space-between;align-items:center;height:64px;display:flex}.topbar b{font-size:20px}.topbar span{color:#748278}.top-actions{gap:8px;display:flex}.top-actions button{color:#173126;background:#fff;border:0;border-radius:50%;width:40px;height:40px;font-size:20px;box-shadow:0 2px 10px #17312612}.top-actions button:disabled{opacity:.35}.progress{background:#dbe1da;border-radius:4px;height:4px;overflow:hidden}.progress span{background:#3f8b5d;height:100%;transition:width .3s;display:block}.card{touch-action:none;background:#e0e5de;border-radius:26px;flex:1;min-height:300px;margin:14px 0 12px;transition:transform .13s,opacity .13s;position:relative;overflow:hidden;box-shadow:0 16px 45px #17312618}.card.moving{opacity:.72;transform:scale(.985)}.crop-image{-webkit-user-select:none;user-select:none;background:#d9ded7;width:100%;height:100%;position:absolute;inset:0}.bbox-shadow,.bbox-outline{fill:none;pointer-events:none}.bbox-shadow{stroke:#0c1712;stroke-width:4px;stroke-opacity:.32}.bbox-outline{stroke:#fff;stroke-width:1.5px;stroke-opacity:.78;stroke-dasharray:5 4}.zoom-controls{color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#17261ed9;border:1px solid #ffffff40;border-radius:999px;align-items:center;gap:3px;padding:4px;display:flex;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 3px 14px #0003}.zoom-controls button{color:#fff;background:0 0;border:0;border-radius:50%;width:34px;height:34px;font-size:19px;font-weight:700}.zoom-controls button:disabled{opacity:.3}.zoom-controls span{text-align:center;font-variant-numeric:tabular-nums;min-width:43px;font-size:11px;font-weight:800}.empty{text-align:center;place-content:center;height:100%;min-height:300px;padding:30px;display:grid}.empty>span{font-size:48px}.empty h2{margin:8px}.empty p{color:#6d7b71}.controls{gap:10px;display:grid}.stage-grid{grid-template-columns:repeat(6,1fr);gap:8px;display:grid}.stage{color:#173126;text-align:left;border:0;border-radius:17px;grid-column:span 2;align-items:center;gap:8px;min-height:67px;padding:10px 12px;display:flex;box-shadow:0 2px 8px #17312610}.stage:nth-child(4){grid-column:2/span 2}.stage b,.stage-counts b{border:1px solid;border-radius:50%;place-items:center;min-width:29px;height:29px;display:grid}.stage span{font-size:13px;font-weight:750}.stage:active{transform:scale(.96)}button:disabled{opacity:.4}.s1{background:#d8e8d4}.s2{background:#cce5d9}.s3{background:#f1e9bd}.s4{background:#f2d5ad}.s5{background:#edc1bc}.secondary{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.secondary button{color:#536359;background:#fff;border:1px solid #d3d9d2;border-radius:13px;min-height:44px;font-size:13px;font-weight:700}.labeler footer{color:#6c7d71;justify-content:center;gap:20px;padding:12px 0;font-size:12px;display:flex}.error{z-index:30;color:#fff;background:#692e2e;border:0;border-radius:12px;width:min(90%,500px);padding:12px;position:fixed;top:70px;left:50%;transform:translate(-50%)}.modal-backdrop{z-index:50;background:#07110cbf;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:#f7f7f2;border-radius:24px;width:min(100%,720px);max-height:90dvh;padding:16px;overflow:auto}.modal-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.modal-head button{background:#e3e7e1;border:0;border-radius:50%;width:38px;height:38px;font-size:22px}.guide-row{border-top:1px solid #dde2dc;gap:14px;padding:14px 4px;display:flex}.guide-row>b{background:#dce9de;border-radius:50%;place-items:center;width:36px;height:36px;display:grid}.guide-row p{color:#6d7b71;margin:3px 0;font-size:14px}.admin{max-width:1120px;margin:auto;padding:50px 24px 120px}.admin>header{justify-content:space-between;align-items:end;margin-bottom:30px;display:flex}.admin h1{margin:5px 0;font-family:Georgia,serif;font-size:clamp(34px,6vw,60px);font-weight:500}.eyebrow{letter-spacing:.16em;color:#708076;font-size:11px;font-weight:800}.header-actions{align-items:center;gap:8px;display:flex}.refresh{color:#173126;background:0 0;border:1px solid #d1d8d0;border-radius:999px;padding:10px 17px;font-weight:700;text-decoration:none}.metric-grid{grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:18px;display:grid}.metric{background:#fff;border-radius:16px;padding:17px}.metric span{color:#718078;font-size:12px}.metric strong{margin-top:7px;font-family:Georgia,serif;font-size:31px;font-weight:500;display:block}.panel{background:#fff;border-radius:20px;padding:22px}.panel h2{margin:5px 0 10px;font-family:Georgia,serif;font-size:25px;font-weight:500}.panel p{color:#69776e;font-size:14px;line-height:1.5}.stage-counts{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.stage-counts>div{border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:10px 12px;display:grid}.stage-counts span{font-size:12px;font-weight:700}.stage-counts strong{font-size:20px}.admin-actions{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px;display:grid}.panel label{color:#69776e;font-size:12px}.panel input{border:1px solid #d3d9d2;border-radius:10px;width:100%;margin:5px 0 12px;padding:10px}.panel button,.button{color:#173126;background:#f4f6f2;border:1px solid #cdd6cf;border-radius:11px;padding:11px 14px;font-weight:700;text-decoration:none;display:inline-block}.panel .primary{color:#fff;background:#285f46;border-color:#285f46;width:100%}.panel .danger{color:#fff;background:#692e2e;border-color:#692e2e}.panel small{color:#829087;margin-top:14px;display:block}.button-row{flex-wrap:wrap;gap:8px;display:flex}.toast{z-index:30;color:#fff;background:#173126;border-radius:12px;padding:13px 20px;position:fixed;bottom:80px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #0004}.auth{place-items:center;min-height:100dvh;padding:30px;display:grid}.auth>div{max-width:480px}.auth span{letter-spacing:.2em;color:#708076}.auth h1{margin:10px 0;font-family:Georgia,serif;font-size:42px}.auth p{color:#702f2f}.auth small{color:#718078}.panel-title{justify-content:space-between;align-items:start;gap:16px;display:flex}.review-panel{margin-top:12px}.review-panel>.panel-title>button{flex:none}.review-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px;display:grid}.review-card{background:#f7f8f5;border:1px solid #dbe1da;border-radius:16px;overflow:hidden}.review-image{background:#d9ded7;height:230px;position:relative}.review-copy{justify-content:space-between;align-items:start;gap:10px;padding:12px;display:flex}.review-copy small{text-align:right;margin:0;font-size:10px;line-height:1.4}.review-stage{border-radius:999px;padding:7px 10px;font-size:12px;font-weight:850}.review-buttons{grid-template-columns:1fr 1fr;gap:7px;padding:0 12px 12px;display:grid}.review-buttons .accept{color:#fff;background:#285f46;border-color:#285f46}.review-buttons .reject{color:#7a3733;background:#fff;border-color:#d9b8b5}.review-empty{text-align:center;color:#75847a;border:1px dashed #ccd5ce;border-radius:14px;margin-top:16px;padding:32px;font-size:13px}@media (width<=760px){.admin{padding:32px 14px 110px}.metric-grid{grid-template-columns:repeat(2,1fr)}.stage-counts,.admin-actions,.review-grid{grid-template-columns:1fr}.admin>header{align-items:center}.stage-counts>div{grid-template-columns:auto 1fr auto}.labeler{padding-left:10px;padding-right:10px}.card{border-radius:20px}.review-image{height:300px}}@media (height>=780px){.stage{min-height:74px}.card{min-height:360px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.labeler footer{flex-wrap:wrap;align-items:center;gap:14px}.labeler footer button,.labeler footer a{color:#617268;background:0 0;border:0;padding:0;font-size:12px;text-decoration:underline}.header-actions{flex-wrap:wrap;justify-content:flex-end}.login{background:radial-gradient(circle at 80% 15%,#dce9df 0,#0000 32%),#f1f3ed;place-items:center;min-height:100dvh;padding:24px;display:grid}.login>section{background:#fff;border:1px solid #dce2dc;border-radius:26px;width:min(100%,410px);padding:30px;box-shadow:0 22px 65px #17312614}.login-mark{letter-spacing:.2em;color:#4e7b61;font-size:11px;font-weight:850}.login h1{margin:8px 0;font-family:Georgia,serif;font-size:39px;font-weight:500}.login p{color:#6c7b72;margin:0 0 24px;font-size:14px}.login form{gap:8px;display:grid}.login label{color:#617168;font-size:12px;font-weight:750}.login input{border:1px solid #cbd5cd;border-radius:13px;outline:none;width:100%;padding:14px;font-size:18px}.login input:focus{border-color:#397353;box-shadow:0 0 0 3px #3973531c}.login form button{color:#fff;background:#285f46;border:0;border-radius:13px;margin-top:4px;padding:14px;font-weight:800}.login>a{text-align:center;color:#526b5c;margin-top:20px;font-size:13px;display:block}.login small{color:#8a958e;text-align:center;margin-top:10px;font-size:11px;display:block}.login-error{color:#753d38;background:#f4e1de;border-radius:10px;margin-top:12px;padding:10px 12px;font-size:13px}
