
:root{--orange:#f58220;--blue:#a9c7e8;--ink:#243b53;--muted:#6d8094;--bg:#f3f6fa;--line:#dce5ee;--green:#27794e;--red:#b33c43;--shadow:0 6px 30px #243b5308;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);padding:12px 16px;font-weight:600;min-height:44px}button:hover{border-color:#8aa7c3;background:#f6f9fc}button:focus-visible,a:focus-visible{outline:3px solid #4985b6;outline-offset:2px}button.primary{background:var(--orange);border-color:var(--orange);color:#273647}button.danger{color:var(--red)}button.icon{padding:9px;display:grid;place-items:center}button:disabled{opacity:.55;cursor:default}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.layout{min-height:100dvh;display:grid;grid-template-columns:238px minmax(0,1fr)}aside{position:sticky;top:0;height:100dvh;background:#fff;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column;gap:28px}.brand{display:flex;align-items:center;gap:11px}.brand-mark{background:var(--orange);width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:white}.brand strong{font-size:19px;letter-spacing:-.7px}.brand small{font-size:10px;letter-spacing:2px;display:block;margin-top:5px;color:var(--muted)}nav{display:flex;flex-direction:column;gap:7px}nav button{display:flex;align-items:center;gap:13px;border:0;text-align:left;padding:14px;color:#718398}nav button.active{background:#e7eff9;color:#284e75}aside footer{margin-top:auto;border-top:1px solid var(--line);padding-top:20px;color:var(--muted);font-size:12px;line-height:1.7}.profile-mini{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0}.avatar{width:38px;height:38px;border-radius:50%;background:#dce9f7;display:grid;place-items:center;color:#365b7d;font-weight:650;object-fit:cover;flex-shrink:0}.avatar.large{width:88px;height:88px;font-size:28px}.content{min-width:0}.topbar{height:82px;background:#ffffffb8;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 40px}.eyebrow{text-transform:uppercase;letter-spacing:1.7px;font-size:11px;font-weight:700;color:var(--muted)}.topbar .title{font-size:14px;font-weight:600}.state{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}.dot{width:7px;height:7px;background:#67a77e;border-radius:50%}main{max-width:1320px;margin:auto;padding:34px 40px 65px}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}h1{font-size:32px;letter-spacing:-1px;line-height:1.2;margin:8px 0 9px}h2{font-size:19px;letter-spacing:-.35px;margin:0 0 17px}h3{font-size:16px;margin:0 0 7px}p{line-height:1.6;margin:8px 0}.muted,.sub{color:var(--muted);font-size:14px}.sub{margin-top:3px}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:23px;box-shadow:var(--shadow);margin-bottom:18px}.hero{background:#dfeaf8;border:0;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:27px 30px}.hero p{max-width:490px}.hero-art{width:100px;height:100px;border:1px solid #b8cee4;border-radius:28px;transform:rotate(8deg);display:grid;place-items:center;background:#ffffff80;flex-shrink:0}.hero-art svg{width:48px;height:48px;color:#46739c}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.stat{border:1px solid var(--line);border-radius:16px;padding:20px;background:white}.stat b{font-size:32px;display:block;letter-spacing:-1px;margin-top:12px}.stat span{font-size:12px;color:var(--muted)}.stat.orange{background:#fff0e2;border-color:#f7d7bc}.stat.blue{background:#e8f0fb;border-color:#cfdded}.toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:19px}.toolbar input{flex:1;min-width:160px}.toolbar select{max-width:200px}input,textarea,select{border:1px solid var(--line);border-radius:11px;background:white;color:var(--ink);padding:12px;width:100%;min-height:46px}input[type=checkbox]{width:20px;min-height:20px;accent-color:#4273a0}textarea{resize:vertical;min-height:100px}label{display:block;font-size:13px;font-weight:600;margin:15px 0 8px}label.check{display:flex;gap:11px;align-items:center;font-weight:400}.grid2{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 4px}.actions button{display:flex;align-items:center;justify-content:center;gap:8px}.row{display:flex;align-items:center;gap:14px;width:100%;text-align:left;margin:10px 0;padding:16px;border-radius:13px;background:white;border:1px solid var(--line);font-weight:400}.row .grow{flex:1;min-width:0}.row strong{display:block;font-size:15px;line-height:1.5}.row small{display:block;line-height:1.5;color:var(--muted);font-size:12px;margin-top:4px}.row.ok{background:#edf7f1;border-color:#c7e2d1;border-left:4px solid #66a981}.row.bad{background:#fff0f0;border-color:#edccce;border-left:4px solid #d06a72}.row.na{background:#edf3fc;border-left:4px solid #93b2d2}.row.blank{background:#f4f6f8;border-left:4px solid #a8b3bf}.badge{border-radius:7px;background:#eef2f6;color:#65788c;font-size:11px;display:inline-flex;padding:5px 8px;white-space:nowrap;font-weight:650}.badge.ok{background:#dff0e5;color:#27794e}.badge.bad{background:#f9e0e2;color:#ad3d46}.badge.na{background:#dce9f8;color:#426b94}.empty{text-align:center;padding:42px 20px}.empty .symbol{display:grid;place-items:center;border-radius:18px;background:#eaf1fa;width:64px;height:64px;margin:0 auto 18px;color:#54799e}.empty p{max-width:400px;margin:8px auto 18px}.progress{height:8px;border-radius:10px;background:#e4edf6;overflow:hidden;margin:15px 0 7px}.progress>i{display:block;height:100%;background:var(--orange);border-radius:10px}.bar-row{margin:18px 0}.bar-label{display:flex;justify-content:space-between;gap:15px;font-size:13px;margin-bottom:8px}.bar{height:10px;background:#edf2f8;border-radius:8px;overflow:hidden}.bar i{height:100%;display:block;background:var(--orange);border-radius:8px}.donut{width:190px;height:190px;border-radius:50%;display:grid;place-items:center;margin:20px auto}.donut>div{width:138px;height:138px;background:white;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut b{font-size:31px}.donut span{font-size:12px;color:var(--muted)}.legend{display:grid;gap:14px}.legend>div{display:flex;align-items:center;gap:10px;font-size:13px}.legend i{width:10px;height:10px;border-radius:3px}.legend b{margin-left:auto}.rank{font-size:19px;font-weight:700;color:#7894ad;min-width:28px}.rank:first-letter{color:#426f9a}.photo{width:100%;max-height:360px;object-fit:contain;border-radius:13px;background:#eff4fa;margin:12px 0}.status-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0}.status-choices button{font-size:13px;padding:12px 8px}.status-choices button.selected{outline:2px solid #345b81;outline-offset:2px}.back{border:0;background:transparent;color:#547391;display:flex;align-items:center;gap:8px;padding:0;margin:0 0 20px;font-size:13px}.notice{border:1px solid #cbdcf0;border-radius:12px;padding:15px;background:#edf4fc;font-size:13px;line-height:1.6;margin:14px 0}.notice.error{border-color:#e3a3a8;background:#fff0f0;color:#a43b44}.section-title{margin-top:24px}.mobile-nav{display:none}.login{max-width:450px;margin:7vh auto}.login .brand{margin-bottom:32px}.login h1{font-size:30px}.login button.primary{width:100%;margin-top:18px}.login label{margin-top:24px}#toast{position:fixed;left:50%;bottom:95px;transform:translateX(-50%);background:#243b53;color:white;border-radius:12px;padding:14px 20px;box-shadow:0 5px 20px #0002;max-width:90vw;z-index:100;display:none;font-size:14px}dialog{border:1px solid var(--line);border-radius:18px;max-width:450px;width:calc(100% - 32px);padding:25px;color:var(--ink)}dialog::backdrop{background:#1b2d4266}.loading{padding:40px}.log{white-space:pre-wrap;font-size:13px;line-height:1.8}.storage{font-size:11px;color:var(--muted)}a{color:#365f8d}.install-steps{padding-left:20px;line-height:1.9}.version{font-size:11px;color:var(--muted);margin-top:6px}
@media(min-width:1600px){main{padding-top:46px}}@media(max-width:1000px){.layout{grid-template-columns:190px minmax(0,1fr)}aside{padding:28px 13px}.topbar{padding:0 25px}main{padding:28px 25px 55px}.grid2{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.layout{display:block}aside{display:none}.topbar{height:65px;padding:0 20px;padding-top:env(safe-area-inset-top)}.topbar .state{font-size:10px}main{padding:23px 17px calc(105px + env(safe-area-inset-bottom))}.page-head{align-items:flex-start;gap:12px}h1{font-size:27px}.page-head button{font-size:12px;padding:10px}.card{padding:18px;border-radius:15px}.hero{padding:21px;gap:15px}.hero-art{width:58px;height:68px;border-radius:18px}.hero-art svg{width:30px;height:30px}.hero h2{font-size:18px}.hero p{font-size:13px}.stat{padding:16px}.stat b{font-size:28px}.fields{grid-template-columns:1fr}.row{padding:13px;gap:10px}.row>svg:last-child{width:17px}.badge{font-size:10px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:20;justify-content:space-around}.mobile-nav button{border:0;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;padding:7px 12px;color:var(--muted)}.mobile-nav button.active{background:#e8f0fa;color:#2c5279}.mobile-nav svg{width:21px;height:21px}.login{margin:25px auto}.status-choices{gap:7px}.status-choices button{font-size:11px}.actions>button{flex:1;min-width:140px}.toolbar select{max-width:none;flex:1}.grid2{gap:0}}
