:root{--navy:#1f3a5f;--navy2:#2c5282;--amber:#f5b942;--bg:#f4f6f9;--card:#fff;--line:#dde3ea;--text:#1c2430;--muted:#6b7684;--green:#1f8a4c;--red:#c0392b;--orange:#d9822b;--blue:#2b6cb0;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0}a{color:var(--navy2);text-decoration:none}h1{margin:.2rem 0 .8rem;font-size:1.45rem}h2{margin:1.4rem 0 .5rem;font-size:1.1rem}.muted{color:var(--muted)}.small{font-size:.85rem}.splash{height:100vh;color:var(--muted);place-items:center;display:grid}code{background:#eef2f7;border-radius:4px;padding:1px 5px}.pre{white-space:pre-wrap}.r{text-align:right}.nowrap{white-space:nowrap}.shell{min-height:100vh}.topbar{z-index:20;background:var(--navy);color:#fff;padding:.55rem .9rem;padding-top:max(.55rem, env(safe-area-inset-top));justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.brand{cursor:pointer;font-weight:700}.brand .site{opacity:.7;margin-left:4px;font-size:.85rem;font-weight:400}.who{align-items:center;gap:.6rem;display:flex}.whoname{color:#fff;text-align:right;font-size:.9rem;line-height:1.1}.whoname small{opacity:.7;font-size:.72rem;display:block}.who .btn.ghost{color:#fff;border-color:#ffffff59}.content{padding:.9rem .8rem calc(5.5rem + env(safe-area-inset-bottom))}.page{max-width:1100px;margin:0 auto}.page.narrow{max-width:760px}.sidenav{display:none}.bottomnav{z-index:20;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);background:#fff;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottomnav a{color:var(--muted);flex-direction:column;align-items:center;padding:.45rem 0 .4rem;font-size:.72rem;display:flex}.bottomnav a .ic{font-size:1.3rem;line-height:1.3}.bottomnav a.active{color:var(--navy);font-weight:600}.who .btn{display:none}@media (width>=900px){.who .btn{display:inline-flex}.bottomnav{display:none}.sidenav{border-right:1px solid var(--line);background:#fff;flex-direction:column;gap:2px;width:190px;padding:.8rem .5rem;display:flex;position:fixed;top:52px;bottom:0;left:0}.sidenav a{color:var(--text);border-radius:8px;align-items:center;gap:.6rem;padding:.6rem .8rem;display:flex}.sidenav a:hover{background:#eef2f7}.sidenav a.active{background:var(--navy);color:#fff}.content{margin-left:190px;padding:1.2rem 1.6rem 2rem}h1{font-size:1.7rem}}.menu-list{flex-direction:column;gap:6px;display:flex}.menu-list a{border:1px solid var(--line);color:var(--text);background:#fff;border-radius:10px;gap:.8rem;padding:.95rem 1rem;font-size:1.05rem;display:flex}input,select,textarea{font:inherit;width:100%;color:var(--text);background:#fff;border:1px solid #c6cfda;border-radius:8px;padding:.6rem .7rem;font-size:16px}textarea{resize:vertical}input[type=checkbox]{width:1.3rem;height:1.3rem;accent-color:var(--navy);flex:none;padding:0}input.num{width:6rem}label{color:#3a4553;flex-direction:column;gap:4px;font-size:.88rem;font-weight:600;display:flex}label.inline,.inline{flex-flow:wrap;align-items:center;gap:.5rem;font-weight:500;display:flex}.btn{font:inherit;min-height:44px;color:var(--text);cursor:pointer;background:#fff;border:1px solid #c6cfda;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:.6rem 1rem;font-size:.95rem;font-weight:600;display:inline-flex}.btn:disabled{opacity:.55;cursor:default}.btn.primary{background:var(--navy);border-color:var(--navy);color:#fff}.btn.success{background:var(--green);border-color:var(--green);color:#fff}.btn.danger{background:var(--red);border-color:var(--red);color:#fff}.btn.ghost{background:0 0}.btn.ghost.danger{color:var(--red);border-color:#e7b7b1}.btn.sm{min-height:34px;padding:.35rem .7rem;font-size:.85rem}.btn.big{width:100%;min-height:52px;font-size:1.05rem}.btn.huge{width:100%;min-height:72px;margin:.5rem 0 1rem;font-size:1.2rem}.linkbtn{color:var(--navy2);font:inherit;cursor:pointer;background:0 0;border:0;padding:.6rem}.card{background:var(--card);border:1px solid var(--line);border-radius:12px;margin-bottom:.9rem;padding:1rem}.form{flex-direction:column;gap:.85rem;display:flex}.grid2{grid-template-columns:1fr;gap:.85rem;display:grid}@media (width>=600px){.grid2{grid-template-columns:1fr 1fr}}.error{color:var(--red);background:#fdecea;border-radius:8px;margin:.4rem 0;padding:.6rem .8rem}.ok{color:var(--green)}.note{border-left:4px solid var(--navy2);background:#eef4fb;border-radius:6px;padding:.55rem .8rem}.warnbox{border-left:4px solid var(--orange);background:#fff6e5;border-radius:6px;margin:.4rem 0;padding:.5rem .8rem}.empty{color:var(--muted);text-align:center;border:1px dashed var(--line);background:#fff;border-radius:10px;padding:1.2rem}.pagehead{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.pagehead h1{margin-bottom:.6rem}.login-wrap{background:linear-gradient(160deg, var(--navy), var(--navy2));place-items:center;min-height:100vh;padding:1rem;display:grid}.login{flex-direction:column;gap:.9rem;width:100%;max-width:380px;display:flex}.login h1{margin:0}.chips{-webkit-overflow-scrolling:touch;gap:6px;margin-bottom:4px;padding-bottom:6px;display:flex;overflow-x:auto}.chip{font:inherit;cursor:pointer;background:#fff;border:1px solid #c6cfda;border-radius:999px;flex:none;min-height:36px;padding:.4rem .85rem;font-size:.88rem}.chip.on{background:var(--navy);color:#fff;border-color:var(--navy)}.filters{flex-wrap:wrap;align-items:center;gap:.5rem;margin:.4rem 0 .7rem;display:flex}.filters>input{flex:220px}.filters>select{flex:0 180px;width:auto}.filters label.inline input[type=date]{width:auto}.wocard{border:1px solid var(--line);border-left:5px solid var(--navy2);color:var(--text);background:#fff;border-radius:10px;margin-bottom:.55rem;padding:.7rem .85rem;display:block}.wocard:active{background:#f0f4f9}.wocard.emerg{border-left-color:var(--red)}.wocard .row1{flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.85rem;display:flex}.wonum{font-variant-numeric:tabular-nums;font-weight:700}.wotype{color:var(--muted)}.wocard .desc{margin:.3rem 0 .25rem;font-weight:600}.wocard .meta{color:var(--muted);flex-wrap:wrap;gap:.8rem;font-size:.82rem;display:flex}.overdue{font-weight:700;color:var(--red)!important}.badge{color:#334;background:#e2e8f0;border-radius:999px;padding:2px 8px;font-size:.75rem;font-weight:700;display:inline-block}.st-req{color:#8a5a00;background:#fdf0d5}.st-open{color:#1e40af;background:#dbeafe}.st-prog{color:#065f46;background:#d1fae5}.st-hold{color:#9b1c1c;background:#fde2e2}.st-done{color:#374151;background:#e5e7eb}.st-cxl{color:#888;background:#f1f1f1}.prio{border-radius:4px;padding:1px 7px;font-size:.72rem;font-weight:700}.p-emergency{background:var(--red);color:#fff}.p-high{color:#7c4a03;background:#fde68a}.p-low{color:#666;background:#eee}.list{border:1px solid var(--line);background:#fff;border-radius:10px;flex-direction:column;display:flex;overflow:hidden}.listrow{border-bottom:1px solid var(--line);color:var(--text);flex-direction:column;gap:2px;padding:.65rem .85rem;display:flex}.listrow:last-child{border-bottom:0}.listrow:active,.listrow:hover{background:#f5f8fb}.qty{color:var(--green);margin-left:6px;font-size:.8rem}.qty.low{color:var(--red);font-weight:700}.stats{grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:.5rem;margin-bottom:.9rem;display:grid}.stat{border:1px solid var(--line);text-align:center;color:var(--muted);background:#fff;border-radius:10px;padding:.6rem;font-size:.8rem}.stat b{color:var(--navy);font-size:1.6rem;display:block}.stat.warn b{color:var(--red)}.pmgen{flex-direction:column;gap:.6rem;display:flex}.wotitle{margin-bottom:.4rem;font-size:1.15rem;font-weight:700}.kv{grid-template-columns:max-content 1fr;gap:.35rem .9rem;margin:.6rem 0 .8rem;font-size:.93rem;display:grid}.kv dt{color:var(--muted)}.kv dd{margin:0}.actions{flex-wrap:wrap;gap:.5rem;margin:.2rem 0 .8rem;display:flex}.actions .btn{flex:130px}.actions .card.complete{flex-direction:column;flex:100%;gap:.7rem;display:flex}.progress{background:#e2e8f0;border-radius:99px;height:8px;margin-bottom:.5rem;overflow:hidden}.progress div{background:var(--green);height:100%}.checklist{counter-reset:s;margin:0 0 .6rem;padding:0;list-style:none}.checklist li{border:1px solid var(--line);counter-increment:s;background:#fff;border-radius:9px;margin-bottom:6px}.checklist li label{cursor:pointer;color:var(--text);flex-direction:row;align-items:flex-start;gap:.75rem;padding:.75rem;font-size:.97rem;font-weight:500}.checklist li label:before{content:counter(s);color:var(--muted);min-width:1.4rem;font-weight:700}.checklist li.done{background:#f0faf4}.checklist li.done span{color:#5b6b62}.checklist.ro li{padding:.65rem .8rem}.checklist.ro li:before{content:counter(s) ". ";color:var(--muted);font-weight:700}.addrow{flex-wrap:wrap;align-items:center;gap:.5rem;margin:.5rem 0;display:flex}.addrow textarea{flex:100%}.notes{margin:.5rem 0;padding:0;list-style:none}.notes li{border:1px solid var(--line);background:#fff;border-radius:9px;margin-bottom:6px;padding:.55rem .75rem}.notes li.sys{color:var(--muted);background:0 0;border-style:dashed;font-size:.85rem}.tbl{border-collapse:collapse;background:#fff;width:100%;font-size:.9rem}.tbl th,.tbl td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:.5rem .6rem}.tblwrap{border:1px solid var(--line);border-radius:10px;overflow-x:auto}.tbl.users select{width:auto}.picker{position:relative}.picklist{z-index:30;background:#fff;border:1px solid #c6cfda;border-radius:8px;max-height:320px;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #0000001f}.picklist button{text-align:left;width:100%;font:inherit;cursor:pointer;color:var(--text);background:#fff;border:0;border-bottom:1px solid #eef1f5;padding:.65rem .8rem;font-size:.92rem;font-weight:400;display:block}.picklist button:hover{background:#f0f4f9}.picked{color:var(--text);background:#f8fafc;border:1px solid #c6cfda;border-radius:8px;justify-content:space-between;align-items:center;gap:.5rem;padding:.55rem .7rem;font-weight:400;display:flex}.pad{padding:.7rem}.bigqty{color:var(--green);margin:.3rem 0;font-size:2rem;font-weight:800}.bigqty small{color:var(--muted);font-size:.9rem;font-weight:500}.bigqty.low{color:var(--red)}.stepedit{flex-direction:column;gap:.5rem;margin:0;padding-left:1.4rem;display:flex}.stepedit li{align-items:flex-start;gap:.4rem;display:flex}.stepedit textarea{flex:1}.stepbtns{flex-direction:column;gap:3px;display:flex}.stepbtns .btn{min-height:30px;padding:.15rem .55rem}.sticky-save{bottom:calc(4.2rem + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;padding:.6rem 0;position:sticky}@media (width>=900px){.sticky-save{bottom:0}}.log{color:#d1e7ff;background:#0f1720;border-radius:8px;max-height:320px;padding:.8rem;font-size:.82rem;overflow:auto}.issued{border-color:var(--amber);background:#fffaf0}@media print{.topbar,.sidenav,.bottomnav,.form,.btn,.filters,.tblwrap,h1,label.inline,.log{display:none!important}.content{margin:0;padding:0}.card{border:0}.issued{display:block!important}}.sched{flex-direction:column;gap:.6rem;display:flex}.sched input[type=time]{width:auto}.daygrid{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.daycell{font:inherit;cursor:pointer;background:#fff;border:1px solid #c6cfda;border-radius:8px;flex-direction:column;align-items:center;min-height:44px;padding:.5rem 0;font-size:.85rem;display:flex}.daycell small{color:var(--muted);font-size:.65rem}.daycell.work{color:#065f46;background:#d1fae5;border-color:#34a36b;font-weight:700}.cal{grid-template-columns:repeat(7,1fr);gap:3px;max-width:420px;margin-top:4px;display:grid}.calday{text-align:center;color:var(--muted);background:#eef1f5;border-radius:6px;padding:3px 0;font-size:.72rem}.calday b{color:var(--text);font-size:.85rem;display:block}.calday.work{background:#bbf0d3}.card.sub{background:#f8fafc;flex-direction:column;gap:.5rem;display:flex}.notify{padding:.3rem 0}.desktop-only{display:none!important}@media (width>=900px){.desktop-only{display:flex!important}}.bins{flex-direction:column;gap:.35rem;margin:.6rem 0;display:flex}.binchip{background:#eef2f7;border:1px solid #c6cfda;border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-family:ui-monospace,Consolas,monospace;font-size:.9rem;display:inline-flex}.binchip button{cursor:pointer;color:var(--red);background:0 0;border:0;padding:0 2px;font-size:.85rem}.bineditor{flex-direction:column;gap:.4rem;display:flex}.labelrow{margin:.5rem 0}.assignees{flex-wrap:wrap;gap:6px;display:flex}.assignees .chip{font-weight:500}.ghostchip{color:var(--muted);border-style:dashed}
