/* PressLink – newsprint look */
@font-face{font-family:'Playfair Display';src:url(/fonts/playfair.woff) format('woff');font-weight:400 900;font-style:normal;font-display:swap}
@font-face{font-family:'Playfair Display';src:url(/fonts/playfair-italic.woff) format('woff');font-weight:400 900;font-style:italic;font-display:swap}
@font-face{font-family:'Inter';src:url(/fonts/inter.woff) format('woff');font-weight:100 900;font-style:normal;font-display:swap}
:root{--ink:#141414;--paper:#f3f1ec;--sheet:#fffefb;--muted:#4a4844;--line:#d3cec4;--edge:#6f6b64;--ok:#1d6b3a;--bad:#a3191c;
--serif:'Playfair Display',Georgia,'Times New Roman',serif;--sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
--grain:url(/img/grain.svg) 0 0/240px 240px;--dark:var(--grain),radial-gradient(120% 90% at 30% 20%,#ffffff14,#0000 60%),radial-gradient(90% 80% at 80% 90%,#0000002e,#0000 70%),linear-gradient(180deg,#484848,#2b2b2b 55%,#363636);--silver:var(--grain),radial-gradient(75% 95% at 50% 45%,#dadada,#b9b9b9 70%,#a6a6a6);
--st:env(safe-area-inset-top,0px);--sb:env(safe-area-inset-bottom,0px);font-family:var(--sans);font-size:106.25%;line-height:1.45}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:clip;max-width:100%}
body{padding-bottom:calc(92px + var(--sb))}
:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
/* ---------- masthead (card top band: texture, white rules, tracked strapline between bars) */
.mast{position:sticky;top:0;z-index:5;background:var(--dark);color:#fff;text-align:center;padding:calc(10px + var(--st)) 16px 9px;border-bottom:5px solid #fff;box-shadow:0 1px 0 #2a2a2a}
.mast .brand{font-family:var(--serif);font-weight:800;font-size:1.85rem;line-height:1.05;letter-spacing:.2px;padding-bottom:6px;border-bottom:1px solid #ffffffb0;max-width:380px;margin:0 auto}
.strap{display:flex;justify-content:center;margin-top:6px}
.strap span,.kicker{display:inline-flex;align-items:center;gap:.8em;font-family:var(--sans);font-weight:500;font-size:.72rem;letter-spacing:.32em;text-transform:uppercase;padding-left:.32em}
.strap span::before,.strap span::after,.kicker::before,.kicker::after{content:"";width:3px;height:1.35em;background:currentColor;flex:none}
.strap span::after,.kicker::after{margin-left:-.32em}
/* ---------- page */
main{max-width:640px;width:100%;margin:auto;padding:16px 14px 8px;overflow-x:clip}
h1{font-family:var(--serif);font-weight:800;font-size:2rem;line-height:1.1;margin:4px 2px 16px;padding-bottom:8px;border-bottom:4px double var(--ink);letter-spacing:-.2px}
h2{font-family:var(--serif);font-weight:700;font-size:1.3rem;line-height:1.2;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid var(--ink)}
h2.sec{border:0;margin:24px 2px 10px;display:flex;align-items:center;gap:12px;font-size:1.4rem}
h2.sec::after{content:"";flex:1;height:0;border-top:4px double var(--ink)}
.card input,.card select,.card textarea{max-width:100%}
.card{background:var(--sheet);padding:16px 15px;margin:0 0 16px;border:1px solid var(--line);border-top:3px solid var(--ink);box-shadow:inset 0 2px 0 var(--sheet),inset 0 3px 0 var(--ink),0 1px 2px #0000000d;max-width:100%;min-width:0;overflow-x:clip}
/* Flat list cards (Today Changes merge, title counts): single thin border, no heavy top rule */
.card.flat{border-top:1px solid var(--line);box-shadow:0 1px 2px #0000000d;padding:0}
.card.flat .list{margin:0}
.card.flat .item{padding:14px 15px}
/* summary cards: charcoal texture framed by white rules, like the card */
.hero{background:var(--dark);color:#fff;border:0;padding:18px 18px 16px;box-shadow:inset 0 0 0 6px #ffffff00;position:relative}
.hero::before,.hero::after{content:"";position:absolute;left:10px;right:10px;height:3px;background:#fff}
.hero::before{top:8px}.hero::after{bottom:8px}
.hero{padding-top:24px;padding-bottom:24px}
.hero h2{color:#fff;border-color:#ffffff80}.hero .muted,.hero .sub2{color:#e9e9e9}
.kicker{font-size:.78rem;font-weight:600;color:#fff;margin-bottom:4px}
.big{font-family:var(--serif);font-size:clamp(1.7rem,9vw,2.9rem);font-weight:800;line-height:1.15;letter-spacing:-.5px;font-variant-numeric:lining-nums;overflow-wrap:anywhere;max-width:100%;min-width:0}
.hero .big{color:#fff}
.sub2{font-size:.98rem;line-height:1.4}
.stats{display:flex;gap:12px;margin-top:14px}
.stats>div{flex:1;padding:2px 10px;border-left:3px solid #fff;border-right:3px solid #fff;text-align:center}
.stats .muted{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600}
.stats b{display:block;font-variant-numeric:lining-nums;font-family:var(--serif);font-size:1.6rem;font-weight:800;line-height:1.2}
.muted{color:var(--muted);font-size:.95rem}.ok{color:var(--ok)}.bad{color:var(--bad)}
p{margin:.4em 0}
.list{margin:0 -15px}.item{display:flex;gap:12px;align-items:center;padding:14px 15px;border-top:1px solid var(--line)}.item:first-child{border-top:0}.item .grow{flex:1;min-width:0}
.item .t{font-weight:700;font-size:1.02rem;overflow-wrap:anywhere}
.item.total{border-top:2px solid var(--ink)}
.badge{display:inline-block;font-size:.88rem;font-weight:600;padding:4px 10px;border:1.5px solid var(--ink);background:var(--sheet);color:var(--ink);border-radius:2px;line-height:1.3}
.stop{font-variant-numeric:lining-nums;width:40px;height:40px;background:var(--ink);color:#fff;font-family:var(--serif);font-weight:800;font-size:1.15rem;display:grid;place-items:center;flex:none;border-radius:2px;box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 3px #fff}
.count{font-family:var(--serif);font-size:1.7rem;font-weight:800;color:var(--ink);min-width:44px;text-align:right;font-variant-numeric:lining-nums}
/* paper title cards + Mon–Sun day picker */
.title-card{min-width:0;overflow:hidden;display:flex;flex-direction:column;height:100%;box-sizing:border-box;container-type:inline-size;container-name:title-card}
.title-card .title-head{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0}
.title-card .title-head .name{font-family:var(--serif);font-weight:700;font-size:1.25rem;line-height:1.25;overflow-wrap:anywhere;hyphens:auto;min-width:0}
.title-card .title-head .price{min-width:0}
.title-card .tick{display:none;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;background:var(--ink);color:#fff;padding:4px 8px;border-radius:2px;white-space:nowrap;align-self:flex-end;order:-1;max-width:100%}
.title-card.on .tick{display:inline-block}
.title-card.on{border:6px solid var(--ink);border-top:6px solid var(--ink);box-shadow:none}
.title-card .title-acts{display:flex;gap:8px;margin-top:auto;padding-top:10px;align-items:stretch}
.title-card .title-acts .btn{margin:0;min-width:0}
.title-card .title-acts .btn.ghost{flex:1}
.title-card .title-acts .card-save{display:none;flex:0 0 auto;align-self:stretch;background:var(--ok);border-color:var(--ok);color:#fff;padding:0 12px;white-space:nowrap;opacity:1;transition:opacity .28s ease}
.title-card .title-acts .card-save.is-on{display:inline-block}
.title-card .title-acts .card-save.is-fade{opacity:0}
.title-card .title-acts .card-save:active{opacity:.9}
.title-card .name{font-family:var(--serif);font-weight:700;font-size:1.25rem;line-height:1.25;overflow-wrap:anywhere}
.price{font-size:.95rem;color:var(--muted);margin-top:2px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:12px;min-width:0;width:100%}
.chip{position:relative;display:block;min-width:0}.chip input{position:absolute;inset:0;opacity:0;margin:0;width:100%;height:100%;cursor:pointer}
.chip span{display:flex;align-items:center;justify-content:center;height:52px;border:2px solid var(--edge);border-radius:3px;font-size:clamp(.7rem,2.2vw,.95rem);font-weight:700;color:var(--ink);background:#fff;user-select:none;min-width:0;padding:0 1px;box-sizing:border-box;overflow:hidden}
.chip input:checked+span{background:var(--ink);border-color:var(--ink);color:#fff}
.chip input:focus-visible+span{outline:3px solid var(--ink);outline-offset:2px}
.chip.off span{color:#8d8a84;border-style:dashed;border-color:#b9b4ab;background:repeating-linear-gradient(135deg,#f4f2ed 0 5px,#e9e6df 5px 7px);text-decoration:line-through}
.chip.off input{cursor:not-allowed}
/* forms */
label.f{display:block;font-size:.95rem;font-weight:600;color:#2b2a28;margin:12px 2px 6px}
input,select,textarea{width:100%;max-width:100%;min-width:0;min-height:54px;padding:12px 14px;border:2px solid var(--edge);border-radius:3px;font:inherit;font-size:1rem;background:#fff;color:var(--ink);box-sizing:border-box}
textarea{display:block;min-height:96px;line-height:1.45;resize:vertical;font-family:inherit}
/* iOS Safari: date/month fields have a large intrinsic min-width that blows past cards
   (Catalogue "Price and fee changes start from", Paper order month, Holidays, etc.) */
input[type=date],input[type=month],input[type=datetime-local],input[type=time],input[type=week]{
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
  -webkit-appearance:none;appearance:none;display:block;
  overflow:hidden; /* iOS intrinsic min-width otherwise blows past the card */
}
input[type=date]::-webkit-date-and-time-value,
input[type=month]::-webkit-date-and-time-value,
input[type=date]::-webkit-datetime-edit,
input[type=month]::-webkit-datetime-edit,
input[type=date]::-webkit-datetime-edit-fields-wrapper,
input[type=month]::-webkit-datetime-edit-fields-wrapper{
  min-width:0;max-width:100%;overflow:hidden;
}
input[type=date]::-webkit-calendar-picker-indicator,
input[type=month]::-webkit-calendar-picker-indicator{
  margin-inline-start:0;padding:0;max-width:1.25rem;flex-shrink:0;
}
/* Customer Holidays Pause card + any lone date field: never wider than the card */
.card>input[type=date],.card>input[type=month],
.card label.f+input[type=date],.card label.f+input[type=month],
.card .row input[type=date],.card .row input[type=month]{
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
}
/* Catalogue fee bands: days | fee | × — match input height, don't stretch × */
.tier-row{display:flex;gap:10px;align-items:flex-end;max-width:100%;min-width:0}
.tier-row>div{flex:1;min-width:0}
.tier-row>.tier-rm{
  flex:0 0 48px;width:48px;min-width:48px;max-width:48px;
  min-height:54px;height:54px;margin:0;padding:0;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:1.25rem;line-height:1;box-sizing:border-box;
}
input:focus,select:focus,textarea:focus{outline:3px solid var(--ink);outline-offset:1px;border-color:var(--ink)}
input::placeholder{color:#77736c}
.btn{display:block;width:100%;min-height:56px;border:2px solid var(--ink);border-radius:3px;background:var(--ink);color:#fff;font:inherit;font-weight:700;font-size:1.08rem;letter-spacing:.02em;margin-top:14px;cursor:pointer;padding:0 16px}
.btn.gold{background:#fff;color:var(--ink);border-color:#fff}
.btn.ghost{background:transparent;color:var(--ink)}
.btn.sm{display:inline-block;width:auto;min-height:48px;padding:0 16px;margin:0;font-size:.98rem}
.btn:active{transform:translateY(1px);opacity:.9}
.row{display:flex;gap:10px}.row>*{flex:1;min-width:0}
.row2{display:flex;gap:10px}.row2 .btn{flex:1;width:auto;min-width:0;margin-top:14px}
.mock{background:repeating-linear-gradient(135deg,#f5f3ee 0 8px,#efece6 8px 16px);border:1.5px dashed var(--edge);color:#2b2a28;padding:10px 12px;border-radius:3px;font-size:.92rem;margin-bottom:6px}
.seg{display:flex;border:2px solid var(--ink);border-radius:3px;padding:3px;margin-bottom:16px;background:var(--sheet);gap:3px}
.seg button{flex:1;border:0;background:none;padding:10px 8px;min-height:50px;border-radius:2px;font:inherit;font-weight:700;font-size:1rem;color:var(--ink);cursor:pointer;line-height:1.2}
.seg button.on{background:var(--ink);color:#fff}
details>summary{min-height:48px;display:flex;align-items:center;font-weight:700;cursor:pointer;list-style-position:inside}
details>summary::-webkit-details-marker{margin-right:8px}
.note{font-size:.95rem;color:var(--muted);margin:0 2px;padding:10px 0 0;border-top:1px solid var(--line)}
/* tab bar: newsprint sheet with double rule, bold active marker */
/* Tab bar: fixed to the layout bottom (safe-area padding kept). iOS may lift position:fixed above the keyboard when an input is focused and the page scrolls; app.js pinTabbar() counters that so the bar stays under the keyboard, then clears when the keyboard closes. Do not dock to the visual viewport and do not hide the bar. */
.tabbar{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:9;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);background:var(--sheet);border-top:4px double var(--ink);padding:4px 2px calc(6px + max(var(--sb,0px),env(safe-area-inset-bottom,0px)));transform:none}
.tabbar button{flex:1;border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:3px;font:inherit;font-size:.86rem;font-weight:600;color:#55524d;min-height:60px;padding:8px 0 4px;cursor:pointer;position:relative;white-space:nowrap}
.tabbar button{min-width:0;justify-content:flex-start;text-align:center}
.tabbar svg{width:26px;height:26px;flex:0 0 26px;display:block;margin:0 auto}
.tabbar .tl{display:block;width:100%;padding:0 1px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;text-align:center;line-height:1.15;font-size:clamp(.6rem,2.75vw,.84rem);letter-spacing:-.02em}
.tabbar button.on{color:var(--ink);font-weight:800}
.tabbar button.on::before{content:"";position:absolute;top:-4px;left:22%;right:22%;height:4px;background:var(--ink)}
.toast{position:fixed;left:50%;bottom:calc(104px + var(--sb));transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:14px 20px;border-radius:3px;font-size:1rem;font-weight:600;opacity:0;transition:.25s;pointer-events:none;z-index:20;max-width:90vw;border-top:3px solid #fff;box-shadow:0 0 0 2px var(--ink),0 10px 30px #0004}
.toast.show{opacity:1;transform:translate(-50%,0)}
/* login / welcome: centre band with the PressLink mark */
.welcome{margin:-16px -14px 0}
.band{background:var(--silver);display:flex;justify-content:center;align-items:flex-end;gap:6%;padding:18px 12px 12px}
.band img{width:42%;max-width:200px;height:auto;display:block}
.band img.mark{width:96px;max-width:96px;border-radius:22px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.strip{background:var(--dark);color:#fff;border-top:5px solid #fff;padding:12px 10px;display:flex;justify-content:center;gap:18px;flex-wrap:wrap}
.strip .kicker{font-size:.74rem;letter-spacing:.22em;margin:0}
.lede{font-family:var(--serif);font-style:italic;font-weight:600;font-size:1.5rem;line-height:1.25;text-align:center;margin:20px 6px 6px}
.lede+p{text-align:center;margin:0 10px 18px;color:var(--muted);font-size:1rem}
.demo{font-size:.92rem;line-height:1.6;color:var(--muted);text-align:center;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.center{text-align:center}
/* empty states with a faded PressLink mark */
.empty{text-align:center;color:var(--muted);padding:12px 12px 8px;font-size:1rem}
.empty img{display:block;width:96px;height:auto;margin:4px auto 8px;opacity:.38}
.empty.small img{width:64px}
@media print{.tabbar,.mast,.noprint{display:none}body{padding:0;background:#fff}.hero{background:#fff;color:#000;border:2px solid #000}.hero *{color:#000!important}}
@media (min-width:700px){.tabbar{max-width:520px;margin:0 auto 14px;border:2px solid var(--ink);border-top:4px double var(--ink);box-shadow:0 8px 30px #0002;bottom:0}.welcome{margin:-16px 0 0}}
@media (max-width:360px){.mast .brand{font-size:1.6rem}.strap span{letter-spacing:.22em;font-size:.66rem}.days{gap:3px}.chip span{font-size:.85rem}}
/* ---------- register your interest */
/* newspaper double-rule housing – same frame as Register your interest */
.housing{border:2px solid var(--ink);box-shadow:inset 0 0 0 3px var(--sheet),inset 0 0 0 4px var(--ink);background:var(--sheet)}
.btn.reg{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:72px;margin:0 0 20px;background:var(--sheet);color:var(--ink);border:2px solid var(--ink);box-shadow:inset 0 0 0 3px var(--sheet),inset 0 0 0 4px var(--ink)}
/* login/sign-up: outer housing only; tabs + forms inside stay pixel-identical */
.auth-box{padding:8px;margin:0 0 16px}
.auth-box>.seg{margin-left:16px;margin-right:16px} /* line tabs up with fields (card pad 15px + 1px border) */
.auth-box>.card{margin-bottom:0;border-top:3px solid var(--sheet);box-shadow:0 1px 2px #0000000d} /* drop the ink top double-rule under the tabs; keep 3px so fields don't jump */
/* How it works: same outer housing, keep inner padding/content */
.how.housing{border:2px solid var(--ink);border-top:2px solid var(--ink);box-shadow:inset 0 0 0 3px var(--sheet),inset 0 0 0 4px var(--ink)}
.btn.reg span{font-weight:500;font-size:.98rem;color:var(--muted)}.btn.reg b{font-family:var(--serif);font-size:1.3rem;font-weight:800}
.back{border:0;background:none;font:inherit;font-weight:700;font-size:1.02rem;color:var(--ink);min-height:48px;padding:0 4px;margin:-6px 0 2px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.intro{font-size:1.05rem;margin:-4px 2px 16px;color:#2b2a28}
.opt{font-weight:400;color:var(--muted);font-size:.9em;font-family:var(--sans)}
.hint{font-size:.95rem;color:var(--muted);margin:8px 2px 0}
.notice{margin-top:12px;padding:12px 14px;border:2px solid var(--ink);background:#fff;border-radius:3px}.notice p{margin:0 0 4px}
.notice.live{border-width:3px;box-shadow:inset 0 0 0 2px #fff,inset 0 0 0 3px var(--ink)}.notice.live .btn{margin-top:10px}
.found{margin-top:12px;padding:10px 14px;border-left:6px solid var(--ink);background:#fff;display:flex;flex-direction:column}
.found .kick{font-size:.78rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}.found b{font-family:var(--serif);font-size:1.45rem;line-height:1.2}
details.fix{margin-top:8px}details.fix summary{font-weight:600;font-size:.98rem;text-decoration:underline;text-underline-offset:3px}details.fix input{margin-top:4px}
.pick{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pick .chip span{height:auto;min-height:56px;padding:6px 8px;text-align:center;line-height:1.2;font-size:.95rem}
.consent{display:flex;gap:14px;align-items:flex-start;font-size:1.02rem;cursor:pointer}.consent input{width:30px;height:30px;min-height:0;flex:none;margin:0;accent-color:var(--ink)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
select{appearance:none;-webkit-appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23141414' stroke-width='2.2'/%3E%3C/svg%3E") no-repeat right 14px center;padding-right:38px;font-weight:600}
/* owner: launch areas */
.area .name{font-family:var(--serif);font-weight:800;font-size:1.4rem;line-height:1.15}
.area-h{display:flex;gap:10px;align-items:flex-start}
.prog{margin:14px 0 6px;font-size:1.02rem}.prog b{font-family:var(--serif);font-size:1.5rem;font-variant-numeric:lining-nums}
.bar{height:16px;border:2px solid var(--ink);background:repeating-linear-gradient(135deg,#fff 0 5px,#ece9e2 5px 7px);border-radius:2px;overflow:hidden}.bar i{display:block;height:100%;background:var(--ink)}
.badge.live{background:var(--ink);color:#fff;letter-spacing:.12em;text-transform:uppercase;font-size:.78rem;font-weight:800}
.badge.ready{background:var(--ok);border-color:var(--ok);color:#fff;font-weight:800}
.contact{display:flex;flex-direction:column;gap:2px;margin-top:4px}.contact a{color:var(--ink);font-weight:600;min-height:32px;display:flex;align-items:center;word-break:break-all}
.item.un{align-items:flex-start}.item.un .btn.sm{min-height:50px}.item.un select{min-height:50px}

/* ---------- owner: edit / remove customer */
.cust-act{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.btn.danger{background:var(--bad);border-color:var(--bad);color:#fff}
.btn.ghost.danger{background:transparent;color:var(--bad);border-color:var(--bad)}
.save-bar{position:sticky;bottom:calc(78px + var(--sb));z-index:4;background:var(--paper);padding:2px 0 8px;margin:0 -2px;border-top:4px double var(--ink)}
.save-bar .btn{margin-top:8px}.save-bar .btn.ghost{flex:0 0 34%;background:var(--sheet)}
.modal{position:fixed;inset:0;z-index:30;background:#141414b3;display:flex;align-items:flex-end;justify-content:center;padding:16px 12px calc(16px + var(--sb));animation:fade .15s ease-out}
.modal .sheet{width:100%;max-width:460px;background:var(--sheet);border:2px solid var(--ink);border-top:6px solid var(--ink);box-shadow:inset 0 3px 0 var(--sheet),inset 0 4px 0 var(--ink),0 18px 40px #0006;padding:20px 18px 16px;border-radius:3px}
.modal h2{font-size:1.55rem;border-bottom:4px double var(--ink)}
.modal .lead-q{font-family:var(--serif);font-size:1.2rem;font-weight:700;margin:4px 0 8px}
@media (min-width:700px){.modal{align-items:center}}
@keyframes fade{from{opacity:0}to{opacity:1}}
body.noscroll{overflow:hidden}
@media print{.cust-act,.save-bar{display:none}}

/* ---------- card payments (Stripe) */
.monthly{font-size:.98rem;line-height:1.5;margin:12px 0 4px;padding:10px 12px;border-left:5px solid var(--ink);background:#fff}
.ccard{position:relative;max-width:340px;margin:2px auto 6px;aspect-ratio:1.586;border-radius:10px;padding:18px 20px;color:#fff;background:var(--dark);box-shadow:inset 0 0 0 2px #ffffff40,0 8px 20px #0003;display:flex;flex-direction:column;justify-content:space-between}
.ccard::after{content:"";position:absolute;left:14px;right:14px;top:50%;height:2px;background:#ffffff30}
.cc-brand{font-family:var(--serif);font-weight:800;font-size:1.5rem;text-align:right;letter-spacing:.02em}
.cc-num{font-variant-numeric:lining-nums tabular-nums;font-size:1.25rem;font-weight:600;letter-spacing:.12em}
.cc-exp{font-size:.8rem;letter-spacing:.2em;text-transform:uppercase;color:#e9e9e9}
.notice.bad-n{border:3px solid var(--bad);background:#fff;margin:0 0 16px;padding:14px}.notice.bad-n b{color:var(--bad)}.notice.bad-n .btn{margin-top:12px}
.seg button small{display:block;font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;opacity:.8}
.seg button[disabled]{color:#8d8a84;cursor:not-allowed;background:repeating-linear-gradient(135deg,#f4f2ed 0 5px,#e9e6df 5px 7px)}
.badge.warn{border-color:var(--bad);color:var(--bad);border-style:dashed}
.paystat{margin-top:10px}.paystat .charge,.item .charge{font-size:.93rem;font-weight:600;margin-top:6px}
.btn:disabled{opacity:.6;cursor:progress}
/* ---------- reorder drops (owner, full screen) */
.h2row{display:flex;align-items:center;justify-content:space-between;gap:10px}.h2row .btn.sm{font-family:var(--sans);font-size:.95rem}
.ro{position:fixed;inset:0;z-index:25;background:var(--paper);display:flex;flex-direction:column}
.ro-head{background:var(--sheet);padding:calc(12px + var(--st)) 16px 10px;border-bottom:4px double var(--ink)}
.ro-head h1{margin:0 0 6px;padding:0;border:0;font-size:1.8rem}.ro-head p{margin:0;max-width:640px}
.ro-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:14px 12px;overscroll-behavior:contain}
.ro-body .card{max-width:640px;margin:0 auto 8px}
.ro-row{display:flex;gap:10px;align-items:center;padding:10px 12px 10px 6px;border-top:1px solid var(--line);background:var(--sheet);position:relative}
.ro-row:first-child{border-top:0}
.ro-row .grow{flex:1;min-width:0}.ro-row .t{font-weight:700;font-size:1.05rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ro-row .muted{overflow:hidden;text-overflow:ellipsis}
.ro-grip{flex:none;width:44px;min-height:56px;border:0;background:none;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.ro-grip i{display:block;width:22px;height:3px;background:var(--ink);border-radius:1px}
.ro-ud{display:flex;flex-direction:column;gap:6px;flex:none}
.ro-ud button{width:52px;height:48px;border:2px solid var(--ink);background:#fff;color:var(--ink);font-size:1.1rem;border-radius:3px;cursor:pointer;padding:0}
.ro-ud button:active{background:var(--ink);color:#fff}
.ro-acts{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:2px}
.ro-link{border:0;background:none;padding:0;min-height:44px;font:inherit;font-weight:700;font-size:.98rem;color:var(--ink);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ro-add{display:none}.ro-row.un .ro-add{display:inline}
.ro-row.un .stop{background:#fff;color:var(--muted);box-shadow:inset 0 0 0 2px var(--edge)}
.ro-row.drag{z-index:3;box-shadow:0 0 0 2px var(--ink),0 12px 28px #0004;transition:none}.ro-row.drag .ro-grip{cursor:grabbing}
.ro-row.flash{animation:roflash .8s ease-out}@keyframes roflash{from{background:#e6e2d8}to{background:var(--sheet)}}
.ro-div{display:flex;align-items:center;gap:10px;padding:16px 12px 8px;border-top:4px double var(--ink);font-family:var(--serif);font-weight:800;font-size:1.15rem}
.ro-div::after{content:"";flex:1;border-top:1px solid var(--ink)}
.ro-div[hidden]{display:none}
.ro-foot{display:flex;gap:10px;padding:10px 12px calc(10px + var(--sb));background:var(--sheet);border-top:4px double var(--ink)}
.ro-foot .btn{margin:0}.ro-foot .btn.ghost{flex:0 0 34%}
@media (min-width:700px){.ro-foot{justify-content:center}.ro-foot .btn{max-width:300px}}
/* ---------- accessibility pass for customers (larger text, clearer controls) */
.muted,.hint,.price,.f,.note,.monthly{font-size:1rem}
.stats .muted{font-size:.85rem}
.chip span{font-size:1.02rem}
.chip.off span{color:#6f6b64}
.seg button small{font-size:.8rem}
.found .kick{font-size:.85rem}
.toast{font-size:1.08rem}
.fix summary{font-size:1rem;padding:10px 0}
.tabbar.cust button{font-size:.95rem}
.tabbar.cust .tl{font-size:clamp(.68rem,3vw,.88rem)}
@media (max-width:360px){.chip span{font-size:.92rem}}
/* Narrow title cards: keep Mon–Sun fully readable. Placed after a11y .chip span{1.02rem} so these win when the card is tight. */
@container title-card (max-width:380px){
 .days{gap:3px}
 .chip span{height:46px;font-size:clamp(.72rem,4.8cqi,.92rem);padding:0;letter-spacing:-.02em}
}
@container title-card (max-width:300px){
 .days{gap:3px}
 .chip span{height:40px;font-size:clamp(.62rem,5.2cqi,.82rem);padding:0;letter-spacing:-.015em}
}
@container title-card (max-width:230px){
 .days{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 .chip span{height:42px;font-size:.78rem;letter-spacing:0}
}

.ro-foot .btn.ghost{flex:0 0 30%}.ro-sm{display:block;font-size:.8rem;font-weight:500;opacity:.85;margin-top:2px}
.steps{font-size:1.1em;line-height:1.6;padding-left:1.4em;margin:6px 0 14px}.steps li{margin-bottom:6px}
.tabbar[hidden]{display:none!important}

.hol-act{flex:0 0 auto;gap:6px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.hol-booked{align-items:flex-start}
@media (max-width:1023px){
 .item.hol-booked{flex-wrap:wrap;align-items:stretch}
 .item.hol-booked>.grow{flex:1 1 100%;min-width:100%}
 .hol-act{flex:1 1 100%;width:100%;margin-top:8px;justify-content:stretch}
 .hol-act .btn{flex:1}
}

/* Tablet counter (Android ~800×1280 portrait / phone chrome below 1024): room for 6 shop tabs */
@media (min-width:700px) and (max-width:1023px){
 .tabbar{max-width:min(720px,calc(100% - 24px))}
 .tabbar.shop button{min-height:56px;padding:6px 0 3px;gap:2px}
 .tabbar.shop svg{width:24px;height:24px;flex:0 0 24px}
 .tabbar.shop .tl{font-size:clamp(.58rem,1.55vw,.78rem);letter-spacing:-.03em;white-space:nowrap}
 body.role-shop main{max-width:720px;padding:16px 18px 12px}
 body.role-shop .item.hol-booked{flex-wrap:wrap;align-items:stretch}
 body.role-shop .item.hol-booked>.grow{flex:1 1 100%;min-width:100%}
 body.role-shop .hol-act{flex:1 1 100%;width:100%;margin-top:8px;justify-content:stretch}
 body.role-shop .hol-act .btn{flex:1}
 body.role-shop .cust-act{gap:8px}
 body.role-shop .chips{display:flex;flex-wrap:wrap;gap:6px}
}
/* Short landscape phones / small tablets still on phone chrome */
@media (max-width:1023px) and (max-height:820px){
 body{padding-bottom:calc(88px + var(--sb))}
 body.role-shop main{padding-top:12px}
 body.role-shop h1{font-size:1.7rem;margin-bottom:10px}
}
/* Android tablet landscape ~1280×800: desk sidebar + short height */
@media (min-width:1024px) and (max-height:860px){
 body.role-shop .desk-side{padding:12px 12px;gap:4px}
 body.role-shop .side-link{padding:8px 8px;font-size:.92rem}
 body.role-shop .side-brand{font-size:1.25rem}
 body.role-shop .side-strap{margin-bottom:8px}
 body.role-shop main{padding:12px 18px 24px}
 body.role-shop h1{font-size:1.7rem;margin:2px 2px 12px}
 body.role-shop .desk-split-2{gap:14px}
}

/* ---------- owner: paper order */
.btn.po-open{min-height:72px;margin:0 0 16px;font-size:1.25rem;line-height:1.2;padding:10px 16px}.po-open small{display:block;font-size:.9rem;font-weight:500;opacity:.9;margin-top:3px}
.po-head{font-family:var(--serif);font-weight:700;font-size:1.2rem;margin:0 2px 12px}
.po-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -15px;padding:0 15px}
.po-table{border-collapse:collapse;width:100%;font-variant-numeric:lining-nums tabular-nums;font-size:1rem}
.po-table th,.po-table td{padding:10px 8px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.po-table thead th{font-size:.85rem;font-weight:700;border-bottom:2px solid var(--ink);vertical-align:bottom}.po-table thead th span{display:block;font-family:var(--serif);font-size:1.1rem}
.po-table .po-t{text-align:left;white-space:normal;min-width:140px;font-weight:700;position:sticky;left:0;background:var(--sheet)}
.po-table td{font-family:var(--serif);font-weight:800;font-size:1.2rem}.po-table .po-sum{border-left:2px solid var(--ink)}
.po-table tfoot th,.po-table tfoot td{border-top:2px solid var(--ink);border-bottom:0}.po-z{color:var(--line)}
.po-money td{font-size:1.1rem}
@media print{.po-scroll{overflow:visible;margin:0;padding:0}.po-table{font-size:10pt}.po-table td{font-size:11pt}.po-table .po-t{position:static;min-width:0}.back{display:none}}

/* footer: contact + privacy (kept clear of the tab bar by body padding) */
.site-foot{max-width:520px;margin:8px auto 0;padding:14px 16px 8px;text-align:center;color:var(--muted);font-size:.95rem;line-height:1.7}
.site-foot a{color:var(--ink);font-weight:600}
.site-foot .sep{margin:0 6px}
.linkbtn{background:none;border:0;padding:10px 2px;margin-top:6px;font:inherit;font-size:1rem;color:var(--ink);text-decoration:underline;cursor:pointer;min-height:44px}
.badge.new{background:var(--ink);color:#fff;border-color:var(--ink)}
.doc{max-width:680px;margin:0 auto;padding:6px 4px 30px}
.doc h2{margin-top:22px}
.doc li{margin:4px 0}
@media print{.site-foot{display:none}}
a.btn{display:flex;align-items:center;justify-content:center;text-decoration:none;box-sizing:border-box}
a.back{display:inline-flex;align-items:center}
.hint a,.notice a,.consent a{color:var(--ink);font-weight:600}

/* ---------- landing idea C: "wider welcome" – desktop only (>=1100px): two columns, the form and a How it works panel; hidden below so phones/tablets are unchanged */
.how{display:none}
.how-steps{list-style:none;counter-reset:how;margin:0;padding:0}
.how-steps li{counter-increment:how;display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--line)}
.how-steps li:first-child{border-top:0;padding-top:4px}
.how-i{position:relative;flex:none;width:58px;height:58px;display:grid;place-items:center;background:var(--silver);color:var(--ink);border-radius:2px;box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px #fff}
.how-i::after{content:counter(how);position:absolute;top:-7px;left:-7px;width:24px;height:24px;display:grid;place-items:center;background:var(--ink);color:#fff;font-family:var(--serif);font-weight:800;font-size:.9rem;border-radius:2px;box-shadow:inset 0 0 0 1px #fff}
.how-steps b{display:block;font-family:var(--serif);font-weight:700;font-size:1.18rem;line-height:1.2;margin:2px 0 3px}
.how-steps p{margin:0;color:var(--muted);font-size:1rem}
@media (min-width:1100px){
main.wide{max-width:1120px}
.auth-cols{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:34px;align-items:start}
.auth-cols .how{display:block;position:sticky;top:96px;margin-top:20px;padding:18px 20px}
.auth-cols .how h2{font-size:1.5rem}
.band{gap:9%}
}

/* customer payment reminders: big and friendly */
.remind p{font-size:1.08rem;line-height:1.5}.remind p.rl{font-size:1.15rem}.btn.xl{min-height:68px;font-size:1.25rem}
.remind .steps li{font-size:1.1rem;line-height:1.5;margin-bottom:8px}details.guide{border-top:1px solid var(--line);margin-top:10px}details.guide>summary{font-size:1.15rem;min-height:56px;list-style:none;display:flex;align-items:center;gap:8px;padding:8px 0;cursor:pointer;-webkit-tap-highlight-color:transparent}
details.guide>summary::-webkit-details-marker{display:none}
details.guide>summary::after{content:'▾';margin-left:auto;font-size:1.25rem;line-height:1;color:var(--ink);opacity:.75;transition:transform .15s ease}
details.guide[open]>summary::after{transform:rotate(-180deg)}
.guide-pair.cols{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.guide-pair.cols details.guide{border-top:0;margin-top:0;border:1px solid var(--line);border-radius:10px;padding:4px 12px 12px;background:#fff}
.guide-pair.cols details.guide>summary{pointer-events:none} /* both always expanded on desktop */
.guide-pair.cols details.guide>summary::after{display:none}
/* ---------- round sheet: Delivered buttons (big for cold thumbs), progress, folded delivered list */
.dprog{margin:2px 0 10px}.dtxt{font-size:1.1rem;margin-bottom:6px}.dtxt b{font-size:1.3rem}
.dbar{height:10px;border:1.5px solid var(--ink);border-radius:2px;background:var(--paper);overflow:hidden}.dbar i{display:block;height:100%;background:var(--ok);transition:width .25s}
.item.drop{align-items:center;min-height:84px}
.btn.dlv{flex:0 0 auto;width:auto;min-width:124px;min-height:64px;margin:0;padding:0 14px;font-size:1.12rem;background:var(--ok);border-color:var(--ok);touch-action:manipulation}
.btn.dlv:disabled,.btn.undo:disabled{opacity:.55}
.dlvd{margin:10px -15px 0;border-top:2px solid var(--ink);padding:0 15px}.dlvd>summary{min-height:56px;font-size:1.05rem}
.item.dd{padding:8px 15px}.item.dd .tick{flex:0 0 28px;font-weight:800;color:var(--ok);font-size:1.2rem;text-align:center}
.btn.undo{min-height:48px;min-width:84px}
.badge.test{border-style:dashed;font-size:.75rem;padding:1px 7px;vertical-align:middle;text-transform:uppercase;letter-spacing:.06em}
.printonly{display:none}
@media print{.printonly{display:block}}
/* pick list for the shop: plain black on white, big type, prints on A4 */
.pl-open{gap:10px;margin:0 0 16px;flex-wrap:wrap}.pl-open .btn{margin:0;flex:1 1 160px}
.pl-quick{flex-wrap:wrap;gap:8px;margin:10px 0 6px}.pl-quick .btn{margin:0;flex:1 1 0}
.pl-tog{display:flex;gap:10px;align-items:flex-start;margin-top:12px;font-weight:600;min-width:0;flex-wrap:wrap}.pl-tog input{width:24px;height:24px;flex:none}.pl-tog>span,.pl-tog{overflow-wrap:anywhere}
.pl-acts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}.pl-acts .btn{margin:0}.pl-acts .btn:first-child{grid-column:1/-1}
.pl-warn{border-left:4px solid var(--ink);padding-left:10px}
.pl-sheet{background:#fff;color:#000;border:2px solid #000;padding:14px 12px;margin:0 0 16px;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.pl-h{font-family:Arial,Helvetica,sans-serif;font-size:1.35rem;font-weight:800;border-bottom:2px solid #000;margin:0 0 6px;padding-bottom:6px;overflow-wrap:anywhere}
.pl-meta{margin:0 0 8px;font-size:1rem}.pl-sum{margin:0 0 12px;font-size:1.05rem;line-height:1.9}
.pl-chip{display:inline-block;border:1.5px solid #000;padding:0 8px;margin:0 6px 4px 0;line-height:1.6;white-space:nowrap;max-width:100%}
.pl-t{width:100%;max-width:100%;border-collapse:collapse;font-family:Arial,Helvetica,sans-serif;color:#000}
.pl-t th,.pl-t td{border:1px solid #000;padding:8px 7px;text-align:left;vertical-align:top}
.pl-t thead th{border-bottom:2px solid #000;font-size:.95rem}
/* Daily: fixed layout so nowrap/long titles cannot widen the page past the card/viewport */
.pl-day{table-layout:fixed}
.pl-day td{font-size:1.05rem;line-height:1.3;overflow-wrap:anywhere;word-break:break-word}
.pl-day .pl-no{width:2.4em}.pl-day .pl-ad{width:30%}.pl-day .pl-tot{width:4.6em}
.pl-no{width:2.6em;font-weight:800;text-align:center!important}
.pl-a{display:block;font-weight:800;overflow-wrap:anywhere}.pl-n{display:block;font-size:.8em;font-weight:400}
.pl-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0;max-width:100%}
.pl-wk{font-size:.85rem;min-width:640px}.pl-wk th small{display:block;font-weight:400}.pl-wk td,.pl-wk th{padding:5px 4px}.pl-wk .pl-ad{min-width:120px}
.pl-wk tfoot td{font-weight:800;border-top:2px solid #000}
.pl-pi{display:block;overflow-wrap:anywhere}.pl-pr{font-weight:400;font-size:.85em}
.pl-day .pl-pi{white-space:normal}.pl-day .pl-pr{display:block} /* price under title on phone */
.pl-wk .pl-pi{white-space:normal}
.pl-t .pl-tot{text-align:right!important;font-weight:800;white-space:nowrap}.pl-day tfoot td{font-weight:800;border-top:2px solid #000}.pl-wk tfoot tr+tr td{border-top:1px solid #000}
.pl-z{color:#000;opacity:.45}.pl-empty{font-size:1.15rem}
@media print{
 @page{size:A4;margin:12mm}
 html:has(body.pl-on){background:#fff!important}
 body.pl-on .mast,body.pl-on .tabbar,body.pl-on .site-foot,body.pl-on .pl-ui,body.pl-on .toast{display:none!important}
 body.pl-on,body.pl-on #app{background:#fff!important;padding:0!important;margin:0!important;max-width:none!important}
 body.pl-on .pl-sheet{border:0;padding:0;margin:0}
 body.pl-on .pl-h{font-size:18pt}body.pl-on .pl-meta,body.pl-on .pl-sum{font-size:12pt}
 body.pl-on .pl-day td{font-size:15pt}body.pl-on .pl-scroll{overflow:visible;margin:0}body.pl-on .pl-wk{min-width:0;font-size:9pt}
 body.pl-on .pl-t tr{break-inside:avoid}body.pl-on .pl-t thead{display:table-header-group}
 body.pl-on *{color:#000!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
/* ---------- owner customer list: Active / Inactive switch beside the name, billing-off badge */
.cust-name{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-family:var(--serif);font-size:1.25rem}
.act-tog{font:700 .85rem var(--sans);min-height:36px;min-width:84px;padding:4px 12px 4px 30px;border-radius:999px;border:2px solid #8d8a84;background:#f4f2ed;color:#5c5a55;position:relative;cursor:pointer}
.act-tog::before{content:"";position:absolute;left:8px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:#8d8a84}
.act-tog.on{border-color:var(--ok);background:#fff;color:var(--ok)}.act-tog.on::before{background:var(--ok)}
.act-tog:focus-visible{outline:3px solid var(--gold,#c9a227);outline-offset:2px}
.badges{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0}.badges:empty{display:none}
.card.cust-off{opacity:.75}
.cust-st{font-size:.93rem;font-weight:600;margin:2px 0 4px;color:#5c5a55}.cust-st.st-papers{color:var(--ok)}.cust-st.st-holiday{color:#8a5a00}.cust-st.st-stopped{color:var(--bad)}

/* ---------- shop Today (Option A) */
.dayline{margin:0 2px 12px;color:var(--muted);font-size:1rem}
.updated{display:flex;gap:10px;align-items:flex-start;margin:0 2px 16px;padding:10px 12px;border:1.5px solid var(--ink);background:var(--sheet);border-radius:2px;font-size:.95rem}
.updated .clock{font-size:1.1rem;line-height:1.3}
h2.sec{margin:22px 2px 4px;font-size:1.15rem}
.chg-when,.note{margin:0 2px 10px;color:var(--muted);font-size:.92rem}
.paper-name{font-weight:700}
.badge.away{background:#fff7e6;border-color:var(--ink);color:var(--ink)}
.badge.chg{background:#eef3ff;border-color:var(--ink)}
.badge.stop{background:var(--bad);border-color:var(--bad);color:#fff}
a.navlink{display:inline-block;margin-top:8px;font-weight:700;color:var(--ink);text-decoration:underline}

/* ---------- desktop layouts (>=1024px). Below that, desk-* wrappers use display:contents / none so phone stays pixel-identical. */
.desk-side,.desk-topnav,.desk-summary{display:none}
.desk-main,.desk-body{display:contents}
.desk-split-2,.paper-grid{display:block}
.paper-grid>.card{margin:0 0 16px}
.papers-add-more{display:block;width:100%;max-width:100%;min-width:0}
.papers-add-col{min-width:0;max-width:100%}
.papers-add-h{font-family:var(--serif);font-weight:700;font-size:1.05rem;line-height:1.2;margin:0 0 10px;padding:0;border:0;color:var(--ink)}
.papers-add-hero{margin:8px 0 16px}
.papers-add-hero .sub2{margin-top:6px}
.desk-side button.side-link{appearance:none;-webkit-appearance:none;border:0;background:transparent;width:100%;text-align:left;cursor:pointer;font:inherit}
.desk-topnav button.top-link{appearance:none;-webkit-appearance:none;border:0;background:transparent;cursor:pointer;font:inherit}
@media (min-width:1024px){
 body{padding-bottom:0!important}
 .tabbar{display:none!important}
 /* Admin + shop + customer: left sidebar */
 body.role-admin,body.role-shop,body.role-customer{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh;min-height:100dvh;align-items:stretch}
 body.role-admin .desk-side,body.role-shop .desk-side,body.role-customer .desk-side{display:flex!important;flex-direction:column;gap:6px;grid-column:1;grid-row:1/-1;position:sticky;top:0;height:100vh;height:100dvh;background:var(--dark);color:#fff;padding:20px 16px;border-right:5px solid #fff;overflow-y:auto;z-index:6}
 body.role-admin .desk-main,body.role-shop .desk-main,body.role-customer .desk-main{display:flex;flex-direction:column;grid-column:2;min-width:0;min-height:100vh;min-height:100dvh}
 body.role-admin .desk-body,body.role-shop .desk-body{flex:1 0 auto;width:100%}
 body.role-admin .mast,body.role-shop .mast,body.role-customer .mast{display:none}
 body.role-admin main,body.role-shop main{max-width:1240px;margin:0 auto;padding:18px 24px 40px}
 .side-brand{font-family:var(--serif);font-weight:800;font-size:1.45rem;line-height:1.1;padding-bottom:8px;border-bottom:1px solid #ffffffb0}
 .side-strap{font-size:.65rem;letter-spacing:.18em;text-transform:uppercase;opacity:.85;margin:4px 0 14px}
 .side-nav{display:flex;flex-direction:column;gap:3px;flex:1}
 .side-link{display:flex;align-items:center;gap:10px;color:#e9e9e9;padding:11px 10px;border-radius:3px;font-weight:600;border-left:4px solid transparent;font-size:.98rem}
 .side-link svg{width:20px;height:20px;flex:none}
 .side-link.on{background:#ffffff18;color:#fff;border-left-color:#fff;font-weight:800}
 .side-link:hover{background:#ffffff10}
 .side-foot{margin-top:auto;padding-top:14px;border-top:1px solid #ffffff40}
 .side-user{font-family:var(--serif);font-weight:700;margin-bottom:8px}
 .side-foot .btn{width:100%;border-color:#fff;color:#fff;background:transparent}
 .desk-split-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:18px;align-items:start}
 .desk-split-2.desk-po{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
 .paper-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .paper-grid>.card{margin:0}
 /* Customer: capped+centred two-column (main + summary), same desk caps as admin/shop; summary tops align with first left card */
 body.role-customer .desk-main{max-width:1240px;width:100%;margin:0 auto;padding:18px 24px 40px;box-sizing:border-box}
 body.role-customer .desk-topnav{display:none!important}
 body.role-customer .desk-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:22px;align-items:start;width:100%;max-width:none;flex:1 0 auto}
 body.role-customer main,body.role-customer #app{max-width:none!important;margin:0;padding:0;width:100%}
 body.role-customer .desk-summary{display:block!important;position:sticky;top:18px;max-width:none;margin-top:calc(4px + 2rem * 1.1 + 8px + 4px + 16px)} /* match #app > h1 block so first right card lines up with first left card */
 body.role-customer .desk-summary .card{margin-bottom:16px}
 body.role-customer main>.card.hero.desk-hero-dup{display:none}
 /* Shared footer: centred, pinned to bottom of short pages (every desktop page + login) */
 body.role-admin .site-foot,body.role-shop .site-foot,body.role-customer .site-foot{
  max-width:none;width:100%;margin:auto auto 0;padding:24px 16px 12px;text-align:center;flex:0 0 auto
 }
 body.role-none{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
 body.role-none .site-foot{margin-top:auto;text-align:center;width:100%}
 /* My papers: selected grid auto-fills; Add more is strict 50/50 with equal card grids */
 body.role-customer .paper-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;align-items:stretch}
 body.role-customer .papers-add-more{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start;width:100%;max-width:100%;min-width:0}
 body.role-customer .papers-add-more>.papers-add-col{min-width:0;max-width:100%}
 /* Exactly 2-across when the half is wide enough; otherwise 1-across. Never a overflowing 3rd col. */
 body.role-customer .papers-add-more>.papers-add-col .paper-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
 body.role-customer .title-card .chip span{font-size:clamp(.65rem,4.6cqi,.9rem);height:clamp(36px,14cqi,48px)}
 /* Shop Today: equal-height black heroes side by side */
 .desk-split-2.shop-today-desk{align-items:stretch}
 .shop-today-desk>.shop-today-hero{height:100%;box-sizing:border-box}
 .shop-today-desk>.shop-today-hero .sub2{overflow-wrap:anywhere;white-space:normal}
 body.role-customer #remGuide .guide-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
 body.role-customer #remGuide .guide-pair details.guide{border-top:0;margin-top:0;border:1px solid var(--line);border-radius:10px;padding:4px 12px 12px}
 body.role-customer #remGuide .guide-pair details.guide>summary{pointer-events:none}
 body.role-customer #remGuide .guide-pair details.guide>summary::after{display:none}
}
@media (min-width:1024px) and (max-width:1279px){
 /* Half-column too tight for two day-chip rows — stack cards in each Add more column */
 body.role-customer .papers-add-more>.papers-add-col .paper-grid{grid-template-columns:minmax(0,1fr)}
}
@media (min-width:1400px){
 body.role-admin main,body.role-shop main{max-width:1360px}
 body.role-customer .desk-main{max-width:1360px}
 .paper-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 /* customer My papers keeps auto-fill minmax(300px,1fr) from the 1024 rule */
}
@media (max-width:1023px){
 .desk-side,.desk-topnav,.desk-summary{display:none!important}
 .desk-main,.desk-body{display:contents}
 .desk-split-2,.paper-grid{display:block}
 .paper-grid>.card{margin:0 0 16px}
 body.role-customer main>.card.hero.desk-hero-dup{display:block}
}


/* ---------- mobile overflow sweep (2026-11-01): keep pages inside the iPhone viewport.
   Do NOT clamp max-width on main or #app to 100% here — #app is <main id=app>, and an ID rule
   overrides main {max-width:640px}, main.wide {1120px}, and role desktop caps, stretching
   login, Map, and every desktop page full-bleed (desktop layout regression fix). */
html,body{overflow-x:clip;max-width:100%}
#app,main{min-width:0} /* shrink in grid/flex only; leave max-width to the page rules above */
.card,.hero,.pl-sheet,.pl-ui,.ro-body,.note,.hint{max-width:100%;min-width:0}
h1,h2,.pl-h,.big,.sub2,.item .t{overflow-wrap:anywhere}
.seg,.row,.stats,.pl-acts,.pl-quick,.pl-open,.chips,.badges{min-width:0;max-width:100%}
.seg button{min-width:0;overflow-wrap:anywhere}
/* Tables: day/list tables shrink; intentionally-wide grids scroll inside a wrapper, not the page */
.po-scroll,.pl-scroll{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.po-table{width:max-content;max-width:none} /* scroll inside .po-scroll */
table.pl-day,table.po-money{table-layout:fixed;width:100%;max-width:100%}
table.pl-day th,table.pl-day td,table.po-money th,table.po-money td{overflow-wrap:anywhere;word-break:break-word}
.modal .sheet{max-width:min(460px,100vw - 24px)}
.mast .brand{max-width:100%;overflow-wrap:anywhere}
@media (max-width:430px){
  .big{font-size:clamp(1.55rem,8.5vw,2.4rem);line-height:1.18}
  .hero{padding-top:26px;padding-bottom:26px}
  .hero .kicker{margin-bottom:6px}
  .stats{flex-wrap:wrap}
  .pl-day td{font-size:1rem}
  input[type=date],input[type=month],input[type=datetime-local],input[type=time],input[type=week]{
    width:100%;max-width:100%;min-width:0;box-sizing:border-box;-webkit-appearance:none;appearance:none;overflow:hidden
  }
  input[type=date]::-webkit-date-and-time-value,
  input[type=month]::-webkit-date-and-time-value,
  input[type=date]::-webkit-datetime-edit,
  input[type=month]::-webkit-datetime-edit,
  input[type=date]::-webkit-datetime-edit-fields-wrapper,
  input[type=month]::-webkit-datetime-edit-fields-wrapper{min-width:0;max-width:100%;overflow:hidden}
  input[type=date]::-webkit-calendar-picker-indicator,
  input[type=month]::-webkit-calendar-picker-indicator{margin-inline-start:0;padding:0;max-width:1.25rem}
  /* Two date fields in a .row (holiday From/Until) must share the card */
  .row input[type=date],.row input[type=month]{width:100%;max-width:100%;min-width:0}
  .tier-row{gap:8px}
  .tier-row>.tier-rm{flex-basis:44px;width:44px;min-width:44px;max-width:44px}
}

/* Papers sold (shop Account): white chevron right, vertically centred. */
.shop-papers-month{margin:0 0 10px}
.shop-papers-tog{
  display:grid;grid-template-columns:1fr auto;column-gap:12px;align-items:center;
  width:100%;margin:0;padding-right:14px;text-align:left;
  cursor:pointer;font:inherit;color:#fff;-webkit-appearance:none;appearance:none;
  transition:filter .15s ease, background-color .15s ease;
}
.shop-papers-tog .big,.shop-papers-tog .kicker,.shop-papers-tog .sub2{color:#fff}
.shop-papers-tog .sub2{color:#e9e9e9}
.shop-papers-tog:hover,.shop-papers-tog:focus-visible{filter:brightness(1.12)}
.shop-papers-tog:focus{outline:none}
.shop-papers-tog:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* Let kicker / big / sub2 become grid rows so the chevron can span them */
.shop-papers-tog-main{display:contents}
.shop-papers-tog-main .kicker,
.shop-papers-tog-main .big,
.shop-papers-tog-main .sub2{grid-column:1}
.shop-papers-chev{
  grid-column:2;grid-row:1 / span 3;align-self:center;justify-self:center;
  color:#fff;display:block;width:22px;height:22px;
  transition:transform .18s ease;transform:rotate(0deg);
}
.shop-papers-tog[aria-expanded=true] .shop-papers-chev{transform:rotate(180deg)}
.shop-papers-panel{margin:8px 0 4px}
.shop-papers-est{margin:16px 0 4px;font-size:1rem}

/* ---------- Account section collapse (white title on charcoal header + chevron) */
.card.acct-sec{padding:0;overflow:hidden}
.card.acct-sec.acct-sec-spaced{margin-top:16px}
.acct-sec-tog{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  width:100%;min-height:56px;padding:16px 15px;margin:0;border:0;border-radius:0;
  background:var(--dark);color:#fff;cursor:pointer;font:inherit;text-align:left;
  -webkit-appearance:none;appearance:none;
  transition:filter .15s ease;
}
.acct-sec-tog:hover,.acct-sec-tog:focus-visible{filter:brightness(1.12)}
.acct-sec-tog:focus{outline:none}
.acct-sec-tog:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.acct-sec-title{
  font-family:var(--serif);font-weight:700;font-size:1.25rem;line-height:1.25;
  color:#fff;margin:0;padding:0;border:0;min-width:0;overflow-wrap:anywhere;
}
.acct-sec-chev{
  flex:none;display:block;width:22px;height:22px;color:#fff;
  transition:transform .18s ease;transform:rotate(0deg);
}
.acct-sec-tog[aria-expanded=true] .acct-sec-chev{transform:rotate(180deg)}
.acct-sec-body{padding:14px 15px 16px;border-top:1px solid rgba(255,255,255,.08)}
.acct-sec-body > .muted:first-child,
.acct-sec-body > p:first-child{margin-top:0}

/* Sign-in: one centred column – banner, tagline, login card, How it works (same width, equal spacing) */
.auth-stack{max-width:520px;margin:0 auto;padding:0;display:flex;flex-direction:column;gap:18px}
.auth-stack>.auth-box,.auth-stack>.how{width:100%;margin:0;box-sizing:border-box}
.auth-stack>.how{display:block;position:static;padding:18px 20px}
.auth-stack>.how h2{font-size:1.5rem;text-align:center;margin:0 0 8px}
@media (max-width:480px){.strap span{letter-spacing:.16em;font-size:.6rem;text-align:center}}
