/* ohelloo Work (public/work.html): the jobs app for a client's team. Phone first: a tab bar along the bottom on a
   phone, a rail down the left on a computer. In the look of the clients' portals (public/brand.css, Omar Oct 13 2026):
   a calm white page, hairline cards with a soft shadow, dark buttons, purple only to mark where you are, green for
   done, and gold only as a thin edge or rim, never a gold block or a gold-only button. Light only. */
:root{
  --bg:#FBFAFD; --card:#fff; --ink:#22132F; --text:#3A3247; --muted:#6E6579; --faint:#A59EB0; --line:#E9E5EF; --line2:#F0EDF4;
  --soft:#F7F4FB; --soft2:#F1EAF9; --accent:#5B2A86; --accent2:#7B4BB0; --lav:#C9B4E4; --deep:#2E1546;
  --box:#9A8FAD; --box-hover:#857A9B; --ok:#1F7A4D; --ok-soft:#E8F5EE; --warn:#B4372F; --warn-soft:#FBEDEB; --info:#1D5FA8; --info-soft:#EAF1FA;
  --gold:#E9B23E; --gold2:#C98E1C; --gold-ink:#8A5D0F; --gold-soft:#FCF3DF;
  /* No resting shadows (Omar, Oct 25 2026, option 5 without the white page): boxes are drawn with their hairline on the
     lilac-white page. Menus, sheets and pop-ups keep --shadow-hi. */
  --shadow:0 0 #0000; --shadow-hi:0 1px 2px rgba(26,18,37,.05),0 12px 32px -12px rgba(26,18,37,.16);
  --sans:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --r:12px; --tab:64px;
  color-scheme:light;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;background:var(--bg);color:var(--text);font:15px/1.5 var(--sans);-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}
h1,h2,h3,b,strong{color:var(--ink)}
a{color:var(--accent);text-decoration:none}
/* Only plain text links underline on hover; rows, cards and buttons that are links don't (Omar, Oct 25 2026). */
a:not([class]):hover,a.small:hover{text-decoration:underline}
button{font:inherit;color:inherit}
.app{min-height:calc(100vh / var(--z))}
.main{max-width:1100px;margin:0 auto;padding:16px 16px calc(var(--tab) + 28px + env(safe-area-inset-bottom,0px))}
.load{color:var(--muted);text-align:center;padding:80px 0}
/* Loading your business (work.js skeleton): Home's and the menu's shapes in soft grey with a slow shimmer, until it's
   ready. They're drawn with the real screen's own classes, so these rules only add the grey: a bar the height of a line
   of text (.sk-t, sitting in the text's own line box), buttons and chips with their words hidden, and Ask ohelloo's
   box and suggestions as their empty outlines. */
:root{--sk-bg:linear-gradient(90deg,var(--line2) 0%,var(--soft2) 40%,var(--line2) 80%) 0 0/300% 100%}
.sk{display:block;border-radius:6px;background:var(--sk-bg);animation:sk-shine 1.6s ease-in-out infinite}
@keyframes sk-shine{from{background-position:100% 0}to{background-position:0 0}}
.sk.sk-t{display:inline-block;vertical-align:middle;width:var(--w);max-width:100%;height:.72em;border-radius:5px}
.skel .btn.sk,.skel .chip.sk{background:var(--sk-bg);border-color:transparent;color:transparent;box-shadow:none;cursor:default}
.skel .sk-ghost,.skel .sk-ghost:hover{color:transparent;border-color:var(--line);cursor:default}
.skel .row,.sk-rail a,.sk-rail button{cursor:default}
.skel .row:hover{background:var(--card)}
.sk-rail .tabs a:not(.sk-on):hover{background:none}
.sk-mark{width:24px;height:24px;border-radius:8px;flex:none}
.sk-input{display:block;flex:1;height:42px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
.sk-send{width:42px;height:42px;border-radius:10px;flex:none}
@media (prefers-reduced-motion:reduce){.sk{animation:none}}
/* The menu's shapes: the tabs along the bottom on a phone, the side menu on a computer (folded too). */
.sk-ico{width:22px;height:22px;border-radius:7px;flex:none}
.sk-av{width:32px;height:32px;border-radius:8px;flex:none}
.sk-rail .tabs .sk-t{width:34px}
@media (min-width:900px){
  .sk-rail .tabs .sk-t{width:var(--w)}
  .sk-rail .tabs a.sk-on{background:var(--soft2)}
  .sk-rail .biz .bz-pic{background:var(--sk-bg)}
}

/* ---- navigation ---- */
.rail{position:fixed;left:0;right:0;bottom:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(10px);border-top:1px solid var(--line);color:var(--ink);padding-bottom:env(safe-area-inset-bottom,0px)}
.rail .brand,.rail .who,.rail .biz,.rail .offer{display:none}
.rail-fold,.tabs .grp{display:none}
.tabs{display:flex;justify-content:space-around;height:var(--tab)}
.tabs a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--muted);text-decoration:none;font-size:11px;font-weight:600;min-width:0}
.tabs a svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tabs a[aria-current=page]{color:var(--accent)}
/* Menu words never underline (Omar, Nov 2 2026): a plain link underlines on hover (line 23), so tabs with a class didn't
   and tabs without one did. */
.rail a,.rail a:hover,.more-sheet a:hover{text-decoration:none}
.tabs a[aria-current=page] svg{color:var(--accent)}
.tabs .more{display:none}
/* Phones: five tabs at most, the rest under More (work.js drawRail), each label on one line. */
.tabs a span{max-width:calc(100% - 6px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tabs .ph-extra,.tabs .w-full{display:none}
.tabs .ph-more{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;position:relative;border:0;background:none;padding:0;color:var(--muted);font-size:11px;font-weight:600;cursor:pointer}
.tabs .ph-more svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tabs .ph-more.on,.tabs .ph-more[aria-expanded=true]{color:var(--accent)}
.more-dim{position:fixed;inset:0;z-index:19;background:rgba(26,18,37,.28)}
.more-sheet{position:fixed;left:8px;right:8px;bottom:calc(var(--tab) + 8px + env(safe-area-inset-bottom,0px));z-index:21;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-hi);padding:6px}
.more-sheet a{position:relative;display:flex;align-items:center;gap:12px;min-height:48px;padding:0 12px;border-radius:12px;color:var(--ink);font-size:15px;font-weight:600;text-decoration:none}
.more-sheet a+a{border-top:1px solid var(--line2)}
.more-sheet a:hover{background:var(--soft);text-decoration:none}
.more-sheet a[aria-current=page]{background:var(--soft2);color:var(--accent)}
.more-sheet svg{width:22px;height:22px;flex:none;color:var(--accent2);stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Count badges (the unread count on Messages, and on More): one look across ohelloo (the lead manager, the client
   portal and the sign-up page match). A true circle for one digit, a pill for more; the number upright (the badge is an
   <i>), in Inter with even-width digits, centred both ways, and centred on its row. */
.badge{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:none;--bh:20px;--bt:.18em;min-width:var(--bh);height:var(--bh);padding:var(--bt) 6px 0;border-radius:999px;background:var(--accent);color:#fff;font:700 11.5px/1 var(--sans);font-style:normal;font-variant-numeric:tabular-nums;letter-spacing:0}
/* The number sits in the middle of its circle (Omar, Nov 2 2026). A font leaves room above its digits, so trim the line to
   the digits' own height (text-box) and split what's left of the bubble's height (--bh) evenly above and below: exact at
   any size. Browsers without text-box nudge the digits down a little (--bt) instead. */
@supports (text-box:trim-both cap alphabetic){.badge{display:inline-block;text-align:center;white-space:nowrap;text-box:trim-both cap alphabetic;--bt:calc((var(--bh) - 1cap) / 2)}}
@supports not (text-box:trim-both cap alphabetic){body.rail-min .tabs a .badge{--bt:0px}}
.more-sheet .badge{margin-left:auto}
/* The More sheet's sections, as on a computer's menu: a small grey heading, or a divider over a page on its own */
.more-sheet .grp{display:block;padding:10px 12px 4px;font-size:12px;font-weight:500;color:var(--muted)}
.more-sheet .grp.line{height:1px;padding:0;margin:6px 12px;background:var(--line)}
/* On two or more businesses (Oct 30 2026): Your businesses at the top of More, the one open ticked (work.js bizPicks).
   A long sheet scrolls rather than running off the top of the screen. */
.more-sheet{max-height:calc(100dvh - var(--tab) - 32px - env(safe-area-inset-bottom,0px));overflow-y:auto}
.more-sheet .bz-row{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:6px 12px;border:0;border-radius:12px;background:none;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.more-sheet .bz-row+.bz-row{border-top:1px solid var(--line2)}
.more-sheet .bz-row:hover,.more-sheet .bz-row:active{background:var(--soft)}
.more-sheet .bz-row:focus-visible{outline:2px solid var(--accent2);outline-offset:-2px}
.more-sheet .bz-n{flex:1;min-width:0;line-height:1.3}
.more-sheet .bz-n b{display:block;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.more-sheet .bz-n small{display:block;margin-top:1px;font-size:12.5px;color:var(--muted)}
.more-sheet .bz-mini{width:30px;height:30px;flex:none;border-radius:8px;object-fit:cover;background:var(--soft2);color:var(--accent);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.more-sheet .bz-tick{width:20px;height:20px;flex:none;fill:none;stroke:var(--accent);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:900px){
  .tabs a span{max-width:none;white-space:normal;overflow:visible}
  .tabs .ph-extra{display:flex}
  .tabs .w-full{display:inline}
  .tabs .w-short,.tabs .ph-more,.more-dim,.more-sheet{display:none!important}
  .rail{top:0;right:auto;width:220px;display:flex;flex-direction:column;padding:18px 12px;border-top:0;border-right:1px solid var(--line);background:#fff}
  .rail .brand{display:flex;align-items:center;gap:10px;padding:2px 8px 18px;font-size:15px}
  /* ohelloo's own wordmark (brandmark.js), then the business's name under it */
  .rail .brand{align-items:flex-end;gap:8px;padding:2px 8px 6px}
  .rail .brand .word{height:20px;width:auto;fill:var(--accent);display:block;flex:none}
  .rail .brand span{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:1px}
  .tabs{flex-direction:column;height:auto;gap:2px}
  .tabs a{flex-direction:row;justify-content:flex-start;gap:12px;padding:9px 10px;border-radius:12px;font-size:13.5px;font-weight:500;color:var(--ink)}
  .tabs a svg{color:var(--accent2)}
  .tabs a:hover{background:var(--soft)}
  .tabs a[aria-current=page]{background:var(--soft2);color:var(--accent);font-weight:600}
  .tabs .more{display:flex}
  /* the website offer under the menu: one quiet line that looks like part of the menu (Omar picked B, Nov 3 2026) */
  .rail .offer:not([hidden]){display:block;position:relative;margin:auto 0 8px}
  .rail .offer .of-go{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:10px;background:var(--soft);color:var(--ink);text-decoration:none}
  .rail .offer .of-go:hover{background:var(--soft2)}
  .rail .offer .of-ic{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#fff;border:1px solid var(--line);color:var(--accent);font-size:14px}
  .rail .offer .of-t{flex:1;min-width:0}
  .rail .offer .of-t b{display:block;font-size:12.5px;font-weight:600;line-height:1.3;color:var(--ink)}
  .rail .offer .of-t small{display:block;margin-top:2px;font-size:11.5px;line-height:1.3;color:var(--muted)}
  .rail .offer .of-ch{color:var(--faint);font-size:15px}
  /* "Not now": shows when the pointer or keyboard is on the line */
  .rail .offer .x{position:absolute;top:-7px;right:-5px;width:20px;height:20px;border:1px solid var(--line);background:#fff;color:var(--muted);font-size:13px;line-height:1;cursor:pointer;border-radius:50%;opacity:0;transition:opacity .15s}
  .rail .offer:hover .x,.rail .offer:focus-within .x{opacity:1}
  .rail .offer .x:hover{color:var(--ink)}
  .rail .offer:not([hidden])+.who{margin-top:0}
  .rail .who{display:block;margin-top:auto;font-size:12.5px;color:var(--muted);padding:10px 8px 4px;border-top:1px solid var(--line2)}
  .rail .who button{background:none;border:0;color:var(--accent);font-weight:600;cursor:pointer;padding:0}
  /* Hotplate's calm (Omar, Oct 25 2026, picks 1 to 4 and option A): ohelloo's name and the fold button on one line with a
     hairline under it, the business's name at the foot with its initials, the page you're on in solid purple, a thin
     line before the back office, and the whole menu folding to a strip of icons (body.rail-min, work.js railFold). */
  .rail{padding-top:10px;transition:width .18s cubic-bezier(.4,0,.2,1),padding .18s cubic-bezier(.4,0,.2,1)}
  .main{transition:margin-left .18s cubic-bezier(.4,0,.2,1),max-width .18s cubic-bezier(.4,0,.2,1)}
  .rail .brand{position:relative;align-items:center;gap:8px;height:40px;padding:0 0 0 6px;margin:0 0 20px}
  .rail .brand::after{content:"";position:absolute;left:-12px;right:-12px;bottom:-10px;height:1px;background:var(--line)}
  .rail .brand span{display:none}
  .rail .brand .word{height:19px}
  /* The business at the top (Omar, Oct 30 2026, version B): its logo or initials, its name and its town, on a soft
     lilac card. With more than one location the card is the location switcher: a select laid over it (work.js bizCard). */
  .rail .biz{display:flex;align-items:center;gap:10px;position:relative;flex:none;min-width:0;padding:8px;border-radius:12px;background:var(--soft)}
  .rail .biz .bz-pic{width:36px;height:36px;flex:none;border-radius:8px;object-fit:cover;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700}
  .rail .biz .bz-t{flex:1;min-width:0;line-height:1.3}
  .rail .biz b{display:block;font-size:13.5px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .rail .biz small{display:block;margin-top:1px;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .rail .biz .bz-chev{width:16px;height:16px;flex:none;fill:none;stroke:var(--muted);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
  .rail .biz select{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;font-size:16px}
  .rail .biz:has(select):hover{background:var(--soft2)}
  .rail .biz:has(select:focus-visible){outline:2px solid var(--accent2);outline-offset:1px}
  /* On more than one business (Oct 30 2026): the card is a button that opens a small menu under it, "Locations" (when
     there are several) over "Your businesses", a tick by the one showing (work.js bizMenu). Folded, it opens beside. */
  .rail .biz:has(.bz-menu){padding:0}
  .bz-menu{flex:1;min-width:0}
  .bz-menu>summary{display:flex;align-items:center;gap:10px;padding:8px;border-radius:12px;cursor:pointer;list-style:none}
  .bz-menu>summary::-webkit-details-marker{display:none}
  .bz-menu>summary:hover,.bz-menu[open]>summary{background:var(--soft2)}
  .bz-menu>summary:focus-visible{outline:2px solid var(--accent2);outline-offset:1px}
  .bz-menu .bz-chev{transition:transform .15s}
  .bz-menu[open] .bz-chev{transform:rotate(180deg)}
  .bz-pop{left:0;right:0;top:calc(100% + 6px);z-index:30;min-width:0;grid-template-columns:minmax(0,1fr);max-height:min(420px,calc(100vh - 150px));overflow-y:auto;gap:0;padding:4px}
  .bz-pop [role=group]+[role=group]{margin-top:6px;padding-top:6px;border-top:1px solid var(--line2)}
  .rail .biz .bz-h{margin:4px 6px;font-size:12px;font-weight:500;color:var(--muted)}
  .bz-row{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:6px;border:0;border-radius:8px;background:none;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
  .bz-row:hover{background:var(--soft)}
  .bz-row:focus-visible{outline:2px solid var(--accent2);outline-offset:-2px}
  .bz-row .bz-n{flex:1;min-width:0;line-height:1.3}
  .rail .biz .bz-row b{font-size:13px;font-weight:500;white-space:normal;overflow-wrap:anywhere}
  .rail .biz .bz-row[aria-current] b{font-weight:600}
  .bz-mini{width:24px;height:24px;flex:none;border-radius:6px;object-fit:cover;background:var(--soft2);color:var(--accent);font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center}
  .bz-tick{width:16px;height:16px;flex:none;fill:none;stroke:var(--accent);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
  body.rail-min .bz-menu>summary{justify-content:center;padding:4px}
  body.rail-min .bz-pop{left:calc(100% + 8px);right:auto;top:0;width:260px}
  .rail-fold{display:flex;align-items:center;justify-content:center;flex:none;margin-left:auto;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:none;color:var(--muted);cursor:pointer}
  .rail-fold:hover{background:var(--soft2);color:var(--ink)}
  .rail-fold:focus-visible{outline:2px solid var(--accent2);outline-offset:1px}
  .rail-fold svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
  .tabs a{font-size:13px;padding:8px 10px;border-radius:8px}
  .tabs a[aria-current=page],.tabs a[aria-current=page]:hover{background:var(--accent);color:#fff;font-weight:600}
  .tabs a[aria-current=page] svg{color:#fff}
  /* Sections (work.js groupHead): a small grey heading over two or more pages, a thin line over a page on its own. */
  .tabs .grp{display:block;margin:14px 0 2px;padding:0 10px;font-size:12px;font-weight:500;line-height:1.4;color:var(--muted)}
  .tabs .grp.line{height:1px;padding:0;margin:8px 10px;background:var(--line2)}
  .rail .who{display:flex;align-items:center;gap:10px;line-height:1.35;padding:12px 6px 2px}
  .rail .who .wt{flex:1}
  .rail .who button{margin-left:auto;padding:4px;font-size:12.5px}
  .rail .who .av{flex:none;width:32px;height:32px;border-radius:8px;background:var(--soft2);color:var(--accent);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
  .rail .who .wt{min-width:0}
  .rail .who .wt b{display:block;font-size:13px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.rail-min .rail{width:64px;padding:10px 10px 18px}
  body.rail-min .main{margin-left:64px;max-width:1340px}
  body.rail-min .rail .brand{justify-content:center;padding:0}
  body.rail-min .rail .brand img,body.rail-min .rail .brand .word{display:none}
  body.rail-min .rail .brand::after{left:-10px;right:-10px}
  body.rail-min .rail-fold{margin:0}
  /* folded, each word stays for screen readers and shows beside its icon on hover */
  body.rail-min .tabs a span,body.rail-min .rail-help span,body.rail-min .ga-rail span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  body.rail-min .tabs a{position:relative;justify-content:center;padding:9px 0}
  body.rail-min .tabs a .badge{position:absolute;top:2px;right:4px;--bh:16px;min-width:var(--bh);height:var(--bh);padding:var(--bt) 4px 0;font-size:10px}
  body.rail-min .tabs a:hover::after,body.rail-min .tabs a:focus-visible::after{content:attr(data-tip);position:absolute;left:calc(100% + 10px);top:50%;transform:translateY(-50%);z-index:30;padding:5px 9px;border-radius:8px;background:var(--ink);color:#fff;font-size:12.5px;font-weight:500;white-space:nowrap;pointer-events:none}
  body.rail-min .rail-help button,body.rail-min .ga-rail{justify-content:center;padding-left:0;padding-right:0}
  body.rail-min .ga-rail i{display:none}
  body.rail-min .rail .offer{display:none!important}
  body.rail-min .rail .offer+.ga-spot,body.rail-min .rail .offer+.who{margin-top:auto}
  body.rail-min .rail .who{justify-content:center;padding:12px 0 2px}
  body.rail-min .rail .who .wt,body.rail-min .rail .who button{display:none}
  /* folded: the business card is just its logo, and each section heading a thin line */
  body.rail-min .rail .biz{justify-content:center;padding:4px 0;background:none}
  body.rail-min .rail .biz .bz-t,body.rail-min .rail .biz .bz-chev{display:none}
  body.rail-min .tabs .grp{height:1px;padding:0;margin:8px 10px;background:var(--line2);font-size:0;overflow:hidden}
  /* a tall menu on a short screen scrolls, nothing in it squashed (not when folded: its hover labels stick out to the right) */
  .rail>*{flex-shrink:0}
  body:not(.rail-min) .rail{overflow-y:auto;scrollbar-width:thin}
  /* ...and who's signed in (with Sign out) stays in view at its foot */
  body:not(.rail-min) .rail .who{position:sticky;bottom:-18px;z-index:1;margin-bottom:-18px;padding-bottom:18px;background:#fff}
  .main{margin-left:220px;padding:24px 28px 40px;max-width:1180px}
  .btn{min-height:36px;padding:7px 13px;font-size:13px}
  /* No side menu (signing in, choosing a business, first-run setup in su-mode): the page is centred, not pushed right by the
     menu's space (Omar, Oct 24 2026: "why is this off center"). */
  body:has(.rail[hidden]):not(:has(.sk-rail)) .main,body.su-mode .main{margin-left:auto;margin-right:auto}
}
/* Big screens (Omar, Oct 29 2026: "condensed, a lot of unused space"): from 1400px wide the page grows up to --wide and
   sits in the middle of the space beside the menu, instead of stopping at 1180px against it. Grids add columns by
   themselves; pickup days stretch so their row has no empty end. Phones, tablets and laptops below 1400px are unchanged. */
/* Computers show the whole app at 90% (Omar, Nov 4 2026: "too zoomed in"), so a laptop fits more on screen, like
   Stripe or Square's dashboards. Phones, iPads (touch) and printing stay full size. Screen-relative sizes (vh, vw) shrink with
   the zoom too, so the ones that fill the screen or centre on it divide by --z. Scripts that turn the mouse's position
   into a place on the page divide by it as well (zoomOf in work.js and work-numbers.js). */
:root{--z:1}
@media screen and (min-width:1024px) and (pointer:fine){
  :root{--z:.9;zoom:var(--z)}
}
@media (min-width:1400px){
  :root{--wide:1680px}
  .main,body.rail-min .main{max-width:var(--wide)}
  .main{margin-left:max(220px,calc(220px + (100vw / var(--z) - 220px - var(--wide)) / 2))}
  body.rail-min .main{margin-left:max(64px,calc(64px + (100vw / var(--z) - 64px - var(--wide)) / 2))}
  body:has(.rail[hidden]):not(:has(.sk-rail)) .main,body.su-mode .main{max-width:1180px;margin-left:auto;margin-right:auto}
  .main .pdays{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
  /* Home's to-do strip: at most four across, so eight things make two full rows */
  .main .needs{grid-template-columns:repeat(auto-fill,minmax(max(250px,calc(25% - 1px)),1fr))}
  .main .needs:not(:has(>:nth-child(4))){grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
}

/* ---- page parts ---- */
.head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:4px 0 16px;flex-wrap:wrap}
.head h1{margin:0;font-size:22px;line-height:1.25;letter-spacing:-.01em;font-weight:600}
.head .sub{margin:2px 0 0;color:var(--muted);font-size:13px}
.head .acts{display:flex;gap:8px;flex-wrap:wrap}
/* ⋯ beside a page's main button: the buttons used now and then (work.js moreActs), in a small menu under it. */
.acts-more{position:relative}
.acts-more>summary{list-style:none;min-width:40px;padding-left:10px;padding-right:10px;font-size:16px;letter-spacing:1px}
.acts-more>summary::-webkit-details-marker{display:none}
.acts-more[open]>summary{background:#EAE5F0}
.am-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:25;min-width:190px;display:grid;gap:2px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-hi)}
.am-menu .btn,.am-menu .btn.line{justify-content:flex-start;width:100%;background:none;border:0;font-weight:500}
.am-menu .btn:hover,.am-menu .btn.line:hover{background:var(--soft)}
@media (max-width:899px){.head .acts .acts-more .am-menu{left:0;right:auto}}
h2{font-size:15px;margin:22px 0 10px;letter-spacing:-.01em;font-weight:600}
h2 small{color:var(--muted);font-weight:500}
.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px 18px;box-shadow:var(--shadow)}
.cards{display:grid;gap:10px}
/* A list is one card with hairline dividers between its rows (the premium-dashboard way), not a stack of boxes. Inside
   another card it's just the rows. */
.cards:has(>.row){gap:0;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}
.cards:has(>.row)>.row{border:0;border-radius:0;box-shadow:none;border-bottom:1px solid var(--line2)}
.cards:has(>.row)>.row:last-child{border-bottom:0}
.cards:has(>.row)>.row:hover{background:var(--soft);border-color:var(--line2)}
.card .cards:has(>.row){border:0;border-radius:0;box-shadow:none;background:transparent}
.card .cards:has(>.row)>.row{padding-left:0;padding-right:0}
.card .cards:has(>.row)>.row:hover{background:transparent}
.grid2{display:grid;gap:14px}
@media (min-width:760px){.grid2{grid-template-columns:1fr 1fr}.grid2>:last-child:nth-child(odd){grid-column:1/-1}}
.muted{color:var(--muted)}
.gap-l{margin-left:12px}
.small{font-size:12.5px}
.empty{color:var(--muted);padding:22px 16px;text-align:center;font-size:13.5px}
/* The first-time empty list (work.js emptyBig): the screen's icon in a small grey tile, one bold line, one sentence,
   one button, centred (Hotplate's way, Omar Oct 25 2026). A plain .empty is just a quiet grey line. */
.empty.big{padding:44px 20px;display:flex;flex-direction:column;align-items:center}
.empty.big .e-ic{width:44px;height:44px;border-radius:8px;background:#F3F0F7;color:var(--accent);display:flex;align-items:center;justify-content:center}
.empty.big .e-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.empty.big b{display:block;margin-top:14px;font-size:17px;font-weight:600;color:var(--ink)}
.empty.big p{margin:4px 0 0;max-width:42ch;font-size:14px;line-height:1.5;color:var(--muted)}
.empty.big .btn{margin-top:16px}
/* Settings in sections (work.js setSections): a list like an iPhone's Settings; a phone opens one section on its own
   screen, a laptop keeps the list on the left. */
.set-list .head{margin-bottom:12px}
.set-find{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:0 12px;background:var(--card);border:1px solid var(--line);border-radius:12px;min-height:44px}
.set-find:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--soft2)}
.set-find svg{flex:none;width:17px;height:17px;fill:none;stroke:var(--muted);stroke-width:2;stroke-linecap:round}
.set-find input[type=search],.set-find input[type=search]:focus{flex:1;min-width:0;height:auto;min-height:0;border:0;border-radius:0;background:none;padding:10px 0;font:inherit;font-size:16px;color:var(--ink);outline:none;box-shadow:none}
.set-rows{background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}
.set-row{display:flex;align-items:center;gap:12px;min-height:58px;padding:9px 12px;margin-bottom:-1px;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line2)}
.set-row[hidden]{display:none}
.set-row:hover{background:var(--soft)}
.set-ic{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--soft2);color:var(--accent)}
.set-ic svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.set-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.set-t b{font-size:14.5px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.set-t small{font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.set-chev{flex:none;color:var(--faint);font-size:22px;line-height:1}
.set-none{margin:10px 2px 0}
/* Settings → Apps and connections (work.js appsHtml): each app a row, its logo, name, where it stands and one button;
   lines between rows, never on the box's edge. */
.app-list{padding:0 16px}
.app-row{display:flex;align-items:center;gap:12px;padding:12px 0}
.app-row + .app-row{border-top:1px solid var(--line2)}
.app-tile{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#fff;border:1px solid var(--line);overflow:hidden}
/* One look for every app (Omar, Nov 6 2026: "not a bunch of different colors"): the official logo, a letter or ohelloo's
   icon, all in the same dark colour on the same white tile. brightness(0) draws any logo in one colour. */
.app-tile img{width:22px;height:22px;object-fit:contain;filter:brightness(0);opacity:.88}
.app-tile.mono{color:var(--ink);font-size:14px;font-weight:700;letter-spacing:-.01em}
.app-tile.ic{color:var(--ink)}
.app-tile.ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.app-t b{font-size:14.5px;font-weight:600;line-height:1.3}
.app-t small{font-size:12.5px;line-height:1.35;color:var(--muted);overflow-wrap:anywhere}
.app-t small.on::before{content:"";display:inline-block;width:7px;height:7px;margin:0 6px 1px 0;border-radius:50%;background:var(--ok,#1F9D55)}
.app-row > .btn{flex:none}
/* Want another app? (work.js appWishHtml): the same rows, Ask for it on the right; Something else takes a name. */
.app-other input{margin-top:6px;max-width:260px;min-height:36px;padding:6px 10px;font-size:14px}
.set-out{margin-top:16px}
.set-panes{display:none}
.set.open .set-panes{display:block}
.set.open .set-list{display:none}
.set-h{margin:0 0 6px;font-size:22px;line-height:1.25;letter-spacing:-.01em;font-weight:600}
.set-pane > h2:first-of-type{margin-top:6px}
/* A part whose heading says what the section's title says: only its short description shows. */
.set-pane h2.same{font-size:0;margin:0 0 10px}
.set-pane h2.same small{display:block;font-size:13px}
.set-pane h2.gone{display:none}
.set-hit{animation:set-hit 1.8s ease-out}
@keyframes set-hit{0%,40%{background:var(--soft2);box-shadow:0 0 0 6px var(--soft2)}100%{background:transparent;box-shadow:0 0 0 6px transparent}}
@media (min-width:1100px){
  .set{display:grid;grid-template-columns:300px minmax(0,1fr);gap:28px;align-items:start}
  .set .set-list,.set.open .set-list{display:block;position:sticky;top:12px;max-height:calc(100vh / var(--z) - 24px);overflow:auto;padding:0 2px 2px}
  .set .set-panes{display:block}
  .set .set-back{display:none}
  .set-row[aria-current]{background:var(--soft2)}
  .set-row[aria-current] .set-ic{background:var(--accent);color:#fff}
  .set-h{margin-top:4px}
}
body.demo .set .set-list{top:40px;max-height:calc(100vh / var(--z) - 52px)}
#main h2{scroll-margin-top:64px}
.back{display:inline-flex;align-items:center;gap:4px;color:var(--muted);text-decoration:none;font-size:13.5px;font-weight:600;margin-bottom:6px}

/* ---- buttons, chips ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:8px;padding:8px 14px;font-weight:600;font-size:13.5px;cursor:pointer;text-decoration:none;white-space:nowrap;min-height:40px;transition:background .15s,border-color .15s,box-shadow .15s}
.btn.go,.btn.dark{background:#5B2A86;color:#fff;box-shadow:0 1px 2px rgba(26,18,37,.25),inset 0 1px 0 rgba(255,255,255,.12)}
/* No gold underline on buttons (Omar, Oct 18 2026: "we are not using that design language"): the main button is plain dark. */
.btn.go{box-shadow:0 1px 2px rgba(26,18,37,.25),inset 0 1px 0 rgba(255,255,255,.12)}
.btn.go:hover,.btn.dark:hover{background:#4E2375}
/* Second buttons are soft grey with no outline, and quieter than the main one (Hotplate's calm, Omar Oct 25 2026). */
.btn.line{background:#F3F0F7;border-color:transparent;color:var(--ink);font-weight:500}
.btn.line:hover{background:#EAE5F0;border-color:transparent}
.btn.ghost{background:transparent;color:var(--accent);padding:8px 10px;min-height:0}
.btn.bad{background:#fff;border-color:#EBCBC7;color:var(--warn)}
.btn.small{padding:7px 12px;font-size:12.5px;min-height:34px}
.btn:disabled{opacity:.5;cursor:not-allowed}
.btn:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}
.chip{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:600;border-radius:8px;padding:2px 9px;background:var(--soft);color:var(--ink);white-space:nowrap;border:1px solid var(--line2)}
.chip.ok{background:var(--ok-soft);color:var(--ok);border-color:#CDE9DA}
.chip.warn{background:var(--warn-soft);color:var(--warn);border-color:#F2D3CF}
.chip.info{background:var(--info-soft);color:var(--info);border-color:#D3E2F4}
.chip.go{background:var(--gold-soft);color:var(--gold-ink);border-color:#F3E0B3}
.chip.dim{background:var(--soft);color:var(--muted)}
/* Membership billing: what a member signed up to, on their page in Work */
.deal{margin:0 0 10px;padding-left:18px;font-size:14px;line-height:1.5}
.deal li{margin:2px 0}
.dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:none}

/* ---- lists of things ---- */
.row{display:flex;align-items:center;gap:12px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 14px;text-decoration:none;color:inherit;cursor:pointer;min-width:0;box-shadow:var(--shadow);position:relative;overflow:hidden}
.row:hover{border-color:#D6CDE2}
.row .grow{flex:1;min-width:0}
.row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .meta{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.row .end{text-align:right;flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.row .end.inline{flex-direction:row;align-items:center;gap:10px}
/* Who's going: round initials in their color, overlapping a little, with a white ring. */
.avs{display:flex}
.av{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:700;letter-spacing:.02em;box-shadow:0 0 0 2px #fff;flex:none}
.av+.av{margin-left:-6px}
.col .avs{display:none}
/* Phones: room for the job, two lines of it; the status stays, the faces wait for a wider screen. */
@media (max-width:520px){.row .avs{display:none}.row .meta{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}
.row .amt{font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
/* Quote and invoice rows (Oct 30 2026; work.js quoteRow, invRow): the tags in one column and the amounts in one
   right-aligned column, row after row, whatever the name, the tag or the amount. On a computer the list is one grid
   (each row a subgrid): name and job | tags | amount, each column as wide as its widest entry. On a phone: name and
   amount on top, the job under them, the tags under that, starting at the left edge with the name. */
.cards.docs{grid-template-columns:minmax(0,1fr) max-content max-content;column-gap:24px;row-gap:0}
.cards.docs>*{grid-column:1/-1}
.row.doc{display:grid;grid-template-columns:subgrid;grid-template-areas:"who tags amt" "meta tags amt";row-gap:2px;align-items:center}
.row.doc .who{grid-area:who;min-width:0}
.row.doc .meta{grid-area:meta;min-width:0}
.row.doc .tags{grid-area:tags;display:flex;gap:6px;justify-self:start}
.row.doc .amt{grid-area:amt;justify-self:end;text-align:right;white-space:nowrap}
@supports not (grid-template-columns:subgrid){.row.doc{grid-template-columns:minmax(0,1fr) 12rem 8.5rem;column-gap:24px}}
@media (max-width:640px){
  .cards.docs{grid-template-columns:minmax(0,1fr)}
  .row.doc{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"who amt" "meta meta" "tags tags";column-gap:12px;align-items:baseline}
  .row.doc .tags{flex-wrap:wrap;margin-top:4px}
}
/* The amount on an overdue invoice in red, on a paid one in grey (work.js invRow), so the money to chase stands out. */
.row.doc .amt.late{color:var(--warn)}
.row.doc .amt.done{color:var(--muted);font-weight:600}
/* Quotes and invoices boxes and groups (Oct 30 2026, work.js moneyList): four boxes on top, each a group's total, that
   show only that group (purple outline when on); the list split by what to do, each part headed by its name, count and
   total. A heading is a row of the list's grid, so its total ends where the amounts end. */
.mboxes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.mbox{display:grid;gap:1px;align-content:start;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px 12px;color:inherit;text-decoration:none;min-width:0}
.mbox:hover{border-color:#D6CDE2}
.mbox:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.mbox span{font-size:12px;font-weight:600;color:var(--muted);line-height:1.35}
.mbox b{font-size:18px;line-height:1.3;color:var(--ink);font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mbox small{font-size:12px;color:var(--muted)}
.mbox.warn b{color:var(--warn)}
.mbox.none b{color:var(--muted);font-weight:600}
.mbox.on{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:var(--soft2)}
.mshow{margin:0 0 10px}
.cards.docs>.mgroup{display:grid;grid-template-columns:subgrid;align-items:baseline;padding:9px 14px 7px;background:var(--soft);border-bottom:1px solid var(--line2);border-top:1px solid var(--line2)}
.cards.docs>.mgroup:first-child{border-top:0}
.mgroup b{font-size:13px;grid-column:1;display:flex;gap:8px;align-items:baseline}
.mgroup .n{font-size:12px;font-weight:600;color:var(--muted)}
.mgroup .t{grid-column:3;justify-self:end;font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap}
.mgroup.overdue .t{color:var(--warn)}
.mgroup.paid .t,.mgroup.won .t{color:var(--muted)}
@supports not (grid-template-columns:subgrid){.cards.docs>.mgroup{grid-template-columns:minmax(0,1fr) 12rem 8.5rem;column-gap:24px}}
@media (max-width:640px){
  .mboxes{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .cards.docs>.mgroup{grid-template-columns:minmax(0,1fr) auto;column-gap:12px}
  .mgroup .t{grid-column:2}
}
.time{flex:none;width:64px;font-weight:700;color:var(--ink);font-size:13.5px;line-height:1.2;font-variant-numeric:tabular-nums}
.time small{display:block;color:var(--muted);font-weight:600;font-size:11.5px}
.job.done{opacity:.62}
/* A thin edge marks the ones to look at: red for urgent, gold for a request to confirm. */
.job.urgent::before,.job.pending::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--warn)}
.job.pending::before{background:linear-gradient(180deg,var(--gold),var(--gold2))}

/* ---- needs you ---- */
.needs{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;margin-bottom:6px}
.need{position:relative;display:flex;align-items:center;gap:12px;padding:13px 16px;text-decoration:none;color:inherit;box-shadow:1px 0 0 var(--line2),0 1px 0 var(--line2)}
.need:hover{background:var(--soft);text-decoration:none}
.need b{min-width:30px;height:30px;padding:0 8px;border-radius:8px;display:grid;place-items:center;background:var(--soft2);color:var(--accent);font-size:15px;font-weight:700;font-variant-numeric:tabular-nums;flex:none}
.need span{flex:1;font-size:13.5px;color:var(--ink);font-weight:500;line-height:1.3}
.need span::first-letter{text-transform:uppercase}
.need i{font-style:normal;color:var(--faint);font-size:18px}
.need.hot::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--gold),var(--gold2))}
.need.hot b{background:var(--gold-soft);color:var(--gold-ink)}

/* ---- schedule ---- */
.week{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;align-items:stretch}
.week a{flex:1 0 54px;text-align:center;text-decoration:none;color:var(--ink);background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;padding:6px 4px;font-size:11.5px;font-weight:600}
.week a b{display:block;font-size:17px}
.week a i{display:block;font-style:normal;color:var(--muted);font-size:11px}
.week a[aria-current=date]{border-color:var(--lav);background:var(--soft2);box-shadow:0 0 0 3px var(--soft2)}
.week a.today b{color:var(--accent)}
.week .nav{flex:0 0 38px;display:grid;place-items:center;font-size:18px}
.board{display:grid;gap:12px;margin-top:14px;grid-template-columns:minmax(0,1fr)}
.col,.cards,.grid2>*{min-width:0}
@media (min-width:760px){.board{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}
.col{background:var(--soft);border:1px solid var(--line2);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px;min-height:80px}
.col h3{margin:0 2px 2px;font-size:13px;display:flex;align-items:center;gap:6px}
.col h3 span{color:var(--muted);font-weight:600}
.col .row{padding:10px 12px}
/* the day as a time grid (schedule): a column per person, an hour every --hour; jobs dragged to move them */
.tgrid{margin-top:14px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow-x:auto;overscroll-behavior-x:contain}
.tg-row{display:grid;grid-template-columns:58px repeat(var(--cols),minmax(150px,1fr));min-width:calc(58px + var(--cols) * 150px)}
.tg-head{position:sticky;top:0;z-index:3;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line)}
.tg-head h3{margin:0;padding:10px 10px 9px;font-size:13px;display:flex;align-items:center;gap:6px;min-width:0;border-left:1px solid var(--line2)}
.tg-head h3 .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tg-head h3 .n{color:var(--muted);font-weight:600}
.tg-any{border-bottom:1px solid var(--line)}
.tg-lab{font-size:11px;color:var(--muted);font-weight:600;padding:9px 6px 0 10px}
.tg-cell{border-left:1px solid var(--line2);padding:4px 3px;min-height:40px;display:flex;flex-direction:column;gap:4px}
.tg-cell .tblock{position:relative}
.tg-body{position:relative}
.tg-hours{position:relative}
.tg-hours span{position:absolute;right:8px;transform:translateY(-50%);font-size:11px;color:var(--faint);font-weight:600;white-space:nowrap}
.tg-hours span:first-child{transform:none;top:2px!important}
.tg-col{position:relative;border-left:1px solid var(--line2);background-image:linear-gradient(var(--line2) 1px,transparent 1px);background-size:100% 56px}
.tg-now{position:absolute;left:0;right:0;height:2px;background:var(--warn);z-index:2;pointer-events:none}
.tg-now::before{content:"";position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:var(--warn)}
.tblock{position:absolute;display:block;overflow:hidden;background:var(--card);border:1px solid var(--line);border-left:3px solid var(--c);border-radius:8px;padding:4px 7px;font-size:12px;line-height:1.3;color:var(--text);text-decoration:none;box-shadow:var(--shadow);z-index:1}
.tblock:hover{text-decoration:none;border-color:#D6CDE2;border-left-color:var(--c);box-shadow:var(--shadow-hi);z-index:2}
.tblock b{font-weight:700}
.tblock small{display:block;color:var(--muted);font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tblock.st-done{background:var(--soft);opacity:.75}
.tblock.st-onway,.tblock.st-working{background:var(--info-soft)}
.tblock.pending{border-style:dashed;border-left-style:solid}
.tblock.tight{border-color:#F0C9C4;border-left-color:var(--c);box-shadow:0 0 0 1px #F0C9C4}
.warn-drive{display:block;font-style:normal;font-size:11px;font-weight:600;color:var(--warn);margin-bottom:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.warn-drive::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--warn);margin-right:5px;vertical-align:1px}
.can-drag{cursor:grab;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.lifted{opacity:.35}
.drag-ghost{position:fixed!important;z-index:80;pointer-events:none;cursor:grabbing;box-shadow:0 14px 34px -8px rgba(26,18,37,.35)!important;opacity:.96;transition:none}
.drag-ghost .when{position:absolute;right:6px;top:4px;font-style:normal;font-size:11px;font-weight:700;color:#fff;background:var(--ink);border-radius:8px;padding:1px 6px}
.drag-ghost .when:empty{display:none}
body.dragging,body.dragging *{cursor:grabbing!important}
.drop-on{background-color:var(--soft2)!important;outline:2px dashed var(--lav);outline-offset:-2px}
.week a.drop-on{border-color:var(--accent)}
/* faces: someone's photo, or their initials */
.face{display:inline-grid;place-items:center;border-radius:50%;object-fit:cover;color:#fff;font-weight:700;flex:none;box-shadow:0 0 0 1px var(--line)}
.av img{width:100%;height:100%;border-radius:50%;object-fit:cover}
/* the day's map */
.mapgrid{display:grid;gap:14px;grid-template-columns:minmax(0,1fr)}
@media (min-width:900px){.mapgrid{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);align-items:start}.mapgrid .map{position:sticky;top:16px}}
.map{height:min(62vh,560px);min-height:320px;border-radius:var(--r);border:1px solid var(--line);box-shadow:var(--shadow);overflow:hidden;background:var(--soft);z-index:0}
.pin.dim{opacity:.32}
.stopcard.on{border-color:var(--c);box-shadow:0 0 0 1px var(--c),var(--shadow)}
.stopcard{margin-bottom:12px}
.stopcard h3{margin:0 0 8px;font-size:14px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.stopcard h3 .muted{font-weight:500;font-size:13px}
ol.stops{list-style:none;margin:0;padding:0}
ol.stops li a{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid var(--line2);color:inherit;text-decoration:none}
ol.stops li:first-child a{border-top:0}
ol.stops .leg{display:block;font-size:11.5px;color:var(--muted);padding:6px 0 0 34px;border-top:1px solid var(--line2)}
ol.stops .leg+a{border-top:0;padding-top:2px}
ol.stops i{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:#fff;font-style:normal;font-size:12px;font-weight:700;margin-top:1px}
ol.stops b{font-weight:700}
ol.stops small{display:block;color:var(--muted);font-size:12.5px}
.better{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--gold-soft);border-left:3px solid var(--gold);display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.better b{color:var(--gold-ink)}
.pin{width:28px;height:28px;cursor:pointer}
.pin.live{width:34px;height:34px;cursor:default}
.pin.home{cursor:default}
.pin>span{width:100%;height:100%;border-radius:50%;background:var(--c);color:#fff;display:grid;place-items:center;font:700 13px/1 var(--sans);box-shadow:0 0 0 2px #fff,0 2px 6px rgba(0,0,0,.25);overflow:hidden;transition:transform .12s}
.pin:not(.home):not(.live):hover>span{transform:scale(1.12)}
.pin.on>span{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--c),0 2px 6px rgba(0,0,0,.25)}
.pin.home>span{font-size:16px}
.pin.live>span{font-size:12px;box-shadow:0 0 0 3px #fff,0 0 0 7px color-mix(in srgb,var(--c) 30%,transparent),0 2px 8px rgba(0,0,0,.3)}
.pin.live img{width:100%;height:100%;object-fit:cover}

/* ---- forms ---- */
.form{display:grid;gap:12px}
@media (min-width:640px){.form.two{grid-template-columns:1fr 1fr}.form .wide{grid-column:1/-1}}
/* The boxes: a clean outline (Omar, Oct 14). Every text box, dropdown, date and time the same height with a firm
   outline and a soft purple glow while typing; a hint (label's <small>) goes under its box, so boxes in a row line up;
   one dropdown arrow everywhere; a red outline on a mistake (aria-invalid). Phones get 16px text so iPhones don't zoom. */
label.f{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--ink);min-width:0}
label.f small{order:3;color:var(--muted);font-weight:400;font-size:12.5px;line-height:1.35}
label.f .opt{font-weight:400;color:var(--muted);font-size:12.5px}
input[type=text],input[type=tel],input[type=email],input[type=number],input[type=date],input[type=time],input[type=datetime-local],input[type=url],input[type=search],input[type=password],textarea,select{font:inherit;font-size:15px;font-weight:400;height:44px;border:1px solid var(--box);border-radius:12px;padding:0 12px;color:var(--ink);background-color:#fff;width:100%;min-width:0;box-shadow:0 1px 1px rgba(26,18,37,.04);transition:border-color .15s,box-shadow .15s}
@media (pointer:coarse){input[type=text],input[type=tel],input[type=email],input[type=number],input[type=date],input[type=time],input[type=datetime-local],input[type=url],input[type=search],input[type=password],textarea,select{font-size:16px}}
textarea{height:auto;min-height:80px;padding:10px 12px;line-height:1.45;resize:vertical}
select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7287' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:18px;padding-right:36px;cursor:pointer}
input[type=number]{-moz-appearance:textfield}
input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
input[type=date],input[type=time],input[type=datetime-local]{line-height:42px}
input::-webkit-date-and-time-value{text-align:left}
input::-webkit-calendar-picker-indicator{opacity:.55;cursor:pointer}
input[type=text]:hover,input[type=tel]:hover,input[type=email]:hover,input[type=number]:hover,input[type=date]:hover,input[type=time]:hover,input[type=datetime-local]:hover,input[type=url]:hover,input[type=search]:hover,input[type=password]:hover,textarea:hover,select:hover{border-color:var(--box-hover)}
input::placeholder,textarea::placeholder{color:var(--faint)}
input[type=text]:focus,input[type=tel]:focus,input[type=email]:focus,input[type=number]:focus,input[type=date]:focus,input[type=time]:focus,input[type=datetime-local]:focus,input[type=url]:focus,input[type=search]:focus,input[type=password]:focus,textarea:focus,select:focus{outline:none;border-color:var(--accent2);box-shadow:0 0 0 3px var(--soft2)}
input[type=text]:disabled,input[type=tel]:disabled,input[type=email]:disabled,input[type=number]:disabled,input[type=date]:disabled,input[type=time]:disabled,input[type=datetime-local]:disabled,input[type=url]:disabled,input[type=search]:disabled,input[type=password]:disabled,textarea:disabled,select:disabled{background-color:var(--soft);color:var(--faint);border-color:var(--line2);box-shadow:none;cursor:not-allowed}
[aria-invalid=true]{border-color:#E2A9A3!important;box-shadow:0 0 0 3px var(--warn-soft)!important}
.tick{display:flex;gap:10px;align-items:flex-start;font-size:14px;cursor:pointer;font-weight:500}
.tick input[type=checkbox]{appearance:none;-webkit-appearance:none;width:20px;height:20px;margin:0;border:1.5px solid #CFC7DA;border-radius:8px;background:#fff;display:grid;place-items:center;flex:none;cursor:pointer;transition:background .12s,border-color .12s}
.tick input[type=checkbox]:hover{border-color:var(--accent2)}
.tick input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}
.tick input[type=checkbox]:checked::after{content:"";width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}
.tick input[type=checkbox]:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}
.tick input[type=checkbox]:disabled{background:var(--soft);border-color:var(--line2);cursor:not-allowed}
.tick input[type=radio]{width:18px;height:18px;margin:1px 0 0;accent-color:var(--accent);flex:none}
.picks{display:flex;flex-wrap:wrap;gap:8px}
.pick{border:1px solid var(--line);background:#fff;border-radius:12px;padding:7px 13px;font-size:13.5px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:7px}
.pick[aria-pressed=true]{border-color:var(--lav);background:var(--soft2);color:var(--accent)}
.bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.bar.end{justify-content:flex-end}
.sticky{position:sticky;bottom:calc(var(--tab) + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.94);backdrop-filter:saturate(1.4) blur(10px);border-top:1px solid var(--line);margin:16px -16px 0;padding:12px 16px;z-index:5}
@media (min-width:900px){.sticky{margin:16px -28px 0;padding:12px 28px}}
@media (min-width:900px){.sticky{bottom:0}}
.search{position:relative}
.search input{padding-left:36px}
.search svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:18px;height:18px;stroke:var(--muted);fill:none;stroke-width:2}
.suggest{border:1px solid var(--line);border-radius:18px;background:#fff;margin-top:6px;max-height:240px;overflow:auto;box-shadow:var(--shadow-hi)}
.suggest button{display:block;width:100%;text-align:left;border:0;background:none;padding:9px 12px;cursor:pointer;font-size:14px}
.suggest button:hover,.suggest button:focus{background:var(--soft)}

/* ---- lines (quotes, invoices, jobs) ---- */
.lines{display:grid;gap:8px}
.lrow{display:grid;grid-template-columns:1fr 64px 96px 34px;gap:6px;align-items:center}
.lrow input,.lrow select{height:40px;padding:0 10px}
.lrow select{padding-right:32px;background-position:right 8px center}
.lrow .tx input{height:34px;font-size:13.5px}
.lrow .x{border:0;background:none;color:var(--muted);font-size:20px;cursor:pointer;width:34px;height:34px;border-radius:8px}
.lrow .x:hover{background:var(--soft)}
.lrow .tx{grid-column:1/-1;display:flex;gap:12px;align-items:center;font-size:12px;color:var(--muted);margin-top:-4px}
.lrow .tx label{display:flex;gap:5px;align-items:center}
.lhead{display:grid;grid-template-columns:1fr 64px 96px 34px;gap:6px;font-size:11.5px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.totals{display:grid;grid-template-columns:1fr auto;gap:4px 16px;margin-left:auto;max-width:300px;font-variant-numeric:tabular-nums;font-size:14px}
.totals b{text-align:right}
.totals .big{font-size:18px;font-weight:700;color:var(--ink);border-top:1px solid var(--line);padding-top:6px;margin-top:2px}
.opt-card{border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:12px;background:#fff;display:grid;gap:10px}
.opt-card .bar input{max-width:240px}
table.view{width:100%;border-collapse:collapse;font-size:14px}
/* Column names in plain grey words, not capitals, and a little more air per row (Hotplate's calm, Oct 25 2026). */
table.view th{text-align:left;font-size:12.5px;font-weight:500;color:var(--muted);padding:9px 6px;border-bottom:1px solid var(--line)}
table.view td{padding:11px 6px;border-bottom:1px solid var(--soft2);vertical-align:top}
table.view tr:last-child td{border-bottom:0}
table.view td.n,table.view th.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
/* A wide table on a phone (Numbers' By instructor, seven columns): cells sit closer, and if it is still too wide it
   scrolls inside its card instead of pushing the page sideways. */
@media (max-width:600px){
  table.view th,table.view td{padding-left:4px;padding-right:4px}
  .card:has(> table.view){overflow-x:auto}
  table.view.wraphead th.n{white-space:normal;vertical-align:bottom}
}

/* ---- a job, a customer ---- */
.facts{display:grid;grid-template-columns:110px minmax(0,1fr);gap:7px 12px;margin:0;font-size:14px}
.facts dt{color:var(--muted)}
.facts dd{margin:0;overflow-wrap:anywhere}
/* A table inside a fact (Settings → Payments, fees on each payment): its cells never break a word letter by letter, and
   on a phone it takes the whole width, each row the name and price, with the note underneath (Omar, Oct 25 2026). */
.facts dd table.view td{overflow-wrap:normal}
@media (max-width:560px){
  .facts dt:has(+ dd > table.view),.facts dd:has(> table.view){grid-column:1/-1}
  .facts dd table.view tr{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;padding:9px 0;border-bottom:1px solid var(--soft2)}
  .facts dd table.view td{border:0;padding:0}
  .facts dd table.view td.small{grid-column:1/-1;padding-top:3px}
}
/* Settings → Payments, Online booking and payments (Omar, Oct 30 2026: "a lot of text, looks heavy"): each fact its own
   row under a hairline, the main words first and the detail in small grey under them; the fees a list (name and price
   on one line, the note under); plan renewals their own group. On a phone the label sits above its value. */
.pay-facts{grid-template-columns:176px minmax(0,1fr);gap:0}
.pay-facts>dt,.pay-facts>dd{padding:14px 0;border-top:1px solid var(--line2)}
.pay-facts>dt{padding-right:16px}
.pay-facts>dt:first-of-type,.pay-facts>dt:first-of-type+dd{border-top:0;padding-top:0}
.pay-facts>dt{font-weight:500}
.pay-card .hint{display:block;margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
.pay-card .pay-main{display:block;margin-top:6px}
.pay-card .pay-link{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px}
.fee-list{display:grid}
.fee-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;padding:9px 0;border-bottom:1px solid var(--line2);align-items:baseline}
.fee-row:first-child{padding-top:0}
.fee-row:last-child{border-bottom:0}
.fee-row b{text-align:right;font-variant-numeric:tabular-nums;color:var(--ink)}
.fee-row small{grid-column:1/-1;color:var(--muted);font-size:12.5px;line-height:1.4}
.fee-list + .hint{margin-top:8px}
.pay-card .tick>span small{display:block;margin-top:2px;color:var(--muted);font-size:13px;font-weight:400;line-height:1.4}
.pay-card .facts dd .tick{align-items:flex-start;margin:0}
.pay-choice{display:grid;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line2)}
.pay-q{font-size:13px;font-weight:600;color:var(--ink)}
.pay-nudge{margin-top:12px}
.pay-card .bar.end{margin-top:12px}
.pay-renew{display:grid;gap:14px}
.pay-renew .bar.end{margin-top:0}
/* Option A (Oct 30 2026): each number a short row, its box on the right with the unit after it */
.pay-terms{display:grid;gap:0}
.pay-n{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 16px;padding:12px 0;border-top:1px solid var(--line2);font-size:15px;color:var(--ink);cursor:text}
.pay-n:first-child{border-top:0;padding-top:0}
.pay-n > small{grid-column:1/-1;margin-top:-2px;color:var(--muted);font-size:13px;line-height:1.4}
.pay-n-in{display:flex;align-items:center;gap:8px}
.pay-n-in input[type=number]{width:96px;text-align:right;font-variant-numeric:tabular-nums}
.pay-n-in i{font-style:normal;color:var(--muted);font-size:14px;width:32px}
@media (max-width:560px){.pay-n-in input[type=number]{width:80px}}
.pay-terms-t{padding-top:12px;border-top:1px solid var(--line2)}
.pay-terms .bar.end{margin-top:12px}
/* the fees, folded */
.pay-fold > summary{list-style:none;cursor:pointer;display:grid;gap:4px}
.pay-fold > summary::-webkit-details-marker{display:none}
.pay-fold-t{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:baseline}
.pay-fold-t b{color:var(--ink);font-variant-numeric:tabular-nums;text-align:right}
.pay-fold-go{color:var(--accent);font-weight:600;font-size:14px}
.pay-fold-go::after{content:"See all fees ›"}
.pay-fold[open] .pay-fold-t{display:none}
.pay-fold[open] .pay-fold-go{margin-bottom:8px}
.pay-fold[open] .pay-fold-go::after{content:"Hide fees"}
.pay-fold > summary:focus-visible{outline:2px solid var(--accent2);outline-offset:3px;border-radius:6px}
@media (max-width:560px){
  .pay-facts{grid-template-columns:minmax(0,1fr)}
  .pay-facts>dd{border-top:0;padding-top:4px}
  .pay-facts>dt:first-of-type+dd{padding-top:4px}
}
.big-acts{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
.big-acts .btn{min-height:52px;font-size:15.5px}
.pics{display:flex;flex-wrap:wrap;gap:8px}
.pic{position:relative;width:96px;height:96px;border-radius:12px;overflow:hidden;background:var(--soft);display:grid;place-items:center}
.pic img{width:100%;height:100%;object-fit:cover;cursor:zoom-in}
.pic small{position:absolute;left:4px;bottom:4px;background:rgba(31,26,39,.7);color:#fff;font-size:10.5px;border-radius:8px;padding:1px 5px}
.pic button{position:absolute;top:4px;right:4px;width:24px;height:24px;border-radius:50%;border:0;background:rgba(31,26,39,.7);color:#fff;cursor:pointer}
.pic.add{border:1px dashed #D6CDE2;background:#fff;color:var(--accent);font-weight:700;font-size:13px;cursor:pointer;text-align:center}
.zoom{position:fixed;inset:0;background:rgba(15,10,20,.86);display:grid;place-items:center;z-index:50;padding:20px;cursor:zoom-out}
.zoom img{max-width:100%;max-height:100%;border-radius:8px}
.log{list-style:none;margin:0;padding:0;font-size:13px;color:var(--muted);display:grid;gap:4px}
.log b{color:var(--ink);font-weight:600}

/* ---- numbers ---- */
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.tile{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 16px;box-shadow:var(--shadow)}
.tile span{display:block;font-size:12.5px;color:var(--muted);font-weight:500}
.tile b{display:block;font-size:22px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums;margin-top:2px}
.tile small{color:var(--muted);font-size:12px}
.ctiles .tile b{display:inline-block}
.ctiles .tile small{margin-left:6px;font-size:12.5px}
.tile.hero{background:linear-gradient(150deg,#3B1A5A,var(--deep));color:#fff;border-color:var(--deep);box-shadow:var(--shadow-hi)}
.tile.hero b{color:#fff}
.tile.hero span,.tile.hero small{color:rgba(255,255,255,.75)}
.seg{display:inline-flex;background:var(--soft);border:1px solid var(--line2);border-radius:12px;padding:3px;gap:1px}
.seg button{border:0;background:none;padding:7px 11px;border-radius:8px;font-size:12.5px;font-weight:600;cursor:pointer;color:var(--muted)}
.seg button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 2px rgba(26,18,37,.12)}

/* ---- sign in ---- */
.signin{max-width:420px;margin:8vh auto 0;display:grid;gap:14px}
.signin .card{padding:22px}
.signin h1{margin:0 0 4px;font-size:24px;letter-spacing:-.02em}
.signin .or{text-align:center;color:var(--muted);font-size:12.5px}
.logo{display:flex;align-items:flex-end;gap:10px;justify-content:center;margin-bottom:6px}
.logo .word{height:30px;width:auto;fill:var(--accent);display:block;flex:none}
.logo span{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:2px}

.toast{position:fixed;left:50%;bottom:calc(var(--tab) + 18px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);background:var(--ink);color:#fff;padding:10px 16px;border-radius:12px;font-size:14px;z-index:60;max-width:calc(100vw - 32px);box-shadow:0 8px 24px rgba(0,0,0,.2)}
.toast.bad{background:var(--warn)}
.toast button{margin-left:10px;background:none;border:0;color:var(--gold);font-weight:700;cursor:pointer;padding:0;text-decoration:underline}
@media (min-width:900px){.toast{bottom:24px}}
.demo-note{position:fixed;top:0;left:0;right:0;margin:0;background:var(--gold-soft);color:var(--gold-ink);border-bottom:1px solid #F3E0B3;font-size:12.5px;font-weight:600;text-align:center;padding:5px 10px;z-index:30}
.demo-note a{color:inherit}
body.demo .main{padding-top:40px}
@media (max-width:520px){body.demo .main{padding-top:62px}}
@media (min-width:900px){body.demo .rail{top:28px}}
@media print{.rail,.sticky,.acts,.toast{display:none!important}.main{margin:0;padding:0}}
/* Grid and flex children shrink, so a long name or address is cut short with "…" instead of widening the page. */
.form>*,.f,.head>div,.opt-card,.opt-card>*{min-width:0}

/* Storm mode and weather alerts on Today. */
.banner{position:relative;overflow:hidden;border-radius:12px;padding:16px 18px 16px 21px;margin-bottom:14px;font-size:14px;border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow)}
.banner::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--accent2)}
.banner.storm::before{background:linear-gradient(180deg,var(--gold),var(--gold2))}
.banner.weather::before{background:var(--info)}
.wxrow{display:flex;flex-direction:column;gap:4px;margin-top:6px}
.wxrow input[type=text]{margin-left:30px;max-width:420px}
.banner blockquote{margin:10px 0;padding:10px 12px;background:var(--soft);border-radius:12px;font-size:13.5px;color:var(--ink);border-left:0}

/* ---- Ask ohelloo on Home, and the morning recap's preview in Settings (work-ask.js; Get regulars) ---- */
.ask-card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-bottom:14px;box-shadow:var(--shadow)}
.ask-card.locked{display:flex;align-items:center;gap:10px;padding:10px 14px;flex-wrap:wrap}
.ask-card.locked .ask-t{flex:1;min-width:200px;font-size:14px}
.ask-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.ask-head>div{flex:1;min-width:0}
.ask-head b{display:block;color:var(--ink);font-size:15px}
.ask-head small{color:var(--muted);font-size:12.5px}
.ask-box{display:flex;gap:8px;align-items:center}
.ask-box input{flex:1;min-width:0;height:42px;border:1px solid var(--line);border-radius:10px;padding:0 12px;font:inherit;font-size:15px;background:var(--bg);color:var(--ink)}
.ask-box input:focus{outline:2px solid var(--accent2);outline-offset:0;border-color:transparent}
.ask-send{width:42px;height:42px;border-radius:10px;border:0;background:var(--accent);display:grid;place-items:center;cursor:pointer;flex:none}
.ask-send:disabled{opacity:.5;cursor:default}
.ask-send svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ask-starts{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.ask-start{border:1px solid var(--line);background:var(--soft);color:var(--ink);border-radius:8px;padding:6px 10px;font:inherit;font-size:13px;cursor:pointer;text-align:left}
.ask-start:hover{border-color:var(--lav)}
.ask-log{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;max-height:420px;overflow:auto}
.ask-q{align-self:flex-end;margin:0;background:var(--soft2);color:var(--ink);border-radius:10px;padding:8px 12px;font-size:14px;max-width:85%}
.ask-a{background:var(--soft);border-radius:10px;padding:10px 12px;font-size:14px;color:var(--ink);max-width:95%}
.ask-a p{margin:0}.ask-a p+p{margin-top:8px}
.ask-a a{color:var(--accent);font-weight:600}
.ask-a.note{color:var(--muted)}
.ask-err{color:var(--warn);margin:8px 0 0}
.recap-preview{margin-top:12px;background:var(--soft);border-radius:10px;padding:10px 12px}
.recap-preview p{margin:4px 0 0;font-size:14px;color:var(--ink)}

/* ---- the texting inbox: the unread count on its tab, and a conversation as bubbles ---- */
.tabs a{position:relative}
/* On a phone the badge sits on the icon's top right corner; in a computer's menu, at the end of the row (badge above). */
.tabs .badge{position:absolute;top:6px;left:calc(50% + 4px);left:round(calc(50% + 4px),1px);--bh:18px;padding:var(--bt) 5px 0;font-size:11px;box-shadow:0 0 0 2px #fff}
/* On a computer's menu a count is a quiet grey number at the right (Omar, Oct 30 2026, version B); folded, it's the
   purple badge on the icon again. */
@media (min-width:900px){
  .tabs .badge{position:static;margin-left:auto;min-width:0;height:auto;padding:0 2px;background:none;color:var(--muted);font-size:12px;font-weight:500;box-shadow:none}
  .tabs a[aria-current=page] .badge{color:rgba(255,255,255,.85)}
  body.rail-min .tabs a .badge{background:var(--accent);color:#fff;font-weight:700;box-shadow:0 0 0 2px #fff}
  /* On the selected tab (purple) the count turns white, so it doesn't vanish into it (Omar, Nov 2 2026). */
  body.rail-min .tabs a[aria-current=page] .badge{background:#fff;color:var(--accent);box-shadow:0 0 0 2px var(--accent)}
}
.row.unread b{font-weight:700}
.row.unread .meta{color:var(--ink)}
.chat{display:flex;flex-direction:column;gap:8px;margin:14px 0}
.bubble{max-width:82%;padding:9px 12px;border-radius:12px;font-size:14.5px;white-space:pre-wrap;overflow-wrap:anywhere}
.bubble.in{align-self:flex-start;background:var(--card);border:1px solid var(--line);border-bottom-left-radius:4px;box-shadow:var(--shadow)}
.bubble.out{align-self:flex-end;background:var(--ink);color:#fff;border-bottom-right-radius:4px}
.bubble.out.failed{background:var(--warn-soft);color:var(--warn)}
.bubble.word{align-self:center;background:var(--soft2);color:var(--muted);font-size:12.5px;border-radius:8px}
.bubble small{display:block;margin-top:3px;font-size:11.5px;opacity:.78}
.replybox{position:sticky;bottom:calc(var(--tab) + env(safe-area-inset-bottom,0px));background:var(--bg);padding:8px 0}
@media (min-width:900px){.replybox{bottom:0}}

/* ---- timesheets and profit per job (WORK.md) ---- */
/* Settings → Home screen: each card's switch, and arrows to move it */
.homecards{display:grid;gap:2px}
.homecard{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line2)}
.homecard:last-child{border-bottom:0}
.homecard .tick{flex:1;min-width:0}
.homecard.off .tick>span{color:var(--muted)}
.homemove{display:flex;gap:4px;flex:none}
.homemove .btn{min-width:34px;padding-inline:8px}
.clockbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.clockbar .grow{flex:1;min-width:180px}
.clockbar .meta{color:var(--muted);font-size:13px;margin-top:2px}
.clockdot{width:10px;height:10px;border-radius:50%;background:var(--faint);flex:none}
.clockbar.in{border-color:#CDE9DA}
.clockbar.in .clockdot{background:var(--ok);box-shadow:0 0 0 4px var(--ok-soft)}
.ot{color:var(--gold-ink);font-weight:600}
/* Payroll: the pay period's approval at the top of the timesheet, a person's pay line, the owner's reminder on Today */
.runbar,.paydue{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.runbar .grow,.paydue .grow{flex:1;min-width:200px}
.runbar .meta,.paydue .meta{color:var(--muted);font-size:13px;margin-top:3px}
.runbar.ok{border-color:#CDE9DA}
.runbar.warn,.paydue{border-color:#F0D9A8}
.runbar .bar{margin:0}
.runbar input{min-width:220px}
.payline{margin:2px 0 10px;font-size:14px}
.howto{margin-bottom:14px;border-color:#CDE9DA}
.howto ol{margin:8px 0;padding-left:20px;display:flex;flex-direction:column;gap:4px;font-size:14px}
.weekgrid td small,.weekgrid th small{display:block;font-size:11px;color:var(--muted);font-weight:400}
.sheet{margin:14px 0}
.scrollx{overflow-x:auto;-webkit-overflow-scrolling:touch}
.weekgrid{min-width:640px}
.weekgrid th small{display:block;font-size:11px;letter-spacing:0;text-transform:none}
.weekgrid th.now{color:var(--accent)}
.weekgrid td.quiet{color:var(--faint)}
.weekgrid tr.sel td{background:var(--soft)}
.weekgrid tr.sel td:first-child .linkish{font-weight:700}
.clockdot.on{display:inline-block;width:8px;height:8px;background:var(--ok);box-shadow:0 0 0 3px var(--ok-soft);vertical-align:middle}
.flagdot{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--warn-soft);color:var(--warn);font-size:11px;font-weight:800;vertical-align:middle}
.sheethead{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.sheethead>b{font-size:16px;color:var(--ink)}
.sheetsum{margin-left:auto;font-size:13px;color:var(--muted)}
.sheetsum b{color:var(--ink);font-size:15px}
.sheet tr.quiet td{color:var(--faint)}
.sheet tr.now td:first-child{color:var(--accent);font-weight:600}
table.view tr.tot td{border-bottom:0;border-top:1px solid var(--line)}
.linkish{background:none;border:0;padding:0;font:inherit;color:var(--accent);cursor:pointer;text-align:left}
.linkish:hover{text-decoration:underline}
.sheetform{margin-top:10px;padding:12px;border-radius:12px;background:var(--soft);border:1px solid var(--line2)}
.form.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:8px 0}
.form.three .wide{grid-column:1/-1}
@media (max-width:640px){.form.three{grid-template-columns:1fr}}
.flag{color:var(--warn);margin:8px 0 0}
.profit .pnum{margin-bottom:10px}
.profit .pnum span{display:block;font-size:12.5px;color:var(--muted);font-weight:600}
.profit .pnum b{display:block;font-size:28px;font-weight:700;letter-spacing:-.02em;color:var(--ok);font-variant-numeric:tabular-nums}
.profit .pnum small{color:var(--muted);font-size:12.5px}
.loss,.profit .pnum b.loss{color:var(--warn)}
.addcost{margin-top:12px;flex-wrap:wrap}
.x.inline{border:0;background:none;color:var(--muted);font-size:17px;cursor:pointer;width:24px;height:24px;border-radius:8px;padding:0;vertical-align:middle;margin-left:2px}
.x.inline:hover{background:var(--soft)}
.linkish.small{font-size:12.5px;font-weight:600}

/* "Something missing?" at the foot of every screen: a quiet link that opens a short box (sent to Omar as a ticket). */
.miss{margin:28px 0 8px;text-align:center}
.miss-link{background:none;border:0;padding:6px 8px;font:inherit;font-size:12.5px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.miss-link:hover{color:var(--ink)}
.miss-box{display:grid;gap:12px;max-width:520px;margin:0 auto;text-align:left}
/* Import customers: the file picker as a drop box (Omar, Oct 14: "choose a file should be styled"). The real file input
   covers the box, invisible, so a tap opens the picker and a dropped file lands in it. */
.filepick{position:relative;display:flex;align-items:center;gap:14px;border:1.5px dashed #D6CDE2;border-radius:var(--r);padding:16px 18px;background:var(--soft);cursor:pointer;transition:border-color .15s,background .15s}
.filepick:hover,.filepick:focus-within{border-color:var(--accent);background:var(--soft2)}
.filepick:focus-within{box-shadow:0 0 0 3px rgba(91,42,134,.15)}
.filepick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.filepick .fp-ic{flex:none;width:42px;height:42px;border-radius:12px;background:#fff;border:1px solid var(--line);display:grid;place-items:center}
.filepick .fp-ic svg{width:22px;height:22px;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.filepick .fp-t{display:grid;gap:2px;min-width:0;flex:1}
.filepick .fp-t b{color:var(--ink);font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.filepick .fp-t small{color:var(--muted);font-size:13px}
.filepick.has{border-style:solid;border-color:var(--ok);background:var(--ok-soft)}
.filepick.has .fp-ic svg{stroke:var(--ok)}
@media (max-width:520px){.filepick .fp-b{display:none}}

/* The AI receptionist: its calls in the Inbox and on a customer (open one for the summary, recording and "became a job?"),
   and its card in Settings */
details.callrow{display:block;padding:0}
details.callrow>summary{display:flex;align-items:center;gap:10px;padding:12px 14px;cursor:pointer;list-style:none}
details.callrow>summary::-webkit-details-marker{display:none}
details.callrow .callbody{padding:0 14px 14px;display:flex;flex-direction:column;gap:8px}
details.callrow .callbody p{margin:0;font-size:14px}
details.callrow audio{width:100%;max-width:420px;height:36px}
details.callrow .bar{align-items:center;flex-wrap:wrap}
.recv .recvsteps{background:var(--soft,#F6F2FA);border-radius:12px;padding:12px 14px;margin:10px 0;font-size:14px}
.recv .recvsteps ol{margin:6px 0 0;padding-left:20px;display:flex;flex-direction:column;gap:4px}
.txhave{border:1px solid var(--line);border-radius:12px;padding:10px 14px;background:var(--soft)}
.txhave summary{cursor:pointer;font-weight:600;color:var(--ink)}
.txhave summary small{font-weight:400;color:var(--muted)}
.txhave[open] summary{margin-bottom:8px}
.txyes{background:var(--soft2);border-radius:12px;padding:12px 14px}
#txForm .f.bad input,#txForm textarea.bad{border-color:var(--warn);box-shadow:0 0 0 3px var(--warn-soft)}
#txForm .txkinds{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#txForm .txkind{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;font:inherit;color:var(--ink);background:#fff;border:1px solid var(--box);border-radius:12px;padding:12px 14px;cursor:pointer}
#txForm .txkind[aria-pressed="true"]{border-color:var(--accent2);background:var(--soft2);box-shadow:0 0 0 2px var(--soft2)}
#txForm .txkind:disabled{opacity:.5;cursor:not-allowed}
#txForm .txkind small{color:var(--muted);font-size:13px}
@media (max-width:560px){#txForm .txkinds{grid-template-columns:1fr}}
/* Settings → AI receptionist, option C (Oct 29 2026): settings rows that open to edit, beside a sample call and "Call me to try it" */
.recv .recvgrid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;margin:12px 0 4px;align-items:start}
@media (max-width:860px){.recv .recvgrid{grid-template-columns:1fr}}
.recv .recvleft{display:flex;flex-direction:column;gap:10px;min-width:0}
.recv .recvleft .recvsteps,.recv .recvleft details.recvmore{margin:0}
.recv .recvsaved{color:var(--ok);min-width:5em;text-align:right}
.recv .recvset{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:var(--card);min-width:0}
.recv details.recvrow{border-bottom:1px solid var(--line2)}
.recv details.recvrow:last-child{border-bottom:0}
.recv details.recvrow summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:11px 14px;transition:background .15s}
.recv details.recvrow summary::-webkit-details-marker{display:none}
.recv details.recvrow summary:hover{background:var(--soft)}
.recv details.recvrow .k{font-size:13px;color:var(--muted)}
.recv details.recvrow .v{grid-column:1;font-size:14px;color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.recv details.recvrow .e{grid-row:1 / span 2;grid-column:2;align-self:center;color:var(--accent);font-weight:600;font-size:13px}
.recv details.recvrow[open] .e{color:var(--muted)}
.recv details.recvrow[open] .v{white-space:normal}
.recv .recvbody{display:flex;flex-direction:column;gap:8px;padding:0 14px 14px;animation:recvIn .18s ease-out}
@keyframes recvIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.recv .recvbody{animation:none}.recv details.recvrow summary{transition:none}}
.recv .recvbody textarea,.recv .recvbody select,.recv .recvadd input{width:100%}
.recv .recvbody .btn.ghost.small{align-self:flex-start}
.recv .recvlist{display:flex;flex-direction:column;gap:6px}
.recv .recvli{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:4px 4px 4px 12px;font-size:14px}
.recv .recvli span{min-width:0;overflow-wrap:anywhere}
.recv .recvli .btn{flex:none;font-size:16px;padding:0 10px}
.recv .recvadd{flex-wrap:nowrap}
.recv .recvadd input{flex:1;min-width:0}
.recv .recvstarts{display:flex;flex-wrap:wrap;gap:6px}
.recv .recvvoices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.recv .recvvoice{display:flex;gap:4px;align-items:center}
.recv .recvvoice .btn:first-child{flex:1;justify-content:flex-start}
.recv .recvvoice .btn .muted{font-weight:400;margin-left:4px}
.recv .recvvoice .btn.go .muted{color:inherit;opacity:.85}
.recv .recvplay{flex:none;width:36px;padding:0}
@media (max-width:420px){.recv .recvvoices{grid-template-columns:1fr}}
.recv .recvtry{display:flex;flex-direction:column;gap:10px;background:var(--soft2);border-radius:12px;padding:14px;min-width:0}
.recv .recvcallhead{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
.recv .recvcall{display:flex;flex-direction:column;gap:6px}
.recv .recvcall .who{font-size:11.5px;color:var(--muted);margin-bottom:-3px}
.recv .recvcall .who.r{align-self:flex-end}
.recv .recvcall .bub{max-width:90%;padding:8px 11px;border-radius:12px;font-size:14px;line-height:1.4;background:var(--card);color:var(--ink);align-self:flex-start;border-bottom-left-radius:4px;transition:background .2s}
.recv .recvcall .bub.them{background:var(--accent);color:#fff;align-self:flex-end;border-bottom-left-radius:12px;border-bottom-right-radius:4px}
.recv .recvcall mark{background:var(--gold-soft);color:var(--gold-ink);border-radius:4px;padding:0 3px}
.recv .recvtrybtn{width:100%}
.recv .recvtryhint{text-align:center}
.recv details.recvmore{margin-top:10px}
.recv details.recvmore summary,.recv details.recvsteps summary{cursor:pointer}
.recv details.recvmore[open] summary{margin-bottom:6px}
/* Settings → AI receptionist: the sample call and "Try it by typing" as two tabs, and the practice chat's waiting dots */
.recv .recvcallhead[role="tablist"]{justify-content:flex-start;gap:6px}
.recv .recvcall .bub.wait{color:var(--muted);animation:recvWait 1s ease-in-out infinite alternate}
@keyframes recvWait{from{opacity:.4}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.recv .recvcall .bub.wait{animation:none}}
.recv #recvChat{max-height:420px;overflow-y:auto}
.recv code{font-size:13px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:1px 5px;white-space:nowrap}
/* The phone assistant's page (Nov 4 2026, Omar picked look E): the call as a map on top, the settings in a group per
   step, "Try it" beside them. On the project page the card is flat: its groups sit straight on the page. */
.recv.flat{background:none;border:0;box-shadow:none;padding:0}
.recv .recvsets{display:flex;flex-direction:column;gap:16px;min-width:0}
.recv .recvgh{font-size:13px;font-weight:600;color:var(--muted);margin:0 2px 8px}
.recv details.recvrow.flash > summary{background:var(--soft2)}
@media (min-width:861px){.recv.flat .recvgrid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px}.recv.flat .recvtry{position:sticky;top:16px}}
.recv .recvtry .recvcallhead .btn.line{background:#fff}
.recv .recvtrybox{display:flex;flex-direction:column;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px}
.recv .recvtrybox > b{font-size:14px;color:var(--ink)}
.recv .recvtryline{display:flex;gap:8px;align-items:center}
.recv .recvtryline input{flex:1}
.recv .recvtryline .btn{flex:none;min-height:44px;padding:0 18px}
.recv .recvmine{flex:1;font-size:15px;color:var(--ink);font-variant-numeric:tabular-nums}
.recvmap{container-type:inline-size;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px 18px;margin:0 0 6px}
.recvmaphead{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.recvmaphead b{font-size:15px;color:var(--ink)}
.recvflow{display:flex;align-items:center;gap:0}
.recvmain{display:flex;align-items:stretch;flex:5 1 0;min-width:0}
.recvmain > .recvar{align-self:center}
/* Arrows: a line with a full head on every join, the yes and no ones too; their words sit above the line, never on it. */
.recvar{flex:0 0 24px;height:2px;background:#B79DD8;position:relative;align-self:center}
.recvar::after{content:"";position:absolute;right:-1px;top:-5px;border:6px solid transparent;border-left:8px solid #B79DD8;border-right:0}
.recvlanes{flex:2.3 1 0;min-width:0;display:flex;flex-direction:column;gap:12px;position:relative;margin-left:14px}
.recvlanes::before{content:"";position:absolute;left:-14px;top:calc(50% - 1px);width:14px;border-top:2px solid #B79DD8}
.recvlane{display:flex;align-items:stretch;position:relative}
.recvlane::after{content:"";position:absolute;left:0;border-left:2px solid #B79DD8}
.recvlane:first-child::after{top:50%;bottom:-7px}
.recvlane:last-child::after{top:-7px;bottom:50%}
.recvlane .recvnode{flex:1 1 0}
.recvlane > .recvar.in{flex-basis:34px}
.recvyn{position:absolute;left:8px;top:calc(50% - 19px);font-size:11px;font-weight:700;line-height:1;color:var(--muted)}
.recvyn.y{color:var(--ok)}
.recvnode .s{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.recvnode{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;font:inherit;color:var(--ink);background:var(--soft);border:1.5px solid var(--line2);border-radius:12px;padding:10px 8px;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.recvnode:hover{border-color:var(--lav);background:#fff}
.recvnode:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}
.recvnode.on{border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px var(--soft2)}
.recvnode .ic{width:30px;height:30px;border-radius:9px;background:#fff;color:var(--accent);display:grid;place-items:center;font-weight:700;font-size:15px;border:1px solid var(--line2)}
.recvnode .ic svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.recvnode b{font-size:13px;font-weight:600;line-height:1.25}
.recvnode .s{font-size:12px;color:var(--muted);line-height:1.3;overflow-wrap:anywhere}
.recvnode.q .ic{background:var(--accent);color:#fff;border-color:var(--accent);border-radius:50%}
.recvnode.hot .ic{background:var(--ok-soft);color:var(--ok);border-color:#CDE9DA}
.recvnode{position:relative}
.recvnode.ai{background:var(--soft2);border-color:#E3D6F2}
.recvnode.ai:hover{background:#EBE0F7;border-color:var(--lav)}
.recvnode.person{background:#fff;border-color:#B9DEC9;border-style:dashed}
.recvnode.person:hover{background:#fff;border-color:var(--ok)}
.recvnode.person .ic{background:var(--ok-soft);color:var(--ok);border-color:#CDE9DA}
.recvnode.person .tag{background:var(--ok-soft);color:var(--ok)}
.recvnode.on{border-style:solid}
.recvnode .tag{position:absolute;top:6px;right:6px;font-size:10px;font-weight:700;line-height:1;padding:3px 6px;border-radius:6px;background:var(--soft);color:var(--muted);letter-spacing:.02em;max-width:calc(100% - 12px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.recvnode .tag.ai{background:var(--accent);color:#fff}
.recvmapfoot{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap;margin-top:12px}
.recvkey{display:flex;gap:14px;font-size:12px;color:var(--muted)}
.recvkey span{display:inline-flex;align-items:center;gap:6px}
.recvkey i{width:14px;height:14px;border-radius:4px;background:#fff;border:1.5px dashed var(--ok)}
.recvkey i.ai{background:var(--soft2);border:1.5px solid #D8C6EE}
.recvstepinfo{display:flex;gap:12px 18px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:12px;padding:12px 14px;background:var(--soft2);border-radius:12px;animation:recvIn .18s ease-out}
.recvstepinfo b{font-size:14px;color:var(--ink)}
.recvstepinfo p{margin:2px 0 0;font-size:13.5px;color:var(--text);max-width:560px}
.recvgo{display:flex;flex-wrap:wrap;gap:6px}
.recvgo .btn.line{background:#fff}
@media (prefers-reduced-motion:reduce){.recvstepinfo{animation:none}}
/* Narrow (a phone, or a small window): the call runs top to bottom, and the yes and no sides sit next to each other. */
@container (max-width:820px){
  .recvflow,.recvmain{flex-direction:column;align-items:stretch}
  .recvmain .recvnode{flex-direction:row;text-align:left;gap:10px;padding:9px 12px;display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto}
  .recvmain .recvnode .ic{grid-row:1/span 2}
  .recvmain .recvnode{padding-right:56px}
  .recvar{flex:0 0 20px;width:2px;height:auto;align-self:center}
  .recvar::after{right:auto;top:auto;bottom:-1px;left:-5px;border:6px solid transparent;border-top:8px solid #B79DD8;border-bottom:0}
  .recvflow > .recvmain::after{content:"";display:block;width:2px;height:14px;background:#B79DD8;align-self:center}
  .recvlanes{flex-direction:row;margin:0;gap:10px}
  .recvlanes::before{display:none}
  .recvlane::after{display:none}
  /* The line across starts and ends exactly on each down arrow (the lanes' 10px gap is split between them). */
  .recvlane::before{content:"";position:absolute;top:0;height:2px;background:#B79DD8}
  .recvlane:first-child::before{left:calc(50% - 1px);right:-5px}
  .recvlane:last-child::before{left:-5px;right:calc(50% - 1px)}
  .recvlane{flex:1 1 0;flex-direction:column;align-items:stretch;min-width:0}
  .recvlane .recvnode{flex:none}
  .recvlane > .recvar.in{flex-basis:26px}
  .recvyn{left:calc(50% + 8px);top:8px}
}
/* Coming from another app (#from/jobber): what works the same, and the files to download */
ul.ticks{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:6px 18px}
ul.ticks li{position:relative;padding-left:22px;font-size:14px}
ul.ticks li::before{content:"✓";position:absolute;left:0;color:var(--ok);font-weight:700}
ol.steps{margin:0 0 10px;padding-left:20px}
ol.steps li{margin:0 0 8px;font-size:14px;line-height:1.45}

/* ---- forms, the customer's signature and drawing on photos (WORK.md) ---- */
.form-card{margin-bottom:12px}
.flines{display:grid;gap:2px}
.fline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--line2);font-size:14px}
.fline.wide{flex-direction:column;align-items:stretch;gap:6px}
.fline.tick{justify-content:flex-start}
.fline .req{color:var(--warn);font-weight:700}
.fline .yn{display:flex;gap:6px}
.fline .yn label{display:flex;align-items:center;gap:5px;padding:5px 10px;border:1px solid var(--line);border-radius:12px;cursor:pointer;font-size:13.5px}
.fline .yn label:has(input:checked){background:var(--soft2);border-color:var(--lav);color:var(--accent);font-weight:600}
.fline .yn input{margin:0}
.fline .num{display:flex;align-items:center;gap:6px}
.fline .num input{width:96px;text-align:right}
.fline .num small{color:var(--muted)}
.sigpad{margin-top:12px;padding:12px;border-radius:12px;background:var(--soft);border:1px solid var(--line2)}
.sigpad canvas{display:block;width:100%;max-width:600px;aspect-ratio:3/1;background:#fff;border:1px dashed #C9C2D3;border-radius:12px;touch-action:none;cursor:crosshair}
/* A signed waiver on the client page (Oct 2026). */
.sigline{display:block;width:100%;max-width:200px;height:auto;margin-top:8px;color:var(--ink);border-bottom:1px solid var(--line)}
.sig{margin-top:12px;display:flex;flex-direction:column;gap:2px}
.sigsvg{width:240px;height:80px;border-bottom:1px solid var(--ink)}
.sig small{color:var(--muted)}
.pic .marks{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.pic button.draw{top:auto;bottom:4px;right:4px;font-size:13px}
.zoommarked{position:relative;display:inline-block;max-width:100%;max-height:100%}
.zoommarked img{display:block;max-width:calc(100vw / var(--z) - 40px);max-height:calc(100vh / var(--z) - 40px)}
.zoommarked .marks{position:absolute;inset:0;width:100%;height:100%}
.drawer{position:fixed;inset:0;z-index:60;background:rgba(15,10,20,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px}
.drawwrap{position:relative;display:inline-block;max-width:100%}
.drawwrap img{display:block;max-width:calc(100vw / var(--z) - 32px);max-height:calc(100vh / var(--z) - 120px);border-radius:8px;user-select:none;-webkit-user-drag:none}
.drawwrap canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:crosshair}
.drawbar{background:#fff;border-radius:12px;padding:8px 10px}
.swatch{width:28px;height:28px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px var(--line);cursor:pointer}
.opt-card.fe .lrow{grid-template-columns:minmax(0,1fr) 128px 78px auto 34px}
@media (max-width:640px){.opt-card.fe .lrow{grid-template-columns:minmax(0,1fr) 96px 34px}.opt-card.fe .lrow [data-fx=unit],.opt-card.fe .lrow .tick{grid-column:1/-1}}

/* ---- AI drafts the quote (WORK.md) ---- */
.ai-draft{margin:12px 0;border-color:var(--lav)}
.ai-draft textarea{min-height:64px}

/* Your brand (Settings → Your business): a preview of the top of the customer's quote or invoice, logo and colour. */
.brandbox{display:grid;gap:10px;margin-bottom:6px}
.brandprev{display:flex;align-items:center;gap:12px;border-radius:12px;padding:16px 18px;min-height:76px}
.brandprev img{width:46px;height:46px;object-fit:contain;border-radius:12px;background:#fff;padding:3px}
.brandprev .mono{width:46px;height:46px;border-radius:12px;background:rgba(255,255,255,.95);color:#1F1A27;display:grid;place-items:center;font-weight:800;font-size:16px}
.brandprev b{display:block;font-size:16px;color:inherit}
.brandprev small{opacity:.85;font-size:12.5px;color:inherit}
.swatch{width:26px;height:26px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px var(--line,#E3DEEA);cursor:pointer;padding:0}
.swatch.on{box-shadow:0 0 0 2px var(--ink,#1F1A27)}
#sColor{width:34px;height:28px;border:0;padding:0;background:none;cursor:pointer}

/* ---- Appointments (salons, groomers, studios): no-shows, warnings under the time, checkout, people's hours ---- */
/* A no-show reads as one at a glance: struck through, faded, its chip red. It doesn't count as done. */
.job.noshow{opacity:.7}
.job.noshow .grow b,.job.noshow .time{text-decoration:line-through;text-decoration-color:var(--warn)}
.tblock.st-noshow{background:repeating-linear-gradient(135deg,var(--warn-soft) 0 6px,#fff 6px 12px);border-left-color:var(--warn)}
.tblock.st-noshow b{text-decoration:line-through;text-decoration-color:var(--warn)}
.warns{display:flex;flex-direction:column;gap:4px;margin-top:6px}
.warns:empty{display:none}
.warn-line{font-size:13px;color:var(--warn);font-weight:500}
.warn-line::before{content:"! ";font-weight:800}
.banner.stop{margin:4px 0 0;padding:12px 14px 12px 17px}
.banner.stop::before{background:var(--warn)}
.co-due{display:flex;align-items:baseline;justify-content:space-between;padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid var(--line2)}
.co-due b{font-size:24px;color:var(--ink);font-variant-numeric:tabular-nums}
.co .lab{display:block;font-size:12.5px;font-weight:600;margin-bottom:6px}
.co .pick small{font-weight:500;color:var(--muted)}
.co .pick[aria-pressed=true] small{color:inherit}
.co-paid,.co-next{margin-top:14px;font-size:14.5px}
.co-paid b,.co-next b{color:var(--ink)}
.pick.small{padding:5px 11px;font-size:12.5px}
/* The price list's length, gap and rebook boxes: a line under each service (it fits a phone). */
.appt-items .lrow{padding-bottom:6px;border-bottom:1px solid var(--line2)}
.apptf{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:-2px}
.apptf label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}
.lrow .apptf input{width:64px;height:32px;padding:0 6px;text-align:right}
/* On a phone the name gets its own line, then kind, price and cost, then the length line. */
@media (max-width:640px){.appt-items .lrow{grid-template-columns:repeat(3,minmax(0,1fr)) 34px!important}.appt-items .lrow [data-rf=name]{grid-column:1/4;grid-row:1}.appt-items .lrow>.x{grid-column:4;grid-row:1}.appt-items .lhead{display:none}}
details.hours{border:1px solid var(--line2);border-radius:12px;padding:8px 12px;background:var(--soft)}
details.hours>summary{cursor:pointer;font-size:13.5px;font-weight:600;color:var(--ink)}
details.hours>summary small{font-weight:500;color:var(--muted);margin-left:6px}
details.hours[open]>summary{margin-bottom:10px}
.hgrid{display:grid;grid-template-columns:76px minmax(0,130px) minmax(0,130px);gap:6px 8px;align-items:center}
.hgrid input[type=time]{height:36px;padding:0 8px}
.hgrid input[disabled]{opacity:.45}

/* ---- Holding appointments (stage 2b): deposits, the reminder's reply, who cancelled, the no-show or late-cancel fee ---- */
/* The reply to the reminder on the calendar and the day's list: a small green tick, or an amber "New time?". */
.cf{display:inline-flex;align-items:center;font-size:11px;font-weight:700;line-height:1;border-radius:8px;white-space:nowrap}
.cf.ok{color:var(--ok);margin-left:4px}
.cf.move{background:var(--gold-soft);color:var(--gold-ink);border:1px solid #F3E0B3;padding:2px 6px;margin-left:5px}
.row .end .cf{margin-left:0}
.card.hold{margin-top:14px;display:flex;flex-direction:column;gap:10px}
.hold-line{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;font-size:14.5px}
.hold-line b{color:var(--ink)}
.hold-acts{display:flex;flex-wrap:wrap;gap:6px}
.hold-move{position:relative;padding:12px 14px 12px 17px;border-radius:12px;background:var(--gold-soft);font-size:14px;overflow:hidden}
.hold-move::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--gold),var(--gold2))}
.hold-move b{color:var(--gold-ink)}
.hold-fee{padding:12px 14px;border:1px solid #F2D3CF;border-radius:12px;background:var(--warn-soft);font-size:14.5px}
.hold-fee b{color:var(--warn)}
.cancel-who{margin-top:10px}
.co-dep{display:flex;justify-content:space-between;font-size:14px;color:var(--muted);margin-bottom:6px;font-variant-numeric:tabular-nums}
.hold-policy{padding:10px 12px;border-radius:12px;background:var(--soft);border:1px solid var(--line2)}
.hold-policy .lab{display:block;font-size:12.5px;font-weight:600;margin-bottom:4px}
.hold-policy p{margin:0;font-size:14px;color:var(--ink)}
.hold-fee.paid{background:var(--ok-soft);border-color:#CDE9DA}
.hold-fee.paid b{color:var(--ok)}

/* ---- Client cards and pets (stage 2c): the card's facts and photos, allergies in red, pets with vaccine chips, the
   report card ---- */
.pre{white-space:pre-line}
.allergy{color:var(--warn);font-weight:700}
.allergy-tag{display:inline-flex;align-items:center;font-size:10.5px;font-weight:700;color:var(--warn);background:var(--warn-soft);border:1px solid #F2D3CF;border-radius:8px;padding:1px 7px;margin-left:6px;vertical-align:1px;white-space:nowrap}
.card-pics{display:flex;flex-wrap:wrap;gap:10px}
.cpic{margin:0;width:96px;display:flex;flex-direction:column;gap:4px}
.cpic figcaption{font-size:12px;color:var(--muted);line-height:1.3;overflow-wrap:anywhere}
.cpic input{font-size:12.5px;padding:5px 7px}
.bday-pick select{width:auto;flex:1;min-width:0}
.pets{display:flex;flex-direction:column;gap:12px}
.petrow{display:flex;align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line2)}
.petrow:last-child{border-bottom:0;padding-bottom:0}
.petrow .grow{min-width:0;flex:1}
.petface{flex:none;border-radius:50%;object-fit:cover;cursor:zoom-in;background:var(--soft)}
.petface.none{display:inline-grid;place-items:center;cursor:default;background:var(--soft2);color:var(--accent);font-weight:700;font-size:15px}
.vchips{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.vchips .chip{white-space:normal}
.vrows{display:flex;flex-direction:column;gap:6px}
.vrow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,160px) 34px;gap:6px;align-items:center}
.vrow .x{height:34px;border:0;background:none;font-size:20px;color:var(--muted);cursor:pointer}
.jpet+.jpet{margin-top:8px}
.rc{display:flex;flex-direction:column;gap:14px}
.rc-pet{display:flex;gap:12px;align-items:flex-start}
.rc-pet .grow{min-width:0;flex:1}
.rc-prev{margin:6px 0 8px;padding:8px 10px;border-radius:12px;background:var(--soft);border:1px solid var(--line2)}
.rc-sent{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
#cardBox .lab,#petsBox .lab,#jPetsBox .lab{display:block;font-size:13px;font-weight:600;color:var(--ink);margin-bottom:6px}
#cardBox .lab small,#petsBox .lab small{font-weight:400;color:var(--muted)}

/* ---- Memberships, packs and pay (stage 2d): the visit a membership or pack can pay for at checkout, the "Covered by"
   line, the packs a client holds, and commission, tips and rent on the pay period ---- */
.co-credit{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;margin-bottom:12px;border-radius:12px;background:var(--ok-soft);border:1px solid #CDE9DA;font-size:14px;color:var(--ink)}
.co-credit span{min-width:0;flex:1 1 180px}
.co-cover{color:var(--ok)}
.co-cover small{color:var(--muted);font-size:12px}
.packs{margin-top:12px;padding-top:12px;border-top:1px solid var(--line2)}
.packs .lab{font-size:13px;font-weight:600;color:var(--ink);margin:0 0 6px}
.packlist{margin:0 0 10px;padding-left:18px;font-size:14px}
.packlist li{margin-bottom:4px;overflow-wrap:anywhere}
.payline.small{font-size:13px;margin-top:-6px}

/* ---- Classes (stage 2e): a class's spots, its roster with what pays for each person, "Add someone", and a service's
   room on the price list ---- */
.f.capf{flex-direction:row;align-items:center;gap:8px;font-size:14px;color:var(--text)}
.f.capf input{width:84px;flex:none}
.classbox{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.classbox .linkish{align-self:flex-start}
.class-top .spots{margin-bottom:12px;font-size:15px}
.spotbar{height:8px;border-radius:99px;background:var(--line2);margin-top:8px;overflow:hidden}
.spotbar i{display:block;height:100%;border-radius:99px;background:var(--accent2)}
/* Pick-a-spot (Oct 2026): a room drawn as laid out, the front at the top; a class's map shows who's on each spot. */
.rmap{margin:10px 0}
.rfront{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);text-align:center;border-bottom:2px solid var(--line);padding-bottom:5px;margin-bottom:8px}
.rseats{display:flex;flex-wrap:wrap;gap:6px}
.rseats.grid{display:grid}
.rseat{min-width:44px;min-height:44px;border:1.5px solid var(--line);border-radius:10px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4px;font-variant-numeric:tabular-nums;min-width:0}
.rseats:not(.grid) .rseat{width:52px}
.rseat b{font-size:13px;color:var(--ink)}
.rseat small{font-size:11px;color:var(--accent);font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rseat.on{background:var(--soft2);border-color:var(--lav)}
.rseat.off{background:repeating-linear-gradient(45deg,var(--line2) 0 5px,#fff 5px 10px);border-style:dashed}
.rseat.off b{color:var(--faint)}
.roomset{border-bottom:1px solid var(--line2);padding-bottom:12px;margin-bottom:12px}
.roomcard{margin-bottom:12px}
.meta .placepick,.placepick{display:inline-block;width:auto;min-width:0;min-height:0;height:auto;font:inherit;font-size:12.5px;font-weight:600;border:1px solid var(--line);border-radius:8px;padding:1px 6px;margin:0 2px 0 0;background:#fff;color:var(--ink);vertical-align:baseline}
.capbar{margin-top:12px;padding-top:12px;border-top:1px solid var(--line2)}
.classlink{margin-top:10px;flex-wrap:wrap;overflow-wrap:anywhere}
.roster{display:flex;flex-direction:column;gap:0;padding-top:6px;padding-bottom:6px}
/* A class someone asked to have covered (Oct 2026). */
.subcard{border-left:3px solid var(--gold)}
.subask{margin:4px 0 10px}
.subask summary{list-style:none;display:inline}
.rrow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:10px 0;border-top:1px solid var(--line2)}
.rrow:first-child,.addperson+.rrow{border-top:0}
.rrow .grow{flex:1 1 200px;min-width:0}
.rrow .grow b{font-weight:600}
.rrow .meta{color:var(--muted);font-size:13px;margin-top:2px}
/* A class fee to charge (late cancel, no-show): the fee, then Charge / Text a bill / Waive. */
.rrow .cfee{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:8px;padding:8px 10px;border-radius:8px;background:var(--gold-soft)}
.rrow .cfee b{font-weight:600;font-size:13.5px}
.racts{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.addperson{padding:6px 0 12px;border-bottom:1px solid var(--line2);margin-bottom:2px}
.addperson .tick{margin-top:8px}
.gone{margin-top:12px}
.gone summary{cursor:pointer;font-weight:600;color:var(--ink)}
.gone .rrow{opacity:.7}
/* ClassPass and Wellhub (side doors): the line under the spots, "+ ClassPass booking" and its box, and Settings' cards */
.doorline{margin-top:8px}
.dooropen{padding:8px 0;border-bottom:1px solid var(--line2)}
.doorhint{margin:8px 0;padding-bottom:8px;border-bottom:1px solid var(--line2)}
.doorbox{padding:12px;margin:8px 0 10px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.doorwarn{margin:0;padding:8px 10px;border-radius:8px;background:var(--warn-soft);color:var(--warn)}
.card.door+.card.door{margin-top:12px}
.dooropen+.rrow,.doorbox+.rrow,.doorhint+.rrow{border-top:0}
.cpbusy{display:flex;flex-direction:column;gap:8px}
.cpbusy .bar{flex-wrap:nowrap}
.cpbusy input{flex:1;min-width:0}
.cpwho{flex:0 0 110px;font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cppeople{margin-top:10px}
.cppeople summary{cursor:pointer;color:var(--accent)}

/* ---- Languages (stage 2f): "Texts in Español / Tiếng Việt" on a client, and the receptionist's language switch ---- */
.chip.lang{background:var(--info-soft);color:var(--info);border-color:#D3E2F4}
.facts dd .tick{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:14px}
.facts dd .tick + .small{display:block}

/* ---- Orders (stage 3a): Settings → Orders, sold out on the menu, the order form's pickup days, a day's orders with
   the bake list, Home's pickup days, and the bake list and tickets to print ---- */
.lab-s{display:block;font-size:12.5px;font-weight:600;margin-bottom:6px}
.odays{display:grid;gap:8px}
.oday{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}
.oday .tick{min-width:118px;align-items:center}
.otimes{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.otimes input{width:auto;min-width:0;max-width:130px}
.otimes input:disabled{opacity:.45}
.lrow .apptf input[type=checkbox]{width:20px;height:20px;padding:0}
.apptf .tick.sold{font-size:12px;color:var(--ink);align-items:center;gap:6px}
.odpick .pick small{font-weight:500;color:var(--muted)}
.odpick .pick.shut{color:var(--muted);background:var(--soft)}
.odpick .pick[aria-pressed=true] small{color:inherit}
.way{display:contents}
.oday-sum p{margin:12px 2px 2px}
.oday-sum p.oday-week{margin:2px 2px 4px;color:var(--text)}.oday-sum p.oday-week a{margin-left:6px;white-space:nowrap}
.card.bake{margin-top:12px}
/* The bake sheet (bakeSheetHtml): items grouped, what to make in real units, a column per pickup spot, what's left */
.bake-head h2 .bs-eye{display:block;font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);font-weight:700;margin-bottom:2px}
.bs-opts{display:flex;flex-wrap:wrap;gap:6px 14px;margin:2px 0 8px}
.bs-opts .picks{display:flex;flex-wrap:wrap;gap:4px}
.bsheet{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.bsheet th,.bsheet td{padding:5px 8px;border-bottom:1px solid var(--line2);text-align:left;vertical-align:top}
.bsheet thead th{font-size:12px;color:var(--muted);font-weight:600;white-space:nowrap}
.bsheet .n{text-align:right;white-space:nowrap}
.bsheet td small,.bsheet th small{display:block;font-size:12px;color:var(--muted);font-weight:500}
.bsheet .bs-g th{padding-top:12px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);border-bottom:1px solid var(--line)}
.bsheet .bs-g th small{display:inline;text-transform:none;letter-spacing:0;margin-left:6px}
.bsheet .bs-make b{color:var(--ink)}
/* Oct 28 2026 (Omar): each row's name, its numbers and its prepped box on one line, and no line under the last row
   (the card's edge is its end). */
.bsheet tbody td{vertical-align:middle;padding-top:8px;padding-bottom:8px}
.bsheet tbody tr:last-child td{border-bottom:0}
.bsheet .bs-out{color:var(--warn);font-weight:700}
.bsheet.bs-print{background:var(--card);font-size:13.5px}
/* On a phone-sized screen the spot columns become a chip under each item ("SK Lyndale 37"), so nothing scrolls sideways. */
.bsheet .bs-chips{display:none}
.bsheet .bs-leftm{display:none}
@media (max-width:640px){.bsheet .bs-sp,.bsheet .bs-left{display:none}.bsheet .bs-leftm{display:block}.bsheet .bs-chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.bsheet .bs-chips .chip{font-size:11.5px}}
.bsheet.bs-print td:first-child{min-width:150px}
.bake-head{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;margin-bottom:6px}
.bake-head h2{margin:0}
.bs-opts .bs-item select{min-height:32px;padding:4px 28px 4px 10px;border:1px solid var(--line);border-radius:8px;background:var(--card);font:inherit;font-size:13.5px;color:var(--ink);max-width:220px}
.bake .spot-chips{margin:0 0 8px}
/* Prep tracking: the progress bar, each row's box and tick */
.bs-prog{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin:2px 0 10px}
.bs-bar{flex:1 1 180px;height:8px;border-radius:99px;background:var(--line2);overflow:hidden}
.bs-bar span{display:block;height:100%;border-radius:99px;background:var(--accent);transition:width .25s}
.bs-prog.bs-all .bs-bar span{background:var(--ok,#1f8a4c)}
.bs-prog .bar{margin-left:auto}
.bs-ask{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;margin:0 0 10px}
.bsheet .bs-prepc{text-align:center;white-space:nowrap;width:1%}
.bsheet .bs-prepw{display:inline-flex;align-items:center;gap:6px;vertical-align:middle}
.bsheet .bs-pill{display:inline-flex;align-items:center;height:34px;padding:0 10px 0 2px;border:1px solid var(--line);border-radius:10px;background:var(--card);cursor:text;transition:border-color .15s,box-shadow .15s,background .15s}
.bsheet .bs-pill:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--soft2)}
.bsheet .bs-prep{width:42px;height:32px;padding:0;border:0;background:transparent;font:inherit;font-size:14.5px;font-weight:700;text-align:center;font-variant-numeric:tabular-nums;color:var(--ink);outline:none;-moz-appearance:textfield;appearance:textfield}
.bsheet .bs-prep::-webkit-inner-spin-button,.bsheet .bs-prep::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.bsheet .bs-prep::placeholder{color:var(--faint);font-weight:500}
.bsheet .bs-of{min-width:34px;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:left}
.bsheet .bs-fill,.bsheet .bs-tick{width:34px;height:34px;display:inline-grid;place-items:center;border-radius:10px;font-size:15px;line-height:1}
.bsheet .bs-fill{border:1px solid var(--line);background:var(--card);color:var(--faint);cursor:pointer;transition:color .15s,border-color .15s}
.bsheet .bs-fill:hover,.bsheet .bs-fill:focus-visible{color:var(--accent);border-color:var(--accent)}
.bsheet .bs-tick{color:var(--ok);font-weight:800}
.bsheet tr.bs-done .bs-pill{background:var(--ok-soft);border-color:transparent}
.bsheet tr.bs-done .bs-prep{color:var(--ok)}
.bsheet tr.bs-done td b{color:var(--muted)}
.bsheet tr.bs-done td:first-child b{text-decoration:line-through;text-decoration-thickness:1.5px}
@media print{.bs-prog,.bs-ask,.bs-opts{display:none}}
@media (max-width:640px){.bsheet .bs-of{display:none}.bsheet .bs-pill{padding:0}.bsheet .bs-prep{width:46px}.bsheet .bs-prepw{flex-direction:column;gap:4px}.bsheet .bs-fill,.bsheet .bs-tick{width:48px;height:30px}.bsheet th,.bsheet td{padding:5px 5px}}
.bakelist{list-style:none;margin:0;padding:0}
.bakelist li{display:flex;align-items:center;gap:6px 12px;padding:8px 0;border-bottom:1px solid var(--line2);flex-wrap:wrap}
.bakelist li:last-child{border-bottom:0}
.bakelist .bq{flex:none;min-width:38px;height:32px;padding:0 6px;border-radius:8px;background:var(--soft2);color:var(--accent);font-weight:800;font-size:15px;display:inline-flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums}
.bakelist .bn{flex:1;min-width:0}
.bakelist .bn b{display:inline}
.row.order{cursor:default;align-items:flex-start}
.row.order a{color:inherit;text-decoration:none}
.row.order a.grow{display:block}
.row.order b .num{color:var(--muted);font-weight:500;font-size:12.5px}
.row.order .meta{white-space:normal}
.row.order .end{flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:46%}
@media (max-width:620px){.row.order{flex-wrap:wrap}.row.order .end{max-width:none;width:100%;justify-content:flex-start;padding-left:76px}}
.pdays{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
.pday{display:flex;flex-direction:column;gap:4px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px 14px;text-decoration:none;color:inherit;box-shadow:var(--shadow);min-width:0}
.pday:hover{border-color:#D6CDE2}
.pday.shut{background:var(--soft)}
.pd-day small{display:block;color:var(--muted);font-size:12.5px;font-weight:500}
.pd-n{font-size:13.5px}
.pd-top{font-size:12.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pv-table{width:100%;border-collapse:collapse;background:var(--card)}
.pv-table th,.pv-table td{text-align:left;padding:8px 6px;border-bottom:1px solid var(--line);font-size:14px}
.pv-table .n{text-align:right;width:90px}
.pv-box{display:inline-block;width:16px;height:16px;border:1.5px solid var(--ink);border-radius:3px;vertical-align:middle}
.pv-sub{color:var(--muted);margin:2px 0 12px;font-size:13.5px}
.pv-bake h1{font-size:22px;margin:0}
.pv-watch{margin:0;padding-left:18px;color:var(--warn)}
.pv-tickets{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));margin-top:18px}
.ticket{background:var(--card);border:1.5px dashed #CFC7DA;border-radius:12px;padding:14px 16px;min-width:0}
.ticket h2{margin:6px 0 2px;font-size:18px}
.ticket p{margin:6px 0;font-size:13.5px}
.tk-top{display:flex;align-items:baseline;gap:6px;font-size:12.5px;color:var(--muted)}
.tk-n{font-size:22px;color:var(--ink)}
.tk-num{margin-left:auto}
.tk-items{margin:8px 0;padding-left:18px;font-size:14px}
.tk-allergy{color:var(--warn);font-weight:700}
.tk-card{font-style:italic}
.tk-notes{color:var(--muted);white-space:pre-line}
.tk-paid{font-weight:700}
@media print{
  .miss,.noprint,.demo-note{display:none!important}
  body,body.demo .main{background:#fff;padding-top:0}
  .pv-break{break-before:page}
  .ticket{break-inside:avoid;border-color:#999}
  .pv-tickets{grid-template-columns:1fr 1fr}
}

/* ---- Home Kitchen orders and custom order requests (stage 3b): Settings → Orders' Home Kitchen page and request
   page link, the "Home Kitchen" tag on its orders, and a request's pictures on its quote and order ---- */
.chip.hk{background:#fff;color:var(--gold-ink);border-color:var(--gold)}
.card.hk,.card.reqlink{margin-top:12px}
.hk-title{margin:0 0 8px;font-size:15px}
.hk-connect{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.hk-connect .f{flex:1 1 220px;min-width:0;margin:0}
/* The order page made in Work, and what you sell on it (Nov 3 2026). Lines go between rows, never on the box's edge. */
.hk-have{margin-top:14px}
.hk-have summary{cursor:pointer;font-size:14px;color:var(--text)}
.hk-items{margin:0 0 10px}
.hk-item{display:flex;align-items:center;gap:10px;padding:10px 0}
.hk-item + .hk-item, .hk-item + .hk-item-ed, .hk-item-ed + .hk-item{border-top:1px solid var(--line2)}
.hk-item img{width:44px;height:44px;border-radius:8px;object-fit:cover;flex:none;background:var(--soft)}
.hk-item .grow{min-width:0}
.hk-item small{display:block;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hk-item-acts{display:flex;gap:4px;flex:none;flex-wrap:wrap;justify-content:flex-end}
.hk-item-ed{padding:10px 0}
@media (max-width:560px){.hk-item{flex-wrap:wrap}.hk-item-acts{width:100%;justify-content:flex-start}}
.linkrow{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;min-width:0}
.linkrow a{min-width:0;overflow-wrap:anywhere;font-weight:600}
.card.req{margin-bottom:12px;border-left:3px solid var(--gold)}
.req-pics .pic{width:120px;height:120px}
dd .req-pics{margin-top:2px}

/* ---- Labels and delivery runs (stage 3c): a menu item's label (what's in it, allergens, net weight), Settings →
   Orders → Labels, the allergy warning, the labels page to print (3 a row, 2 on a narrow screen), and the day's
   deliveries with Delivered ---- */
.lbl{grid-column:1/-1;margin:2px 0 4px;font-size:13px}
.lbl summary{cursor:pointer;color:var(--ink);font-weight:600;padding:4px 0;list-style-position:inside;overflow-wrap:anywhere}
.lbl summary .muted{font-weight:500;margin-left:4px}
.lblf{display:grid;gap:10px;padding:8px 0 4px}
.lblf textarea{min-height:58px}
.lrow .lblf input[type=text]{height:40px;max-width:220px}
.alticks{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:4px 12px}
.alticks .tick{font-size:13.5px;align-items:center;gap:8px}
.lrow .alticks input[type=checkbox]{width:20px;height:20px;padding:0;flex:none}
.card.lblset{margin-top:12px}
.card.lblset .f{margin-bottom:0}
.card.lblset .bar{margin-top:10px}
.alclash{display:inline-block;margin-top:4px;padding:3px 9px;border-radius:8px;background:var(--warn-soft);border:1px solid #F2D3CF;color:var(--warn);font-weight:700;font-size:13px;line-height:1.4}
.alclash::before{content:"! ";font-weight:800}
#jClashAl:empty{display:none}
.pv-labels .labels{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:620px){.pv-labels .labels{grid-template-columns:repeat(2,minmax(0,1fr))}}
.label{background:var(--card);border:1.5px solid var(--ink);border-radius:8px;padding:10px 12px;min-width:0;overflow-wrap:anywhere}
.label h2{margin:0 0 4px;font-size:19px;line-height:1.2}
.label p{margin:3px 0;font-size:11.5px;line-height:1.35;color:var(--ink)}
.label .lb-contains{font-weight:800}
.label .lb-st{font-style:italic}
.label .lb-biz{color:var(--muted)}
.card.runs{margin-top:12px}
.runlist{list-style:none;margin:0;padding:0}
.drow{display:flex;align-items:flex-start;gap:6px 12px;padding:10px 0;border-bottom:1px solid var(--line2);flex-wrap:wrap}
.drow:last-child{border-bottom:0}
.drow.done{opacity:.75}
.dtime{flex:none;width:64px;font-weight:700;color:var(--ink)}
.dmain{flex:1 1 200px;min-width:0;overflow-wrap:anywhere}
.dmain .meta{font-size:13px;color:var(--text);margin-top:2px}
.dmain .meta.muted{color:var(--muted)}
.dend{flex:none;margin-left:auto;display:flex;align-items:center}
.dk{font-size:13px;font-weight:600;color:var(--ok)}
@media (max-width:620px){.dend{width:100%;padding-left:76px}}
@media print{
  .pv-labels .labels{grid-template-columns:repeat(3,1fr);gap:6px}
  .label{break-inside:avoid;border-color:#000}
}

/* ---- the Sell tab (stage 4a; work.js "the Sell tab"): tiles by group, the sale as a dark bar on a phone and a panel
   on the right on a computer, sheets for packs, options and any amount, and the pay screen in Square's layout with
   the customer's tip screen in deep purple. ---- */
.till{padding-bottom:76px}
.t-head{margin-bottom:10px;flex-wrap:nowrap}
.t-head .acts{flex:none}
.t-dot{display:inline-block;width:8px;height:8px;border-radius:99px;background:var(--ok);margin-right:7px;vertical-align:1px}
.t-count{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent);color:#fff;font:700 11px/1 var(--sans);font-variant-numeric:tabular-nums;vertical-align:middle}
.t-find{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;margin-bottom:12px}
.t-grps{flex:1 1 auto}
.t-q{flex:1 1 180px;max-width:280px}
.t-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media (min-width:560px){.t-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1180px){.t-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}
.t-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:74px;padding:10px 12px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);cursor:pointer;color:var(--text)}
.t-tile:hover{border-color:var(--box-hover)}
.t-tile:active{transform:translateY(1px)}
.t-tile b{font-size:14px;line-height:1.25;padding-right:22px}
.t-price{font-size:13px;color:var(--text)}
.t-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:auto;padding-top:4px}
.t-tag{font-size:10.5px;font-weight:600;padding:0 6px;line-height:17px;border-radius:8px;background:var(--soft2);color:var(--accent)}
.t-tag.out{background:var(--soft);color:var(--muted)}
.t-tile.out{background:var(--soft);box-shadow:none;color:var(--faint)}
.t-tile.out b,.t-tile.out .t-price{color:var(--faint)}
.t-tile.any{border-style:dashed;box-shadow:none;background:transparent}
.t-n{position:absolute;top:8px;right:8px;min-width:22px;height:22px;padding:0 6px;border-radius:99px;background:var(--accent);color:#fff;font-size:12px;font-weight:700;font-style:normal;line-height:22px;text-align:center}
.t-none{grid-column:1/-1;margin:4px 0}
/* counter orders */
.t-orders{margin-bottom:14px;padding:12px 14px}
.t-orders h2{margin:0 0 6px}
.t-order{display:flex;align-items:center;gap:12px;padding:9px 0;border-top:1px solid var(--line2)}
.t-order .grow{flex:1;min-width:0}
.t-order .meta{font-size:13px;color:var(--text)}
.t-order .meta.muted{color:var(--muted);font-size:12px}
.t-note{color:var(--gold-ink)!important}
.t-onum{flex:none;width:44px;height:44px;border-radius:12px;background:var(--soft2);color:var(--accent);font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center}
/* the sale */
.t-basket{display:none}
.t-bhead{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.t-bhead h2{margin:0;flex:1}
.t-bclose{border:0;background:none;font-size:24px;line-height:1;width:36px;height:36px;border-radius:8px;cursor:pointer;color:var(--muted)}
.t-empty{margin:18px 0;text-align:center}
.t-lines{display:flex;flex-direction:column}
.t-line{display:flex;align-items:flex-start;gap:10px;width:100%;padding:9px 2px;border:0;border-bottom:1px solid var(--line2);background:none;text-align:left;cursor:pointer;font-size:14px;color:var(--text)}
.t-line:disabled{cursor:default;opacity:1}
.t-line .grow{flex:1;min-width:0}
.t-line b{font-weight:600}
.t-line small{display:block;font-size:12px;color:var(--muted)}
.t-line small.t-comp{color:var(--ok)}
.t-line .n{white-space:nowrap;font-weight:600;color:var(--ink)}
.t-line s{color:var(--faint);font-weight:500}
.t-discb{margin-top:6px;align-self:flex-start}
.t-tot{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin:10px 0 12px;font-size:14px}
.t-tot dt{margin:0;color:var(--text)}
.t-tot dd{margin:0;text-align:right}
.t-tot .t-off{color:var(--ok)}
.t-tot .t-total{font-size:17px;font-weight:800;color:var(--ink);padding-top:4px}
.t-link{border:0;background:none;padding:0;font:inherit;color:inherit;text-decoration:underline;text-decoration-color:var(--lav);text-underline-offset:3px;cursor:pointer}
.t-here{margin-bottom:12px}
.t-cust{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;margin-bottom:10px;font-size:14px}
.t-cust .grow{flex:1;min-width:0}
.t-cust .x{border:0;background:none;font-size:20px;line-height:1;cursor:pointer;color:var(--muted);width:30px;height:30px;border-radius:8px}
.t-custq{margin-bottom:6px}
.t-matches{display:flex;flex-direction:column;gap:4px;margin-bottom:10px}
.t-match{text-align:left;border:1px solid var(--line2);background:var(--soft);border-radius:8px;padding:8px 10px;cursor:pointer;font-size:13.5px}
.t-match:hover{border-color:var(--lav)}
.t-nm{margin-bottom:12px}
.t-bbtns{display:flex;gap:8px;flex-wrap:wrap}
.t-wide{flex:1 1 100%;width:100%;min-height:50px;font-size:15.5px}
/* the phone's dark bar, above the tab bar */
.t-bar{position:fixed;left:8px;right:8px;bottom:calc(var(--tab) + 8px + env(safe-area-inset-bottom,0px));z-index:18;display:flex;align-items:center;gap:10px;padding:8px 8px 8px 14px;background:var(--deep);color:#fff;border-radius:18px;box-shadow:0 10px 30px -10px rgba(46,21,70,.6)}
.t-barsum{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;border:0;background:none;color:#fff;text-align:left;padding:0;cursor:pointer}
.t-barsum b{color:#fff;font-size:14px}
.t-barsum span{font-size:12px;color:#D9CBEA;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.t-bartot{font-size:18px;font-weight:800;white-space:nowrap}
.t-charge{background:var(--gold);color:var(--deep);min-height:44px;padding:8px 16px;font-weight:700}
.t-charge:hover{background:#F1C15A}
/* on a phone, the sale opens over everything */
.till.open .t-basket{display:block;position:fixed;inset:0;z-index:31;background:#fff;overflow:auto;padding:14px 16px calc(24px + env(safe-area-inset-bottom,0px))}
.till.open .t-bar{display:none}
@media (min-width:900px){
  .till{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start;padding-bottom:0}
  .t-basket,.till.open .t-basket{display:flex;flex-direction:column;position:sticky;inset:auto;top:16px;z-index:auto;max-height:calc(100vh / var(--z) - 32px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:16px}
  body.demo .t-basket{top:44px;max-height:calc(100vh / var(--z) - 60px)}
  .t-bar,.t-bclose{display:none!important}
}
/* sheets: from the bottom on a phone, in the middle on a computer */
.t-dim{position:fixed;inset:0;z-index:40;background:rgba(26,18,37,.38)}
.t-sheet{position:fixed;left:0;right:0;bottom:0;z-index:41;max-height:90vh;overflow:auto;background:#fff;border-radius:18px 18px 0 0;padding:16px 16px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:var(--shadow-hi)}
@media (min-width:900px){.t-sheet{left:50%;right:auto;bottom:auto;top:50%;transform:translate(-50%,-50%);width:460px;max-height:86vh;border-radius:18px;padding:18px 20px}}
.t-shh{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.t-shh h3{margin:0;flex:1;font-size:18px;line-height:1.25}
.t-shh h3 small{font-size:13px;color:var(--muted);font-weight:500}
.t-shh .x{border:0;background:none;font-size:24px;line-height:1;width:36px;height:36px;border-radius:8px;cursor:pointer;color:var(--muted)}
.t-shp{font-size:16px}
.t-shf{display:flex;gap:8px;margin-top:16px}
.t-shf .grow{flex:1}
.t-need{background:var(--muted)!important;box-shadow:none!important}
.t-packs{display:flex;flex-direction:column;gap:8px}
.t-pack{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;font-size:15px;font-weight:600;color:var(--ink)}
.t-pack small{color:var(--muted);font-weight:500;margin-left:4px}
.t-pack:hover{border-color:var(--lav);background:var(--soft)}
.t-og{margin-bottom:12px}
.t-og p{margin:0 0 6px;font-size:14px}
.t-og .pick small{font-weight:500;color:var(--muted)}
.t-og .pick[aria-pressed=true] small{color:inherit}
.t-amt{width:100%;text-align:center;font-size:34px!important;font-weight:800;height:62px!important;color:var(--ink);margin-bottom:10px}
.t-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.t-key{min-height:52px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:20px;font-weight:600;cursor:pointer;color:var(--ink)}
.t-key:hover{background:var(--soft)}
.t-qty{display:flex;align-items:center;justify-content:center;gap:22px;margin:4px 0 14px}
.t-qty .t-key{width:56px}
.t-qty b{font-size:26px;min-width:36px;text-align:center}
.t-saved{display:flex;flex-direction:column}
.t-srow{display:flex;gap:10px;align-items:center;padding:10px 0;border-top:1px solid var(--line2)}
.t-sopen{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:0;background:none;text-align:left;padding:0;cursor:pointer;color:var(--text)}
.t-sopen .meta{font-size:12.5px;color:var(--text);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.t-sopen .meta.muted{color:var(--muted)}
.t-send{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
/* the pay screen */
.t-full{position:fixed;inset:0;z-index:50;background:var(--bg);overflow:auto}
.t-paybox{max-width:480px;margin:0 auto;padding:14px 16px calc(28px + env(safe-area-inset-bottom,0px))}
@media (min-width:900px){.t-paybox{padding-top:40px}}
.t-ptop{display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:8px;font-size:13.5px;color:var(--muted);text-align:center}
.t-ptop .x{border:0;background:none;font-size:26px;line-height:1;width:40px;height:40px;border-radius:12px;cursor:pointer;color:var(--ink)}
.t-ptop .x:hover{background:var(--soft2)}
.t-big{text-align:center;font-size:46px;font-weight:800;letter-spacing:-.02em;color:var(--ink);margin:22px 0 4px;line-height:1.1}
.t-psub{text-align:center;color:var(--muted);margin:0 0 6px;font-size:14px}
.t-tapnote{text-align:center;color:var(--faint);font-size:12.5px;margin:6px 0 16px}
.t-ways{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}
.t-way{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:16px 18px;border:0;border-bottom:1px solid var(--line2);background:#fff;text-align:left;cursor:pointer;color:var(--text);font-size:15.5px}
.t-way:last-child{border-bottom:0}
.t-way:hover{background:var(--soft)}
.t-way small{font-size:12.5px;color:var(--muted)}
.t-way:first-child{background:var(--ink);color:#fff}
.t-way:first-child b{color:#fff}
.t-way:first-child small{color:#CFC6DA}
.t-way:first-child:hover{background:#2C2138}
.t-pfoot{display:flex;justify-content:center;gap:8px;margin-top:16px}
.t-lab{font-size:13px;font-weight:600;color:var(--ink);margin:16px 0 8px}
.t-cash{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
.t-cashb{min-height:54px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:16px;font-weight:700;color:var(--ink);cursor:pointer}
.t-cashb:first-child{grid-column:1/-1}
.t-cashb:hover{border-color:var(--lav);background:var(--soft)}
.t-change{min-height:22px;text-align:center;font-size:16px;margin:10px 0}
.t-change b{font-size:20px}
.t-labels{margin-top:8px}
.t-qrbox{display:flex;justify-content:center;margin:14px 0 6px}
.t-qr{width:min(70vw,280px);height:auto;border-radius:12px;border:1px solid var(--line);box-shadow:var(--shadow);background:#fff}
.t-wait{display:flex;align-items:center;justify-content:center;gap:8px;font-weight:600;color:var(--ink);margin:10px 0 4px}
.t-spin{width:14px;height:14px;border-radius:99px;border:2px solid var(--lav);border-top-color:var(--accent);animation:tspin 1s linear infinite}
@keyframes tspin{to{transform:rotate(360deg)}}
.btn .t-spin{display:inline-block;vertical-align:-2px;margin-right:7px;border-color:currentColor;border-top-color:transparent}
.btn[data-busy]{opacity:1;cursor:progress}
.t-check{width:68px;height:68px;margin:26px auto 0;border-radius:99px;background:var(--ok-soft);color:var(--ok);font-size:32px;font-weight:700;display:flex;align-items:center;justify-content:center}
.t-changebig{text-align:center;font-size:18px;margin:8px 0}
.t-changebig b{font-size:24px}
.t-rows{display:flex;flex-direction:column;margin:18px 0 16px;border-top:1px solid var(--line2)}
.t-row{display:block;width:100%;padding:13px 2px;margin:0;border:0;border-bottom:1px solid var(--line2);background:none;text-align:left;font-size:15px;color:var(--ink);cursor:pointer}
p.t-row{cursor:default;color:var(--ok);font-weight:600}
.t-rcpt{display:flex;align-items:flex-end;gap:8px;cursor:default}
.t-rcpt .f{flex:1}
/* the customer's side: deep purple, three big tips */
.t-full.t-tipscr{background:var(--deep);color:#fff}
.t-tipscr .t-paybox{min-height:100%;display:flex;flex-direction:column;justify-content:center;padding-bottom:12vh}
.t-tipscr .t-big,.t-tipscr b{color:#fff}
.t-biz{text-align:center;color:#D9CBEA;margin:30px 0 0;font-size:14px}
.t-ask{text-align:center;font-weight:700;font-size:17px;margin:18px 0 12px}
.t-tips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:10px}
.t-tips.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.t-tipb{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:64px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font-size:15px;font-weight:700;cursor:pointer}
.t-tipb small{font-size:12px;font-weight:500;color:#D9CBEA}
.t-tipb:hover{background:var(--gold);border-color:var(--gold);color:var(--deep)}
.t-tipb:hover b,.t-tipb:hover small{color:var(--deep)}
.t-tipother{display:flex;gap:8px;margin-bottom:10px}
.t-tipother input{flex:1;height:56px!important;font-size:20px!important;text-align:center}
.t-tipother .t-tipb{min-height:56px;padding:0 18px}
.t-hand{text-align:center;color:#B7A6CC;font-size:13px;margin-top:22px}
.t-hand .t-link{color:#fff}
/* Settings → Selling at the counter, and the price list's counter part */
.t-tipset{display:grid;grid-template-columns:repeat(3,minmax(0,110px));gap:8px;margin-top:8px}
.t-ed .lblf>div{display:flex;flex-direction:column;gap:6px}
.t-edrow{flex-direction:row!important;flex-wrap:wrap;align-items:flex-end;gap:10px 16px!important}
.t-pk,.t-ch,.t-ogh{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.t-pk label,.t-ch label,.t-ogh label{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted)}
.lrow .t-pk input[type=text],.lrow .t-ch input[type=text],.lrow .t-ogh input[type=text]{height:36px;max-width:170px}
.lrow .t-pk input[type=text][inputmode=decimal],.lrow .t-ch input[type=text][inputmode=decimal]{width:74px;text-align:right}
.lrow .t-pk input[type=number],.lrow .t-ogh input[type=number]{width:60px;height:36px;padding:0 6px;text-align:right}
.lrow .t-ogh select{height:36px;width:auto}
.t-oged{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid var(--line2);border-radius:12px;background:var(--soft)}
.t-ch{padding-left:12px}
.lrow .t-ed input[type=checkbox]{width:18px;height:18px;padding:0}
.t-ed .x{border:0;background:none;color:var(--muted);font-size:18px;cursor:pointer;width:30px;height:30px;border-radius:8px}
.t-ed .btn.ghost{align-self:flex-start;padding-left:0}
/* ---- the day at the counter (stage 4b; work.js "the day at the counter"): open the day, the drawer, the count at
   close with over or short, and the day's report ---- */
.t-dot.off{background:var(--faint)}
.head .sub.t-so{margin-top:0}
.t-dayb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-2px 0 12px}
.t-dayb.t-daynew{gap:10px 14px;padding:12px 14px;border-color:var(--lav);background:var(--soft)}
.t-daynew .grow{flex:1 1 220px;min-width:0}
.t-daynew .grow b{display:block;font-size:15px;color:var(--ink)}
.t-daynew .meta{font-size:13px;color:var(--text)}
.t-daybtns{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.t-h4{font-size:13px;margin:18px 0 4px;color:var(--ink)}
.t-mvs{display:flex;flex-direction:column}
.t-mv{display:flex;align-items:flex-start;gap:10px;padding:8px 0;border-top:1px solid var(--line2);font-size:14px}
.t-mv .grow{flex:1;min-width:0}
.t-mv small{display:block;font-size:12px;color:var(--muted)}
.t-mv .n{white-space:nowrap;font-variant-numeric:tabular-nums}
.t-neg{color:var(--warn)}
.t-should{font-size:14px;margin:12px 0 0;color:var(--text)}
.t-dens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}
.t-den{display:grid;grid-template-columns:72px minmax(0,1fr) 70px;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--ink)}
.t-den input{height:40px!important;text-align:center;padding:0 6px!important;min-width:0}
.t-den small{text-align:right;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
@media (max-width:420px){.t-dens{grid-template-columns:1fr}}
.t-counted{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:16px;margin:14px 0 0}
.t-counted b{font-size:22px;color:var(--ink);font-variant-numeric:tabular-nums}
.t-counted span{font-size:14px;font-weight:600}
.t-ok{color:var(--ok)!important}
.t-ok b,.t-short b,.t-over b{color:inherit}
.t-short{color:var(--warn)!important}
.t-over{color:var(--info)!important}
.t-overbig{text-align:center;font-size:30px;font-weight:800;letter-spacing:-.02em;margin:6px 0 12px;color:var(--ink)}
.t-fees{margin-top:6px}
/* the day's report: a page of its own over the till */
.t-repbox{max-width:980px;margin:0 auto;padding:14px 16px calc(28px + env(safe-area-inset-bottom,0px))}
@media (min-width:900px){.t-repbox{padding:28px 28px 40px}}
.t-rep .t-big{margin-top:16px}
.t-lw span{font-weight:700}
.t-rtiles{margin:16px 0 4px;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px}
.t-rtiles .tile{padding:10px 12px}
.t-rtiles .tile b{font-size:19px}
/* two columns on a computer, each card under the last (no gaps where one card is shorter than its neighbor) */
.t-rgrid{margin-top:12px}
@media (min-width:760px){.t-rgrid{columns:2;column-gap:12px}}
.t-rgrid .card{margin:0 0 12px;padding:14px 16px;break-inside:avoid}
.t-rgrid h2{margin:0 0 8px}
.t-rgrid .t-tot{margin:0}
.t-rgrid .t-mvs{margin-top:10px}
.t-hrs{display:flex;flex-direction:column;gap:6px}
.t-hr{display:grid;grid-template-columns:52px minmax(0,1fr) 64px;align-items:center;gap:8px;font-size:13px}
.t-hr span{color:var(--muted)}
.t-hr i{display:block;height:14px;border-radius:99px;background:var(--soft2);overflow:hidden}
.t-hr em{display:block;height:100%;border-radius:8px;background:var(--accent)}
.t-hr b{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.t-made{border-color:var(--lav)}
/* ---- stock and selling with no signal (stage 4c; work.js "stock and selling with no signal"): tiles' counts, the
   sale's "only 5 left", the Stock list with its changes, Home's "Running low" and the no signal note ---- */
.t-tag.left{background:var(--soft);color:var(--text)}
.t-tag.low{background:var(--warn-soft);color:var(--warn)}
.t-shortw{margin:8px 0 4px;padding:8px 12px;border:1px solid #F2D3CF;border-radius:12px;background:var(--warn-soft);color:var(--warn);font-size:13.5px}
.t-shortw p{margin:2px 0}
.t-shortw span{color:var(--text);font-size:12.5px}
.t-shortl{margin:0;padding-left:18px;color:var(--warn);font-size:14.5px}
.t-shortl li{margin:3px 0}
.t-shortl .muted{font-size:13px}
.t-stks{display:flex;flex-direction:column}
.t-stk{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;padding:10px 0;border-top:1px solid var(--line2)}
.t-stk.low{box-shadow:inset 3px 0 0 var(--warn);padding-left:11px}
.t-stk.low .t-stkn{color:var(--warn)}
.t-stkn{font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums}
.t-stkb{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px}
.t-stkbig{font-size:28px;font-weight:700;margin:0 0 10px;font-variant-numeric:tabular-nums}
.t-stkto{min-width:48px;text-align:right;font-size:12.5px}
.t-mv .t-stkto{white-space:nowrap}
.t-reader{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px dashed var(--box);border-radius:12px;background:var(--soft)}
.t-stkf .f input[type=number]{width:90px;height:36px;padding:0 8px;text-align:right}
.t-stkf p.small{flex-basis:100%;margin:0}
.banner.t-lowb::before,.banner.t-nosig::before{background:var(--warn)}
.banner.t-nosig{margin:0 0 12px}
.t-stk .t-sopen .meta{white-space:normal}
/* refunds, gift cards and loyalty (stage 4d) */
.t-dim.t-top{z-index:54}
.t-sheet.t-top{z-index:55}
.t-neg{color:var(--warn)}
.t-tile.t-gifttile{border-color:var(--gold);background:var(--gold-soft)}
.t-tile.t-gifttile .t-price{color:var(--gold-ink)}
.t-loyal{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;margin:-4px 0 10px;padding:8px 10px;border-radius:12px;background:var(--gold-soft);color:var(--gold-ink);font-size:13.5px}
.t-loyal b{color:var(--gold-ink)}
.t-loyal .btn{white-space:normal;text-align:left}
.t-loyaldone{color:var(--gold-ink)}
.t-giftcode{display:flex;flex-direction:column;align-items:center;gap:2px;margin:14px 0;padding:14px 12px;border:2px dashed var(--gold);border-radius:12px;background:var(--gold-soft);text-align:center}
.t-giftcode span{font-size:13px;color:var(--gold-ink);font-weight:600}
.t-giftcode b{font-size:30px;letter-spacing:.08em;color:var(--ink);font-variant-numeric:tabular-nums;user-select:all}
.t-giftcode small{font-size:12.5px;color:var(--muted)}
.t-gbal{text-align:center;font-weight:700;color:var(--ink);margin:12px 0}
.t-giftq{margin:0 0 10px}
.t-giftlook{display:flex;gap:8px;align-items:flex-end}
.t-giftlook .grow{flex:1;min-width:0}
.t-backn{color:var(--warn)!important}
.t-who{align-self:center;text-align:right}
.t-refls{display:flex;flex-direction:column;margin-top:10px}
.t-refl{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line2);font-size:14px}
.t-refl .grow{flex:1;min-width:0}
.t-refl small{display:block;font-size:12px;color:var(--muted)}
.t-refl.done{opacity:.55}
.t-step{display:flex;align-items:center;gap:8px}
.t-step .t-key{min-height:38px;width:38px;font-size:18px;padding:0}
.t-step .t-key:disabled{opacity:.35;cursor:default}
.t-step b{min-width:18px;text-align:center;font-variant-numeric:tabular-nums}
.t-refto{display:flex;flex-direction:column;gap:8px}
.t-reftob{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;cursor:pointer;color:var(--text);font-size:15px}
.t-reftob span{font-size:12.5px;color:var(--muted)}
.t-reftob[aria-pressed=true]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.t-repback{margin-top:12px;padding-top:8px;border-top:1px solid var(--line2)}
.t-repsales{grid-column:1/-1}
.t-loyset{border-top:1px solid var(--line2);padding-top:12px}
.t-loyf{margin-top:10px}
.t-gcode{margin-top:10px}
.t-gnote{margin:6px 0 14px}

/* ---- counter extras (stage 4e; work.js "counter extras"): the Scan button and the camera over the till, the weight
   keypad, who's selling (the code keypad and the bar on top), each deal's line on the sale and Settings → Deals, the
   price list's barcode and weight, and the narrow receipt (80 mm) before it prints ---- */
.t-camb{display:inline-flex;align-items:center;gap:6px}
.t-camb svg{width:17px;height:17px;flex:none}
.t-cam{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;gap:12px;padding:14px 16px calc(18px + env(safe-area-inset-bottom,0px));background:var(--deep);color:#fff}
.t-camtop{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:16px}
.t-camtop .x{color:#fff;border:0;background:none;font-size:28px;line-height:1;width:44px;height:44px;border-radius:12px;cursor:pointer}
.t-camv{position:relative;flex:1 1 auto;min-height:240px;border-radius:18px;overflow:hidden;background:#000}
.t-camtop b{color:#fff}
.t-cam .t-wide{flex:none;width:100%}
.t-camv video{width:100%;height:100%;object-fit:cover;display:block}
.t-camline{position:absolute;left:12%;right:12%;top:50%;height:2px;background:var(--gold);box-shadow:0 0 0 1px rgba(0,0,0,.25),0 0 14px var(--gold);border-radius:2px}
.t-camv::after{content:"";position:absolute;left:10%;right:10%;top:32%;bottom:32%;border:2px solid rgba(255,255,255,.85);border-radius:12px}
.t-camsay{margin:0;text-align:center;font-size:15px;font-weight:600;min-height:22px}
@media (min-width:900px){.t-cam{inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:480px;height:560px;border-radius:18px;box-shadow:var(--shadow-hi)}}
.t-wbox{position:relative}
.t-wbox .t-amt{padding-right:64px}
.t-wunit{position:absolute;right:16px;top:17px;font-size:18px;font-weight:700;color:var(--muted)}
.t-wprice{text-align:center;margin:0 0 12px;font-size:15px;color:var(--text);min-height:22px}
.t-wprice b{color:var(--ink);font-size:17px}
.t-wnote{margin:0 0 12px}
.t-whob{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;margin:0 0 12px;padding:9px 12px;border-radius:12px;background:var(--soft2);color:var(--ink);font-size:14px}
.t-pindots{display:flex;justify-content:center;gap:14px;margin:14px 0 18px}
.t-pindots i{width:16px;height:16px;border-radius:99px;border:2px solid var(--accent);background:#fff}
.t-pindots i.on{background:var(--accent)}
.t-pinf{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.t-pinf .f{width:100%;margin:0}
.t-scanf .f{flex:1 1 180px;min-width:0}
.t-tot .t-deal{font-weight:600}
.t-tot .t-deal::before{content:"★ ";color:var(--gold2)}
.t-dealset{border-top:1px solid var(--line2);padding-top:12px}
.t-deals{display:flex;flex-direction:column;gap:10px;margin:10px 0}
.t-dealed{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff}
.t-dealed.off{opacity:.65}
.t-dealh{display:flex;align-items:center;gap:10px}
.t-dealh input[type=text]{flex:1;min-width:0;font-weight:600}
.t-dealh .x{border:0;background:none;color:var(--muted);font-size:20px;width:34px;height:34px;border-radius:8px;cursor:pointer}
.t-dealf{display:flex;flex-wrap:wrap;gap:8px 10px;margin-top:8px}
.t-dealf .f{flex:1 1 130px;min-width:0;margin:0}
.t-dealitems,.t-dealdays{margin-top:8px;align-items:center}
.t-dealsum{margin:8px 0 0}
.t-ptopb{display:flex;gap:6px}
.t-receipt{display:flex;justify-content:center;padding:14px 0;background:var(--soft);border-radius:12px}
.t-receipt .rc{width:min(302px,100%);padding:14px 14px 18px;background:#fff;box-shadow:0 1px 0 var(--line),0 8px 20px -12px rgba(26,18,37,.35);color:#000;font:12.5px/1.4 ui-monospace,"SF Mono",Menlo,Consolas,monospace}
.t-receipt .rc h1{font-size:16px;margin:0 0 2px;text-align:center}
.t-receipt .rc .c{text-align:center}
.t-receipt .rc p{margin:2px 0}
.t-receipt .rc table{width:100%;border-collapse:collapse}
.t-receipt .rc td{padding:2px 0;vertical-align:top}
.t-receipt .rc td.n{text-align:right;white-space:nowrap;padding-left:8px}
.t-receipt .rc tr.tot td{font-weight:700;font-size:14.5px;border-top:1px dashed #000;padding-top:4px}
.t-receipt .rc small{font-size:11px}
.t-receipt .rc hr{border:0;border-top:1px dashed #000;margin:7px 0}

/* ---- the price list (Settings; work.js "the price list", Oct 18): one row per item (name, what's set, price,
   chevron; sold out greyed), and the item open in a sheet on a phone or a panel beside the list on a computer ---- */
.pl-q{width:100%;margin-bottom:10px}
.pl-rows{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.pl-row{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:9px 12px;border:0;border-top:1px solid var(--line2);background:#fff;text-align:left;cursor:pointer;color:var(--text);font:inherit}
.pl-row:first-child{border-top:0}
.pl-row:hover{background:var(--soft)}
.pl-row.on{background:var(--soft2);box-shadow:inset 3px 0 0 var(--accent)}
.pl-row.out .pl-main,.pl-row.out .pl-price{opacity:.5}
.pl-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.pl-main b{color:var(--ink);font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-main small{color:var(--muted);font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-price{flex:none;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums;font-size:14.5px}
.pl-chev{flex:none;color:var(--faint);font-style:normal;font-size:22px;line-height:1;margin-left:-2px}
.pl-empty{margin:0;padding:14px 12px}
.pl-list .bar{margin-top:10px}
.pl-dim{position:fixed;inset:0;z-index:44;background:rgba(26,18,37,.38)}
.pl-ed.lrow{display:block;position:fixed;left:0;right:0;bottom:0;z-index:45;max-height:88vh;overflow:auto;background:#fff;border-radius:18px 18px 0 0;padding:14px 16px 0;box-shadow:var(--shadow-hi)}
.pl-edh{display:flex;align-items:center;gap:10px;padding:0 0 8px}
.pl-edh h3{flex:1;min-width:0;margin:0;font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-sec{border-top:1px solid var(--line2);padding:12px 0 10px}
.pl-sec h4{margin:0 0 8px;font-size:11.5px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}
.pl-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pl-grid .f{margin:0;min-width:0}
.pl-grid .wide{grid-column:1/-1}
.pl-ed .tx{margin-top:8px}
.pl-ed .apptf{margin:0}
.pl-help{margin:8px 0 0}
.pl-ed .lbl,.pl-ed .t-ed{margin:0}
.pl-ed .t-ed>summary{display:none}
.pl-edf{position:sticky;bottom:0;display:flex;align-items:center;gap:8px;margin:0 -16px;padding:10px 16px calc(12px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid var(--line2)}
.pl-edf .grow{flex:1}
@media (min-width:900px){
  .pl.open{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,440px);gap:16px;align-items:start}
  .pl-dim{display:none}
  .pl-ed.lrow{position:sticky;top:12px;left:auto;right:auto;bottom:auto;z-index:auto;max-height:calc(100vh / var(--z) - 32px);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
}
/* ---- Getting set up (work.js setupView): the owner's five steps, one screen each, in the sign-up door's look
   (crm.ohelloo.com/join.html, Omar Oct 18 2026): the thin bar of steps, "Step N of 5", a big question, app tiles and
   pills, Do this later and a dark Continue. The tabs are hidden while it's open. ---- */
body.su-mode .rail,body.su-mode .demo-note{display:none!important}
body.su-mode .main{padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
.su{max-width:640px;margin:0 auto;display:flex;flex-direction:column;gap:14px;padding-top:4px}
.su-top{display:flex;justify-content:space-between;align-items:center}
.su-top a{font-size:13px;color:var(--muted)}
.su-logo{display:inline-flex;align-items:center;gap:6px}
.su-logo .word{height:22px;width:auto;fill:var(--accent)}
.su-logo .wave{width:26px;height:26px;border-radius:8px}
.su-logo small{font-size:13px;font-weight:600;color:var(--muted)}
.su-seg{display:flex;gap:6px}
.su-seg a{flex:1;height:4px;border-radius:2px;background:var(--line2)}
.su-seg a.done,.su-seg a.on{background:var(--accent)}
.su-seg a.on:not(.done){background:var(--accent2)}
.su-step{align-self:flex-start;margin:6px 0 0;background:var(--soft2);color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;border-radius:8px;padding:3px 9px}
.su-q{margin:0;font-size:clamp(24px,5vw,28px);font-weight:700;letter-spacing:-.02em;line-height:1.15;text-wrap:balance}
.su-sub{margin:-6px 0 0;color:var(--muted)}
.su-done{display:flex;gap:8px;align-items:flex-start;margin:0;background:var(--ok-soft);color:var(--ok);border-radius:12px;padding:12px 14px;font-weight:600}
.su-done svg,.su-note svg{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.su-list{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.su-list div{display:flex;justify-content:space-between;gap:12px;padding:11px 14px;border-top:1px solid var(--line2)}
.su-list div:first-child{border-top:0}
.su-list .muted{justify-content:center}
.su-row{display:flex;gap:10px;flex-wrap:wrap}
.su-row .btn{flex:1 1 200px}
.su-pills{display:flex;flex-wrap:wrap;gap:8px}
.su-pill{border:1px solid var(--line);border-radius:12px;padding:10px 14px;font-weight:500;font-size:14px;background:#fff;cursor:pointer;color:var(--ink)}
.su-pill:hover{border-color:#CBBEDB}
.su-pill.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:#FAF7FD}
.su-apps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.su-app{display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:16px 8px 12px;cursor:pointer;min-width:0}
.su-app:hover{border-color:#CBBEDB;box-shadow:var(--shadow-hi)}
.su-app b{font-size:13.5px;font-weight:600;text-align:center;line-height:1.2;overflow-wrap:anywhere}
.su-pic{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#fff;border:1px solid var(--line2);flex:none}
.su-pic img{width:26px;height:26px;object-fit:contain}
.su-pic.mono,.su-mini.mono{color:#fff;font-weight:800;font-size:14px;border:0}
.su-more{display:flex;align-items:center;gap:6px;border:0;background:none;padding:2px 0;color:var(--muted);font-size:13px;cursor:pointer}
.su-more span:last-child{margin-left:auto;color:var(--accent);font-weight:600}
.su-mini{width:22px;height:22px;border-radius:8px;display:grid;place-items:center;background:#fff;border:1px solid var(--line2)}
.su-mini img{width:15px;height:15px;object-fit:contain}
.su-mini.mono{font-size:9px}
.su-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.su-plain{display:flex;flex-direction:column;gap:2px;text-align:left;border:1px solid transparent;border-radius:12px;background:var(--soft);padding:12px 14px;cursor:pointer}
.su-plain b{font-size:14px}.su-plain span{font-size:12.5px;color:var(--muted)}
.su-plain.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:#FAF7FD}
.su-alt{margin:0;font-size:13.5px;color:var(--muted)}
.su-back{align-self:flex-start;border:0;background:none;padding:0;color:var(--accent);font-weight:600;cursor:pointer}
.su-apphead{display:flex;gap:12px;align-items:center}
.su-how{margin:0;padding:0;list-style:none;counter-reset:h;display:flex;flex-direction:column;gap:8px}
.su-how li{counter-increment:h;display:flex;gap:10px;align-items:flex-start;background:var(--soft);border-radius:12px;padding:12px 14px;color:var(--ink);font-weight:500}
.su-how li::before{content:counter(h);flex:none;width:24px;height:24px;border-radius:50%;background:var(--accent);color:#fff;font-size:13px;font-weight:700;display:grid;place-items:center}
.su-people{display:flex;flex-direction:column;gap:6px}
.su-people div{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:9px 12px}
.su-people .face.sm{width:30px;height:30px;font-size:12px}
.su-add{display:grid;grid-template-columns:1.2fr 1.2fr 1fr auto;gap:10px;align-items:end}
@media (max-width:620px){.su-add{grid-template-columns:1fr 1fr}.su-add .btn{grid-column:1/-1}}
.su-note{display:flex;gap:8px;align-items:flex-start;background:var(--soft2);border-radius:12px;padding:12px 14px;color:var(--ink)}
.su-note svg{color:var(--accent)}
.su-stripe{display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px}
.su-stripe span{color:var(--muted);font-size:14px}
.btn.stripe{background:#635BFF;color:#fff;margin-top:4px}
.btn.stripe:hover{background:#544DE0}
.su-seen{display:flex;flex-direction:column;gap:6px}
.su-seen>span{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);text-align:center}
.su-seen>div{border:1px dashed var(--lav);border-radius:12px;background:#fff;padding:12px 14px;display:flex;flex-direction:column;gap:6px;max-width:360px;width:100%;align-self:center}
.su-seen p{margin:0;display:flex;justify-content:space-between}
.su-seen small{color:var(--muted)}.su-seen small.c{text-align:center}
.su-seen i{font-style:normal;background:var(--accent);color:#fff;border-radius:12px;text-align:center;padding:8px;font-weight:700}
.su-nav{display:flex;gap:10px;margin-top:10px}
.su-nav .btn.line{flex:.6}.su-nav .btn.dark{flex:1}
/* Today: the way back in until all five are done */
.su-card{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:14px 16px;margin:0 0 14px;color:var(--text);text-decoration:none!important}
.su-card:hover{box-shadow:var(--shadow-hi)}
.su-card-r{display:flex;justify-content:space-between;align-items:center;gap:10px}
.su-card-r>span:first-child+span:not(.btn){font-size:12.5px;font-weight:700;color:var(--accent)}   /* never the Continue button: purple on dark was hard to read (Omar, Oct 19) */
.su-card-bar{height:5px;border-radius:3px;background:var(--line2);overflow:hidden}
.su-card-bar i{display:block;height:100%;background:var(--accent)}
/* Your next step (Omar picked option C, Oct 25 2026): a card at the top of Today with a gold edge, and the same step as a
   pop-up once a day (a sheet from the bottom on a phone, a box in the middle on a computer), with room for its video. */
.nx-card{position:relative;display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px 16px 14px 19px;margin:0 0 14px;overflow:hidden}
.nx-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,var(--gold),var(--gold2))}
.nx-card p{margin:0;color:var(--muted);font-size:14px}
.nx-card .bar{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.nx-card .btn.stripe{margin-top:0}
.nx-k{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-ink)}
.nx-t{font-size:16px;line-height:1.3}
.nx-from{display:flex;gap:10px;align-items:center;background:var(--soft);border-radius:10px;padding:8px 10px}
.nx-from img{width:32px;height:32px;border-radius:50%;flex:none;object-fit:cover}
.nx-from p{margin:0;font-size:13.5px;line-height:1.45;color:var(--text)}
.nx-only{margin:0}
.nx-pop{position:fixed;inset:0;z-index:60}
.nx-dim{position:absolute;inset:0;background:rgba(26,18,37,.45)}
.nx-box{position:absolute;left:0;right:0;bottom:0;max-height:92vh;overflow:auto;background:#fff;border-radius:18px 18px 0 0;padding:20px 18px calc(18px + env(safe-area-inset-bottom,0px));box-shadow:var(--shadow-hi);display:flex;flex-direction:column;gap:12px}
@media (min-width:900px){.nx-box{left:50%;right:auto;bottom:auto;top:50%;transform:translate(-50%,-50%);width:480px;border-radius:18px;padding:26px 26px 22px}}
.nx-box h2{margin:0;font-size:20px;line-height:1.25;text-wrap:balance;padding-right:28px}
.nx-box>p{margin:0;font-size:14.5px}
.nx-box .nx-k{color:var(--accent)}
.nx-x{position:absolute;top:10px;right:10px;width:30px;height:30px;border:0;background:none;color:var(--faint);font-size:20px;line-height:1;border-radius:8px;cursor:pointer}
.nx-x:hover{background:var(--soft2);color:var(--ink)}
.nx-vid{display:block;width:100%;aspect-ratio:16/9;border-radius:12px;background:var(--soft2);object-fit:cover}
.nx-dots{display:flex;gap:4px}
.nx-dots i{flex:1;height:4px;border-radius:2px;background:var(--line2)}
.nx-dots i.on{background:var(--accent)}
.nx-acts{display:flex;flex-direction:column;gap:4px}
.nx-acts .btn{width:100%;min-height:46px;margin-top:0;font-size:15px}
.nx-acts .btn.plain{background:none;color:var(--muted);font-weight:500;min-height:40px}
.nx-acts .btn.plain:hover{color:var(--ink)}
.nx-after{font-size:12.5px;color:var(--muted);text-align:center}
@media (prefers-reduced-motion:no-preference){.nx-box{animation:nx-up .35s ease-out both}@keyframes nx-up{from{translate:0 24px}to{translate:0 0}}}
.su>.btn.small{align-self:flex-start}
.su-kinds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.su-kinds .su-pill{text-align:left}
.su-h2{margin:6px 0 -4px;font-size:15px}
.su-fields{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.su-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:center;padding:12px 14px;border-top:1px solid var(--line2)}
.su-field:first-child{border-top:0}
.su-field .su-lab{grid-column:1;font-size:12px;font-weight:600;color:var(--muted)}
.su-field .su-val{grid-column:1;color:var(--ink);font-weight:500;overflow-wrap:anywhere}
.su-field .linkish{grid-column:2;grid-row:1/span 2;font-weight:600}
.su-field.on{display:flex;flex-direction:column;align-items:stretch;gap:10px;background:var(--soft)}
.su-field .su-note-bad,.su-field .su-note-dim{grid-column:1;font-size:12.5px;color:var(--warn)}
.su-field .su-note-dim{color:var(--muted)}
/* The business address in four boxes (work.js addrBoxes): street, city, then state and zip side by side; on a computer
   in Settings (.across), street and city share a line too. */
.addr{display:grid;gap:12px}
.addr-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (min-width:640px){.addr.across{grid-template-columns:2fr 1.4fr 1.4fr}}
.f.ac{position:relative}
.ac-list{position:absolute;left:0;right:0;top:100%;z-index:30;margin-top:4px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px rgba(34,19,47,.14);overflow:hidden}
.ac-opt{display:grid;gap:2px;width:100%;text-align:left;font:inherit;background:none;border:0;border-top:1px solid var(--line2);padding:10px 12px;cursor:pointer;color:var(--ink)}
.ac-opt:first-child{border-top:0}.ac-opt:hover,.ac-opt:focus{background:var(--soft)}
.ac-opt b{font-weight:600;font-size:14.5px}.ac-opt span{color:var(--muted);font-size:12.5px}
.su-act{display:flex;align-items:center;gap:12px;width:100%;text-align:left;font:inherit;border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px;color:var(--ink);text-decoration:none;cursor:pointer;box-shadow:0 2px 8px rgba(34,19,47,.06)}
.su-act:hover{background:var(--soft)}
.su-act span{flex:1;min-width:0;display:grid;gap:2px}.su-act small{color:var(--muted);font-size:13px}
.su-act i{font-style:normal;color:var(--accent);font-size:20px}
.su-kindline{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1.5px solid var(--line);border-radius:10px;background:#fff;padding:10px 12px}
.su-kindline span{min-width:0;font-weight:500;color:var(--ink)}
.su-kindline .linkish{font-weight:600;flex:none}
.su-lab-plain{display:block;font-size:13px;font-weight:600;color:var(--ink);margin-bottom:6px}
.su-lab-plain small{font-weight:400}
.btn.su-fresh{width:100%;min-height:50px;gap:8px}
.btn.su-fresh span{font-weight:400;color:var(--muted)}
.btn.su-fresh.on{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:#FAF7FD}
.btn.su-fresh svg{width:18px;height:18px;stroke:var(--accent);fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.su-invite{margin:0 0 14px;background:var(--soft2);border-radius:12px;padding:12px 14px;color:var(--ink);font-size:14px}
/* A home bakery's Customers (work.js bakeryCustomers): Hotplate's table on a computer, a list with the key numbers on a
   phone or a narrow window. Tap a column name to sort. */
.ctiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ctiles .tile{padding:10px 12px}
.ctiles .tile b{font-size:20px}
.ctable{display:none;padding:4px 12px;overflow-x:auto}
.ctable td,.ctable th{vertical-align:middle;white-space:nowrap}
.ctable tbody tr{cursor:pointer}
.ctable tbody tr:hover td{background:var(--soft)}
.ctable td a{color:inherit}
.ctable td a b{display:inline}
.cchips{display:inline-flex;gap:4px;vertical-align:middle}
.csort{border:0;background:none;padding:0;font:inherit;color:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer}
.csort.on{color:var(--accent)}
.csort.on::after{content:" ↓"}
.yes{color:var(--ink);font-weight:500}
.clist .end{flex-direction:column;align-items:flex-end;gap:3px}
.clist .amt{font-weight:700;color:var(--ink)}
@media (min-width:760px){.ctable{display:block}.clist{display:none}}
@media (max-width:420px){.ctiles .tile span{font-size:11px}.ctiles .tile b{font-size:17px}}
/* The owner's columns and Numbers parts (work.js custViewHtml, numViewHtml): each one a pick, with arrows to move it. */
.cview{margin:0 0 12px}
.cv-head{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}
.cv-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.cv-row{display:inline-flex;align-items:center;gap:2px}
.cv-row .btn.small{padding:4px 8px;min-width:0}
/* A bakery's Numbers (work.js bakeryNumbers): a thin bar under each best seller and pickup day, to scale. */
.nbar{display:block;height:4px;border-radius:99px;background:var(--soft2);margin-top:4px;max-width:220px}
.nbar i{display:block;height:100%;border-radius:99px;background:var(--lav)}


/* ---- Sign-in (work.js signInView, Omar Oct 18 2026: "Quiet and exact" over the drawn Aurora) ----
   A soft aurora of purple, lilac and a touch of gold behind a frosted card: the lights glide into place once as the page
   opens, then rest (Omar, Oct 20 2026: option C, no looping motion); the logo shown once above it; six code boxes over
   the one real box; each new step glides in. Motion stops for reduced motion. */
.aurora{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:linear-gradient(180deg,#F4ECFB 0%,#FAF6FD 55%,#FFFFFF 100%)}
.aurora i{position:absolute;display:block;border-radius:50%}
.aurora.glide i{animation:var(--au) var(--au-t) cubic-bezier(.2,.7,.2,1) both}
/* Cheap to draw (Omar, Oct 18 2026: tapping the number box on a phone scrolled slowly): the lights are soft gradients
   with no blur filter, and on phones the card is frosted white without a live blur of what's behind it. */
.aurora i:nth-child(1){width:150vmax;height:70vmax;left:-45vmax;top:-30vmax;background:radial-gradient(closest-side,rgba(123,75,176,.42),rgba(123,75,176,.19) 60%,rgba(123,75,176,0));--au:au1;--au-t:3.2s}
.aurora i:nth-child(2){width:120vmax;height:60vmax;right:-55vmax;top:5vmax;background:radial-gradient(closest-side,rgba(201,180,228,.85),rgba(201,180,228,.38) 60%,rgba(201,180,228,0));--au:au2;--au-t:3.6s}
.aurora i:nth-child(3){width:90vmax;height:45vmax;left:-30vmax;top:35vmax;background:radial-gradient(closest-side,rgba(233,178,62,.24),rgba(233,178,62,.11) 60%,rgba(233,178,62,0));--au:au3;--au-t:4s}
@keyframes au1{from{transform:translate(-8vmax,-6vmax) rotate(-6deg);opacity:.4}to{transform:none;opacity:1}}
@keyframes au2{from{transform:translate(9vmax,-4vmax) scale(.9);opacity:.4}to{transform:none;opacity:1}}
@keyframes au3{from{transform:translate(-10vmax,6vmax);opacity:.3}to{transform:none;opacity:1}}
.signin{position:relative;z-index:1;margin-top:9vh}
.signin .lockup{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:6px}
.signin .lockup img{border-radius:12px;box-shadow:0 6px 18px -8px rgba(46,21,70,.45)}
.signin .lockup .word{height:28px;width:auto;fill:var(--accent)}
.signin .lockup span{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.signin .card{background:rgba(255,255,255,.74);-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);border:1px solid rgba(255,255,255,.9);border-radius:18px;box-shadow:0 24px 60px -28px rgba(46,21,70,.45);padding:24px}
.signin h1{font-size:28px;font-weight:700;letter-spacing:-.03em;line-height:1.1;margin:0 0 6px}
.signin .si-in{animation:siIn .45s cubic-bezier(.2,.7,.2,1) both}
@keyframes siIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
.signin .btn{transition:transform .12s ease,filter .12s ease,background .2s}
.signin .btn:active:not(:disabled){transform:scale(.97);filter:brightness(.94)}
.ph-in{display:flex;align-items:center;gap:8px;border:1px solid var(--box);border-radius:12px;background:#fff;padding:0 12px;transition:border-color .2s,box-shadow .2s}
.ph-in:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgba(91,42,134,.14)}
.ph-in .cc{font-weight:600;color:var(--text);padding-right:8px;border-right:1px solid var(--line);white-space:nowrap}
.ph-in input[type=tel]{border:0!important;box-shadow:none!important;padding:12px 0!important;background:transparent!important;flex:1;min-width:0;outline:none}
.otp{position:relative;display:block}
.otp input{position:absolute;inset:0;width:100%;height:100%;opacity:.01;font-size:16px;caret-color:transparent;z-index:2;cursor:text}
.otp-b{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.otp-b i{font-style:normal;aspect-ratio:1/1.15;display:grid;place-items:center;border:1px solid var(--box);border-radius:12px;background:#fff;font-size:22px;font-weight:700;color:var(--ink);transition:border-color .2s,box-shadow .2s,transform .25s cubic-bezier(.3,1.6,.5,1)}
.otp-b i.f{transform:scale(1.04)}
.otp:focus-within .otp-b i.n{border-color:var(--accent);box-shadow:0 0 0 3px rgba(91,42,134,.14)}
.g-btn{gap:8px}.g-btn svg{width:18px;height:18px;flex:none}
.si-lock{display:flex;align-items:center;justify-content:center;gap:6px;margin:14px 0 0;font-size:12.5px;color:var(--muted)}
.si-lock svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2}
.signin .su-invite{background:rgba(241,234,249,.9)}
/* "Which business?" and the switch screen: each business a roomy rounded row with a chevron, lifting on hover and pressing on tap. */
.biz-rows{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.biz-find{display:block;width:100%;box-sizing:border-box;margin:0 0 10px;padding:11px 14px;font:inherit;font-size:16px;border:1px solid var(--line);border-radius:12px;background:#fff}
.biz-row[hidden]{display:none}
.signin>.card{min-width:0}
.biz-row{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:60px;padding:12px 14px 12px 16px;text-align:left;font:inherit;color:inherit;background:rgba(255,255,255,.9);border:1px solid var(--line);border-radius:14px;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .12s,background .15s}
.biz-row .grow{flex:1;min-width:0}
.biz-row b{display:block;font-size:16px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.biz-row small{display:block;margin-top:2px;color:var(--muted);font-size:13px}
.biz-row .chev{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--soft2);color:var(--accent);font-size:20px;line-height:1;padding-bottom:2px;transition:transform .15s}
.biz-row:hover{border-color:#CDBFE0;box-shadow:0 8px 20px -12px rgba(46,21,70,.35);background:#fff}
.biz-row:hover .chev{transform:translateX(2px)}
.biz-row:active{transform:scale(.985);background:var(--soft2)}
.biz-row:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.aurora i,.signin .si-in{animation:none!important}}
/* Phones: frosted white without a live blur of what's behind (see .aurora above); last, so it wins. */
/* ---- Drops: pickup spots, when ordering opens, the waitlist (drops-spots; home bakers only) ---- */
.drops .drop-open{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}
.drops .drop-open label.f{flex:1 1 160px}
.spots{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.spot{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid var(--box);border-radius:12px;background:var(--card)}
.spot-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.spot-main a{color:var(--accent);font-weight:600}
.spot-note{color:var(--gold-ink)}
.spot-acts{flex:none;display:flex;gap:6px}
.spot-ed{display:block;border-color:var(--accent2);box-shadow:0 0 0 3px var(--soft2)}
.spot-chips{margin:0 0 12px;flex-wrap:wrap}
.spot-chips .pick small{color:var(--muted);font-weight:600}
.spot-meta{color:var(--accent)}
.tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.bake-spots{width:100%;border-collapse:collapse;font-size:13.5px}
.bake-spots th,.bake-spots td{padding:8px 8px;border-bottom:1px solid var(--line2);text-align:left;white-space:nowrap}
.bake-spots th{font-size:12px;color:var(--muted);font-weight:600}
.bake-spots .n{text-align:right;font-variant-numeric:tabular-nums}
.waitlist h2{margin-top:0}
.wl-row{border-bottom:1px solid var(--line2);padding:8px 0}
.wl-row:last-of-type{border-bottom:0}
.wl-row summary{cursor:pointer;min-height:32px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.wl-people{margin:6px 0 0;padding-left:22px;display:flex;flex-direction:column;gap:6px;font-size:13.5px}
.tk-spot{margin:2px 0 6px;font-size:14px}
@media (max-width:600px){.spot{flex-direction:column}.spot-acts{align-self:stretch}.spot-acts .btn{flex:1}}
.opens-on{margin-top:10px}
.opens-on summary{cursor:pointer;color:var(--accent);font-weight:600;min-height:28px}
.oo-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid var(--line2)}
.off-dates{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.off-dates .chip .x{border:0;background:none;padding:0 0 0 2px;font-size:14px;line-height:1;cursor:pointer;color:var(--muted)}
.off-dates input[type=date]{max-width:180px}
/* ---- shop extras on the Home Kitchen page: tips, pay at pickup, discount codes (Oct 19 2026) ---- */
.hk-extras{border-top:1px solid var(--line);margin-top:14px;padding-top:12px;display:grid;gap:6px}
.x-pcts{display:grid;grid-template-columns:repeat(3,minmax(0,110px));gap:8px;margin-left:26px}
.x-ways{display:flex;flex-wrap:wrap;gap:4px 16px;margin-left:26px}
table.codes b.code{font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:13.5px;letter-spacing:.02em}
table.codes tr.on td{background:var(--soft)}
.d-list{max-height:220px;overflow-y:auto;border:1px solid var(--line);border-radius:12px;padding:6px 10px;display:grid;gap:2px;background:#fff}
.rv-split{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:12px;align-items:start;margin-top:12px}
@media (max-width:760px){.rv-split{grid-template-columns:1fr}}
.rv-row{padding:10px 0;border-bottom:1px solid var(--line2)}
.rv-row:last-child{border-bottom:0}
.rv-row.hid{opacity:.6}
.rv-t{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.rv-st{color:var(--gold);letter-spacing:1px}
.rv-st span{color:var(--line)}
.rv-why{margin-top:8px;display:grid;gap:6px;background:var(--soft);border-radius:12px;padding:8px 10px}
.rv-prev{background:#FCF8F4}
.rv-pv{display:grid;gap:8px}
.rv-q{background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px 10px;display:grid;gap:3px;font-size:13.5px}
.rv-q .pin{font-size:10.5px;font-weight:700;color:var(--accent)}
.rv-found{display:grid;gap:8px;max-height:320px;overflow-y:auto}
/* Get help (work-help.js; WORK.md "Get help"): a button under the menu (More on a phone, and beside Feedback at the foot
   of every screen) opens a chat box at the bottom middle of the screen, ready to type. White with a firm outline, the
   wave icon at the top, purple only on links and the send button. Opens and closes with a short slide. */
.rail-help{display:none}
.ms-help{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:0 12px;border:0;border-top:1px solid var(--line2);border-radius:12px;background:none;color:var(--ink);font:inherit;font-size:15px;font-weight:600;text-align:left;cursor:pointer}
.ms-help:first-child{border-top:0}
.ms-help:hover{background:var(--soft)}
.ms-help svg{width:22px;height:22px;flex:none;color:var(--accent2);stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:900px){
  .rail-help{display:block;margin-top:8px;padding-top:8px;border-top:1px solid var(--line2)}
  .rail-help button{display:flex;align-items:center;gap:12px;width:100%;padding:9px 10px;border:0;border-radius:12px;background:none;color:var(--ink);font:inherit;font-size:13.5px;font-weight:500;cursor:pointer;text-align:left}
  .rail-help button:hover{background:var(--soft)}
  .rail-help svg{width:22px;height:22px;flex:none;color:var(--accent2);stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
}
.miss .miss-link+.miss-link{margin-left:16px}
.help{position:fixed;z-index:50;left:50%;bottom:calc(var(--tab) + 8px + env(safe-area-inset-bottom,0px));width:calc(100vw - 16px);max-width:560px;max-height:min(600px,calc(100dvh - var(--tab) - 24px - env(safe-area-inset-bottom,0px)));display:flex;flex-direction:column;background:#fff;border:1.5px solid var(--box);border-radius:18px;box-shadow:var(--shadow-hi),0 24px 48px -24px rgba(46,21,70,.28);opacity:0;transform:translate(-50%,14px);transition:opacity .18s ease,transform .2s cubic-bezier(.2,.8,.2,1)}
.help.on{opacity:1;transform:translate(-50%,0)}
@media (min-width:900px){.help{left:calc(220px + (100vw / var(--z) - 220px) / 2);bottom:20px;max-height:min(620px,calc(100dvh / var(--z) - 40px))}}
@media (prefers-reduced-motion:reduce){.help{transition:none}}
.h-head{display:flex;align-items:center;gap:10px;padding:12px 10px 10px 14px;border-bottom:1px solid var(--line2)}
.h-head img{flex:none;border-radius:8px}
.h-title{display:grid;flex:1;min-width:0;line-height:1.25}
.h-title b{font-size:15px}
.h-title small{font-size:12px;color:var(--muted)}
.h-x{flex:none;width:34px;height:34px;border:0;border-radius:8px;background:none;color:var(--muted);font-size:22px;line-height:1;cursor:pointer}
.h-x:hover{background:var(--soft2);color:var(--ink)}
.h-log{flex:1;min-height:120px;overflow-y:auto;overscroll-behavior:contain;padding:14px;display:flex;flex-direction:column;gap:10px}
.h-msg{max-width:88%;padding:9px 12px;border-radius:12px;font-size:14px;line-height:1.5}
.h-msg p{margin:0}
.h-msg p+p{margin-top:8px}
.h-ai{align-self:flex-start;background:#fff;border:1px solid var(--line);border-bottom-left-radius:5px;color:var(--text)}
.h-you{align-self:flex-end;background:var(--soft2);color:var(--ink);border-bottom-right-radius:5px;white-space:pre-wrap}
.h-sent{border-color:var(--lav);background:var(--soft)}
.h-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.h-go{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border:1px solid var(--lav);border-radius:12px;background:#fff;color:var(--accent);font-size:13px;font-weight:600;text-decoration:none}
.h-go:hover{background:var(--soft2);text-decoration:none}
.h-foot{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:8px}
.h-rate{display:inline-flex;gap:2px;margin-left:auto}
.h-rate button{width:30px;height:28px;border:0;border-radius:8px;background:none;font-size:14px;cursor:pointer;opacity:.6}
.h-rate button:hover{opacity:1;background:var(--soft)}
.h-thanks{margin-left:auto;font-size:12px;color:var(--muted)}
.h-starts{display:flex;flex-wrap:wrap;gap:6px}
.h-start{padding:7px 11px;border:1px solid var(--box);border-radius:12px;background:#fff;color:var(--ink);font:inherit;font-size:13px;cursor:pointer;text-align:left}
.h-start:hover{border-color:var(--box-hover);background:var(--soft)}
.h-err{margin:0;font-size:13px;color:var(--warn)}
.h-form{display:grid;gap:8px;padding:12px;border:1px solid var(--box);border-radius:12px;background:var(--soft)}
.h-form p{margin:0}
.h-form .f{margin:0}
.help .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.h-ask{display:flex;align-items:flex-end;gap:8px;padding:10px 10px 6px 12px;border-top:1px solid var(--line2)}
.h-ask textarea{flex:1;min-height:42px;max-height:140px;resize:none;padding:10px 12px;border:1.5px solid var(--box);border-radius:12px;font:inherit;font-size:15px;line-height:1.4;background:#fff;color:var(--ink)}
.h-ask textarea:focus{outline:none;border-color:var(--accent2);box-shadow:0 0 0 3px var(--soft2)}
.h-send{flex:none;width:42px;height:42px;border:0;border-radius:12px;background:var(--accent);color:#fff;cursor:pointer;display:grid;place-items:center}
.h-send:hover{background:var(--deep)}
.h-send[disabled]{opacity:.5;cursor:default}
.h-send svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.h-more{display:flex;justify-content:center;align-items:center;gap:16px;padding:0 12px 10px;font-size:12.5px;color:var(--faint)}
.h-more button{border:0;background:none;padding:4px 2px;font:inherit;color:var(--muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.h-more button:hover{color:var(--ink)}
/* Report a problem / Suggest an idea (work-report.js; Oct 25 2026): in Get help's chat, and the box both doors open. */
.h-acts{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}
.h-act{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border:1px dashed var(--box);border-radius:12px;background:var(--soft);color:var(--ink);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.h-act:hover{background:var(--soft2);border-style:solid}
.h-act svg,.h-omar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.h-act.bad svg{color:var(--warn)}
a.h-act{text-decoration:none}
.h-review{margin:8px 0 0;font-size:13px;color:var(--muted)}
.h-review a{font-weight:600;color:var(--ink)}
.h-done{color:var(--ok);font-weight:600;margin-left:0}
.rp .rp-body{gap:14px}
.rp .rp-body>*{flex:none}
.rp .h-head{gap:12px}
.rp-badge{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center}
.rp-badge svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.rp-badge.bad{background:var(--warn-soft);color:var(--warn)}
.rp-badge.idea{background:var(--gold-soft);color:var(--gold-ink)}
.rp-kind{align-self:flex-start}
.rp .f{display:grid;gap:6px;margin:0;font-size:13px;font-weight:600;color:var(--ink)}
.rp .f textarea{width:100%;min-height:76px;resize:vertical;padding:10px 12px;border:1.5px solid var(--box);border-radius:12px;font:inherit;font-size:15px;font-weight:400;line-height:1.45;color:var(--ink);background:#fff}
.rp .f textarea:focus{outline:none;border-color:var(--accent2);box-shadow:0 0 0 3px var(--soft2)}
.rp-shot{position:relative;border:1px solid var(--line);border-radius:12px;background:var(--soft);overflow:hidden;display:grid;place-items:center}
.rp-canvas{display:block;max-width:100%;max-height:300px;width:auto;height:auto;touch-action:none;cursor:crosshair;background:#fff}
.rp-canvas.boxing{cursor:cell}
.rp-wait{min-height:120px;gap:10px;padding:16px;font-size:13px;color:var(--muted);text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.rp-spin{width:22px;height:22px;border-radius:50%;border:2.5px solid var(--lav);border-top-color:var(--accent);animation:rp-spin .8s linear infinite}
@keyframes rp-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.rp-spin{animation-duration:2.4s}}
.rp-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:-6px}
.rp-tool{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--text);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.rp-tool svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.rp-tool[aria-pressed=true]{border-color:var(--accent2);background:var(--soft2);color:var(--accent)}
.rp-tool[disabled]{opacity:.45;cursor:default}
.rp-tool.rp-off{margin-left:auto;color:var(--muted);border-color:transparent;background:none;text-decoration:underline;text-underline-offset:3px}
.rp-add{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1.5px dashed var(--box);border-radius:12px;background:#fff;text-align:left;cursor:pointer;font:inherit;color:var(--ink)}
.rp-add:hover{background:var(--soft)}
.rp-add svg{width:22px;height:22px;flex:none;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rp-add span{display:grid}
.rp-add b{font-size:14px}
.rp-add small{font-size:12.5px;color:var(--muted)}
.rp-fine{margin:-6px 0 0;font-size:12px;color:var(--muted);line-height:1.45}
.rp-extras{display:grid;gap:8px;padding:10px 12px;border-radius:12px;background:var(--soft)}
.rp-extras .tick{font-size:13.5px}
.rp-see{justify-self:start;border:0;background:none;padding:0;font:inherit;font-size:12.5px;color:var(--accent);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.rp-dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:2px 0 0;font-size:12.5px}
.rp-dl dt{color:var(--muted)}
.rp-dl dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
.rp-extras .rp-fine{margin:0}
.rp-bar{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:10px 12px;border-top:1px solid var(--line2)}
.rp-send{min-width:150px}
@media (max-width:899px){.rp-bar{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}.rp-send{flex:1}}
@media print{.help,.rp{display:none!important}}
/* ---- Bakery texts (bakeries and home kitchens): the Blast screen and Settings → Drop texts ---- */
.bl-bub{background:#E9E9EB;color:#111;border-radius:18px;padding:10px 14px;font-size:14.5px;line-height:1.4;max-width:420px;white-space:pre-wrap;overflow-wrap:anywhere}
.bl-sum{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--soft);font-size:14px}
.bl-done{border-color:#CDE9DA;background:var(--ok-soft);margin-bottom:14px}
.bl-link{font-size:13px;background:var(--soft);border:1px solid var(--line);border-radius:8px;padding:6px 10px;overflow-wrap:anywhere;min-width:0}
.bl-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bl-row input[type=time]{width:auto}
.bl-picks .pick small{color:var(--muted);font-weight:500}
.bl-picks .pick[aria-pressed=true] small{color:var(--accent2)}

/* Studio reports and retention (Oct 20 2026; work-studio.js) */
.st-two > div{display:flex;flex-direction:column}
.st-two > div > .card{flex:1}
.st-slip td{vertical-align:middle}
.st-act{white-space:nowrap}
.st-act .btn{margin-left:6px}
.st-back{margin-top:12px;padding-top:12px;border-top:1px solid var(--line2)}
.st-back ul,.st-list{margin:6px 0 0;padding-left:18px}
.st-back li,.st-list li{margin:3px 0}
.st-cols{display:flex;align-items:flex-end;gap:10px;height:170px;padding-top:4px}
.st-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:0;gap:4px}
.st-bar{flex:1;display:flex;align-items:flex-end;justify-content:center;width:100%;min-height:0}
.st-col i{display:block;width:100%;max-width:46px;border-radius:8px 8px 3px 3px;background:var(--lav)}
.st-col.now i{background:var(--accent)}
.st-col b{font-size:13px;font-variant-numeric:tabular-nums}
.st-col small{font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.st-funnel{display:grid;gap:8px;margin-bottom:10px}
.st-funnel div{position:relative;display:flex;align-items:baseline;gap:8px;padding:8px 12px;border-radius:12px;overflow:hidden;background:var(--soft)}
.st-funnel div i{position:absolute;left:0;top:0;bottom:0;background:var(--soft2);z-index:0}
.st-funnel b,.st-funnel span{position:relative;z-index:1}
.st-funnel b{font-size:18px;font-variant-numeric:tabular-nums}
.st-funnel span{color:var(--muted);font-size:13px;font-weight:600}
.st-board .st-rank{width:28px;color:var(--muted);font-weight:700;font-variant-numeric:tabular-nums}
@media (max-width:520px){.st-cols{gap:5px;height:140px}.st-col small{font-size:10px}.st-act .btn{margin:4px 0 0 0}.st-act{white-space:normal;text-align:right}}
/* Locations (Oct 20 2026): the switcher in a screen's heading, and Settings → Locations. */
.locpick select { min-height: 40px; border-radius: 10px; font-weight: 600; max-width: 220px; }
.loc-row { cursor: default; }
.loc-ed { background: var(--soft); }
.loc-hours { display: grid; grid-template-columns: auto 1fr 1fr; gap: 6px 10px; align-items: center; max-width: 420px; }
.loc-hours input[type="time"]:disabled { opacity: .45; }
.loc-checks { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.loc-prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 12px; margin-top: 8px; }
table.view tr.tot td { border-top: 2px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- martial arts and kids' programs: belts, the Belts page, families and the kids' check-in (work.js, its own section) ---- */
.belt{position:relative;display:inline-block;flex:none;width:58px;height:14px;border-radius:3px;background:var(--b);border:1px solid rgba(0,0,0,.22);vertical-align:-2px;overflow:hidden;box-shadow:inset 0 -2px 0 rgba(0,0,0,.08)}
.belt.two::before{content:"";position:absolute;left:0;right:0;top:4px;height:4px;background:var(--b2)}
.belt .bbar{position:absolute;right:7px;top:0;bottom:0;width:20px;background:#1D1D1F;display:flex;align-items:stretch;justify-content:flex-end;gap:2px;padding:0 2px}
.belt .bbar.red{background:#C8312E}
.belt .bbar i{width:2px;background:#fff}
.rankchip{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;white-space:nowrap}
.rk-card .rk-mine+.rk-mine{border-top:1px solid var(--line2);margin-top:12px;padding-top:12px}
.rk-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rk-prog-bar{height:8px;border-radius:99px;background:var(--line2);margin-top:8px;overflow:hidden;max-width:420px}
.rk-prog-bar i{display:block;height:100%;border-radius:99px;background:var(--accent2)}
.rk-hist{margin-top:8px}
.rk-hist .log li{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.rk-give{margin-top:10px}.rk-give select{width:auto;max-width:100%}
.rk-prog{border:1px solid var(--line2);border-radius:12px;padding:12px;margin-bottom:12px;background:var(--card)}
.rk-head{align-items:flex-end;gap:10px;flex-wrap:wrap}
.rk-scroll{overflow-x:auto;margin:10px 0 6px}
.rk-table{border-collapse:collapse;width:100%;min-width:520px}
.rk-table th{font-size:11.5px;font-weight:600;color:var(--muted);text-align:left;padding:4px 6px}
.rk-table td{padding:4px 6px;border-top:1px solid var(--line2)}
.rk-table input[type=number]{width:76px}
.rk-table input[type=color]{width:40px;height:30px;padding:2px;border-radius:6px}
.rk-name{display:flex;align-items:center;gap:8px}.rk-name input{min-width:110px}
.rk-presets{flex-wrap:wrap;gap:6px;align-items:center}
.rk-ready{align-items:center}
.rk-ready .grow b a{color:inherit}
.rk-board .rk-step+.rk-step{border-top:1px solid var(--line2);margin-top:10px;padding-top:10px}
.rk-step-h{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.rk-names{display:flex;flex-wrap:wrap;gap:6px}
.rk-name-chip{position:relative;overflow:hidden;font-size:12.5px;font-weight:600;color:var(--ink);text-decoration:none;border:1px solid var(--line2);border-radius:8px;padding:4px 10px 6px;background:var(--soft)}
.rk-name-chip i{position:absolute;left:0;bottom:0;height:3px;background:var(--accent2);opacity:.7}
.rk-name-chip.ready{border-color:#CDE9DA;background:var(--ok-soft);color:var(--ok)}
.rk-stripes{letter-spacing:-1px;font-size:10px;color:var(--muted)}
.rk-class{flex-wrap:wrap;gap:12px;align-items:flex-end;margin-top:10px}
.fam-card .cards{gap:8px}
.fam-row .grow{display:block}
.kid-class{margin:0 0 18px}
.kid-h{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 10px;flex-wrap:wrap}
.kid-count{font-size:13px;color:var(--muted)}.kid-count b{font-size:18px;color:var(--ink)}
.kid-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.kid-tile{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;font:inherit;color:var(--ink);background:var(--card);border:1.5px solid var(--line2);border-radius:12px;padding:14px 10px 12px;min-height:150px;cursor:pointer;box-shadow:var(--shadow);transition:transform .12s ease,background .15s ease,border-color .15s ease}
.kid-tile:active{transform:scale(.97)}
.kid-tile b{font-size:17px;line-height:1.2}.kid-tile small{color:var(--muted);font-size:12px;min-height:14px}
.kid-av{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--soft);font-weight:700;font-size:16px;color:var(--ink);margin-bottom:4px}
.kid-av svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:2.6}
.kid-tile.here{background:var(--ok-soft);border-color:var(--ok)}
.kid-tile.here .kid-av{background:var(--ok)}
.kid-tile.gone{opacity:.55}
.kid-tile:disabled{cursor:default}
.kid-facts{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--muted);margin-top:2px}
.kid-off{color:var(--warn)}
.kid-allergy{font-size:11.5px;font-weight:700;color:var(--warn);background:var(--warn-soft);border-radius:6px;padding:1px 6px}
.kid-parent{font-size:11.5px;color:var(--muted)}
@media (max-width:600px){.kid-grid{grid-template-columns:repeat(2,1fr)}}
.rk-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0 2px}
.rk-line .rankchip span{white-space:nowrap}
.rk-sum{display:flex;align-items:center;gap:12px;flex-wrap:wrap;cursor:pointer;list-style:none;padding:2px 0}
.rk-sum::-webkit-details-marker{display:none}
.rk-sum::after{content:"›";margin-left:auto;color:var(--muted);font-size:18px;transition:transform .15s ease}
details[open]>.rk-sum::after{transform:rotate(90deg)}
details[open]>.rk-sum{margin-bottom:10px}
.rk-strip{display:inline-flex;gap:3px;flex-wrap:wrap}.rk-strip .belt{width:26px;height:10px}.rk-strip .belt .bbar{width:8px;right:3px;padding:0}.rk-strip .belt.two::before{top:3px;height:2px}
.rk-ready .meta{white-space:normal}
.rk-ready .racts{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
@media (max-width:640px){.rk-ready{flex-wrap:wrap}.rk-ready .grow{flex-basis:100%}.rk-ready .racts{justify-content:flex-start}}

/* ---- Numbers, the dashboard (Oct 26 2026, work-numbers.js; Omar's pick from design/numbers-dashboard) ----
   The dates, comparison and who on top (one line on a phone), four numbers, what's worth doing now, then two stacks:
   the running-total chart, what ohelloo brought and Ask elloo; what's coming up, the kind's bar chart and goals. On a
   phone the stacks become one column. Flat 12px cards on the lilac page, purple for what's picked. */
.nd-head{align-items:flex-end}
.nd-ctrls{align-items:center}
.nd-sel,.nd-date select,.nd-cust select{width:auto;height:36px;font-size:13px;font-weight:600;border-radius:8px;border-color:var(--line);padding-left:11px;padding-right:32px;box-shadow:none;background-size:16px}
.nd-sel.on{border-color:var(--lav);background-color:var(--soft2);color:var(--accent)}
.nd-date{display:flex;align-items:center;height:36px;border:1px solid var(--line);border-radius:8px;background:#fff;min-width:0}
.nd-date>span{display:flex;align-items:center;gap:7px;padding:0 11px;font-size:13px;font-weight:600;color:var(--ink);white-space:nowrap;border-right:1px solid var(--line);height:100%}
.nd-date svg{width:15px;height:15px;fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round}
.nd-date select{border:0;height:34px;background-color:transparent}
.nd-sum{display:none;width:100%;align-items:center;justify-content:space-between;gap:8px;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;font-size:13.5px;font-weight:600;color:var(--ink);cursor:pointer;text-align:left}
.nd-sum span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nd-sum svg{flex:none;width:12px;height:12px;color:var(--muted)}
.nd-pick{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-6px 0 10px;font-size:13px;color:var(--muted)}
.nd-pick input{width:auto;height:36px;font-size:13px}
.nd-meta{margin:-8px 0 14px;font-size:12.5px;color:var(--muted);display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.nd-chip{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:var(--accent);background:var(--soft2);border:0;border-radius:999px;padding:3px 6px 3px 10px;cursor:pointer}
.nd-chip span{font-size:14px;line-height:1;opacity:.7}
.nd-card-h{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;margin-bottom:10px}
.nd-card-h h3{margin:0;font-size:15px;font-weight:600;color:var(--ink)}
.nd-card-h small{font-size:12px;color:var(--muted)}
.nd-tsel{width:auto;max-width:100%;height:auto;border:0;padding:2px 24px 2px 0;font-size:15px;font-weight:600;color:var(--ink);background-color:transparent;box-shadow:none;background-position:right 2px center;background-size:16px}
.nd-seg button{padding:5px 9px;font-size:12px}
.nd-ic{flex:none;width:30px;height:30px;border-radius:8px;background:var(--soft2);display:grid;place-items:center}
.nd-ic svg,.nd-ti svg{width:17px;height:17px;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nd-kpis{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.nd-kpi{flex:1 1 calc(33.333% - 8px);background:var(--card);border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:2px;min-width:0;position:relative}
/* The cards (Nov 2 2026, Stripe-style): a small line under each number; Edit puts arrows and × on them. The last row stretches, so no gaps. */
.nd-khead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 10px}
.nd-khead h2{margin:0;font-size:16px;font-weight:600;color:var(--ink)}
.nd-khead .bar{display:flex;gap:8px}
.nd-chg{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:600;line-height:1.35;border-radius:99px;padding:2px 9px 2px 6px;white-space:nowrap;font-variant-numeric:tabular-nums}
.nd-chg svg{width:12px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.nd-chg.ok{background:var(--ok-soft);color:var(--ok)}
.nd-chg.warn{background:var(--warn-soft);color:var(--warn)}
.nd-chg.same{background:var(--soft);color:var(--muted);padding-left:9px}
.nd-spark{display:block;width:100%;height:34px;padding-top:8px;overflow:visible}
div.nd-spark{margin-top:auto}
.nd-sparkw{position:relative;margin-top:auto;touch-action:pan-y}
.nd-sl{position:absolute;top:8px;bottom:0;width:0;border-left:1px dashed #A59EB0;pointer-events:none}
.nd-sd{position:absolute;width:9px;height:9px;margin:-6.5px 0 0 -6.5px;border-radius:50%;background:var(--accent);border:2px solid #fff;box-sizing:content-box;pointer-events:none}
.nd-tt.nd-stip{top:auto;bottom:calc(100% + 6px);z-index:5;min-width:150px}
.nd-kpi.tap{cursor:pointer}
.nd-kpi.tap:hover{border-color:var(--lav)}
.nd-kpi.edit{border-style:dashed;border-color:var(--lav);cursor:grab}
.nd-kpi.edit.drag{opacity:.45}
.nd-kpi.edit.over{border-style:solid;border-color:var(--accent);box-shadow:0 0 0 2px var(--soft2)}
.nd-ktools{display:flex;gap:4px;flex:none}
.nd-kmv,.nd-kx{width:26px;height:26px;border-radius:7px;border:1px solid var(--line);background:var(--card);color:var(--ink);font-size:16px;line-height:1;display:grid;place-items:center;cursor:pointer;padding:0}
.nd-kmv:disabled{opacity:.35;cursor:default}
.nd-kx{color:var(--warn);font-size:17px}
.nd-kadd{flex:1 1 calc(33.333% - 8px);min-height:56px;padding:14px;border:1.5px dashed var(--lav);border-radius:12px;background:transparent;color:var(--accent);font-size:14px;font-weight:600;cursor:pointer}
.nd-kadd:hover,.nd-kadd[aria-expanded="true"]{background:var(--soft2)}
.nd-kpi.edit .nd-kpi-h{flex-wrap:wrap;row-gap:8px}
.nd-khint{margin:-4px 0 12px;font-size:12.5px;color:var(--muted)}
.nd-addc{margin-bottom:12px}
.nd-addg{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.nd-addg>div>span{display:block;font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}
.nd-addg .nd-ticks{display:flex;flex-direction:column;gap:6px}
.nd-item .nd-card-h .bar{display:flex;gap:6px;flex:none}
.nd-kpi-h{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:var(--ink)}
.nd-kpi-v{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:6px}
.nd-kpi-v b{font-size:26px;font-weight:650;letter-spacing:-.02em;line-height:1.2;font-variant-numeric:tabular-nums}
.nd-kpi small{font-size:12px;color:var(--muted)}
.nd-todo{margin-bottom:12px;container-type:inline-size}
.nd-todo-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.nd-it{display:flex;gap:12px;padding:2px 18px;border-left:1px solid var(--line2);min-width:0}
.nd-it:first-child{padding-left:0;border-left:0}
.nd-ti{flex:none;width:32px;height:32px;border-radius:9px;display:grid;place-items:center}
.nd-ti.t-warn{background:var(--warn-soft)} .nd-ti.t-warn svg{stroke:var(--warn)}
.nd-ti.t-gold{background:var(--gold-soft)} .nd-ti.t-gold svg{stroke:var(--gold-ink)}
.nd-ti.t-acc{background:var(--soft2)}
.nd-tx{min-width:0;display:flex;flex-direction:column;align-items:flex-start;line-height:1.4}
.nd-tx b{font-size:14px;font-weight:600}
.nd-tx small{font-size:12.5px;color:var(--muted)}
.nd-go{margin-top:6px;font-size:13px;font-weight:600;color:var(--accent);background:none;border:0;padding:0;cursor:pointer;text-decoration:none}
.nd-go:hover{text-decoration:underline}
@container (max-width:640px){
  .nd-todo-cols{grid-template-columns:minmax(0,1fr)}
  .nd-it{padding:12px 0;border-left:0;border-top:1px solid var(--line2)}
  .nd-it:first-child{border-top:0;padding-top:2px}
}
.nd-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:12px;align-items:start}
.nd-col{display:grid;gap:12px;min-width:0}
.nd-col>.card{margin:0}
.nd-lead{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.nd-lead b{font-size:32px;font-weight:700;letter-spacing:-.03em;line-height:1.15;font-variant-numeric:tabular-nums}
.nd-summary{margin:4px 0 0;font-size:13px;color:var(--muted);max-width:70ch}
.nd-summary b{color:var(--text);font-weight:600}
.nd-legend{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px;color:var(--muted);margin-top:10px}
.nd-legend i{display:inline-block;width:14px;height:3px;border-radius:2px;vertical-align:middle;margin-right:5px}
.nd-legend i.dash,.nd-tt .r i.dash{background:repeating-linear-gradient(90deg,var(--lav) 0 4px,transparent 4px 7px)}
.nd-legend i.pace{background:repeating-linear-gradient(90deg,var(--accent) 0 2px,transparent 2px 5px)}
.nd-legend i.dot{width:8px;height:8px;border-radius:50%;background:var(--gold)}
.nd-chartwrap{position:relative;margin-top:8px}
.nd-chartwrap svg{display:block;touch-action:pan-y;cursor:crosshair}
.nd-tt{position:absolute;top:6px;z-index:3;min-width:180px;max-width:260px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 11px;box-shadow:var(--shadow-hi);font-size:12.5px;pointer-events:none}
.nd-tt .d{font-weight:600;color:var(--ink);margin-bottom:4px}
.nd-tt .r{display:flex;align-items:center;gap:7px;color:var(--muted);white-space:nowrap}
.nd-tt .r b{color:var(--ink)}
.nd-tt .r i{width:12px;height:3px;border-radius:2px;flex:none}
.nd-tt .e{margin-top:6px;padding-top:6px;border-top:1px solid var(--line2);color:var(--text);display:flex;gap:6px}
.nd-tt .e::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--gold);margin-top:5px}
.nd-tt .e.auto::before{background:var(--accent2)}
.nd-src{margin-top:14px;border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.nd-src>small{font-size:13px;color:var(--muted);font-weight:500}
.nd-src-row{display:flex;gap:8px;margin-top:8px}
.nd-src-row>div{min-width:0;display:flex;flex-direction:column;gap:1px}
.nd-src-row b{font-size:18px;font-weight:650}
.nd-src-row span{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nd-src-row i{display:block;height:6px;border-radius:3px;margin-top:8px}
.nd-big{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin-bottom:6px}
.nd-big b{font-size:26px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.nd-big small{font-size:12px;color:var(--muted)}
.nd-bars{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:8px;align-items:end;margin-top:6px}
.nd-bcol{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;outline:none}
.nd-bval{font-size:12px;font-weight:600;color:var(--ink);white-space:nowrap;visibility:hidden;height:16px}
.nd-bcol.hi .nd-bval,.nd-bcol:hover .nd-bval,.nd-bcol:focus .nd-bval{visibility:visible}
.nd-track{width:100%;max-width:40px;height:140px;display:flex;align-items:flex-end;border-radius:10px;background:var(--line2)}
.nd-track>i{display:block;width:100%;border-radius:10px;background:#ECE4F6;transition:background .15s}
.nd-bcol.hi .nd-track>i{background:var(--accent)}
.nd-bcol.tap{cursor:pointer}.nd-item .nd-item-sum{margin:2px 0 10px;font-size:14px}.nd-item .nd-card-h{flex-wrap:nowrap;gap:8px}.nd-item .nd-card-h .nd-tsel{flex:1 1 auto;min-width:0;max-width:100%;text-overflow:ellipsis}.nd-item .nd-card-h .btn{flex:none}
.nd-bcol:hover .nd-track>i,.nd-bcol:focus .nd-track>i{background:var(--accent2)}
.nd-blab{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;text-align:center;line-height:1.25}
.nd-blab small{display:block;font-size:11px}
.nd-bcol.hi .nd-blab{color:var(--accent);font-weight:600}
.nd-cbars .nd-track{height:96px;background:none}
.nd-typ{display:flex;align-items:flex-end;width:100%;border-radius:8px;background:var(--line2);overflow:hidden}
.nd-typ i{display:block;width:100%;background:var(--accent2);border-radius:8px}
.nd-cbars .nd-bcol.lo .nd-typ{background:var(--gold-soft)}
.nd-cbars .nd-bcol.lo .nd-typ i{background:var(--gold)}
.nd-cbars .nd-bcol.lo .nd-blab{color:var(--gold-ink);font-weight:600}
.nd-key{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:11.5px;color:var(--muted);margin-top:8px}
.nd-key i{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.nd-note{margin:10px 0 0;font-size:12.5px;color:var(--muted)}
.nd-note b{color:var(--text);font-weight:600}
.nd-ob{display:grid;grid-template-columns:30px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line2);font-size:13.5px}
.nd-ob .nd-ic{width:28px;height:28px}
.nd-ob .n{color:var(--muted);text-align:right;min-width:3ch}
.nd-ob b{text-align:right;white-space:nowrap}
.nd-goal{padding:10px 0;border-bottom:1px solid var(--line2)}
.nd-goal:last-of-type{border-bottom:0}
.nd-goal-h{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13.5px}
.nd-goal small{font-size:12px;color:var(--muted)}
.nd-gbar{position:relative;height:10px;border-radius:5px;background:var(--line2);margin:8px 0 6px}
.nd-gbar .fill{position:absolute;left:0;top:0;bottom:0;border-radius:5px;background:var(--accent)}
.nd-gbar .tick{position:absolute;top:-4px;bottom:-4px;width:2px;border-radius:1px;background:var(--ink)}
.nd-gbar .tick.goal{background:var(--gold)}
.nd-qs{display:flex;flex-wrap:wrap;gap:6px}
.nd-q{font:inherit;font-size:12.5px;font-weight:500;color:var(--accent);background:var(--soft2);border:0;border-radius:999px;padding:6px 11px;cursor:pointer;text-align:left}
.nd-q[aria-pressed=true]{background:var(--accent);color:#fff}
.nd-answer{margin-top:10px;padding:11px 13px;background:var(--soft);border-radius:10px;font-size:13.5px;line-height:1.55}
.nd-answer small{display:block;font-size:11.5px;font-weight:600;color:var(--accent);margin-bottom:2px}
.nd-more{margin-top:26px}
.nd-cust{margin-bottom:14px;border-color:var(--lav);display:grid;gap:14px}
.nd-crow>span{display:block;font-size:12.5px;color:var(--muted);font-weight:500;margin-bottom:6px}
/* An app's logo beside a number it brings in (On Square), and Square's own black Connect button (work-square/). */
.nd-logo{width:16px;height:16px;flex:none;vertical-align:-3px;margin-right:7px;border-radius:3px}
.nd-kpi-h>span{display:inline-flex;align-items:center;min-width:0}
.nd-sqrow{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap}
.nd-sqrow p.bad{color:var(--warn)}
.nd-sqbtn{display:inline-flex;align-items:center;gap:8px;background:#000;color:#fff;border-radius:8px;padding:8px 14px;font-size:13.5px;font-weight:600;text-decoration:none;white-space:nowrap}
.nd-sqbtn:hover{background:#262626}
.nd-sqbtn .nd-logo{filter:invert(1);margin:0}
/* Venmo username on Settings → Selling at the counter: the box and its own Save on one line. */
.t-venrow{display:flex;gap:8px;align-items:center}
.t-venrow input{flex:1;min-width:0}
/* Square's card in Square's black, ohelloo's money in ohelloo's purple: the line and its fill follow --accent and --soft2. */
.nd-kpi[data-card=square]{--accent:#111;--soft2:#ECECEC}
/* Where sales came from: ohelloo against Square, one bar. */
.nd-split{background:var(--card,#fff);border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:0 0 12px}
.nd-split-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.nd-split-k{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;color:var(--ink)}
.nd-split-k .nd-logo{margin:0}
.nd-split-k b{font-size:15px}
.nd-split-k small{color:var(--muted);font-size:12px}
.nd-split-bar{display:flex;height:10px;border-radius:99px;overflow:hidden;gap:2px;background:var(--line2,#eee)}
.nd-split-bar i{display:block;height:100%}
.nd-split-bar .me{background:var(--accent)}
.nd-split-bar .sq{background:#111}
.nd-split-bar .ct{background:var(--lav,#C9B4E4)}
/* Items online vs Square: one row each, a purple bar and a black one on the same scale. */
.nd-pkey{display:flex;gap:14px;font-size:12px;color:var(--muted);margin:0 0 8px}
.nd-pkey span{display:inline-flex;align-items:center;gap:5px}
.nd-pkey i{width:10px;height:10px;border-radius:3px;display:inline-block}
.nd-pkey i.me{background:var(--accent)}.nd-pkey i.sq{background:#111}
.nd-pkey .nd-logo{width:13px;height:13px;margin:0}
.nd-pairs{display:grid;gap:8px}
.nd-prow{display:grid;grid-template-columns:minmax(90px,1.1fr) 1fr 1fr;gap:8px;align-items:center;font-size:13px}
.nd-prow + .nd-prow{border-top:1px solid var(--line2,#eee);padding-top:8px}
.nd-pname{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
.nd-prow.only .nd-pname{font-style:italic}
.nd-sqb{display:flex;align-items:center;gap:6px;min-width:0}
.nd-sqb>span{flex:1;min-width:0;height:8px;border-radius:99px;background:var(--line2,#eee);overflow:hidden}
.nd-sqb>span>i{display:block;height:100%;border-radius:99px}
.nd-sqb.me i{background:var(--accent)}.nd-sqb.sq i{background:#111}
.nd-sqb b{flex:none;min-width:28px;text-align:right;font-size:12px;font-weight:600;color:var(--ink)}
.nd-item-sq{display:flex;align-items:center;gap:6px;margin:-4px 0 12px;font-size:13px;color:var(--ink)}
.nd-item-sq .nd-logo{margin:0}
.nd-sqmap{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px 14px}
.nd-sqmap label{display:grid;gap:4px;font-size:13px;color:var(--ink)}
.nd-sqmap select{font:inherit;padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:#fff}
.nd-parts{display:flex;flex-wrap:wrap;gap:6px}
.nd-part{font:inherit;font-size:12.5px;font-weight:500;border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:999px;padding:5px 11px;cursor:pointer}
.nd-part[aria-pressed=true]{color:#fff;background:var(--accent);border-color:var(--accent)}
.nd-part:disabled{opacity:.45;cursor:not-allowed}
.nd-cgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.nd-cgrid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.nd-cgrid label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;color:var(--muted);font-weight:500;min-width:0}
.nd-cgrid select,.nd-cgrid input{width:100%;height:38px;font-size:13.5px}
.nd-ticks{display:flex;flex-wrap:wrap;gap:8px 18px}
.nd-ticks label{display:flex;align-items:center;gap:7px;font-size:13.5px;color:var(--text);cursor:pointer}
.nd-ticks input{width:16px;height:16px;accent-color:var(--accent)}
.nd-fresh{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:12px;align-items:start}
.nd-fresh .card{margin:0}
.nd-fresh h3{margin:0 0 4px;font-size:18px;font-weight:650;color:var(--ink)}
.nd-steps{display:grid;gap:10px;margin-top:14px}
.nd-steps>div{display:flex;gap:12px;font-size:13.5px}
.nd-steps b{flex:none;width:120px;font-size:12px;font-weight:600;color:var(--accent);padding-top:2px}
.nd-import{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line2)}
.nd-check{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line2);font-size:13.5px}
.nd-check:last-child{border-bottom:0}
.nd-check>span:nth-child(2){flex:1}
.nd-check .tk{flex:none;width:20px;height:20px;border-radius:50%;border:1.5px solid var(--lav);display:grid;place-items:center}
.nd-check.done .tk{background:var(--ok);border-color:var(--ok)}
.nd-check.done .tk svg{width:12px;height:12px;fill:none;stroke:#fff;stroke-width:3}
.nd-check.done>span:nth-child(2){color:var(--muted);text-decoration:line-through}
.nd-pbar{height:6px;border-radius:3px;background:var(--line2);overflow:hidden;margin:4px 0}
.nd-pbar i{display:block;height:100%;background:var(--ok)}
@media (max-width:1000px){
  .nd-kpi,.nd-kadd{flex-basis:calc(50% - 6px)}
  .nd-grid,.nd-fresh{grid-template-columns:minmax(0,1fr)}
  /* One column: the two stacks interleave, so the chart and what's coming come first. */
  .nd-grid .nd-col{display:contents}
  .nd-chart{order:1} .nd-coming{order:2} .nd-brought{order:3} .nd-barcard{order:4} .nd-goals{order:5} .nd-ask{order:6}
  .nd-cgrid,.nd-cgrid.three{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  .nd-sum{display:flex}
  .nd-head .nd-ctrls{display:none;width:100%}
  .nd-head .nd-ctrls.open{display:flex}
  /* The summary bar above already says the dates (Omar, Nov 2 2026): open, it's just the choices, dates and comparison side by side. */
  .nd-date{flex:1 1 140px}
  .nd-date>span{display:none}
  .nd-date select{width:100%}
  .nd-ctrls>.nd-sel{flex:1 1 140px}
  .nd-kpis{gap:10px}
  .nd-kpi{padding:12px}
  .nd-kpi-v b{font-size:21px}
  /* Edit on a phone: the arrows and × get their own row over the name. */
  .nd-kpi.edit .nd-ktools{order:-1;width:100%}
  .nd-kpi.edit .nd-kx{margin-left:auto}
  .nd-ic{width:26px;height:26px}
  .nd-lead b{font-size:28px}
  .nd-track{height:110px}
  .nd-cgrid,.nd-cgrid.three{grid-template-columns:minmax(0,1fr)}
  .nd-steps b{width:96px}
}
@media (prefers-reduced-motion:reduce){.nd-track>i{transition:none}}

/* Leads (work-leads.js, Oct 29 2026): the board's four columns (New, Quoted, Won, Lost) as flat 12px boxes on the
   lilac page, side by side on a computer and swiped across on a phone; the list as a table on a computer and rows on a
   phone; one lead in a sheet from the bottom on a phone, a panel at the right on a computer. */
.lb-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:none;margin:0 -16px;padding:0 16px 6px;scroll-snap-type:x mandatory;scroll-padding:0 16px}
.lb{display:grid;grid-template-columns:repeat(4,minmax(78vw,1fr));gap:10px;align-items:start}
.lb-col{background:var(--soft);border:1px solid var(--line2);border-radius:12px;padding:10px;min-width:0;scroll-snap-align:start;min-height:140px}
.lb-col h3{display:flex;align-items:center;justify-content:space-between;margin:2px 4px 10px;font-size:13.5px;font-weight:600}
.lb-col h3 span{color:var(--muted);font-weight:600;font-size:12.5px}
.lb-cards{display:grid;gap:8px}
.lb-card{display:block;width:100%;text-align:left;font:inherit;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px 12px;cursor:pointer;color:inherit;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.lb-card:hover{border-color:#D6CDE2}
.lb-card.on{border-color:var(--accent)}
.lb-card b{display:block;font-size:14px;font-weight:600}
.lb-card .lb-what{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;color:var(--text);margin-top:2px}
.lb-card .lb-meta,.lb-card .lb-why{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.lb-card .chip{margin-top:6px}
.lb-card.drag-src{opacity:.35}
.lb-col.drop-on{outline:2px dashed var(--accent);outline-offset:-2px;background:var(--soft2)}
body.board-dragging{user-select:none;-webkit-user-select:none;cursor:grabbing}
.lb-none{margin:4px;font-size:12.5px;color:var(--faint)}
.lb-foot{margin:10px 2px 0}
.lb-table{display:none;padding:4px 12px;overflow-x:auto}
.lb-table tr{cursor:pointer}
.lb-table td:first-child{white-space:nowrap}
.lb-table tbody tr:hover td{background:var(--soft)}
.lb-list .row{width:100%;text-align:left;font:inherit}
.lb-dim{position:fixed;inset:0;z-index:40;background:rgba(26,18,37,.32)}
.lb-panel{position:fixed;left:0;right:0;bottom:0;z-index:41;max-height:88vh;overflow:auto;background:#fff;border-radius:18px 18px 0 0;padding:16px 16px calc(20px + env(safe-area-inset-bottom,0px));box-shadow:var(--shadow-hi);display:grid;gap:12px;align-content:start}
.lb-top{display:flex;align-items:center;gap:10px}
.lb-top h2{flex:1;margin:0;font-size:18px;line-height:1.25;overflow-wrap:anywhere}
.lb-top .x{width:34px;height:34px;border:0;background:#F3F0F7;border-radius:8px;font-size:18px;line-height:1;cursor:pointer;color:var(--ink)}
.lb-h{margin:4px 0 0;font-size:13px;font-weight:600;color:var(--muted)}
.lb-moves .pick[aria-pressed=true]{border-color:var(--accent);background:var(--soft2);color:var(--ink)}
.lb-how{margin:0}
.lb-lost{display:grid;gap:10px;background:var(--soft);border-color:var(--line2)}
.lb-log{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:13.5px}
.lb-log li{display:flex;flex-direction:column}
.lb-log small{color:var(--muted);font-size:12px}
/* Prospecting (Get regulars, work-prospects.js): the line on top of the board, and a prospect's facts and email */
.pro-line{margin:0 0 12px;font-size:13.5px}
.pro-panel{display:grid;gap:8px}
.pro-panel p{margin:0}
.pro-facts{margin:0;padding-left:18px;display:grid;gap:4px;font-size:13.5px}
.pro-facts a{color:var(--muted);font-size:12px;margin-left:4px}
.pro-panel textarea{width:100%;font:inherit;line-height:1.45}
@media (min-width:700px){
  .lb-table{display:block}
  .lb-list{display:none}
}
@media (min-width:900px){
  .lb-wrap{margin:0;padding:0 0 6px;scroll-snap-type:none}
  .lb{grid-template-columns:repeat(4,minmax(200px,1fr))}
  .lb-panel{left:auto;top:0;bottom:0;right:0;width:420px;max-height:none;border-radius:0;border-left:1px solid var(--line);padding:20px 22px}
}
/* The monthly report (Get regulars, work-monthly.js): look A, one card split by thin lines, purple text links. */
.mr-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.mr-banner p{margin:3px 0 0}
.mr-link{color:var(--accent);font-weight:600;text-decoration:none;white-space:nowrap}
.mr-link:hover{text-decoration:underline}
.mr-h{margin:6px 0 8px}
.mr-sum{font-size:17px;line-height:1.5;color:var(--ink);margin:0 0 16px;max-width:640px}
.mr-lines{padding:0;overflow:hidden}
.mr-row{display:grid;grid-template-columns:1fr auto;gap:2px 14px;padding:13px 16px}
.mr-row+.mr-row{border-top:1px solid var(--line2)}
.mr-row b{font-size:18px;text-align:right}
.mr-row small{grid-column:1 / -1;color:var(--muted)}
.mr-next{margin-top:14px}
.mr-next h3{margin:0 0 6px;font-size:15px}
.mr-next p{margin:0}
.mr-more{font-size:15px;margin:22px 0 8px}
.mr-months{display:flex;flex-wrap:wrap;gap:8px 18px}

/* Your website (Oct 29 2026): their project page with ohelloo inside Work, filling the screen below the heading (it
   scrolls on its own, so its pop-ups and editor stay in view), and Home's card while Omar is waiting on something. */
.site-frame{display:block;width:100%;height:calc(100dvh - var(--tab) - 130px - env(safe-area-inset-bottom,0px));min-height:480px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}
@media (min-width:900px){.site-frame{height:calc(100dvh / var(--z) - 120px)}}
/* Full screen stays in Work (Nov 3 2026): the same page fills the window, with a slim bar to close it. */
.site-full-bar{display:none}
.site-box.full{position:fixed;inset:0;z-index:70;background:var(--bg);display:flex;flex-direction:column;padding:max(8px,env(safe-area-inset-top,0px)) 0 env(safe-area-inset-bottom,0px)}
.site-box.full .site-full-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 16px 8px}
.site-box.full .site-full-bar b{font-size:15px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.site-box.full .site-frame{flex:1;height:auto;min-height:0;border-radius:0;border-width:1px 0 0}
/* A panel over Work (Nov 3 2026): Stripe's form for a plan, the plan picker, and the example pages (`full`). */
.wk-over{position:fixed;inset:0;z-index:80;background:rgba(26,18,37,.45);display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:max(16px,env(safe-area-inset-top,0px)) 16px 24px}
.wk-over-box{background:var(--card);color:var(--ink);width:100%;max-width:560px;border-radius:14px;padding:14px 18px 20px;box-shadow:var(--shadow-hi);margin:auto 0}
.wk-over-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.wk-over-top b{font-size:16px}
.wk-over-x{background:none;border:0;font-size:26px;line-height:1;color:var(--muted);cursor:pointer;padding:4px 8px;border-radius:8px}
.wk-over-x:focus-visible{outline:3px solid var(--lav)}
.wk-over.full{padding:0;background:var(--bg)}
.wk-over.full .wk-over-box{max-width:none;height:100%;border-radius:0;padding:max(8px,env(safe-area-inset-top,0px)) 0 0;display:flex;flex-direction:column;box-shadow:none;margin:0}
.wk-over.full .wk-over-top{padding:0 12px 0 16px;margin-bottom:6px}
.wk-over.full .wk-over-body{flex:1;min-height:0}
.wk-over-frame{display:block;width:100%;height:100%;border:0;border-top:1px solid var(--line);background:var(--bg)}
.wk-pay-form{min-height:420px}
.plan-picks{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.plan-pick{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;border:1px solid var(--line);border-radius:12px;background:var(--card);padding:12px 14px;cursor:pointer;font:inherit;color:var(--ink)}
.plan-pick[aria-pressed="true"]{border-color:var(--accent2);background:var(--soft2);box-shadow:0 0 0 2px var(--soft2)}
.plan-pick b{font-size:15px}
.plan-price{font-size:22px;font-weight:800;color:var(--ink)}
.plan-price small{font-size:13px;font-weight:500;color:var(--muted)}
.plan-pick em{font-style:normal;font-size:13px;color:var(--muted);line-height:1.35}
@media (max-width:420px){.plan-picks{grid-template-columns:1fr}}
/* Receipts for their ohelloo plan (Settings → Payments → See receipts): one row a payment, lines only between rows. */
.rcpt{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
.rcpt + .rcpt{border-top:1px solid var(--line2)}
.rcpt:first-child{padding-top:0}.rcpt:last-child{padding-bottom:0}
.rcpt span{display:flex;flex-direction:column;gap:2px;min-width:0}
.rcpt b{font-variant-numeric:tabular-nums}
.rcpt em{font-style:normal;font-size:13px;color:var(--muted)}
/* A project open on a computer (Omar, Nov 2 2026: "reformat projects so they take up the space on the page"): no page
   width limit or centring, one slim heading row, and the project fills the rest, edge to edge beside the menu. */
@media (min-width:900px){
  body.site-mode .main,body.site-mode.rail-min .main{max-width:none;margin-right:0;padding:10px 16px 0}
  body.site-mode .main{margin-left:220px}
  body.site-mode.rail-min .main{margin-left:64px}
  body.site-mode .site-head{flex-wrap:nowrap;align-items:center;margin:0 0 10px}
  body.site-mode .site-head>div:first-child{display:flex;align-items:baseline;gap:14px;min-width:0}
  body.site-mode .site-head h1{font-size:19px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.site-mode .site-head .proj-back{margin:0;white-space:nowrap}
  body.site-mode .site-frame{height:calc(100dvh / var(--z) - 66px)}
  body.site-mode .main>.miss{display:none}
}
/* Very wide screens (Omar, Nov 2 2026: "cap pages at a size that works best"): a project stops at --wide (1680px),
   the same as every other Work page, and sits centred in the space beside the menu. */
@media (min-width:1400px){
  body.site-mode .main,body.site-mode.rail-min .main{max-width:var(--wide)}
  body.site-mode .main{margin-left:max(220px,calc(220px + (100vw / var(--z) - 220px - var(--wide)) / 2))}
  body.site-mode.rail-min .main{margin-left:max(64px,calc(64px + (100vw / var(--z) - 64px - var(--wide)) / 2))}
}
/* Your projects (Oct 30 2026): one card each, its picture on top, its own count in the corner */
.proj-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.card.proj{position:relative;display:flex;flex-direction:column;gap:10px;padding:12px;text-decoration:none;color:inherit;margin:0}
.card.proj:hover{border-color:var(--lav)}
.proj-th{aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:var(--soft2);display:grid;place-items:center;color:var(--accent)}
.proj-th img{width:100%;height:100%;object-fit:cover;display:block}
.proj-th svg{width:34px;height:34px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
/* A website's card: its newest version drawn at four times the card's width and shrunk to fit, so it looks like the
   page on a computer (on a phone's narrow cards, like a tablet). Clicks go to the card, never the page. */
.proj-live{position:relative;display:block;background:#fff}
.proj-live iframe{position:absolute;top:0;left:0;width:400%;height:400%;border:0;transform:scale(.25);transform-origin:0 0;pointer-events:none;background:#fff}
/* Something ohelloo is setting up with no page yet (a Google profile): a card to know about, not to open. */
/* A Google profile's picture (work.js gpPic): their listing on a map, the way Google Maps shows one, sized to the card
   (cqw), like the Start a project example. Google's own colours here: it's a picture of Google. */
.proj-th.gp{position:relative;display:block;container-type:inline-size;background-color:#E4EEE7;background-image:repeating-linear-gradient(90deg,transparent 0 17cqw,#fff 17cqw 19.5cqw),repeating-linear-gradient(0deg,transparent 0 13cqw,#fff 13cqw 15.5cqw);color:#202124}
.gp-pin{position:absolute;left:12cqw;top:40%;width:8cqw;height:8cqw;border-radius:50% 50% 50% 0;background:#D2493F;transform:rotate(-45deg)}
.gp-pin::after{content:"";position:absolute;inset:2.6cqw;border-radius:50%;background:#fff}
.gp-card{position:absolute;top:7%;right:4cqw;bottom:7%;width:64cqw;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:2.6cqw;padding:3.5cqw 4.5cqw;border-radius:3cqw;background:#fff;box-shadow:0 1cqw 4cqw rgba(32,33,36,.16);font-family:Roboto,Arial,var(--sans);text-align:left}
.gp-top{display:flex;align-items:center;gap:2.5cqw;min-width:0}
.gp-top img,.gp-mono{width:11cqw;height:11cqw;flex:none;border-radius:1.6cqw;object-fit:cover}
.gp-mono{display:grid;place-items:center;font-size:4cqw;font-weight:700}
.gp-top b{min-width:0;font-size:5.4cqw;line-height:1.15;font-weight:500;color:#202124;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.gp-what{font-size:3.9cqw;color:#5F6368;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gp-acts{display:flex;justify-content:space-between;gap:1cqw;margin-top:.5cqw}
.gp-acts span{display:grid;justify-items:center;gap:1cqw;font-size:3.2cqw;font-weight:500;color:#1A73E8}
.gp-acts i{display:grid;place-items:center;width:8.6cqw;height:8.6cqw;border:1px solid #DADCE0;border-radius:50%}
.gp-acts svg{width:4.4cqw;height:4.4cqw;fill:none;stroke:#1A73E8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.card.proj.wait{cursor:default}
/* The phone assistant's picture (Nov 2 2026, Omar: the lone icon was lackluster): a call being answered, drawn like the
   Google profile's: a ringing phone badge, and a short made-up exchange in a card with a live sound wave. */
.proj-th.ph{position:relative;display:block;container-type:inline-size;background:linear-gradient(135deg,#F1EAF9,#E2D3F4)}
.ph-ring{position:absolute;left:19.5cqw;top:50%;width:15cqw;height:15cqw;margin:-7.5cqw 0 0 -7.5cqw;display:grid;place-items:center;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3.2cqw rgba(255,255,255,.6),0 0 0 6.6cqw rgba(255,255,255,.3)}
.ph-ring svg{width:7cqw!important;height:7cqw!important;stroke:#fff!important;stroke-width:2!important}
.ph-card{position:absolute;top:9%;right:4.5cqw;bottom:9%;width:56cqw;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:2.4cqw;padding:3.2cqw 3.8cqw;border-radius:3cqw;background:#fff;box-shadow:0 1cqw 4cqw rgba(54,26,92,.16);text-align:left}
.ph-top{display:flex;align-items:center;gap:1.8cqw;font-size:3.3cqw;font-weight:700;color:var(--ink)}
.ph-live{width:1.9cqw;height:1.9cqw;border-radius:50%;background:#2DA66A;flex:none}
.ph-wave{display:flex;align-items:center;gap:.7cqw;margin-left:auto;height:4cqw}
.ph-wave i{display:block;width:.8cqw;border-radius:1cqw;background:var(--accent);opacity:.7}
.ph-bub{max-width:88%;padding:1.5cqw 2.4cqw;border-radius:2.6cqw;font-size:3.1cqw;line-height:1.3}
.ph-bub.them{align-self:flex-start;background:#F1EEF4;color:var(--ink);border-bottom-left-radius:.8cqw}
.ph-bub.us{align-self:flex-end;background:var(--accent);color:#fff;border-bottom-right-radius:.8cqw}
@media (prefers-reduced-motion:no-preference){.ph-wave i{animation:ph-wave 1.1s ease-in-out infinite alternate}.ph-wave i:nth-child(2n){animation-delay:-.4s}.ph-wave i:nth-child(3n){animation-delay:-.75s}}
@keyframes ph-wave{from{transform:scaleY(.45)}to{transform:scaleY(1)}}
.card.proj.wait:hover{border-color:var(--line)}
@media (max-width:560px){.proj-grid{grid-template-columns:1fr 1fr;gap:10px}.card.proj{padding:10px;gap:8px}.proj-t b{font-size:14px}.proj-t em{font-size:12.5px}}
.proj-t{display:grid;gap:2px;min-width:0}
.proj-t b{font-size:15px;color:var(--ink)}
.proj-t em{font-style:normal;font-size:13px;color:var(--muted)}
/* A project's count sits by its name as a soft pill, off the picture (Omar, Nov 2 2026). */
.proj-t b{display:flex;align-items:center;gap:8px;min-width:0}
.card.proj .badge{background:var(--soft2);color:var(--accent);box-shadow:inset 0 0 0 1px var(--lav)}
.proj-back{display:inline-block;margin-bottom:4px;font-size:13px;font-weight:600;color:var(--accent);text-decoration:none}
/* Start a project: what ohelloo makes, each with its example and Request (its questions open in the card) */
.proj-shop-h{margin:26px 0 2px}
.proj-shop{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;align-items:start;margin-top:10px}
.card.shop{display:flex;flex-direction:column;gap:10px;padding:12px;margin:0}
.shop-pic{position:relative}
.shop-pic small{position:absolute;left:8px;bottom:8px;background:rgba(255,255,255,.92);color:var(--muted);font-size:11px;font-weight:600;padding:2px 7px;border-radius:999px}
.card.shop.open .shop-pic{max-width:420px}
.card.shop.open{grid-column:1/-1;border-style:solid;border-color:var(--lav)}
.card.shop .bar{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.proj-req{display:grid;gap:14px}
.proj-q{display:grid;gap:8px}
.proj-q b{font-size:14px;color:var(--ink)}
.proj-q textarea{width:100%;font:inherit;border:1px solid var(--line);border-radius:10px;padding:10px;resize:vertical}
.proj-sent{margin:0;color:var(--ok, #1F7A4D);font-weight:600;font-size:13.5px}
/* elloo above Start a project (work-elloo.js): its questions with answers to tap, then what goes to Omar */
.elloo-card{margin:18px 0 0}
.elloo-card .ask-head{flex-wrap:wrap}
.elloo-card .ask-head>div{flex:1 1 220px}
.elloo-card .ask-head .btn{flex:none}
/* Get help: elloo's "thinking" line (elloo-mark.css) sits just above the box, inside the panel's margins. */
#help .et-status.el-live{margin:6px 14px 2px}
.elloo-picks{gap:6px;margin-top:-2px}
.elloo-brief{border:1px solid var(--line);border-radius:12px;padding:12px 14px;display:grid;gap:8px;background:var(--card);margin-bottom:10px}
.elloo-eye{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--accent)}
.elloo-brief dl{margin:0;display:grid;grid-template-columns:max-content 1fr;gap:4px 14px;font-size:14px}
.elloo-brief dt{color:var(--muted)}
.elloo-brief dd{margin:0;color:var(--ink)}
.elloo-brief ul{margin:0;padding-left:18px;font-size:14px;color:var(--ink);display:grid;gap:2px}
.elloo-brief p{margin:0}
.elloo-note{display:grid;gap:6px}
.elloo-note b{font-size:14px;color:var(--ink)}
.elloo-note textarea{width:100%;min-height:64px;font:inherit;border:1px solid var(--line);border-radius:10px;padding:10px;resize:vertical}
.elloo-brief .bar{display:flex;flex-wrap:wrap;gap:8px}
.elloo-sent{margin:0 0 10px;color:var(--ok, #1F7A4D);font-weight:600;font-size:14px}
@media (max-width:560px){.elloo-brief dl{grid-template-columns:1fr;gap:0}.elloo-brief dd+dt{margin-top:6px}.elloo-card .ask-head .btn{margin-left:40px}}
/* On a phone their page runs edge to edge, full width as on their link, not a box inside Work's margins (Oct 30 2026). */
@media (max-width:899px){.site-frame{width:calc(100% + 32px);margin:0 -16px;border-width:1px 0 0;border-radius:0}}
.site-ask{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-bottom:16px}
.site-ask .sa-face{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex:none;background:var(--soft2);color:var(--accent);font-weight:700}
.site-ask .sa-t{flex:1 1 260px;min-width:0}
.site-ask .sa-t b{display:block;color:var(--ink);font-size:15px}
.site-ask .sa-t p{margin:2px 0 0;color:var(--muted);font-size:13.5px}


/* ---- Styling pass (Oct 30 2026): one look across every tab and Settings page ----
   Omar: "go through all the tabs and settings so everything looks consistent. Don't really remove anything, but
   styling." Nothing here hides a word; it moves hints under what they explain and keeps rows in line. */
/* A tick box's grey explanation goes on its own line under the label, not trailing beside it. */
.tick > span > .small.muted,.tick > span > small.muted,.tick > span > .muted.small{display:block;margin-top:2px;font-weight:400;font-size:12.5px;line-height:1.4}
.tick > span{min-width:0}
/* A Settings part's heading, then its grey line underneath (not run on beside it). Payments is drawn by its own session. */
.set-pane:not(#set-payments) h2 > small{display:block;margin-top:3px;font-size:13px;line-height:1.4;font-weight:400}
/* Boxes side by side line up at the top, so a hint under one box never pushes its neighbour down. */
.bar:has(> label.f){align-items:flex-start}
.lrow:has(> label.f){align-items:start!important;column-gap:12px;row-gap:12px}
.lrow > label.f input,.lrow > label.f select,.lrow .bar > label.f input,.lrow .bar > label.f select{height:44px}
@media (max-width:560px){
  .lrow[data-row=team]{grid-template-columns:minmax(0,1fr)!important}
  /* A form's line on a phone: its name and kind on one line, the unit and "needed" under them. */
  .opt-card.fe .lrow{grid-template-columns:minmax(0,1fr) 112px 34px!important}
  .opt-card.fe .lrow [data-fx=label]{grid-column:1;grid-row:1}
  .opt-card.fe .lrow [data-fx=kind]{grid-column:2;grid-row:1}
  .opt-card.fe .lrow > .x{grid-column:3;grid-row:1}
  .opt-card.fe .lrow [data-fx=unit]{grid-column:1;grid-row:2}
  .opt-card.fe .lrow > .tick{grid-column:2/4;grid-row:2;align-self:center}
}
/* Timesheet on a phone: each day is one line of day and hours, with its clock-in and clock-out times underneath,
   instead of five squeezed columns. */
@media (max-width:560px){
  table.sheetdays,table.sheetdays tbody,table.sheetdays thead{display:block}
  table.sheetdays tr{display:grid;grid-template-columns:minmax(0,1fr) repeat(2,minmax(56px,auto));column-gap:12px;row-gap:2px;padding:9px 0;border-bottom:1px solid var(--soft2)}
  table.sheetdays.drv tr{grid-template-columns:minmax(0,1fr) repeat(3,minmax(48px,auto))}
  table.sheetdays thead tr{border-bottom-color:var(--line)}
  table.sheetdays th,table.sheetdays td{padding:0;border:0}
  table.sheetdays tr > :nth-child(2){grid-column:1/-1;grid-row:2;font-size:13px}
  table.sheetdays tbody tr > :nth-child(2){color:var(--muted)}
  table.sheetdays tr.tot > :nth-child(2){display:none}
}
/* Home's to-do strip: as many across as fit, each wide enough for its words on one line, the last row stretched so no
   empty boxes are left; space above and below it wherever Home puts it. Number tiles the same: no empty quarter. */
.needs{display:flex;flex-wrap:wrap;margin:14px 0 6px}
.need{flex:1 1 300px;min-width:0}
.tiles{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
/* A table that scrolls sideways on a phone keeps its first column readable instead of breaking words into stacks. */
@media (max-width:600px){.scrollx > table.view{min-width:500px}}
/* The example business's note fits one line on a phone. */
@media (max-width:420px){.demo-note{font-size:11.5px;padding:5px 8px;text-wrap:balance}}
@media (min-width:360px) and (max-width:420px){body.demo .main{padding-top:44px}}
/* A half-hour block on the calendar is one line tall: its time, name and service on one line, not a second line cut in
   half. */
.tblock.short{padding:3px 7px;white-space:nowrap;text-overflow:ellipsis}
.tblock.short small{display:inline;margin-left:5px}
/* A row's time column: "to 11:30 am" stays on one line. */
.row .time{width:72px}
.row .time small{white-space:nowrap}
/* Messages: the time sits level with the name on every row, with any tag (new, Urgent, Not counted) under it. */
.callrow summary > .end,a.row[href^="#inbox/"] > .end{align-self:flex-start;padding-top:1px}
/* Sell on a phone: the day's line gets the full width, with Gift cards, Stock and Saved on the line under the title. */
@media (max-width:560px){.t-head{flex-wrap:wrap}.t-head > div:first-child{flex:1 1 100%}}
/* Settings → Texting: the opening line at the size of every other intro, and its small headings as clear group headings
   with their grey line under them. */
#txForm > p:first-child{font-size:14px;line-height:1.55}
#txForm .lab-s{margin:8px 0 0}
/* A small group heading in Settings (Pickup days and hours, To subscribers, Which ones…) reads as a heading, not smaller
   than the labels under it. */
.set-pane .lab-s{font-size:14px;font-weight:700;color:var(--ink)}
.lab-s small{display:block;margin-top:2px;font-weight:400;font-size:12.5px;color:var(--muted)}
/* Tick boxes stacked straight in a card get the same air between them as everywhere else. */
.card > .tick + .tick,.card > p + .tick{margin-top:10px}
.cal-steps{margin:-4px 0 0;padding-left:18px;display:grid;gap:4px}
/* AI receptionist: "Turn it off" stays at the right end of its line when the line wraps on a phone. */
.recv > .bar:first-child > .bar{margin-left:auto}
/* Orders → pickup days on a phone: each day's two times share the line evenly, so "AM" and "PM" aren't cut off. */
@media (max-width:560px){.otimes{flex:1 1 260px}.otimes input{flex:1;max-width:none;padding:0 8px}}
/* Settings: every purple Save is the same size, whichever part it saves. */
.set-pane .btn.dark.small,.set-pane .btn.go.small{min-height:40px;padding:8px 14px;font-size:13.5px}
/* Settings → Orders: Pause orders and Disconnect side by side. */
.bar:has(> [data-act=kitchenLive]),.bar:has(> [data-act=kitchenLive]) + .bar:has(> [data-act=kitchenOff]){display:inline-flex;margin-right:8px}
/* Settings: two cards one after the other never touch. */
.set-pane .card + .card,.set-pane .card + .opt-card,.set-pane .opt-card + .opt-card,.set-pane .opt-card + .card{margin-top:12px}
/* Settings → Home screen: the up and down arrows are buttons you can see and hit. */
.homemove .btn{background:#F3F0F7;color:var(--ink);min-height:34px}
.homemove .btn:disabled{opacity:.4}
/* Your business → colour: "pick any colour" is a round swatch like the rest (a rainbow ring says it opens a picker). */
#sColor{width:26px;height:26px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 1px var(--line),0 0 0 3px #fff inset}
#sColor::-webkit-color-swatch-wrapper{padding:0}
#sColor::-webkit-color-swatch{border:0;border-radius:50%}
#sColor::-moz-color-swatch{border:0;border-radius:50%}
/* Settings: a text button that starts a line (+ Add…, Remove…, Use our suggestions) lines up with the boxes above it. */
.set-pane .bar > .btn.ghost:first-child{padding-left:0}
/* Your business → Your language: the box at half width like its neighbours, its hint under it. */
@media (min-width:640px){.lang-f select{max-width:calc(50% - 7px)}}
/* Timesheet on a phone: the pay period's total line is one clean line. */
@media (max-width:560px){table.sheetdays tr.tot{border-top:1.5px solid var(--line);border-bottom:0}table.sheetdays tr.tot > *{border:0!important}}
/* Bake list on a phone: the spot tags under an item wrap, so the Prepped boxes stay on screen instead of off the edge. */
@media (max-width:640px){.bsheet td:first-child .chip{white-space:normal;text-align:left;height:auto;line-height:1.3;padding-top:3px;padding-bottom:3px}.bsheet .bs-make{white-space:normal}}
/* Leads: the Lost column's first card starts level with the other columns'. */
.lb-col.lb-lost > h3{margin-bottom:0}
/* A Settings card's opening line (with its Stripe connected or Not set up tag) at the size of every other intro. */
.set-pane .card > p:first-child:not(.small),.set-pane .card > .form > p:first-child:not(.small){font-size:14px;line-height:1.55}
/* The ⋯ menu near a phone's right edge opens leftwards (work.js sets am-right). */
.head .acts .acts-more .am-menu.am-right{left:auto;right:0}

/* Settings: every on/off choice is a switch (Omar picked option A, Oct 30 2026): the name in bold with what it does
   under it, the switch on the right, a thin line between two switches. Lists of picks stay tick boxes (work days, pickup
   days, ways to pay, milestones, weather lines, form lines, a deal's On); give any other tick the class "box" to keep it.
   The phone app's Settings does the same with Toggle (mobile/src/ui.js). */
.set-pane .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick){flex-direction:row-reverse;justify-content:space-between;align-items:flex-start;gap:16px;padding:10px 0;font-weight:600;color:var(--ink);margin:0}
.set-pane .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick) + .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick){border-top:1px solid var(--line2);margin-top:0}
.set-pane .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick) > input[type=checkbox]{width:44px;height:26px;border-radius:999px;border:0;background:#D9D2E3;position:relative;display:block;margin:-2px 0 0;transition:background .18s}
.set-pane .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick) > input[type=checkbox]::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;border:0;box-shadow:0 1px 3px rgba(26,18,37,.3);transform:none;transition:transform .18s}
.set-pane .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick) > input[type=checkbox]:checked{background:var(--accent)}
.set-pane .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick) > input[type=checkbox]:checked::after{transform:translateX(18px);width:20px;height:20px;border:0}
.set-pane .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick) > input[type=checkbox]:disabled{background:var(--line);opacity:.7}
.set-pane .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick) > span{flex:1}
.set-pane .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick) > span > :is(.small,small)::first-letter{text-transform:uppercase}
.set-pane .homecard .tick{padding:0;border:0}
.set-pane :is(.x-pcts,.x-ways){margin-left:0}
/* A note under a switch starts at the left edge, like the switch's own words (the tick box left a 30px gap for itself). */
.set-pane .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick) + :is(p,span).small{margin-left:0 !important;margin-top:-4px !important}
.set-pane .wxrow input[type=text]{margin-left:0}
@media (prefers-reduced-motion:reduce){.set-pane .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick) > input[type=checkbox],.set-pane .tick:has(> input[type=checkbox]):not(.box,:is(.hgrid,.picks,.oday,.x-ways,.lrow,.wxrow,.t-dealh,.txyes,.bar,.allergens) .tick) > input[type=checkbox]::after{transition:none}}

/* Less reading (Oct 30): each box's grey line under it; the weather offer as its own box; the consent heading */
.pl-grid.apptg{margin-top:2px}
.pl-grid.apptg .f input,.pl-grid.apptg .f select{width:100%}
.wxrow .wx-offer{margin:0 0 4px 30px;max-width:420px}
.wxrow .wx-offer input[type=text]{margin-left:0;max-width:none}
.set-pane .wxrow .wx-offer{margin-left:0}
.consent-h{margin:6px 0 -4px}
.wx-hint{display:block;margin:2px 0 2px}
/* Folded boxes (Oct 30 2026, "Build 1 to 5"): read and decide less. A fold's line says what's inside or what's set;
   tapping it opens the boxes (still in the page, so Save reads them). Used by an appointment's "What you'll charge",
   a customer's "More details" and a team member's "Pay and payroll". */
details.fold{border:1px solid var(--line2);border-radius:12px;background:var(--soft);padding:0}
details.fold>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:center;padding:11px 14px;border-radius:12px}
details.fold>summary::-webkit-details-marker{display:none}
details.fold>summary:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}
details.fold .fold-k{font-size:13.5px;font-weight:600;color:var(--ink)}
details.fold .fold-v{grid-column:1;font-size:14px;color:var(--text);min-width:0;overflow-wrap:anywhere}
details.fold .fold-go{grid-column:2;grid-row:1 / span 2;color:var(--accent);font-weight:600;font-size:13.5px}
details.fold .fold-go::after{content:"Change"}
details.fold[open] .fold-go::after{content:"Hide"}
details.fold[open]>summary{border-bottom:1px solid var(--line2);border-radius:12px 12px 0 0}
details.fold[open]>:not(summary){padding:12px 14px 14px}
details.fold.more .fold-go::after,details.fold.pay .fold-go::after{content:"›";display:inline-block;font-size:20px;line-height:1;color:var(--muted);transition:transform .15s ease}
details.fold.more[open] .fold-go::after,details.fold.pay[open] .fold-go::after{transform:rotate(90deg)}
details.fold.charge{margin-top:16px}
details.fold.charge .fold-k{font-size:15px}
details.fold.more>.form{background:var(--card);border-radius:0 0 12px 12px}
details.fold.pay>.lrow{background:var(--card);border-radius:0 0 12px 12px}
details.fold.charge>#lines{background:var(--card);border-radius:0 0 12px 12px}
@media (prefers-reduced-motion:reduce){details.fold .fold-go::after{transition:none}}
/* A new order's items first: "What they're ordering" with the menu picker and the lines. */
#jItems .lab-s{font-size:13px;color:var(--ink)}
#jItems .lines{margin-top:2px}
/* A new invoice: Due, then "+ Discount" that opens the discount box. */
.inv-more{margin-top:14px}
details.disc-fold{align-self:end}
details.disc-fold>summary{list-style:none;width:max-content}
details.disc-fold>summary::-webkit-details-marker{display:none}
details.disc-fold[open]>summary{display:none}
/* Settings → Team: one row per person; tap to open their editor. */
.tm-list{gap:8px}
details.tm{border:1px solid var(--line);border-radius:12px;background:var(--card)}
details.tm>summary.tm-sum{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px}
details.tm>summary.tm-sum::-webkit-details-marker{display:none}
details.tm>summary.tm-sum:hover{background:var(--soft)}
details.tm>summary.tm-sum:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}
details.tm .tm-sum .grow{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
details.tm .tm-sum b{color:var(--ink);font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
details.tm .tm-sum .meta{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
details.tm .tm-go::after{content:"›";display:inline-block;font-size:22px;line-height:1;color:var(--muted);transition:transform .15s ease}
details.tm[open] .tm-go::after{transform:rotate(90deg)}
details.tm[open]>summary.tm-sum{border-bottom:1px solid var(--line2);border-radius:12px 12px 0 0}
details.tm>.tm-ed{padding:12px}
details.tm.off>summary.tm-sum{opacity:.55}
@media (prefers-reduced-motion:reduce){details.tm .tm-go::after{transition:none}}
@media (max-width:560px){.lrow.tm-pay{grid-template-columns:minmax(0,1fr)!important}}
/* Charge lines on a phone: the item's name gets its own full-width line (it was cut to a few letters), and how many
   and the price sit under it as "2 × 30.00". The column heads are left off there; the × says which is which. */
.lmul{display:none}
@media (max-width:560px){
  .lines > .lhead{display:none}
  .lrow[data-li]{grid-template-columns:64px 14px 104px 1fr 34px;grid-template-areas:"n n n n x" "q m p . ." "t t t t t";row-gap:6px}
  .lrow[data-li] [data-lf=name]{grid-area:n}.lrow[data-li] [data-lf=qty]{grid-area:q}.lrow[data-li] [data-lf=price]{grid-area:p}.lrow[data-li] .x{grid-area:x}.lrow[data-li] .tx{grid-area:t;margin-top:0}
  .lmul{display:block;grid-area:m;text-align:center;color:var(--muted)}
}

@media (pointer:coarse){.signin .card{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(255,255,255,.9)}}
