html{color-scheme:light;background:#f3f4f8}#boot{padding:48px 16px;text-align:center;font-size:18px;color:#1d3557}#boot small{display:block;margin-top:10px;color:#667;font-size:14px}.fatal{margin:24px 12px;padding:16px;background:#fff;border:2px solid #c0262d;border-radius:12px;color:#1c1c28;text-align:center;line-height:1.8}.fatal button{font:inherit;font-size:16px;padding:12px 20px;margin-top:10px;border:0;border-radius:8px;background:#1d3557;color:#fff}*{box-sizing:border-box}body{margin:0;font-family:system-ui,Segoe UI,Tahoma,Arial,sans-serif;background:#f4f6fa;color:#1c1c28;padding-bottom:72px}header{background:#1d3557;color:#fff;padding:14px 16px;position:sticky;top:0;z-index:5}header h1{margin:0;font-size:19px}header small{opacity:.8;color:#dfe6f2}main{padding:12px;max-width:640px;margin:auto}.card{background:#fff;border-radius:12px;padding:12px;margin-bottom:10px;box-shadow:0 1px 3px rgba(0,0,0,.067)}.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.stat span{display:block;font-size:13px;color:#667}.stat b{font-size:20px}.r{color:#c0262d}.g{color:#1b8a3f}nav{position:fixed;bottom:0;left:0;right:0;background:#fff;display:flex;border-top:1px solid #ddd;z-index:5}nav button{flex:1;border:0;background:none;padding:12px 2px;font:inherit;font-size:13px;color:#556;min-height:48px}nav button.on{color:#1d3557;font-weight:700;border-top:3px solid #1d3557}input,select{display:block;width:100%;font:inherit;font-size:16px;padding:10px;border:1px solid #ccd;border-radius:8px;margin:5px 0;background:#fff}.b{display:block;width:100%;font:inherit;font-size:16px;padding:12px;border:0;border-radius:8px;background:#1d3557;color:#fff;margin:6px 0;min-height:46px;text-align:center;text-decoration:none}.b.s{background:#1b8a3f}.b.w{background:#25a244}.b.d{background:#c0262d}.sm{font:inherit;font-size:14px;padding:8px 12px;border:1px solid #ccd;border-radius:8px;background:#fff;min-height:40px;color:inherit;text-decoration:none;display:inline-block}.row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #eee}.row:last-child{border:0}.tag{font-size:12px;padding:2px 8px;border-radius:10px;background:#fde2e2;color:#c0262d;white-space:nowrap}.tag.ok{background:#e0f5e6;color:#1b8a3f}.tag.n{background:#e8eefb;color:#1d3557}h2{font-size:16px;margin:6px 0 8px}small{color:#667}.empty{color:#667;text-align:center;padding:14px}.toast{position:fixed;top:70px;left:50%;transform:translate(-50%);background:#222;color:#fff;padding:8px 16px;border-radius:20px;z-index:99;max-width:90%}.login{max-width:380px;margin:40px auto;padding:0 12px}.chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.chips button{flex:1;min-width:70px}.chips .on{background:#1d3557;color:#fff}.bar{height:10px;background:#1d3557;border-radius:5px;min-width:2px}.barw{background:#e8eaf2;border-radius:5px;flex:1}.ov{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.533);z-index:50;display:flex;align-items:flex-end;justify-content:center}.sheet{background:#fff;width:100%;max-width:640px;max-height:92vh;overflow:auto;border-radius:16px 16px 0 0;padding:14px}.rc{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px;background:#fafafa;border:1px dashed #bbb;border-radius:8px;padding:10px;white-space:pre-wrap;direction:rtl;line-height:1.7}#lbls{display:grid;gap:0;justify-content:center}#lbls.a4{grid-template-columns:repeat(4,48mm)}#lbls.small{grid-template-columns:40mm}.lb{box-sizing:border-box;overflow:hidden;text-align:center;direction:rtl;page-break-inside:avoid;break-inside:avoid;border:.2mm dotted #ccc;padding:1mm 1.5mm;display:flex;flex-direction:column;background:#fff;color:#000}.lb.a4{width:48mm;height:27mm}.lb.small{width:40mm;height:25mm;break-after:page}.ln{font-size:8pt;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1}.lbar{flex:1;min-height:0;margin:.5mm 0}.lc{font:6.5pt monospace;line-height:1}.lp{font-size:9pt;font-weight:800;line-height:1.1}@media print{body{padding:0;background:#fff}#root,.noprint,.toast{display:none!important}.ov{position:static!important;display:block!important;background:none!important}.sheet{position:static!important;width:100%!important;max-height:none!important;overflow:visible!important;padding:0!important;border-radius:0!important}.lb{border:0}#lbls{justify-content:start}}@keyframes slow{to{opacity:1;visibility:visible}}#boot .late{opacity:0;visibility:hidden;animation:slow 1s 12s forwards;margin-top:14px}#boot .late a{color:#1d3557;font-size:18px}header{background:linear-gradient(135deg,#0f4c81,#1a7f8e);box-shadow:0 2px 8px rgba(0,0,0,.133)}.hl{display:flex;align-items:center;gap:10px}.lg{width:38px;height:38px;border-radius:10px;background:#fff;color:#0f4c81;font-weight:800;font-size:22px;display:flex;align-items:center;justify-content:center}.card{border-radius:14px;box-shadow:0 1px 4px rgba(15,76,129,.06);border:1px solid #e8edf4}.hero{background:linear-gradient(135deg,#0f4c81,#1a7f8e);color:#fff;border-radius:16px;padding:16px;margin-bottom:12px;box-shadow:0 4px 12px rgba(15,76,129,.2)}.hero small{color:#d6ecf2}.hero b{display:block;font-size:30px;margin:4px 0}.hs{display:flex;gap:14px;font-size:13px;color:#e6f4f8;flex-wrap:wrap}.kpi{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e8edf4;border-radius:14px;padding:10px}.kpi small{display:block;color:#667;font-size:12px}.kpi b{font-size:18px}.ki{font-style:normal;width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;flex:none}.c1{background:#e3f4ea}.c2{background:#e3eefb}.c3{background:#fdeaea}.c4{background:#fff1dc}.c5{background:#ece6fb}.c6{background:#e0f4f6}.qa{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}.qa.q2{grid-template-columns:1fr 1fr}.qa button{display:flex;flex-direction:column;align-items:center;gap:6px;background:#fff;border:1px solid #e8edf4;border-radius:14px;padding:12px 4px;font:inherit;font-size:13px;color:#1c1c28;min-height:84px;text-align:center}.qa button:active{background:#eef3f9}nav{box-shadow:0 -2px 10px rgba(0,0,0,.067);border-top:0}nav button.on{color:#0f4c81;border-top:3px solid #1a7f8e;background:#f0f7fa}.b{background:#0f4c81;border-radius:10px}.b.s{background:#1a8a4a}.chips .on{background:#0f4c81}input,select{border:1px solid #d5dde8;border-radius:10px}input:focus,select:focus{outline:2px solid #1a7f8e55;border-color:#1a7f8e}.bar{background:#1a7f8e}.tag.n{background:#e3eefb;color:#0f4c81}nav button{font-size:12px;white-space:nowrap;padding:12px 0}
