/* Daystitch additions on top of the design D styles */
body{padding-bottom:96px}
.topbar #who{margin-left:auto;font-size:13px;color:var(--muted)}
.topbar #who .link{font-size:13px}
.signcard{max-width:420px;margin:24px auto 0;width:100%;box-sizing:border-box}
.signcard input[type=email],.signcard input[type=url]{width:100%;max-width:300px;font:inherit;padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--fg)}
.okmsg{background:var(--accent-soft);border-radius:8px;padding:10px 12px;font-size:14px}
details.paste{width:100%;max-width:300px;text-align:left;font-size:13px;color:var(--muted)}
details.paste summary{cursor:pointer;padding:6px 0}
details.paste input{margin:8px 0}
.toast{position:fixed;left:50%;bottom:84px;transform:translateX(-50%);background:var(--fg);color:var(--paper);padding:10px 14px;border-radius:8px;font-size:14px;max-width:min(92vw,520px);z-index:60;box-shadow:0 4px 16px rgba(0,0,0,.2)}
.lborig{position:absolute;left:50%;bottom:52px;transform:translateX(-50%);color:#fff;font-size:13px;text-decoration:underline;opacity:.85}
.ev{background:color-mix(in srgb,var(--tc,var(--accent)) 14%,var(--paper));border-left:3px solid var(--tc,var(--accent))}
.wknav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wknav b{margin-right:auto}
details.adv summary{cursor:pointer}
details.adv textarea{width:100%;min-height:120px;font-family:var(--mono);font-size:12px;box-sizing:border-box}
.daynote,.vnote{background:var(--accent-soft);border-radius:8px;padding:8px 10px;font-size:14px;margin-top:6px}
.vaddr a{color:inherit}
.totals{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.totals>div{display:flex;flex-direction:column}
.totals b{font-size:18px}
.htable{overflow-x:auto}
.htable table{width:100%;border-collapse:collapse;font-size:14px}
.htable th,.htable td{text-align:left;padding:6px 6px;border-bottom:1px solid var(--line);white-space:nowrap}
.htable th{font-weight:500;color:var(--muted);font-size:12px}
.hoursbar b{min-width:80px;text-align:center}
@media (max-width:480px){.totals{grid-template-columns:repeat(2,1fr)}}
.dsw{display:inline-flex;vertical-align:middle;margin-right:6px}
.dsw button{padding:2px 8px;font-size:12px}
/* Suggested jobs from the schedule calendar */
.calsug{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0}
.calj{border:1px dashed var(--accent,#1a7f5a);background:transparent;color:var(--accent,#1a7f5a);border-radius:999px;padding:6px 12px;font:inherit;font-size:14px;cursor:pointer;min-height:36px}
.calj:active{transform:scale(.96)}
.hchip.off i{color:var(--muted)}
.vwin{margin-top:2px;font-size:14px;font-weight:600;color:var(--accent,#2f6b4f)}
.maplink{color:inherit;text-decoration:none}.maplink svg{width:15px;height:15px;vertical-align:-2px;margin-right:4px;color:var(--accent,#2f6b4f)}
.vaddr a.maplink{color:inherit}
.vtop{flex-wrap:wrap}
.vtop>.vaddr,.vtop>.vnote{flex-basis:100%}
.vtop>.vaddr{display:grid;grid-template-columns:19px 1fr;align-items:start;margin-top:6px}
.vcont{float:right;white-space:nowrap;margin-left:12px}
.mpin{display:block;line-height:1}
.maplink svg{margin:2px 0 0!important;vertical-align:0!important}
.drw{padding:0 16px 8px}
.dlist{list-style:none;margin:0;padding:0}
.dlist svg{width:24px;height:24px;flex:none}
.dlist span{flex:1;min-width:0}
.dlist i{font-style:normal;color:var(--faint,#999)}

/* item status */
.row input[type=checkbox]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
li.item.st-no .row input[type=checkbox]{background:#c62828;border-color:#c62828}
li.item.st-mkb .row input[type=checkbox]{background:#c2570c;border-color:#c2570c}
li.item.st-no .row input[type=checkbox]::before,li.item.st-mkb .row input[type=checkbox]::before{content:"";transform:scale(1);background:#fff}
li.item.st-no .row input[type=checkbox]::before{clip-path:polygon(20% 0,0 20%,30% 50%,0 80%,20% 100%,50% 70%,80% 100%,100% 80%,70% 50%,100% 20%,80% 0,50% 30%)}
li.item.st-mkb .row input[type=checkbox]::before{clip-path:polygon(0 45%,40% 5%,40% 30%,100% 30%,100% 60%,40% 60%,40% 85%)}
li.item.st-no label{color:var(--muted)}
.sttag{display:inline-block;font-size:11.5px;font-weight:600;border-radius:6px;padding:1px 6px;margin-left:4px;vertical-align:1px}
.sttag.no{color:#c62828;background:#fdecea}.sttag.mkb{color:#c2570c;background:#fcefe4}
.sheetbg{position:fixed;inset:0;background:rgba(0,0,0,.28);border:0;z-index:60;padding:0}
.sheet{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));z-index:61;background:var(--paper,#fff);border-radius:20px;padding:12px;display:flex;flex-direction:column;gap:2px;max-width:560px;margin:0 auto;box-shadow:0 12px 40px rgba(0,0,0,.25)}
.sheettitle{font-size:14px;color:var(--muted,#666);padding:4px 6px 8px;border-bottom:1px solid var(--line,#e5e5e5);margin-bottom:4px}
.stopt{display:flex;align-items:center;gap:12px;min-height:50px;border:0;background:transparent;font-size:16px;font-weight:500;font-family:inherit;color:var(--fg,#111);text-align:left;padding:0 8px;border-radius:12px;cursor:pointer}
.stopt:active{background:var(--fill,#eee)}
.sti{width:22px;height:22px;border-radius:6px;border:2px solid var(--line2,#ccc);display:grid;place-items:center;font-style:normal;font-size:13px;font-weight:700;color:#fff;flex:none}
.sti.ok{background:var(--accent,#1f6b52);border-color:var(--accent,#1f6b52)}.sti.no{background:#c62828;border-color:#c62828}.sti.mkb{background:#c2570c;border-color:#c2570c}
.stcancel{margin-top:6px}
.sheet textarea{font-size:16px;min-height:64px;border:0;border-radius:12px;background:var(--fill,#eee);padding:10px 12px;margin:6px 0}
.sheet .acts{display:flex;gap:8px;justify-content:flex-end}
.sett-h{font-size:28px;font-weight:700;letter-spacing:-.02em;margin:8px 4px 4px}
.sett{padding:4px 16px}
.setrow{display:flex;align-items:center;gap:14px;min-height:56px;padding:10px 0}
.setlbl{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.setlbl b{font-size:16px;font-weight:600}
.setlbl span{font-size:13px;color:var(--muted,#666);line-height:1.35;overflow-wrap:anywhere}
.switch{flex:none;position:relative;width:51px;height:31px;border-radius:16px;border:0;padding:0;background:var(--line,#d8d8d8);cursor:pointer;transition:background .2s}
.switch i{position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2);transition:transform .2s}
.switch.on{background:var(--accent,#1f7a4d)}
.switch.on i{transform:translateX(20px)}
.switch:disabled{opacity:.4;cursor:default}
.pushnote{margin:2px 8px 10px;font-size:15px}
.jobsf{display:flex;align-items:center;gap:10px;margin:6px 0}
.jobst{flex:1;min-width:0;min-height:44px;display:flex;align-items:center;flex-wrap:wrap;padding:10px 14px;box-sizing:border-box;border-radius:var(--r2,12px);background:var(--accent-soft,#e3f1ea);color:var(--fg);font-size:16px;font-weight:500;line-height:1.35;overflow-wrap:anywhere}
.jph{color:var(--muted);font-weight:400}
.jx{border:0;background:transparent;color:var(--muted);font:inherit;font-size:18px;line-height:1;padding:0 4px;margin-left:2px;cursor:pointer}
.jplus{flex:none;width:44px;height:44px;border-radius:50%;border:0;background:var(--fill,#eceee9);color:var(--accent,#1f6b52);font:500 26px/1 var(--sans,inherit);cursor:pointer}
.jplus[aria-expanded]{background:var(--accent-soft,#e3f1ea)}
.jplus:active{transform:scale(.94)}
.pcar{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin:-2px 0 4px;cursor:pointer;min-height:32px}
.pcar input{width:18px;height:18px;margin:0;accent-color:var(--accent,#1f6b52)}
.mile label{display:flex;flex-direction:column;gap:6px;font-size:14px}
.mile .note{margin:0}
.rth{position:relative;display:block}
.rdel{position:absolute;top:-6px;right:-6px;width:26px;height:26px;border-radius:50%;border:2px solid var(--paper,#fff);background:rgba(20,20,20,.75);color:#fff;font-size:16px;line-height:1;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center}
.rdel.ask{width:auto;padding:0 10px;border-radius:13px;background:var(--warn,#c2570c);font-size:12px;font-weight:600;right:-4px}
.toplink.on{text-decoration:underline;text-underline-offset:3px}
.topbar #who{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:2px 4px;text-align:right}
.whowrap{position:relative;display:inline-block}
.whoname{font-weight:500}
.whomenu{position:absolute;right:0;top:calc(100% + 6px);min-width:160px;background:var(--paper,#fff);border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,.18);padding:6px;z-index:50;display:flex;flex-direction:column}
.whomenu[hidden]{display:none}
.whomenu button{border:0;background:transparent;text-align:left;font:500 15px var(--sans,inherit);color:var(--fg);padding:11px 12px;border-radius:8px;cursor:pointer}
.whomenu button:hover,.whomenu button:active{background:var(--fill,#eceee9)}
.sett-z{margin:18px 4px 4px}
.topbar #who .toplink{color:var(--muted,#777);font-weight:400}
.topbar #who .toplink.on{color:var(--fg)}
.topbar #who .whoname{color:var(--accent,#1f6b52);font-weight:600}
.vnote.nmiss{background:transparent;border:1px solid var(--warn);color:var(--warn);font-size:13px}
/* Two-week invoice period (home) and the admin team overview */
.pernav{display:flex;align-items:center;gap:8px}
.pernav span{flex:1;text-align:center;display:flex;flex-direction:column;font-size:13px;color:var(--muted)}
.pernav span b{font-size:17px;font-weight:600;color:var(--fg)}
.pernav .btn{min-width:44px;padding:0;font-size:20px}
.pernav .perback{align-self:center;margin-top:4px;border:0;border-radius:999px;background:var(--accent-soft,#e3f1ea);color:var(--accent,#1f6b52);font:inherit;font-size:13px;font-weight:600;padding:3px 12px;cursor:pointer}
.perhead{display:grid;grid-template-columns:auto auto;justify-content:space-between;align-items:baseline;margin-top:10px}
.perhead div{display:flex;flex-direction:column;align-items:center}
.perhead b{font-size:17px;font-weight:600}
.perline{display:flex;justify-content:space-between;gap:8px;font-size:13px;margin:8px 0}
.perline .w{color:var(--warn,#c2570c);font-weight:600}
.perline .r,.tb.r{color:#b42318}
.perline .okt{color:var(--accent,#1f6b52);font-weight:600}
.hchips .hchip.blank{visibility:hidden}
.hchip.miss{background:var(--warn-soft,#fcefe4)}
.hchip.miss i{color:var(--warn,#c2570c)}
.hchip.open{background:#fdecec}
.hchip.open i{color:#b42318}
.hchip.fut{background:transparent;opacity:.45;cursor:default}
.hchips{row-gap:6px}
.pertot{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line,#e3e5e0);padding-top:10px;margin-top:10px}
.team .tdays,.team .tstrip{display:grid;grid-template-columns:repeat(var(--n,14),minmax(0,1fr));gap:3px}
.team .tdays{margin-top:12px;font-size:10px;color:var(--faint,#8f9590);text-align:center}
.team .tdays .td{color:var(--accent,#1f6b52);font-weight:700}
.trow2{border-top:1px solid var(--line,#e3e5e0);padding:10px 0;display:flex;flex-direction:column;gap:6px}
.trow2:first-of-type{margin-top:6px}
.tline{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.tname{font-weight:600;font-size:15px;color:var(--fg)!important;text-decoration:none;margin-right:auto}
.tb{border-radius:999px;padding:2px 9px;font-size:12px;font-weight:600}
.tb.w{background:var(--warn-soft,#fcefe4);color:var(--warn,#c2570c)}
.tb.r{background:#fdecec}
.thrs{font-size:13px;color:var(--muted);min-width:52px;text-align:right}
.tc{display:block;height:16px;border-radius:4px;border:0;padding:0;background:var(--fill,#eceee9);min-width:0}
button.tc:not([disabled]){cursor:pointer}
.tc.ok{background:var(--accent,#1f6b52)}.tc.miss{background:#f0a35e}.tc.open{background:#e5534b}.tc.off{background:#c9ccc6}.tc.today{box-shadow:inset 0 0 0 2px var(--accent,#1f6b52)}.tc.fut{background:var(--fill,#eceee9);opacity:.6}
.tleg{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px}
.tleg span{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted)}
.tleg .tc{width:12px;height:12px;border-radius:3px}
/* Receipts on their own expense line */
.xrow{display:flex;align-items:flex-end;gap:10px}
.xrow label:first-child{flex:1;display:flex;flex-direction:column;font-size:13px;gap:6px}
.xrow .addph{flex-shrink:0}
.xlines{display:flex;flex-direction:column;gap:12px}
.pc{color:var(--muted);font-weight:400;font-size:13px}
.xlines .money{position:relative;display:block}.xlines .money input{padding-left:24px!important;width:100%;box-sizing:border-box}
.xlines .money input{height:44px}.xrow .addph{height:44px;box-sizing:border-box}
/* Invoices */
.sp{flex:1}
.invlink{display:flex;align-items:center;gap:8px;width:100%;border:0;background:var(--fill,#eceee9);border-radius:12px;padding:11px 12px;margin-top:10px;font:inherit;font-size:14px;color:var(--fg);cursor:pointer;text-align:left}
.invlink b{color:var(--accent,#1f6b52);font-weight:600;white-space:nowrap}
.invlink.bad{background:#fdecec}
.invlink .r{color:#b42318;font-weight:600}.invlink .okt{color:var(--accent,#1f6b52);font-weight:600}
.lastinv{border-left:4px solid var(--warn,#c2570c)}
.revb{background:var(--accent-soft,#e3f1ea);border-radius:16px;padding:12px;display:flex;flex-direction:column}
.revb>b{color:var(--accent,#1f6b52);font-weight:600}
.revb .invlink{background:var(--paper,#fff)}
.backl{font-size:15px;margin:0 0 4px;align-self:flex-start}
.invhead{display:grid;grid-template-columns:auto auto;justify-content:space-between;align-items:baseline}
.invhead div{display:flex;flex-direction:column}
.invhead div:last-child{align-items:center}
.invhead span{font-size:15px;color:var(--muted)}
.invhead .note{font-size:13px}
.ih1{font-size:20px;font-weight:700;color:var(--fg)}.ih1.caps{letter-spacing:.02em}
.isteps{display:flex;gap:4px;margin-top:12px}.isteps i{flex:1;height:5px;border-radius:9px;background:var(--fill,#eceee9)}
.isteps i.ok{background:var(--accent,#1f6b52)}.isteps i.bad{background:#b42318}.isteps i.wait{background:#f0a35e}
.isteplab{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:6px}
.isteplab .ok{color:var(--accent,#1f6b52);font-weight:600}.isteplab .bad{color:#b42318;font-weight:600}.isteplab .wait{color:var(--warn,#c2570c);font-weight:600}
.irows{border-top:1px solid var(--line,#e3e5e0);margin-top:12px;display:flex;flex-direction:column}
.irow{padding:9px 8px;margin:0 -8px;border-bottom:1px solid var(--line,#e3e5e0);border-radius:10px;display:flex;flex-direction:column;gap:3px}
.irow.red{background:#fdecec}.irow.red .idate{color:#b42318}
.irow.miss .ihrs{color:var(--warn,#c2570c);font-weight:600}
.il1{display:flex;align-items:center;gap:8px;min-height:30px}
.idate{font-size:14px;font-weight:600;white-space:nowrap}
.ihrs{font-size:13px;color:var(--muted);white-space:nowrap}
.il2{display:flex;align-items:flex-start;gap:10px;border:0;background:none;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer;width:100%}
.ijobs{flex:1;font-size:15px;line-height:1.35}
.iamt{font-size:15px;font-weight:600;white-space:nowrap}
.chev{color:var(--faint,#8f9590);font-size:20px;line-height:1;width:12px;text-align:right}
.itag{border:0;border-radius:999px;padding:3px 10px;font:600 12px var(--sans,inherit);cursor:pointer}
.itag.service{background:#fcefe4;color:#a8480a}.itag.installation{background:var(--accent-soft,#e3f1ea);color:var(--accent,#1f6b52)}
.cbub{position:relative;width:38px;height:32px;border:0;background:none;color:var(--faint,#8f9590);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;margin-right:12px}
.cbub.unread,.cbub.open{color:#b42318}.cbub.done{color:var(--muted)}
.cbub .bdg{position:absolute;top:-3px;right:0;min-width:18px;height:18px;box-sizing:border-box;border-radius:9px;background:#d92d20;color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 4px}
.cbub .bdg.done{background:var(--paper,#fff);color:var(--accent,#1f6b52);border:1.5px solid var(--faint,#8f9590)}
.ichg{font-size:12px;color:var(--warn,#c2570c);line-height:1.4}
.itot{display:flex;flex-direction:column;gap:6px;margin-top:12px;font-size:15px}
.ie{display:flex;align-items:baseline;gap:8px}.ie>span:first-child{color:var(--muted)}
.ie.big{font-size:17px;font-weight:700}.ie.big>span:first-child{color:var(--fg)}
.ie .link{font-size:15px}
.acts2{display:flex;gap:10px;margin-top:14px}.acts2 .btn{flex:1}
.btn.big{width:100%;margin-top:14px;min-height:50px;font-size:16px}
.note.center{text-align:center}
.okline{color:var(--accent,#1f6b52);font-weight:600;margin:14px 0 0}.okline.wait{color:var(--warn,#c2570c)}
.thsheet,.exsheet{max-height:80vh;overflow:auto;gap:8px}
.thh{display:flex;align-items:center;gap:10px}.thh b{font-size:17px}
.thres{min-height:34px;padding:0 12px;border:1px solid var(--accent,#1f6b52)!important;color:var(--accent,#1f6b52)}.thres.on{background:var(--accent-soft,#e3f1ea)}
.msgs{display:flex;flex-direction:column;gap:8px;padding:8px 0;min-height:120px}
.msg{align-self:flex-start;max-width:80%;display:flex;flex-direction:column;gap:2px}
.msg .mb{background:var(--fill,#eceee9);border-radius:18px 18px 18px 4px;padding:9px 13px;font-size:15px;line-height:1.35}
.msg.me{align-self:flex-end;align-items:flex-end}.msg.me .mb{background:var(--accent,#1f6b52);color:#fff;border-radius:18px 18px 4px 18px}
.msg .mt{font-size:11px;color:var(--faint,#8f9590)}
.thin{display:flex;gap:8px;align-items:center}.thin input{flex:1;border-radius:20px!important}.thin .btn{width:44px;padding:0;border-radius:22px;font-size:18px}
.exlist{display:flex;flex-direction:column;gap:10px}
.exr{border:1px solid var(--line,#e3e5e0);border-radius:14px;padding:10px 12px;display:flex;flex-direction:column;gap:8px}
.exr .money input{width:110px;padding-left:24px!important}

.setlink{width:100%;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer}
.setlink .chev{color:var(--muted,#8f9590);font-size:20px}
.billf{display:flex;flex-direction:column;gap:14px;padding:16px}
.billf label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted,#5d635f)}
.billf label input{font-size:16px}
.billf .note{font-size:12px}
/* Item row swipe (all designs): the row slides left over the status buttons */
.swp{position:relative;overflow:hidden}
.swp>.row{position:relative;z-index:1;touch-action:pan-y;background:var(--paper)}
.sacts{position:absolute;inset:0;display:flex;justify-content:flex-end;z-index:0}
.sacts button{width:84px;border:0;border-radius:0;color:#fff;font:600 13px/1.2 var(--sans,inherit);padding:0 8px;cursor:pointer}
.sacts .sa-m{background:#e0a100}.sacts .sa-n{background:#d92d20}
.sacts .sa-d{position:absolute;inset:0;z-index:1;display:none;align-items:center;padding:0 20px;background:#1f6b52;color:#fff;font:600 14px var(--sans,inherit);opacity:.6;transition:opacity .12s}
.swr .sacts .sa-d{display:flex}.swr.arm .sacts .sa-d{opacity:1}
.swp>.row input[type=checkbox]{pointer-events:none}
.swhint{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:8px 8px 8px 14px;border-radius:12px;background:var(--fill,#eceee9);color:var(--muted);font-size:13.5px;line-height:1.35}
.swhint span{flex:1}.swhint button{border:0;background:none;color:var(--faint,#8f9590);width:36px;height:36px;font-size:14px;cursor:pointer}
/* Hooks for the admin-only design studies (skins.css); hidden in the Current design */
.skdate,.skhero,.vnum,.skprog,.sttag.ok,.sttag.pend{display:none}
/* Status buttons inside an opened item (no gesture needed) */
.pst{display:flex;gap:6px;flex-wrap:wrap}
.pst button{flex:1;min-height:44px;border:0;border-radius:var(--r2,12px);background:var(--fill,#eceee9);color:var(--fg);font:500 14px var(--sans,inherit);padding:0 10px;cursor:pointer;white-space:nowrap}
.pst button.on[data-pst=done]{background:var(--accent-soft,#e3f1ea);color:var(--accent)}
.pst button.on[data-pst=no]{background:#fdecec;color:#d92d20}
.pst button.on[data-pst=mkb]{background:#fdf3d6;color:#8a6100}
/* Settings: design picker */
.setrow.col{flex-direction:column;align-items:stretch;gap:12px}
.skgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.skgrid button{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:76px;padding:8px 4px;border:0;border-radius:var(--r2,12px);background:var(--fill,#eceee9);color:var(--fg);font:500 13px var(--sans,inherit);cursor:pointer}
.skgrid button.on{box-shadow:inset 0 0 0 2px var(--accent);background:var(--accent-soft,#e3f1ea)}
.skgrid button:disabled{opacity:.4;cursor:default}
.skprev{display:block;width:40px;height:34px;border-radius:6px;font-style:normal;background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.sp-current{background:linear-gradient(#1f6b52 0 0) 6px 7px/22px 4px no-repeat,linear-gradient(#f2f3f0 0 0) 4px 15px/32px 14px no-repeat,#fff}
.sp-paper{background:linear-gradient(#212721 0 0) 6px 6px/26px 5px no-repeat,linear-gradient(#212721 0 0) 6px 15px/28px 1px no-repeat,linear-gradient(#246143 0 0) 6px 20px/2px 9px no-repeat,#fbfaf7}
.sp-route{background:radial-gradient(circle at 8px 12px,#205f78 3px,transparent 3.5px),linear-gradient(#c9d1d4 0 0) 7.5px 12px/1px 18px no-repeat,linear-gradient(#fff 0 0) 14px 6px/22px 22px no-repeat,#f3f4f4}
.sp-focus{background:linear-gradient(#263e31 0 0) 0 0/100% 14px no-repeat,linear-gradient(#f0f1ee 0 0) 5px 18px/30px 6px no-repeat,linear-gradient(#f0f1ee 0 0) 5px 26px/30px 6px no-repeat,#fbfbfa}
.sp-ledger{background:linear-gradient(#29291f 0 0) 5px 9px/30px 1px no-repeat,linear-gradient(#29291f 0 0) 5px 19px/30px 1px no-repeat,linear-gradient(#d9d6c9 0 0) 5px 26px/30px 1px no-repeat,#f5f3ed;border-radius:0}
.sp-objects{background:linear-gradient(#dce7c9 0 0) 4px 4px/32px 12px no-repeat,linear-gradient(#eeede7 0 0) 4px 19px/32px 11px no-repeat,#faf8f3}

/* ---------- Maxim: Today (the day for everyone) and Period ---------- */
.you{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:6px;background:var(--fg);color:var(--bg);font-size:11px;font-weight:600;vertical-align:2px}
.pday{gap:4px!important}
.pdh{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:0;font:inherit;color:var(--fg);text-align:left;cursor:pointer;min-height:44px}
.pdh b{flex:1;font-size:17px;font-weight:600}
.pdh .bar{width:64px;height:5px;border-radius:3px;background:var(--line);overflow:hidden;display:block}
.pdh .bar i{display:block;height:5px;background:var(--accent)}
.pdh .num{font-size:13px;color:var(--muted)}
.pdh .chev{color:var(--faint);font-size:20px;line-height:1}
.pdh .pnote{font-size:13px;color:var(--muted)}
.pstops{list-style:none;margin:0;padding:0}
.pstop{display:grid;grid-template-columns:4px 1fr;gap:12px;padding:9px 0;border-top:1px solid var(--line)}
.pbody{display:block;width:100%;border:0;background:none;padding:0;margin:0;font:inherit;color:inherit;text-align:left;cursor:pointer;min-width:0}
.pbody>span{display:block}
.pdh[disabled]{cursor:default;opacity:1}
.pdh[disabled] .chev{visibility:hidden}
.chk{display:flex;gap:8px;align-items:center;font-size:14px}
.pstop .pb{border-radius:2px;background:var(--line2)}
.pstop.ok .pb{background:var(--accent)}.pstop.no .pb{background:#d92d20}.pstop.mkb .pb{background:#e0a100}
.psh{display:flex!important;gap:8px;align-items:baseline}
.psh b{font-size:15px;font-weight:600}
.psh .pwin{margin-left:auto;font-size:13px;font-weight:600;color:var(--accent);white-space:nowrap}
.padr{font-size:13px;color:var(--muted)}
.pst2{font-size:12px;color:var(--muted);margin-top:2px}
.pst2 .x{color:#d92d20}.pst2 .m{color:#8a6100}
.tmoney{font-size:12px;color:var(--muted)}
.ptot{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--fg);padding-top:10px;margin-top:4px}
.ptot>b{font-size:15px}
.ptot div{display:flex;justify-content:space-between;font-size:15px}
.ptot div.sum{font-size:16px;font-weight:600;border-top:1px solid var(--line);padding-top:6px}
.team .tdays span.sat{background:var(--satbg,#e6e8e3);border-radius:6px;color:var(--muted)!important}
.team .tdays span.sat b{color:inherit}
.tc.sat.off,.tc.sat.fut,.tc.sat:disabled:not(.ok):not(.miss):not(.open){background:var(--satbg,#e6e8e3)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--satbg:#2a2e2b}}:root[data-theme=dark]{--satbg:#2a2e2b}

/* Saturdays have their own colour everywhere (Maxim 2026-11-08) */
.hchip.sat:not(.ok):not(.miss):not(.open){background:var(--satbg,#e6e8e3)}

/* Public description under the sign-in card (Google needs the home page to say what the app is) */
.about{font-size:13px;line-height:1.5;color:var(--muted);margin:24px 4px 40px}.about p{margin:0 0 8px}.about a{color:var(--accent)}.about[hidden]{display:none}

/* The logo image (topbar and sign-in) */
img.logo,img.logo2{display:block;object-fit:cover;background:none!important;box-shadow:none!important;padding:0}
/* Admin Settings → Links */
.sett.links{display:flex;flex-direction:column;gap:2px}
.sett.links>.setlbl{display:flex;flex-direction:column;gap:2px;margin-bottom:4px}
.sett.links .lgrp{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:12px 0 2px}
.sett.links a.setlink{text-decoration:none;color:inherit}
/* Invoice details not filled: a nudge for the technician */
.billnudge{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 16px;margin:0 0 12px;border-radius:var(--r,12px);background:var(--warn-soft,#f6efe2);color:var(--fg)}
.billnudge>div{display:flex;flex-direction:column;gap:2px}
.billnudge b{color:var(--warn,#9a5a12)}
.billnudge span{font-size:13px;color:var(--muted)}
.billnudge .btn{flex:none}
/* Approved invoice: the technician sends the PDFs from their own mail app */
.sendbox{display:flex;flex-direction:column;gap:10px;margin-top:14px;padding:16px;border-radius:var(--r,14px);background:var(--accent-soft,#e3efea)}
.sendbox>b{font-size:16px;color:var(--on-hero,var(--fg))}
.sendbox.done{background:var(--fill,#eef0ee)}
.sendbox .acts2{margin:0}
.pdfs{display:flex;flex-direction:column;gap:8px}
a.pdfrow{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--r2,8px);background:var(--paper);color:var(--fg);text-decoration:none;font-size:14px;overflow-wrap:anywhere}
.pdfic{flex:none;width:16px;height:20px;border:1.6px solid var(--warn,#a4532a);border-radius:2px 7px 2px 2px}
.payedit{display:flex;gap:8px;margin:10px 0 0}.payedit input{flex:1;min-width:0;font-size:16px}
.gallery.dropon,.xlines>div.dropon{outline:2px dashed var(--accent,#1f6b52);outline-offset:4px;border-radius:12px}
.gacts{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.gacts [data-pedit]{margin-left:auto}
.ptime{display:block;font-size:11px;line-height:1.3;color:var(--muted,#667);text-align:center;margin-top:2px;font-variant-numeric:tabular-nums}
.ptime.other{color:var(--warn);font-weight:600}
.ptime.none{color:var(--warn);font-style:italic}
.ntag{font-size:11px;color:var(--muted);border:1px solid var(--line,#dde2df);border-radius:4px;padding:0 4px;white-space:nowrap;text-decoration:none;display:inline-block}
.ntag.miss{color:var(--warn);border-color:var(--warn)}
/* Comment photos and delete (Maxim only) */
.cph input{display:none}
.cph{display:inline-flex;align-items:center;cursor:pointer}
.cthumbs{margin-top:6px}
.btn.cdel{margin-right:auto;color:var(--st-no,#b42318);border-color:currentColor}
.btn.cdel.ask{background:var(--st-no,#b42318);color:#fff}
/* Remove a visit from a day (Maxim only) */
.vrm{margin-top:10px;font-size:13px}
.vrmbtn{color:var(--muted)}
.vrmbtn.ask{color:var(--st-no,#b42318);font-weight:600}
