html{--bg:#f6f7f2;--elev:#fff;--border:#cbd8ce;--bg-glass:#fff;--bg-input:#f5f8f3;--dim:#4e6259;--muted:#53675f;--text:#172e2b;--text-dim:#475f54;--text-muted:#53675f;--accent:#08634e;--border-accent:#187657;--grad:linear-gradient(120deg,#145640,#087055);--green:#126c51;--red:#923923}
body{background:var(--bg);color:var(--text);font-family:Inter,"Segoe UI",system-ui,sans-serif}body:before{display:none}
button,a,input,label{touch-action:manipulation}:focus-visible{outline:3px solid #379477;outline-offset:2px}
.auth-card{border-radius:20px;box-shadow:0 10px 38px #17372a10;padding:32px 22px}.auth-icon{filter:none;display:grid;place-content:center;background:#103e34;color:#ceeed6;border-radius:15px;width:52px;height:52px;margin:0 auto 18px;font:700 22px system-ui}.auth-card label{display:block;text-align:left;font-size:14px;font-weight:600;margin:5px 0}.auth-card input{font-size:16px}.auth-wrap{min-height:100dvh}
.page h1{font-size:clamp(29px,5vw,44px);letter-spacing:-.05em}.page a.back,.topbar a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;color:var(--accent)}.drop-zone{display:block;position:relative;background:#e9f3e9;border-color:#8ba798}.drop-zone input[type=file]{display:block;position:absolute;width:1px;height:1px;opacity:0}.drop-zone:focus-within{outline:3px solid var(--accent)}.file-item{gap:8px;flex-wrap:wrap;overflow-wrap:anywhere}.file-item>div{min-width:0}.file-item button,.source-download button{min-height:44px;font-size:14px}.file-item .meta,.file-item .url,.drop-zone .sub{font-size:13px}.file-item .actions{flex-wrap:wrap;max-width:100%}
.layout{height:100dvh}.topbar,.panel{background:#fff;border-color:#cbdbd0}.topbar{flex-wrap:wrap}.topbar .stat,.block-head label,.panel-head h2,.empty-state,.panel-head .count{color:#496156}.topbar .stat.ok{color:#14643e}.topbar .stat.err,.empty-state.err{color:#903b26}.topbar .stat.warn{color:#78500c}.panel .btn,.topbar .icon-btn{border:1px solid #c5d5c8;background:#f4f8f1;color:#204e3d;border-radius:10px;min-height:44px;font-size:14px}.topbar .icon-btn{min-width:44px}.panel .btn.primary{color:white;background:#08634e}.panel .btn.danger{color:#903b26}.block{background:#f3f7f1;border-color:#d0dfd0}.block pre,.result-box{background:#17392e;color:#edf6ef;font-size:13px}.result-box.fail{color:#ffdad0}.panel.collapsed{padding:5px 14px;max-height:none}.panel.collapsed>:not(.panel-head){display:none}.panel.collapsed .panel-head{margin:0}.panel-head h2{font-size:14px;letter-spacing:0;text-transform:none}.panel-head{position:sticky;top:0;background:white;z-index:1}
@media(max-width:520px){.topbar .stat{order:5;width:100%;font-size:12px}.topbar h1{flex:1}.panel{max-height:44dvh;padding-bottom:max(12px,env(safe-area-inset-bottom))}.file-item{display:grid;grid-template-columns:minmax(0,1fr)}.file-item .actions{justify-content:flex-start}}