:root{--brand:#13235a;--brand-dark:#0e1a45;--brand-line:#24387a;--bg:#eef2f8;--card:#fff;--soft:#f3f6fb;--ink:#0e1a45;--muted:#56627f;--line:#dce3ef;--line-soft:#e8edf5;--accent:#1fa7f0;--accent-ink:#0b1640;--link:#0a6ab0;--warn:#8a5a00;--warn-bg:#fff5dc;--warn-line:#f0c35a;--danger:#b42318;--danger-bg:#fdedec;--danger-line:#f0a8a3;--info:#0a6ab0;--info-bg:#e7f4fd;--info-line:#9bd2f5;--ok:#0f7a4a;--shadow:0 1px 2px #0e1a450f, 0 4px 16px #0e1a450d;--navy:var(--soft);--sky:var(--link);color:var(--ink);background:var(--bg);font-variant-numeric:tabular-nums;font-family:Nunito,system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--bg);-webkit-font-smoothing:antialiased;min-height:100vh;margin:0}a{color:var(--link);font-weight:700}h1{letter-spacing:-.01em;margin:0;font-size:28px;font-weight:800}h2{margin:0;font-size:18px;font-weight:800}p{margin:0}.muted{color:var(--muted);font-size:14px}.ok{color:var(--ok);font-size:14px;font-weight:700}.err{color:var(--danger);font-size:14px;font-weight:700}.warnText{color:var(--warn)}.dangerText{color:var(--danger)}.shell{min-height:100vh;display:flex}.side{background:var(--brand);color:#fff;flex-direction:column;flex-shrink:0;gap:2px;width:236px;height:100vh;padding:20px 14px;display:flex;position:sticky;top:0;overflow-y:auto}.side img{align-self:center;width:112px;margin-bottom:16px}.side a{color:#c9d4f2;border-radius:12px;align-items:center;gap:12px;padding:10px 14px;font-weight:700;text-decoration:none;display:flex}.side a:hover{color:#fff;background:#ffffff0f}.side a.on{color:var(--brand);background:#fff}.side a .count{margin-left:auto}.side .spacer{flex:1;min-height:16px}.side .who{flex-direction:column;padding:8px 14px;font-size:14px;display:flex}.side .who span{color:#aebbe3;font-size:13px}.side button,.side button.ghost{color:#fff;border:1px solid var(--brand-line);background:0 0;justify-content:center;align-items:center;gap:8px;margin:4px 14px 0;display:flex}.main{flex-direction:column;flex:1;gap:18px;min-width:0;max-width:1200px;padding:30px 36px 100px;display:flex}.topbar,.bottom{display:none}@media (width<=820px){.side{display:none}.topbar{background:var(--brand);color:#fff;padding:10px 16px;padding-top:calc(10px + env(safe-area-inset-top));z-index:10;align-items:center;gap:12px;display:flex;position:sticky;top:0}.topbar img{border-radius:10px;width:44px;height:44px}.topbar b{font-size:16px}.topbar span{color:#aebbe3;font-size:13px}.shell{flex-direction:column}.main{padding:18px 16px 110px}.bottom{border-top:1px solid var(--line);padding:6px 4px calc(8px + env(safe-area-inset-bottom));z-index:10;background:#fff;grid-auto-columns:1fr;grid-auto-flow:column;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 16px #0e1a450f}.bottom a{min-height:50px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;font-weight:700;text-decoration:none;display:flex}.bottom a.on{color:var(--brand)}.bottom a.on .ico{background:var(--info-bg);color:var(--link)}}.bottom .ico{border-radius:999px;padding:3px 14px;display:flex;position:relative}.bottom .ico .count{margin:0;padding:0 5px;font-size:11px;position:absolute;top:-4px;right:4px}.bottom .dot{background:#f5a524;border-radius:5px;width:9px;height:9px;position:absolute;top:0;right:10px}.card{background:var(--card);border:1px solid var(--line-soft);box-shadow:var(--shadow);border-radius:18px;flex-direction:column;gap:12px;padding:20px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.between{justify-content:space-between}.tiles{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.tile{background:var(--card);border:1px solid var(--line-soft);box-shadow:var(--shadow);border-radius:16px;flex-direction:column;gap:2px;padding:16px 18px;display:flex}.tile b{color:var(--brand);font-size:30px;font-weight:800}.tile span{color:var(--muted);font-size:13px;font-weight:700}.hero{background:var(--brand);color:#fff;border:none}.hero h2{color:#c9d4f2!important}.hero input{color:#fff!important}label{color:var(--ink);flex-direction:column;gap:6px;font-size:13px;font-weight:800;display:flex}input,select,textarea{border:1px solid var(--line);height:46px;color:var(--ink);background:#fff;border-radius:12px;padding:0 12px;font-family:inherit;font-size:16px}textarea{resize:vertical;height:auto;padding:10px 12px}input::placeholder,textarea::placeholder{color:#8a94ae}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline-offset:1px;border-color:var(--accent);outline:3px solid #1fa7f073}button{cursor:pointer;background:var(--brand);color:#fff;border:none;border-radius:12px;height:46px;padding:0 18px;font-family:inherit;font-size:15px;font-weight:800}button:hover{filter:brightness(1.1)}button.ghost{border:1px solid var(--line);color:var(--ink);background:#fff;font-weight:700}button.white{background:var(--brand);color:#fff}button.danger{border:1px solid var(--danger-line);color:var(--danger);background:#fff}button.small{height:38px;padding:0 12px;font-size:14px}button:disabled{opacity:.5;cursor:default;filter:none}.round{background:var(--accent);width:64px;height:64px;color:var(--accent-ink);border-radius:32px;padding:0;font-size:30px}.round.ghost{color:#fff;background:0 0;border:2px solid #ffffff59}.tablewrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:15px}th{text-align:left;color:var(--muted);background:var(--soft);white-space:nowrap;padding:10px;font-size:13px;font-weight:800}th:first-child{border-radius:10px 0 0 10px}th:last-child{border-radius:0 10px 10px 0}td{border-bottom:1px solid var(--line-soft);padding:10px}td.r,th.r{text-align:right}tr.sum td{background:var(--soft);border:none;font-weight:800}td input{text-align:right;width:90px;height:38px}.badge{background:var(--info-bg);color:var(--info);white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800}.badge.low{background:var(--warn-bg);color:var(--warn)}.bar{background:var(--soft);border-radius:5px;min-width:80px;height:10px}.bar>div{background:var(--accent);border-radius:5px;height:10px}.center{background:var(--brand);justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.narrow{background:#fff;border-radius:22px;flex-direction:column;gap:16px;width:100%;max-width:400px;padding:28px 24px;display:flex;box-shadow:0 20px 60px #00000040}.narrow img{border-radius:14px}.tabs{border:1px solid var(--line-soft);width:fit-content;box-shadow:var(--shadow);background:#fff;border-radius:12px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.tabs button{color:var(--ink);background:0 0;height:40px;font-weight:700}.tabs button.on{background:var(--brand);color:#fff}.chat{grid-template-columns:300px 1fr;gap:14px;min-height:60vh;display:grid}@media (width<=820px){.chat{grid-template-columns:1fr}.chat.open .list,.chat:not(.open) .conv{display:none}}.list{flex-direction:column;gap:6px;display:flex}.list button{color:var(--ink);border:1px solid var(--line-soft);text-align:left;background:#fff;flex-direction:column;gap:2px;height:auto;padding:12px 14px;font-weight:800;display:flex}.list button.on{border-color:var(--accent);box-shadow:0 0 0 2px #1fa7f04d}.list small{color:var(--muted);font-weight:600}.conv{border:1px solid var(--line-soft);box-shadow:var(--shadow);background:#fff;border-radius:18px;flex-direction:column;min-height:60vh;max-height:75vh;display:flex}.msgs{background:var(--soft);flex-direction:column;flex:1;gap:8px;padding:14px;display:flex;overflow-y:auto}.msg{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.msg.me{align-items:flex-end}.msg p{border:1px solid var(--line-soft);white-space:pre-wrap;word-break:break-word;background:#fff;border-radius:16px 16px 16px 4px;max-width:80%;padding:9px 13px}.msg.me p{background:var(--brand);color:#fff;border:none;border-radius:16px 16px 4px}.msg small{color:var(--muted);padding:0 6px;font-size:12px}.composer{border-top:1px solid var(--line);gap:8px;padding:10px;display:flex}.composer input{flex:1}.sr{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.overlay{z-index:50;background:#0e1a458c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dialog{background:#fff;border-radius:20px;flex-direction:column;gap:12px;width:100%;max-width:420px;padding:24px;display:flex;box-shadow:0 20px 60px #00000040}.dialog p{line-height:1.45}.note{background:var(--warn-bg);border-color:var(--warn-line);box-shadow:none;gap:6px}.note .muted{color:#6b5a2e}.alerts{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;display:grid}.alert{border:1px solid var(--info-line);background:var(--info-bg);border-radius:16px;flex-direction:column;gap:6px;padding:16px;display:flex}.alert b{color:var(--info)}.alert.warn{border-color:var(--warn-line);background:var(--warn-bg)}.alert.warn b{color:var(--warn)}.alert.danger{border-color:var(--danger-line);background:var(--danger-bg)}.alert.danger b{color:var(--danger)}.alert span{color:var(--ink);font-size:14px}.count{color:var(--accent-ink);background:#f5a524;border-radius:999px;margin-left:6px;padding:0 7px;font-size:12px;font-weight:800}.count.red{background:var(--danger);color:#fff}.codebox{letter-spacing:.4em;text-align:center;height:60px;font-size:28px;font-weight:800}.qr{border:1px solid var(--line);background:#fff;border-radius:12px;align-self:center;width:200px;height:200px;padding:10px}.checklist{gap:4px;margin:0}.check{cursor:pointer;border-bottom:1px solid var(--line-soft);flex-direction:row;align-items:center;gap:12px;min-height:46px;font-size:16px;font-weight:700}.check:last-child{border-bottom:none}.check input{width:24px;height:24px;accent-color:var(--brand);flex-shrink:0}.morelist{flex-direction:column;gap:8px;max-width:520px;display:flex}.morelist a{border:1px solid var(--line-soft);box-shadow:var(--shadow);color:var(--ink);background:#fff;border-radius:14px;align-items:center;gap:14px;min-height:58px;padding:0 16px;font-weight:800;text-decoration:none;display:flex}.morelist a svg{color:var(--link)}.morelist a .count{margin-left:auto}.morelist button{justify-content:center;align-items:center;gap:8px;height:52px;margin-top:8px;display:flex}.eyebrow{color:var(--muted);font-size:14px;font-weight:700}button.link{color:var(--brand);font:inherit;text-align:left;cursor:pointer;text-underline-offset:2px;min-height:0;box-shadow:none;background:0 0;border:0;padding:0;text-decoration:underline}.errdetail{background:var(--bg);white-space:pre-wrap;word-break:break-word;border-radius:8px;max-height:260px;margin:8px 0 0;padding:10px;font-size:12px;overflow:auto}.inlinecheck{flex-direction:row;align-items:center;gap:8px;font-size:14px;font-weight:600;display:flex}.inlinecheck input{width:20px;height:20px;padding:0}.errlist{margin:0;padding:0;list-style:none}.errlist li{border-top:1px solid var(--line);padding:14px 0}.errlist .small{font-size:13px}.errlist button.link{margin-top:4px}.avatar{color:#fff;letter-spacing:.02em;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.msg{flex-direction:row;align-items:flex-end;gap:8px}.msg.me{flex-direction:row-reverse}.msg:not(.first){margin-top:-4px}.msg .avslot{flex-shrink:0;align-self:flex-start;width:32px}.msg .bubble{flex-direction:column;align-items:flex-start;gap:2px;max-width:80%;display:flex}.msg.me .bubble{align-items:flex-end}.msg .bubble p{max-width:100%}.msg small{color:var(--muted);font-size:12px}.seen{color:var(--muted);align-self:flex-end;margin-top:-2px;font-size:12px}.list .preview{color:var(--muted);align-items:center;gap:6px;font-size:14px;font-weight:500;display:flex;overflow:hidden}.list .preview b{color:var(--ink);font-weight:700}.list .preview .pv{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.list .preview .count{margin-left:auto}.readstatus{background:var(--soft,#f5f8fc);border-radius:12px;flex-direction:column;gap:4px;padding:12px 14px;font-size:14px;display:flex}.tempkode{letter-spacing:.08em;text-align:center;background:var(--bg);-webkit-user-select:all;user-select:all;border-radius:12px;padding:14px;font-family:ui-monospace,Menlo,monospace;font-size:30px;font-weight:800}.weeknav{gap:8px}.weeknav b{font-size:16px}.week{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}@media (width<=1000px){.week{grid-template-columns:1fr}}.day{background:var(--card);border:1px solid var(--line-soft);box-shadow:var(--shadow);border-radius:14px;flex-direction:column;gap:6px;min-height:140px;padding:10px;display:flex}.day.now{border-color:var(--accent);box-shadow:0 0 0 2px #1fa7f040}.dayhead{justify-content:space-between;align-items:baseline;padding:0 2px 4px;display:flex}.dayhead span{color:var(--muted);font-size:13px;font-weight:700}.shiftchip{background:var(--info-bg);height:auto;color:var(--ink);border:1px solid var(--info-line);text-align:left;border-radius:10px;flex-direction:column;gap:1px;padding:8px 10px;font-size:14px;font-weight:700;display:flex}.shiftchip b{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.shiftchip span{color:var(--link);font-size:13px}.shiftchip small{color:var(--muted);font-size:12px;font-weight:600}.addshift{height:36px;color:var(--link);border:1px dashed var(--line);background:0 0;margin-top:auto;padding:0 8px;font-size:13px}@media (width<=1000px){.day{min-height:0}.addshift{margin-top:0}}.hourlist{flex-direction:column;gap:6px;max-width:420px;display:flex}.daypick{border:none;flex-wrap:wrap;gap:6px;margin:0;padding:0;display:flex}.daypick legend{margin-bottom:6px;padding:0;font-size:13px;font-weight:800}.daypick label{border:1px solid var(--line);cursor:pointer;border-radius:10px;flex-direction:row;justify-content:center;align-items:center;width:48px;height:42px;font-size:14px}.daypick label.on{background:var(--brand);color:#fff;border-color:var(--brand)}.daypick label:focus-within{outline:3px solid #1fa7f073}.myshift{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:12px;padding:12px 4px;display:flex}.myshift:last-child{border-bottom:none}.myshift.now{background:var(--info-bg);border-bottom:none;border-radius:10px;padding:12px 10px}.myshift.past{opacity:.5}.myshift .time{color:var(--brand);white-space:nowrap;font-size:18px}.nextshift{color:var(--ink);border-left:4px solid var(--accent);gap:2px;text-decoration:none}.nextshift b{font-size:20px}.tile.money b{color:var(--ok);font-size:26px}.tabs.small{box-shadow:none;padding:3px}.tabs.small button{height:32px;padding:0 10px;font-size:13px}.report{flex-direction:column;gap:18px;display:flex}.tiles.two{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}.plainlist{flex-direction:column;gap:6px;margin:0;padding:0;font-size:14px;list-style:none;display:flex}.printhead{display:none}@media print{@page{size:A4;margin:12mm}body,.shell{background:#fff}.side,.topbar,.bottom,.noprint{display:none!important}.main{gap:10px;max-width:none;padding:0}.report{gap:10px}.printhead{border-bottom:2px solid var(--brand);align-items:center;gap:14px;padding-bottom:8px;display:flex}.printhead img{-webkit-print-color-adjust:exact;print-color-adjust:exact;border-radius:10px;width:64px;height:64px}.printhead h1{font-size:22px}.card,.tile{box-shadow:none;break-inside:avoid;border:1px solid #d5dce8;padding:12px 14px}.tile b{font-size:22px}.tiles{grid-template-columns:repeat(4,1fr);gap:8px}.tiles.two{grid-template-columns:1fr 1fr}.daytable{break-inside:auto}table{font-size:12px}td,th{padding:5px 8px}th{-webkit-print-color-adjust:exact;print-color-adjust:exact}.tablewrap{overflow:visible}svg{max-width:100%}}@media (width<=820px){.weeknav{flex-wrap:nowrap}.weeknav b{text-align:center;flex:1;font-size:14px}}.people{margin:0;padding:0;list-style:none}.people li{border-top:1px solid var(--line);flex-direction:column;gap:10px;padding:14px 0;display:flex}.people .who{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.people .who>div{flex-direction:column;gap:4px;display:flex;flex:200px!important}.people .who input{width:100%;max-width:280px;height:40px;font-weight:700}.people .email{overflow-wrap:anywhere;font-size:13px}.people select{height:40px}.people .actions{flex-wrap:wrap;gap:8px;padding-left:52px;display:flex}@media (width<=600px){.people .who select{flex:100%}.people .actions{padding-left:0}.people .actions button{flex:auto}}.side a.me{background:#ffffff12;gap:10px;padding:10px 12px}.side a.me span{flex-direction:column;min-width:0;display:flex}.side a.me b{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.side a.me small{color:#aebbe3;font-size:13px;font-weight:600}.side a.me.on{background:#fff}.side a.me.on b,.side a.me.on small{color:var(--brand)}.topbar .meicon{border-radius:50%;text-decoration:none;display:flex}a.btn{background:var(--brand);color:#fff;white-space:nowrap;border-radius:12px;align-items:center;height:46px;padding:0 18px;font-weight:800;text-decoration:none;display:inline-flex}a.btn:hover{filter:brightness(1.1)}a.btn.ghost{border:1px solid var(--line);color:var(--ink);background:#fff;justify-content:center}.stack{flex-direction:column;gap:10px;display:flex}h2.eyebrow{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0;font-size:13px}.husk{color:var(--muted);margin:0;font-size:15px}.husk b{color:var(--ink)}.husk a{font-weight:700}.heromaal{color:#c9d4f2;flex-direction:column;gap:6px;width:100%;font-size:14px;display:flex}.heromaal .bar{background:#ffffff2e;height:10px}.heromaal .bar>div{height:10px}.herodato{align-items:center;color:#c9d4f2!important;flex-direction:row!important;gap:10px!important;font-size:14px!important}.herodato input{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#ffffff1a;border-color:#ffffff40;height:40px;color:#fff!important}@media (width<=600px){.hide-sm{display:none}}
