/* =====================================================================
   PCS — the palette and the pieces both apps are built from.

   index.html is the client portal (a phone-first portal for a property
   manager). business.html is the PCS console (a desk-first console for
   the people doing the work). They are different shapes on purpose.

   What they may NOT differ on is this file: the colours, the focus ring,
   the type scale, the buttons, chips, sheets and dropdowns. Two copies of
   a palette are the same colour on the day they are written and two
   shades apart a month later - and the contrast audit in
   check_portal.py would only ever have been measuring one of them.

   CONTRAST. Every ink token here clears 4.5:1 against every surface it
   is used on, and the focus ring clears 3:1. Those ratios are COMPUTED
   from these hex values by check_portal.py, not eyeballed and not kept
   on an allowlist, so a prettier colour fails a check rather than
   failing a reader.
   ===================================================================== */

:root{
  --paper:#FAF8F5; --card:#FFFFFF; --line:#E7E2D9; --line-2:#D6CFC2;
  --ink:#16140F; --ink-2:#55503F; --ink-3:#6E6758;
  --gold:#C9A227; --gold-deep:#7F6207; --gold-wash:#FBF3DC;
  /* gold-deep was #8A6A08, which measured 5.07 on white and was signed
     off on that - but it carries every .link in the product, and a
     link inside a tinted panel sits on a wash, not on white. There it
     measured 4.40 to 4.49 against a 4.5 requirement: seven failures,
     all of them a hundredth short, none visible to the eye and none
     findable from the tokens alone. #7F6207 is 4.99 or better on every
     surface in the product. */
  --dark:#171410;
  --ok:#1B7347; --ok-wash:#E6F4EC;
  --warn:#8F5E00; --warn-wash:#FDF1DC;
  --live:#1F5FA8; --live-wash:#E7F0FA;
  --stop:#9B2C2C; --stop-wash:#FBEAEA;
  --r:14px; --r-s:10px; --r-pill:999px;
  --shadow:0 1px 2px rgba(22,20,15,.05),0 8px 24px rgba(22,20,15,.06);
  color-scheme:light;
}
*{box-sizing:border-box}
/* --gold-deep, not --gold. Measured against the surfaces this ring
   actually lands on: --gold is 2.42:1 on white and 2.28:1 on the paper
   background, both under the 3:1 WCAG minimum for a focus indicator - a
   ring you cannot see is the same as no ring. --gold-deep is 5.07 on
   white, 4.78 on paper and 3.62 on the dark header, so it works on all
   three. */
:where(button,[role="button"],a[href],input,select,textarea):focus-visible{
  outline:3px solid var(--gold-deep);outline-offset:2px}
html,body{margin:0}
body{
  background:var(--paper); color:var(--ink);
  font:400 15px/1.5 'DM Sans',ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%}
[hidden]{display:none!important}
button{font:inherit;color:inherit}

/* ---- type ---- */
h1,h2,h3{margin:0;font-family:Archivo,ui-sans-serif,system-ui,sans-serif;text-wrap:balance}
h1{font-weight:800;font-size:27px;line-height:1.12;letter-spacing:-.03em}
h2{font-weight:700;font-size:19px;line-height:1.2;letter-spacing:-.022em}
h3{font-weight:700;font-size:16px;line-height:1.25;letter-spacing:-.015em}
.micro{font:700 10.5px/1.1 'DM Sans';letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.sub{color:var(--ink-2);font-size:14px}
.num{font-variant-numeric:tabular-nums}

/* ---- cards ---- */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--shadow)}
.pad{padding:16px}
.sect{margin:22px 0 10px;display:flex;align-items:baseline;justify-content:space-between;gap:12px}
/* Padded so the hit area clears the minimum; the negative margin keeps it
   optically aligned with the heading beside it. */
.link{background:none;border:0;padding:14px 8px;margin:-14px -8px;color:var(--gold-deep);
  font:700 13.5px 'DM Sans';cursor:pointer}
.link:hover{text-decoration:underline}

/* ---- chips ---- */
.chip{display:inline-flex;align-items:center;gap:5px;border-radius:var(--r-pill);
  padding:4px 10px;font:700 11.5px/1.35 'DM Sans';white-space:nowrap}
.chip.ok{background:var(--ok-wash);color:var(--ok)}
.chip.warn{background:var(--warn-wash);color:var(--warn)}
.chip.live{background:var(--live-wash);color:var(--live)}
.chip.stop{background:var(--stop-wash);color:var(--stop)}
.chip.mute{background:#F2EFE9;color:var(--ink-2)}
.chip .d{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:0;border-radius:var(--r-pill);padding:13px 20px;font:700 14.5px 'DM Sans';
  cursor:pointer;min-height:46px;width:100%}
.btn.primary{background:var(--dark);color:#fff}
.btn.gold{background:var(--gold);color:#241c00}
.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line-2)}
.btn:active{transform:translateY(1px)}
.btn-row{display:grid;gap:9px;margin-top:14px}
@media(min-width:520px){.btn-row.two{grid-template-columns:1fr 1fr}}

/* ---- toast ---- */
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(76px + env(safe-area-inset-bottom,0px));
  background:var(--dark);color:#fff;padding:12px 18px;border-radius:var(--r-pill);
  font:600 13.5px 'DM Sans';z-index:80;box-shadow:0 10px 30px rgba(0,0,0,.25);
  max-width:calc(100% - 32px);text-align:center}

.banner{background:var(--gold-wash);border:1px solid var(--gold);border-radius:var(--r);
  padding:11px 14px;font-size:13px;color:#4a3a00;display:flex;gap:9px;align-items:flex-start}
.demo{background:#211d18;color:#C9BFA6;font-size:11.5px;text-align:center;padding:7px 16px}
.demo b{color:var(--gold)}

.empty{text-align:center;padding:34px 20px;color:var(--ink-2)}
.empty h3{margin-bottom:6px}

.sel{border:1px solid var(--line-2);background:#fff;border-radius:var(--r-pill);
  padding:9px 14px;font:600 13px 'DM Sans';color:var(--ink);cursor:pointer;min-height:44px}
.sel:focus{outline:2px solid var(--gold);outline-offset:1px}

/* The trigger. A chevron drawn in CSS, rotated 90deg while open, so the
   control says which way the list went. */
.pick{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;
  text-align:left;font-size:13.5px}
.pick .pc{width:8px;height:8px;flex:none;margin-right:2px;
  border-right:2px solid var(--ink-2);border-bottom:2px solid var(--ink-2);
  transform:rotate(45deg) translate(-2px,-2px);transition:transform .14s ease}
.pick[aria-expanded="true"]{border-color:var(--gold-deep)}
.pick[aria-expanded="true"] .pc{transform:rotate(225deg) translate(-2px,-2px)}

/* The list. Concentric radii - 7px of padding between a 16px shell and 11px
   rows - because a rounded box with square children reads as a mistake. */
.pmenu{position:fixed;z-index:70;background:#fff;border:1px solid var(--line-2);
  border-radius:16px;padding:7px;min-width:172px;max-width:min(320px,calc(100vw - 16px));
  box-shadow:0 20px 44px rgba(26,21,12,.20),0 3px 8px rgba(26,21,12,.09);
  animation:pmIn .13s cubic-bezier(.2,.9,.3,1) both}
@keyframes pmIn{from{opacity:0;transform:translateY(-5px) scale(.985)}}
.pmenu button{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;
  border:0;background:none;border-radius:11px;padding:0 11px;cursor:pointer;
  font:600 14px 'DM Sans';color:var(--ink);text-align:left;line-height:1.3}
.pmenu button:hover{background:var(--paper)}
.pmenu button[aria-selected="true"]{background:var(--gold-wash);font-weight:700}
.pmenu .tick{width:14px;flex:none;color:var(--gold-deep);font-weight:800;font-size:13px}
@media(prefers-reduced-motion:reduce){
  .pmenu{animation:none}
  .pick .pc{transition:none}
}

.sheet{position:fixed;inset:0;z-index:60;background:var(--paper);overflow-y:auto;
  animation:rise .22s ease}
@keyframes rise{from{transform:translateY(14px);opacity:.4}to{transform:none;opacity:1}}
.sheet-top{position:sticky;top:0;background:var(--dark);color:#fff;z-index:2;
  padding-top:env(safe-area-inset-top,0px)}
.sheet-top-in{max-width:860px;margin:0 auto;display:flex;align-items:center;gap:10px;
  padding:12px max(16px,env(safe-area-inset-left,0px));min-height:56px}
.sheet-top .ref{font:700 12px 'DM Sans';color:#C9BFA6}
.sheet-top h2{font-size:17px;color:#fff}
/* 50px. It is the only way back out of a sheet, so it is the largest
   control in the header - and well over the 44px minimum the first 36px
   version missed. The arrow is an SVG because the character U+2190 renders
   at whatever weight the platform font gives it, which on a phone is a
   hairline beside the 2px chevrons elsewhere on the page. */
.x{margin-left:auto;width:50px;height:50px;border-radius:50%;border:1px solid #39322a;
  background:#211d18;color:#fff;display:grid;place-items:center;cursor:pointer;flex:none}
.x svg{width:23px;height:23px;display:block}
.x:hover{background:#2f2922;border-color:#554a3d}


/* 44px. These measured 33 and a filter row is the most-tapped thing on the
   screen after the tab bar. */
.fb{border:1px solid var(--line);background:#fff;border-radius:var(--r-pill);
  padding:0 16px;min-height:44px;font:600 13px 'DM Sans';cursor:pointer;
  white-space:nowrap;color:var(--ink-2)}
.fb{display:inline-flex;align-items:center;gap:7px}
.fb[aria-pressed="true"]{background:var(--dark);color:#fff;border-color:var(--dark)}
/* The count carries one bit of meaning beyond the number: whose move it is.
   Red = yours to action. Grey = how many there are. The same component
   serves the business side with the test inverted, so a job waiting on PCS
   is red there and grey here. */
.cnt{min-width:21px;height:21px;border-radius:11px;padding:0 6px;
  font:800 11.5px/21px 'DM Sans';text-align:center;background:#EFEBE3;
  color:var(--ink-2);flex:none}
.cnt.mine{background:var(--stop);color:#fff}
.fb[aria-pressed="true"] .cnt{background:rgba(255,255,255,.22);color:#fff}
.fb[aria-pressed="true"] .cnt.mine{background:var(--stop);color:#fff}

/* ---- photos ---- */
.shots{display:grid;grid-template-columns:repeat(auto-fill,minmax(98px,1fr));gap:8px}
.shot{aspect-ratio:1;border-radius:var(--r-s);border:1px dashed var(--line-2);
  background:#F4F1EB;display:grid;place-items:center;text-align:center;padding:8px;
  font-size:10.5px;color:var(--ink-3);line-height:1.3}
.shot.add{border-style:solid;border-color:var(--gold);background:var(--gold-wash);
  color:var(--gold-deep);font-weight:700;cursor:pointer}
.shot.img{padding:0;border:1px solid var(--line-2);border-style:solid;background:#fff;
  overflow:hidden;cursor:pointer;position:relative}
.shot.img img{width:100%;height:100%;object-fit:cover;display:block}
.shot .who{position:absolute;left:0;right:0;bottom:0;background:rgba(10,9,7,.62);
  color:#fff;font:700 9.5px 'DM Sans';letter-spacing:.04em;text-transform:uppercase;
  padding:3px 4px;text-align:center}
.shot .cap{display:block;font-weight:700;color:var(--ink-2);margin-bottom:3px}

.lb{position:fixed;inset:0;z-index:90;background:rgba(10,9,7,.94);
  display:grid;grid-template-rows:auto 1fr auto}
.lb-bar{display:flex;justify-content:flex-end;
  padding:calc(10px + env(safe-area-inset-top,0px)) 10px 0}
.lb-bar button{width:46px;height:46px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(255,255,255,.15);color:#fff;font-size:23px;line-height:1}
.lb-img{display:grid;place-items:center;min-height:0;
  padding:10px max(14px,env(safe-area-inset-left,0px))}
.lb-img img{max-width:100%;max-height:100%;object-fit:contain;border-radius:var(--r-s)}
.lb-cap{color:#D9D3C6;font-size:13px;text-align:center;line-height:1.5;
  padding:14px 18px calc(20px + env(safe-area-inset-bottom,0px))}

/* ---- fields --------------------------------------------------------
   Shared, because both apps have forms now: PCS price a quote and add a
   property; a client raises a job, adds an address and - the longest form
   in the product - fills in who they are when they are first invited.
   These lived in the console's own stylesheet until 2026-11-17, which is
   why every form the portal gained that day came out unstyled. */
.f{margin-bottom:14px}
.f label,.f .lab{display:block;font:700 10.5px/1.1 'DM Sans';letter-spacing:.08em;
  text-transform:uppercase;color:var(--ink-3);margin-bottom:6px}
.f input,.f textarea{width:100%;border:1px solid var(--line-2);border-radius:var(--r-s);
  padding:11px 12px;font:inherit;font-size:14px;background:#fff;color:var(--ink);
  min-height:46px}
.f textarea{resize:vertical;line-height:1.5}
.f .help{font-size:12px;color:var(--ink-2);margin-top:6px;line-height:1.4}
.frow{display:grid;gap:12px}
@media(min-width:560px){.frow.two{grid-template-columns:1fr 1fr}}
/* "optional" beside a label, so a long form reads as shorter than it is */
.opt{font-weight:500;font-size:11.5px;letter-spacing:.04em;
  text-transform:uppercase;color:var(--ink-3)}
/* An error above a form, said once, where the eye already is. */
.err{background:var(--stop-wash);border-left:3px solid var(--stop);
  border-radius:var(--r-s);padding:11px 13px;margin-bottom:14px;
  font-size:13.5px;line-height:1.5;color:var(--ink)}

/* The portal uses a bare .hint; the console only ever styled .panel .hint,
   so every hint on the portal's new screens was unstyled body text. */
.hint{font-size:12.5px;color:var(--ink-2);line-height:1.45;margin:4px 0 0}

/* ---- the onboarding form -------------------------------------------
   Nine fields, filled in by somebody who has never seen this business's
   software before, usually on a phone, from a link in a text message. It
   gets its own treatment: grouped, paired, and in sentence case. The
   console's uppercase micro-labels are right for a dense working screen
   and wrong here. */
.onbf{max-width:640px;margin:0 auto}
.onbf .grp{background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--shadow);padding:20px;margin-bottom:16px}
/* Centred with the hero above them (owner, 2026-11-17). The field
   labels stay left: a label belongs to the box under it, and centring one
   over a left-aligned input puts the two out of line with each other. */
.onbf .grp > h2{font:700 17px/1.25 Archivo;letter-spacing:-.01em;margin:0;
  text-align:center}
.onbf .grp-note{font-size:13px;color:var(--ink-2);line-height:1.5;margin:6px 0 0;
  text-align:center;max-width:36em;margin-inline:auto}
.onbf .grp-note + .f,.onbf .grp-note + .frow,
.onbf .grp > h2 + .f,.onbf .grp > h2 + .frow{margin-top:18px}
.onbf .f,.onbf .frow{margin-bottom:16px}
.onbf .f:last-child,.onbf .frow:last-child{margin-bottom:0}
.onbf .frow .f{margin-bottom:0}
.onbf .f label,.onbf .f .lab{text-transform:none;letter-spacing:0;
  font:600 13.5px/1.35 'DM Sans';color:var(--ink);margin-bottom:7px}
.onbf .f input,.onbf .f textarea{min-height:50px;border-radius:12px;
  padding:13px 14px;border-color:var(--line-2)}
.onbf .f input:hover,.onbf .f textarea:hover{border-color:var(--ink-3)}
.onbf .f .help{margin-top:7px}
/* The dropdown has to sit in the same family as the boxes beside it - a
   pill between two 12px rectangles reads as a different control. */
.onbf .pick{width:100%;min-height:50px;border-radius:12px;padding:13px 14px;
  font-size:15px}
.onb-actions{margin-top:24px}
.onb-actions .btn{min-height:52px;font-size:15.5px}
.onb-actions .hint{margin-top:14px;text-align:center}

/* 16px or iOS Safari zooms the page in on focus and never zooms back out.
   It is the commonest reason a form feels broken on an iPhone, and it is
   invisible on every desktop it is tested on. */
@media (max-width:860px){
  .f input,.f textarea{font-size:16px}
}


/* =====================================================================
   The diary - a month grid, a chronological list, and the layout toggle
   between them.

   These live here, not in one app's <style>, because both halves of the
   product show the same bookings. The client portal had a month grid and
   a Grid/List toggle from the day it was written; the console had neither,
   so the same product answered "show me the month" two different ways
   depending on which half of it you were standing in.

   Colours are tokens only. check_portal.py COMPUTES contrast from the
   :root block above, so a raw hex here would be a colour nothing is
   measuring.
   ===================================================================== */
.vseg{display:inline-flex;background:var(--paper);border:1px solid var(--line);
  border-radius:var(--r-pill);padding:3px;flex:none}
.vseg button{border:0;background:none;border-radius:var(--r-pill);padding:0 16px;
  min-height:38px;cursor:pointer;font:600 13px 'DM Sans';color:var(--ink-2)}
.vseg button[aria-pressed="true"]{background:var(--card);color:var(--ink);
  box-shadow:var(--shadow);font-weight:700}

/* ---- month grid ---- */
.mcal{background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  overflow:hidden;box-shadow:var(--shadow)}
.mcal-g{display:grid;grid-template-columns:repeat(7,1fr)}
.mcal-dow{padding:8px 0;text-align:center;font:700 10.5px 'DM Sans';color:var(--ink-3);
  background:var(--paper);border-bottom:1px solid var(--line);
  text-transform:uppercase;letter-spacing:.06em}
/* min-width:0 is load-bearing. A grid child sizes to min-content by default,
   so one long job title widens its column and collapses the other six - the
   day-of-week headers then stop lining up with the days underneath them.
   The client calendar carries the same note for the same reason. */
.mcal-d{min-height:82px;min-width:0;padding:5px 4px 6px;
  border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.mcal-d:nth-child(7n){border-right:0}
.mcal-d.out{background:var(--paper)}
.mcal-d.today{background:var(--gold-wash)}
.mcal-d .dn{font:600 11.5px 'DM Sans';color:var(--ink-3);margin-bottom:2px}
.mcal-d.today .dn{background:var(--dark);color:var(--card);border-radius:50%;
  width:20px;height:20px;display:grid;place-items:center;font-weight:700}
.mev{display:block;width:100%;max-width:100%;margin-top:3px;text-align:left;
  border:0;border-left:3px solid var(--live);border-radius:5px;padding:3px 5px;
  background:var(--paper);color:var(--ink);cursor:pointer;
  font:600 10.5px/1.3 'DM Sans';
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mev:hover{background:var(--gold-wash)}
.mev.ok{border-left-color:var(--ok)}
.mev.hot{border-left-color:var(--stop)}
/* The console's .unassigned adds a full dashed box, which on a 50px month
   cell reads as a broken tile. Same class name product-wide - one idea,
   one name - re-expressed as the left edge this component already uses. */
.mev.unassigned{background:var(--paper);border:0;
  border-left:3px dashed var(--stop)}
.mev .mt{font-weight:800;color:var(--ink-2)}
/* A month cell on a phone is about 50px wide. The title is hidden rather
   than ellipsised to one letter, so what is left is a readable time. */
.mev .mn{display:none}
@media(min-width:900px){.mev .mn{display:inline}}
/* Under 900px the cell is about 49px wide. Trimming the padding and
   the rule, and dropping the meridiem's last letter, is what turns a
   clipped "7:3..." into a readable "7:30a". The full label stays in
   the button's aria-label and in the list layout. */
@media(max-width:899px){
  .mev{padding:2px 4px;border-left-width:2px;font-size:10px}
  .mev .ap-m{display:none}
}

/* ---- chronological list ---- */
.dlist{background:var(--card);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--shadow);overflow:hidden}
.dl-day{padding:8px 14px;background:var(--paper);border-bottom:1px solid var(--line);
  display:flex;justify-content:space-between;gap:10px;align-items:baseline;
  font:700 12px 'DM Sans';color:var(--ink-2)}
.dl-day b{font:800 14px Archivo;color:var(--ink)}
.dl-day.today b{color:var(--gold-deep)}
.dl-r{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:4px 12px;
  align-items:center;width:100%;min-height:56px;padding:11px 14px;text-align:left;
  background:none;border:0;border-bottom:1px solid var(--line);
  border-left:3px solid var(--live);cursor:pointer;font:inherit;color:var(--ink)}
.dl-r:hover{background:var(--gold-wash)}
.dl-r.ok{border-left-color:var(--ok)}
.dl-r.hot{border-left-color:var(--stop)}
.dl-r.unassigned{background:none;border:0;border-bottom:1px solid var(--line);
  border-left:3px dashed var(--stop)}
.dl-r .tm{font:800 13px 'DM Sans';color:var(--ink-2)}
.dl-r .ti{min-width:0;font-size:13.5px;font-weight:600;line-height:1.3}
.dl-r .ti span{display:block;margin-top:2px;font-size:11.5px;font-weight:400;
  color:var(--ink-3)}
.dl-r .go{color:var(--ink-3);font-size:18px;line-height:1}
.dl-empty{margin:0;padding:16px 14px;font-size:13.5px;color:var(--ink-3)}
@media(max-width:560px){
  .dl-r{grid-template-columns:minmax(0,1fr) auto}
  .dl-r .tm{grid-column:1/-1}
}

/* ---- time grid: day / week / fortnight ----
   Hours down the side, days across. The wrapper is the only thing that
   scrolls sideways, so a fortnight on a phone moves inside its card and
   the page does not. */
.tgwrap{background:var(--card);border:1px solid var(--line);
  border-radius:var(--r);box-shadow:var(--shadow);
  overflow-x:auto;overflow-y:hidden}
.tg{display:grid}
/* The hour gutter stays put while the days scroll past it - otherwise the
   far end of a fortnight is a wall of boxes with no row labels. */
.tg-corner,.tg-hr{position:sticky;left:0;background:var(--paper);
  border-right:1px solid var(--line)}
.tg-corner{border-bottom:1px solid var(--line);z-index:2}
.tg-hr{z-index:1;border-bottom:1px solid var(--line);padding:6px 8px 0;
  text-align:right;font:700 10.5px 'DM Sans';color:var(--ink-3)}
.tg-dh{background:var(--paper);border-bottom:1px solid var(--line);
  border-right:1px solid var(--line);padding:7px 6px;text-align:center;
  min-width:0;font:700 11px 'DM Sans';color:var(--ink-3)}
.tg-dh b{display:block;font:800 16px Archivo;color:var(--ink);
  letter-spacing:-.01em}
.tg-dh.today{background:var(--gold-wash)}
.tg-dh.today b{color:var(--gold-deep)}
.tg-c{border-right:1px solid var(--line);border-bottom:1px solid var(--line);
  min-height:46px;min-width:0;padding:3px}
.tg-c.today{background:var(--gold-wash)}
.tgev{display:block;width:100%;max-width:100%;min-width:0;text-align:left;
  border:0;border-left:3px solid var(--live);border-radius:6px;
  padding:4px 6px;margin-bottom:3px;background:var(--card);color:var(--ink);
  cursor:pointer;font:600 11px/1.3 'DM Sans';overflow:hidden;
  box-shadow:0 1px 2px rgba(22,20,15,.06)}
.tgev:hover{background:var(--gold-wash)}
.tgev.ok{border-left-color:var(--ok)}
.tgev.hot{border-left-color:var(--stop)}
.tgev.unassigned{background:var(--card);border:0;
  border-left:3px dashed var(--stop)}
.tgev .tt{display:block;font-weight:800;font-size:10px;color:var(--ink-2)}
.tgev .tn,.tgev .tw{display:block;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap}
.tgev .tw{font-weight:400;font-size:10px;color:var(--ink-3)}

/* ---- pull down to refresh ----
   Only ever shown inside a scroller the browser's own gesture cannot
   reach - the job sheet, which is fixed and scrolls itself. The page
   keeps the browser's native one. */
.ptr{position:absolute;left:0;right:0;top:0;height:0;overflow:hidden;
  display:flex;align-items:flex-end;justify-content:center;
  pointer-events:none;z-index:70}
.ptr i{display:block;width:26px;height:26px;margin-bottom:8px;
  border-radius:50%;border:2px solid var(--line);
  border-top-color:var(--gold-deep);
  transition:transform .1s linear}
.ptr.spin i{animation:ptrspin .7s linear infinite}
@keyframes ptrspin{to{transform:rotate(360deg)}}
.ptr b{position:absolute;bottom:10px;font:700 11px 'DM Sans';
  color:var(--ink-3);letter-spacing:.04em;text-transform:uppercase}
