:root{
  --ink:#252735; --ink-rgb:37,39,53;
  --text-primary:#252735; --text-muted:#656573; --text-faint:#9C98A2; --text-on-light:#252735;
  --bg-page:#FFF9F5; --bg-card:#FFFFFF; --bg-sunk:#FCF4EF; --bg-active:#F8E3E8;
  --border:#DDD8D7; --border-soft:#EDE5E1; --track:#EFE5E2;
  --pink:#E8A6B1; --pink-soft:#F8E3E8; --pink-deep:#A55770;
  --spring-pink:#E8A6B1; --spring-blue:#5B739F; --spring-sage:#788887; --spring-cream:#FAEBE0;
  --text-pink:#A55770; --text-blue:#5B739F; --text-sage:#5E6E6D; --text-warn:#7A5A12;
  --signal-warn:#E2C36F; --warn-ground:#FFF7DD;
  --good:#3C8A5A; --good-ground:#E4F2E8; --text-good:#1F5C38; --good-line:#B9DBC4;
  --hi:#252735; --on-hi:#FFFFFF;
  --side:#222636;
  --mono:"Courier New",Courier,"Courier Prime",monospace; /* George's Figma file sets its typewriter text in Courier New */
  --display:"league-gothic","League Gothic","Arial Narrow",Impact,sans-serif;
  --body:"faricy-new-web",Arial,Helvetica,sans-serif;
  --ease:cubic-bezier(.22,1,.36,1); --slow:.5s; --radius-card:12px;
  /* Corners say what you can click (George, 20 Oct): the rounder, the more it feels like a button. Interim until his Figma button frame. */
  --radius-button:10px; /* buttons, icon buttons */
  --radius-tag:var(--radius-button); /* a tag you click to change, e.g. .pscope, a board chip that opens a menu */
  --radius-field:5px; /* inputs, selects, textareas */
  --radius-label:4px; /* read-only tags and statuses: squarer, so they don't read as buttons */
  --radius-search:999px; /* search bars stay round for now (open question for George) */
  --radius-chip:var(--radius-tag); /* old name, still used by the board chips */
  --control-height:60px; /* the costing page's action buttons (.ce__action); important status tags can match it */
  /* One colour per stage and per chance, defined once and used by every stage pill and tag (meeting, 20 October).
     Recognisable over on-brand: a stage never shares a colour with a chance, so "Sent to client" and "Being costed"
     can't be mistaken for Likely or Possible. The chances are the Forecast board's own (forecast-palette.mjs). */
  --stage-costing:#EADCC8; --on-stage-costing:#594832; --stage-sent:#2F6FDB; --stage-approved:#6B4FC8; --stage-live:#50B484; --stage-completed:#212636; --stage-declined:#DF2F4A;
  --chance-possible:#FF6D3B; --chance-likely:#FF007F; --chance-definite:#037F4C; --chance-declined:#DF2F4A;
  --on-tag:#FFFFFF;
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
::selection{background:var(--spring-pink);color:var(--text-on-light);text-shadow:none}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%}
@view-transition{navigation:auto}
:root{view-transition-name:none}
#page-view{view-transition-name:page-content}
::view-transition-group(page-content){animation-duration:700ms;animation-timing-function:var(--ease)}
::view-transition-old(page-content){animation:page-slide-out 450ms var(--ease) both}
::view-transition-new(page-content){animation:page-slide-in 700ms var(--ease) both}
@keyframes page-slide-out{to{opacity:0;transform:translateX(-24px)}}
@keyframes page-slide-in{from{opacity:0;transform:translateX(32px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){@view-transition{navigation:none}::view-transition-group(page-content),::view-transition-old(page-content),::view-transition-new(page-content){animation:none!important}}
body{margin:0;background:var(--bg-page);color:var(--text-primary);font:16px/1.55 var(--body);-webkit-font-smoothing:antialiased}
a{color:inherit}
h1,h2{margin:0;font-family:var(--display);font-weight:400;letter-spacing:.01em;text-transform:uppercase}
h1{font-size:48px;line-height:1.08}
h2{font-size:28px;line-height:1.15;margin-bottom:16px}
h3{margin:0;font-size:17px;font-weight:700}
p{margin:0}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Site margins are a share of the page's width, not fixed pixels (7 October meeting), so the page keeps its proportions
   on a laptop. 6.8% is the Figma file's 100px margin on its 1478px page. On a big screen the content stops at 1600px and
   the margins take the rest, centred (8 October). It used to cap the whole box at 1480px while the margins kept growing
   with the window, so the bigger the screen, the narrower the page got. */
.wrap{--margin:max(6.8%,calc((100% - 1600px) / 2));padding:0 var(--margin)}
.muted{color:var(--text-muted)}
.faint{color:var(--text-faint)}
.num{font-variant-numeric:tabular-nums}
.micro{font-size:14px;line-height:1.5;color:var(--text-muted)}

/* Sidebar shell, from Rufus's sketch: search at the top, the areas under
   it, and the person at the bottom, which is where Settings and "Viewing
   as" live. The page itself sits on a raised card beside it. */
body{background:var(--bg-sunk)}
.app{display:grid;grid-template-columns:var(--side-w,248px) 0 minmax(0,1fr);grid-template-areas:'side panel main';min-height:100vh}
.app > .side{grid-area:side}
.app > .ppanel{grid-area:panel}
.app > .main{grid-area:main}
.side{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:18px;padding:18px 14px 16px;background:var(--side);color:#fff}
/* The logo and the app's name stacked under it, centred, as in the Figma file. */
.side__brand{display:grid;gap:18px;justify-items:center;padding:14px 4px 10px;text-decoration:none;transition:padding var(--slow) var(--ease),gap var(--slow) var(--ease)}
/* The logo in three pieces, "spr", "in" and "g", so that collapsing the sidebar can squeeze the outer letters
   into the "in". Each piece shows its own slice of the one image; the outer two shrink with their slice.
   The -side images are the logo cut down to 3x this size in one solid pink: the browser shrinking the 4096px original this far gave the letters rough, furry edges. */
.side__logo{display:flex;height:40px;transition:height var(--slow) var(--ease)}
.side__logo > span{flex:none;height:40px;background:url(/assets/spring-logo-side.png) no-repeat 0 0/121px 40px;
  transition:width var(--slow) var(--ease),background-size var(--slow) var(--ease),background-position var(--slow) var(--ease),opacity .12s linear}
.side__logo-l{width:65px}
.side__logo > .side__logo-in{position:relative;width:30px;background:none}
.side__logo > .side__logo-r{width:26px;background-position:-95px 0}
/* The cuts sit on whole pixels (65 and 95), so the bits of the r and g that cross into the middle slice line up
   with the rest of their letter; fractional cuts left a visible step there.
   The middle is that slice of the logo, then once the squeeze is done, the "in" cut out on its own (no edge of the r or g). */
.side__logo-in::before,.side__logo-in::after{content:"";position:absolute;inset:0;background:url(/assets/spring-logo-side.png) no-repeat -65px 0/121px 40px}
.side__logo-in::after{bottom:auto;right:auto;width:29.39px;height:30.72px;background:url(/assets/spring-in-side.png) no-repeat 0 0/100% 100%;opacity:0}
.side__tag{display:grid;justify-items:center;max-height:90px;overflow:hidden;font:400 25px/1 var(--display);letter-spacing:.1em;text-transform:uppercase;color:#fff;
  transition:max-height var(--slow) var(--ease),opacity .3s var(--ease)}
.side__tag span:last-child{color:var(--pink)}
/* The top of the sidebar: the brand, and the button that folds the sidebar down to its icons. */
/* Expanded: reveal the fold button in the space above the brand. Folded: it replaces the in mark on hover. */
.side__top{position:relative;display:grid;justify-items:center}
.side__toggle-zone{position:relative;justify-self:stretch;height:14px}
.side__collapse,.side-dock{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:8px;background:transparent;color:rgba(255,255,255,.5);cursor:pointer;
  transition:background-color .2s,color .2s}
.side__collapse{position:absolute;top:-6px;right:-4px;opacity:0;transition:opacity .15s,background-color .2s,color .2s}
.side__toggle-zone:hover .side__collapse,.side__collapse:focus-visible{opacity:1}
.side__collapse .side-icon__strip,.side-dock .side-icon__strip{fill:var(--pink);opacity:.7;transition:opacity .2s}
.side__collapse:hover,.side__collapse:focus-visible{background:transparent;color:#fff}
.side__collapse:focus-visible{outline:2px solid var(--pink);outline-offset:2px}
.side__collapse svg{transform:scale(.82);transition:transform .2s var(--ease)}
.side__toggle-zone:hover .side__collapse svg,.side__collapse:focus-visible svg{transform:scale(1)}
.side__collapse:hover .side-icon__strip,.side__collapse:focus-visible .side-icon__strip{opacity:1}
/* Hidden altogether, the same button waits in the top-left corner to bring the sidebar back. */
.side-dock{display:none}
/* Projects by client, like folders in a chat app's sidebar: a folder for each client with open projects. */
.folders{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:4px;margin-top:6px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}
.folders__head{margin:0 12px 2px;font:500 13px var(--body);letter-spacing:0;text-transform:none;color:rgba(255,255,255,.5)}
.folders__list,.folder__projects{list-style:none;margin:0;padding:0;display:grid;gap:1px}
.folders__list > li,.folder__projects > li{min-width:0}
.folder__toggle{display:flex;align-items:center;gap:11px;width:100%;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:rgba(255,255,255,.88);font:inherit;font-size:15px;text-align:left;cursor:pointer;transition:background-color .2s}
.folder__toggle:hover,.folder__toggle:focus-visible{background:var(--pink);color:var(--ink);outline:0}
.folder__toggle:hover .folder__icon,.folder__toggle:focus-visible .folder__icon{color:var(--ink);opacity:1}
.folder__toggle span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folder__closed,.folder__open{transform-origin:12px 15px;transition:opacity .2s var(--ease),transform .22s var(--ease)}
.folder__open{opacity:0;transform:translateY(1px) scaleY(.85)}
.folder.is-open .folder__closed{opacity:0;transform:translateY(-1px) scaleY(.9)}
.folder.is-open .folder__open{opacity:1;transform:none}
.folder__icon{flex:none;opacity:.8;transition:opacity .2s var(--ease),color .2s var(--ease)}
.folder.is-open .folder__icon{opacity:1;color:var(--pink)}
.folder__contents{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .22s var(--ease),visibility 0s .22s}
.folder.is-open .folder__contents{grid-template-rows:1fr;visibility:visible;transition-delay:0s}
.folder__projects{min-height:0;overflow:hidden;padding:0;opacity:0;transition:opacity .18s var(--ease),padding .22s var(--ease)}
.folder.is-open .folder__projects{padding:1px 0 6px;opacity:1}
@media (prefers-reduced-motion:reduce){.folder__contents{transition-delay:0s}}
.folder__projects a{display:flex;align-items:center;gap:10px;padding:6px 12px;border-radius:8px;color:rgba(255,255,255,.72);font-size:14px;text-decoration:none;transition:background-color .2s,color .2s}
.folder__projects .folder__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* A retainer's marker sits after the name and never shrinks, so a long name gives way to it. It takes the row's colour, quieter. */
.folder__retainer{flex:none;margin-left:-4px;opacity:.6}
.project-tip__kind[hidden]{display:none}
/* The arrows centre over the stage dot above them: 12px wide in the dot's 7px column. */
.project-tip__kind .folder__retainer{margin:0 -2.5px;opacity:.8}
.folder__projects a:hover,.folder__projects a:focus-visible{background:var(--pink);color:var(--ink);outline:0}
.folder__projects a[aria-current="page"]{background:var(--pink);color:var(--ink);font-weight:600}
/* Lighter project-stage colours keep the small dots clear against the navy panel. */
.folder__dot{flex:none;width:7px;height:7px;border-radius:50%;background:color-mix(in srgb,var(--stage-costing) 55%,#fff)}
.folder__dot--sent{background:color-mix(in srgb,var(--stage-sent) 55%,#fff)}
.folder__dot--approved{background:color-mix(in srgb,var(--stage-approved) 55%,#fff)}
.folder__dot--live{background:color-mix(in srgb,var(--stage-live) 70%,#fff)}
.folder__dot--completed{background:color-mix(in srgb,var(--stage-completed) 30%,#fff)}
.project-tip{position:fixed;z-index:90;width:max-content;max-width:min(280px,calc(100vw - 24px));padding:10px 14px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:#2A2E41;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.2);font-size:14px;line-height:1.4}
.project-tip__name{display:block;overflow-wrap:anywhere;font-weight:600}
.project-tip__stage{display:flex;align-items:center;gap:8px;margin-top:4px;color:rgba(255,255,255,.8);font-size:13px}
/* Folded to its icons (on a wide screen; a phone has the drawer instead): by the button at the top, or while the
   projects panel is open beside it, as a chat app's sidebar does. */
.ppanel{display:none}
@media (min-width:861px){
  .app{transition:grid-template-columns var(--slow) var(--ease)}
  .side{overflow-x:hidden}
  html.side-collapsed .app{grid-template-columns:72px 0 minmax(0,1fr)}
  /* Hidden altogether: the page takes the whole width, and the sidebar waits off the left edge. Pointing at the
     edge of the screen slides it out over the page, full width, until the pointer leaves it. */
  html.side-hidden .app{grid-template-columns:0 0 minmax(0,1fr)}
  /* While its edge is dragged, the sidebar is exactly as wide as the pointer says; let go and it glides to the nearest width. */
  html.is-dragging-side .app{grid-template-columns:var(--drag-w,248px) 0 minmax(0,1fr)}
  html.is-dragging-side .side{overflow:hidden}
  html.is-resizing.side-gliding .app{transition:grid-template-columns .24s var(--ease)}
  html.is-dragging-side.side-thin .side{padding-left:0;padding-right:0}
  html.side-hidden.side-instant .side{transition:none}
  html.side-hidden .main{padding-left:0}
  html.side-hidden .side{position:fixed;z-index:60;top:0;left:0;width:var(--side-w,248px);transform:translateX(-100%);visibility:hidden;
    transition:transform .3s var(--ease),box-shadow .3s,visibility 0s linear .3s}
  html.side-hidden.side-peek .side{transform:none;visibility:visible;box-shadow:16px 0 44px rgba(0,0,0,.28);transition:transform .3s var(--ease),box-shadow .3s,visibility 0s}
  html.side-hidden .ppanel{visibility:hidden}
  html.is-resizing.side-hidden .side{transition:none}
  html.side-hidden .side-edge{display:block;position:fixed;z-index:59;top:0;left:0;width:10px;height:100vh}
  /* Just the icon, in ink on the page, with the same pink strip. */
  html.side-hidden .side-dock{display:grid;position:fixed;z-index:58;top:12px;left:12px;width:34px;height:34px;border-radius:8px;background:transparent;color:rgba(var(--ink-rgb),.55)}
  html.side-hidden .side-dock:hover,html.side-hidden .side-dock:focus-visible{background:rgba(var(--ink-rgb),.06);color:var(--ink);outline:0}
  html.side-hidden .side-dock:hover .side-icon__strip,html.side-hidden .side-dock:focus-visible .side-icon__strip{opacity:1}
  html.side-hidden.side-peek .side-dock{opacity:0;pointer-events:none}
  html.is-resizing .app{transition:none}
  html.is-resizing,html.is-resizing *{cursor:col-resize!important;user-select:none}
  html.side-collapsed .side{padding-left:12px;padding-right:12px}
  /* Collapsed, the logo shrinks to the "in" of spring. */
  html.side-collapsed .side__brand{padding:6px 0 0;gap:0}
  html.side-collapsed .side__logo{height:30.72px}
  /* The outer letters fade only at the very end of the squeeze, so you see them squash rather than vanish. */
  html.side-collapsed :is(.side__logo-l,.side__logo-r){transition:width var(--slow) var(--ease),background-size var(--slow) var(--ease),background-position var(--slow) var(--ease),opacity .12s linear .36s}
  html.side-collapsed .side__logo-l{width:0;background-size:0 40px;opacity:0}
  html.side-collapsed .side__logo-r{width:0;background-size:0 40px;background-position:0 0;opacity:0}
  html.side-collapsed .side__logo-in::before{opacity:0;transition:opacity .1s linear .42s}
  html.side-collapsed .side__logo-in::after{opacity:1;transition:opacity .1s linear .4s}
  html.side-collapsed .side__tag{max-height:0;opacity:0}
  html.side-collapsed :is(.side__note,.nav a > span,.nav__count,.me__name,.me__dot){display:none}
  html.side-collapsed .side__toggle-zone{position:absolute;top:0;left:50%;width:40px;height:40px;transform:translateX(-50%);z-index:2}
  html.side-collapsed .side__collapse{top:0;right:0;width:40px;height:40px;margin:0}
  html.side-collapsed .side__logo{transform:scale(1);transition:height var(--slow) var(--ease),opacity .18s var(--ease),transform .2s var(--ease)}
  html.side-collapsed .side__top:has(.side__toggle-zone:hover,.side__collapse:focus-visible) .side__logo{opacity:0;transform:scale(.86)}
  html.side-collapsed .nav a{justify-content:center;padding:10px}
  html.side-collapsed .nav__more{position:absolute;right:1px;top:50%;width:11px;height:11px;margin:-5.5px 0 0}
  html.side-collapsed .me__chip{justify-content:center;margin-left:0;padding:6px 0}
  /* The account menu opens out to the right of the sidebar, over the panel or the page, its foot level with the chip. */
  html.js .side:has(.me[open]){z-index:70}
  html.js .side .me__menu{position:fixed;z-index:80;left:var(--me-x,256px);right:auto;bottom:var(--me-b,16px);width:264px}
  html.side-collapsed .me{margin-top:auto}
  /* The projects panel extends off the right edge of the sidebar, over the page, rather than moving anything: it
     is revealed from the sidebar outwards (clipped to nothing, then to its full width), and the shadow is its edge. */
  .ppanel{position:fixed;z-index:45;top:0;left:var(--side-w,248px);width:var(--panel-w,232px);height:100vh;display:flex;flex-direction:column;gap:14px;min-width:0;overflow:hidden;padding:20px 12px 16px;
    background:#2A2E41;color:#fff;border-left:1px solid rgba(255,255,255,.06);box-shadow:14px 0 36px rgba(0,0,0,.22);
    visibility:hidden;clip-path:inset(0 100% 0 0);transition:clip-path var(--slow) var(--ease),visibility 0s linear var(--slow)}
  html.side-collapsed .ppanel{left:72px}
  html.projects-open .ppanel{visibility:visible;clip-path:inset(0 -48px 0 0);transition:clip-path var(--slow) var(--ease),visibility 0s}
}
/* The panel's contents are as wide as the panel will be, so they're clipped while it opens rather than reflowing, and long names end in an ellipsis. */
.ppanel > :not(.resizer):not(.glide){min-width:calc(var(--panel-w,232px) - 24px)}
/* The edge of the sidebar and of the projects panel: drag it to set the width. */
.resizer{position:absolute;z-index:5;top:0;right:0;width:7px;min-width:0!important;height:100%;cursor:col-resize;touch-action:none}
.resizer::after{content:"";position:absolute;top:0;bottom:0;right:0;width:2px;background:transparent;transition:background-color .2s}
.resizer:hover::after,.resizer:focus-visible::after,html.is-resizing .resizer.is-active::after{background:var(--pink)}
.resizer:focus-visible{outline:0}
.side-edge{display:none}
@media (max-width:860px){.resizer{display:none}}
.ppanel__head{display:flex;align-items:center;justify-content:space-between;padding:6px 4px 0 12px}
.ppanel__head h2{margin:0;font:400 26px/1 var(--display);letter-spacing:.06em;color:#fff}
.ppanel__close{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:var(--radius-button);background:transparent;color:rgba(255,255,255,.55);cursor:pointer}
.ppanel__close:hover,.ppanel__close:focus-visible{background:rgba(255,255,255,.1);color:#fff;outline:0}
.ppanel{container-type:inline-size}
.folders__none{margin:0 12px;font-size:14px;color:rgba(255,255,255,.5)}
/* History: the way to every completed project, at the foot of the projects panel. */
/* Outweighs the panel's full-width rule for its children, so the button stays the size of its words. */
.ppanel > .folders__closeall:not(.resizer):not(.glide){min-width:0}
.folders__closeall{align-self:flex-start;width:auto;flex:none;margin:12px 12px 0;padding:6px 12px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:none;color:rgba(255,255,255,.75);font:500 13px var(--body);cursor:pointer;transition:background .2s,color .2s}
.folders__closeall:hover,.folders__closeall:focus-visible{background:rgba(255,255,255,.08);color:#fff}
.folders__closeall[hidden]{display:none}
/* Finding a project: a search between the stages and the clients, with a calendar in it for a date range. */
.pfind{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 4px 2px}
.pfind__search{min-width:0;display:flex;align-items:center;gap:8px;height:38px;padding:0 4px 0 12px;border:1px solid rgba(255,255,255,.16);border-radius:var(--radius-search);background:rgba(255,255,255,.05);color:rgba(255,255,255,.55);transition:border-color .3s ease-in-out,background-color .3s ease-in-out,color .3s ease-in-out}
.pfind__search:focus-within{border-color:var(--pink);background:rgba(255,255,255,.08);color:#fff}
.pfind__search > svg{flex:none}
.pfind__search input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:14px;color:#fff;color-scheme:dark}
.pfind__search input::placeholder{color:rgba(255,255,255,.45)}
/* The calendar in the search: a pink dot once dates are chosen. */
.pfind__cal{position:relative;flex:none;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:transparent;color:rgba(255,255,255,.6);cursor:pointer;transition:background-color .3s ease-in-out,color .3s ease-in-out}
.pfind__cal:hover,.pfind__cal:focus-visible,.pfind__cal[aria-expanded="true"]{background:rgba(255,255,255,.1);color:#fff;outline:0}
.pfind__cal.is-on{color:var(--pink)}
.pfind__cal.is-on::after{content:"";position:absolute;top:5px;right:5px;width:6px;height:6px;border-radius:50%;background:var(--pink);box-shadow:0 0 0 2px var(--side)}
/* The chosen dates as a chip: click it to change them, × to take them off. */
.pfind__chip{justify-self:start;display:inline-flex;align-items:center;max-width:100%;border-radius:var(--radius-tag);background:var(--pink);color:var(--ink)}
.pfind__chip[hidden]{display:none}
.pfind__range{min-width:0;padding:4px 4px 4px 12px;border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:inherit;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pfind__x{position:relative;flex:none;width:24px;height:24px;margin-right:2px;border:0;border-radius:50%;background:transparent;cursor:pointer;transition:background-color .3s ease-in-out}
.pfind__x::before,.pfind__x::after{content:"";position:absolute;left:50%;top:50%;width:10px;height:1.6px;margin:-.8px 0 0 -5px;border-radius:1px;background:var(--ink);transform:rotate(45deg)}
.pfind__x::after{transform:rotate(-45deg)}
.pfind__x:hover,.pfind__x:focus-visible{background:rgba(255,255,255,.45);outline:0}
/* The pop-up, under the search. */
.pfind__pop{position:absolute;z-index:6;top:56px;left:4px;right:4px;display:grid;gap:12px;padding:16px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#343A52;color:#fff;color-scheme:dark;box-shadow:0 18px 40px rgba(0,0,0,.35);
  opacity:0;transform:translateY(-6px);transition:opacity .3s ease-in-out,transform var(--slow) var(--ease)}
.pfind__pop.is-open{opacity:1;transform:none}
.pfind__title{margin:0;font:400 20px/1 var(--display);letter-spacing:.06em;text-transform:uppercase}
.pfind__presets{display:flex;flex-wrap:wrap;gap:6px}
.pfind__presets button{padding:5px 10px;border:1px solid rgba(255,255,255,.2);border-radius:var(--radius-button);background:transparent;font:inherit;font-size:13px;color:#fff;cursor:pointer;transition:background-color .3s ease-in-out,border-color .3s ease-in-out,color .3s ease-in-out}
.pfind__presets button:hover,.pfind__presets button:focus-visible{background:var(--pink);border-color:var(--pink);color:var(--ink);outline:0}
.pfind__fields{display:grid;gap:10px}
.pfind__field{display:grid;gap:4px}
.pfind__field > span:first-child{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.pfind__pop .datef__text{min-height:38px;padding:6px 10px;border:1px solid rgba(255,255,255,.18);border-radius:var(--radius-field);background:rgba(255,255,255,.06);color:#fff;font-size:14px}
.pfind__pop .datef__text::placeholder{color:rgba(255,255,255,.4)}
.pfind__pop .datef__text:focus{border-color:var(--pink);outline:0}
.pfind__pop .datef__pick{width:38px;border-color:rgba(255,255,255,.18);border-radius:var(--radius-field);background:rgba(255,255,255,.06);color:#fff;transition:background-color .3s ease-in-out,color .3s ease-in-out}
.pfind__pop .datef__pick:hover,.pfind__pop .datef__pick:focus-visible{background:var(--pink);border-color:var(--pink);color:var(--ink);outline:0}
.pfind__error{margin:0;font-size:13px;color:#F3B8C4}
.pfind__actions{display:flex;justify-content:space-between;align-items:center;gap:10px}
.pfind__reset{padding:0;border:0;background:none;font:inherit;font-size:13px;color:rgba(255,255,255,.65);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.pfind__reset:hover,.pfind__reset:focus-visible{color:#fff;outline:0}
.pfind__apply{position:relative;isolation:isolate;overflow:hidden;padding:8px 18px;border:0;border-radius:var(--radius-button);background:var(--pink);font:inherit;font-size:14px;font-weight:700;color:var(--ink);cursor:pointer}
.pfind__apply::before{content:"";position:absolute;inset:0;z-index:-1;background:#fff;transform:scaleY(0);transform-origin:bottom;transition:transform var(--slow) var(--ease)}
.pfind__apply:hover::before,.pfind__apply:focus-visible::before{transform:scaleY(1)}
.pfind__apply:focus-visible{outline:0}
.pfind__clear{justify-self:start;padding:2px 0;border:0;background:none;font:inherit;font-size:13px;color:var(--pink);text-decoration:underline;text-underline-offset:3px;cursor:pointer;transition:color .3s ease-in-out}
.pfind__clear[hidden]{display:none}
.pfind__clear:hover,.pfind__clear:focus-visible{color:#fff;outline:0}
@media (max-width:860px){.side__collapse{display:none}}
.nav{position:relative;display:grid;gap:2px}
.nav a,.me__link{position:relative;z-index:1;display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;text-decoration:none;color:var(--ink);font-size:16px;white-space:nowrap;transition:color var(--slow) var(--ease)}
.nav a:hover,.me__link:hover{background:var(--pink-soft)}
.nav a[aria-current="page"]{background:var(--pink);font-weight:600}
.nav__icon{flex:none}
/* Projects opens a panel beside the sidebar: a small arrow says so while you point at it, and turns back while it's open. */
.nav__more{flex:none;width:16px;height:16px;margin-left:auto;opacity:0;transition:transform var(--slow) var(--ease),opacity .2s}
.nav a:hover .nav__more,.nav a:focus-visible .nav__more{opacity:1}
/* Light text on the navy; dark only where it sits on the pink pill. */
.side .nav a{color:rgba(255,255,255,.88)}
.side .nav a:hover{background:rgba(255,255,255,.08);color:#fff}
.side .nav a[aria-current="page"]{color:var(--ink)}
.side .nav.has-slider a,.side .nav.has-slider a:hover{color:rgba(255,255,255,.88)}
.side .nav.has-slider a.is-lit{color:var(--ink)}
/* With the script, one pink highlight moves through the sidebar and the projects panel (app.js), so nothing has a
   background of its own on hover; whatever it's under turns dark. */
.glide{position:absolute;z-index:0;top:0;left:0;border-radius:8px;background:var(--pink);pointer-events:none;opacity:0;
  transition:transform var(--slow) var(--ease),width var(--slow) var(--ease),height var(--slow) var(--ease)}
.glide.is-instant{transition:none}
html.js .side .nav > a,html.js .side .nav > a:hover,html.js .side .nav > a[aria-current="page"]{background:transparent;color:rgba(255,255,255,.88)}
html.js .side .nav > a.is-lit{color:var(--ink);font-weight:600}
.folder__toggle,.folder__projects a{position:relative;z-index:1}
html.js .folder__toggle:is(:hover,:focus-visible){background:transparent;color:rgba(255,255,255,.88)}
html.js .folder__toggle:is(:hover,:focus-visible) .folder__icon{color:inherit;opacity:.8}
html.js .folder__projects a:is(:hover,:focus-visible,[aria-current="page"]){background:transparent;color:rgba(255,255,255,.72)}
html.js :is(.folder__toggle,.folder__projects a).is-lit{background:transparent;color:var(--ink)}
html.js .folder__toggle.is-lit .folder__icon{color:var(--ink);opacity:1}
.side .me__chip{color:#fff}
.side .me__chip:hover,.side .me[open] .me__chip{background:rgba(255,255,255,.08)}
.side .me__avatar{background:rgba(255,255,255,.14)}
/* With the script, one pink pill slides to the area under the pointer and
   settles back on the current page when it leaves. */
.slider{position:absolute;z-index:0;top:0;left:0;height:100%;border-radius:6px;background:var(--pink);opacity:0;
  transition:transform var(--slow) var(--ease),width var(--slow) var(--ease),height var(--slow) var(--ease),opacity .3s;pointer-events:none}
.nav > .slider{border-radius:8px}
.has-slider > .slider{opacity:1}
.nav.has-slider > a,.nav.has-slider > a:hover,.nav.has-slider > a[aria-current],
.seg.has-slider > a,.seg.has-slider > a:hover,.seg.has-slider > a[aria-current]{background:transparent}
.nav.has-slider > a.is-lit{font-weight:600}
.side__note{position:relative;margin-top:auto;padding:10px 28px 10px 12px;border-radius:8px;background:var(--pink-soft);font-size:12px;line-height:1.45;color:var(--ink)}
.side__note + .side__note{margin-top:0}
.side__dismiss{position:absolute;top:4px;right:4px;width:22px;height:22px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;color:var(--text-muted);font:inherit;font-size:18px;line-height:1;cursor:pointer}
.side__dismiss:hover{background:#fff;color:var(--ink)}
.side__dismiss:focus-visible{outline:2px solid var(--pink);outline-offset:1px}
.me{position:relative;margin-top:auto}
.side__note ~ .me{margin-top:0}
.me__chip{display:flex;align-items:center;gap:9px;padding:6px 8px;margin-left:-4px;border-radius:8px;cursor:pointer;list-style:none;font-size:14px;font-weight:600;color:var(--ink);transition:background var(--slow) var(--ease)}
.me__chip::-webkit-details-marker{display:none}
.me__chip:hover,.me[open] .me__chip{background:rgba(var(--ink-rgb),.05)}
.me__avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:26px;height:26px;border-radius:50%;background:var(--ink);color:var(--pink);font-size:11px;font-weight:700;letter-spacing:.03em}
.me__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.me__menu{position:absolute;left:0;right:0;bottom:calc(100% + 8px);display:grid;gap:4px;padding:8px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:0 12px 32px rgba(var(--ink-rgb),.14)}
.me__link{font-size:15px}
.me__link[aria-current="page"]{background:var(--pink-soft);font-weight:600}
.as{display:grid;gap:4px;padding:8px 12px 4px;border-top:1px solid var(--border-soft);font-size:13px;color:var(--text-muted)}
.as select{width:100%;min-height:36px;padding:4px 10px;border-radius:var(--radius-field);border:1px solid var(--border);background:#fff;color:var(--ink);font:inherit;font-size:14px}
/* In the sidebar the account menu is navy too, with the same pink highlight as the links beside it. */
.side .me__menu{background:#2A2E41;border-color:rgba(255,255,255,.1);box-shadow:0 18px 44px rgba(0,0,0,.34);color:#fff;color-scheme:dark}
.side .me[open] .me__menu{animation:me-in .22s var(--ease)}
@keyframes me-in{from{opacity:0;transform:translateX(-6px)}}
.side .me__link{color:rgba(255,255,255,.88);transition:background-color .3s ease-in-out,color .3s ease-in-out}
.side .me__link:is(:hover,:focus-visible){background:var(--pink);color:var(--ink);outline:0}
.side .me__link[aria-current="page"]:not(:hover,:focus-visible){background:rgba(255,255,255,.13);color:#fff}
.side .as{border-top-color:rgba(255,255,255,.1);color:rgba(255,255,255,.6)}
.side .as select{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.18);color:#fff}
.side .me__menu .btn{--fill:rgba(255,255,255,.1);background:transparent;border-color:rgba(255,255,255,.2);color:#fff}
.side .me__menu .btn:is(:hover,:focus-visible){border-color:rgba(255,255,255,.32);color:#fff}
.demo{background:var(--pink-soft);font-size:13px;color:var(--ink)}
.demo .wrap{padding-top:7px;padding-bottom:7px}
.main{min-width:0;padding:0}
.menu-btn,.scrim{display:none}
/* The page sits straight on the cream background: no rounded frame round it (7 October), so the room goes to the content. */
.main__card{min-height:100vh;padding:clamp(40px,5vw,90px) 0 72px;background:var(--bg-page)}
@media (max-width:860px){
  .wrap{padding:0 16px}
  .app{display:block}
  .main{padding:0}
  .main__card{min-height:100dvh;padding:28px 0 56px}
  h1{font-size:38px}
  h2{font-size:24px}
  /* Without scripts the sidebar folds into a strip above the page. */
  html:not(.js) .side{position:static;height:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 16px}
  html:not(.js) .side__brand,html:not(.js) .side__note{grid-column:1 / -1;margin:0}
  html:not(.js) .nav{display:flex;overflow-x:auto}
  html:not(.js) .me{grid-column:2;grid-row:2;margin:0;align-self:center}
  html:not(.js) .side__note ~ .me{grid-row:auto;grid-column:1 / -1}
  html:not(.js) .me__menu{left:auto;right:0;bottom:auto;top:calc(100% + 8px);width:260px;z-index:10}
  /* With scripts it's a drawer, like the Claude app: four fifths of the
     screen, open when you arrive, gone once you pick a view, and pulled
     back by swiping from left to right (or the menu button). */
  html.js .side{position:fixed;z-index:50;inset:0 auto 0 0;width:80vw;height:100dvh;overflow-y:auto;overscroll-behavior:contain;
    padding:18px 16px calc(16px + env(safe-area-inset-bottom));background:var(--side);
    transform:translateX(-100%);transition:transform var(--slow) var(--ease),box-shadow var(--slow) var(--ease)}
  html.js.drawer-open .side{transform:none;box-shadow:12px 0 40px rgba(var(--ink-rgb),.16)}
  html.js .scrim{display:block;position:fixed;inset:0;z-index:40;background:rgba(var(--ink-rgb),.28);opacity:0;pointer-events:none;transition:opacity var(--slow) var(--ease)}
  html.js.drawer-open .scrim{opacity:1;pointer-events:auto}
  html.is-dragging .side,html.is-dragging .scrim{transition:none}
  html.js .menu-btn{position:absolute;top:12px;left:12px;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:var(--radius-button);background:transparent;color:var(--ink);cursor:pointer}
  html.js .menu-btn:active{background:rgba(var(--ink-rgb),.06)}
  html.js .main__card{position:relative;padding-top:64px}
}
.head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:32px}
.head__main{display:grid;gap:8px;min-width:0}
/* Page titles and intros take the sizes George set on the costing page (60px, 6px tracking; 16px / 28px intro, 50px gaps),
   so Clients, My expenses, Improvement notes and the rest match the project pages. */
.head h1{font-size:60px;line-height:1;letter-spacing:.1em}
.head__main>h1+.muted{margin-top:42px;font-size:16px;line-height:1.75;color:var(--ink)}
.head{margin-bottom:50px}
@media (max-width:760px){.head h1{font-size:44px}}
.crumb{font-size:15px;color:var(--text-muted);text-decoration:none}
.crumb:hover{color:var(--text-primary)}
.stack{display:grid;gap:20px;align-content:start}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;align-items:start}

/* Panels */
.panel{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-card);padding:24px}
.panel--flush{padding:0;overflow:hidden}
.panel__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:18px}
.panel__head h2{margin:0;font-size:24px}
.section{margin-top:48px}
.section > h2{display:flex;align-items:baseline;gap:10px}
.count{font:400 15px var(--body);color:var(--text-muted);letter-spacing:0;text-transform:none}

/* Controls */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:11px 16px;border-radius:var(--radius-button);
  border:1px solid #D8D1CF;background:#fff;color:var(--ink);font:inherit;font-family:var(--body);font-size:15px;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn{position:relative;isolation:isolate;overflow:hidden;--fill:var(--pink-soft);transition:color .35s,border-color .35s}
.btn::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--fill);transform:scaleY(0);transform-origin:bottom;
  transition:transform var(--slow) var(--ease)}
.btn:hover::before,.btn:focus-visible::before{transform:scaleY(1)}
/* The main action: white with a navy outline, filling navy from the bottom. */
.btn--primary{background:#fff;border:1.5px solid var(--ink);color:var(--ink);font-weight:700;--fill:var(--ink)}
.btn--primary:hover,.btn--primary:focus-visible{color:#fff}
.btn--link::before{display:none}
.btn--small{min-height:36px;padding:6px 12px;font-size:14px}
.btn--link{border:0;min-height:0;padding:0;background:none;color:var(--text-muted);text-decoration:underline;text-underline-offset:3px}
input,select,textarea{font:inherit;color:inherit}
.input,select.input{width:100%;min-height:46px;padding:11px 12px;border-radius:var(--radius-field);border:1px solid #D8D1CF;background:#fff;color:var(--ink)}
/* Date boxes: typed straight through as dd/mm/yyyy, with a calendar button. */
.datef{position:relative;display:flex;gap:6px;align-items:stretch}
.datef__text{flex:1;min-width:0;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.datef__pick{flex:none;width:46px;border-radius:var(--radius-field);border:1px solid #D8D1CF;background:#fff;color:var(--ink);cursor:pointer;display:grid;place-items:center}
.datef__pick:hover{background:var(--pink);border-color:var(--pink)}
.datef__native{position:absolute;right:0;bottom:0;width:46px;height:1px;opacity:0;pointer-events:none;border:0;padding:0}
.datef--compact{display:inline-flex;vertical-align:middle}
.datef--compact .datef__text{width:8.5em;flex:none;min-height:32px;padding:2px 8px}
.datef--compact .datef__pick{width:32px;min-height:32px}
.datef__text:invalid:not(:placeholder-shown){border-color:#B4506A}
.input:focus,select.input:focus,.cell:focus{outline:2px solid var(--ink);outline-offset:1px}
label.field{display:grid;gap:8px;font-size:15px;font-weight:600}
label.field .micro{font-weight:400}
.form{display:grid;gap:20px;max-width:600px}
.form__row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px}
.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.seg{position:relative;display:inline-flex;border:1px solid var(--border);border-radius:8px;padding:3px;gap:2px;background:#fff}
.seg a{position:relative;z-index:1;padding:8px 16px;border-radius:6px;text-decoration:none;font-size:15px;color:var(--text-muted);transition:color var(--slow) var(--ease)}
.seg a[aria-current="true"]{background:var(--pink-soft);color:var(--ink);font-weight:600}
.seg a.is-lit{color:var(--ink)}
.seg > .slider{top:3px;height:calc(100% - 6px);background:var(--pink-soft)}
.seg--stages{flex-wrap:wrap;max-width:100%}
.seg--stages > .slider{top:0}
.flash{border-radius:8px;padding:14px 16px;margin-bottom:24px;font-size:15px;border:1px solid var(--border);border-left:4px solid var(--pink);background:#fff}
.flash--error{border-color:#EED591;border-left-color:#C9A13A;background:var(--warn-ground)}
details.disclose > summary{cursor:pointer;font-weight:600;list-style:none}
details.disclose > summary::-webkit-details-marker{display:none}
details.disclose > summary::after{content:" +";color:var(--text-muted);font-weight:400}
details.disclose[open] > summary::after{content:" –"}
details.disclose[open] > summary{margin-bottom:18px}

/* Status and flags. Each stage has its own colour, as George asked: live
   and completed are green. The words still carry the meaning. */
.status{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:var(--radius-label);font-size:13px;font-weight:600;background:var(--bg-sunk);color:var(--text-muted);white-space:nowrap}
.status--costing{background:var(--stage-costing);color:var(--on-stage-costing)}
.status--sent{background:var(--stage-sent);color:var(--on-tag)}
.status--approved{background:var(--stage-approved);color:var(--on-tag)}
.status--live{background:var(--stage-live);color:var(--on-tag)}
.status--live::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.status--completed{background:var(--stage-completed);color:var(--on-tag)}
.status--completed::before{content:"✓";font-size:12px}
.status--cancelled{background:var(--stage-declined);color:var(--on-tag)}
.flag{display:inline-flex;align-items:center;padding:3px 9px;border-radius:var(--radius-label);font-size:13px;font-weight:600;
  color:var(--text-warn);background:var(--warn-ground);border:1px solid #EED591;white-space:nowrap}
.reasons{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.reasons li{display:grid;gap:4px;padding:14px 16px;border-radius:8px;border:1px solid #EED591;background:var(--warn-ground);font-size:15px}
.reasons strong{color:var(--text-warn)}

/* Bars */
.bar{position:relative;height:8px;border-radius:4px;background:var(--track);overflow:hidden}
.bar__fill{position:absolute;inset:0 auto 0 0;border-radius:4px;background:var(--ink)}
.bar__fill--time{background:var(--pink)}
/* The time marker (a Settings switch): a thin pink tick, taller than the bar. */
.barwrap{position:relative}
.bar__mark{position:absolute;top:-6px;bottom:-6px;width:3px;margin-left:-1.5px;border-radius:2px;background:var(--pink-deep);box-shadow:0 0 0 2px #fff}
.bar__over{position:absolute;inset:0 0 0 auto;background:repeating-linear-gradient(135deg,#C9A13A 0 4px,transparent 4px 7px)}
.meter{display:grid;gap:8px}
.meter__label{display:flex;justify-content:space-between;gap:10px;font-size:14px}
.meter__label span:last-child{color:var(--text-muted)}

/* Job rows: name, one bar, status. Everything else is on the job page. */
.jobs{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.job{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 170px;gap:10px 32px;align-items:center;
  padding:20px 24px;background:#fff;border:1px solid var(--border);border-radius:10px;text-decoration:none;color:inherit}
/* A job you can open fills pale pink from the bottom, like the buttons. */
a.job{position:relative;isolation:isolate;overflow:hidden}
a.job::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--pink-soft);transform:scaleY(0);transform-origin:bottom;
  transition:transform var(--slow) var(--ease)}
a.job:hover::before,a.job:focus-visible::before{transform:scaleY(1)}
a.job .status{transition:background var(--slow) var(--ease)}
a.job:hover .status--live,a.job:focus-visible .status--live{filter:brightness(.94)}
.job__client{font-size:14px;color:var(--text-muted)}
.job__name{font-weight:700;font-size:17px;line-height:1.35}
.job__side{display:grid;gap:4px;justify-items:start}
.job__flags{grid-column:1 / -1;list-style:none;margin:0;padding:0;display:grid;gap:6px}
.job__flags li{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;font-size:14px;color:var(--text-muted)}
/* Waiting to start: the Start button is the point of the row. */
.job--waiting{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto}
/* A job's hours as a donut */
.donut{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.donut svg{width:176px;height:176px;flex:none}
.donut__track{fill:none;stroke:var(--track);stroke-width:16}
.donut__arc{fill:none;stroke-width:16;stroke-linecap:butt}
.donut__used{stroke:var(--ink)}
.donut__over{stroke:url(#donut-hatch)}
.donut__tick{stroke:var(--pink-deep);stroke-width:3.5;stroke-linecap:round;paint-order:stroke}
.donut--two .donut__track,.donut--two .donut__arc{stroke-width:13}
.donut__timetrack{fill:none;stroke:#F6EBEE;stroke-width:8}
.donut__time{fill:none;stroke:var(--pink);stroke-width:8}
.donut__time.is-late{stroke:var(--pink-deep)}
.donut--two .donut__pct{font-size:21px}
.donut__key--time{background:var(--pink)}
.donut__key--time.is-late{background:var(--pink-deep)}
/* Hours used, split by activity. */
.split{display:grid;gap:8px}
.split__total{color:var(--ink);font-weight:700}
/* Line items: scoped against recorded. */
.items td.is-over{color:var(--text-warn);font-weight:700}
.items__barcol{width:28%;min-width:120px;vertical-align:middle!important}
.items__loose td:first-child{color:var(--text-muted);font-style:italic}
@media (max-width:640px){.items__barcol{display:none}}
.donut__pct{font:700 26px var(--body);fill:var(--ink);text-anchor:middle;letter-spacing:-.5px}
.donut__sub{font:400 10px var(--body);fill:var(--text-muted);text-anchor:middle}
.donut__legend{margin:0;display:grid;gap:10px;min-width:200px;flex:1}
.donut__legend div{display:flex;justify-content:space-between;gap:16px;font-size:15px;padding-bottom:8px;border-bottom:1px solid var(--border-soft)}
.donut__legend div:last-child{border-bottom:0;padding-bottom:0}
.donut__legend dt{display:flex;align-items:center;gap:8px;color:var(--text-muted)}
.donut__legend dd{margin:0;font-weight:700;font-variant-numeric:tabular-nums}
.donut__legend i{width:10px;height:10px;border-radius:2px;flex:none}
.donut__key--used{background:var(--ink)}
.donut__key--left{background:var(--track);box-shadow:inset 0 0 0 1px #DCD2CD}
.donut__key--over{background:repeating-linear-gradient(135deg,#C9A13A 0 2px,#F3E3B5 2px 4px)}
.donut__key--tick{background:var(--pink-deep);width:3px!important;margin:0 3.5px}
.donut__key--none{visibility:hidden}
/* Time recorded: a quiet line on the Overview, opening the gaps page */
.complete{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px 20px;margin-top:18px;padding:14px 20px;
  background:#fff;border:1px solid var(--border);border-radius:10px;text-decoration:none;color:inherit}
.complete:hover{border-color:var(--pink)}
.complete__label{font-size:14px;color:var(--text-muted)}
.complete__figure{font-size:15px}
.complete__bar{grid-column:1 / -1;grid-row:2;height:6px}
.complete__more{font-size:14px;color:var(--text-pink);font-weight:600;white-space:nowrap}
@media (max-width:760px){.complete{grid-template-columns:1fr}.complete__bar{grid-row:auto}}
.table--compact.gaps{table-layout:auto}
.gaps td:first-child{white-space:nowrap}
.gaps .gap-cell{text-align:right;font-variant-numeric:tabular-nums}
.gaps .gap-cell--off{color:var(--text-faint)}
.gaps .gap-cell--none{color:#9A7420;background:var(--warn-ground)}
.gaps .gap-cell--short{color:#9A7420}
.gap-total{color:var(--text-warn);font-weight:700}
.job__link{text-decoration:none;display:block}
.job__link:hover{text-decoration:underline}
.job__start{justify-self:end}
.job__start > summary{list-style:none}
.job__start > summary::-webkit-details-marker{display:none}
.job__start[open]{grid-column:1 / -1;justify-self:stretch}
.job__start[open] > summary{display:none}
.startjob{display:flex;flex-wrap:wrap;gap:16px;align-items:end;padding:16px;border-radius:8px;background:var(--pink-soft)}
.startjob .field{flex:1 1 180px}
/* Waiting to start, on the job page */
.health-help--inline{margin-top:16px}
.startpanel{background:var(--pink-soft);border-color:var(--pink)}
.startpanel h2{margin-bottom:4px}
.startpanel .startjob{display:grid;gap:20px;align-items:start;padding:16px 0 0;background:none}
.startpanel .startjob .field{flex:none;max-width:340px}
.startpanel .startjob .field:has(.tpick){max-width:none}
.startpanel .tpick__person{background:rgba(255,255,255,.7)}
.startpanel .tpick__more{border-color:var(--pink)}
/* A completed job's post-mortem */
.pm__flow{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;font-size:17px;color:var(--text-muted)}
.pm__flow b{font-size:34px;color:var(--ink);letter-spacing:-.5px}
.pm__arrow{font-size:24px;color:var(--pink)}
.pm__verdict{margin:6px 0 20px;font-weight:700;font-size:17px}
.pm__verdict.is-over{color:var(--text-warn)}
.pm__acts{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.pm__acts li{display:grid;grid-template-columns:1fr auto;gap:6px 12px;align-items:baseline}
.pm__acts .bar{grid-column:1 / -1}
.pm__act{font-size:15px}
/* Needs a look: louder than the rest of the page, on purpose. */
.attention{margin-top:8px;padding:24px;border-radius:14px;background:var(--warn-ground);border:1px solid #EED591}
.attention > h2{margin-bottom:6px}
.attention .count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:14px;background:#C9A13A;color:#fff;font-weight:700;font-size:15px}
.attention .job{border-color:#EED591;border-left:4px solid #C9A13A}
.attention .job__flags li{color:var(--ink)}
@media (max-width:760px){.job,.job--waiting{grid-template-columns:1fr;padding:18px}.job__start{justify-self:start}.attention{padding:16px}}

/* Stats */
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.stat{padding:22px;border:1px solid var(--border);border-radius:var(--radius-card);background:#fff}
.stat__label{font-size:14px;color:var(--text-muted)}
.stat__value{font-size:30px;font-weight:700;letter-spacing:-.5px;line-height:1.2;margin-top:10px;font-variant-numeric:tabular-nums}
.stat__note{font-size:13px;color:var(--text-muted);margin-top:4px}
.stat--em{background:var(--ink);border-color:var(--ink);color:#fff}
.stat--em .stat__value{color:var(--pink)}
.stat--em .stat__label,.stat--em .stat__note{color:rgba(255,255,255,.72)}
@media (max-width:760px){.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat{padding:16px}.stat__value{font-size:24px}}

/* Breakdowns */
.breakdown{list-style:none;margin:0;padding:0;display:grid;gap:16px}
.breakdown li{display:grid;gap:6px}
.breakdown__label{display:flex;justify-content:space-between;gap:12px;font-size:15px}
.breakdown__label span:last-child{color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.mix{display:flex;height:10px;border-radius:5px;overflow:hidden;background:var(--track);gap:2px}
.mix span{display:block;height:100%}
.key{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:14px;color:var(--text-muted);margin-top:10px}
.key i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}
.c0{background:var(--ink)}.c1{background:var(--pink)}.c2{background:var(--spring-sage)}.c3{background:var(--spring-blue)}.c4{background:#D795A0}.c5{background:#B8A5AD}

/* Tables, for the few things that are genuinely tabular */
.table{width:100%;border-collapse:collapse;font-size:15px}
.table th{text-align:left;font-size:12px;letter-spacing:.7px;text-transform:uppercase;color:var(--text-muted);font-weight:600;padding:14px 16px;background:var(--bg-sunk)}
.table td{padding:16px;border-top:1px solid var(--border-soft);vertical-align:top}
.table th:first-child,.table td:first-child{padding-left:24px}
.table .r{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.table a{text-decoration:none;font-weight:700}
.table a:hover{text-decoration:underline}
.scroll{overflow-x:auto}
/* A log to scan, not to read: short rows, smaller type. */
.table--compact{font-size:14px;table-layout:fixed}
.table--compact th{padding:9px 12px}
.table--compact td{padding:7px 12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.table--compact th:first-child,.table--compact td:first-child{padding-left:20px}
.table--compact td:last-child{padding-right:20px}
/* The fold at the foot of a long log: a whole row to click, arrow pointing down. */
.table--compact td.more-row{padding:0;text-align:center;border-top:1px solid var(--border-soft);background:var(--bg-sunk)}
.more-row a{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px;text-decoration:none;font-weight:600;color:var(--text-muted);transition:color .3s ease-in-out,background-color .3s ease-in-out}
.more-row a:hover{color:var(--ink);background:var(--pink-soft)}
.more-row__arrow{width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform var(--slow) var(--ease)}
.more-row__arrow.is-up{transform:translateY(2px) rotate(-135deg)}
.more-row a:hover .more-row__arrow:not(.is-up){animation:nudge-down .9s ease-in-out infinite}
.more-row a:hover .more-row__arrow.is-up{animation:nudge-up .9s ease-in-out infinite}
@keyframes nudge-down{0%,100%{translate:0 0}50%{translate:0 3px}}
@keyframes nudge-up{0%,100%{translate:0 0}50%{translate:0 -3px}}

/* Hover effects wait while the page scrolls, so rows sliding under a still
   pointer don't set them all off. */
.is-scrolling a,.is-scrolling button,.is-scrolling summary,.is-scrolling .cell{pointer-events:none}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:0s!important;animation:none!important}
}
@media (max-width:680px){.table .opt{display:none}.table td,.table th{padding:12px 10px}.table th:first-child,.table td:first-child{padding-left:14px}}

.timeline{list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:15px}
.timeline li{display:grid;grid-template-columns:96px 1fr;gap:12px}
.empty{padding:32px;text-align:center;color:var(--text-muted);background:#fff;border:1px dashed var(--border);border-radius:var(--radius-card)}

/* My time */

.weeknav{display:flex;align-items:center;gap:8px}
.weeknav__label{min-width:132px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.weeksum{display:grid;gap:8px;min-width:260px;max-width:340px}
.weeksum p{font-size:16px;color:var(--text-muted)}
.weeksum b{font-size:22px;color:var(--ink)}
.grid-wrap{padding:0}
.grid{width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.grid th,.grid td{padding:0}
.grid thead th{padding:14px 6px;font-size:13px;font-weight:400;color:var(--text-muted);text-align:center;background:var(--bg-sunk);line-height:1.2;border-bottom:1px solid var(--border)}
.grid thead th:first-child{border-top-left-radius:11px}
.grid thead th:last-child{border-top-right-radius:11px}
.grid thead th span{display:block}
.grid__date{font-size:17px;font-weight:700;color:var(--ink);margin-top:3px}
.grid thead th.is-today{background:var(--pink-soft)}
.grid th.grid__job{text-align:left;padding:14px 24px;font-weight:400;min-width:200px;width:36%}
.grid thead th.grid__job{font-size:12px;letter-spacing:.7px;text-transform:uppercase;font-weight:600}
.jobgroup + .jobgroup .jobgroup__head th{border-top:1px solid var(--border)}
.jobgroup__head th{text-align:left;padding:12px 24px 2px;font-weight:400}
.jobgroup__head th{display:table-cell}
.jobgroup__title{margin-right:12px}
.grid__client{font-size:14px;color:var(--text-muted)}
.grid__name{font-weight:700;font-size:16px}
.jobctx{font-size:13px;color:var(--text-muted);white-space:nowrap;margin-right:12px}
.jobctx.is-over{color:var(--text-warn)}
.addact{display:none;border:0;background:none;padding:2px 4px;font:inherit;font-size:13px;color:var(--text-pink);cursor:pointer}
.js .addact{display:inline}
.addact:hover{text-decoration:underline}
.grid th.grid__activity{text-align:left;padding:0 24px 0 36px;font-weight:400;font-size:15px;color:var(--text-pink)}
.is-locked .grid__name{color:var(--text-muted)}
.grid td{text-align:center;min-width:64px;padding:3px 5px;position:relative}
.jobgroup tr:last-child td,.jobgroup tr:last-child th{padding-bottom:10px}
/* Everything in an activity row lines up with the 36px cell. */
.jobgroup tr:not(.jobgroup__head) > *{vertical-align:top}
.jobgroup .grid__total,.grid th.grid__activity{line-height:36px;padding-top:3px!important}
.grid td.is-today{background:#FFF4F6}
.cell{width:100%;min-width:48px;height:36px;border:1px solid #D8D1CF;background:#fff;text-align:center;font-size:16px;font-weight:700;color:var(--ink);border-radius:var(--radius-field)}
.cell:hover:not(:disabled){border-color:var(--pink)}
.cell.has-note{background-image:radial-gradient(circle,var(--pink) 3px,transparent 3.5px);background-size:8px 8px;background-repeat:no-repeat;background-position:right 5px top 5px}
/* Hovering a cell with a note shows it, above the cell. */
.tip{position:absolute;z-index:19;bottom:calc(100% - 2px);left:50%;transform:translateX(-50%);max-width:240px;width:max-content;padding:7px 10px;
  background:var(--ink);color:#fff;font-size:13px;line-height:1.35;border-radius:6px;text-align:left;pointer-events:none;white-space:normal}
.cell.is-saving{color:var(--text-muted)}
.cell.is-error{outline:2px solid #C9A13A;outline-offset:1px}
.cell:disabled{background:transparent;border-color:transparent;color:var(--text-muted);cursor:not-allowed}
.grid__total{width:80px;font-weight:700;padding:0 24px 0 10px!important;text-align:right!important}
.grid tfoot th,.grid tfoot td{padding:14px 6px;background:var(--bg-sunk);border-top:1px solid var(--border);vertical-align:top}
.grid tfoot th:first-child{border-bottom-left-radius:11px}
.grid tfoot td:last-child{border-bottom-right-radius:11px}
.grid tfoot th.grid__job{font-size:12px;letter-spacing:.7px;text-transform:uppercase;color:var(--text-muted);font-weight:600;padding:16px 24px}
.grid tfoot .grid__total{padding-top:16px!important}
.daytotal{line-height:1.3}
.daytotal__n{display:block;font-size:15px}
.daytotal__of{color:var(--text-muted);font-weight:400;font-size:13px}
.daytotal__left{display:block;font-size:12px;color:var(--text-muted);min-height:16px}

/* The note beside the selected cell. */
.pop{position:absolute;z-index:20;top:calc(100% - 2px);left:50%;transform:translateX(-50%);width:260px;padding:10px;background:#fff;
  border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 32px rgba(37,39,53,.14);text-align:left}
.pop::before{content:"";position:absolute;top:-6px;left:calc(50% - 6px + var(--nudge,0px));width:10px;height:10px;background:#fff;border-left:1px solid var(--border);border-top:1px solid var(--border);transform:rotate(45deg)}
.pop__field{position:relative}
.pop__note,.pop__ghost{font:inherit;font-size:15px;line-height:22px;padding:6px 44px 6px 4px;letter-spacing:normal}
.pop__note{position:relative;width:100%;border:0;background:transparent;color:var(--ink)}
.pop__note:focus{outline:none}
/* Your earlier note, finished off in faint text; Tab takes it. */
.pop__ghost{position:absolute;inset:0;white-space:pre;overflow:hidden;color:var(--text-faint);pointer-events:none}
.pop__typed{color:transparent}
.pop__tab{position:absolute;right:4px;top:8px;font:600 11px/1 var(--body);padding:3px 5px;border:1px solid var(--border);border-radius:4px;color:var(--text-muted);background:var(--bg-sunk)}
.pop__hint{margin:6px 4px 2px;padding-top:8px;border-top:1px solid var(--border-soft);font-size:13px;line-height:1.4;color:var(--text-warn)}

.week__foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}
.js #save-all{display:none}
.daypick{display:none}

/* Add a job: a search box, then the activity. */
.adder{position:relative;margin-top:24px;max-width:620px}
.adder__box{display:flex;align-items:center;gap:10px;padding:4px 16px;background:#fff;border:1px dashed #C9BFBD;border-radius:10px}
.adder__box:focus-within{border-style:solid;border-color:var(--ink)}
.adder__plus{font-size:22px;color:var(--text-pink);line-height:1}
.adder__input{flex:1;border:0;background:transparent;padding:12px 0;font-size:16px;color:var(--ink)}
.adder__input:focus{outline:none}
.adder__list{position:absolute;z-index:15;left:0;right:0;top:calc(100% + 4px);margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 32px rgba(37,39,53,.14);max-height:340px;overflow:auto}
.adder__list li{padding:10px 12px;border-radius:6px;cursor:pointer;display:flex;gap:8px;align-items:baseline}
.adder__list li[aria-selected="true"],.adder__list li:hover{background:var(--pink-soft)}
.adder__list .adder__group{font-size:12px;letter-spacing:.7px;text-transform:uppercase;color:var(--text-muted);padding:8px 12px 4px;cursor:default;background:none!important}
.adder__list .c{color:var(--text-muted)}
.adder__list .n{font-weight:700}
.adder__list .none{color:var(--text-muted);cursor:default;background:none!important}
.adder__pick{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px}
.adder__chosen{font-weight:700}
.adder__acts{display:flex;gap:8px;flex-wrap:wrap}
.addrow{margin-top:24px}
.addrow__fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:16px;align-items:end}
@media (max-width:640px){
  .weeksum{min-width:0;max-width:none}
  .addrow__fields{grid-template-columns:1fr}
  .js .daypick{display:flex;gap:6px;margin-bottom:12px;overflow-x:auto}
  .daypick button{flex:1;min-height:52px;border:1px solid var(--border);border-radius:var(--radius-button);background:#fff;color:var(--text-muted);font:inherit;font-size:13px;padding:4px 6px}
  .daypick button b{display:block;font-size:17px;color:var(--ink)}
  .daypick button[aria-pressed="true"]{background:var(--ink);color:rgba(255,255,255,.75);border-color:var(--ink)}
  .daypick button[aria-pressed="true"] b{color:var(--pink)}
  .js .grid [data-day]:not(.is-shown){display:none}
  .js .grid td,.js .grid thead th:not(.grid__job){width:96px}
  .grid th.grid__job,.jobgroup__head th{padding-left:16px;padding-right:16px}
  .grid th.grid__activity{padding-left:24px;padding-right:8px}
  .grid th.grid__job{min-width:0;width:auto}
  .grid__total{padding-right:16px!important}
}

/* Settings */

.settings{display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;align-items:start}
.snav{position:sticky;top:24px;display:grid;gap:14px}
.snav__title{font-size:40px}
.snav__search{display:flex;align-items:center;gap:8px;padding:0 12px;height:42px;border:1px solid var(--border);border-radius:var(--radius-search);background:#fff;cursor:text}
.snav__search:focus-within{border-color:var(--ink)}
.snav__search input{flex:1;border:0;background:transparent;font-size:15px;color:var(--ink);min-width:0}
.snav__search input:focus{outline:none}
.snav__search .ico{color:var(--text-muted)}
.snav nav{display:grid;gap:2px}
.snav__group{font-size:13px;color:var(--text-muted);padding:14px 10px 4px}
.snav a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;text-decoration:none;color:var(--ink);font-size:15px;position:relative;isolation:isolate;overflow:hidden}
.snav a::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--pink-soft);transform:scaleY(0);transform-origin:bottom;transition:transform var(--slow) var(--ease)}
.snav a:hover::before,.snav a:focus-visible::before{transform:scaleY(1)}
.snav a[aria-current="page"]{background:#fff;box-shadow:inset 0 0 0 1px var(--border);font-weight:700}
.snav a[aria-current="page"]::before{display:none}
.ico{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.spane{min-width:0;max-width:820px}
.spane__title{font:400 44px/1.05 var(--display);text-transform:uppercase;margin:4px 0 28px}
.sintro{color:var(--text-muted);margin:-12px 0 24px;max-width:640px}
.sgroup{margin-bottom:32px}
.sgroup__title{font:700 15px var(--body);margin:0 0 10px}
.scard{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden}
.srow{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 22px;margin:0}
.srow + .srow{border-top:1px solid var(--border-soft)}
.srow__text{min-width:0;flex:1}
.srow__title{font-weight:600;font-size:15.5px}
.srow__note{font-size:14px;color:var(--text-muted);line-height:1.45;margin-top:3px;max-width:520px}
.srow__note--busy{color:#b26a00}
.srow__control{display:flex;align-items:center;gap:8px;flex:none}
.srow__text--pair{display:flex;gap:8px}
.is-retired{color:var(--text-muted);text-decoration:line-through}
.input--inline{min-height:38px;padding:7px 10px;border-color:transparent;background:transparent;font-weight:600}
.input--inline:hover{border-color:var(--border)}
.input--inline:focus{border-color:var(--ink);background:#fff}
.input--select{width:auto;min-height:36px;padding:6px 10px;font-size:14px}

/* Segmented pill */
.segm{display:inline-flex;padding:3px;gap:2px;border-radius:10px;background:var(--bg-sunk);border:1px solid var(--border-soft)}
.segm label{position:relative}
.segm input{position:absolute;opacity:0;pointer-events:none}
.segm span{display:block;padding:7px 14px;border-radius:8px;font-size:14px;color:var(--text-muted);cursor:pointer;white-space:nowrap;transition:background .2s,color .2s}
.segm label:hover span{color:var(--ink)}
.segm input:checked + span{background:#fff;color:var(--ink);font-weight:700;box-shadow:0 1px 2px rgba(37,39,53,.12),0 0 0 1px var(--border)}
.segm input:focus-visible + span{outline:2px solid var(--ink);outline-offset:1px}

/* On/off switch */
.switch{position:relative;display:inline-block;width:44px;height:26px;flex:none;cursor:pointer}
.switch input[type="checkbox"]{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer;z-index:1}
.switch span{position:absolute;inset:0;border-radius:13px;background:#DCD2CD;transition:background .2s}
.switch span::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(37,39,53,.25);transition:transform var(--slow) var(--ease)}
.switch input:checked + span{background:var(--ink)}
.switch input:checked + span::after{transform:translateX(18px)}
.switch input:focus-visible + span{outline:2px solid var(--ink);outline-offset:2px}

/* Number with its unit */
.numbox{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text-muted);white-space:nowrap}
.numbox > span{min-width:92px}
.numbox .input{width:76px;min-height:38px;padding:6px 10px;text-align:right;font-weight:700;font-variant-numeric:tabular-nums}

.js .js-hide{display:none}
.toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:50;padding:10px 16px;border-radius:10px;background:var(--ink);color:#fff;font-size:14px;box-shadow:0 10px 30px rgba(37,39,53,.25)}
.toast.is-error{background:#7A5A12}
.ce__save-toast{max-width:calc(100vw - 32px);width:max-content;padding:16px 24px;font-size:16px;font-weight:700;text-align:center}
.ce__save-toast[hidden]{display:none}
@media(prefers-reduced-motion:no-preference){.ce__save-toast:not([hidden]){animation:cost-saved-in .22s var(--ease)}@keyframes cost-saved-in{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}}

@media (max-width:860px){
  .settings{grid-template-columns:1fr;gap:20px}
  .snav{position:static}
  .snav nav{display:flex;overflow-x:auto;gap:6px}
  .snav__group{display:none}
  .snav a{flex:none;white-space:nowrap;border:1px solid var(--border);background:#fff}
  .spane__title{font-size:34px}
  .srow{flex-wrap:wrap;gap:12px;padding:14px 16px}
  .srow__text{flex-basis:100%}
  .srow__control{flex-wrap:wrap}
}

/* Costing: George's layout. Rates across the top, line items on the left,
   the summary and target range on the right. */
.costing{display:grid;gap:20px}
.costing__rules{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 20px}
.costing__rules label{display:grid;gap:6px;font-size:14px;font-weight:600}
.costing__rules select.input{width:auto;min-width:150px;min-height:42px;padding:8px 12px}
.ratebox{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-field);background:#fff;font-weight:600;transition:border-color .35s,box-shadow .35s}
.ratebox:focus-within{border-color:var(--ink);box-shadow:0 0 0 2px var(--pink)}
.ratebox:has([aria-invalid="true"]){border-color:#C9A13A;background:var(--warn-ground)}
.ratebox .input.ratebox__input{width:3.6em;min-height:0;padding:8px 0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0;font:inherit;text-align:right;-webkit-appearance:none;appearance:none}
.ratebox__unit{color:var(--text-muted);font-weight:400}
.costing__rules > span:not(.costing__state){padding:8px 12px;border:1px solid var(--border);border-radius:6px;background:#fff;font-size:14px}
.costing__rules > span b{margin-right:6px}
.costing__state{margin-left:auto;align-self:center}
.costing__state.is-bad{color:var(--text-warn);font-weight:600}
.costing__layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.costing__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:20px 24px 12px}
.costing__head h2{margin:0;font-size:24px}
.costing__table td{vertical-align:top}
.costing__table th:nth-child(2),.costing__table td:nth-child(2){width:72px}
.costing__table th:nth-child(3),.costing__table td:nth-child(3){width:82px}
.costing__table th:nth-child(4),.costing__table td:nth-child(4){width:82px}
.costing__table th:nth-child(5),.costing__table td:nth-child(5){width:96px}
.costing__table th:nth-child(6),.costing__table td:nth-child(6){width:36px}
.costing__table th:first-child,.costing__table td:first-child{min-width:190px}
.costing__table td:first-child .input{width:100%}
.costing__table td.r{padding-top:24px}
.costing__input{min-height:40px;padding:8px 10px;font-weight:700}
.costing__textarea{display:block;margin-top:6px;min-height:0;padding:8px 10px;font-size:14px;resize:vertical}
.costing__days,.costing__hours{min-height:40px;padding:8px 10px;text-align:right;font-variant-numeric:tabular-nums}
.costing__days[aria-invalid="true"],.costing__hours[aria-invalid="true"]{border-color:#C9A13A;outline:2px solid #C9A13A}
.costing__table td:has(.costing__days),.costing__table td:has(.costing__hours){padding-top:16px}
.costing__table td.r:has(.costing__qty){padding-top:16px}
.costing__name{font-weight:700}
.costing__desc{margin-top:4px;white-space:pre-line}
.costing__cost > summary{cursor:pointer;list-style:none;font-weight:700;font-variant-numeric:tabular-nums}
.costing__cost > summary::-webkit-details-marker{display:none}
.costing__cost > summary::after{content:" +";color:var(--text-muted);font-weight:400}
.costing__cost[open] > summary::after{content:" –"}
.costing__split{display:grid;gap:4px;margin-top:8px;font-size:13px;color:var(--text-muted);text-align:left}
.costing__split div{display:flex;justify-content:space-between;gap:8px}
.costing__remove{border:0;background:none;color:var(--text-muted);font-size:22px;line-height:1;padding:10px 6px;cursor:pointer}
.costing__remove:hover{color:var(--ink)}
.costing__add{margin:16px 24px;padding:10px 16px;border:1px dashed #C9BFBD;border-radius:var(--radius-button);background:#fff;color:var(--ink);font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.costing__add:hover{border-style:solid;border-color:var(--ink);background:var(--pink-soft)}
.costing__total{display:flex;justify-content:space-between;gap:12px;padding:16px 24px;border-top:1px solid var(--border-soft);font-size:14px;color:var(--text-muted)}
.costing__total strong{color:var(--ink);font-variant-numeric:tabular-nums}
.costing__error{margin:0 24px 16px;color:var(--text-warn);font-weight:600}
.costing__nojs{padding:0 24px 20px}
.costing__summary{padding:0;overflow:hidden}
.costing__summary h2{margin:0;padding:22px 24px 6px}
.costing__row{display:flex;justify-content:space-between;gap:12px;padding:12px 24px;font-size:14px}
.costing__row small{display:block;font-size:12px;color:var(--text-muted);margin-top:3px}
.costing__row--sub{border-top:1px solid var(--border-soft);margin-top:4px;padding-top:16px}
.costing__amount{text-align:right;flex:none}
.costing__amount strong{font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}
.costing__final{margin-top:10px;padding:22px 24px;background:var(--ink);color:#fff}
.costing__final span{font-size:14px;color:rgba(255,255,255,.75)}
.costing__final output{display:block;margin-top:6px;font-size:38px;font-weight:700;letter-spacing:-1px;color:var(--pink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.costing__final div{margin-top:6px;font-size:14px;color:rgba(255,255,255,.75)}
.costing__range h2{margin:0 0 6px;font-size:24px}
.costing__ends{display:flex;justify-content:space-between;gap:12px;margin-top:16px}
.costing__ends > div:last-child{text-align:right}
.costing__ends strong{display:block;font-size:20px;font-variant-numeric:tabular-nums}
.costing__ends small{font-size:13px;color:var(--text-muted)}
.costing__slider{--progress:0%;appearance:none;-webkit-appearance:none;width:100%;height:36px;margin:12px 0;background:transparent;cursor:pointer}
.costing__slider::-webkit-slider-runnable-track{height:6px;border-radius:4px;background:linear-gradient(to right,var(--ink) var(--progress),var(--track) var(--progress))}
.costing__slider::-moz-range-track{height:6px;border-radius:4px;background:var(--track)}
.costing__slider::-moz-range-progress{height:6px;border-radius:4px;background:var(--ink)}
.costing__slider::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;margin-top:-8px;border:3px solid #fff;border-radius:50%;background:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.costing__slider::-moz-range-thumb{width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.costing__slider:disabled{opacity:.45;cursor:default}
.costing__point{display:flex;justify-content:center;align-items:center;gap:8px;padding:12px;border-radius:8px;background:var(--pink-soft);text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.costing-locked > summary{font-size:17px}
/* Original costing, with scope changes added while live: what was agreed stays plain, what was added is washed pink and labelled. */
.costing-locked > summary{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ce__scopecount{margin-left:8px;padding:2px 10px;border-radius:999px;background:var(--pink-soft);color:var(--pink-deep);font-size:13px;font-weight:600}
.ce__scopesum{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;margin:0 0 24px;padding:20px 24px;border:1px solid var(--line,#DBDBDB);border-radius:10px;background:#fff}
.ce__snote{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:-8px 0 20px;padding:10px 14px;border:1px solid var(--line,#DBDBDB);border-radius:8px;background:#fff;font-size:14px;color:var(--text-muted)}
.ce__snote[hidden]{display:none}
.ce__snote p{margin:0;line-height:1.5}
.ce__sdismiss{flex:none;display:grid;place-items:center;width:26px;height:26px;margin:-3px -6px 0 0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--text-muted);font-size:20px;line-height:1;cursor:pointer;transition:background-color .2s ease-in-out,color .2s ease-in-out}
.ce__sdismiss:hover,.ce__sdismiss:focus-visible{background:var(--pink-soft);color:var(--pink-deep);outline:0}
.ce__ssum{display:grid;gap:4px}
.ce__slabel{font:700 14px/1 var(--mono);color:var(--spring-sage)}
.ce__sfee{font:400 30px/1 var(--display);letter-spacing:.04em;color:var(--ink)}
.ce__sfee small{font:400 13px var(--body);letter-spacing:0;color:var(--text-muted)}
.ce__stime{font-size:14px;color:var(--text-muted)}
.ce__ssum.is-scope .ce__sfee,.ce__ssum.is-scope .ce__slabel{color:var(--pink-deep)}
.ce__ssum.is-current{padding:10px 14px;margin:-10px 0;border-radius:8px;background:var(--ink);color:#fff}
.ce__ssum.is-current :is(.ce__sfee,.ce__slabel,.ce__stime,.ce__sfee small){color:#fff}
.ce__sop{font:400 28px/1 var(--display);color:var(--text-muted)}
.ce__srow{display:grid;grid-template-columns:18px minmax(0,1fr) 85px 85px 85px 0;column-gap:10px;align-items:start;padding:14px 0 14px 4px;border-bottom:1px dashed var(--dots);background:var(--pink-soft)}
.ce__sname{display:grid;gap:4px;min-width:0;padding-left:15px;font-size:15px}
.ce__sname p{margin:0;font-size:14px;line-height:1.5;color:var(--ink)}
.ce__sname small,.ce__sdim{font-size:13px;color:var(--text-muted)}
.ce__stag{justify-self:start;padding:2px 10px;border-radius:6px;background:var(--pink-deep);color:#fff;font:700 12px/1.5 var(--mono)}
.ce__snum{text-align:center;font-size:15px;font-weight:600;color:var(--pink-deep);padding-top:2px}
.ce__sremoveform{display:inline;margin:0}
.ce__sremove{padding:0;border:0;background:none;font:inherit;font-size:13px;color:var(--pink-deep);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ce__sremove:hover,.ce__sremove:focus-visible{color:var(--ink);outline:0}
.ce__scopeform{display:grid;gap:12px;margin:0 0 24px;padding:24px;border:1px solid var(--pink);border-radius:10px;background:var(--pink-soft)}
.ce__scopeform[hidden]{display:none}
.ce__scopeform h3{margin:0;font-size:20px}
.ce__sf{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.4fr);gap:16px;align-items:end}
.ce__sf .field{margin:0}
.ce__sfreason{grid-column:1 / -1}
.ce__sfamount{display:flex;gap:8px}
.ce__sfamount input.input{flex:1;min-width:0;width:auto}
.ce__sfamount select.input{flex:none;width:110px}
@media (max-width:860px){
  .ce__scopesum{grid-template-columns:1fr;gap:10px}
  .ce__sop{display:none}
  .ce__ssum.is-current{margin:0}
  .ce__sf{grid-template-columns:1fr}
}
/* In step with the costing's own rows, which stack at 700px. */
@media (max-width:700px){
  .ce__srow{grid-template-columns:minmax(0,1fr) 56px 56px 70px;padding-left:12px}
  .ce__srow > :first-child{display:none}
  .ce__sname{padding-left:0}
}
.numbox.numbox--list .input{width:170px;text-align:left}
@media (max-width:980px){.costing__layout{grid-template-columns:1fr}}
@media (max-width:640px){
  .costing__table th:nth-child(4),.costing__table td:nth-child(4){display:none}
  .costing__state{margin-left:0;flex-basis:100%}
  /* Editing on a phone: each line item stacks, the name and description
     full width, then its days, cost and remove button in a row. */
  .costing__table:has(tr[data-row]) thead{display:none}
  .costing__table tr[data-row]{display:grid;grid-template-columns:64px 88px 1fr 44px;align-items:end;border-top:1px solid var(--border-soft)}
  .costing__table tr[data-row] td{width:auto;border-top:0;padding:12px 16px 0}
  .costing__table tr[data-row] td:first-child{grid-column:1 / -1;padding-left:16px}
  .costing__table tr[data-row] td:nth-child(2){padding:10px 0 14px 16px}
  .costing__table tr[data-row] td:nth-child(3){padding:10px 0 14px 8px}
  .costing__table tr[data-row] td:nth-child(5){padding:10px 4px 24px 16px}
  .costing__table tr[data-row] td:nth-child(6){padding:10px 8px 14px 0}
  .costing__table tr[data-row] td:nth-child(2)::before{content:"Qty";display:block;margin-bottom:4px;font-size:12px;letter-spacing:.7px;text-transform:uppercase;color:var(--text-muted);font-weight:600;text-align:left}
  .costing__table tr[data-row] td:nth-child(3)::before{content:"Days each";display:block;margin-bottom:4px;font-size:12px;letter-spacing:.7px;text-transform:uppercase;color:var(--text-muted);font-weight:600;text-align:left}
}

/* Home: "Hi Priya, here's what's on". */
/* Home, as sketched: the greeting on two lines with the views top right,
   then one board holding the three figures, the hours bar and what needs
   a look. */
.hello{display:flex;align-items:flex-start;justify-content:space-between;gap:16px 24px;flex-wrap:wrap;margin-bottom:28px}
.hello h1 span{display:block;color:var(--text-muted)}
/* Home: a bigger greeting, and bigger headings for its sections. */
.hello h1{font-size:clamp(46px,5.4vw,80px);line-height:1.02}
.hello h1 span{font-size:48px;line-height:1.08;margin-top:4px}
.ov__head h2,.nc__head h2{font-size:clamp(34px,3.6vw,50px);line-height:1.05}
.ov__head h2{margin-bottom:8px}
.hello__tabs{flex:none}
.hello__note{margin:12px 0 0;max-width:760px}

/* Home: the studio's next conversations, followed by the facts on each live project. */
.homehead{container:home-header / inline-size;display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:24px;margin-bottom:44px}
.homehead__date{margin:0 0 18px;color:var(--text-sage);font-size:14px}
.homehead h1{font-size:60px;line-height:1;letter-spacing:.1em}
.homehead__intro{margin:22px 0 0;font-size:16px;line-height:1.75}
.homehead .seg{flex-wrap:wrap;max-width:100%}
.hd{container:home-dashboard / inline-size;display:grid;gap:50px}
.hd [id]{scroll-margin-top:30px}
.hd__stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.hd__stat{position:relative;overflow:hidden;display:grid;gap:6px;padding:22px 24px 20px;border:1px solid var(--border);border-radius:10px;background:#fff;text-decoration:none;transition:border-color var(--slow) var(--ease)}
.hd__stat::before{content:"";position:absolute;inset:0;background:var(--spring-cream);transform:translateY(101%);transition:transform .65s var(--ease);pointer-events:none}
.hd__stat > *{position:relative}
.hd__stat--attention{background:var(--pink-soft);border-color:var(--pink)}
.hd__stat:hover,.hd__stat:focus-visible{border-color:var(--spring-sage)}
.hd__stat:hover::before,.hd__stat:focus-visible::before{transform:none}
.hd__stat > span{display:flex;justify-content:space-between;gap:8px;font-size:16px;font-weight:600}
.hd__stat i{font-style:normal;color:var(--text-sage);transition:transform var(--slow) var(--ease)}
.hd__stat:hover i{transform:translate(2px,-2px)}
.hd__stat > b{font:400 54px/1 var(--display);margin:6px 0 4px}
.hd__stat small{font-size:13px;color:var(--text-muted);line-height:1.4}
.hd__priorities{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:40px;align-items:start}
.hd__sectionhead{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:12px 20px}
.hd__eyebrow{display:block;font:700 12px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-sage);margin-bottom:12px}
.hd h2{font-size:36px;line-height:1.1;letter-spacing:.06em}
.hd h2 > span{display:inline-block;margin-left:10px;font:400 16px var(--body);vertical-align:middle;color:var(--text-muted)}
.hd__intro{margin:12px 0 24px;font-size:14px;line-height:1.6;color:var(--text-muted);max-width:900px}
.hd__attentionlist{margin:0;padding:0;list-style:none;border:1px solid var(--border);border-radius:10px;background:#fff;overflow:hidden}
.hd__attentionrow{padding:24px;transition:background var(--slow) var(--ease)}
.hd__attentionrow + .hd__attentionrow{border-top:1px solid var(--border-soft)}
.hd__attentionrow:hover,.hd__attentionrow:focus-within{background:#FFFCFA}
.hd__rowhead,.hd__rowfoot{display:flex;justify-content:space-between;align-items:center;gap:10px 20px;flex-wrap:wrap}
.hd__rowhead{align-items:baseline}
.hd__projectlink{font-size:18px;font-weight:600;text-decoration:none;line-height:1.3}
.hd__projectlink:hover{text-decoration:underline;text-decoration-color:var(--pink);text-underline-offset:4px}
.hd__projectlink > span{display:block;margin-top:5px;font-size:14px;font-weight:400;color:var(--text-muted)}
.hd__due{font-size:13px;color:var(--text-muted);white-space:nowrap}
.hd__due.is-late{color:var(--pink-deep);font-weight:600}
.hd__reason{margin:16px 0 14px;font-size:14px;line-height:1.6;color:var(--text-muted)}
.hd__reason b{color:var(--ink);font-weight:600}
.hd__reasons{margin:0 0 18px;font-size:13px;color:var(--text-muted)}
.hd__reasons summary{cursor:pointer;width:fit-content;text-decoration:underline;text-decoration-color:var(--pink);text-underline-offset:4px}
.hd__reasons ul{padding-left:18px;margin-top:12px;display:grid;gap:8px}
.hd__manager{display:inline-flex;align-items:center;gap:8px;font-size:13px}
.hd__manager .person-link{text-decoration:none;color:var(--text-muted)}
.hd__textlink{font-size:14px;font-weight:600;text-decoration:underline;text-decoration-color:var(--pink);text-underline-offset:4px;transition:color var(--slow) var(--ease)}
.hd__textlink span{display:inline-block;transition:transform var(--slow) var(--ease)}
.hd__textlink:hover span,.hd__textlink:focus-visible span{transform:translate(3px,-3px)}
.hd__textlink:hover{color:var(--pink-deep)}
.hd__upcoming{padding:28px;background:var(--bg-sunk);border:1px solid var(--border-soft);border-radius:10px}
.hd__upcoming > ul{list-style:none;padding:0;margin:0;display:grid;gap:22px}
.hd__upcoming li{display:flex;gap:16px;align-items:flex-start;min-width:0}
.hd__upcoming time{flex:none;width:48px;display:grid;justify-items:center;padding:7px 4px 6px;border:1px solid var(--border);border-radius:6px;background:#fff;line-height:1.2}
.hd__upcoming time b{font:400 32px/1 var(--display)}
.hd__upcoming time span{font-size:12px;color:var(--text-sage)}
.hd__upcoming .hd__projectlink{font-size:16px}
.hd__upcoming li small{display:block;margin-top:7px;font-size:12px;color:var(--text-sage)}
.hd__missing{margin:22px 0 0;font-size:13px;color:var(--text-muted)}
.hd__quick{display:grid;gap:12px;margin-top:28px;padding-top:22px;border-top:1px solid var(--border)}
.hd__quick a{display:flex;justify-content:space-between;text-decoration:none;font-size:14px;font-weight:600;transition:color var(--slow) var(--ease)}
.hd__quick a span{transition:transform var(--slow) var(--ease)}
.hd__quick a:hover span,.hd__quick a:focus-visible span{transform:translate(3px,-3px)}
.hd__quick a:hover{color:var(--pink-deep)}
.hd__projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
.hd__project{display:grid;align-content:start;gap:18px;padding:28px;background:#fff;border:1px solid var(--border);border-radius:10px;transition:box-shadow var(--slow) var(--ease),border-color var(--slow) var(--ease)}
.hd__project:hover,.hd__project:focus-within{border-color:var(--spring-sage);box-shadow:0 10px 24px rgba(var(--ink-rgb),.04)}
.hd__projecthead{display:flex;justify-content:space-between;align-items:center;gap:16px}
.hd__projecthead > div{min-width:0}
.hd__client{font:400 16px/1.3 var(--display);letter-spacing:.12em;text-transform:uppercase;color:var(--pink-deep)}
.hd__project h3{margin:7px 0 0;font:600 20px/1.35 var(--body)}
.hd__project h3 a{text-decoration:none;overflow-wrap:anywhere}
.hd__open{flex:none;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border-soft);border-radius:50%;text-decoration:none;transition:background var(--slow) var(--ease)}
.hd__open:hover{background:var(--pink-soft)}
.hd__scope{display:grid;gap:5px;padding-top:14px;border-top:1px solid var(--border-soft);font-size:12px;color:var(--text-muted)}
.hd__scope > span:first-child{color:var(--text-sage);font-weight:600}
.hd__budgets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hd__budget{--tint:var(--tint-delivery);display:grid;gap:10px;align-content:start;padding:15px;background:#FFFDFC;border:1px solid var(--border-soft);border-top:3px solid var(--tint);border-radius:5px;text-decoration:none;transition:background var(--slow) var(--ease)}
.hd__budget--meetings{--tint:var(--tint-meetings)}.hd__budget--management{--tint:var(--tint-management)}.hd__budget--expenses{--tint:var(--tint-expenses)}
.hd__budget:hover,.hd__budget:focus-visible{background:var(--tint)}
.hd__budgetlabel{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-size:14px;font-weight:600}
.hd__budgetlabel small{font-size:10px;color:var(--text-muted);font-weight:400}
.hd__budgetfig{font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.hd__budgetfig b{font-size:22px}
.hd__budgetfig > span{color:var(--text-muted)}
.hd__budget .bar{height:4px}.hd__budget .bar__fill{background:var(--spring-sage)}
.hd__budgetfoot{font-size:12px;color:var(--text-muted)}
.hd__budget.is-over .hd__budgetfoot{color:var(--pink-deep);font-weight:600}
.hd__calendar{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--text-muted);margin-bottom:-9px}
.hd__calendar b{font-weight:400}
.hd__project > .bar{height:4px}
.hd__combined{font-size:12px;color:var(--text-sage);text-underline-offset:3px}
.hd__next{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:24px 0;border-top:1px solid var(--border)}
.hd__next .hd__eyebrow{margin-bottom:6px}.hd__next p{margin:0;font-size:16px}
.hd__empty{padding:24px;border:1px dashed var(--border);border-radius:8px;font-size:14px;color:var(--text-muted)}
.hd.is-focus [data-k]:not(.is-on){opacity:.65}
.hd [data-k]{transition:opacity var(--slow) var(--ease)}
@container home-header (max-width:700px){.homehead h1{font-size:44px}}
@container home-dashboard (max-width:940px){.hd__priorities{grid-template-columns:1fr}.hd__upcoming > ul{grid-template-columns:repeat(2,minmax(0,1fr))}.hd__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hd__projects{grid-template-columns:1fr}}
@container home-dashboard (max-width:480px){.hd__stat{padding:18px 14px}.hd__stat > span{font-size:14px}.hd__stat > b{font-size:44px}.hd__stat small{font-size:12px}.hd__stats{gap:12px}.hd__attentionrow{padding:20px}.hd__upcoming{padding:22px}.hd__upcoming > ul{grid-template-columns:1fr}.hd__project{padding:20px}.hd__budget{padding:12px}.hd__budgetfig b{font-size:20px}.hd__rowfoot{gap:12px}.hd__due{white-space:normal}.hd__projects{gap:22px}}
@media (prefers-reduced-motion:reduce){.hd *, .hd *::before,.hd *::after{transition:none!important}}
.board{display:grid;gap:22px;padding:22px;border:1px solid var(--border);border-radius:16px;background:var(--bg-sunk)}
.stats--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.stats--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.board__hours{display:grid;gap:8px;padding:14px 18px;border:1px solid var(--border);border-radius:999px;background:#fff}
.board__hours-label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;font-size:15px}
.bar--board{height:10px;border-radius:5px}
.needs > h2{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.needs__count{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 8px;border-radius:50%;border:2px solid var(--ink);font:700 16px var(--body)}
.needs .job{border-radius:22px;padding-left:26px;padding-right:26px}
@media (max-width:760px){
  .stats--3{grid-template-columns:1fr}
  .stats--2{grid-template-columns:1fr}
  .board{padding:12px;gap:14px}
  .board__hours{border-radius:14px}
  .needs .job{border-radius:14px;padding:16px}
}
.stat--rate .stat__value small{font-size:15px;font-weight:600;color:var(--text-muted);letter-spacing:0}
.stat--rate .stat__note{display:grid;justify-items:start;gap:2px;margin-top:8px}
.stat--rate .stat__note .rate{margin-bottom:4px}
.rate{display:inline-flex;align-items:center;padding:2px 8px;border-radius:var(--radius-label);font-size:12px;font-weight:600;white-space:nowrap;background:var(--bg-sunk);color:var(--text-muted)}
.rate--on,.rate--above{background:var(--good-ground);color:var(--text-good)}
.rate--below{background:var(--warn-ground);color:var(--text-warn);box-shadow:inset 0 0 0 1px #EED591}
.rates td .rate{margin-top:4px}
.cost__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.cost__head h2{margin:0}
.cost h3 .count{font-size:14px;margin-left:4px}
.pipeline{list-style:none;margin:8px 0 0;padding:0}
.pipeline a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--border-soft);text-decoration:none}
.pipeline li:first-child a{border-top:0}
.pipeline a > span:first-child{display:grid}
.pipeline__name{font-weight:700}
.pipeline a:hover .pipeline__name,.pipeline a:focus-visible .pipeline__name{text-decoration:underline;text-underline-offset:3px}

/* Team: who is on a job. */
.team__group{border:0;margin:0 0 12px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.team__group legend{width:100%;margin-bottom:6px;font-size:12px;letter-spacing:.7px;text-transform:uppercase;color:var(--text-muted);font-weight:600}
.team__person{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid var(--border);border-radius:var(--radius-tag);cursor:pointer;font-size:15px;background:#fff}
.team__person:has(input:checked){border-color:var(--ink);background:var(--pink-soft)}
.team__person input{accent-color:var(--ink);margin:0}
.team__names{list-style:none;margin:0;padding:0;display:grid;gap:8px}

/* Clients: filters, then each client folding open to its jobs. */
.filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:24px}
.filters .input{min-height:42px}
.filters__search{flex:1 1 260px}
.filters select.input{width:auto}
.clientlist{display:grid;gap:14px}
.client > summary{display:flex;justify-content:space-between;align-items:baseline;gap:8px 16px;flex-wrap:wrap;padding:18px 24px;cursor:pointer;list-style:none}
.client > summary::-webkit-details-marker{display:none}
.client > summary::before{content:"›";display:inline-block;margin-right:10px;color:var(--text-pink);transition:transform .2s}
.client[open] > summary::before{transform:rotate(90deg)}
.client[open] > summary{border-bottom:1px solid var(--border-soft)}
.client__name{font-weight:700;font-size:17px;margin-right:auto}
.client__more{padding:12px 24px 16px;font-size:14px}
.clientjobs{table-layout:auto}
.clientjobs td{white-space:normal}
.clientjobs td:first-child{min-width:200px;width:34%}
.clientjobs .micro{white-space:nowrap}
@media (prefers-reduced-motion:reduce){.client > summary::before{transition:none}}
.ratebox .input.ratebox__input:not([name="rate"]){width:2.8em}
.costing__qty{min-height:40px;padding:8px 6px;width:100%;min-width:52px;text-align:right;font-variant-numeric:tabular-nums}
.costing__qty[aria-invalid="true"]{border-color:#C9A13A;outline:2px solid #C9A13A}
.costing__table td:has(.costing__qty){padding-top:16px}
.costing__opts{display:flex;flex-wrap:wrap;gap:2px 4px;margin:2px 0 0 -6px}
.costing__opts:not(:has(.chip-btn:not([hidden]))){display:none}
.chip-btn{padding:2px 6px;border:0;border-radius:var(--radius-button);background:transparent;color:var(--text-muted);font:inherit;font-size:11px;font-weight:600;cursor:pointer}
.chip-btn:hover,.chip-btn:focus-visible{background:var(--pink-soft);color:var(--ink);outline:0}
.costing__box{position:relative}
.costing__box[hidden]{display:none}
.costing__box .costing__textarea{padding-right:30px}
.costing__x{position:absolute;top:10px;right:6px;width:22px;height:22px;padding:0;border:0;border-radius:var(--radius-button);background:transparent;color:var(--text-muted);font:inherit;font-size:16px;line-height:1;cursor:pointer}
.costing__x:hover,.costing__x:focus-visible{background:var(--pink-soft);color:var(--ink);outline:0}
.costing__notes{background:var(--pink-soft);border-style:dashed}
.costing__note{margin-top:4px;white-space:pre-line}
.costing__jobnotes{display:block;margin:16px 24px 20px;font-size:14px;font-weight:700}
.costing__jobnotes p{font-weight:400;white-space:pre-line}
.tools{display:grid;gap:14px}
.tools__row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tools__row input.input{flex:1 1 200px;min-height:40px}
.tools__list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.tools__list li{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;padding:8px 0;border-top:1px solid #E6DEDC}
.tools__list form{margin:0}
.signoff{display:flex;flex-wrap:wrap;gap:6px 24px}
.startfrom{margin:0 0 20px;padding:0;border:0;display:grid;gap:8px}

.costing__pt{display:inline-flex;align-items:center;gap:2px}
.costing__ptin{width:5.5ch;min-width:0;padding:2px 4px;border:0;border-radius:var(--radius-field);background:transparent;color:inherit;font:inherit;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}
.costing__ptin:hover{background:#fff}
.costing__ptin:focus{background:#fff;outline:2px solid var(--ink)}
.costing__ptin[aria-invalid="true"]{outline:2px solid #C9A13A}
.costing__ptin:disabled{background:transparent}

.addclient{margin:0 0 16px}
.addclient form{margin:10px 0 6px}
.addclient .input{flex:1 1 220px;max-width:340px}

/* Cost a project, from the Figma file: two cards, start from scratch or duplicate, with "or" between. */
.cp__crumb{display:inline-block;margin:-8px 0 26px;font-size:12px;color:#D88B9B;text-decoration:none}
.cp__crumb:hover{text-decoration:underline}
.cp h1{font-size:60px;letter-spacing:.1em;line-height:1;margin-bottom:26px}
.cp__intro{font-size:16px;line-height:1.75;color:var(--ink);margin-bottom:40px}
.cp__cols{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:40px;align-items:start}
.cp__or{align-self:center;font:700 14px var(--mono);color:var(--ink)}
.cp__card{display:grid;gap:22px;padding:44px 48px 48px;border:1px solid #E6E0DE;border-radius:8px;background:#fff}
.cp__title{margin:0 0 4px;padding-bottom:18px;border-bottom:1px solid #E6E0DE;font:400 22px/1 var(--display);letter-spacing:.2em;color:var(--pink)}
.cp__field{display:grid;gap:12px;min-width:0;margin:0;padding:0;border:0}
.cp__field > span:first-child,.cp__field > legend{padding:0;font:700 15px var(--mono);letter-spacing:.02em;color:var(--ink)}
.cp__field > legend{margin-bottom:12px}
.cp__input{width:100%;height:50px;padding:0 18px;border:1px solid var(--border);border-radius:var(--radius-field);background:#fff;font:inherit;font-size:15px;color:var(--ink)}
.cp__input::placeholder{color:#8A8790}
.cp__input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(232,166,177,.45)}
.cp__input--chev{padding-right:48px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23252735' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center}
.cp__types{display:flex;flex-wrap:wrap;gap:16px}
.cp__type{position:relative;display:flex;align-items:center;gap:18px;height:50px;padding:0 16px 0 18px;border:1px solid var(--border);border-radius:var(--radius-field);background:#fff;font-size:15px;cursor:pointer}
.cp__type input{position:absolute;opacity:0;pointer-events:none}
.cp__type i{width:24px;height:24px;border:1.5px solid #CFCACB;border-radius:50%;transition:border-color .2s}
.cp__type input:checked ~ i{border-color:var(--spring-sage);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23788887' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") no-repeat center}
.cp__type:hover{border-color:#CFC6C4}
.cp__type:has(input:focus-visible){border-color:var(--ink);box-shadow:0 0 0 3px rgba(232,166,177,.45)}
.cp__go{justify-self:start;margin-top:6px;padding:12px 18px;border:0;border-radius:var(--radius-button);background:var(--spring-sage);color:#fff;font:700 15px var(--body);cursor:pointer;transition:background-color .3s ease-in-out}
.cp__go:hover,.cp__go:focus-visible{background:var(--pink)}
.cp__tpl{margin-top:28px}
.cp__match-list{display:grid;gap:10px}
.cp__match-list .cp__type{height:auto;min-height:50px;padding:10px 16px 10px 18px;justify-content:space-between}
.cp__match-list .cp__type span{display:grid;gap:2px}
.cp__match-list small{font-size:13px;color:#6E6B73}
/* Once an entry is picked the others are hidden (start-from.js); "Change" sits under the one left and shows them again. */
.cp__match-change{justify-self:start;margin-top:10px;font-size:14px}
@media(prefers-reduced-motion:no-preference){
  .cp__match-list .cp__type{animation:match-in .2s var(--ease)}
  @keyframes match-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
}
/* The search under a client or project box. */
.combo{position:relative;display:block}
.combo__list{position:absolute;z-index:20;top:calc(100% + 4px);left:0;right:0;display:grid;gap:2px;margin:0;padding:6px;list-style:none;max-height:320px;overflow-y:auto;
  border:1px solid var(--border);border-radius:6px;background:#fff;box-shadow:0 12px 32px rgba(var(--ink-rgb),.12)}
.combo__opt{display:grid;gap:1px;padding:8px 12px;border-radius:4px;cursor:pointer;font-size:15px}
.combo__opt small{font-size:12px;color:var(--text-muted)}
.combo__opt:hover,.combo__opt.is-active{background:var(--pink-soft)}
.combo__note{padding:6px 12px;font-size:13px;color:var(--text-muted)}
@media (max-width:1000px){
  .cp__cols{grid-template-columns:minmax(0,1fr);gap:20px}
  .cp__or{justify-self:center}
}
@media (max-width:600px){
  .cp h1{font-size:44px}
  .cp__card{padding:28px 22px 30px}
}
.cstacks{display:grid;grid-template-columns:minmax(0,1fr);min-width:0}
.cstack{min-width:0}
.cstacks__list{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;max-height:calc(100vh - 150px);min-height:300px;overflow-y:auto;padding:0 4px 8px 0;scrollbar-width:thin}
.cstack__head{display:flex;align-items:baseline;gap:10px;padding:2px 6px;margin:0 0 6px -6px;border:0;border-radius:3px;background:transparent;font:inherit;font-size:17px;font-weight:700;color:var(--ink);cursor:pointer}
.cstack__head:hover,.cstack__head:focus-visible{background:var(--pink-soft);outline:0}
.cstack--single .cstack__head{cursor:default;pointer-events:none}
.cstack__row{position:relative;display:flex;gap:10px;overflow:hidden;padding:18px 2px 22px;scrollbar-width:none}
.cstack__row::-webkit-scrollbar{display:none}
/* Spacers let the first and last project reach the middle when the stack is open. */
.cstack__row::before,.cstack__row::after{content:"";flex:none;width:0;transition:width .95s cubic-bezier(.4,0,.15,1)}
.is-open>.cstack__row{overflow-x:auto;scroll-snap-type:x mandatory}
.is-open>.cstack__row::before,.is-open>.cstack__row::after{width:calc(50% - var(--cw) / 2 - 10px)}
.pslot{pointer-events:none;flex:none;width:var(--cw);display:flex;scroll-snap-align:center;scroll-snap-stop:always}
.pcard{pointer-events:auto;position:relative;flex:1;min-width:0;min-height:172px;display:grid;grid-template-rows:auto 1fr auto;gap:10px;padding:16px 18px;border:1px solid #E3D9D6;border-radius:12px;background:var(--bg,#fff);color:var(--ink);text-decoration:none;transform-origin:30% 60%;
  transform:perspective(900px) translate(calc(var(--i) * (-100% - 10px) + var(--dx,0px) + var(--fx,0px)),var(--dy,0px)) rotateY(0deg) rotate(var(--rot,0deg)) scale(1);opacity:var(--o);box-shadow:0 1px 3px rgba(37,39,53,.08);z-index:calc(10 - var(--i));
  transition:transform .95s cubic-bezier(.4,0,.15,1),opacity .8s ease,background-color .8s ease,box-shadow .2s,border-color .2s}
.is-open .pcard{transform:perspective(900px) translate(calc(var(--d,0) * -34px + var(--fx,0px)),0px) rotateY(calc(var(--d,0) * 38deg)) rotate(0deg) scale(calc(1 - var(--ad,0) * .12));opacity:calc(1 - var(--ad,0) * .32);z-index:calc(10 - var(--ad,0) * 4)}
.cstack:not(.is-open) .pslot[style*="--o:0"] .pcard{pointer-events:none}
.is-open>.cstack__row::before,.is-open>.cstack__row::after{transition:none}
.is-priming .pcard{transition:none!important}
.is-flowing .pcard{transition:box-shadow .2s,border-color .2s}
.pcard:hover{border-color:var(--ink);box-shadow:0 4px 16px rgba(37,39,53,.10)}
.pcard__top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.pcard__date{font-size:13px;color:var(--text-muted);font-variant-numeric:tabular-nums}
.pcard .status{padding:3px 9px;font-size:12px}
.pcard__name{font-size:20px;font-weight:700;line-height:1.2}
.pcard__foot{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;color:var(--text-muted)}
.pcard__fee{font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;font-size:17px}
@media (prefers-reduced-motion:reduce){.pcard,.cstack__row::before,.cstack__row::after{transition:none}}

/* Reordering line items. */
.costing__table tr[data-row] td:first-child{position:relative;padding-left:40px}
.costing__table:has(tr[data-row]) th:first-child{padding-left:40px}
.costing__grip{position:absolute;left:12px;top:24px;display:grid;place-items:center;width:22px;height:28px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--text-faint,#9b9490);cursor:grab;touch-action:none}
.costing__grip:hover,.costing__grip:focus-visible{background:var(--pink-soft);color:var(--ink);outline:0}
.is-dragging .costing__grip{cursor:grabbing}
.costing__table tbody:has(tr[data-row]:only-child) .costing__grip{display:none}
.costing__table tr.is-dragging td{position:relative;z-index:5;background:#fff;box-shadow:0 14px 16px -10px rgba(37,39,53,.22),0 -14px 16px -10px rgba(37,39,53,.12)}
@media (max-width:640px){.costing__table tr[data-row] td:first-child{padding-left:40px}}

/* Undo after removing a line item. */
.costing__undo{display:flex;align-items:center;gap:6px;margin:12px 24px 0;padding:8px 8px 8px 14px;border-radius:8px;background:var(--pink-soft);font-size:14px;font-weight:600}
.costing__undo[hidden]{display:none}
.costing__undobtn{margin-left:auto;padding:4px 12px;border:0;border-radius:var(--radius-button);background:transparent;color:var(--ink);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.costing__undobtn:hover,.costing__undobtn:focus-visible{background:#fff;outline:0}

@media (min-width:641px){.costing__table th:not(:first-child),.costing__table td:not(:first-child){padding-left:8px;padding-right:8px}.costing__table td:last-child{padding-right:12px}}


/* Non-chargeable hours (director Analytics). */
.nc__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.nc__head h2{margin:0}
.nc__intro{margin-bottom:16px;max-width:640px}
.nc__tiles{margin-bottom:16px}
.nc__panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:36px;padding:28px}
.nc__panel h3{margin-bottom:14px}
.nc__bar{display:flex;gap:2px;height:22px;border-radius:6px;overflow:hidden;margin-bottom:18px}
.nc__seg{min-width:3px}
.nc__legend{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.nc__legend li{display:grid;grid-template-columns:14px minmax(0,1fr) auto 44px;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--border-soft);font-size:15px}
.nc__legend li:last-child{border-bottom:0}
.nc__dot{width:12px;height:12px;border-radius:4px}
.nc__legend .faint{font-size:13px;margin-left:4px}
.nc__legend .num:last-child{text-align:right;font-size:14px}
.nc__chart{list-style:none;margin:0;padding:0;display:flex;align-items:flex-end;gap:6px;height:220px}
.nc__week{flex:1;min-width:0;height:100%;display:grid;grid-template-rows:auto 1fr auto;justify-items:center;gap:6px}
.nc__wnum{font-size:12px;font-weight:600;color:var(--text-pink);white-space:nowrap}
.nc__stack{display:flex;flex-direction:column;justify-content:flex-end;gap:2px;width:100%;max-width:44px;align-self:stretch}
.nc__stack span{display:block;border-radius:3px;min-height:2px}
.nc__wlab{text-align:center;line-height:1.2;font-size:11px}
.nc__week.is-now .nc__stack{opacity:.75}
.nc__since{margin-left:8px;font-weight:400;font-family:var(--body);text-transform:none}
.nc__chart--dense{gap:2px}
.nc__chart--dense .nc__week{flex:1 1 0;grid-template-columns:minmax(0,1fr);position:relative}
.nc__chart--dense .nc__wnum{position:absolute;top:0;left:50%;transform:translateX(-50%);z-index:1}
.nc__chart--dense .nc__stack span{border-radius:2px}
.nc__chart--dense .nc__wnum{visibility:hidden}
.nc__chart--dense .nc__week.is-on .nc__wnum,.nc__chart--dense .nc__week:focus-visible .nc__wnum{visibility:visible}
.nc__chart--dense .nc__wlab{justify-self:start;white-space:nowrap;min-height:1.2em;overflow:visible}
.nc__panel.is-in .nc__chart--dense .nc__stack{animation-delay:calc(.2s + var(--i,0) * 18ms)}
.nc__key{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:14px}
.nc__key span{display:inline-flex;align-items:center;gap:6px}
.nc__key i{width:10px;height:10px;border-radius:3px;display:inline-block}
@media (max-width:860px){.nc__panel{grid-template-columns:1fr;gap:28px;padding:20px}.nc__chart{height:180px}}

.me__avatar{overflow:hidden}
.me__avatar img{display:block;width:100%;height:100%;object-fit:cover}
.btn--person{gap:10px}
.btn--person .face{width:28px;height:28px;flex:none}

.face{display:block;border-radius:50%;object-fit:cover;background:var(--pink-soft);flex:none}
.face--none{display:grid;place-items:center;font-weight:700;color:var(--pink);background:var(--ink)}
.team__named{display:flex;align-items:center;gap:10px}

/* Choosing a team: the delivery team up front, everyone else behind "More of the team". */
.tpick{display:grid;gap:12px}
.tpick__list{display:flex;flex-wrap:wrap;gap:8px}
.tpick__person{display:inline-flex;align-items:center;gap:10px;padding:6px 14px 6px 8px;border:1px solid var(--border);border-radius:var(--radius-tag);cursor:pointer;font-size:15px;background:#fff;position:relative;isolation:isolate;overflow:hidden;transition:color .35s,border-color .35s}
/* Picked, or about to be: the pill fills dark navy from the bottom, like the buttons do. */
.tpick__person::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--ink);transform:scaleY(0);transform-origin:bottom;transition:transform var(--slow) var(--ease)}
.tpick__person:hover::before,.tpick__person:has(input:checked)::before{transform:scaleY(1)}
.tpick__person:hover,.tpick__person:has(input:checked){border-color:var(--ink);color:#fff}
.tpick__person:hover .micro,.tpick__person:has(input:checked) .micro{color:rgba(255,255,255,.72)}
.tpick__person:hover input,.tpick__person:has(input:checked) input{accent-color:#fff}
.tpick__person input{accent-color:var(--ink);margin:0}
.tpick__name{display:grid;line-height:1.25}
.tpick__name .micro{font-size:12px}
.tpick__more{border-top:1px solid var(--border-soft);padding-top:10px}
.tpick__more summary{cursor:pointer;font-size:14px;font-weight:600;color:var(--text-muted);list-style:none;display:flex;align-items:center;gap:8px}
.tpick__more summary::-webkit-details-marker{display:none}
.tpick__more summary::before{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(-45deg);transition:transform .25s}
.tpick__more[open] summary::before{transform:rotate(45deg)}
.tpick__group{border:0;margin:12px 0 0;padding:0}
.tpick__group legend{padding:0;margin-bottom:6px;font-size:12px;letter-spacing:.7px;text-transform:uppercase;color:var(--text-muted);font-weight:600}
.req{color:var(--pink-deep)}

/* Clients ranked by projected £ per hour; a row opens onto its projects. */
.ranking{display:grid;border:1px solid var(--border);border-radius:var(--radius-card);background:#fff;overflow:hidden}
.ranking__head,.crow__row{display:grid;grid-template-columns:36px minmax(0,1.5fr) minmax(120px,1.1fr) 120px 90px 84px 84px 22px;align-items:center;column-gap:18px}
.ranking__head{padding:12px 22px;font-size:12px;letter-spacing:.6px;text-transform:uppercase;color:var(--text-muted);font-weight:600;background:var(--bg-sunk);border-bottom:1px solid var(--border)}
.ranking__head span:nth-child(n+4){text-align:right}
.ranking__head span:nth-child(3){text-align:left}
.crow{border-bottom:1px solid var(--border-soft)}
.crow:last-child{border-bottom:0}
.crow__row{padding:18px 22px;cursor:pointer;list-style:none;transition:background .2s}
.crow__row::-webkit-details-marker{display:none}
.crow__row:hover,.crow[open] > .crow__row{background:var(--bg-sunk)}
.crow__row:focus-visible{outline:2px solid var(--pink);outline-offset:-2px}
.crow__rank{color:var(--text-faint);font-size:15px}
.crow__name{display:grid;gap:3px;min-width:0}
.crow__name b{font-size:17px}
.crow__name .micro{font-size:13px}
.crow__track{position:relative;display:block;height:8px;border-radius:4px;background:var(--track)}
.crow__fill{position:absolute;inset:0 auto 0 0;border-radius:4px;background:var(--spring-blue);transition:width .5s var(--ease)}
.crow__fill.is-below{background:var(--signal-warn)}
.crow__tick{position:absolute;top:-5px;bottom:-5px;width:2px;margin-left:-1px;border-radius:1px;background:var(--ink)}
.crow__rate{display:grid;justify-items:end;gap:4px;text-align:right}
.crow__rate b{font-size:24px;line-height:1.1}
.crow__rate small{font-size:14px;font-weight:400;color:var(--text-muted);margin-left:1px}
.crow__n{text-align:right;font-size:15px}
.crow__chev{width:22px;height:22px;display:grid;place-items:center;color:var(--text-muted)}
.crow__chev::before{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .25s var(--ease)}
.crow[open] .crow__chev::before{transform:rotate(45deg)}
.crow__body{padding:0 0 4px;border-top:1px solid var(--border-soft);background:#fff;animation:crow-in .3s var(--ease)}
@keyframes crow-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.floor{position:relative;padding:8px 22px;border-top:1.5px solid var(--ink);border-bottom:1px solid var(--border-soft);background:var(--warn-ground);font-size:13px;color:var(--text-warn)}
@media (max-width:860px){
  .ranking__head{display:none}
  .crow__row{grid-template-columns:28px minmax(0,1fr) auto 22px;row-gap:8px;padding:16px}
  .crow__bar{grid-column:2 / 4;grid-row:2;order:5}
  .crow__n{display:none}
}
@media (prefers-reduced-motion:reduce){.crow__body{animation:none}.crow__fill,.crow__chev::before{transition:none}}

/* Pointing at one thing lights it up everywhere; the rest fades. */
.nc [data-k],.nc [data-g]{transition:opacity .2s,transform .2s,filter .2s}
.nc.is-focus [data-k]:not(.is-on),.nc.is-focus .nc__key [data-g]:not(.is-on){opacity:.22}
.nc__week.is-dim{opacity:.4}
.nc__legend li{border-radius:6px;cursor:default;transition:background .2s,opacity .2s}
.nc__legend li.is-on{background:var(--bg-sunk)}
.nc__legend li.is-zero{opacity:.3}
.nc__legend li:focus-visible,.nc__week:focus-visible,.nc__key span:focus-visible{outline:2px solid var(--pink);outline-offset:2px}
.nc__seg{transition:flex-grow .35s var(--ease),opacity .2s,transform .2s}
.nc__seg.is-zero{min-width:0}
.nc__seg.is-on{transform:scaleY(1.35)}
.nc__stack span.is-on{filter:brightness(.92);box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--ink)}
.nc__week{cursor:default;transition:opacity .2s}
.nc__week.is-on .nc__wnum{color:var(--ink)}
.nc__when{margin-left:8px;font-weight:400;font-family:var(--body);text-transform:none;color:var(--text-pink)}
.nc__key span{cursor:default;border-radius:6px;padding:2px 6px;margin:-2px -6px;transition:opacity .2s,background .2s}
.nc__key span.is-on{background:var(--bg-sunk)}
@media (prefers-reduced-motion:reduce){.nc [data-k],.nc [data-g],.nc__seg{transition:none}}

/* Home > Overview, as infographics (views/board.mjs). */
.ov{display:grid;gap:36px;--good:#4A6DB0;--good-soft:rgba(74,109,176,.42);--warn:#B23A5F;--warn2:#D07A94}
  background:linear-gradient(var(--pink-soft),var(--pink-soft)) bottom/100% 0 no-repeat,#fff;transition:background-size var(--slow) var(--ease),border-color .3s}
.ov__pipe{display:grid;gap:22px}
.ov__pipesum{display:flex;flex-wrap:wrap;gap:4px 28px;margin:0;font-size:15px;color:var(--text-muted)}
.ov__pipesum b{font-size:26px;letter-spacing:-.5px;color:var(--ink);margin-right:4px}
.ov__funnel{display:flex;gap:3px;height:54px}
.ov__seg{--c:var(--good);flex:1 1 0;min-width:96px;display:flex;flex-direction:column;justify-content:center;gap:1px;padding:0 14px;border-radius:10px;background:var(--c);color:#fff;text-decoration:none;overflow:hidden;white-space:nowrap;transition:filter .2s}
.ov__seg:hover,.ov__seg:focus-visible{filter:brightness(1.08)}
.ov__seg span{font-size:12px;opacity:.85;overflow:hidden;text-overflow:ellipsis}
.ov__seg b{font-size:16px;overflow:hidden;text-overflow:ellipsis}
.ov__seg--costing,.ov__col--costing{--c:var(--stage-costing)}
.ov__seg--costing{color:var(--on-stage-costing)}
.ov__seg--sent,.ov__col--sent{--c:var(--stage-sent)}
.ov__seg--approved,.ov__col--approved{--c:var(--stage-approved)}
.ov__seg--live,.ov__col--live{--c:var(--stage-live)}
.ov__cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.ov__col{display:grid;gap:10px;align-content:start;padding-top:14px;border-top:4px solid var(--c)}
.ov__colhead{display:grid;gap:2px;text-decoration:none;color:inherit}
.ov__colname{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text-muted)}
.ov__dot{width:10px;height:10px;border-radius:50%;background:var(--c)}
.ov__colvalue{font-size:28px;letter-spacing:-.5px;line-height:1.2}
.ov__colhead:hover .ov__colvalue{text-decoration:underline;text-underline-offset:4px}
.ov__colnote{font-size:13px;color:var(--text-muted)}
.ov__colflag{font-weight:600;color:var(--text-pink)}
.ov__plist{list-style:none;margin:0;padding:0}
.ov__plist li{border-top:1px solid var(--border-soft);border-radius:6px;transition:opacity .25s,background .25s}
.ov__plist a{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:9px 0;text-decoration:none;color:inherit}
.ov__pname{display:grid;min-width:0}
.ov__pname b{font-size:15px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ov__pname .micro{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ov__plist a:hover .ov__pname b{text-decoration:underline;text-underline-offset:3px}
.ov__pmeta{display:grid;justify-items:end;flex:none;font-size:14px}
.ov__more{text-decoration:none;color:var(--text-muted)}
.ov__more:hover{color:var(--ink);text-decoration:underline}
.ov__head{margin-bottom:14px}
/* Analytics: £ per hour for live and completed on one ruler, and time recorded as a ring. */
.an{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:18px;align-items:stretch}
.an--solo{grid-template-columns:minmax(0,1fr)}
.perhour{--good:#4A6DB0;--warn:#B23A5F;--warn2:#D07A94;display:grid;gap:4px;align-content:start;padding:24px 28px;container-type:inline-size}
.perhour h2{font-size:30px;margin-bottom:6px}
.rate-row{display:grid;grid-template-columns:150px 150px minmax(0,1fr) 170px;column-gap:24px;align-items:center;padding:20px 0;border-top:1px solid var(--border-soft)}
.rate-row__who{display:grid;gap:6px;justify-items:start}
.rate-tag{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:var(--radius-label);font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.rate-tag--live{background:var(--ink);color:#fff}
.rate-tag--live i{width:8px;height:8px;border-radius:50%;background:var(--pink);animation:rate-pulse 2s ease-in-out infinite}
.rate-tag--sm{padding:3px 10px;font-size:11px;gap:6px;margin-left:12px;vertical-align:2px}
.rate-tag--sm i{width:6px;height:6px}
.rate-tag--done{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
@keyframes rate-pulse{50%{box-shadow:0 0 0 5px rgba(232,162,177,.0);opacity:.45}}
.rate-row--empty{grid-template-columns:150px minmax(0,1fr)}
.rate-row__empty{margin:0}
.rate-row__num{font-size:46px;font-weight:700;letter-spacing:-1.5px;line-height:1.1;white-space:nowrap}
.rate-row__num small{margin-left:6px;font-size:15px;font-weight:600;color:var(--text-muted);letter-spacing:0}
.rate-row__ruler{display:grid;gap:6px}
.rate-row__track{position:relative;display:block;height:14px;border-radius:999px;background:linear-gradient(to right,rgba(178,58,95,.14) 0 var(--floor),var(--bg-sunk) var(--floor) var(--target),rgba(74,109,176,.16) var(--target) 100%)}
.rate-row__fill{position:absolute;left:0;top:0;bottom:0;border-radius:999px}
.rate-row__fill.is-good{background:var(--good)}
.rate-row__fill.is-warn{background:var(--warn)}
.rate-row__fill.is-below{background:repeating-linear-gradient(135deg,var(--warn) 0 4px,var(--warn2) 4px 7px)}
.rate-row__tick{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;border-radius:1px;background:var(--ink);opacity:.5}
.rate-row__dot{position:absolute;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:#fff;border:5px solid var(--good);box-shadow:0 2px 6px rgba(37,39,53,.25)}
.rate-row__dot.is-warn,.rate-row__dot.is-below{border-color:var(--warn)}
.rate-row__marks{position:relative;display:block;height:16px;font-size:12px;color:var(--text-muted)}
.rate-row__marks em{position:absolute;top:0;font-style:normal;white-space:nowrap}
.rate-row__marks .is-floor{transform:translateX(-100%);padding-right:6px}
.rate-row__marks .is-target{padding-left:6px}
.rate-row__detail{display:grid;gap:3px;justify-items:start}
.rate-row__gap{font-size:14px}
.rate-row__gap--good{color:var(--good)}
.rate-row__gap--warn,.rate-row__gap--below{color:var(--warn)}
.perhour__note{margin:2px 0 0;padding-top:14px;border-top:1px solid var(--border-soft);max-width:760px}
@container (max-width:900px){
  .rate-row{grid-template-columns:minmax(0,1fr) auto;row-gap:12px}
  .rate-row__ruler,.rate-row__detail{grid-column:1 / -1}
  .rate-row--empty{grid-template-columns:1fr}
}
.an--solo .perhour{max-width:none}
.tdonut{display:grid;gap:4px;align-content:start;padding:24px;text-decoration:none;color:inherit;transition:border-color .2s}
.tdonut:hover{border-color:var(--pink)}
.tdonut h2{font-size:30px}
.tdonut__when{margin:0 0 10px}
.tdonut .donut{gap:18px}
.tdonut .donut svg{width:150px;height:150px}
.tdonut .donut__legend{min-width:150px}
.tdonut .complete__more{margin-top:10px}
@media (max-width:1100px){.an{grid-template-columns:minmax(0,1fr)}}
.perhour.is-in .rate-row{animation:rv-rise .65s var(--ease) backwards;animation-delay:calc(var(--i,0) * 120ms)}
.perhour.is-in .rate-row__fill{transform-origin:left;animation:rv-grow 1.1s var(--ease) backwards;animation-delay:calc(.3s + var(--i,0) * 120ms)}
.perhour.is-in .rate-row__dot{animation:rv-rise .5s var(--ease) backwards;animation-delay:calc(1s + var(--i,0) * 120ms)}
.ov__head h2{margin:0 0 4px}
.ov__head .micro{max-width:620px}
.ov__panel{padding:28px;container-type:inline-size}

/* The live board: three columns, one row per project. */
.ov__boardhead,.ov__row{display:grid;grid-template-columns:1.05fr 1.2fr 1.7fr;column-gap:28px;align-items:center}
.ov__boardhead>*,.ov__row>*{min-width:0}
.ov__boardhead{padding-bottom:10px;border-bottom:1px solid var(--border-soft);font-size:12px;letter-spacing:.7px;text-transform:uppercase;color:var(--text-muted);font-weight:600}
.ov__axis{position:relative;display:block;height:16px}
.ov__axis em{position:absolute;top:0;font-style:normal;font-weight:400;letter-spacing:0;text-transform:none;font-size:12px;white-space:nowrap}
.ov__axis--hours em{transform:translateX(-50%);color:var(--ink)}
.ov__axis--when{height:32px}
.ov__axis--when b{position:absolute;top:16px;transform:translateX(-50%);font-size:12px;letter-spacing:0;text-transform:none;color:var(--text-pink);white-space:nowrap}
.ov__rowswrap{position:relative}
.ov__todaycol{position:absolute;top:0;bottom:0;right:0;width:calc((100% - 56px) * 1.7 / 3.95);pointer-events:none;z-index:1}
.ov__todaycol i{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:var(--pink)}
.ov__rows{list-style:none;margin:0;padding:0}
.ov__row{padding:16px 0;border-bottom:1px solid var(--border-soft);border-radius:8px;transition:opacity .25s,background .25s}
.ov__row:last-child{border-bottom:0}
.ov__who{display:grid;gap:1px;text-decoration:none;color:inherit}
.ov__who:hover b{text-decoration:underline}
.ov__client{font-size:13px;color:var(--text-muted)}
.ov__who b{font-size:16px;line-height:1.3}
.ov__hours{display:grid;gap:7px}
.ov__nums{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;color:var(--text-muted)}
.ov__nums b{font-size:15px;color:var(--ink)}
.ov__nums b.is-over{color:var(--text-pink)}
.ov__track{position:relative;display:block;height:10px;border-radius:999px;background:var(--track)}
.ov__fill{position:absolute;left:0;top:0;bottom:0;border-radius:999px;background:var(--good)}
.ov__overrun{position:absolute;top:0;bottom:0;margin-left:3px;border-radius:0 999px 999px 0;background:repeating-linear-gradient(135deg,var(--warn) 0 4px,var(--warn2) 4px 7px)}
.ov__tick{position:absolute;top:-3px;bottom:-3px;width:2px;margin-left:-1px;background:var(--ink);border-radius:1px}
.ov__tl{position:relative;display:block;height:24px}
.ov__tl--none{display:flex;align-items:center}
.ov__bar{position:absolute;top:50%;height:10px;transform:translateY(-50%);border-radius:999px;background:var(--track);overflow:hidden}
.ov__bar i{display:block;height:100%;background:var(--good-soft)}
.ov__late{position:absolute;top:50%;height:10px;transform:translateY(-50%);border-radius:0 999px 999px 0;background:repeating-linear-gradient(135deg,var(--warn) 0 4px,var(--warn2) 4px 7px)}
.ov__due{position:absolute;top:50%;transform:translateY(-50%);font-size:12px;color:var(--text-muted);white-space:nowrap;padding-left:4px}
.ov__flags{grid-column:1/-1;list-style:none;margin:12px 0 0;padding:0;display:grid;gap:6px}
.ov__flags li{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.ov__key{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:16px}
.ov__key span{display:inline-flex;align-items:center;gap:7px}
.k{display:inline-block;width:10px;height:10px;border-radius:3px}
.k--fill,.k--good{background:var(--good)}
.k--bar{background:var(--good-soft)}
.k--over,.k--late,.k--below{background:repeating-linear-gradient(135deg,var(--warn) 0 3px,var(--warn2) 3px 5px)}
.k--warn{background:var(--warn)}
.k--spectrum{width:72px;background:linear-gradient(90deg,#B23A5F 20%,#CFC6D6 50%,#4A6DB0 80%)}
.ov__scale{gap:8px!important}
.ov__scale em{font-style:normal}

/* What the work is earning: a hero figure, and bars out from the costed rate. */
.ov__earn{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,2fr);gap:44px;align-items:start}
.ov__hero{display:grid;gap:8px;justify-items:start;align-content:start}
.ov__herolabel{font-size:14px;color:var(--text-muted)}
.ov__heronum{font-size:56px;font-weight:700;letter-spacing:-1.5px;line-height:1}
.ov__heronum small{font-size:16px;font-weight:600;letter-spacing:0;color:var(--text-muted)}
.ov__herosub{display:grid;gap:4px;justify-items:start;margin-top:8px;padding-top:14px;border-top:1px solid var(--border-soft);width:100%}
.ov__herosub b{font-size:24px}
.ov__eg{--zone:rgba(165,87,112,.1)}
.ov__eaxis,.ov__erow{display:grid;grid-template-columns:minmax(120px,190px) minmax(0,1fr);column-gap:20px;align-items:center}
.ov__eaxis .ov__eplot{height:22px}
.ov__eplot{position:relative;display:block;height:44px}
.ov__eaxis em{position:absolute;top:0;transform:translateX(-50%);font-style:normal;font-size:12px;color:var(--text-muted);white-space:nowrap}
.ov__eaxis em.is-mid{color:var(--ink);font-weight:600}
.ov__erows{list-style:none;margin:0;padding:0}
.ov__egroup{padding:14px 0 6px;font-size:12px;letter-spacing:.7px;text-transform:uppercase;color:var(--text-muted);font-weight:600}
.ov__egroup:first-child{padding-top:4px}
.ov__erow{padding:0;border-radius:8px;transition:opacity .25s,background .25s}
.ov__erow .ov__eplot{background:linear-gradient(to right,var(--zone) var(--floor),transparent var(--floor))}
.ov__erow .ov__eplot::before,.ov__erow .ov__eplot::after{content:"";position:absolute;top:0;bottom:0;background:var(--border)}
.ov__erow .ov__eplot::before{left:var(--floor);width:1px}
.ov__erow .ov__eplot::after{left:50%;width:2px;margin-left:-1px;background:var(--ink)}
.ov__ename{display:grid;text-decoration:none;color:inherit;min-width:0}
.ov__ename b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ov__ename:hover b{text-decoration:underline}
.ov__ebar{position:absolute;top:50%;height:14px;transform:translateY(-50%);border-radius:4px;z-index:1}
.ov__ebar{background:var(--c,#CFC6D6)}
.ov__ebar.is-below{background:repeating-linear-gradient(135deg,rgba(255,255,255,.4) 0 3px,transparent 3px 6px),var(--c)}
.ov__edot{position:absolute;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;z-index:2;border:2px solid #fff;box-sizing:content-box;width:8px;height:8px;margin:-6px 0 0 -6px}
.ov__erow.is-done .ov__ebar,.ov__erow.is-done .ov__edot{opacity:.8}
.ov__eval{position:absolute;top:50%;transform:translateY(-50%);font-size:14px;z-index:2;white-space:nowrap}

/* Pointing at a project lights it up wherever it appears. */
.ov.is-focus [data-k]:not(.is-on){opacity:.35}
.ov [data-k].is-on{background:var(--bg-sunk)}
.ov [data-k]:focus-visible{outline:2px solid var(--pink);outline-offset:2px}

@container (max-width:760px){
  .ov__boardhead{display:none}
  .ov__row{grid-template-columns:1fr;row-gap:12px}
  .ov__todaycol{display:none}
  .ov__earn{grid-template-columns:1fr;gap:28px}
}
@container (max-width:900px){.ov__cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:520px){.ov__cols{grid-template-columns:1fr}.ov__funnel{height:46px}.ov__seg{padding:0 8px;min-width:0}.ov__seg span{display:none}}
@media (max-width:560px){.ov__panel{padding:18px}.ov__eaxis,.ov__erow{grid-template-columns:minmax(90px,120px) minmax(0,1fr);column-gap:12px}}

/* The three cards at the top of the non-chargeable panel focus the charts below. */
.nc__tiles .stat{transition:opacity .25s,box-shadow .25s,border-color .25s}
.nc__tiles .stat:focus-visible{outline:2px solid var(--pink);outline-offset:2px}
.nc__tiles .stat.is-on{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.nc__tiles .stat--em.is-on{box-shadow:0 0 0 3px var(--pink)}
.nc.is-tile .nc__tiles .stat:not(.is-on){opacity:.5}

/* A table row that opens its project: the whole row fills pale pink from the bottom, like the buttons. */
.table tbody tr.is-link{cursor:pointer;background:linear-gradient(var(--pink-soft),var(--pink-soft)) bottom/100% 0 no-repeat;transition:background-size var(--slow) var(--ease)}
.table tbody tr.is-link:hover,.table tbody tr.is-link:focus-within{background-size:100% 100%}

/* Entrances: infographics play once as they scroll into view (reveal.js). The site-wide reduced-motion rule turns the motion off. */
@keyframes rv-fade{from{opacity:0}}
@keyframes rv-rise{from{opacity:0;transform:translateY(16px)}}
@keyframes rv-grow{from{transform:scaleX(0)}}
@keyframes rv-growy{from{transform:scaleY(0)}}
@keyframes rv-pop{from{opacity:0;transform:scale(0)}}
@keyframes rv-draw{from{stroke-dasharray:0 400}}
@keyframes rv-wipe-r{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes rv-wipe-l{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0)}}
@keyframes rv-wipe-up{from{clip-path:inset(100% 0 0 0)}to{clip-path:inset(0)}}
html.reveal [data-rv="box"]:not(.is-in){opacity:0}
html.reveal [data-rv="box"].is-in{animation:rv-fade .35s ease backwards}
html.reveal [data-rv="bar"]:not(.is-in) :is(.bar__fill,.bar__over){transform:scaleX(0)}
html.reveal [data-rv="wipe"]:not(.is-in){clip-path:inset(0 100% 0 0)}
/* every step below is "backwards" fill: it holds the start until its turn, then leaves the element as it normally is */
.bar.is-in :is(.bar__fill,.bar__over){transform-origin:left;animation:rv-grow .95s var(--ease) backwards}
.bar.is-in .bar__over{animation-delay:.55s}
.mix.is-in{animation:rv-wipe-r 1s var(--ease) backwards}
/* a project's ring */
.donut.is-in .donut__arc,.donut.is-in .donut__time{animation:rv-draw 1.15s var(--ease) backwards}
.donut.is-in .donut__time{animation-delay:.25s}
.donut.is-in .donut__over{animation-delay:.75s}
.donut.is-in .donut__legend>div{animation:rv-rise .6s var(--ease) backwards;animation-delay:calc(.25s + var(--i,0) * 70ms)}
/* the pipeline flow */
/* the live board */
.ov__board.is-in .ov__row{animation:rv-rise .65s var(--ease) backwards;animation-delay:calc(.1s + var(--i,0) * 80ms)}
.ov__board.is-in :is(.ov__fill,.ov__overrun){transform-origin:left;animation:rv-grow 1s var(--ease) backwards;animation-delay:calc(.3s + var(--i,0) * 80ms)}
.ov__board.is-in .ov__overrun{animation-delay:calc(.9s + var(--i,0) * 80ms)}
.ov__board.is-in :is(.ov__bar,.ov__late){animation:rv-wipe-r 1.1s var(--ease) backwards;animation-delay:calc(.35s + var(--i,0) * 80ms)}
.ov__board.is-in .ov__due{animation:rv-fade .5s ease backwards;animation-delay:calc(1s + var(--i,0) * 80ms)}
.ov__board.is-in .ov__todaycol i{transform-origin:top;animation:rv-growy 1s var(--ease) backwards;animation-delay:.4s}
/* what the work is earning */
.ov__earn.is-in .ov__erow{animation:rv-rise .6s var(--ease) backwards;animation-delay:calc(.15s + var(--i,0) * 70ms)}
.ov__earn.is-in .ov__ebar.is-good{animation:rv-wipe-r .9s var(--ease) backwards;animation-delay:calc(.3s + var(--i,0) * 70ms)}
.ov__earn.is-in :is(.ov__ebar.is-warn,.ov__ebar.is-below){animation:rv-wipe-l .9s var(--ease) backwards;animation-delay:calc(.3s + var(--i,0) * 70ms)}
.ov__earn.is-in .ov__edot{animation:rv-pop .4s var(--ease) backwards;animation-delay:calc(1s + var(--i,0) * 70ms)}
.ov__earn.is-in .ov__eval{animation:rv-fade .4s ease backwards;animation-delay:calc(1s + var(--i,0) * 70ms)}
/* non-chargeable hours */
.nc__tiles.is-in .stat{animation:rv-rise .65s var(--ease) backwards;animation-delay:calc(var(--i,0) * 90ms)}
.nc__panel.is-in .nc__bar{animation:rv-wipe-r 1.1s var(--ease) backwards;animation-delay:.1s}
.nc__panel.is-in .nc__legend li{animation:rv-rise .55s var(--ease) backwards;animation-delay:calc(.25s + var(--i,0) * 60ms)}
.nc__panel.is-in .nc__stack{animation:rv-wipe-up .95s var(--ease) backwards;animation-delay:calc(.2s + var(--i,0) * 110ms)}
.nc__panel.is-in .nc__wnum{animation:rv-fade .5s ease backwards;animation-delay:calc(.9s + var(--i,0) * 110ms)}
/* the £ per hour tiles on Analytics */
.stats--2.is-in .stat{animation:rv-rise .65s var(--ease) backwards;animation-delay:calc(var(--i,0) * 90ms)}

/* Notes for improvement: the right-click menu, pins and the director's list. */
.me__count{margin-left:auto;min-width:22px;padding:1px 7px;border-radius:11px;background:var(--pink);color:var(--ink);font-size:12px;font-weight:700;text-align:center;font-variant-numeric:tabular-nums}
.me__dot{flex:none;width:8px;height:8px;margin-left:auto;border-radius:50%;background:var(--pink)}
.nt-layer{position:absolute;left:0;top:0;width:0;height:0;z-index:60}
.nt-layer--screen{position:fixed;inset:0;width:auto;height:auto;pointer-events:none}
.nt-pin{position:absolute;width:0;height:0}
.nt-pin.is-open{z-index:2}
.nt-hidden .nt-layer .nt-pin:not(.nt-pin--draft){display:none}
.nt-dot{position:absolute;left:-14px;top:-14px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:2px solid #fff;border-radius:50%;background:var(--pink);color:var(--ink);cursor:pointer;box-shadow:0 2px 8px rgba(var(--ink-rgb),.3);pointer-events:auto}
.nt-dot:hover,.nt-dot:focus-visible,.is-open>.nt-dot{background:var(--ink);color:var(--pink)}
.nt-dot:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.nt-pin.is-pulse>.nt-dot{animation:nt-pulse 1.1s ease-out 3}
@keyframes nt-pulse{0%{box-shadow:0 0 0 0 rgba(232,166,177,.9)}100%{box-shadow:0 0 0 18px rgba(232,166,177,0)}}
@media (prefers-reduced-motion:reduce){.nt-pin.is-pulse>.nt-dot{animation:none}}
.nt-dot.is-completing{pointer-events:none;animation:nt-spin .85s cubic-bezier(.4,0,.2,1) both,nt-leave .3s ease-in 1.7s forwards}
.nt-dot.is-completing>:not(.nt-tick){animation:nt-swap-out .85s linear both}
.nt-tick{position:absolute;inset:0;display:grid;place-items:center;border-radius:50%;background:var(--good);color:#fff;pointer-events:none;animation:nt-tick-in .85s cubic-bezier(.3,1.4,.5,1) both}
.nt-tick svg{width:18px;height:18px}
.nt-tick path{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;animation:nt-draw .4s ease-out .5s both}
@keyframes nt-spin{0%{transform:rotate(0) scale(1)}60%{transform:rotate(720deg) scale(1.3)}100%{transform:rotate(720deg) scale(1)}}
@keyframes nt-swap-out{0%,45%{opacity:1}55%,100%{opacity:0}}
@keyframes nt-tick-in{0%,45%{opacity:0;transform:scale(.4)}60%{opacity:1;transform:scale(1.15)}100%{opacity:1;transform:scale(1)}}
@keyframes nt-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes nt-leave{to{opacity:0;transform:scale(.6)}}
@media (prefers-reduced-motion:reduce){.nt-dot.is-completing{animation:none}.nt-dot.is-completing>*{animation:none}.nt-dot.is-completing>:not(.nt-tick){opacity:0}.nt-tick,.nt-tick path{animation:none}.nt-tick path{stroke-dashoffset:0}}
.nt-pop{position:absolute;left:-14px;top:22px;width:min(300px,calc(100vw - 24px));padding:14px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--ink);font-size:15px;line-height:1.45;box-shadow:0 12px 32px rgba(var(--ink-rgb),.18);pointer-events:auto;text-align:left}
.nt-pop--left{left:auto;right:-14px}
.nt-pop--up{top:auto;bottom:22px}
.nt-pop__body{white-space:pre-wrap;overflow-wrap:anywhere}
.nt-pop__meta{margin-top:8px;font-size:13px;color:var(--text-muted)}
.nt-pop__actions{display:flex;gap:8px;margin-top:12px}
.nt-pop__error{margin-top:8px;font-size:14px;color:var(--text-warn)}
.nt-menu{position:fixed;z-index:70;min-width:250px;padding:6px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 12px 32px rgba(var(--ink-rgb),.18)}
.nt-menu__item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:0;border-radius:6px;background:none;color:var(--ink);font:inherit;font-size:15px;text-align:left;cursor:pointer}
.nt-menu__item:hover,.nt-menu__item:focus-visible{background:var(--pink-soft);outline:0}
.nt-menu__hint{padding:6px 12px 4px;font-size:12px;color:var(--text-faint)}
.notes{display:grid;gap:16px}
.note{display:grid;gap:12px}
.note__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px}
.note__page{font-weight:700;color:var(--ink)}
.note__body{white-space:pre-wrap;overflow-wrap:anywhere}
.note__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px}
.note__foot .actions{display:flex;flex-wrap:wrap;gap:8px}
.note form{margin:0}
.nt-icon{display:inline-flex;flex:none}
/* A pin shows its author's photo. */
.nt-dot--photo{overflow:hidden;background:var(--ink)}
.nt-dot--photo img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;pointer-events:none}
.nt-dot--photo:hover,.nt-dot--photo:focus-visible,.is-open>.nt-dot--photo{background:var(--pink);border-color:var(--pink)}
/* @mentions and #references inside a note, and the suggestions while typing one. */
.nt-mention{text-decoration:none;padding:0 5px;border-radius:5px;background:linear-gradient(var(--pink-deep),var(--pink-deep)) 5px calc(100% - 1px)/0 2px no-repeat,var(--pink-soft);color:var(--pink-deep);font-weight:600;white-space:nowrap;transition:background-size .25s var(--ease)}
.nt-mention--me{background:linear-gradient(var(--ink),var(--ink)) 5px calc(100% - 1px)/0 2px no-repeat,var(--pink);color:var(--ink)}
.nt-mention:is(:hover,:focus-visible){background-size:calc(100% - 10px) 2px,auto}
.nt-ref{color:var(--pink-deep);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.nt-ref--gone{color:var(--text-faint);text-decoration:line-through;cursor:help}
.nt-pop__tag{display:inline-block;margin-bottom:8px;padding:1px 8px;border-radius:var(--radius-label);background:var(--pink);color:var(--ink);font-size:12px;font-weight:700}
.nt-pop__hint{margin-top:6px;font-size:12px;color:var(--text-faint)}
.nt-pop__tag--whisper{background:#E4D6F7}
/* /whisper: the people chosen to see a note or reply, above the text they go with. */
.nt-whisper{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 6px;flex:1 0 100%}
.nt-whisper[hidden]{display:none}
.nt-whisper__label{font-size:13px;font-weight:600;color:var(--text-muted)}
.nt-whisper__chips{display:contents}
.nt-whisper__chip{display:inline-flex;align-items:center;gap:4px;padding:2px 4px 2px 10px;border-radius:999px;background:#E4D6F7;font-size:13px;font-weight:600}
.nt-whisper__x{border:0;background:transparent;color:inherit;font-size:16px;line-height:1;width:20px;height:20px;border-radius:50%;cursor:pointer}
.nt-whisper__x:hover,.nt-whisper__x:focus-visible{background:rgba(0,0,0,.12)}
.nt-whisper .nt-whisper__input,.note__reply .nt-whisper__input{flex:1 1 120px;width:auto;min-width:0;min-height:30px;padding:3px 8px;font-size:14px}
.nt-whisper .nt-suggest{flex:1 0 100%;margin:0}
.nt-suggest{margin:4px 0 0;padding:4px;list-style:none;border:1px solid var(--border);border-radius:8px;background:#fff;max-height:190px;overflow:auto}
.nt-suggest li{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;font-size:14px;cursor:pointer}
.nt-suggest li:hover{background:var(--pink-soft)}
.nt-suggest li[aria-selected="true"]{background:var(--pink);color:var(--ink)}
.nt-suggest li .face{width:24px;height:24px;flex:none;border-radius:50%;object-fit:cover}
.nt-suggest li b{white-space:nowrap}
.nt-suggest li b + span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-muted)}
/* The box a note or reply is written in: the Works Tracker's update editor, so a tag is a chip while you type. */
.nt-editor{display:block;min-height:96px;max-height:200px;overflow-y:auto;font:inherit;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text}
.nt-editor:empty::before{content:attr(data-placeholder);color:var(--text-faint);pointer-events:none}
.nt-editor--reply{flex:1 1 0;min-width:0;min-height:34px;max-height:110px;padding:6px 10px;font-size:14px;line-height:1.35}
.nt-chip{display:inline-block;padding:0 5px;border-radius:5px;background:var(--pink);color:var(--ink);font-weight:600;line-height:1.5;white-space:nowrap;user-select:all}
.nt-tag-button{flex:none;width:30px;height:30px;padding:0;border:0;border-radius:var(--radius-button,10px);background:var(--bg-sunk);color:var(--ink);font:inherit;font-size:19px;cursor:pointer}
.nt-tag-button:hover,.nt-tag-button:focus-visible{background:var(--pink-soft)}
.nt-pop__actions .nt-tag-button{margin-right:auto}

/* Expenses */
.nav__count{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#C9A13A;color:#fff;font-size:13px;font-weight:700}
.status--draft{background:var(--bg-sunk);color:var(--text-muted)}
.status--requested{background:var(--warn-ground);color:var(--text-warn)}
.status--declined{background:#F6E1E1;color:#8A3A3A}
.xform{margin-top:28px}
.xform__form{max-width:760px}
.xkind{display:inline-flex;justify-self:start;border:1px solid var(--border);border-radius:8px;padding:3px;gap:2px;background:#fff}
.xkind label{position:relative;cursor:pointer}
.xkind input{position:absolute;opacity:0;inset:0}
.xkind span{display:block;padding:8px 16px;border-radius:6px;font-size:15px;color:var(--text-muted)}
.xkind input:checked + span{background:var(--pink-soft);color:var(--ink);font-weight:600}
.xkind input:focus-visible + span{outline:2px solid var(--ink);outline-offset:1px}
.xform__mileage,.xform__other{display:grid;gap:20px}
.xform__miles{align-items:end}
.xcheck{display:flex;gap:10px;align-items:center;min-height:46px;font-size:15px;cursor:pointer}
.xcheck input{width:20px;height:20px;accent-color:var(--ink)}
.xroute{border:1px solid var(--border);background:#fff;border-radius:var(--radius-tag);padding:6px 12px;font:inherit;font-size:14px;cursor:pointer;color:var(--ink)}
.xroute:hover,.xroute:focus-visible{background:var(--pink-soft)}
.xnote{padding:12px 14px;border-radius:8px;margin-bottom:16px;font-size:15px}
.xnote--declined{background:#F6E1E1;color:#8A3A3A}
.xtable td.xwhat{display:grid;gap:2px;align-content:start;min-width:180px}
.xtable td.xwhat b{font-weight:600}
.xtable .xwhy{color:#8A3A3A}
.xtable td.xactions{white-space:nowrap}
.xtable td.xactions > *{display:inline-block;vertical-align:top;margin:0 4px 4px 0}
.xtable td .status{margin-right:6px}
.xact{display:inline-block;margin:0}
.xwho{display:inline-flex;align-items:center;gap:8px;font-weight:600}
.xdecline summary{list-style:none;cursor:pointer}
.xdecline summary::-webkit-details-marker{display:none}
.xdecline[open]{display:block;margin-top:6px}
.xdecline form{display:grid;gap:8px;min-width:220px;margin-top:8px}
.xpanel .xrow{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px 14px;align-items:baseline;padding:10px 0;border-top:1px solid var(--border-soft)}
.xpanel .xrow:first-of-type{border-top:0}
.xpanel .xrow__what{display:grid;min-width:0}
.xpanel .xrow__what .micro{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xfig{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-bottom:18px}
.xfig > div{display:grid;gap:2px}
.xfig b{font-size:24px;font-variant-numeric:tabular-nums;letter-spacing:-.3px}
.xtable td.num{white-space:nowrap}
.xtable td .status + .micro{display:block;margin-top:4px}
.xwho > span{display:grid;line-height:1.3}
.xwho .micro{font-weight:400;white-space:nowrap}
.xtable td.xactions{min-width:150px}
/* Expenses: the map */
.xmap{display:grid;gap:12px;justify-items:start}
.xmap__panel{display:grid;gap:10px;width:100%}
.xmap__panel[hidden]{display:none}
.xmap__bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.xmap__search{flex:1 1 220px}
.xmap__search .input{min-height:38px}
.xmap__canvas{height:340px;width:100%;border:1px solid var(--border);border-radius:var(--radius-card);overflow:hidden;background:var(--bg-sunk);z-index:0}
@media (max-width:560px){.xmap__canvas{height:300px}}
.xmap__status{min-height:1.5em}
.xkind--small span{padding:5px 12px;font-size:14px}
.xpin{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.35);color:#fff;font:700 14px var(--body)}
.xpin--a{background:var(--ink)}
.xpin--b{background:var(--pink-deep)}
.xform__time{align-items:end}
.xform__estimate{display:grid;gap:6px;justify-items:start;padding-bottom:2px}
.status--paid{background:var(--good-ground);color:var(--text-good)}
.xstats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:900px){.xstats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.xstats{grid-template-columns:1fr 1fr}}
/* Finance */
.xfin-person{margin-top:18px}
.xfin-person__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;border-bottom:1px solid var(--border-soft)}
.xfin-person__who{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:17px}
.xfin-person__who .micro{font-weight:400}
.xfin-pay{display:flex;flex-wrap:wrap;gap:10px;align-items:end;padding:16px 24px;border-top:1px solid var(--border-soft);background:var(--bg-sunk)}
.xfin-pay .field{min-width:180px}
.xfin-check{width:20px;height:20px;accent-color:var(--ink)}
.xfin-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:14px}
.xfin-tools form{margin:0}
.xfin-tools select.input{width:auto;min-height:38px}
/* Replies under a note */
.nt-thread{margin-top:10px;border-top:1px solid var(--border-soft);padding-top:8px}
.nt-replies{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.nt-replies:empty{display:none}
.nt-reply{padding-left:10px;border-left:3px solid var(--pink-soft)}
.nt-reply__who{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--text-muted)}
.nt-reply__who b{color:var(--ink)}
.nt-reply__who .face{width:20px;height:20px}
.nt-reply__who .nt-pop__tag{margin:0}
.nt-tools{display:flex;gap:6px;margin-right:auto}
.nt-pop__actions .nt-tools .nt-tag-button{margin-right:0}
.nt-attach-button{display:inline-grid;place-items:center}
.nt-attach-button:disabled{opacity:.4;cursor:not-allowed}
.nt-thumbs{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.nt-form--reply .nt-thumbs{flex:1 0 100%;margin-top:0}
.nt-thumb{position:relative;display:inline-block}
.nt-thumb img{display:block;height:52px;width:auto;max-width:96px;object-fit:cover;border-radius:8px;border:1px solid var(--line,#ddd)}
.nt-thumb__x{position:absolute;top:-6px;right:-6px;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:var(--ink);color:#fff;font:700 14px/20px system-ui,sans-serif;cursor:pointer}
.nt-thumb__x:hover,.nt-thumb__x:focus-visible{background:var(--pink,#E7889F)}
.nt-images{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.nt-image{display:block;border-radius:8px;overflow:hidden;border:1px solid var(--line,#ddd);line-height:0}
.nt-image img{display:block;height:auto;width:auto;max-width:100%;max-height:160px;object-fit:contain}
.note .nt-image img{max-height:240px}
.note .nt-reply .nt-image img{max-height:150px}
.nt-reply__body{margin-top:2px;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.nt-form--reply{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;margin-top:8px}
.nt-form--reply .btn{min-height:34px;padding:4px 12px;flex:none}
.nt-form--reply .nt-suggest,.nt-form--reply .nt-pop__error{flex:1 0 100%;margin:0}
.nt-pop > .nt-pop__actions{margin-top:10px}
.note .nt-replies{margin-top:14px}
/* Emoji reactions on notes and replies (note-reactions.mjs, notes.js). Pills are buttons, so they are rounded like the search bars. */
.nt-pills{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.nt-pills:empty{display:none}
.nt-pill{position:relative;display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:1px 9px 1px 7px;border:1px solid var(--border);border-radius:var(--radius-search);background:#fff;color:var(--ink);font:inherit;font-size:13px;line-height:1;cursor:pointer;transition:background-color .2s,border-color .2s}
.nt-pill:hover{background:var(--bg-sunk);border-color:var(--text-faint)}
.nt-pill.is-mine{border-color:var(--pink-deep);background:var(--pink-soft)}
.nt-pill.is-mine:hover{background:var(--pink)}
.nt-pill:focus-visible,.nt-react-add:focus-visible,.nt-picker__pick:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.nt-pill[aria-busy]{opacity:.6;cursor:progress}
.nt-pill__emoji{font-size:15px;line-height:1}
.nt-pill__n{font-weight:700;font-variant-numeric:tabular-nums}
.nt-pill.is-mine .nt-pill__n{color:var(--pink-deep)}
.nt-pop__meta--react{display:flex;align-items:center;justify-content:space-between;gap:8px}
.nt-pop__meta--react > span:first-child{min-width:0;overflow-wrap:anywhere}
.nt-react-wrap{position:relative;display:inline-flex;flex:none;margin-left:auto}
.nt-react-add{display:inline-grid;place-items:center;width:30px;height:26px;padding:0;border:1px solid transparent;border-radius:var(--radius-search);background:var(--bg-sunk);color:var(--text-muted);cursor:pointer;transition:background-color .2s,color .2s}
.nt-react-add:hover,.nt-react-add[aria-expanded="true"]{background:var(--pink-soft);color:var(--ink)}
.note__foot .actions .nt-react-wrap{margin-left:0}
.note__foot .actions .nt-react-add{height:36px;width:40px}
.nt-reply__who .nt-react-wrap{margin-left:auto}
.nt-picker{position:absolute;right:0;bottom:calc(100% + 6px);z-index:5;display:grid;grid-template-columns:repeat(5,34px);gap:2px;padding:6px;border:1px solid var(--border);border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(var(--ink-rgb),.2)}
.nt-picker--below{bottom:auto;top:calc(100% + 6px)}
.nt-picker__pick{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:var(--radius-button);background:none;font:inherit;font-size:20px;line-height:1;cursor:pointer;transition:background-color .15s,transform .15s}
.nt-picker__pick:hover{background:var(--pink-soft)}
.nt-picker__pick.is-mine{background:var(--pink-soft);box-shadow:inset 0 0 0 1.5px var(--pink-deep)}
.nt-tip{position:fixed;z-index:80;max-width:min(240px,calc(100vw - 16px));padding:5px 9px;border-radius:8px;background:var(--ink);color:#fff;font-size:13px;line-height:1.35;pointer-events:none;overflow-wrap:anywhere}
@media (prefers-reduced-motion:no-preference){
  .nt-pill.is-new{animation:nt-pill-pop .32s var(--ease)}
  .nt-picker__pick:hover{transform:scale(1.18)}
}
@keyframes nt-pill-pop{0%{transform:scale(.6)}55%{transform:scale(1.18)}100%{transform:scale(1)}}
.note__reply{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;margin-top:12px}
.note__reply .input{flex:1 1 0;width:auto}
.note__reply .nt-suggest{flex:1 0 100%;margin:0}
.note__reply .btn{min-height:34px}

/* Saved projects: search and filters, and the tags on a costing that needs a look. */
.saved__tags{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px}
.saved__tag{display:inline-flex;align-items:center;padding:3px 10px;border-radius:var(--radius-label);font-size:13px;font-weight:600;background:var(--bg-sunk);color:var(--text-muted)}
.saved__tag--ok{background:var(--good-ground);color:var(--text-good)}
.saved__tag--warn{background:#FBF1D4;color:#6B4E0A}
.saved__tag--quiet{background:#fff;box-shadow:inset 0 0 0 1px #D8D1CF}
[data-saved][hidden]{display:none}

/* A person's name wherever it appears: quiet until you point at it. */
.person-link{color:inherit;text-decoration:none;cursor:pointer;border-radius:3px;background:linear-gradient(var(--pink),var(--pink)) 0 100%/0 2px no-repeat;transition:background-size .25s var(--ease)}
.person-link:hover,.person-link:focus-visible{background-size:100% 2px;outline:none}
.table a.person-link{font-weight:inherit}
/* The same line for a name inside a row that already links to that person: it draws when the row is pointed at. */
.person-name{border-radius:3px;background:linear-gradient(var(--pink),var(--pink)) 0 100%/0 2px no-repeat;transition:background-size .25s var(--ease)}
a:is(:hover,:focus-visible) .person-name{background-size:100% 2px}

/* Profile */
.pf__crumb{display:block;width:fit-content;margin-bottom:24px}
.pf__head{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-bottom:32px}
.pf__head .face{width:104px;height:104px;font-size:42px;box-shadow:0 0 0 4px #fff,0 0 0 5px var(--border)}
.pf__id{display:grid;gap:8px;min-width:0;flex:1 1 320px}
.pf__line{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px}
.pf__role{display:inline-flex;padding:3px 10px;border-radius:var(--radius-label);font-size:13px;font-weight:600;background:var(--bg-sunk);color:var(--text-muted);box-shadow:inset 0 0 0 1px var(--border-soft)}
/* Their own details: a form under the header on their own profile (?edit=1), apart from the manager's Settings screen. */
.pf__own{margin:-8px 0 32px;padding:28px 30px 26px;animation:rv-rise .35s var(--ease)}
.pf__ownhead{display:grid;gap:6px;padding-bottom:18px;margin-bottom:6px;border-bottom:1px solid var(--border-soft)}
.pf__ownhead h2{margin:0;font-size:24px}
.pf__fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px 26px;padding:18px 0 4px}
.pf__field{display:grid;gap:8px;align-content:start}
.pf__flabel{display:grid;gap:2px;font:700 15px var(--mono);letter-spacing:.02em}
.pf__flabel small{font:400 13px var(--body);letter-spacing:0;color:var(--text-muted)}
.pf__ownfoot{justify-content:flex-end;margin-top:18px}
@media (prefers-reduced-motion:reduce){.pf__own{animation:none}}
.pf__cols{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:start}
.pf__side .section:first-child,.pf__main .section:first-child{margin-top:40px}
.pf__list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.pf__list > li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;align-items:center;padding:16px 20px;border:1px solid var(--border);border-radius:var(--radius-card);background:#fff}
.pf__list .job__client{display:block}
.pf__pname{font-weight:700;font-size:17px;line-height:1.35;text-decoration:none}
a.pf__pname:hover{text-decoration:underline}
.pf__ptags{display:flex;flex-wrap:wrap;gap:6px;grid-column:1 / -1;grid-row:2}
.pf__ptags:empty{display:none}
.pf__pmeta{display:grid;gap:2px;justify-items:end;text-align:right}
.pf__time{display:grid;gap:22px}
.pf__week{display:grid;gap:6px;justify-items:center}
.pf__week.is-now .pf__wk{color:var(--ink);font-weight:700}
.pf__swatch--work{background:var(--ink)}.pf__swatch--other{background:var(--spring-blue)}.pf__swatch--away{background:var(--spring-sage);opacity:.55}
.pf__month{display:grid;gap:10px;padding-top:20px;border-top:1px solid var(--border-soft)}
.pf__people{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.pf__who{display:flex;align-items:center;gap:12px;padding:8px 10px;margin:0 -10px;border-radius:10px;text-decoration:none}
.pf__who:hover,.pf__who:focus-visible{background:var(--pink-soft)}
.pf__who > span{display:grid;line-height:1.3}
@media (max-width:1180px){.pf__cols{grid-template-columns:1fr}.pf__side .section:first-child{margin-top:48px}}
@media (max-width:640px){.pf__list > li{grid-template-columns:1fr}.pf__ptags{grid-row:auto}.pf__pmeta{justify-items:start;text-align:left}.pf__head{gap:18px}.pf__weeks{gap:6px}}
.pf__cols--solo .pf__people{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:4px 24px}

/* The Time section plays as it scrolls into view: each week's bar rises in turn, its total counts up, the expected lines draw across,
   then the month's project bars fill. (reveal.js decides when; the site-wide reduced-motion rule switches it all off.) */
.pf__time.is-in .pf__week{animation:rv-rise .6s var(--ease) backwards;animation-delay:calc(var(--i,0) * 110ms)}
.pf__time.is-in .pf__fill{animation:rv-wipe-up 1s var(--ease) backwards;animation-delay:calc(.15s + min(var(--i,0) * 35ms,1.1s))}
.pf__time.is-in .pf__expect{transform-origin:center;animation:rv-grow .6s var(--ease) backwards;animation-delay:calc(.9s + var(--i,0) * 110ms)}
.pf__time.is-in .pf__key{animation:rv-fade .5s ease backwards;animation-delay:1.2s}
.pf__time.is-in .pf__month .bar__fill{transform-origin:left;animation:rv-grow .9s var(--ease) backwards;animation-delay:calc(1s + var(--i,0) * 90ms)}

/* Presence on a costing: faces at the top right, a pointer per person with their name, and an outline on the line they're in. */
.wrap.has-presence{position:relative}
.pcursors{position:absolute;inset:0;pointer-events:none;overflow:visible;z-index:60}
.pcursor{position:absolute;left:0;top:0;color:var(--c);transition:transform .28s linear,opacity .25s ease;will-change:transform}
.pcursor.is-away{opacity:0}
.pcursor__arrow{display:block;filter:drop-shadow(0 1px 2px rgba(var(--ink-rgb),.28))}
.pcursor__flag{position:absolute;left:14px;top:17px;padding:2px 9px;border-radius:4px 10px 10px 10px;background:var(--c);color:#fff;font-size:12px;font-weight:700;line-height:1.5;white-space:nowrap;box-shadow:0 2px 6px rgba(var(--ink-rgb),.2)}
.presence{position:fixed;top:14px;right:24px;z-index:70;display:flex;flex-direction:row-reverse;padding-left:8px}
.presence__face{position:relative;display:grid;place-items:center;width:38px;height:38px;margin-left:-9px;border-radius:50%;background:var(--c);box-shadow:0 0 0 3px var(--c),0 0 0 5px #fff,0 3px 10px rgba(var(--ink-rgb),.25);color:#fff;font-size:13px;font-weight:700;text-decoration:none;overflow:hidden;animation:presence-pop .5s var(--ease) backwards;transition:transform .2s var(--ease)}
.presence__face:hover,.presence__face:focus-visible{transform:translateY(-2px) scale(1.06);z-index:2}
.presence__face img{display:block;width:100%;height:100%;object-fit:cover}
.presence__toast{position:fixed;top:62px;right:24px;z-index:70;max-width:260px;padding:8px 14px;border-radius:10px;background:var(--ink);color:#fff;font-size:14px;line-height:1.4;box-shadow:0 8px 24px rgba(var(--ink-rgb),.25)}
.presence__toast.is-on{animation:presence-toast 4s var(--ease) forwards}
.is-pfocus{outline:2px solid var(--c);outline-offset:3px;border-radius:6px;position:relative}
tr.is-pfocus{outline-offset:-2px;border-radius:0;background:color-mix(in srgb,var(--c) 7%,transparent)}
.is-pfocus::after{content:attr(data-by);position:absolute;right:0;top:-12px;padding:0 7px;border-radius:4px;background:var(--c);color:#fff;font-size:11px;font-weight:700;line-height:17px;z-index:5;pointer-events:none}
tr.is-pfocus::after{display:none}
tr.is-pfocus > td:first-child{box-shadow:inset 3px 0 var(--c)}
@keyframes presence-pop{from{opacity:0;transform:scale(.4)}}
@keyframes presence-toast{0%{opacity:0;transform:translateY(-8px)}8%,85%{opacity:1;transform:none}100%{opacity:0}}
@media (max-width:760px){.presence{top:10px;right:14px}.presence__toast{right:14px;top:56px}}

/* The "this page is out of date" bar: fixed at the top, in front of everything, until you reload or keep your own. */
.presence__banner{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:90;display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:center;width:max-content;max-width:min(680px,calc(100vw - 32px));padding:12px 16px;border-radius:14px;background:var(--ink);color:#fff;font-size:15px;line-height:1.4;box-shadow:0 12px 36px rgba(var(--ink-rgb),.35);animation:presence-drop .45s var(--ease) backwards}
.presence__banner[hidden]{display:none}
.presence__bannertext{flex:1 1 260px}
.presence__keep{border:0;background:none;color:rgba(255,255,255,.78);font:inherit;font-size:14px;text-decoration:underline;cursor:pointer;padding:6px 4px}
.presence__keep:hover{color:#fff}
@keyframes presence-drop{from{opacity:0;transform:translate(-50%,-16px)}}

/* The costing page, from the Figma file: the costing on the left with a tab for each
   of its costings, and a summary card for each down the right. */
/* Sizes, spacing and colours from George's Figma file ("Cost a Project / One Off Tab"). The file measures its gaps
   from the tops of the capitals to the baseline, not from the line box, so the same text is trimmed here to match:
   then each gap below is the file's own number. */
.ce :is(.ce__crumb,.ce__stamp,.ce__label,.ce__fieldlabel,.ce__client,h1,.ce__intro,.ce__tab,.ce__band h2,.ce__cols span,.ce__add,
  .ce__sumhead h2,.ce__lines dt,.ce__lines dd,.ce__big b,.ce__big span,.ce__allow,.ce__time b,.ce__action){text-box:trim-both cap alphabetic}
.ce{--cream:#FFF9F4;--line:#DBDBDB;--dots:#788887;--soft-pink:#D88B9B;--hint:#838383}
.ce__top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 50px;font-size:14px}
/* The top corner: the save stamp and the actions menu. */
.ce__corner{display:flex;align-items:center;justify-content:flex-end;gap:12px 20px}
.ce__corner .pmenu{flex:none}
/* Status and Chance, from the Figma file ("Cost a Project / One Off Tab", Frame 244): two labelled boxes, 30px apart, at the top of the
   side column. The label is 10px bold, 2px tracked, 10px above a 47px box (15px padding, 10px corners, 14px bold text, 15px chevron). */
.ce{--ce-sent:#3F6ED4;--ce-likely:#EA337E}
.ce__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;align-items:start}
.ce__field{display:flex;flex-direction:column;gap:10px;min-width:0}
.ce__fieldlabel{margin:0;font:700 10px/normal var(--body);letter-spacing:2px;text-transform:uppercase;color:var(--ink)}
.ce__chance{position:relative}
:is(.ce,.ls__tags) .ce__tag{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;height:auto;padding:15px;border:0;border-radius:10px;font:700 14px/17px var(--body);text-align:left;color:#fff}
.ce .ce__tag.ppill--sent{background:var(--ce-sent)}
.ce .ce__tag.ppill--likely{background:var(--ce-likely)}
.ce .ce__tag--unset{justify-content:center;border:1px dashed #000;background:none;color:var(--hint);cursor:default;user-select:none}
.ce__chev{position:relative;flex:none;width:15px;height:15px;transition:transform .18s var(--ease)}
.ce__chev img{position:absolute;inset:0 -5.07% 0 -5.72%;display:block;width:auto;height:100%;max-width:none}
button.ce__tag{cursor:pointer;transition:filter .18s var(--ease)}
button.ce__tag:hover,button.ce__tag:focus-visible{filter:brightness(.94)}
button.ce__tag:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
button.ce__tag[aria-expanded="true"] .ce__chev{transform:rotate(180deg)}
.ce__chance-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:30;display:grid;gap:2px;min-width:210px;padding:8px;border-radius:10px;background:#fff;box-shadow:0 12px 32px rgba(var(--ink-rgb),.18)}
.ce__chance-menu[hidden]{display:none}
.ce__chance-when{margin:4px 12px 6px;font-size:13px;color:var(--text-muted)}
.ce__chance-option{display:flex;align-items:center;gap:10px;width:100%;padding:12px;border:0;border-radius:8px;background:none;color:var(--ink);font:500 15px/1 var(--body);text-align:left;cursor:pointer}
.ce__chance-option:hover,.ce__chance-option:focus-visible{background:var(--bg-sunk);outline:0}
.ce__chance-option[aria-checked="true"]{font-weight:700}
.ce__chance-option[aria-checked="true"]::after{content:"✓";margin-left:auto}
.ce__chance-dot{flex:none;width:12px;height:12px;border-radius:50%}
@media (prefers-reduced-motion:reduce){.ce__chev{transition:none}}
.ce__crumb{color:var(--pink);text-decoration:none}
.ce__crumb:hover{text-decoration:underline}
.ce__stamp{color:var(--spring-sage);text-align:right}
.ce__stamp.is-bad{color:var(--text-warn)}
.ce__grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:50px;align-items:start}
.ce__main{min-width:0}
.ce__label{margin:0 0 19px;font:700 16px/1 var(--mono);color:var(--spring-sage)}
.ce__client{display:block;width:fit-content;margin-bottom:30px;font:400 25px/1.08 var(--display);letter-spacing:.1em;text-transform:uppercase;color:var(--ink);text-decoration:none}
.ce__client:hover{color:var(--text-pink)}
.ce h1{font-size:60px;letter-spacing:.1em;line-height:1;margin-bottom:50px}
.ce__intro{font-size:16px;line-height:1.75;color:var(--ink);margin-bottom:50px}

/* Tabs over the card. */
.ce__form{gap:0}
.ce__tabs{display:flex;gap:10px;align-items:flex-end}
.ce__tab{position:relative;z-index:1;margin-bottom:-1px;padding:20px 30px 19px;border:1px solid var(--line);border-bottom:0;border-radius:10px 10px 0 0;background:var(--cream);
  font:400 25px/1 var(--display);letter-spacing:.1em;text-transform:uppercase;color:var(--ink);cursor:pointer}
.ce__tab[aria-selected="true"]{background:var(--cream);padding-bottom:20px}
.ce__tab[aria-selected="false"]{background:#fff}
span.ce__tab{cursor:default}
.ce__card{border:1px solid var(--line);border-radius:0 10px 10px 10px;background:#fff}
.ce__panel{display:block}

/* The rates across the top. */
/* The rates sit on one row (five, or six with a retainer's months) wherever there's room, about 112px each; on a
   narrow screen they wrap rather than squash. */
.ce__rates{display:grid;grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:14px;padding:22px 30px;border-bottom:1px solid var(--line);border-radius:0 10px 0 0;background:var(--cream)}
.ce__rate{display:grid;grid-template-rows:auto auto;align-content:end;gap:5px;min-width:0}
.ce__ratehead{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:14px;font-weight:700;line-height:28px;white-space:nowrap;color:var(--ink)}
.ce__tip{display:grid;place-items:center;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--soft-pink);cursor:help}
.ce__tip svg{width:17px;height:17px}
/* The explanation opens above its column, over the label, so it never covers a dropdown. It waits a moment,
   so passing over the icon on the way to a dropdown doesn't flash it up. */
.ce__rate{position:relative}
.ce__rate[hidden],.ce__section[hidden]{display:none}
.ce__tip::after{content:attr(data-tip);position:absolute;z-index:30;bottom:calc(100% + 6px);left:0;width:220px;padding:8px 10px;border-radius:6px;
  background:var(--ink);color:#fff;font-size:12px;font-weight:400;line-height:1.4;text-align:left;white-space:normal;pointer-events:none;
  opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s linear .15s}
.ce__tip:hover::after,.ce__tip:focus-visible::after{opacity:1;visibility:visible;transition:opacity .15s .45s,visibility 0s linear .45s}
.ce__tip:focus-visible::after{transition-delay:0s}
.ce__rate:last-child .ce__tip::after{left:auto;right:0}
.ce__tip:focus-visible{outline:2px solid var(--pink);outline-offset:1px}
.ce__select{width:100%;height:47px;padding:0 40px 0 15px;border:1px solid var(--line);border-radius:5px;-webkit-appearance:none;appearance:none;font:inherit;font-size:16px;color:var(--ink);cursor:pointer;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23252735' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 15px center}
.ce__select:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(232,166,177,.45)}
.ce__select:disabled{cursor:default;background-image:none;color:var(--ink);opacity:1}
/* The rate dropdowns: the list drops straight under the box, as wide as it (views/costing.mjs, costing.js). */
.cdd{position:relative}
.cdd select{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none}
.cdd__btn{display:block;text-align:left;background-color:#fff}
.cdd__btn[aria-expanded="true"]{border-color:var(--ink)}
.cdd__list{position:absolute;z-index:40;top:calc(100% + 4px);left:0;right:0;margin:0;padding:4px;list-style:none;border:1px solid var(--line);border-radius:5px;background:#fff;box-shadow:0 12px 30px rgba(var(--ink-rgb),.14)}
.cdd__list[hidden]{display:none}
.cdd__list li{padding:11px 11px;border-radius:4px;font-size:16px;color:var(--ink);cursor:pointer}
.cdd__list li:hover,.cdd__list li:focus-visible{background:var(--pink-soft);outline:0}
.cdd__list li[aria-selected="true"]{font-weight:700}

/* Fee items in blue, recharge items in pink. */
.ce__band{display:flex;align-items:center;justify-content:space-between;min-height:55px;padding:0 24px 0 30px;color:var(--cream)}
.ce__band--blue{background:var(--spring-blue)}
.ce__band--pink{background:var(--pink)}
.ce__band h2{margin:0;font:400 20px/1 var(--display);letter-spacing:.2em}
.ce__fold{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:4px;background:transparent;color:#fff;cursor:pointer}
.ce__fold svg{transition:transform .3s var(--ease)}
.ce__fold[aria-expanded="false"] svg{transform:rotate(180deg)}
.ce__fold:hover,.ce__fold:focus-visible{background:rgba(255,255,255,.18);outline:0}
.ce__fold-body{padding-bottom:30px}
.ce__cols,.ce__row{display:grid;grid-template-columns:18px minmax(0,1fr) 85px 85px 85px 63px;column-gap:10px;padding-left:4px}
.ce__cols{padding-top:20px;padding-bottom:20px;background:var(--cream);border-bottom:1px dashed var(--dots);font:700 14px/1 var(--mono);color:var(--ink)}
.ce__cols span{text-align:center}
.ce__cols span:first-child{grid-column:2;text-align:left}
.ce__cols--recharge span:first-child{grid-column:2 / 4}
.ce__row{position:relative;align-items:center;row-gap:10px;padding-top:16px;padding-bottom:16px;border-bottom:1px dashed var(--dots);background:#fff}
.ce__row.is-dragging{z-index:5;box-shadow:0 10px 30px rgba(var(--ink-rgb),.14)}
.ce__grip{display:grid;place-items:center;width:18px;height:30px;padding:0;border:0;border-radius:4px;background:transparent;color:#B9B2B0;cursor:grab;touch-action:none}
.ce__grip:hover,.ce__grip:focus-visible{color:var(--ink);background:var(--pink-soft);outline:0}
.ce__row.is-dragging .ce__grip{cursor:grabbing}
.ce__input,.ce__num{width:100%;min-width:0;height:43px;border:1px solid var(--line);border-radius:5px;background:#fff;font:inherit;font-size:16px;color:var(--ink)}
.ce__input{padding:0 15px;font-size:15px;font-weight:500}
.ce__input::placeholder{font-weight:400;color:var(--hint)}
.ce__num{padding:0 4px;text-align:center;color:var(--ink)}
.ce__num::placeholder{color:var(--hint)}
.ce__input:focus,.ce__num:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(232,166,177,.45)}
.ce__num[aria-invalid="true"]{border-color:#C9A13A;box-shadow:0 0 0 2px rgba(201,161,58,.3)}
.ce__input:disabled,.ce__num:disabled{background:#fff;color:var(--ink);opacity:1}
.ce__row--recharge .ce__name{grid-column:2 / 4}
/* How often a retainer line happens, under the line's "i" above its description: every month, or a number of times over the campaign. */
.ce__often{display:flex;align-items:center;gap:10px;margin:0;font-size:13px;line-height:1.35;color:var(--text-muted)}
.ce__oftenhead{flex:none;font-weight:600;color:var(--ink)}
.ce__often .ce__num{flex:none;width:56px;height:34px;font-size:15px}
.ce__often b{color:var(--ink)}
/* How the client pays for a subscription, under its name and cost: once on its date, or monthly (improvement note 206). */
.ce__pay{grid-column:2 / 6;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-width:0;margin:0}
.ce__payhead{flex:none;font-size:13px;font-weight:600;color:var(--ink)}
.ce__select--pay{flex:none;width:auto;min-width:170px;height:34px;font-size:15px}
/* A subscription item's category and own date (go-live for hosting, purchase for a domain), above its payment. */
.ce__kind{grid-column:2 / 6;display:flex;flex-wrap:wrap;gap:8px 24px;min-width:0}
.ce__kind .ce__pay{flex:0 1 auto}
.ce__kind .ce__pay:last-child{flex:1 1 320px}
.ce__date{flex:none;width:auto;height:34px;font-size:15px;text-align:left}
.ce__select--pay[aria-invalid="true"]{border-color:#C9A13A;box-shadow:0 0 0 2px rgba(201,161,58,.3)}
.ap__subitems{margin-top:18px}
.ap__subitems .micro{margin:10px 0 0}
.ce__paynote{flex:1 1 220px;font-size:13px;line-height:1.35;color:var(--text-muted)}
.ce__lines div[hidden]{display:none}
.ce__fee{display:flex;align-items:center;justify-content:center;height:43px;padding:0 6px;border:1px solid var(--line);border-radius:5px;background:var(--cream);font-size:16px;white-space:nowrap}
.ce__fee b{font-weight:400;font-variant-numeric:tabular-nums}
/* What a recharge item charges, typed into directly. It looks like the fee box, and is tinted while this item has its own figure. */
.ce__total{background:var(--cream)}
.ce__total.is-own,.ce__fee.is-own{background:var(--pink-soft);border-color:var(--pink)}
/* George's "i", inside the line's name on the right: it opens the description and how the fee is made up. Pink once
   the line has a description, so a closed line still says there's something under it. */
.ce__name{position:relative;grid-column:2;min-width:0}
.ce__name .ce__input{padding-right:46px}
.ce__info{position:absolute;top:50%;right:10px;display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--hint);cursor:pointer;transform:translateY(-50%);transition:color .2s,background-color .2s}
.ce__info svg{width:20px;height:20px}
.ce__info:hover,.ce__info:focus-visible{background:var(--pink-soft);color:var(--ink);outline:0}
.ce__info.has-text{color:var(--pink-deep)}
.ce__info[aria-expanded="true"]{background:var(--pink-soft);color:var(--ink)}
.ce__row:not(.is-open) .ce__extra{display:none}
.ce__row.is-open .ce__extra{animation:ce-open .35s cubic-bezier(.22,1,.36,1)}
/* Open: the description, and beside it how the fee is made up. */
.ce__extra{grid-column:2 / 6;display:grid;grid-template-columns:minmax(0,1fr) 145px;gap:20px;align-items:start;min-width:0}
@keyframes ce-open{from{opacity:0;transform:translateY(-6px)}}
/* The bin sits in a grey strip down the line's right edge, however tall the line is. */
.ce__bincell{position:absolute;top:0;right:0;bottom:0;display:grid;place-items:stretch;width:33px;background:#F6F6F6}
.ce__bin{display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;color:var(--soft-pink);cursor:pointer;transition:background-color .2s ease-in-out,color .2s ease-in-out}
.ce__bin svg{width:15px;height:15px}
.ce__bin.is-armed{color:var(--pink-deep);background:#DADADA;position:relative}
.ce__bin.is-armed::before{content:'✓';position:absolute;top:2px;left:0;right:0;font-size:14px;line-height:16px;text-align:center}
.ce__bin.is-armed svg{transform:translateY(8px)}
.ce__bin:hover,.ce__bin:focus-visible{background:#DADADA;color:var(--pink-deep);outline:0}
.ce__under{display:grid;gap:10px;min-width:0}
.ce__under:empty{display:none}
.ce__text{display:block;width:100%;min-height:79px;padding:15px;border:1px solid var(--line);border-radius:5px;background:#fff;resize:vertical;font:inherit;font-size:15px;line-height:1.5;color:var(--ink)}
.ce__text::placeholder{color:var(--hint)}
.ce__text:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(232,166,177,.45)}
.ce__text--note{background:#FFFBEF}
.ce__desc{margin:0;font-size:15px;line-height:1.6;color:var(--text-muted)}
.ce__desc--note b{color:var(--ink)}
.ce__split{display:grid;margin:0;padding:0;font-size:14px;line-height:28px}
.ce__split div{display:flex;justify-content:space-between;gap:8px}
.ce__split dt{font:700 14px/28px var(--mono);color:var(--spring-sage)}
.ce__split dd{margin:0;font-weight:700;color:#000;font-variant-numeric:tabular-nums}
.ce__none{margin:0;padding:18px 24px;color:var(--text-muted);font-size:14px}
.ce__add{margin:30px 0 0 30px;padding:20px;border:0;border-radius:5px;background:var(--spring-sage);color:var(--cream);font:700 16px/1 var(--mono);cursor:pointer;transition:background-color .3s ease-in-out}
/* "+ Add Fee" with a small "+ Heading" beside it. */
.ce__adds{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:30px 0 0 30px}
.ce__adds .ce__add{margin:0}
.ce__addbreaker{padding:6px 10px;border:0;border-radius:5px;background:transparent;font:700 12px/1 var(--mono);color:var(--text-sage);cursor:pointer;transition:background-color .2s ease-in-out,color .2s ease-in-out}
.ce__addbreaker:hover,.ce__addbreaker:focus-visible{background:var(--pink);color:var(--ink);outline:0}
/* A breaker between fee lines: a 30px strip in Spring cream, its name in small navy capitals. Its name is set in a
   pop-up (.ce__dialog). */
.ce__row--breaker{min-height:30px;padding-top:0;padding-bottom:0;background:var(--spring-cream);border-bottom-color:var(--spring-cream);color:var(--ink)}
.ce__breakername{grid-column:2 / 6;justify-self:start;max-width:100%;overflow:hidden;padding:0;border:0;background:none;font:700 13px/30px var(--mono);letter-spacing:.06em;text-transform:uppercase;text-align:left;white-space:nowrap;text-overflow:ellipsis;color:inherit}
button.ce__breakername{cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:text-decoration-color .2s ease-in-out}
button.ce__breakername:hover,button.ce__breakername:focus-visible{text-decoration-color:currentColor;outline:0}
.ce__row--breaker .ce__grip{height:24px;color:inherit;opacity:.6}
.ce__row--breaker .ce__grip:hover,.ce__row--breaker .ce__grip:focus-visible{opacity:1;background:rgba(var(--ink-rgb),.08)}
.ce__row--breaker .ce__bincell{background:transparent}
.ce__row--breaker .ce__bin{color:var(--soft-pink)}
.ce__row--breaker .ce__bin:hover,.ce__row--breaker .ce__bin:focus-visible{background:rgba(var(--ink-rgb),.08);color:var(--pink-deep)}
/* The pop-up for naming a breaker and picking its colour. */
.ce__dialog{width:min(440px,calc(100vw - 32px));padding:0;border:1px solid var(--line,#DBDBDB);border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 30px 80px rgba(var(--ink-rgb),.25)}
.ce__dialog::backdrop{background:rgba(var(--ink-rgb),.35)}
.ce__dialog[open]{animation:rv-rise .4s var(--ease)}
.ce__dform{display:grid;gap:20px;padding:28px 30px 30px}
.ce__dform h2{margin:0;font-size:28px;line-height:1;letter-spacing:.1em;color:var(--spring-blue)}
.ce__dfield{display:grid;gap:8px;font:700 14px/1 var(--mono)}
.ce__dfield .ce__input{font:700 15px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase}
.ce__dfield .ce__input::placeholder{text-transform:none;letter-spacing:0;font-weight:400}
.ce__dpreview{display:flex;align-items:center;padding:0 12px;border-radius:4px}
.ce__dactions{display:flex;justify-content:flex-end;gap:10px}
.ce__add:hover,.ce__add:focus-visible{background:var(--pink);outline:0}
.ce__error{margin:14px 0 0;padding:10px 14px;border-radius:6px;background:var(--warn-ground);color:var(--text-warn);font-size:14px}
.ce__jobnotes{display:grid;gap:8px;margin-top:28px;font:700 14px var(--mono);color:var(--ink)}
.ce__jobnotes .ce__text{font:400 15px/1.5 var(--body)}
.ce__jobnotes p{margin:0;font:400 14px/1.6 var(--body);color:var(--ink);white-space:pre-line}
.ce__qb{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:12px}
.ce__qb .micro{margin:0}
.ce .costing__undo{margin:14px 0 0}

/* The summary cards. */
.ce__side{position:sticky;top:20px;display:grid;gap:30px;min-width:0}
.ce__sum{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.ce__sumhead{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:56px;padding:0 24px 0 30px;border:0;color:#fff;cursor:pointer;text-align:left}
.ce__sum--oneOff .ce__sumhead{background:var(--spring-sage)}
.ce__sum--recurring .ce__sumhead{background:var(--pink)}
.ce__sumhead h2{margin:0;font:400 20px/1 var(--display);letter-spacing:.2em;color:var(--cream)}
.ce__sumhead svg{transition:transform .3s var(--ease)}
.ce__sumhead[aria-expanded="false"] svg{transform:rotate(180deg)}
.ce__sumhead:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
/* The retainer card's monthly view: Total / Monthly buttons above the lines. Radios, so it needs no script and
   works on the locked pages too. */
.ce__seg{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 30px 0}
.ce__seg label{display:block;cursor:pointer}
.ce__seg span{display:block;padding:10px 12px 9px;border:1px solid var(--line);border-radius:8px;background:#fff;text-align:center;font-size:12px;font-weight:500;line-height:1;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);transition:background .25s var(--ease),border-color .25s var(--ease)}
.ce__seg label:hover span{background:#f4f4f4}
.ce__seg input:checked + span,.ce__seg label:hover input:checked + span{background:#dadada;border-color:#dadada}
.ce__seg label:has(input:focus-visible) span{outline:2px solid var(--ink);outline-offset:2px}
.ce__seg + .ce__lines{padding-top:20px}
.ce__lines em{font-style:normal}
.ce__sum [data-month]{display:none}
.ce__sum:has(.ce__seg input[value=month]:checked) [data-month]{display:revert}
.ce__sum:has(.ce__seg input[value=month]:checked) [data-total]{display:none}
.ce__sum:has(.ce__seg input[value=month]:checked) .ce__lines dd [data-month]{display:inline}
@media (prefers-reduced-motion:reduce){.ce__seg span{transition:none}}
.ce__lines{display:grid;gap:11px;margin:0;padding:30px}
.ce__lines div{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:0 0 10px;border-bottom:1px solid var(--line);font-size:14px}
.ce__lines dt{color:var(--ink)}
.ce__lines dd{margin:0;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}
.ce__navy{display:grid;gap:10px;padding:30px;background:var(--side);color:#fff}
.ce__big{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding:20px;border:1px solid var(--pink);border-radius:10px}
.ce__big b{font-size:30px;font-weight:700;line-height:1.1;color:var(--cream);font-variant-numeric:tabular-nums}
.ce__big span{font-size:14px;color:var(--pink)}
.ce__big--inc b{font-size:20px;font-weight:700;color:var(--pink)}
.ce__allow{margin:20px 0 0;padding-bottom:10px;border-bottom:1px solid var(--spring-sage);font-size:14px;color:#fff}
.ce__allow + .ce__time{margin-top:3px}
.ce__time{display:flex;justify-content:space-between;gap:12px}
.ce__time span{display:flex;align-items:center;gap:8px}
.ce__time svg{width:20px;height:20px;color:var(--pink)}
.ce__time b{white-space:nowrap;font-size:24px;font-weight:700;color:var(--cream);font-variant-numeric:tabular-nums}
/* An agreed total (Kate, 3 November): a pink-edged note under the totals while one is in force, and the box to type one. */
.ce__agreed{display:grid;gap:8px;padding:14px 16px;border-left:3px solid var(--pink);border-radius:0 8px 8px 0;background:rgba(232,166,177,.12)}
.ce__agreed[hidden],.ce__agreedform[hidden],.ce__agreedbtn[hidden]{display:none}
.ce__agreedtag{justify-self:start;margin:0;padding:4px 8px 3px;border-radius:var(--radius-tag,4px);background:var(--pink);color:var(--ink);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.ce__agreedtext{margin:0;font-size:13px;line-height:1.5;color:#fff}
.ce__agreedtext b{color:var(--cream);font-variant-numeric:tabular-nums}
.ce__agreedbtn{justify-self:start;padding:2px 0;border:0;background:none;color:var(--pink);font:500 13px/1.3 var(--body);text-decoration:underline;text-underline-offset:3px;cursor:pointer;transition:color .2s var(--ease)}
.ce__agreedbtn:hover,.ce__agreedbtn:focus-visible{color:var(--cream)}
.ce__agreedbtn:focus-visible{outline:2px solid var(--pink);outline-offset:2px;border-radius:2px}
.ce__agreedform{display:grid;gap:8px;margin:0;padding:14px 16px;border:1px solid var(--spring-sage);border-radius:8px}
.ce__agreedform label{display:grid;gap:6px;font-size:13px;color:#fff}
.ce__agreedinput{width:100%;padding:8px 10px;border:1px solid var(--pink);border-radius:6px;background:#fff;color:var(--ink);font:700 18px/1.2 var(--body);font-variant-numeric:tabular-nums}
.ce__agreedinput:focus{outline:2px solid var(--pink);outline-offset:1px}
.ce__agreedinput[aria-invalid="true"]{border-color:#e5484d}
.ce__agreedhelp{margin:0;font-size:12px;line-height:1.4;color:rgba(255,255,255,.75)}
.ce__agreederror{margin:0;padding:8px 10px;border-radius:6px;background:#fff;color:#b42318;font-size:13px;line-height:1.4}
.ce__agreedactions{display:flex;gap:8px}
/* The side column's actions, in the new button rule: 10px corners, Faricy (meeting, 20 October). Mark as sent to client
   leads in pink, Approved by client is outlined, and the client slide is a text link. Saving is automatic, so there is no Save button. */
.ce{--ce-action-h:60px}
.ce__action{display:flex;align-items:center;gap:12px;width:100%;min-height:var(--ce-action-h);padding:0 20px;border:0;border-radius:10px;background:var(--spring-sage);color:var(--cream);font:600 16px/1 var(--body);text-align:left;cursor:pointer;transition:background-color .2s var(--ease),filter .18s var(--ease)}
.ce__action:hover,.ce__action:focus-visible{filter:brightness(.94);outline:2px solid var(--ink);outline-offset:2px}
.ce__action svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ce__action--send{background:var(--pink);color:var(--ink)}
.ce__action--approve{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.ce__action--approve:hover,.ce__action--approve:focus-visible{filter:none;background:var(--bg-sunk)}
.ce__textaction{justify-self:start;display:inline-flex;align-items:center;gap:8px;margin-top:-10px;padding:4px 0;border:0;background:none;color:var(--ink);font:500 15px/1.2 var(--body);text-decoration:underline;text-decoration-color:var(--pink);text-decoration-thickness:2px;text-underline-offset:5px;cursor:pointer;transition:color .2s var(--ease)}
.ce__textaction:hover,.ce__textaction:focus-visible{color:var(--pink-deep)}
.ce__textaction:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:2px}
.ce__textaction svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ce__textaction:disabled{opacity:.6;cursor:progress}
.ce__unsend{justify-self:start;margin-top:-10px}
.ce__unsend .ce__textaction{margin-top:0}
.ce__projectname{width:100%;padding:0 0 4px;border:0;border-bottom:1px dashed var(--border);border-radius:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit}
.ce__projectname:focus{outline:0;border-bottom-color:var(--pink)}
.ce__action:disabled{opacity:.6;cursor:progress}
.ce__side form{margin:0}
.ce__quiet{display:block;margin:-8px auto 0;padding:4px 8px;border:0;background:transparent;color:var(--text-muted);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}
.ce__quiet:hover{color:var(--ink)}

/* Read-only, inside a live project's Costing section. */
.ce--locked h1,.ce--locked .ce__top{display:none}
.ce--locked .ce__grid{grid-template-columns:minmax(0,1fr) 330px;gap:30px}
.ce--locked .ce__side{position:static}
.ce--locked .ce__cols{grid-template-columns:18px minmax(0,1fr) 85px 85px 85px 0}
.ce--locked .ce__row{grid-template-columns:18px minmax(0,1fr) 85px 85px 85px 0}
.ce--locked .ce__bincell{display:none}

@media (max-width:1180px){
  .ce__grid,.ce--locked .ce__grid{grid-template-columns:minmax(0,1fr)}
  .ce__side{position:static;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));align-items:start}
  .ce__side > form,.ce__side > .ce__action,.ce__side > .ce__textaction,.ce__side > .ce__fields{grid-column:1 / -1}
  /* A costing with one summary (one off or recurring only) gives it the full width, not half of it beside an empty space. */
  .ce__side:not(:has(.ce__sum ~ .ce__sum)) .ce__sum{grid-column:1 / -1}
}
@media (max-width:700px){
  .ce h1{font-size:44px}
  .ce__top{flex-direction:column;align-items:flex-start;gap:12px}
  .ce__corner{justify-content:flex-start;flex-wrap:wrap}
  .ce__stamp{text-align:left}
  .ce__chance-menu{right:auto;left:0}
  .ce__tab{padding:12px 16px 10px;font-size:20px}
  .ce__rates{padding:18px 16px}
  .ce__cols{display:none}
  .ce__row{grid-template-columns:18px repeat(3,minmax(0,1fr)) 44px;padding-left:8px}
  .ce__row .ce__name{grid-column:2 / 5}
  .ce__row [data-field="days"]{grid-column:2;grid-row:2}
  .ce__row [data-field="hours"]{grid-column:3;grid-row:2}
  .ce__row .ce__fee,.ce__row .ce__total{grid-column:4;grid-row:2}
  .ce__row--recharge [data-field="cost"]{grid-column:2 / 4;grid-row:2}
  .ce__extra{grid-column:2 / 5;grid-template-columns:minmax(0,1fr)}
  .ce__tip::after{right:0;width:auto}
}

/* The stage pages: Live, Approved, Completed and Saved (views/jobs.mjs). A big round search along the top,
   then projects grouped by client (folding away under each name) as one line each, or on Live, as cards. */
.project-stage{container:project-stage / inline-size}
.lhead h1{font-size:60px;line-height:1;letter-spacing:.1em}
.lhead{margin-bottom:50px}
.lhead .head__main{gap:50px}
.lhead .actions{min-width:0;max-width:100%}
.lhead .micro{font-size:16px;line-height:1.75;color:var(--ink)}
.lsearch{display:grid;gap:12px;margin:0 0 50px}
.lsearch[hidden]{display:none}
.lsearch__box{display:flex;align-items:center;gap:12px;height:56px;padding:0 24px;border:1px solid var(--border);border-radius:var(--radius-search);background:#fff;color:var(--text-muted);cursor:text;transition:border-color .3s ease-in-out,box-shadow .3s ease-in-out}
.lsearch__box:hover{border-color:#CFC6C4}
.lsearch__box:focus-within{border-color:var(--ink);box-shadow:0 0 0 4px rgba(var(--ink-rgb),.05)}
.lsearch__box input{flex:1;min-width:0;padding:0;border:0;outline:0;background:transparent;font:inherit;font-size:16px;color:var(--ink)}
.lsearch__box input::placeholder{color:var(--text-muted)}
.lsearch__more{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.lsearch__more select.input{width:auto;min-height:44px;padding-top:8px;padding-bottom:8px;font-size:16px}
.lsearch__more .btn{min-height:44px;display:inline-flex;align-items:center;font-size:16px}
.lsearch__advanced{position:relative}
.lsearch__advanced summary{list-style:none;cursor:pointer}
.lsearch__advanced summary::-webkit-details-marker{display:none}
.lsearch__advanced[open] summary{background:var(--pink-soft)}
.lsearch__advanced .field{position:absolute;z-index:5;top:calc(100% + 8px);left:0;min-width:220px;padding:16px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 4px 16px rgba(var(--ink-rgb),.08)}
.lsearch__advanced select.input{width:100%}
.project-progress{display:flex;flex-wrap:wrap;gap:12px 24px;list-style:none;padding:0;margin:0 0 28px;color:var(--text-muted);font-size:14px}
.project-progress li{display:flex;align-items:center;gap:8px}
.project-progress li > span{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--border);border-radius:50%;font-size:13px}
.project-progress .is-reached{color:var(--ink)}
.project-progress .is-reached > span{background:var(--pink-soft);border-color:var(--pink-soft)}
.project-progress [aria-current="step"] > span{background:var(--ink);border-color:var(--ink);color:#fff}
.project-progress small{font-weight:400}
.project-stage-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:28px}
.project-stage-head .project-progress{flex:1;margin-bottom:0}
@media(max-width:600px){.project-progress{gap:10px 16px;font-size:13px}.project-progress li > span{width:24px;height:24px}}
.pgroup{margin-bottom:50px}
.pgroup[hidden]{display:none}
.pgroup__head{display:flex;align-items:center;gap:16px;padding:0 2px 20px;border-bottom:1px solid #DBDBDB;cursor:pointer;list-style:none}
.pgroup__head::-webkit-details-marker{display:none}
/* Type from George's Approved frame (39:1530): group name Medium 21px, count 14px sage, row copy 14px ink, amount and action Medium. */
.pgroup__name{flex:1;min-width:0;font-size:21px;font-weight:500;color:var(--ink)}
.pgroup__count{font-size:14px;color:var(--spring-sage)}
.pgroup__chev{flex:none;color:var(--ink);transition:transform .3s var(--ease)}
.pgroup:not([open]) .pgroup__chev{transform:rotate(-90deg)}
.pgroup__head:hover .pgroup__chev{color:var(--pink-deep)}
.prows{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:10px}
.prow{position:relative;display:grid;grid-template-columns:100px minmax(0,2fr) 92px minmax(0,1fr) 86px 104px;gap:16px;align-items:center;margin:0 -10px;padding:0 10px;border-radius:8px;font-size:16px;transition:background-color .3s ease-in-out}
.prows--saved .prow,.prows--declined .prow{grid-template-columns:100px minmax(0,2fr) 92px minmax(0,1fr) 86px}
.prows--saved .prow--name-first,.prows--declined .prow--name-first{grid-template-columns:minmax(180px,1.6fr) 100px 100px minmax(0,1.2fr) 92px minmax(0,1fr) 86px}/* name, stage, chance and the extra tags each keep their own column */
.prow__tags{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-width:0}
.prows--saved .prow--name-first .prow__what,.prows--declined .prow--name-first .prow__what{margin-left:0}
/* A declined project's name is crossed out with a red line, drawn by hand: wobbly, a touch uphill, rounded at the ends. */
.prow__struck{position:relative;display:inline-block;max-width:100%}
.prow__struck::before{content:"";position:absolute;left:-4px;right:-6px;top:50%;height:12px;margin-top:-6px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C22 6 38 9.5 62 7.2S104 4.6 128 6.4 176 4.2 198 3.6' fill='none' stroke='%23DF2F4A' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
.prows--saved .prow__end,.prows--declined .prow__end{display:none}
.prows--approved .prow{grid-template-columns:minmax(0,2fr) 92px minmax(0,1fr) 86px 100px 170px 104px}
.prows--approved .prow__what{margin-left:0}
.prow[hidden]{display:none}
.prow:hover,.prow:focus-within{background:var(--pink-soft)}
.prow__what{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-width:0;margin-left:34px}/* 50px from the marker to the name, as in the frame */
/* The name opens the project, and its click area is the whole row; the person and Start project sit above it. */
.prow__name{color:var(--ink);font-weight:500;text-decoration:none}
.prow__name::after{content:"";position:absolute;inset:0;border-radius:inherit}
.prow__name:focus-visible{outline:0}
.prow:has(.prow__name:focus-visible){outline:2px solid var(--ink);outline-offset:1px}
.prow :is(.person-link,.prow__act,.saved__tag,.pscope){position:relative;z-index:1}
.prow__date,.prow__who{font-size:14px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prow__who .person-link{color:inherit}
.prow__amount{text-align:right;font-size:14px;font-weight:500}
.prow__end{text-align:right;white-space:nowrap}
.prow__act{color:var(--spring-sage);font-size:14px;font-weight:500;text-decoration:underline;text-decoration-color:var(--pink);text-decoration-thickness:2px;text-underline-offset:4px;transition:color .3s ease-in-out}
.prow__act:hover,.prow__act:focus-visible{color:var(--pink-deep)}
.prow .saved__tag{padding:1px 8px;font-size:12px}
.ppill{justify-self:start;display:inline-flex;justify-content:center;align-items:center;min-width:100px;height:30px;padding:0 10px;border-radius:var(--radius-label);font-size:14px;line-height:1;font-weight:400;white-space:nowrap;color:#FFF9F4}
.ppill--costing{background:var(--stage-costing);color:var(--on-stage-costing)}
.ppill--sent{background:var(--stage-sent);color:var(--on-tag)}
.ppill--approved{background:var(--stage-approved);color:var(--on-tag)}
.ppill--live{background:var(--stage-live);color:var(--on-tag)}
.ppill--completed{background:var(--stage-completed);color:var(--on-tag)}
.ppill--declined{background:var(--stage-declined);color:var(--on-tag)}
.ppill--possible{background:var(--chance-possible);color:var(--on-tag)}
.ppill--likely{background:var(--chance-likely);color:var(--on-tag)}
.ppill--definite{background:var(--chance-definite);color:var(--on-tag)}
.declined{margin-bottom:24px}
.declined__facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px 24px;margin:18px 0 0}
.declined__facts div{border-top:1px solid var(--border-soft);padding-top:10px}
.declined__facts dt{font-size:13px;color:var(--text-faint)}
.declined__facts dd{margin:4px 0 0;font-weight:700}
/* An approved project's scope, as a dropdown that looks like the pills beside it. */
.pscope{--chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");appearance:none;-webkit-appearance:none;width:100%;max-width:170px;height:30px;padding:0 30px 0 12px;border:0;border-radius:var(--radius-tag);background:#E8CF94 var(--chev) right 10px center/12px no-repeat;color:#4A3A0E;font:inherit;font-size:14px;line-height:1;cursor:pointer;text-overflow:ellipsis;transition:filter .3s ease-in-out}
.pscope:hover{filter:brightness(.96)}
.pscope:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.pscope:disabled{opacity:.6;cursor:progress}
.pscope--client{--chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5' fill='none' stroke='%23FFF9F4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-color:var(--spring-sage);color:#FFF9F4}
.pscope--signed{background-color:var(--good-ground);color:var(--text-good)}
.pscope option{background:#fff;color:var(--ink)}
.pick--sure{width:min(400px,calc(100vw - 32px))}
.pick--sure .pick__note{margin:0;padding:8px 24px 20px;font-size:16px}
@media (max-width:760px){
  .lhead h1{font-size:44px}
  .prow,.prows--saved .prow,.prows--declined .prow{display:flex;flex-wrap:wrap;gap:6px 12px;margin:0;padding:12px 4px;border-bottom:1px solid var(--border-soft);border-radius:0}
  .prow__what{order:-1;flex:1 1 100%;margin-left:0}
  .prow__amount{margin-left:auto}
  .prow__end{flex:1 1 100%;text-align:left}
  .prow__tags:empty,.prow__chance:empty{display:none}
  .prows--saved .prow__end,.prows--declined .prow__end{display:none}
}
@container project-stage (max-width:820px){
  .prow,.prows--saved .prow,.prows--declined .prow{display:flex;flex-wrap:wrap;gap:6px 12px;margin:0;padding:12px 4px;border-bottom:1px solid var(--border-soft);border-radius:0}
  .prow__what{order:-1;flex:1 1 100%;margin-left:0}
  .prow__amount{margin-left:auto}
  .prow__end{flex:1 1 100%;text-align:left}
  .prow__tags:empty,.prow__chance:empty{display:none}
  .prows--saved .prow__end,.prows--declined .prow__end{display:none}
}
@container project-stage (max-width:760px){.lhead h1{font-size:44px}.seg--stages a{padding:8px 12px}}
.lcards__note{margin:-16px 0 18px}
.lcards{list-style:none;margin:0 0 32px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:50px}
.phistory__intro{margin:-6px 0 22px}
.phistory__year{display:flex;align-items:baseline;gap:10px;margin:0 0 18px;font-size:22px}
.phistory[hidden]{display:none}
.lcard{position:relative;display:flex;flex-direction:column;gap:9px;padding:30px;background:#fff;border:1px solid var(--border);border-radius:10px;transition:border-color .3s ease-in-out,box-shadow .3s ease-in-out}
.lcard[hidden]{display:none}
.lcard:hover,.lcard:focus-within{border-color:#CFC6C4;box-shadow:0 12px 30px rgba(var(--ink-rgb),.08)}
.lcard__top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.lcard__client{font:400 14px/1.1 var(--display);letter-spacing:.12em;text-transform:uppercase;color:var(--pink-deep)}
.lcard__titlebar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;margin-bottom:4px;border-bottom:1px solid var(--border-soft)}
.lcard__live{flex:none;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:var(--radius-label);background:var(--stage-live);color:#FFF9F4;font:700 12px/1 var(--body)}
.lcard__live i{width:7px;height:7px;border-radius:50%;background:#FFF9F4}
.lcard__live--done{background:var(--stage-completed)}
.lcard__timeline{flex:none;font-size:14px;font-weight:600;color:var(--text-muted);white-space:nowrap}
.lcard__timeline.is-late{color:var(--pink-deep)}
.lcard__name{min-width:0;color:var(--ink);font-size:18px;font-weight:600;line-height:1.3;text-decoration:none}
.lcard__name::after{content:"";position:absolute;inset:0;border-radius:inherit}
.lcard__name:focus-visible{outline:0}
.lcard__deadline{font-size:14px;color:var(--text-muted)}
.lcard__deadline time{color:var(--ink);font-weight:600}
.lcard__deadline.is-late time{color:#C8362D}
.lcard:has(.lcard__name:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.lcard__used{position:relative;display:flex;justify-content:center;margin-top:6px}
.import-time{display:inline-block;max-width:100%;box-sizing:border-box;padding:4px 8px;border-radius:2px;background:var(--ink);color:#fff;font:700 12px/1.25 var(--body);text-align:center}
.lcard__used > .import-time{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;max-width:300px;padding:8px 5px;font-size:clamp(12px,1.3vw,16px);pointer-events:none}
.lcard__donut{width:100%;max-width:300px;height:auto;flex:none}
.lcard__ring,.lcard__arc{fill:none;stroke-width:6}
.lcard__ring{stroke:var(--track)}
.lcard__arc{stroke:var(--spring-sage)}
.lcard__donut.is-over .lcard__arc{stroke:#C8362D}
.lcard__pct,.lcard__label,.lcard__hours{fill:var(--ink);text-anchor:middle;dominant-baseline:central}
.lcard__pct{font:700 17px var(--body);letter-spacing:-.3px}
.lcard__label{font:400 6px var(--body)}
.lcard__hours{font:700 7px var(--body)}
.lcard__who{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:14px;font-size:16px;line-height:1.3}
.lcard__who .person-link{position:relative;z-index:1;color:var(--ink);font-weight:600}
.lcard__title{display:block;font:700 12px/1.4 var(--mono);color:var(--pink-deep)}
.lcard__go{display:block;margin-top:6px;padding:10px;border-radius:var(--radius-button);background:var(--spring-sage);color:#fff;font:700 16px var(--body);text-align:center;transition:background-color .3s ease-in-out,color .3s ease-in-out}
.lcard:hover .lcard__go,.lcard:focus-within .lcard__go{background:var(--pink);color:var(--ink)}


.lcards__views{justify-self:start}
.lcards__views button{position:relative;z-index:1;border:0;border-radius:6px;background:transparent;color:var(--text-muted);font:inherit;font-size:15px;padding:8px 16px;cursor:pointer}
.lcards__views button[aria-pressed="true"]{background:var(--pink-soft);color:var(--ink);font-weight:600}
.lcards__views.has-slider button[aria-pressed="true"]{background:transparent}
.lcards__views button.is-lit{color:var(--ink)}
.lcards__views button:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.lcard__list-hours{display:none}
.lcards.is-list{grid-template-columns:minmax(0,1fr);gap:10px}
.lcards.is-list .lcard:not([hidden]){
  display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.25fr) minmax(0,1.1fr) minmax(0,1.45fr) auto;
  grid-template-areas:"client deadline used who status" "name timeline used who status";
  align-items:center;gap:5px 20px;padding:16px 20px;overflow-wrap:anywhere;
}
.lcards.is-list :is(.lcard__top,.lcard__titlebar){display:contents}
.lcards.is-list .lcard__client{grid-area:client}
.lcards.is-list .lcard__name{grid-area:name}
.lcards.is-list .lcard__live{grid-area:status;justify-self:start}
.lcards.is-list .lcard__deadline{grid-area:deadline}
.lcards.is-list .lcard__timeline{grid-area:timeline;white-space:normal}
.lcards.is-list .lcard__used{grid-area:used;flex-direction:column;align-items:flex-start;gap:5px;justify-content:flex-start;margin:0}
.lcards.is-list .lcard__used > .import-time{position:static;transform:none;width:auto;padding:3px 6px;font-size:11px}
.lcards.is-list :is(.lcard__donut,.lcard__go){display:none}
.lcards.is-list .lcard__list-hours{display:grid;font-size:15px;line-height:1.35}
.lcard__list-hours small{font-size:13px;color:var(--text-muted)}
.lcard__list-hours.is-over strong{color:var(--text-warn)}
.lcards.is-list .lcard__who{grid-area:who;margin:0;padding:0;font-size:15px}
@container project-stage (max-width:760px){
  .lcards.is-list .lcard:not([hidden]){
    grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;
    grid-template-areas:"client status" "name name" "deadline used" "timeline used" "who who";
  }
  .lcards.is-list .lcard__who{margin-top:5px}
}

/* Saved and Approved as rows in the style of Live's list view (jobs.mjs stageRow): client over name, a date over its note,
   the amount, who has it, and the stage with anything you can change on the right. */
.lcards.lcards--rows .lcard:not([hidden]){
  grid-template-columns:minmax(0,2fr) minmax(0,1.35fr) minmax(0,1fr) minmax(0,1.35fr) minmax(0,auto);
  grid-template-areas:"client deadline amount who status" "name note amount who status";
}
.lcards--rows .lcard__client{grid-area:client;display:flex;align-items:center;gap:8px}
.lcards--rows .lrow__note{grid-area:note;display:flex;flex-wrap:wrap;gap:4px 8px;min-width:0;font-size:14px;color:var(--text-muted)}
.lcards--rows .lrow__note .saved__tag{padding:1px 8px;font-size:12px}
.lcards--rows .lrow__amount{grid-area:amount;display:grid;font-size:15px;line-height:1.35}
.lcards--rows .lrow__amount small{font-size:13px;color:var(--text-muted)}
.lcards--rows .lrow__status{grid-area:status;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;max-width:360px}
.lcards--rows .lrow__status .ppill{min-width:0;height:28px;font-size:13px}
.lcards--rows .lrow__status .pscope{width:170px;height:28px;font-size:13px}
.lcards--rows .lrow__status .prow__act{flex-basis:100%;text-align:right}
.lcards--rows :is(.saved__tag,.pscope,.prow__act,.person-link){position:relative;z-index:1}
@container project-stage (max-width:760px){
  .lcards.lcards--rows .lcard:not([hidden]){
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"client amount" "name amount" "deadline deadline" "note note" "who who" "status status";
  }
  .lcards--rows .lrow__note:empty{display:none}
  .lcards--rows .lrow__amount{text-align:right}
  .lcards--rows .lrow__status{justify-content:flex-start;max-width:none}
  .lcards--rows .lrow__status .prow__act{text-align:left}
}

/* Settings as a window over the page you are on (settings-window.js). The window holds the Settings page in a frame. */
.swin{padding:0;border:0;border-radius:18px;width:min(1120px,calc(100vw - 48px));height:min(780px,calc(100vh - 48px));max-width:none;max-height:none;background:#1B1F2E;color:#EEEBF2;overflow:hidden;box-shadow:0 30px 80px rgba(var(--ink-rgb),.35)}
.swin[open]{animation:swin-in .22s cubic-bezier(.2,.8,.2,1)}
.swin::backdrop{background:rgba(var(--ink-rgb),.45);backdrop-filter:blur(2px)}
.swin[open]::backdrop{animation:swin-fade .22s ease}
.swin__frame{display:block;width:100%;height:100%;border:0;background:#1B1F2E;color-scheme:dark}
.swin__close{position:absolute;top:16px;right:16px;z-index:2;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:var(--radius-button);background:transparent;color:rgba(238,235,242,.62);cursor:pointer}
.swin__close:hover,.swin__close:focus-visible{background:rgba(255,255,255,.1);color:#fff;outline:0}
@keyframes swin-in{from{opacity:0;transform:translateY(8px) scale(.985)}}
@keyframes swin-fade{from{opacity:0}}
@media (prefers-reduced-motion:reduce){.swin[open],.swin[open]::backdrop{animation:none}}
@media (max-width:860px){.swin{width:100vw;height:100dvh;border-radius:0}}

/* Inside that window: sections down the left on a tinted strip, one section at a time on the right, each scrolling by itself. */
html.embed,html.embed body{height:100%;margin:0;background:#1B1F2E}
html.embed #page-view,html.embed .settings{height:100%}
html.embed .settings{grid-template-columns:264px minmax(0,1fr);gap:0;align-items:stretch}
html.embed .snav{position:static;align-content:start;gap:10px;overflow-y:auto;padding:22px 14px 28px;background:var(--bg-sunk);border-right:1px solid var(--border-soft)}
html.embed .snav__title{font:700 13px/1 var(--body);letter-spacing:.02em;color:var(--text-muted);padding:6px 10px 0;margin:0}
html.embed .spane{max-width:none;overflow-y:auto;padding:26px 64px 48px 44px}
html.embed .spane > *{max-width:780px}
html.embed .spane__title{font-size:30px;margin:0 0 22px}
html.embed .sintro{margin-top:0}
html.embed .flash{margin:0;border-radius:0}
@media (max-width:860px){
  html.embed #page-view,html.embed .settings{height:auto;min-height:100%}
  html.embed .settings{grid-template-columns:1fr}
  html.embed .snav{overflow:visible;padding:16px 56px 14px 16px;border-right:0;border-bottom:1px solid var(--border-soft)}
  html.embed .snav nav{display:flex;overflow-x:auto;gap:6px}
  html.embed .spane{overflow:visible;padding:20px 16px 40px}
}

/* The window's section list wears the main sidebar's colours: navy, light text, and the one pink highlight (settings.js). */
html.embed .snav{background:var(--side);border-right:0;color:#fff}
html.embed .snav__title,html.embed .snav__group{color:rgba(255,255,255,.5)}
html.embed .snav__search{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14)}
html.embed .snav__search:focus-within{border-color:rgba(255,255,255,.5)}
html.embed .snav__search input{color:#fff}
html.embed .snav__search input::placeholder{color:rgba(255,255,255,.5)}
html.embed .snav__search .ico{color:rgba(255,255,255,.6)}
html.embed .snav nav{position:relative}
html.embed .snav a,html.embed .snav a:hover,html.embed .snav a[aria-current="page"]{z-index:1;border:0;background:transparent;box-shadow:none;color:rgba(255,255,255,.88);font-weight:400;transition:color var(--slow) var(--ease)}
html.embed .snav a::before{display:none}
html.embed .snav a.is-lit{color:#252735;font-weight:600}
@media (max-width:860px){html.embed .snav{border-bottom:0}}

/* Settings: the choice-of-two pills share one highlight that slides to whatever is pointed at, as the Mine / All switch does. */
.segm{position:relative}
.segm > .slider{top:3px;height:calc(100% - 6px);padding:0;border-radius:8px;background:var(--pink-soft);transition:transform var(--slow) var(--ease),width var(--slow) var(--ease),opacity .3s}
.segm label{z-index:1}
.segm.has-slider label > span,.segm.has-slider input:checked + span{background:transparent;box-shadow:none;transition:color var(--slow) var(--ease)}
.segm.has-slider label.is-lit > span{color:var(--ink)}
.spane.is-new{animation:spane-in .22s var(--ease)}
@keyframes spane-in{from{opacity:0;transform:translateY(5px)}}
@media (prefers-reduced-motion:reduce){.spane.is-new{animation:none}}

/* The window is dark throughout: the section list keeps the sidebar's navy, the pane beside it is a deeper, bluer navy,
   and the cards in it a step lighter. Everything the pane draws takes its colours from these. */
html.embed{color-scheme:dark;
  --ink:#EEEBF2; --ink-rgb:238,235,242; --text-primary:#EEEBF2; --text-muted:rgba(238,235,242,.62); --text-faint:rgba(238,235,242,.42);
  --bg-card:#232738; --bg-sunk:rgba(255,255,255,.06); --border:rgba(255,255,255,.16); --border-soft:rgba(255,255,255,.08);
  --warn-ground:#3A3320; --text-warn:#E2C36F; --good-ground:#1F3A2B; --text-good:#9CD4B0; --good-line:#2F5A42}
html.embed .scard{background:#232738;border-color:rgba(255,255,255,.08)}
html.embed .input,html.embed select.input,html.embed .input--select{background:#1B1F2E;border-color:rgba(255,255,255,.16);color:var(--ink)}
html.embed .input--inline{background:transparent;border-color:transparent}
html.embed .input--inline:hover{border-color:rgba(255,255,255,.16)}
html.embed .input--inline:focus{background:#1B1F2E;border-color:rgba(255,255,255,.5)}
html.embed .input::placeholder{color:rgba(238,235,242,.4)}
html.embed .btn{background:transparent;border-color:rgba(255,255,255,.28);color:var(--ink)}
html.embed .btn--primary{background:transparent;border-color:var(--ink);color:var(--ink);--fill:var(--ink)}
html.embed .btn:not(.btn--link):is(:hover,:focus-visible){color:#252735}
html.embed .btn--link{border:0;color:var(--text-muted)}
html.embed .segm{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.08)}
html.embed .segm.has-slider label.is-lit > span{color:#252735}
html.embed .ssave{background:#232738;border-color:rgba(255,255,255,.08);box-shadow:0 10px 30px rgba(0,0,0,.35)}
html.embed .ssave.is-dirty{background:#3B2F40;border-color:var(--pink)}
html.embed .switch span{background:rgba(255,255,255,.22)}
html.embed .switch input:checked + span{background:var(--pink)}
html.embed .wday span:first-of-type{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16)}
html.embed .wday input:checked + span{background:var(--pink);border-color:var(--pink);color:#252735}
html.embed .face--none{background:rgba(255,255,255,.12)}
html.embed .flash{background:#232738;border-color:rgba(255,255,255,.12);border-left-color:var(--pink)}
html.embed .flash--error{background:var(--warn-ground);border-color:#6B5A24;border-left-color:#C9A13A}
html.embed .toast{background:#0F1119;color:#fff;border:1px solid rgba(255,255,255,.14)}
html.embed .toast.is-error{background:#5A4410}

/* A live project (views/live.mjs), from George's whiteboard of 7 October. The header says who and what, what it's worth
   and the rate it was quoted at, over its timeline. The cards under it each measure one part against its budget.
   Site-level spacing is proportional; the padding inside cards is fixed. */
.lp{--gap:clamp(14px,1.8vw,24px)}
:is(.lp,.hd){
  /* The pastels of the project stacks on Saved and Cost a project, one per card, and the rows each card picks out. */
  --tint-delivery:#E3EFE2;--tint-meetings:#F8E3E7;--tint-management:#E7EDF3;--tint-expenses:#F1E9E1}
.lp__top{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:-8px 0 20px}
.lp__label{margin:0 0 4px;font:700 14px/1.3 var(--mono);color:var(--spring-sage)}
.lp__head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px clamp(24px,4vw,56px);padding:clamp(22px,3vw,36px);background:#fff;border:1px solid var(--border);border-radius:var(--radius-card)}
.lp__client{display:inline-block;margin-bottom:14px;font:400 28px/1.1 var(--display);letter-spacing:.06em;text-transform:uppercase;color:var(--pink-deep);text-decoration:none;transition:color .3s ease-in-out}
.lp__client:hover,.lp__client:focus-visible{color:var(--ink)}
.lp h1{font-size:clamp(40px,5vw,60px);letter-spacing:.1em;line-height:1;margin-bottom:16px;overflow-wrap:anywhere}
.lp__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:14px}
.lp__am{display:inline-flex;align-items:center;gap:8px;font-weight:600}
.lp__am .person-link{color:var(--ink)}
.lp__meta .flag{cursor:help}
/* What it's worth: the figures line up on the right, as on the whiteboard. */
.lp__money{display:grid;align-content:start;gap:22px;margin:0;text-align:right}
.lp__money > div{display:grid;justify-items:end;gap:2px}
.lp__money dd{margin:0}
.lp__money .lp__split{display:flex;flex-wrap:wrap;gap:6px 24px;margin:10px 0 4px}
.lp__split > span{display:grid;gap:4px}
.lp__split .lp__label{margin:0}
.lp__money .lp__split b{font:700 20px/1 var(--body);letter-spacing:0}
.lp__money dd:first-of-type{display:flex;align-items:baseline;gap:8px}
.lp__money b{font:400 44px/1 var(--display);letter-spacing:.03em;color:var(--ink)}
.lp__vat{font:400 20px/1 var(--display);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}
/* The timeline runs the full width of the header. One fill colour, pink like every tick below it. */
.lp__timeline{grid-column:1 / -1;display:grid;gap:10px;padding-top:24px;border-top:1px solid var(--border-soft)}
.lp__tlhead,.lp__tlends{display:flex;justify-content:space-between;align-items:baseline;gap:8px 16px;flex-wrap:wrap}
.lp__tlhead .lp__label{margin:0}
.lp__tlstat{font-size:15px;font-weight:700}
.lp__tlstat.is-late{color:var(--pink-deep)}
.bar--timeline{height:14px;border-radius:7px}
/* A campaign's months on its timeline: a line where each month starts, and the month being looked at outlined. */
.bar__tick{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#fff;opacity:.9}
.bar__month{position:absolute;top:0;bottom:0;border-radius:7px;box-shadow:inset 0 0 0 2px var(--ink);pointer-events:none}
/* The campaign by month: the whole campaign first, then each month with its own bar. */
.lp__months{display:grid;gap:14px}
.lp__mhead{display:flex;justify-content:space-between;align-items:center;gap:6px 16px;flex-wrap:wrap}
.lp__mwhere{font-size:15px;font-weight:600;color:var(--ink)}
.lp__mnav{display:flex;gap:10px;overflow-x:auto;padding:10px 2px 10px;margin:-2px -2px 0;scroll-snap-type:x proximity}
/* Campaign to date: a button above the months, navy while it's the view open. */
/* Campaign to date: the main-action button (as Start a costing), but fading to navy on hover rather than filling from
   the bottom, and navy while it's the view shown. The keyboard's arrows move the months (app.js). */
.lp__todate{margin-left:auto;gap:8px;transition:background-color .35s ease-in-out,color .35s ease-in-out}
.lp__todate::before{display:none}
.lp__todate:hover,.lp__todate:focus-visible{background:var(--ink)}
.lp__todate .num{font-weight:400;transition:color .35s}
.lp__todate .num.is-over b{color:var(--text-warn)}
.lp__todate:is(:hover,:focus-visible,[aria-current]) :is(.num,.num b){color:inherit}
.lp__todate[aria-current]{background:var(--ink);color:#fff}
.lp__mini{position:sticky;top:0;z-index:30;height:0}
.lp__minibar{position:absolute;left:0;right:0;top:10px;display:flex;align-items:center;gap:10px;padding:8px;background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--border);border-radius:12px;box-shadow:0 10px 26px rgba(var(--ink-rgb),.1);visibility:hidden;pointer-events:none}
.lp__mini.is-shown .lp__minibar{visibility:visible;pointer-events:auto}
/* While a card morphs into its pill (app.js), the real card and pill step aside for their copies. */
.lp__m.is-flown,.lp__mp.is-flown,.lp__todate.is-flown,.lp__miniall.is-flown{opacity:0!important}
.lp__months.is-docked .lp__mwrap,.lp__months.is-docked .lp__mhead{visibility:hidden}
.lp__fly{position:fixed;inset:0;z-index:60;pointer-events:none}
.lp__fly>*{will-change:transform,opacity;transition:none!important;box-shadow:none!important}
/* The bar's blur is costly to redraw every frame, so it's off while it fades in or out. */
.lp__mini.is-moving .lp__minibar{-webkit-backdrop-filter:none;backdrop-filter:none;will-change:opacity,transform}
.lp__miniall{flex:none;gap:6px;font-weight:600}
.lp__miniall .num{font-weight:400}
.lp__miniall[aria-current]{background:var(--ink);border-color:var(--ink);color:#fff}
.lp__miniall[aria-current] .num,.lp__miniall[aria-current] .num b{color:#fff}
.lp__mininav{display:flex;gap:6px;min-width:0;overflow-x:auto;scrollbar-width:none;scroll-behavior:smooth}
.lp__mininav::-webkit-scrollbar{display:none}
.lp__mp{flex:none;display:grid;justify-items:center;gap:1px;min-width:52px;padding:4px 9px;border:1px solid var(--border);border-radius:var(--radius-button);background:#fff;color:var(--ink);text-decoration:none;font-size:11px;line-height:1.25;transition:border-color .2s ease-in-out,background-color .2s ease-in-out}
.lp__mp b{font-size:13px}
.lp__mp span{color:#4F7A5B;white-space:nowrap}
.lp__mp.is-over span{color:var(--text-warn)}
.lp__mp.is-future{border-style:dashed;color:var(--text-muted);background:transparent}
.lp__mp:hover,.lp__mp:focus-visible{border-color:var(--ink);outline:0}
.lp__mp.is-on{background:var(--ink);border-color:var(--ink);color:#fff}
.lp__mp.is-on span{color:#fff}
/* With the script, one navy highlight slides between the pills (app.js): it's what's navy, not the pill itself. */
.lp__mininav{position:relative}
.lp__mininav>.slider{border-radius:8px;background:var(--ink)}
.lp__mini.is-moving .lp__mininav>.slider{opacity:0!important;transition:none}
.lp__mininav.has-slider .lp__mp{position:relative;z-index:1;transition:color .25s ease-in-out,border-color .25s ease-in-out}
.lp__mininav.has-slider .lp__mp.is-on{background:#fff;border-color:var(--border);color:var(--ink)}
.lp__mininav.has-slider .lp__mp.is-on span{color:#4F7A5B}
.lp__mininav.has-slider .lp__mp.is-on.is-over span{color:var(--text-warn)}
.lp__mininav.has-slider .lp__mp.is-lit{background:transparent;border-color:var(--ink);color:#fff}
.lp__mininav.has-slider .lp__mp.is-lit span{color:#fff}
@media(prefers-reduced-motion:reduce){.lp__mp{transition:none}.lp__mininav{scroll-behavior:auto}}
/* A centred row, set up by app.js. */
.lp__mwrap{position:relative;min-width:0}
.lp__tlv{grid-column:1 / -1;display:grid}
.lp__tlv[hidden]{display:none}
/* While a month other than the one being looked at is under the marker, the panel above previews it. */
.lp__head[data-preview] .lp__tlhead .lp__label::after{content:"Preview · click the month to open it";margin-left:12px;padding:2px 10px;border-radius:999px;background:var(--pink-soft);color:var(--pink-deep);font-size:12px;font-weight:600}
.lp__mmark{display:none;position:absolute;left:50%;top:-5px;width:18px;height:10px;margin-left:-9px;background:var(--spring-pink);clip-path:polygon(0 0,100% 0,50% 100%);pointer-events:none}
.lp__mnav.is-flow + .lp__mmark{display:block}
.lp__mnav.is-flow{cursor:grab;padding:40px 12px 14px;margin-top:-8px;scroll-snap-type:x mandatory;scrollbar-width:none}
.lp__mnav.is-flow::-webkit-scrollbar{display:none}
.lp__mnav.is-dragging{cursor:grabbing;user-select:none}
.lp__mnav.is-dragging a{pointer-events:none}
.lp__mnav.is-flow::before,.lp__mnav.is-flow::after{content:"";flex:none}
.lp__mnav.is-flow::before{width:var(--pl,0px)}
.lp__mnav.is-flow::after{width:var(--pr,0px)}
.lp__mnav.is-flow .lp__m{flex:0 0 112px;scroll-snap-align:center;scroll-snap-stop:always;transform-origin:50% 100%;transition:transform .22s cubic-bezier(.3,.7,.3,1),scale .2s cubic-bezier(.3,.7,.3,1),border-color .3s ease-in-out,box-shadow .3s ease-in-out,background-color .3s ease-in-out}
/* The month in the middle is raised and a little larger, as one icon is in a Dock; all the others sit level. */
.lp__mnav.is-flow .lp__m.is-mid{transform:translateY(-9px) scale(1.1);z-index:2;box-shadow:0 10px 22px rgba(var(--ink-rgb),.1)}
.lp__mnav.is-flow .lp__m.is-whole{flex-basis:160px}
@media (prefers-reduced-motion:reduce){.lp__mnav.is-flow .lp__m,.lp__mnav.is-flow .lp__m.is-mid{transition:none}}
.lp__m{flex:1 0 112px;scroll-snap-align:start;display:grid;align-content:start;gap:6px;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--ink);text-decoration:none;transition:scale .2s cubic-bezier(.3,.7,.3,1),border-color .3s ease-in-out,box-shadow .3s ease-in-out,background-color .3s ease-in-out}
.lp__m:hover,.lp__m:focus-visible{border-color:#CFC6C4;box-shadow:0 8px 20px rgba(var(--ink-rgb),.07);outline:0}
/* A month under the pointer grows a touch, from its foot; not the month already selected or raised in the middle. */
.lp__m{transform-origin:50% 100%}
.lp__m:hover:not(.is-on,.is-mid){scale:1.04}
.lp__m.is-on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.lp__m.is-whole{flex-basis:160px;background:var(--bg-sunk);margin-right:6px}
.lp__m.is-future{border-style:dashed;background:transparent}
.lp__m.is-future .lp__mname,.lp__m.is-future .lp__mfig{color:var(--text-muted)}
.lp__mname{font-size:15px;font-weight:700;white-space:nowrap}
.lp__mname i{margin-left:6px;padding:1px 8px;border-radius:var(--radius-label);background:var(--pink-soft);color:var(--pink-deep);font-size:11px;font-style:normal;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.lp__mdates{font-size:13px;color:var(--text-muted);white-space:nowrap}
.lp__mfig{font-size:13px;color:var(--text-muted)}
.lp__mfig b{color:var(--ink)}
.lp__m > .import-time{margin-inline:-9px;justify-self:stretch;padding-inline:3px;font-size:11px}
.lp__bymonth td > .import-time{display:table;margin-top:4px}
.lp__m.is-over .lp__mfig b{color:var(--text-warn)}
.lp__bymonth .is-over{color:var(--text-warn);font-weight:600}
.lp__mdiff,.lp__msetupin,.lp__msetup{font-size:12px;color:var(--text-muted);white-space:nowrap}
.lp__mdiff{color:#4F7A5B}
.lp__mdiff.is-over,.lp__todate .is-over{color:var(--text-warn)}
.lp__msetup.is-done{color:#4F7A5B}
.lp__msetup.is-open{color:var(--text-warn)}
.lp__health{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px;margin:0 0 24px;padding:20px 24px}
.lp__health{padding:0 0 20px;margin-bottom:12px;border-bottom:1px solid var(--border)}
.lp__health dd{margin:0}
.lp__health dd.num{font:700 24px/1.2 var(--body);color:var(--ink)}
.lp__health dd.is-over{color:var(--text-warn)}
.lp__bymonth tr.is-future td{color:var(--text-muted)}
.lp__bymonth td,.lp__bymonth th{white-space:nowrap}
.lp__setup{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;margin-bottom:24px}
.lp__setup p{margin:0}
.bar--timeline .bar__fill{border-radius:7px}
.bar__fill--time.is-late{background:var(--pink-deep)}
.lp__tlends{font-size:14px;color:var(--text-muted)}
.lp__tlends b{color:var(--ink)}
.lp__end{position:relative;display:inline-flex;align-items:baseline;gap:10px;flex-wrap:wrap;justify-content:flex-end}
/* Changing the expected completion: a small card under the date. */
.lp__move > summary{list-style:none;cursor:pointer;font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--pink)}
.lp__move > summary::-webkit-details-marker{display:none}
.lp__move > summary:hover,.lp__move > summary:focus-visible{text-decoration-color:var(--ink);outline:0}
.lp__moveform{position:absolute;right:0;top:calc(100% + 10px);z-index:5;display:grid;gap:12px;justify-items:start;width:min(300px,80vw);padding:18px;background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:0 14px 34px rgba(var(--ink-rgb),.12);text-align:left;color:var(--ink)}
.lp__moveform .field{width:100%}
/* Delivery, meetings, management and expenses, each against its budget: four across, then two and two, then one column. */
.lp__cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);margin-top:var(--gap)}
.lp__card{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;gap:10px;min-width:0;padding:20px 20px 18px;background:#fff;border:1px solid var(--border);border-radius:var(--radius-card);color:var(--ink);text-decoration:none;
  transition:border-color .3s ease-in-out,box-shadow .3s ease-in-out}
/* On hover each card fades to its pastel. The empty part of its bar turns white so the bar still reads. */
.lp__card--delivery{--tint:var(--tint-delivery)}.lp__card--meetings{--tint:var(--tint-meetings)}
.lp__card--management{--tint:var(--tint-management)}.lp__card--expenses{--tint:var(--tint-expenses)}
a.lp__card{transition:background-color .3s ease-in-out,border-color .3s ease-in-out,box-shadow .3s ease-in-out}
a.lp__card .bar{transition:background-color .3s ease-in-out}
a.lp__card:hover,a.lp__card:focus-visible{background:var(--tint);border-color:#CFC6C4;box-shadow:0 12px 30px rgba(var(--ink-rgb),.08);outline:0}
a.lp__card:hover .bar,a.lp__card:focus-visible .bar{background:#fff}
a.lp__card:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.lp__cardlabel{font:400 22px/1 var(--display);letter-spacing:.08em;text-transform:uppercase}
.lp__fig{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 2px;margin:4px 0 2px;font:400 26px/1 var(--display);letter-spacing:.03em;color:var(--text-muted)}
.lp__fig b{font-size:clamp(40px,3.6vw,54px);font-weight:400;color:var(--ink)}
.lp__card .barwrap,.lp__card > .bar{margin:4px 0 2px}
.lp__card .bar{height:10px;border-radius:5px}
.lp__card .bar__fill{border-radius:5px}
.lp__cardfoot{display:flex;justify-content:space-between;align-items:baseline;gap:4px 10px;flex-wrap:wrap;font-size:14px;font-weight:600}
.lp__cardnote{font-size:14px;line-height:1.45;color:var(--text-muted)}
.lp__cardnote .is-over,.task__left.is-over{color:var(--text-warn);font-weight:700}
@media (max-width:1060px){.lp__cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.lp__cards{grid-template-columns:1fr}}
/* The detail the cards lead to. */
.lp__grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:var(--gap);align-items:start;margin-top:var(--gap)}
.lp__grid--even{grid-template-columns:repeat(2,minmax(0,1fr))}
.lp__grid > :only-child{grid-column:1 / -1}
.lp__grid > .section{margin-top:0}
.lp :is(#tasks,#team,#completion,#expenses,#recent-time){scroll-margin-top:24px}
/* Tasks need the width for their bars, so the team drops under them sooner than the even pairs do. */
@media (max-width:1240px){.lp__grid:not(.lp__grid--even){grid-template-columns:1fr}}
@media (max-width:1000px){.lp__grid--even{grid-template-columns:1fr}}
/* Tasks: one row each, opening to who recorded the time. */
.tasks{display:grid;border-top:1px solid var(--border-soft)}
.task{border-bottom:1px solid var(--border-soft)}
.task > summary{display:grid;grid-template-columns:minmax(0,1.3fr) 92px minmax(80px,1fr) 88px 18px;align-items:center;gap:16px;padding:14px 2px;list-style:none;cursor:pointer;border-radius:8px;transition:background-color .3s ease-in-out}
.task > summary::-webkit-details-marker{display:none}
.task > summary:hover,.task > summary:focus-visible{background:var(--bg-sunk);outline:0}
.task > summary:focus-visible{box-shadow:inset 0 0 0 2px var(--ink)}
.task__name{min-width:0;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.task__fig{font-size:14px;color:var(--text-muted);text-align:right;white-space:nowrap}
.task__fig b{font-size:17px;color:var(--ink)}
.task__left{font-size:14px;text-align:right;white-space:nowrap;color:var(--text-muted)}
.task__chev{width:8px;height:8px;justify-self:center;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);color:var(--text-muted);transition:transform .35s var(--ease)}
.task > summary:hover .task__chev{transform:translateY(0) rotate(45deg)}
.task[open] .task__chev{transform:translateY(2px) rotate(225deg)}
.task__body{display:grid;gap:10px;padding:2px 2px 18px}
.task__who{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.task__who li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;font-size:15px}
.task__who .person-link{color:var(--ink)}
.task__track{justify-self:start;text-decoration:none}
.ls__panelhead .task__track{margin-top:14px}
@media (max-width:640px){
  .task > summary{grid-template-columns:minmax(0,1fr) auto 18px;gap:6px 12px}
  .task__bar{grid-column:1 / -1;grid-row:2}
  .task__left{display:none}
}
/* The project team, with the hours each has recorded. */
.crew{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.crew__row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px 12px}
.crew__row .face{width:36px;height:36px}
.crew__who{display:grid;min-width:0;line-height:1.3}
.crew__who .person-link{font-weight:600;color:var(--ink)}
.crew__hours{display:grid;justify-items:end;line-height:1.25}
.crew__bar{grid-column:2 / -1;height:5px}
.crew__row.is-off .crew__who .person-link{color:var(--text-muted)}
.crew__row.is-off .bar__fill{background:var(--text-faint)}
.lp__addpeople{display:inline-flex;align-items:center;gap:8px;margin-top:20px;padding:16px 0 0;width:100%;border:0;border-top:1px solid var(--border-soft);background:none;font:inherit;font-weight:700;color:var(--ink);cursor:pointer;text-align:left}
.lp__addpeople::before{content:"";flex:none;width:22px;height:22px;border-radius:50%;background:linear-gradient(#fff,#fff) center/10px 1.75px no-repeat,linear-gradient(#fff,#fff) center/1.75px 10px no-repeat,var(--ink);transition:transform var(--slow) var(--ease)}
.lp__addpeople:hover::before,.lp__addpeople:focus-visible::before{transform:rotate(90deg)}
.lp__addpeople:focus-visible{outline:2px solid var(--ink);outline-offset:4px;border-radius:2px}
/* The team pop-up: a search, a list that scrolls on its own, and the save at the foot. */
.pick{width:min(460px,calc(100vw - 32px));max-height:min(640px,calc(100dvh - 48px));padding:0;border:0;border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 24px 60px rgba(var(--ink-rgb),.22);overflow:hidden}
.pick[open]{display:flex;animation:pick-in var(--slow) var(--ease)}
.pick::backdrop{background:rgba(var(--ink-rgb),.34)}
.pick[open]::backdrop{animation:pick-fade var(--slow) var(--ease)}
.pick.is-closing{animation:pick-out .28s ease-in forwards}
.pick.is-closing::backdrop{animation:pick-fade .28s ease-in reverse forwards}
@keyframes pick-in{from{opacity:0;transform:translateY(16px) scale(.98)}}
@keyframes pick-out{to{opacity:0;transform:translateY(10px) scale(.98)}}
@keyframes pick-fade{from{opacity:0}}
.pick__form{display:flex;flex-direction:column;width:100%;min-height:0}
.pick__head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 16px 4px 24px}
.pick__head h2{margin:0;font-size:28px}
.pick__close{position:relative;width:36px;height:36px;border:0;border-radius:50%;background:transparent;cursor:pointer;transition:background-color .3s ease-in-out}
.pick__close::before,.pick__close::after{content:"";position:absolute;left:50%;top:50%;width:16px;height:1.75px;margin:-.875px 0 0 -8px;border-radius:1px;background:var(--ink);transform:rotate(45deg)}
.pick__close::after{transform:rotate(-45deg)}
.pick__close:hover,.pick__close:focus-visible{background:var(--bg-sunk);outline:0}
.pick__note{padding:0 24px 14px}
.pick__search{display:flex;align-items:center;gap:10px;margin:0 20px 6px;padding:0 16px;height:46px;border:1px solid var(--border);border-radius:var(--radius-search);color:var(--text-muted);transition:border-color .3s ease-in-out}
.pick__search:focus-within{border-color:var(--ink);color:var(--ink)}
.pick__search input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;color:var(--ink)}
.pick__list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 12px 12px;scrollbar-width:thin}
.pick__group{min-width:0;margin:0;padding:0;border:0}
.pick__group legend{padding:14px 12px 6px;font:700 14px var(--mono);color:var(--text-muted)}
.pick__row{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 12px;border-radius:10px;cursor:pointer;transition:background-color .3s ease-in-out,border-radius .3s ease-in-out}
.pick__row[hidden]{display:none}
.pick__row:hover{background:var(--bg-sunk)}
.pick__row:has(input:checked){background:var(--pink-soft)}
/* Ticked people next to each other join into one pink block, rounded only at its ends, with a hairline between them. */
.pick__row:has(input:checked):has(+ .pick__row input:checked){border-bottom-left-radius:0;border-bottom-right-radius:0}
.pick__row:has(input:checked) + .pick__row:has(input:checked){border-top-left-radius:0;border-top-right-radius:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.85)}
.pick__row:has(input:checked) + .pick__row:has(input:checked:focus-visible){box-shadow:inset 0 0 0 2px var(--ink)}
.pick__row:has(input:focus-visible){box-shadow:inset 0 0 0 2px var(--ink)}
.pick__row input{position:absolute;opacity:0;pointer-events:none}
.pick__row .face{width:34px;height:34px}
.pick__who{display:grid;min-width:0;line-height:1.3}
.pick__who b{font-weight:600}
.pick__tick{width:22px;height:22px;border:1.5px solid var(--border);border-radius:50%;background:#fff;transition:background-color .3s ease-in-out,border-color .3s ease-in-out}
.pick__row:has(input:checked) .pick__tick{border-color:var(--ink);background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.pick__none{padding:16px 12px}
.pick__foot{display:flex;align-items:center;gap:10px;padding:14px 20px;border-top:1px solid var(--border-soft);background:var(--bg-page)}
.pick__foot [data-count]{margin-right:auto}
/* Completion date history: when the expected completion moved, and by how much. */
.cmove li{grid-template-columns:72px 1fr}
.cmove li > span:last-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.cmove__shift{padding:1px 7px;border-radius:var(--radius-label);font-size:12px;font-weight:700;background:var(--good-ground);color:var(--text-good)}
.cmove__shift.is-later{background:var(--warn-ground);color:var(--text-warn)}
/* Entrances: the cards rise in turn and their bars grow, with the figures counting up (reveal.js). */
.lp__cards.is-in .lp__card{animation:rv-rise .6s var(--ease) backwards;animation-delay:calc(var(--i,0) * 80ms)}
.lp__cards.is-in .bar :is(.bar__fill,.bar__over){transform-origin:left;animation:rv-grow .95s var(--ease) backwards;animation-delay:calc(.2s + var(--i,0) * 80ms)}
@media (max-width:860px){
  .lp__head{grid-template-columns:1fr}
  .lp__money{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));text-align:left}
  .lp__money > div{justify-items:start}
  .lp__moveform{right:auto;left:0}
}

/* Recent time with one card's rows picked out: in that card's pastel, the rest set back. */
.rt-show{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;overflow:hidden;max-height:0;margin:0;padding:0 12px 0 16px;border-radius:10px;font-size:15px;background:var(--tint,var(--bg-sunk));opacity:0;
  transition:max-height var(--slow) var(--ease),margin var(--slow) var(--ease),padding var(--slow) var(--ease),opacity .3s ease-in-out,background-color .3s ease-in-out}
/* Unfolds when a card picks its rows out, and folds away again on "Show all time". */
.rt-show.is-on{max-height:140px;margin-bottom:12px;padding-top:10px;padding-bottom:10px;opacity:1}
.rt-show[data-kind="delivery"]{--tint:var(--tint-delivery)}.rt-show[data-kind="meetings"]{--tint:var(--tint-meetings)}.rt-show[data-kind="management"]{--tint:var(--tint-management)}
#recent-table tbody tr{transition:opacity .5s ease-in-out}
#recent-table tbody td{transition:background-color .5s ease-in-out}
#recent-table[data-show] tbody tr{opacity:.45}
#recent-table[data-show="delivery"] tr[data-kind="delivery"],#recent-table[data-show="meetings"] tr[data-kind="meetings"],#recent-table[data-show="management"] tr[data-kind="management"]{opacity:1}
#recent-table[data-show="delivery"] tr[data-kind="delivery"] td{background:var(--tint-delivery)}
#recent-table[data-show="meetings"] tr[data-kind="meetings"] td{background:var(--tint-meetings)}
#recent-table[data-show="management"] tr[data-kind="management"] td{background:var(--tint-management)}
/* Expenses has no rows in Recent time, so its panel glows in its pastel for a moment instead. */
@keyframes lp-glow{from,40%{background:var(--tint-expenses)}}
#expenses.is-picked{animation:lp-glow 1.8s ease-in-out}

/* An approved project waiting to start (views/approved.mjs): the live page's header, then what's set up for the start,
   and the costing as approved, fixed. */
.ap__ready{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;padding-top:24px;border-top:1px solid var(--border-soft)}
.ap__readytext{display:grid;gap:10px}
.ap__setup{display:flex;flex-wrap:wrap;gap:12px clamp(20px,3vw,44px);margin:0}
.ap__setup > div{display:grid;gap:4px}
.ap__setup dt{font-size:13px;color:var(--text-muted)}
.ap__setup dd{display:flex;align-items:center;gap:10px;margin:0;font-weight:600;min-height:30px}
.ap__setup .person-link{color:var(--ink)}
.ap__faces{display:flex;padding-left:6px}
.ap__faces > span{margin-left:-6px;border-radius:50%;box-shadow:0 0 0 2px #fff}
.ap__faces .face{width:30px;height:30px}
.ap__more{display:grid;place-items:center;width:30px;height:30px;background:var(--bg-sunk);font-size:12px}
.ap__costing{margin-top:var(--gap)}
.ap__costinghead{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.ap__costinghead h2{margin:0 0 6px}
.ap__fixed{display:inline-flex;align-items:center;gap:5px;margin-right:8px;padding:2px 9px 2px 7px;border-radius:var(--radius-label);background:var(--good-ground);color:var(--text-good);font-size:13px;font-weight:700}
.ap__fixed::before{content:"";width:10px;height:10px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.6 2.6L10 3.2' fill='none' stroke='%231F5C38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.ap .ce--locked{margin:0}
/* "Ready to start?": the date and account manager over the team list, which scrolls on its own. */
.pick__fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;padding:0 24px 12px}
.pick__fields .field{display:grid;gap:6px;margin:0;font-size:14px;font-weight:600}
.pick__sub{margin:4px 24px 8px;font-size:14px;font-weight:600}
.pick--start{width:min(520px,calc(100vw - 32px));max-height:min(720px,calc(100dvh - 48px))}
.pick--start .pick__foot{justify-content:flex-end}
/* The approved costing reads like an estimate: its figures as plain text, with no boxes to suggest they can change. */
.ap .ce--locked :is(.ce__select,.ce__input,.ce__num):disabled{height:auto;min-height:0;padding:4px 0;border-color:transparent;background:transparent;box-shadow:none;font-weight:700;-webkit-text-fill-color:var(--ink)}
.ap .ce--locked .ce__num:disabled{text-align:right}
.ap .ce--locked .ce__name .ce__input:disabled{padding-right:36px}
.ap .ce--locked :is(.ce__grip,.ce__bin){visibility:hidden}
.pick__error{margin:0 24px 12px;padding:10px 12px;border-radius:8px;background:#FBE9EC;color:#8A3149;font-size:14px}
.pick__error[hidden]{display:none}

/* Expense journeys: claims, approval and payment have their own place. */
/* One page, three cards: the claim on the left, approval and payment stacked on the right, and your own list underneath. */
.xcard{min-width:0;padding:30px;background:#fff;border:1px solid #DBDBDB;border-radius:10px}
.xcard h2{margin-bottom:6px}
.xcard h3{margin:0;font:inherit;font-size:18px;font-weight:700}
.xcard__note{margin:0 0 18px;font-size:14px}
.xgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);grid-template-areas:"claim approval" "claim paid";gap:24px;align-items:stretch;margin-bottom:24px}
.xgrid > .xform{grid-area:claim;margin-top:0}
.xcard--approval{grid-area:approval}
.xcard--paid{grid-area:paid}
.xcard .panel--flush{box-shadow:none}
@media(max-width:1100px){.xgrid{grid-template-columns:minmax(0,1fr);grid-template-areas:"claim" "approval" "paid"}.xcard{padding:22px}}
.xclient-filter{display:flex;align-items:end;gap:12px;margin:0 0 24px}.xclient-filter select{min-width:220px}.xproject{gap:6px}.xreceipt-link{display:block;margin-top:5px}.xreceipt input{padding:10px;height:auto}.xreceipt{max-width:520px}
@media(max-width:600px){.xclient-filter{align-items:stretch;flex-direction:column}.xclient-filter select{min-width:0}}

/* My expenses, from George's Figma frame (Expenses, node 171:3354). Sizes, gaps and colours are the file's Dev Mode values;
   text is trimmed to its capitals and baseline the way Figma measures it, so each gap is the file's own number. */
.xp{--xline:#DBDBDB;--xgrey:#838383}
.xp :is(.xp__back,.xform .panel__head h2,.xkind span,.xp label.field,.xtotal,.xbtn,.xl__title,.xl__date,.xl__client,.xl__project,.xl__what,.xl__chip,.xl__amount,.xl__all,.xcard--approval>h2,.xcard--paid>h2,.xcard--mine .panel__head h2){text-box:trim-both cap alphabetic}
.xp__back{display:block;width:fit-content;margin-bottom:50px;font-size:14px;line-height:27px;color:var(--pink);text-decoration:none;background:linear-gradient(var(--pink),var(--pink)) 0 100%/0 1px no-repeat;transition:background-size .25s var(--ease)}
.xp__back:hover,.xp__back:focus-visible{background-size:100% 1px;outline:none}
.xp .head{margin-bottom:50px}

/* Cards: 40px padding, 10px corners, a #DBDBDB line. The claim on the left is 775 of the file's 1278, the lists on the right 461. */
.xp .xgrid{grid-template-columns:minmax(0,775fr) minmax(0,461fr);gap:42px;margin-bottom:42px}
.xp .xgrid{grid-template-areas:none;align-items:stretch}
/* Approving and paying need tables, so for the people who do either the right-hand side keeps the wider share it had. */
.xp .xgrid--wide{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
.xp .xgrid>.xform{grid-area:auto}
.xp .xcol{display:flex;flex-direction:column;justify-content:flex-start;gap:42px;min-width:0}
.xp .xcol>.xcard{grid-area:auto;width:100%}
.xp .xcard{padding:40px;border-color:var(--xline)}
.xp .xcard h2{margin:0;font-size:25px;line-height:24px;letter-spacing:.1em;font-weight:400}
.xp .xcard--approval,.xp .xcard--paid{display:flex;flex-direction:column;gap:20px}
.xp :is(.xcard--approval,.xcard--paid)>h2,.xp .xcard--mine .panel__head h2{padding-bottom:20px}
.xp :is(.xcard--approval,.xcard--paid)>h2{border-bottom:1px solid var(--xline)}
.xp .xcard--approval>h2{color:var(--spring-blue)}
.xp .xcard--paid>h2{color:var(--spring-sage)}
.xp .xcard__note{margin:0}
.xp .xcard--mine{margin-top:0}
.xp .xcard--mine .panel__head{display:block;margin-bottom:20px;border-bottom:1px solid var(--xline)}
.xp .xcard--mine .panel__head form{margin-top:16px}

/* Claim an expense */
.xp .xform{display:flex;flex-direction:column;gap:15px;margin-top:0}
.xp .xform .panel__head{display:flex;align-items:flex-start;justify-content:space-between;margin:0;padding-bottom:20px;border-bottom:1px solid var(--xline)}
.xp .xform .panel__head h2{font-size:35px;line-height:22px}
.xp .xform__form{max-width:none;gap:21px}
.xp .xkindbar{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;padding-bottom:15px;margin-bottom:9px;border-bottom:1px solid var(--xline)}
.xp .xkind{display:flex;gap:8px;padding:0;margin:0;border:0;border-radius:0;background:none}
.xp .xkind span{display:grid;place-items:center;min-height:41px;padding:0 15px;border-radius:var(--radius-button);background:var(--xline);color:#000;font-size:16px;font-weight:400;transition:background-color .3s ease-in-out}
.xp .xkind input:checked + span{background:var(--pink);color:#000;font-weight:400}
.xp .xkind label:hover input:not(:checked) + span{background:var(--pink-soft)}
.xp label.field{gap:15px;font-size:14px;line-height:27px;font-weight:500;color:var(--ink)}
.xp label.field .micro{font-weight:400;color:var(--text-faint)}
.xp .input,.xp select.input{min-height:56px;padding:0 20px;border:1px solid var(--xline);border-radius:var(--radius-field);font-size:16px;font-weight:500;color:var(--ink)}
.xp .input::placeholder{color:var(--xgrey);opacity:1}
.xp .input:focus{outline:2px solid var(--ink);outline-offset:1px}
.xp .xreceipt input{padding:15px 20px;height:auto}
.xp .xproject .combo,.xp .xinput{position:relative;display:block}
.xp .xproject .input,.xp .xinput .input{padding-right:55px}
.xp .xicon{position:absolute;right:20px;top:50%;width:15px;height:15px;margin-top:-7.5px;color:var(--ink);pointer-events:none}
.xp .xicon>svg{display:block}
.xp .xicon>span{position:absolute;display:block}
.xp .xicon img{display:block;width:100%;height:100%;max-width:none}
/* The date is one box with its calendar button inside, as in the file. */
.xp .datef{display:block}
.xp .datef__text{padding-right:55px}
.xp .datef__pick{position:absolute;right:1px;top:1px;bottom:1px;width:50px;border:0;border-radius:0 4px 4px 0;background:transparent}
.xp .datef__pick:hover{background:var(--pink-soft);border-color:transparent}
.xp .xform__mileage,.xp .xform__other{gap:21px}
.xp .xform__miles{display:flex;align-items:flex-end;gap:14px}
.xp .xmilesfield{flex:1 1 0;min-width:0}
/* Recent journeys wait in a menu at the end of the tab row until they're wanted. */
.xp .xagain{position:static;z-index:6}
.xp .xagain summary{list-style:none;cursor:pointer;font-size:14px;line-height:27px;font-weight:500;color:#000;text-decoration:none;text-underline-offset:3px;transition:color .25s var(--ease);text-box:trim-both cap alphabetic}
.xp .xagain summary::-webkit-details-marker{display:none}
.xp .xagain summary::after{content:" ▾";text-decoration:none;display:inline-block}
.xp .xagain summary:hover,.xp .xagain[open] summary{color:var(--pink-deep);text-decoration:underline}
.xp .xagain summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:2px}
.xp .xagain__list{position:absolute;right:0;top:calc(100% + 8px);display:grid;gap:2px;width:max-content;min-width:260px;max-width:min(380px,80vw);margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--xline);border-radius:10px;box-shadow:0 12px 32px rgba(var(--ink-rgb),.12)}
.xp .xagain .xroute{display:flex;justify-content:space-between;gap:16px;width:100%;padding:9px 12px;border:0;border-radius:6px;background:none;text-align:left;font-size:14px;font-weight:400}
.xp .xagain .xroute:hover,.xp .xagain .xroute:focus-visible{background:var(--pink-soft)}
.xp .xbtn{--fill:var(--ink);min-height:0;border:0;border-radius:var(--radius-button);font-size:16px;line-height:27px;font-weight:500;color:#FFF9F4;cursor:pointer}
.xp .xbtn:hover,.xp .xbtn:focus-visible{color:#fff}
.xp .xbtn--pink{height:59px;padding:0 20px;background:var(--pink);transition:background-color .3s ease-in-out,color .3s ease-in-out}
/* Calculate Miles fades to the sage of Send for Approval rather than filling from the bottom. */
.xp .xbtn--pink::before{display:none}
.xp .xbtn--pink:hover,.xp .xbtn--pink:focus-visible{background:var(--spring-sage)}
.xp .xbtn--sage{height:51px;padding:0 20px;background:var(--spring-sage)}
.xp .xmap__panel{margin:0}
.xp .xform__journey{gap:14px}
.xp .xcheck{min-height:0;font-size:14px;font-weight:500}
.xp .xtotal{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-top:9px;font-weight:500;color:#000}
.xp .xtotal span{font-size:16px;line-height:27px}
.xp .xtotal b{font-size:30px;line-height:27px;font-weight:500;font-variant-numeric:tabular-nums}
.xp .xform__actions{margin-top:9px;gap:20px;align-items:center}
.xp .xform__actions .xcheck{margin-left:auto}
.xp .xform__actions .btn--link{min-height:0;font-size:14px}

/* The lists of your claims: date, client, project and what on the left; status and amount on the right. */
.xp .xl{display:flex;flex-direction:column;gap:20px;margin:0;padding:0;list-style:none}
.xp .xl__item{display:flex;align-items:stretch;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid var(--xline)}
.xp .xl__main{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.xp .xl__date{font:700 13px/28px var(--mono);color:var(--pink)}
.xp .xl__client{font-size:12px;line-height:14px;color:#000}
.xp .xl__project{font-size:16px;line-height:28px;font-weight:700;color:#000}
.xp .xl__what{font-size:16px;line-height:28px;color:#000;overflow-wrap:anywhere}
.xp .xl__side{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;flex:none;gap:12px}
.xp .xl__chip{display:grid;place-items:center;min-height:22px;padding:0 10px;border-radius:var(--radius-label);font-size:12px;line-height:14px;color:#fff;background:var(--spring-sage)}
.xp .xl__chip--requested{background:var(--spring-blue)}
.xp .xl__chip--approved{background:#fff;color:var(--text-sage);box-shadow:inset 0 0 0 1px var(--spring-sage)}
.xp .xl__amount{font-size:16px;line-height:28px;color:#000;font-variant-numeric:tabular-nums}
.xp .xl__all{width:fit-content;font-size:12px;line-height:14px;color:#000;text-decoration:none;background:linear-gradient(var(--pink),var(--pink)) 0 100%/0 1px no-repeat;transition:background-size .25s var(--ease)}
.xp .xl__all:hover,.xp .xl__all:focus-visible{background-size:100% 1px;outline:none}
.xp .xl__empty{margin:0;font-size:14px;line-height:1.5;color:var(--text-muted)}
@media(max-width:1100px){.xp .xgrid{grid-template-columns:minmax(0,1fr)}.xp .xcard{padding:28px}.xp .xp__back{margin-bottom:32px}}
@media(max-width:600px){.xp .xcard{padding:22px}.xp .xform__miles{flex-direction:column;align-items:stretch}.xp .xbtn--pink{height:56px}.xp .xform .panel__head h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){.xp :is(.xp__back,.xl__all,.xkind span,.xagain summary,.xbtn--pink){transition:none}}

.lp__period{margin:24px 0}.lp__periodform{display:flex;align-items:end;gap:12px;margin-bottom:16px}.lp__periodform .field{flex:1}.lp__period .actions{margin-bottom:12px}.lp__period .micro{margin:12px 0}.lp__period .disclose{margin-top:18px}.lp__scope{margin-bottom:14px}
@media(max-width:600px){.lp__periodform{flex-direction:column;align-items:stretch}.lp__period .actions{flex-wrap:wrap}}

/* The director's Agency Dashboard (views/agency.mjs, home.mjs), from George's Figma frame "Director Dashboard"
   (8 October). Sizes, gaps and colours are the file's Dev Mode values. As on the costing page, text is trimmed to its
   capitals and baseline the way Figma measures it, so each gap below is the file's own number. */
.ad{--line:#DBDBDB;--cream:#FFF9F4;--blue:var(--spring-blue);--sage:var(--spring-sage);color:var(--ink)}
.ad :is(.ad__head h1,.ad__head p,.ad__tab,.ad__chip,.ad__when,.ad__summary h2,.ad__words,.ad__card h3,.ad__card header p,.ad__fig,.ad__note,
  .ad__panelhead h2,.ad__panelhead p,.ad__who a,.ad__who em,.ad__name small,.ad__name b,.ad__money,.ad__status){text-box:trim-both cap alphabetic}
.ad__head{display:grid;gap:50px;margin-bottom:50px}
.ad :is(h1,h2,h3){margin:0}
.ad__head h1{font-size:60px;line-height:1;letter-spacing:.1em}
.ad__head p{font-size:16px;line-height:28px}

/* Agency, Clients, Team and Projects, as tabs on a line, then the period chips on the next. */
.ad__filters{margin-bottom:50px}
.ad__tabs{display:flex;gap:10px;align-items:flex-end;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
.ad__tab{position:relative;isolation:isolate;overflow:hidden;flex:none;padding:20px 30px;border:1px solid var(--line);border-bottom:0;border-radius:10px 10px 0 0;background:var(--cream);
  font:400 25px/27px var(--display);letter-spacing:.1em;text-transform:uppercase;color:var(--ink);text-decoration:none}
/* The open tab is navy, so which one you're on is never in doubt (Rufus, 8 October); the others fill pale pink from the bottom on hover. */
/* One navy highlight (app.js's slider) sits on the open tab, slides to whichever tab is hovered and settles back when the
   pointer leaves, so there's only ever one coloured tab. Without the script, the open tab is simply navy. */
.ad__tab[aria-current]{background:var(--ink);border-color:var(--ink);color:#fff}
.ad__tabs{position:relative}
.ad__tabs>.slider{border-radius:10px 10px 0 0;background:var(--ink)}
.ad__tabs.has-slider>.ad__tab{z-index:1;background:transparent;color:var(--ink);transition:color var(--slow) var(--ease),border-color var(--slow) var(--ease)}
.ad__tabs.has-slider>.ad__tab.is-lit{color:#fff;border-color:var(--ink)}
.ad__tabs.has-slider>.ad__tab::before{display:none}
.ad__tab::before,.ad__chip::before,.ad__project::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--fill,var(--pink-soft));transform:scaleY(0);transform-origin:bottom;transition:transform var(--slow) var(--ease)}
.ad__tab:not([aria-current]):is(:hover,:focus-visible)::before{transform:scaleY(1)}
.ad__tab:focus-visible,.ad__chip:focus-visible{outline:2px solid var(--pink);outline-offset:2px}
.ad__periods{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:20px 0;border-bottom:1px solid var(--line)}
.ad__chips{position:relative;display:flex;align-items:flex-start;gap:11px;flex-wrap:wrap}
/* One pink highlight (slider.mjs) sits on the chosen period, slides to whichever chip is hovered or focused and settles
   back when the pointer leaves, like the tabs above. Without the script the chosen chip is simply pink. */
.ad__chips>.slider{border-radius:10px}
.ad__chips.has-slider .ad__chip{z-index:1;background:transparent;border-color:var(--line);transition:border-color var(--slow) var(--ease)}
.ad__chips.has-slider .ad__chip.is-lit{border-color:var(--pink)}
.ad__chips.has-slider .ad__chip::before{display:none}
.ad__chip{position:relative;isolation:isolate;overflow:hidden;display:block;padding:15px;border:1px solid var(--line);border-radius:10px;background:transparent;
  font:500 14px/28px var(--body);color:#000;text-decoration:none;white-space:nowrap;cursor:pointer;list-style:none;--fill:var(--pink-soft)}
.ad__chip::-webkit-details-marker{display:none}
.ad__chip:is(:hover,:focus-visible)::before{transform:scaleY(1)}
.ad__chip[aria-current]{background:var(--pink);border-color:var(--pink)}
.ad__chip[aria-current]::before{display:none}
.ad__when{font:400 25px/27px var(--display);letter-spacing:.1em;text-transform:uppercase;color:var(--sage);white-space:nowrap}
.ad__custom{position:relative}
.ad__range{position:absolute;z-index:20;top:calc(100% + 8px);left:0;display:flex;align-items:flex-end;gap:12px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 12px 30px rgba(var(--ink-rgb),.12)}
.ad__range label{display:grid;gap:6px;font-size:12px;color:var(--text-muted)}

/* The summary down the left, the figures down the right. */
.ad__body{display:grid;grid-template-columns:300px minmax(0,1fr);gap:50px;align-items:start}
.ad__summary{display:grid;gap:33px}
.ad__summary h2{font:400 20px/27px var(--display);letter-spacing:.2em;color:var(--sage)}
.ad__words{font-size:16px;line-height:28px;color:#000}
.ad__words p+p{margin-top:28px}
.ad__lead{font-size:20px;line-height:29px;font-weight:500}
.ad__how{font-size:12px;line-height:20px;color:var(--text-muted)}
.ad__main{display:grid;gap:30px;min-width:0}
/* On the Team tab the card sits above time recorded, with the same gap the Financial tab's cards have. */
.ad--team>.ad__main{margin-bottom:30px}
.ad__figs{display:grid;gap:30px}
.ad__three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
/* Under the fees card: where they started, how far they moved, where they finished: left, middle and right. */
.ad__move{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.ad__move p{display:grid;gap:4px;margin:0;justify-items:center;text-align:center}
.ad__move p:first-child{justify-items:start;text-align:left}
.ad__move p:last-child{justify-items:end;text-align:right}
.ad__move span{font-size:16px;line-height:1.5;color:var(--text-muted)}
.ad__move b{font-size:32px;line-height:1.2;font-weight:600;color:#000;font-variant-numeric:tabular-nums}
.ad__card{display:flex;flex-direction:column;align-items:center;gap:20px;min-width:0;padding:30px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:center}
/* George's longest heading ("Hourly fee rate average") is a little wider than the card's inside; the file lets it run into the
   padding, so the headings and notes may too, rather than wrap. */
.ad__card header{display:grid;gap:10px;justify-items:center;width:calc(100% + 16px);margin-inline:-8px}
.ad__card h3{font:400 25px/27px var(--display);letter-spacing:.1em;text-transform:uppercase;color:var(--blue);text-wrap:balance}
.ad__card header p{font-size:12px;line-height:28px}
.ad__card header a{color:var(--text-pink)}
/* The figures are sized as a share of the figures column's width (Figma's 85px on its 928px column), so they shrink
   with the cards instead of spilling out of them. Line height 1 keeps them clear of the lines around them in browsers
   that don't trim text (the trim does the rest where it's supported). */
.ad__figs{container-type:inline-size}
.ad__fig{font-size:clamp(40px,9.16cqi,85px);line-height:1;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.ad__fig small{font-size:.235em;line-height:1}
.ad__note{margin-inline:-8px;font-size:16px;line-height:28px}
.ad__note b{font-weight:700}
.ad__none{color:var(--text-faint)}
.ad__card.is-muted .ad__note{color:var(--text-muted)}

/* Team performance and completed project performance: a card each, a heading over a ruled line, a row per person or project. */
.ad__panel{display:grid;gap:20px;padding:30px;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:0}
.ad__panelhead{display:grid;gap:15px;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:-20px}
.ad__panelhead h2{font-size:35px;line-height:1;letter-spacing:.1em;color:var(--pink)}
.ad__done .ad__panelhead h2{color:var(--sage)}
.ad__panelhead p{font-size:12px;line-height:28px}
.ad__cols{display:grid;grid-template-columns:230px repeat(4,minmax(0,1fr));padding:5px 0;border-bottom:1px solid var(--line);font:700 12px/28px var(--mono);color:var(--blue)}
.ad__cols span{text-align:right;white-space:nowrap}
.ad__cols span:first-child{text-align:left}
/* The sortable headings are real buttons that look like the plain headings; the arrow sits left of the label so the label
   keeps its place at the column's edge. */
.ad__sort{position:relative;margin:0;padding:0;border:0;background:none;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;white-space:nowrap}
.ad__sort::before{content:"";position:absolute;left:-13px;top:50%;width:7px;height:7px;margin-top:-4px;background:var(--pink);opacity:0;clip-path:polygon(50% 100%,0 0,100% 0);transition:opacity .15s var(--ease)}
.ad__sort.is-sorted::before{opacity:1}
/* The arrow shows for three seconds after a click (agency-detail.js restarts this on every click), fades away, and comes
   back while the pointer or keyboard focus is on its heading. Reduced motion keeps it showing. */
@media (prefers-reduced-motion:no-preference){
  .ad__sort.is-fresh::before{animation:ad-sort-fade 2s ease-in-out 3s forwards}
  .ad__sort.is-sorted:is(:hover,:focus-visible)::before{animation:none;opacity:1}
}
@keyframes ad-sort-fade{to{opacity:0}}
.ad__sort[data-dir="asc"]::before{clip-path:polygon(50% 0,0 100%,100% 100%)}
/* The pink underline slides in from the left on hover and focus, and out again to the right when it leaves. */
.ad__sort{background:linear-gradient(var(--pink),var(--pink)) no-repeat right calc(100% - 4px)/0 2px;transition:background-size .3s var(--ease)}
.ad__sort:is(:hover,:focus-visible){background-position:left calc(100% - 4px);background-size:100% 2px}
@media (prefers-reduced-motion:reduce){.ad__sort{transition:none}}
.ad__sort:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:2px}
.ad__rows{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.ad__person{display:grid;grid-template-columns:230px repeat(4,minmax(0,1fr));align-items:center;padding-bottom:10px;border-bottom:1px solid var(--line)}
.ad__who{display:flex;align-items:center;gap:20px;min-width:0}
.ad__rank{font:700 12px/28px var(--mono);color:#000;min-width:8px}
.ad__who .face{width:35px;height:35px;flex:none;border-radius:50%;object-fit:cover}
.ad__who>span{display:grid;gap:8px;min-width:0}
.ad__who a{font-size:16px;line-height:28px;font-weight:500;color:var(--ink);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* The name stays black on hover; only the pink underline draws in. Trimmed to its baseline, the name's box would cut off
   descenders and the underline, so the box reaches 6px lower (padding) without taking up any more room (negative margin). */
.ad__who a:is(:hover,:focus-visible){color:var(--ink)}
.ad__who :is(a,em){padding-bottom:6px;margin-bottom:-6px}
/* The link is only as wide as the name, so the underline runs the length of the name, not the column. */
.ad__who a{justify-self:start;max-width:100%}
.ad__who em{font:700 10px/28px var(--mono);font-style:normal;color:var(--pink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ad__val{font-size:23px;line-height:28px;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}
.ad__team--hol :is(.ad__cols,.ad__person){grid-template-columns:230px repeat(5,minmax(0,1fr))}
.ad__hol{display:grid;justify-items:end}
.ad__hol small{font:700 10px/16px var(--mono);color:var(--text-faint);white-space:nowrap}
.ad__cols--done{grid-template-columns:minmax(0,332px) 80px 58px 100px;justify-content:space-between;color:var(--pink)}
.ad__cols--done span{text-align:center}
.ad__cols--done span:first-child{text-align:left}
.ad__cols--done span:last-child{text-align:right}
.ad__rows--done{gap:20px}
.ad__project{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,332px) 80px 58px 100px;justify-content:space-between;align-items:center;padding-bottom:15px;border-bottom:1px solid var(--line);color:#000;text-decoration:none;--fill:var(--pink-soft)}
.ad__project::before{inset:-6px -10px 0;border-radius:6px 6px 0 0}
.ad__project:is(:hover,:focus-visible)::before{transform:scaleY(1)}
.ad__project:focus-visible{outline:none}
.ad__name{display:grid;gap:8px;min-width:0}
.ad__name small{font-size:12px;line-height:28px}
.ad__name b{font-size:16px;line-height:28px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ad__money{font-size:16px;line-height:28px;font-weight:500;text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}
.ad__money.is-below{color:var(--text-pink)}
.ad__status{display:block;text-align:center;padding:10px;border-radius:var(--radius-label);background:#212636;color:var(--cream);font-size:14px;line-height:27px}
.ad__empty{font-size:16px;line-height:28px;color:var(--text-muted)}

/* Entrances: the figure cards rise in turn as their numbers count up (reveal.js). */
.ad__figs.is-in .ad__card{animation:rv-rise .6s var(--ease) backwards;animation-delay:calc(var(--i,0) * 70ms)}

@media (max-width:1180px){
  .ad__body{grid-template-columns:minmax(0,1fr)}
  .ad__summary{max-width:680px}
}
@media (max-width:900px){
  .ad__three{grid-template-columns:minmax(0,1fr)}
  .ad__head h1{font-size:44px}
  .ad__person,.ad__cols:not(.ad__cols--done){grid-template-columns:minmax(0,1fr) repeat(4,52px)}
  .ad__who{gap:12px}
  /* "Logged Hrs" is wider than its 52px column: right-aligned in a flex box it spills left into the empty space after "Springer", not into "Spring". */
  .ad__cols:not(.ad__cols--done) span{display:flex;justify-content:flex-end}
  .ad__cols:not(.ad__cols--done) span:first-child{justify-content:flex-start}
  .ad__project,.ad__cols--done{grid-template-columns:minmax(0,1fr) 64px 44px;gap:0 10px}
  .ad__project .ad__status,.ad__cols--done span:last-child{display:none}
  .ad__val{font-size:18px}
  .ad__team--hol :is(.ad__cols,.ad__person){grid-template-columns:minmax(0,1fr) repeat(5,46px)}
  .ad__hol small{display:none}
  .ad__panel,.ad__card{padding:20px}
}
@media (max-width:600px){
  .ad__head{gap:24px;margin-bottom:32px}
  .ad__head h1{font-size:38px}
  .ad__filters{margin-bottom:32px}
  .ad__tab{padding:14px 18px;font-size:20px}
  .ad__when{font-size:20px}
  .ad__custom{flex-basis:100%}
  .ad__custom .ad__chip{display:inline-block}
  .ad__range{position:static;flex-wrap:wrap;margin-top:10px;box-shadow:none}
  .ad__body{gap:32px}
}

/* A director's Clients tab: the completed-project rate on its own, on the page rather than in a card. */
.perhour--bare{padding:0;background:none;border:0;box-shadow:none;border-radius:0}
.perhour--bare .rate-row{border:0}
/* A director's Projects tab leads with the live project cards; what needs a look and what's coming up follow. */
.hd--live-first .hd__live{margin-top:0}
.hd--live-first .hd__priorities{margin-top:56px}

/* Each Agency card is a button onto what's behind its figure: an arrow in the corner nudges up and right on hover, and the
   border darkens. The button covers the whole card; a link inside a card (Set a monthly budget) sits above it. */
.ad__card.has-more{position:relative;transition:border-color .3s var(--ease),box-shadow .3s var(--ease)}
.ad__more{position:absolute;inset:0;z-index:1;display:flex;justify-content:flex-end;align-items:flex-start;padding:14px;border:0;border-radius:10px;background:transparent;color:var(--text-faint);cursor:pointer}
.ad__card header a{position:relative;z-index:2}
.ad__arrow{transition:transform .35s var(--ease),color .35s}
.ad__card.has-more:hover,.ad__card.has-more:focus-within{border-color:var(--ink);box-shadow:0 10px 28px rgba(var(--ink-rgb),.08)}
.ad__card.has-more:is(:hover,:focus-within) .ad__arrow{transform:translate(3px,-3px);color:var(--ink)}
.ad__more:focus-visible{outline:2px solid var(--pink);outline-offset:3px}

/* The window behind a card. */
.ad__dialog{width:min(680px,calc(100vw - 32px));max-height:min(80vh,760px);padding:0;border:1px solid var(--line,#DBDBDB);border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 30px 80px rgba(var(--ink-rgb),.25)}
.ad__dialog::backdrop{background:rgba(var(--ink-rgb),.35)}
.ad__dialog[open]{display:flex;flex-direction:column;animation:rv-rise .4s var(--ease)}
.ad__dialog>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:30px 30px 20px;border-bottom:1px solid #DBDBDB}
.ad__dialog h2{margin:0 0 12px;font-size:35px;line-height:1;letter-spacing:.1em;color:var(--spring-blue)}
.ad__dialog header p{font-size:14px;line-height:1.6;color:var(--text-muted)}
.ad__close{flex:none;width:36px;height:36px;border:1px solid #DBDBDB;border-radius:50%;background:#fff;font-size:22px;line-height:1;color:var(--ink);cursor:pointer;transition:background .3s,border-color .3s}
.ad__close:hover,.ad__close:focus-visible{background:var(--pink-soft);border-color:var(--pink);outline:0}
.ad__dbody{overflow:auto;padding:10px 30px 20px}
.ad__dialog footer{padding:16px 30px 24px;border-top:1px solid #DBDBDB}
.ad__link{color:var(--text-pink);font-weight:500;text-decoration:none}
.ad__link:hover{text-decoration:underline}
.ad__list{margin:0;padding:0;list-style:none}
.ad__list>li>:is(a,div){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,190px) 110px 18px;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #EDE5E1;color:var(--ink);text-decoration:none}
.ad__list>li>a{position:relative;isolation:isolate}
.ad__list>li>a::before{content:"";position:absolute;inset:0 -12px;z-index:-1;border-radius:6px;background:var(--pink-soft);transform:scaleY(0);transform-origin:bottom;transition:transform var(--slow) var(--ease)}
.ad__list>li>a:is(:hover,:focus-visible)::before{transform:scaleY(1)}
.ad__list>li>a:focus-visible{outline:0}
.ad__list .ad__name small{font-size:12px;line-height:1.4;color:var(--text-muted)}
.ad__list .ad__name b{font-size:16px;line-height:1.4}
.ad__cell{display:grid;font-size:14px;color:var(--text-muted)}
.ad__cell small{font-size:12px}
.ad__cell--num{text-align:right;font-weight:600;color:var(--ink)}
.ad__cell.is-below{color:var(--text-pink)}
.ad__go{color:var(--text-faint);transition:transform .35s var(--ease)}
.ad__list a:hover .ad__go{transform:translate(2px,-2px);color:var(--ink)}
.ad__subhead{margin:22px 0 4px;font:700 12px/1 var(--mono);color:var(--pink)}
.ad__bars{display:grid;gap:12px;margin:10px 0;padding:0;list-style:none}
.ad__bars li{display:grid;grid-template-columns:180px minmax(0,1fr) 60px;align-items:center;gap:14px;font-size:14px}
.ad__bars i{display:block;height:10px;width:var(--w);border-radius:5px;background:var(--spring-blue)}
.ad__bars b{text-align:right}
@media (max-width:600px){
  .ad__list>li>:is(a,div){grid-template-columns:minmax(0,1fr) auto 14px}
  .ad__list .ad__cell:not(.ad__cell--num){display:none}
  .ad__bars li{grid-template-columns:110px minmax(0,1fr) 48px}
  .ad__dialog>header,.ad__dbody,.ad__dialog footer{padding-left:20px;padding-right:20px}
}

/* The Projects page as drawn on the whiteboard: the title, the dashboard's big tabs, then Mine / All beside the search. */
.project-stage{--line:#DBDBDB;--cream:#FFF9F4}
.pstage__title{margin:0 0 30px;font-size:60px;line-height:1;letter-spacing:.1em}
.pstage__intro{font-size:16px;line-height:1.75;color:var(--ink);margin:0 0 40px;max-width:900px}
.project-stage .ad__tab{text-box:trim-both cap alphabetic}
.pbar{display:flex;align-items:flex-start;gap:20px;margin:30px 0 50px}
.pbar .seg{flex:none}
.pbar .lsearch{flex:1;min-width:0;margin:0}
.pbar .lsearch__box{height:48px}
/* The saved page's filters sit on the search bar's line, level with it. */
.pbar .lsearch{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px}
.pbar .lsearch__more{flex-wrap:nowrap}
.pbar .lsearch__more :is(select.input,.btn){min-height:48px}
.pbar .lsearch__advanced .field{left:auto;right:0}
@media (max-width:640px){.pstage__title{font-size:38px;margin-bottom:20px}.pstage__intro{margin-bottom:28px}.pbar{flex-wrap:wrap}.pbar .lsearch{flex-basis:100%}.pbar .lsearch{grid-template-columns:minmax(0,1fr);gap:12px}.pbar .lsearch__more{flex-wrap:wrap}}
.project-stage .ad__tab{display:inline-flex;align-items:center;gap:14px}
.project-stage .ad__tabicon{flex:none}
@media (max-width:640px){.project-stage .ad__tabicon{width:20px;height:20px}.project-stage .ad__tab{gap:10px}}
/* Cost a project lives on the page now, not in the sidebar: level with the title, at the right. */
.pstage__head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:0 0 30px}
.pstage__head .pstage__title{margin:0}
.pstage__cost{flex:none}
/* Declined is set apart from the four stages: a small, quiet link at the far end of the tab row. Its arrow nudges on hover. */
.pstage__aside{flex:none;margin-left:auto;align-self:center;padding:0 4px 0 20px}
.pstage__declined{display:inline-flex;align-items:center;gap:6px;padding:6px 0;font-size:14px;color:var(--text-muted);text-decoration:none;white-space:nowrap;transition:color .35s}
.pstage__declined:is(:hover,:focus-visible){color:var(--ink)}
.pstage__declined[aria-current]{color:var(--ink);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.pstage__declined:focus-visible{outline:2px solid var(--pink);outline-offset:2px;border-radius:2px}
.pstage__arrow{display:inline-block;transition:transform .35s var(--ease)}
.pstage__declined:is(:hover,:focus-visible) .pstage__arrow{animation:nudge-right .9s ease-in-out infinite}
@keyframes nudge-right{0%,100%{translate:0 0}50%{translate:3px 0}}
@media (max-width:640px){.pstage__head{margin-bottom:20px}}

/* Springer Location: a week of everyone's days. Each day is a label in the colour Monday's board uses. */
.loc__slide{position:relative;overflow:hidden;isolation:isolate}
.loc__pane{min-width:0}
.loc__pane:not(.is-current){display:none}
.loc__weeksection + .loc__weeksection{margin-top:32px}
.loc__weeksection .loc__week{margin-bottom:16px}
.loc__weeksection>.grid-wrap{margin-bottom:0}
.loc tfoot th{font-weight:400;text-align:left;padding-left:16px}
.loc tfoot th .micro{font-size:11px}
.loc__coverage{font-weight:700;font-variant-numeric:tabular-nums}
.loc__coverage.is-short{color:#9B4930;background:#FFF3EB}
.loc__slide.is-carousel{display:flex;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
.loc__slide.is-carousel::-webkit-scrollbar{display:none}
.loc__slide.is-carousel>.loc__pane{display:block;flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always}
[data-loc-nav][aria-disabled="true"]{opacity:.4;cursor:default}
.loc__weekbar{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.loc__week{font-size:30px;letter-spacing:.08em;line-height:1.1;margin:0}
.loc__hint{font-size:14px;color:var(--text-muted);display:flex;align-items:center;gap:8px;user-select:none}
.loc__arrow{display:inline-block;font-size:20px;line-height:1;color:var(--ink)}
@media (hover:none){.loc__hint{display:none}}
@media (prefers-reduced-motion:no-preference){.loc__arrow--l{animation:loc-nudge-l 1.4s var(--ease) 3 .6s}.loc__arrow--r{animation:loc-nudge-r 1.4s var(--ease) 3 .6s}
.loc__hint:hover .loc__arrow--l{animation:loc-nudge-l .9s ease-in-out infinite}.loc__hint:hover .loc__arrow--r{animation:loc-nudge-r .9s ease-in-out infinite}
@keyframes loc-nudge-l{0%,60%,100%{translate:0 0}30%{translate:-5px 0}}@keyframes loc-nudge-r{0%,60%,100%{translate:0 0}30%{translate:5px 0}}}
.loc{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}
.loc .loc__col-who{width:230px}
.loc th,.loc td{padding:9px 8px;border-bottom:1px solid var(--border-soft);text-align:center;vertical-align:middle}
.loc thead th{background:var(--bg-sunk);font-size:13px;font-weight:400;color:var(--text-muted);line-height:1.25;border-bottom:1px solid var(--border)}
.loc thead th:first-child{border-top-left-radius:11px;text-align:left;padding-left:16px}
.loc thead th:last-child{border-top-right-radius:11px}
.loc tbody tr:last-child>*{border-bottom:0}
.loc__date{font-variant-numeric:tabular-nums}
.loc tbody .is-today{background:rgba(232,166,177,.1)}
.loc tr.is-me>*{background:var(--bg-sunk)}
.loc tr.is-me>.is-today{background:var(--pink-soft)}
.loc td{height:52px}
.loc tbody th.loc__who{display:table-cell;text-align:left;font-weight:400;padding-left:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.loc__person{display:flex;align-items:center;gap:12px;min-width:0}
.loc__person .face{flex:none}
.loc__person span:not(.face){overflow:hidden;text-overflow:ellipsis}
/* Every day is the same size, set or not, so the grid reads as a grid. */
.loc__chip,.loc__pick{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;max-width:150px;height:34px;margin:0 auto;padding:0 10px;border-radius:var(--radius-chip);border:0;font:inherit;font-size:14px;line-height:1;text-align:center;white-space:nowrap}
.loc__pick{position:relative;cursor:pointer;background:#fff;color:var(--text-muted);box-shadow:inset 0 0 0 1px var(--border)}
.loc__pick.has-status{box-shadow:none}
.loc__pick:hover{filter:brightness(.96)}
.loc__pick:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.loc__pick:disabled{opacity:.6;cursor:progress}
.loc__chip:disabled{opacity:1;cursor:default}
.loc__chip--leave:disabled{cursor:help}
.loc__blank{color:var(--text-faint);background:transparent}
.loc__status{min-height:22px;margin-top:10px}
.loc__menu{position:fixed;z-index:60;width:0;height:0;margin:0;padding:0;list-style:none;pointer-events:none}
.loc__menu[hidden]{display:none}
.loc__scrim{position:fixed;inset:0;z-index:59;background:rgba(37,39,53,.52);opacity:0;pointer-events:none;transition:opacity .2s var(--ease)}
.loc__scrim.is-on{opacity:1;pointer-events:auto}
.loc__opt{position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;height:34px;padding:0 14px;border-radius:var(--radius-chip);font-size:14px;line-height:1;white-space:nowrap;cursor:pointer;user-select:none;pointer-events:auto;will-change:transform,opacity;box-shadow:0 8px 18px rgba(37,39,53,.2)}
.loc__menu.is-closing .loc__opt{pointer-events:none}
.loc__opt--none{background:#fff;color:var(--text-muted);box-shadow:inset 0 0 0 1px var(--border),0 8px 18px rgba(37,39,53,.2)}
.loc__opt:hover{filter:brightness(.96)}
.loc__opt:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
/* The choice the day has now stays in the middle, so it needs no tick. */
@media (max-width:760px){.loc .loc__col-who{width:150px}.loc{min-width:640px}.grid-wrap{overflow-x:auto}.loc__week{font-size:24px}}
@media (prefers-reduced-motion:no-preference){.loc__pick{transition:background-color .2s var(--ease),color .2s var(--ease)}}
html:has(.loc){overscroll-behavior-x:none}
/* Both weeks in one table (note #246): ten narrower days, a week label over each five, a rule between them. */
.loc--two .loc__col-who{width:190px}
.loc--two th,.loc--two td{padding:6px 4px}
.loc--two td{height:42px}
.loc--two thead tr.loc__weeks th{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--ink);padding-top:10px;padding-bottom:4px;border-bottom:0}
.loc--two thead tr.loc__weeks th.loc__who-head{vertical-align:middle;border-bottom:1px solid var(--border)}
.loc--two thead tr:not(.loc__weeks) th{font-size:12px;border-top-left-radius:0;border-top-right-radius:0}
.loc--two thead tr.loc__weeks th:last-child{border-top-right-radius:11px}
.loc--two .loc__chip,.loc--two .loc__pick{height:30px;padding:0 4px;font-size:12.5px;max-width:120px}
.loc--two .loc__pick-text{line-height:1.4;overflow:hidden;text-overflow:ellipsis}
.loc--two tbody th.loc__who{padding-left:12px}
.loc--two .loc__person{gap:8px}
/* The day row starts with Monday, not Springer, so it isn't the left-aligned name column. */
.loc--two thead tr:not(.loc__weeks) th:first-child{text-align:center;padding-left:4px}
/* Where the weeks split (Rufus, 9 Nov): a gap before the second week, and a bracket under each week's label spanning
   its five days, in the Who's in bar's brace style. */
.loc--two .loc__split{padding-left:18px}
.loc--two thead tr.loc__weeks th[colspan]{position:relative;padding-bottom:14px}
.loc--two thead tr.loc__weeks th[colspan]::after{content:"";position:absolute;left:8px;right:6px;bottom:3px;height:7px;border:1.5px solid rgba(37,39,53,.3);border-bottom:0;border-radius:7px 7px 0 0}
.loc--two thead tr.loc__weeks th.loc__split::after{left:22px}
@media (max-width:760px){.loc--two{min-width:860px}.loc--two .loc__col-who{width:130px}}

/* Dashboard client totals, expanding to the projects in the selected period. */
.client-groups__filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;margin:20px 0 12px}
.client-groups__filters .field{min-width:220px;flex:1}
.client-groups__filters>.btn{min-height:44px}
.client-groups>.micro{margin-bottom:24px;max-width:820px}
.client-groups__client summary{display:grid;grid-template-columns:minmax(0,1fr) 180px 160px;gap:24px;align-items:center;cursor:pointer;list-style:none}
.client-groups--mine .client-groups__client summary{grid-template-columns:minmax(0,1fr) minmax(180px,260px) 180px 160px}
.client-groups__client summary::-webkit-details-marker{display:none}
.client-groups__client summary>span{display:grid;gap:4px}
.client-groups__client summary>span:first-child b::before{content:'›';display:inline-block;margin-right:10px;transition:transform .2s}
.client-groups__client[open] summary>span:first-child b::before{transform:rotate(90deg)}
.client-groups__client[open] summary{margin-bottom:20px}
/* The client followed from a link elsewhere: a navy outline that stays, and a pink wash that fades. */
/* The client map (home.mjs, client-map.mjs; ported from Spring Pulse). One colour for every dot: position is the only
   thing it encodes. The medians are dashed and named, the floor is one line, and nothing is shaded. */
.cmap{margin:0 0 28px;padding:24px 24px 18px;overflow-x:clip}
/* Folds like a client row: the whole heading line is the toggle, the chevron turns. */
.cmap__head{display:flex;align-items:center;gap:16px;cursor:pointer;list-style:none}
.cmap__head::-webkit-details-marker{display:none}
.cmap__head h2{margin:0}
.cmap__found{margin-left:auto;color:var(--text-pink);font-weight:700}
.cmap__chev{flex:none;display:grid;place-items:center;width:28px;height:28px;margin-left:auto;border-radius:var(--radius-button);color:var(--text-muted);transition:background .2s var(--ease),color .2s var(--ease)}
.cmap__found:not([hidden])+.cmap__chev{margin-left:0}
.cmap__chev::before{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .3s var(--ease)}
.cmap:not([open]) .cmap__chev::before{transform:translateY(1px) rotate(-135deg)}
.cmap__head:is(:hover,:focus-visible) .cmap__chev{background:var(--pink);color:var(--ink)}
.cmap__head:focus-visible{outline:0}
.cmap:not([open]){padding-bottom:24px}
.cmap__bar{display:flex;margin-top:14px}
.cmap__views a{padding:6px 14px;font-size:14px}
.cmap__about{max-width:820px;margin:14px 0 0}
@media (prefers-reduced-motion:no-preference){.cmap__view:not([hidden]){animation:client-projects-in .25s var(--ease)}}
@media (prefers-reduced-motion:no-preference){.cmap[open]>.cmap__body{animation:client-projects-in .25s var(--ease)}}
.cmap__frame{display:grid;grid-template-columns:56px minmax(0,1fr);grid-template-rows:auto 28px;margin-top:22px}
.cmap__y{position:relative}
.cmap__yt{position:absolute;right:10px;transform:translateY(50%);font-size:12px;color:var(--text-faint);font-variant-numeric:tabular-nums;white-space:nowrap}
.cmap__plot{position:relative;height:clamp(300px,30vw,440px);border-left:1px solid var(--border);border-bottom:1px solid var(--border)}
.cmap__x{grid-column:2;position:relative}
.cmap__xt{position:absolute;top:8px;transform:translateX(-50%);font-size:12px;color:var(--text-faint);font-variant-numeric:tabular-nums;white-space:nowrap}
.cmap__xt:first-child{transform:none}
.cmap__xt:last-child{transform:translateX(-100%)}
.cmap__grid{position:absolute;inset:0;pointer-events:none}
.cmap__gx{position:absolute;top:0;bottom:0;width:1px;background:rgba(var(--ink-rgb),.05)}
.cmap__gy{position:absolute;left:0;right:0;height:1px;background:rgba(var(--ink-rgb),.05)}
.cmap__mx{position:absolute;top:0;bottom:0;border-left:1px dashed rgba(var(--ink-rgb),.3)}
.cmap__my{position:absolute;left:0;right:0;border-top:1px dashed rgba(var(--ink-rgb),.3)}
.cmap__mx span,.cmap__my span{position:absolute;padding:2px 6px;border-radius:4px;background:var(--bg-card);font-size:11.5px;font-style:normal;color:var(--text-muted);white-space:nowrap}
/* Labels sit at the empty ends of their lines: dots crowd the top right (more hours, more fees), not the bottom or the left. */
.cmap__mx span{bottom:6px;left:6px}
.cmap__my span{left:6px;bottom:4px}
.cmap__floor{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.cmap__floor line{stroke:var(--pink-deep);stroke-width:1.5;opacity:.8}
.cmap__floorlabel{position:absolute;transform:translate(8px,calc(-100% - 6px));padding:1px 5px;border-radius:4px;background:var(--bg-card);font-size:11.5px;font-weight:700;color:var(--text-pink);white-space:nowrap}
.cmap__floorlabel.is-left{transform:translate(18px,-50%)}
/* The link is a 24px target with the dot drawn inside it, so the dot can grow without its figures growing too. */
.cmap__dot{position:absolute;z-index:1;width:24px;height:24px;transform:translate(-50%,50%);border-radius:50%;text-decoration:none;color:inherit}
.cmap__dot::before{content:"";position:absolute;inset:6px;border-radius:50%;background:var(--spring-blue);box-shadow:0 0 0 2px var(--bg-card)}
.cmap__dot:is(:hover,:focus-visible,.is-on){z-index:5;outline:none}
.cmap__dot:is(:hover,:focus-visible,.is-on)::before{background:var(--ink);transform:scale(1.45)}
.cmap.is-focus .cmap__dot:not(.is-on)::before{opacity:.28}
/* A search lights up the clients that match and fades the rest, which stay for comparison. Matches carry their name. */
.cmap.has-search:not(.is-focus) .cmap__dot:not(.is-match)::before{opacity:.22}
.cmap.has-search .cmap__dot.is-match{z-index:4}
.cmap.has-search .cmap__dot.is-match::before{background:var(--pink-deep);transform:scale(1.3);box-shadow:0 0 0 2px var(--bg-card),0 0 0 5px rgba(165,87,112,.25)}
.cmap__name{position:absolute;left:22px;top:50%;transform:translateY(-50%);padding:1px 6px;border-radius:4px;background:var(--bg-card);font-size:12px;font-weight:700;color:var(--text-pink);white-space:nowrap;opacity:0;pointer-events:none}
.cmap__dot.is-left .cmap__name{left:auto;right:22px}
.cmap.has-search .cmap__dot.is-match .cmap__name{opacity:1}
.cmap__dot:is(:hover,:focus-visible) .cmap__name{opacity:0}
.cmap__dot:focus-visible::before{box-shadow:0 0 0 2px var(--bg-card),0 0 0 4px var(--pink)}
.cmap__tip{position:absolute;left:20px;bottom:20px;display:grid;gap:6px;width:max-content;max-width:260px;padding:10px 12px;border-radius:8px;background:var(--ink);
  box-shadow:0 10px 30px rgba(var(--ink-rgb),.22);font-size:13px;color:rgba(255,255,255,.75);font-variant-numeric:tabular-nums;opacity:0;pointer-events:none;transform:translateY(4px)}
.cmap__tip.is-left,.cmap__dot.is-left .cmap__tip{left:auto;right:20px}
.cmap__dot.is-below .cmap__tip{bottom:auto;top:20px;transform:translateY(-4px)}
.cmap__tip b{font-size:14px;line-height:1.3;color:#fff}
.cmap__facts{display:grid;gap:2px}
.cmap__facts span:nth-child(-n+2){color:#fff}
.cmap__go{font-size:12px;font-weight:700;color:var(--pink)}
.cmap__dot:is(:hover,:focus-visible) .cmap__tip{opacity:1;transform:none}
/* On a touch screen a tap opens the client, whose row shows the same figures. */
@media (hover:none){.cmap__tip{display:none}}
.cmap__axes{display:flex;flex-wrap:wrap;gap:4px 20px;margin:12px 0 0}
.cmap__empty{margin:22px 0 0}
.cmap__stale{margin:10px 0 0;color:var(--text-warn)}
/* What the project map covers: one sentence in the Agency tab's window, shown on switching to Projects. */
.cmap__dialog{width:min(520px,calc(100vw - 32px))}
.cmap__dialog>header{align-items:center;border-bottom:0;padding:26px 24px 26px 30px}
.cmap__dialog header p{margin:0;font-size:16px;color:var(--ink)}
/* The Monday projects left off, by reason (client-map.mjs). */
.cmap__dialog header p+p{margin-top:10px;font-size:14px;color:var(--text-muted)}
.cmap__axes span:last-child{color:var(--text-faint)}
@media (prefers-reduced-motion:no-preference){
  .cmap__dot::before{animation:cmap-dot-in .5s var(--ease) backwards;animation-delay:calc(.15s + var(--i) * 16ms);transition:transform .28s var(--ease),background-color .2s ease,opacity .2s ease}
  .cmap__tip{transition:opacity .16s ease,transform .22s var(--ease)}
}
@keyframes cmap-dot-in{from{transform:scale(0);opacity:0}}
@media (max-width:900px){
  .cmap{padding:16px 14px 14px}
  .cmap__frame{grid-template-columns:44px minmax(0,1fr)}
  .cmap__yt{right:6px;font-size:11px}
  .cmap__xt{font-size:11px}
  .cmap__plot{height:300px}
  .cmap__tip{max-width:200px}
}
.client-groups__client[data-target]{box-shadow:0 0 0 2px var(--ink);animation:client-target 1.8s var(--ease)}
@keyframes client-target{0%,25%{background:var(--pink-soft)}}
@media(prefers-reduced-motion:no-preference){
  .ce__action svg{transition:transform .18s var(--ease)}
  .ce__action:is(:hover,:focus-visible):not(:disabled) svg{transform:translateX(2px)}
  .ce__textaction:is(:hover,:focus-visible):not(:disabled) svg{transform:translateY(2px)}
  .ce__textaction svg{transition:transform .18s var(--ease)}
  .client-groups__client[open]>.scroll{animation:client-projects-in .18s var(--ease)}
  @keyframes client-projects-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
}
@media(max-width:760px){.client-groups__client summary,.client-groups--mine .client-groups__client summary{grid-template-columns:minmax(0,1fr) auto;gap:12px}.client-groups__client summary>span:first-child,.client-groups__client summary>.client-groups__hours{grid-column:1 / -1}.client-groups__filters .field{min-width:0;flex-basis:100%}}

/* Rounded search bars; searchable dropdowns retain their form-field styling. */
.input[type="search"]{border-radius:var(--radius-search);padding-left:18px;padding-right:18px}
.snav__search{border-radius:var(--radius-search)}
.search-suggest{position:relative;min-width:0}
.search-suggest__list{z-index:40;color:var(--ink);text-align:left;font-weight:400}
.combo__list{border-radius:16px;padding:8px;box-shadow:0 12px 32px rgba(var(--ink-rgb),.12)}
.combo__opt{border-radius:10px;padding:10px 12px;transition:background-color .15s var(--ease);overflow-wrap:anywhere}
.combo__opt small{line-height:1.4}
.pfind__search:has(.search-suggest__list:not([hidden])){z-index:3}
/* In the navy Projects panel the suggestions are navy too, like the dark menus (.smenu--dark). */
.pfind__search .search-suggest__list{background:#2A2E41;border-color:rgba(255,255,255,.14);box-shadow:0 18px 44px rgba(0,0,0,.34);color:#fff;color-scheme:dark}
.pfind__search .combo__opt small{color:rgba(255,255,255,.6)}
.pfind__search .combo__opt:hover,.pfind__search .combo__opt.is-active{background:rgba(255,255,255,.09)}
.pfind__search .combo__note{color:rgba(255,255,255,.6)}
.client-groups__filters .field:has(input[type="search"]){flex:1;min-width:min(340px,100%)}
@media(prefers-reduced-motion:no-preference){
  .combo__list:not([hidden]){animation:search-suggestions-in .16s var(--ease)}
  @keyframes search-suggestions-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
}
@media(max-width:760px){.combo__list{max-height:240px}.combo__opt{min-height:44px}}
/* Every other dropdown opens the same list (select-menu.mjs), pinned to the window so no panel clips it.
   The costing rate menus (.cdd) take the same shape. */
.smenu{position:fixed;top:0;right:auto;z-index:1000;width:max-content;max-width:min(440px,calc(100vw - 16px));color:var(--ink);text-align:left;font:400 15px/1.35 var(--body)}
.smenu .combo__opt[aria-selected="true"],.cdd__list li[aria-selected="true"]{font-weight:600}
.smenu .combo__opt[aria-disabled="true"]{color:var(--text-faint,#9a9396);cursor:default;background:none}
.smenu__group{padding:10px 12px 4px;font-weight:600}
.cdd__list{border-color:var(--border);border-radius:16px;padding:8px;box-shadow:0 12px 32px rgba(var(--ink-rgb),.12)}
.cdd__list li{border-radius:10px;padding:10px 12px;font-size:15px;transition:background-color .15s var(--ease)}
@media(prefers-reduced-motion:no-preference){.cdd__list:not([hidden]){animation:search-suggestions-in .16s var(--ease)}}
html.embed .combo__list{background:#232738;border-color:var(--border);box-shadow:0 16px 40px rgba(0,0,0,.4)}
html.embed .combo__opt:hover,html.embed .combo__opt.is-active{background:rgba(255,255,255,.09)}
.smenu--dark{background:#2A2E41;border-color:rgba(255,255,255,.1);box-shadow:0 18px 44px rgba(0,0,0,.34);color:#fff;color-scheme:dark}
.smenu--dark .smenu__group{color:rgba(255,255,255,.6)}
.smenu--dark .combo__opt:hover,.smenu--dark .combo__opt.is-active{background:rgba(255,255,255,.09)}
.smenu--dark .combo__opt[aria-selected="true"]{background:rgba(255,255,255,.14)}

/* Scope agreements keep George's warm page, white paper and Spring headings. */
.scope-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:28px 0}.scope-state{display:block;color:var(--muted,#696977);font-size:14px;margin-top:5px}
.agreement-document{background:white;border:1px solid var(--line,#dedbda);border-radius:8px;padding:clamp(24px,5vw,72px);max-width:1000px;margin:0 auto 32px;line-height:1.75;font-size:16px;overflow-wrap:anywhere}
.agreement-document header{margin-bottom:38px}.agreement-document header img{height:auto;width:120px}.agreement-document header p{margin:8px 0}
.agreement-document h1,.agreement-document .scope-document-title{font-family:var(--display,LeagueGothic),'League Gothic',sans-serif;color:var(--pink,#e8a5b3);font-size:clamp(36px,4vw,60px);line-height:1.05;text-transform:uppercase;letter-spacing:1px;margin:26px 0;font-weight:400}
.agreement-document h2{font-family:inherit;font-size:22px;text-transform:none;letter-spacing:0;margin:32px 0 12px;line-height:1.4;font-weight:700}.agreement-document h3{font-family:inherit;font-size:17px;margin:14px 0 8px}.agreement-document p{margin:12px 0 20px}.agreement-document dl{margin:30px 0}.agreement-document dt{font-weight:700}.agreement-document dd{margin:0 0 12px}.agreement-reference{color:var(--muted,#696977);font-size:14px}
.scope-deliverable-edit{position:relative;padding:24px 0;border-bottom:1px solid #e5e1df}.scope-deliverable-edit .field{margin-bottom:16px}.scope-deliverable-edit textarea{resize:vertical;min-height:100px}.scope-remove{border:0;background:none;text-decoration:underline;color:var(--muted,#696977);font:inherit;font-size:14px;padding:8px 0;cursor:pointer}.scope-remove:hover{color:var(--ink,#252735)}
.agreement-editor [data-add-deliverable]{margin-top:20px}.scope-signers{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:28px}.scope-signers .field{margin-bottom:16px}.scope-terms-edit{border-top:1px solid #dedbda;padding:20px 0;margin:24px 0}.scope-terms-edit summary{cursor:pointer;font-weight:700}.scope-terms-edit textarea{font-size:14px;line-height:1.6}.scope-copy-warning{color:#8b463e;font-size:14px;background:#fcf2e6;padding:16px;border-radius:6px}.scope-reviewed{display:flex;align-items:flex-start;gap:12px;margin:24px 0;line-height:1.6}.scope-reviewed input{width:18px;height:18px;flex:none;margin-top:4px;accent-color:#252735}.scope-send{max-width:1000px;margin:0 auto 32px}.scope-send form{margin:16px 0}.scope-history{list-style:none;padding:0;margin:0}.scope-history li{display:flex;gap:24px;padding:16px 0;border-bottom:1px solid #e5e1df}.agreement-anchor{display:none}.agreement-signature{border-top:1px solid #ddd;padding-top:16px}.agreement-signature-line{height:55px;border-bottom:1px solid #aaa}.agreement-terms{border-top:1px solid #ddd;margin-top:40px;padding-top:24px}
.scope-routes{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:1000px;margin:0 auto 24px}
.scope-route{display:flex;flex-direction:column;align-items:flex-start;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-card);padding:24px}
.scope-route--here{border-top:3px solid var(--pink)}.scope-route--elsewhere{background:var(--bg-sunk)}
.scope-route summary{display:flex;flex-direction:column;align-items:flex-start;flex:1;width:100%;list-style:none;cursor:pointer}.scope-route summary::-webkit-details-marker{display:none}
.scope-route__eyebrow{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#696977)}
.scope-route h2{margin:6px 0 8px;font-size:24px}.scope-route p{margin:0 0 20px;color:var(--muted,#696977);line-height:1.5}
.scope-route__action{margin-top:auto}.scope-route summary:focus-visible{outline:none}.scope-route summary:focus-visible .scope-route__action{outline:2px solid var(--pink-deep);outline-offset:2px}
.scope-route__open,.scope-route--elsewhere[open] .scope-route__closed{display:none}.scope-route--elsewhere[open] .scope-route__open{display:inline}
.scope-routes:has(.scope-route--elsewhere[open]) .scope-route--here{display:none}.scope-route--elsewhere[open]{grid-column:1/-1}
.scope-route--elsewhere[open] summary{display:grid;grid-template-columns:1fr auto;column-gap:20px;align-items:start}.scope-route--elsewhere[open] summary>*{grid-column:1}.scope-route--elsewhere[open] .scope-route__action{grid-column:2;grid-row:1/span 3;margin:0}
.scope-route form{width:100%;border-top:1px solid var(--border);padding-top:20px}.scope-route__fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.scope-route__fields .field{margin:0}
@media(max-width:700px){.scope-routes,.scope-route__fields{grid-template-columns:1fr}.scope-toolbar{align-items:flex-start;flex-direction:column}.scope-signers{grid-template-columns:1fr}.scope-toolbar .actions{flex-wrap:wrap}.scope-history li{gap:14px;flex-wrap:wrap}.agreement-document{padding:24px}.scope-page .head h1{overflow-wrap:anywhere}}

/* Quiet section markers, with a label revealed beside the marker being used. */
.scope-section-target{scroll-margin-top:35vh}
.scope-selector{position:fixed;right:18px;top:50%;transform:translateY(-50%);z-index:40;display:flex;flex-direction:column;align-items:flex-end;max-height:calc(100dvh - 48px);padding:8px 0}
.scope-selector a{position:relative;display:flex;align-items:center;justify-content:flex-end;width:52px;min-height:24px;text-decoration:none;color:var(--ink);outline-offset:2px}
.scope-selector__mark{display:block;width:20px;height:1px;background:var(--ink);opacity:.3;border-radius:0}
.scope-selector a[aria-current] .scope-selector__mark{width:32px;opacity:1}
.scope-selector a:is(:hover,:focus-visible) .scope-selector__mark{width:32px;opacity:1}
.scope-selector a[aria-current]:is(:hover,:focus-visible) .scope-selector__mark{width:40px}
.scope-selector__label{position:absolute;right:48px;white-space:nowrap;background:var(--ink);color:white;border-radius:999px;padding:7px 14px;font-size:14px;line-height:1.4;pointer-events:none;opacity:0;transform:translateX(5px)}
.scope-selector a:is(:hover,:focus-visible) .scope-selector__label{opacity:1;transform:none}
@media(min-width:1001px){.scope-page{padding-right:40px}}
@media(prefers-reduced-motion:no-preference){.scope-selector__mark{transition:width .25s var(--ease),opacity .25s var(--ease)}.scope-selector__label{transition:opacity .2s var(--ease),transform .25s var(--ease)}}
@media(max-width:1000px){
  .scope-selector{position:sticky;top:8px;transform:none;flex-direction:row;align-items:center;gap:4px;overflow-x:auto;max-height:none;padding:8px;margin:0 0 24px;background:var(--bg-page);border:1px solid var(--border);border-radius:12px}
  .scope-selector a{flex:none;width:auto;min-height:40px;border-radius:999px;padding:8px 12px;white-space:nowrap;font-size:14px}
  .scope-selector__label{position:static;padding:0;background:none;color:inherit;opacity:1;transform:none;pointer-events:auto}
  .scope-selector__mark{display:none}
  .scope-selector a[aria-current]{background:var(--ink);color:white}
}
@media print{.scope-selector{display:none}.scope-page{padding-right:0}}
/* Team wallchart. Leave remains clearly labelled as example data. */
.wc{--wc-person:260px;--wc-day:40px;--wc-holiday:var(--spring-pink);--wc-other:var(--spring-blue);--wc-weekend:#FCF1E8;--wc-line:#F3E4DA;--wc-today:rgba(232,166,177,.16)}
.wc .head{align-items:center;margin-bottom:14px}
.wc__eyebrow{font:700 12px var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--pink-deep);margin:0 0 8px}
.wc__badge{font:700 12px var(--mono);white-space:nowrap;padding:8px 12px;border-radius:var(--radius-label);background:var(--pink-soft);color:var(--pink-deep)}
.wc__notice{margin:0 0 32px;color:var(--text-muted);font-size:16px;max-width:680px}
.wc__tools{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.wc__navigation{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.wc__navigation h2{font:400 22px var(--body);text-transform:none;letter-spacing:0;margin:0 12px 0 6px}
.wc__arrow{padding:0;width:44px;min-height:44px;display:grid;place-items:center}
.wc__filters{display:flex;gap:10px;flex:0 1 410px;min-width:0}
.wc__filters .input{border-radius:var(--radius-search);min-width:0;min-height:42px;padding:9px 16px}
.wc__filters input{flex:1 1 190px;width:190px}
.wc__select{position:relative;flex:0 0 210px;min-width:0}
.wc__filter{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;cursor:pointer;font:inherit}
.wc__filter svg{flex:none;transition:transform .25s var(--ease)}
.wc__filter[aria-expanded="true"] svg{transform:rotate(180deg)}
.wc__select-menu{position:absolute;right:0;top:calc(100% + 8px);width:100%;padding:6px;border:1px solid var(--border);border-radius:12px;background:var(--bg-card);box-shadow:0 12px 28px rgba(var(--ink-rgb),.12);z-index:20}
.wc__select-menu[hidden]{display:none}
.wc__select-menu button{display:block;width:100%;min-height:44px;padding:10px 12px;text-align:left;border:0;border-radius:8px;background:transparent;color:var(--ink);font:inherit;white-space:nowrap;cursor:pointer}
.wc__select-menu button[aria-selected="true"]{background:var(--pink-soft);font-weight:600}
.wc__select-menu button:is(:hover,:focus-visible){background:var(--bg-sunk);outline:2px solid var(--pink-deep);outline-offset:-2px}
@media(max-width:480px){.wc__filters{flex-wrap:wrap}.wc__filters input,.wc__select{flex:1 1 100%;width:100%}}
@media(prefers-reduced-motion:reduce){.wc__filter svg{transition:none}}
.wc__meta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.wc__meta p{font:700 12px var(--mono);margin:0;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}
.wc__legend{display:flex;flex-wrap:wrap;gap:16px;list-style:none;padding:0;margin:0;color:var(--text-muted);font-size:13px}
.wc__legend li{display:flex;align-items:center;gap:6px;white-space:nowrap}
.wc__key{display:inline-block;width:16px;height:12px;border-radius:3px;background:var(--wc-holiday)}
.wc__key--other{background:var(--wc-other)}
.wc__key--holiday{background:var(--wc-holiday)}
.wc__key--half{background:linear-gradient(90deg,var(--wc-holiday) 50%,var(--bg-card) 50%);box-shadow:inset 0 0 0 1px var(--wc-holiday)}
.wc__key--pending{background:repeating-linear-gradient(135deg,var(--bg-card) 0 3px,var(--pink-soft) 3px 6px);border:1px dashed var(--pink-deep)}
.wc__key--off{background:var(--wc-weekend);box-shadow:inset 0 0 0 1px var(--wc-line)}
.wc__scroll{position:relative;overflow-x:auto;min-height:200px;padding-bottom:8px;background:transparent;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--spring-pink) transparent}
.wc__scroll:focus-visible{outline:2px solid var(--pink-deep);outline-offset:3px}
.wc__table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:calc(var(--wc-person) + var(--wc-days,31) * var(--wc-day));margin:0}
.wc__table th,.wc__table td{border:0;padding:14px 0;text-align:center;font:400 13px var(--body);letter-spacing:0;text-transform:none;vertical-align:middle}
.wc__table thead th{position:relative;background:var(--bg-page);z-index:1;padding:26px 0 10px;height:auto}
.wc__table .wc__person{position:sticky;left:0;width:var(--wc-person);padding:14px 16px 14px 12px;text-align:left;background:var(--bg-page);z-index:2;box-shadow:-6px 0 0 var(--bg-page)}
.wc__table .wc__corner{z-index:4;vertical-align:bottom;color:var(--pink-deep);font:700 12px var(--mono);text-transform:uppercase;letter-spacing:.04em}
.wc__identity{display:flex;align-items:center;gap:12px;min-width:0}
.wc__identity .face{flex:none;border-radius:50%;object-fit:cover}
.wc__face{position:relative;flex:none;display:inline-flex}
.wc__left{position:absolute;top:-6px;left:-8px;min-width:24px;padding:2px 5px;border-radius:999px;background:var(--spring-pink);color:var(--ink);font:700 11px/1.2 var(--mono);text-align:center;box-shadow:0 0 0 2px var(--bg-page)}
.wc__name{display:block;font-size:16px;line-height:1.2}
.wc__name small{display:inline-block;font-size:11px;margin-left:6px;color:var(--pink-deep)}
.wc__table td.wc__today{background:var(--wc-today)}
.wc__date>span{display:block;line-height:22px}
.wc__date>span:first-child{width:30px;height:30px;line-height:30px;margin:0 auto;color:var(--text-sage);font-size:14px}
.wc__date--today>span:first-child{border-radius:50%;color:var(--ink);font-weight:700;box-shadow:inset 0 0 0 1.5px var(--pink-deep);background:var(--pink-soft)}
.wc__date small{display:block;font:700 10px var(--mono);position:absolute;left:6px;top:4px;white-space:nowrap;color:var(--pink-deep);text-transform:uppercase;letter-spacing:.06em}
.wc__table .wc__month-start{box-shadow:inset 1px 0 0 var(--wc-line)}
.wc__day{display:block;width:100%;height:36px;line-height:36px;font:400 13px/36px var(--body);color:var(--ink);background:transparent;border:0;padding:0;border-radius:0}
.wc__day--off{background:var(--wc-weekend);color:var(--text-faint)}
.wc__day--bank{background:repeating-linear-gradient(135deg,rgba(120,136,135,.22) 0 4px,transparent 4px 8px);color:var(--text-sage)}
.wc__key--bank{background:repeating-linear-gradient(135deg,rgba(120,136,135,.45) 0 3px,#fff 3px 6px);box-shadow:inset 0 0 0 1px rgba(120,136,135,.45)}
button.wc__day{cursor:pointer;--leave-color:var(--wc-holiday);--leave-text:var(--ink)}
button.wc__day--other{--leave-color:var(--wc-other);--leave-text:#fff}
button.wc__day--holiday,button.wc__day--private{--leave-color:var(--wc-holiday);--leave-text:var(--ink)}
.wc__day--full{background:var(--leave-color);color:var(--leave-text);font-weight:600}
.wc__day--am{background:linear-gradient(90deg,var(--leave-color) 50%,transparent 50%)}
.wc__day--pm{background:linear-gradient(90deg,transparent 50%,var(--leave-color) 50%)}
.wc__day--am span,.wc__day--pm span,.wc__day--pending span{background:var(--bg-card);color:var(--ink);padding:2px 3px;border-radius:3px}
/* Runs of leave and weekends read as soft pills: round where a run starts and ends. */
.wc__table :is(th,td:not(:has(>.wc__day--full)))+td>.wc__day--full,.wc__table :is(th,td:not(:has(>.wc__day--off)))+td>.wc__day--off{border-top-left-radius:8px;border-bottom-left-radius:8px}
.wc__table td:not(:has(+td>.wc__day--full))>.wc__day--full,.wc__table td:not(:has(+td>.wc__day--off))>.wc__day--off{border-top-right-radius:8px;border-bottom-right-radius:8px}
.wc__day--pending{background:repeating-linear-gradient(135deg,var(--bg-card),var(--bg-card) 4px,var(--pink-soft) 4px,var(--pink-soft) 7px);border:1px dashed var(--pink-deep);color:var(--ink)}
.wc__day--pending.wc__day--am,.wc__day--pending.wc__day--pm{background-size:50% 100%;background-repeat:no-repeat}
.wc__day--pending.wc__day--pm{background-position:right}
button.wc__day:hover{box-shadow:inset 0 0 0 2px var(--ink)}
button.wc__day:focus-visible{outline:2px solid var(--pink-deep);outline-offset:2px;position:relative;z-index:5}
.wc__mine{user-select:none;-webkit-user-select:none}
.wc__mine td[data-date]>span.wc__day{cursor:cell}
.wc__mine td[data-date]>span.wc__day:hover{box-shadow:inset 0 0 0 1.5px var(--pink-deep);border-radius:8px}
.wc__mine td.wc__picked>.wc__day{background:var(--pink-soft);color:var(--ink);font-weight:600;box-shadow:inset 0 1.5px 0 var(--pink-deep),inset 0 -1.5px 0 var(--pink-deep);border-radius:0}
.wc__mine td:not(.wc__picked)+td.wc__picked>.wc__day,.wc__mine th+td.wc__picked>.wc__day{border-top-left-radius:8px;border-bottom-left-radius:8px;box-shadow:inset 1.5px 1.5px 0 var(--pink-deep),inset 0 -1.5px 0 var(--pink-deep)}
.wc__mine td.wc__picked:not(:has(+td.wc__picked))>.wc__day{border-top-right-radius:8px;border-bottom-right-radius:8px;box-shadow:inset -1.5px 1.5px 0 var(--pink-deep),inset 0 -1.5px 0 var(--pink-deep)}
.wc__mine td:not(.wc__picked)+td.wc__picked:not(:has(+td.wc__picked))>.wc__day,.wc__mine th+td.wc__picked:not(:has(+td.wc__picked))>.wc__day{box-shadow:inset 0 0 0 1.5px var(--pink-deep)}
.wc__table .wc__empty{height:180px;font-size:16px;text-align:left;padding-left:24px;color:var(--text-muted)}
.wc__hint{font-size:13px;color:var(--text-muted);margin:14px 0 0}
.wc__dialog{border:1px solid var(--border);border-radius:var(--radius-card);padding:28px;width:min(440px,calc(100% - 32px));max-height:80vh;overflow:auto;color:var(--ink);background:var(--bg-card);box-shadow:0 20px 80px #25273526}
.wc__dialog::backdrop{background:rgba(37,39,53,.35)}
.wc__dialog h2{font:400 36px var(--display);text-transform:uppercase;margin:0 0 24px}
.wc__detail-person{display:flex;gap:12px;align-items:center;margin-bottom:22px}
.wc__details{display:grid;grid-template-columns:80px 1fr;gap:12px;margin:0 0 24px}
.wc__details dt{color:var(--text-muted)}
.wc__details dd{margin:0}
.wc__dialog form{margin-top:24px}
.wc__book form{margin:0;display:grid;gap:16px}
.wc__book{width:min(520px,calc(100% - 32px))}
.wc__book h2{margin-bottom:4px}
.wc__book-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wc__book-error{color:var(--pink-deep);min-height:1em;margin:0}
.wc__book-error:empty{display:none}
.wc__book-actions{display:flex;justify-content:flex-end;gap:10px}
.wc__manage{display:grid;gap:12px;margin-top:20px;padding-top:20px;border-top:1px solid var(--border-soft)}
.wc__manage .wc__book-actions{justify-content:flex-start}
.wc__confirm{display:grid;gap:10px;padding:14px;border-radius:8px;background:var(--pink-soft)}
.wc__confirm p{margin:0}
.wc__confirm[hidden]{display:none}
@media(max-width:480px){.wc__book-grid{grid-template-columns:1fr}}
@media(max-width:760px){
  .wc{--wc-person:168px;--wc-day:44px}
  .wc .head{gap:10px;align-items:flex-start;flex-direction:column}
  .wc__notice{margin-bottom:24px}
  .wc__navigation{gap:8px}
  .wc__navigation h2{order:-1;flex:1 0 100%;margin:0 0 6px;font-size:20px}
  .wc__filters{flex:1 1 100%}
  .wc__table .wc__person{padding-left:12px;padding-right:8px}
  .wc__identity{gap:8px}
  .wc__identity .face{width:32px!important;height:32px!important;font-size:14px!important}
  .wc__name{font-size:14px}
  .wc__legend{gap:10px;font-size:12px}
  .wc__day{height:44px;line-height:44px}
}

/* The login screen, to George's Figma frame "Login Screen" (173:4625). */
.door{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:40px 16px;box-sizing:border-box;background:#212636;color:#FFF9F4}
.door__in{display:flex;flex-direction:column;align-items:center;gap:30px;width:100%;max-width:432px}
.door__logo{display:block;width:107px;height:auto}
.door__tag{margin:0;font:400 28px/22px var(--display);letter-spacing:2.8px;text-transform:uppercase;text-align:center}
.door__form{display:flex;flex-direction:column;align-items:center;gap:20px;width:100%}
.door__input{box-sizing:border-box;width:100%;height:62px;padding:0 20px;border:1px solid #E8A6B1;border-radius:var(--radius-field);background:transparent;color:#FFF9F4;font:400 16px/28px var(--body);color-scheme:dark}
.door__input::placeholder{color:rgba(217,217,217,.4);opacity:1}
.door__input:focus{outline:2px solid #E8A6B1;outline-offset:2px}
.door__input:-webkit-autofill{-webkit-text-fill-color:#FFF9F4;box-shadow:inset 0 0 0 100px #212636;caret-color:#FFF9F4}
.door__input--code{font-size:24px;letter-spacing:.35em;text-align:center;font-variant-numeric:tabular-nums}
.door__go{min-height:54px;padding:0 20px;border:0;border-radius:var(--radius-button);background:#788887;color:#FFF9F4;font-size:16px;font-weight:500;
  transition:background-color var(--slow) var(--ease),color var(--slow) var(--ease)}
.door__go::before{content:none}
.door__legal{margin:0;font-size:13px;opacity:.7}.door__legal a{color:inherit}
.legal h2{font-size:18px;margin:20px 0 4px}.legal p{margin:0 0 8px}.legal ul{margin:0 0 8px;padding-left:20px;display:grid;gap:6px}
.door__go:hover,.door__go:focus-visible{background:#E8A6B1;color:#212636}
@media(prefers-reduced-motion:reduce){.door__go{transition:none}}
.door__go:focus-visible{outline:2px solid #E8A6B1;outline-offset:2px}
.door__note{margin:0;font-size:15px;line-height:1.5;text-align:center;color:rgba(255,249,244,.75)}
.door__note strong{color:#FFF9F4}
.door__note--error{padding:12px 16px;border:1px solid #E8A6B1;border-radius:10px;color:#FFF9F4}
.door__note--dev{padding:10px 12px;border:1px dashed rgba(255,249,244,.3);border-radius:6px;font:14px/1.4 ui-monospace,monospace}
.door__again{display:flex;gap:20px;margin:0}
.door__link{padding:0;border:0;background:none;color:rgba(255,249,244,.6);font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.door__link:hover,.door__link:focus-visible{color:#FFF9F4}

/* Project tabs are the Projects page's stage tabs (.ad__tab: sliding navy highlight, pink fill from the bottom), set in
   George's Figma type for a project: Faricy 16 medium, 20px by 25px. */
.project-tabs{--line:#DBDBDB;--cream:#FFF9F4;margin:0 0 50px}
.project-tabs .ad__tab{padding:20px 25px;font:500 16px/1 var(--body);letter-spacing:0;text-transform:none}
@media(max-width:700px){.project-tabs{margin-bottom:32px}.project-tabs .ad__tab{padding:14px 16px;font-size:15px}}

/* A live project's page (views/live.mjs), to George's Figma "Project View / Approved + Live" (164:1536). */
.ls__crumb{color:#E8A6B1;font-size:14px}
.ls__id{display:grid;margin-bottom:50px}
.ls__idrow{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:30px}
.ls__label{margin:0 0 12px;font:700 16px/1 var(--mono);color:#788887}
.ls__client{font:400 25px/1 var(--display);letter-spacing:2.5px;text-transform:uppercase;color:#212636;text-decoration:none;transition:color .3s var(--ease)}
.ls__client:hover,.ls__client:focus-visible{color:var(--pink-deep)}
.ls__pill{display:inline-flex;align-items:center;gap:10px;padding:15px;border-radius:var(--radius-label);background:#50B484;color:#FFF9F4;font:700 14px/1 var(--body)}
.ls__pill i{width:9px;height:9px;border-radius:50%;background:#FFF9F4}
.ls h1{margin:0 0 16px;font:400 clamp(40px,4.4vw,60px)/1 var(--display);letter-spacing:.1em;color:#212636;overflow-wrap:anywhere}
.ls__late{font-size:14px;font-weight:700;color:#C8362D}
.ls__tab[hidden]{display:none}

/* Status: the two rings, then the three lines beside them. */
.ls__top{--ring:clamp(220px,20vw,350px);display:grid;grid-template-columns:var(--ring) var(--ring) minmax(280px,1fr);gap:30px;align-items:center;margin-bottom:50px}
.ls__ring{--ring-color:#E8A6B1;box-sizing:border-box;position:relative;padding:10px;width:var(--ring);aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;border-radius:50%;color:#212636;text-align:center;text-transform:uppercase}
.ls__ring--hours{--ring-color:#788887}
.ls__ring.is-late{--ring-color:#C8362D}
.ls__ringchart{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);pointer-events:none}
.ls__ringchart circle{fill:none;stroke-width:10}
.ls__ringtrack{stroke:var(--track)}
.ls__ringfill{stroke:var(--ring-color);stroke-linecap:butt}
.ls__ring > b{font:700 calc(var(--ring) * .286)/1 var(--body);letter-spacing:-.03em}
.ls__ring > span{font:400 25px/1 var(--display);letter-spacing:2.5px}
.ls__ring > .import-time{position:relative;width:100%;font:700 clamp(12px,1.3vw,16px)/1.25 var(--body);letter-spacing:0;text-transform:none}
.ls__ring > .ls__ringdate{margin-top:-4px;font:400 18px/1 var(--body);letter-spacing:0;text-transform:none;color:#5E6170}
/* "Deadline" in the first ring changes the date: plain until hovered, then a pink underline slides in, as on names (.person-link). */
.ls__move{display:inline-block;position:relative}
.ls__move > summary{display:inline;padding-bottom:4px;font-weight:inherit;color:inherit;text-decoration:none;background:linear-gradient(var(--pink),var(--pink)) 0 100%/0 2px no-repeat;transition:background-size .25s var(--ease)}
.ls__move > summary:hover,.ls__move > summary:focus-visible,.ls__move[open] > summary{background-size:100% 2px;outline:none}
.ls__move .lp__moveform{left:50%;right:auto;top:calc(100% + 16px);transform:translateX(-50%);font:400 15px/1.4 var(--body);letter-spacing:0;text-transform:none}
@media(prefers-reduced-motion:reduce){.ls__move > summary{transition:none}}
.ls__cards{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0}
.ls__card{display:grid;padding:30px;background:#fff;border:1px solid #DBDBDB;border-radius:10px;color:#212636;text-decoration:none;transition:border-color .3s var(--ease),box-shadow .3s var(--ease)}
.ls__card:hover,.ls__card:focus-visible{border-color:#CFC6C4;box-shadow:0 12px 30px rgba(var(--ink-rgb),.08);outline:0}
.ls__card:focus-visible{box-shadow:0 0 0 2px var(--ink)}
.ls__cardrow{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:20px}
.ls__cardlabel{display:flex;align-items:center;gap:15px;font:400 25px/1 var(--display);letter-spacing:2.5px;text-transform:uppercase}
.ls__cardlabel img{flex:none;width:17px;height:19px}
.ls__card--meetings .ls__cardlabel{color:#5B739F}
.ls__card--management .ls__cardlabel{color:#788887}
.ls__card--expenses .ls__cardlabel{color:#E1B67A}
.ls__fig{white-space:nowrap}
.ls__fig b{font:700 31px/1 var(--body)}
.ls__fig span{font:400 20px/1 var(--body);color:#838383}
.ls__bar{display:block;height:5px;border-radius:3px;background:var(--track);overflow:hidden}
.ls__bar span{display:block;height:100%;background:#788887;border-radius:inherit}
.ls__bar.is-over span{background:#C8362D}
.lp__cards.is-in .ls__card{animation:rv-rise .6s var(--ease) backwards;animation-delay:calc(var(--i,0) * 80ms)}

/* Task status and Team status, side by side. */
.ls__grid{display:grid;grid-template-columns:minmax(0,710fr) minmax(0,560fr);gap:50px;align-items:start;margin-bottom:50px}
.ls__tab{container-type:inline-size}
@container(max-width:1100px){.ls__grid{grid-template-columns:minmax(0,1fr);gap:24px}}
.ls__panel{display:grid;gap:20px;padding:30px;background:#fff;border:1px solid #DBDBDB;border-radius:10px}
.ls__panelhead{display:grid;gap:15px;padding-bottom:20px;border-bottom:1px solid #DBDBDB}
.ls__title{margin:0;font:400 35px/1 var(--display);letter-spacing:3.5px;text-transform:uppercase}
.ls__title--sage{color:#788887}
.ls__title--pink{color:#E8A6B1}
.ls__sub{margin:0;font-size:12px;line-height:14px;color:#212636}
.ls__panel .tasks{border-top:0;gap:10px}
.ts__row{display:grid;grid-template-columns:23px minmax(0,1fr);gap:20px;align-items:start;border-bottom:1px solid #DBDBDB}
.ts__row .task{border-bottom:0}
.ts__tickform{display:contents}
.ts__tick{display:grid;place-items:center;width:23px;height:23px;margin-top:12px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;transition:background-color .3s var(--ease)}
span.ts__tick{cursor:default}
.ts__tick img{display:block;width:23px;height:23px;transition:filter .3s var(--ease)}
button.ts__tick:hover img{filter:brightness(.7)}
.ts__tick:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.ts__row.is-done .ts__tick,span.ts__tick[data-done]{background:#788887}
.ts__row.is-done .ts__tick img,span.ts__tick[data-done] img{filter:brightness(0) invert(1)}
.ts__row.is-done .task__name{color:#788887;text-decoration:line-through;text-decoration-thickness:1px}
.ls__panel .task > summary{grid-template-columns:minmax(120px,1.3fr) auto minmax(48px,1fr) auto 14px;gap:20px;padding:10px 0}
.ls__panel .task__name{font-weight:500;font-size:16px;color:#000;overflow-wrap:break-word;hyphens:auto}
.ls__panel .task__fig{font-size:16px;font-weight:500;color:#000}
.ls__panel .task__fig b{font-size:16px;font-weight:700}
.ls__panel .task__fig small{font-size:13px}
.ls__panel .task__bar .bar{height:5px;border-radius:3px}
.ls__panel .task__bar .bar__fill{background:#788887;border-radius:3px}
.ls__panel .task__left{font-size:16px;color:#000}
.ls__panel .task__chev{width:14px;height:14px;border:0;transform:none;transition:transform .35s var(--ease)}
.ls__panel .task > summary:hover .task__chev{transform:translateY(2px)}
.ls__panel .task[open] .task__chev{transform:rotate(180deg)}
.ls__panel .crew{display:table;width:100%;border-collapse:collapse}
.crew__scroll{min-width:0;max-width:100%;overflow-x:auto}
.crew__scroll .crew{min-width:0}
.crew__scroll:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.crew__missing{font-size:12px;font-weight:400;color:var(--text-muted)}
.crew__scroll .crew__fig{padding-left:8px !important}
.crew__scroll .crew__who{gap:12px}
.ls__panel .crew th{padding:5px 0;border-bottom:1px solid #DBDBDB;font:700 12px/28px var(--mono);color:#5B739F;text-align:left}
.ls__panel .crew th.r,.ls__panel .crew td.r{text-align:right}
.ls__panel .crew .crew__logged{text-align:center;white-space:nowrap;padding-left:0 !important;padding-right:0}
.ls__panel .crew td{padding:10px 0;border-bottom:1px solid #DBDBDB;vertical-align:middle}
.ls__panel .crew__row{display:table-row}
.crew__rank{width:28px;font:700 12px var(--mono);color:#000}
.ls__panel .crew__who{display:flex;align-items:center;gap:20px;min-width:0}
.ls__panel .crew__who .face{width:35px;height:35px;flex:none}
.ls__panel .crew__who > span{display:grid;gap:4px;min-width:0}
.ls__panel .crew__who .person-link{font-weight:500;font-size:16px;color:#212636}
.crew__title{font:700 10px/1.2 var(--mono);color:#E8A6B1}
.crew__fig{padding-left:16px !important;font:700 23px/1 var(--body);color:#212636;white-space:nowrap}
.ls__panel .crew__row.is-off .crew__fig{color:var(--text-muted)}
.ls__value{margin-bottom:24px}
.ls__value .lp__money{grid-template-columns:repeat(2,minmax(0,1fr));text-align:left}
.ls__value .lp__money > div{justify-items:start}
.ls__soon{display:grid;gap:12px;padding:30px;max-width:640px}
.ls__soon p{margin:0}
.ls__card--rate:hover{border-color:#DBDBDB;box-shadow:none}
.ls__card--rate .ls__cardlabel{color:#212636}
.ls__card--rate .ls__bar span{background:#5B739F}
.ls__card--rate.is-falling .ls__bar span{background:#E1B67A}
.ls__card--rate.is-below .ls__bar span{background:#C8362D}
.ls__ratenote{padding-top:12px;font:400 14px/1.4 var(--body);color:#838383}
.ls__card--rate.is-below .ls__ratenote{color:#C8362D}
/* Billing Schedule tab: one table that is read and edited in place (billing-editor.mjs). Each cell holds its text
   (.bill__v) and its input (.bill__e); the panel's data-mode says which shows. */
.bill{--line:#DBDBDB;--dots:#788887;--hint:#838383;--cream:#FFF9F4;display:grid;gap:24px;container:bill / inline-size}
.bill__sum{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0}
.bill__sum dd{margin:0}
.bill__forecast-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:10px}
.bill__forecast-table{border-collapse:collapse;width:100%;min-width:850px;font-size:14px}
.bill__forecast-table th,.bill__forecast-table td{padding:14px 16px;text-align:left;border-bottom:1px dashed var(--dots)}
.bill__forecast-table thead,.bill__forecast-table tfoot{background:var(--cream);font:700 14px/1.4 var(--mono)}
.bill__forecast-table td.num{text-align:right;white-space:nowrap}
.bill__forecast-table td:nth-child(3){white-space:nowrap}
.bill__forecast-table tfoot th,.bill__forecast-table tfoot td{border-bottom:0}
.bill__sum dd.num{font:700 26px/1.2 var(--body);color:#212636}
.bill__gap{margin:0;padding:12px 16px;border-radius:8px;background:var(--spring-cream);font-size:14px}
.bill[data-mode="view"] :is(.bill__e,.bill__helper,[data-edit-only]){display:none}
.bill[data-mode="edit"] :is(.bill__v,[data-view-only]){display:none}
.bill__top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.bill__count{margin:0}
.bill__actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.bill__actions .btn svg{flex:none}
.bill__actions [aria-expanded="true"]{border-color:var(--ink)}
/* The table: labels once, in a header row set like the costing page's Fee Items. */
.bill__grid{--c-grip:0px;--c-tick:0px;--c-for:0px;--c-due:120px;--c-amt:130px;--c-end:0px;border:1px solid var(--line);border-radius:10px;background:#fff}
.bill__grid.has-ticks{--c-tick:40px;--c-end:170px}
.bill__grid.has-months{--c-for:130px}
.bill[data-mode="edit"] .bill__grid{--c-grip:30px;--c-due:176px;--c-amt:130px;--c-end:44px}
.bill[data-mode="edit"] .bill__grid.has-months{--c-for:180px}
.bill__head,.bill__row{display:grid;grid-template-columns:var(--c-grip) var(--c-tick) minmax(0,1fr) var(--c-for) var(--c-due) var(--c-amt) var(--c-end);align-items:center;padding-inline:8px}
.bill__grid:not(.has-months) :is(.bill__head,.bill__row){grid-template-columns:var(--c-grip) var(--c-tick) minmax(0,1fr) var(--c-due) var(--c-amt) var(--c-end)}
.bill__head{padding-block:18px;border-radius:9px 9px 0 0;background:var(--cream);border-bottom:1px dashed var(--dots);font:700 14px/1 var(--mono);color:var(--ink)}
.bill__head>span{padding-inline:8px}
.bill__hnum{text-align:right}
.bill__row{position:relative;min-height:60px;padding-block:10px;border-bottom:1px dashed var(--dots);background:#fff}
.bill__row:last-child{border-bottom:0;border-radius:0 0 9px 9px}
.bill__cell{min-width:0;padding-inline:8px}
.bill__cell--grip{overflow:hidden;padding-inline:0}
.bill__cell--amount .bill__v,.bill__cell--amount .bill__money{text-align:right}
.bill__cell--amount .bill__v{display:block}
.bill__rch{display:flex;flex-direction:column;align-items:stretch;gap:2px;margin-top:6px;font-size:11px;color:var(--hint,#838383);text-align:right}
.bill__rch .bill__in{width:100%;box-sizing:border-box;min-width:0;padding:4px 8px;font-size:13px;text-align:right}
.bill__rch-v{display:block;font-size:11px;color:var(--hint,#838383)}
.bill__cell--end .bill__v{display:block;font-size:14px;text-align:right}
.bill__cell--line .bill__v{font-weight:500;overflow-wrap:anywhere}
.bill__row.is-billed .bill__v{color:#838383}
/* The line's billing status, the one the Forecast board shows (coloured as it is there). */
.bill__status{display:inline-flex;align-items:center;max-width:100%;min-height:28px;padding:0 10px;border-radius:6px;background:var(--status-color,#838383);font:500 13px/1 var(--body);color:#fff;white-space:nowrap}
.bill__status--none{background:none;color:#838383;padding:0}
select.bill__status--in{width:100%;padding-right:26px;border:0;cursor:pointer;-webkit-appearance:none;appearance:none;background:var(--status-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 8px center/12px no-repeat}
select.bill__status--in:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
select.bill__status--in:disabled{opacity:.6;cursor:progress}
select.bill__status--in option{background:#fff;color:var(--ink)}
.bill__billed{display:block;margin-top:4px;font-size:13px;color:#838383}
.bill__row:hover{background:var(--bg-sunk)}
.bill__row.is-dragging{z-index:5;background:#fff;box-shadow:0 10px 30px rgba(var(--ink-rgb),.14)}
.bill__grip{cursor:grab;touch-action:none}
.bill__row.is-dragging .bill__grip{cursor:grabbing}
.bill[data-mode="view"] .bill__grip{display:none}
.bill[data-mode="edit"] .bill__tick{opacity:.35;pointer-events:none}
.bill__tick{display:grid;place-items:center;width:21px;height:21px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;transition:background-color .3s var(--ease)}
span.bill__tick{cursor:default}
.bill__tick img{display:block;width:21px;height:21px}
button.bill__tick:hover img{filter:brightness(.7)}
.bill__tick:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.bill__tick[aria-pressed="true"]{background:#788887}
.bill__tick[aria-pressed="true"] img{filter:brightness(0) invert(1)}
.bill__late{color:#C8362D;font-weight:700}
.bill__month{display:inline-block;padding:1px 8px;border-radius:var(--radius-label);background:var(--spring-cream);font-size:12px;color:#5B5B5B}
/* The inputs, like the costing page's. */
.bill__in{width:100%;min-width:0;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:var(--radius-field);background:#fff;font:500 15px/1 var(--body);color:var(--ink)}
.bill__in::placeholder{font-weight:400;color:var(--hint)}
.bill__in:focus,.bill .datef__text:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(232,166,177,.45)}
.bill select.bill__in{padding-right:34px;-webkit-appearance:none;appearance:none;cursor:pointer;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23252735' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center}
.bill__in--num{text-align:right;font-variant-numeric:tabular-nums}
.bill__in[aria-invalid="true"]{border-color:#C9A13A;box-shadow:0 0 0 2px rgba(201,161,58,.3)}
.bill__money{position:relative;display:block}
.bill__money>span{position:absolute;left:12px;top:50%;translate:0 -50%;color:var(--hint);pointer-events:none}
.bill__money .bill__in{padding-left:26px}
.bill .datef__text{height:40px;min-height:40px;padding:0 10px;border-radius:var(--radius-field);border-color:var(--line);font-size:15px}
.bill .datef__pick{width:40px;min-height:40px;border-color:var(--line)}
.bill__x{display:grid;place-items:center;width:34px;height:34px;margin-left:auto;padding:0;border:0;border-radius:50%;background:transparent;color:var(--hint);cursor:pointer;transition:background-color .2s var(--ease),color .2s var(--ease)}
.bill__x:hover,.bill__x:focus-visible{background:var(--pink-soft);color:var(--ink);outline:0}
.bill[data-mode="view"] .bill__x{display:none}
/* Adding instalments and stepping the months. */
.bill__helper{display:grid;gap:12px;padding:16px 18px;border-radius:10px;background:var(--spring-cream)}
.bill__helper p{margin:0}
.bill__hgrid{display:flex;flex-wrap:wrap;align-items:end;gap:14px}
.bill__f{display:grid;gap:6px}
.bill__f>span{font:700 12px/1 var(--mono)}
.bill__f .bill__in[type="number"]{width:90px}
.bill__f .datef__text{width:9em;flex:none}
.bill__f select.bill__in{width:140px}
.bill__f .bill__in--num{width:130px}
.bill__hmsg:empty{display:none}
.bill__undo{display:flex;align-items:center;gap:10px;margin:0;padding:8px 8px 8px 14px;border-radius:8px;background:var(--pink-soft);font-weight:600;color:var(--ink)}
.bill__undo[hidden],.bill__error[hidden]{display:none}
.bill__error{grid-column:1 / -1;margin:0;padding:10px 14px;border:1px solid var(--signal-warn);border-radius:8px;background:var(--warn-ground);font-weight:600;color:var(--text-warn)}
.bill[data-empty] [data-bill-cancel]{display:none}
/* The running total, kept in view while you edit a long schedule, with the way out beside it. */
.bill__bar{position:sticky;bottom:0;z-index:6;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 24px;align-items:center;margin-top:16px;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.96);box-shadow:0 -10px 24px -14px rgba(var(--ink-rgb),.3)}
@supports (backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px)){.bill__bar{background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}}
.bill__recon{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;min-width:0}
.bill__recon p{margin:0}
.bill__tot{font-size:15px}
.bill__tot b{font-size:18px}
.bill__meter{flex:1 1 120px;max-width:260px;height:8px;border-radius:4px;background:var(--track);overflow:hidden}
.bill__meter span{display:block;height:100%;border-radius:4px;background:var(--pink);transition:width .35s var(--ease),background-color .35s var(--ease)}
.bill__say{font-size:14px;font-weight:600;color:var(--text-warn)}
.bill__recon[data-state="all"] .bill__meter span{background:var(--good)}
.bill__recon[data-state="all"] .bill__say{color:var(--text-good)}
.bill__fix .bill__arrow{flex:none}
.bill__info{display:grid;gap:6px;min-width:0}
.bill__end,.bill__warn{margin:0}
.bill__end:empty{display:none}
/* Only when the amounts differ from what the project is worth; saving is never held up by it. */
.bill__warn{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;color:var(--text-warn);font-weight:600}
.bill__warn .bill__fix{min-height:30px;padding:3px 10px;font-size:13px;font-weight:400}
.bill__save{grid-column:2;display:flex;gap:10px;align-items:center}
@media(prefers-reduced-motion:no-preference){
  .bill__fix:is(:hover,:focus-visible) .bill__arrow{animation:nudge-right .9s ease-in-out infinite}
  .bill__row.is-new{animation:bill-new 1.4s var(--ease)}
  @keyframes bill-new{from{background:var(--pink-soft)}to{background:#fff}}
}
.is-scrolling .bill__row,.is-scrolling .bill__x{pointer-events:none}
@media(max-width:760px){.bill__sum{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.bill.ls__panel{padding:20px 16px}}
@container bill (max-width:780px){
  /* On a phone each line is a small card, with the labels back on the fields. Reading: the name and amount, then the
     month and date. Editing: name, date, month and amount stacked, the grip down the left and the remove button in the corner. */
  .bill__head{display:none}
  .bill__cell{padding-inline:0}
  .bill__grid,.bill[data-mode="edit"] .bill__grid{--c-grip:0px;--c-tick:0px;--c-end:0px;border:0;background:none}
  .bill__grid.has-ticks{--c-tick:34px}
  .bill__row{margin-bottom:12px;padding:14px 12px;border:1px solid var(--line);border-radius:10px;align-items:start}
  .bill__row:last-child{border-radius:10px;border-bottom:1px solid var(--line)}
  .bill__cell--grip{grid-area:grip}.bill__cell--tick{grid-area:tick}.bill__cell--line{grid-area:line}.bill__cell--for{grid-area:for}.bill__cell--due{grid-area:due}.bill__cell--amount{grid-area:amount}.bill__cell--end{grid-area:end}
  .bill[data-mode="view"] .bill__row,.bill[data-mode="view"] .bill__grid:not(.has-months) .bill__row{grid-template-columns:var(--c-tick) minmax(0,1fr) auto;grid-template-areas:"tick line amount" "tick due due" "tick end end";row-gap:2px}
  .bill[data-mode="view"] .bill__grid.has-months .bill__row{grid-template-areas:"tick line amount" "tick for due" "tick end end"}
  .bill[data-mode="view"] .bill__cell--due{display:flex;align-items:baseline;gap:8px;justify-self:end}
  .bill[data-mode="view"] .bill__grid:not(.has-months) .bill__cell--due{justify-self:start}
  .bill[data-mode="view"] .bill__cell--end .bill__v:empty{display:none}
  .bill[data-mode="view"] .bill__cell--end .bill__v{text-align:left}
  .bill[data-mode="edit"] .bill__row,.bill[data-mode="edit"] .bill__grid:not(.has-months) .bill__row{position:relative;grid-template-columns:30px minmax(0,1fr) minmax(0,1fr);grid-template-areas:"grip line line" "grip due due" "grip amount amount";gap:12px 10px}
  .bill[data-mode="edit"] .bill__grid.has-months .bill__row{grid-template-columns:30px minmax(0,.9fr) minmax(0,1.1fr);grid-template-areas:"grip line line" "grip due due" "grip for amount";gap:12px 10px}
  .bill[data-mode="edit"] .bill__cell--tick{display:none}
  .bill[data-mode="edit"] .bill__cell--grip{overflow:visible}
  .bill[data-mode="edit"] .bill__cell--line{margin-right:36px}
  .bill[data-mode="edit"] .bill__cell--end{position:absolute;top:10px;right:10px;padding:0}
  .bill[data-mode="edit"] .bill__e[data-label]::before{content:attr(data-label);display:block;margin-bottom:6px;font:700 12px/1 var(--mono);color:var(--ink)}
  .bill__bar{grid-template-columns:1fr;gap:8px;bottom:8px;padding:12px 14px}
  .bill__save{grid-column:1;grid-row:auto;justify-content:flex-end}
  .bill__tot{flex:1 1 100%}
  .bill__meter,.bill__end{display:none}
}
@media(prefers-reduced-motion:reduce){.bill__tick,.bill__x,.bill__meter span{transition:none}}

@media(max-width:1200px){
  .ls__top{grid-template-columns:var(--ring) var(--ring);justify-content:start}
  .ls__cards{grid-column:1 / -1}
  .ls__grid{grid-template-columns:minmax(0,1fr);gap:24px}
}
@media(max-width:700px){
  .ls__top{--ring:calc((100vw - 64px) / 2);gap:16px;margin-bottom:32px}
  .ls__ring{padding:7px;gap:8px}
  .ls__ring > span{font-size:16px;letter-spacing:1.5px}
  .ls__ring > .ls__ringdate{font-size:14px;margin-top:-2px}
  .ls__card{padding:20px}
  .ls__cardlabel{font-size:21px;gap:10px}
  .ls__fig b{font-size:26px}
  .ls__panel{padding:20px}
  .ls__panel .task > summary{grid-template-columns:minmax(0,1fr) auto 14px;gap:6px 12px}
  .ls__panel .task__bar{grid-column:1 / -1;grid-row:2}
  .ls__panel .task__left{display:none}
  .crew__fig{font-size:18px}
  .crew__scroll .crew__fig{font-size:18px}
  .crew__scroll .crew{min-width:520px}
  .ls__id,.ls__grid{margin-bottom:32px}
}
@media(prefers-reduced-motion:reduce){.ls__card,.ts__tick,.ts__tick img,.ls__panel .task__chev{transition:none}}

/* Files Gallery: Spring surfaces and type, shared by the project Files panel. */
.fg{display:grid;gap:20px;min-width:0}.fg__heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.fg__heading h2{margin:0}.fg__heading p{margin:5px 0 0}.fg__sync{margin:0}.fg__filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.fg__filters .field{flex:1;min-width:150px}.fg__filters .fg__search{flex:2;min-width:220px}.fg__search input{border-radius:999px}.fg__selection{display:flex;flex-wrap:wrap;align-items:center;gap:16px;border-top:1px solid var(--border-soft);padding-top:18px}.fg__selection label{display:flex;align-items:center;gap:8px}.fg input[type=checkbox]{accent-color:var(--ink);width:18px;height:18px}.fg__message:empty{display:none}.fg__message{margin:0;color:var(--text-pink)}.fg__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:22px}.fg__card{border:1px solid var(--border-soft);border-radius:16px;overflow:hidden;background:var(--bg-card);min-width:0}.fg__card:has(input:checked){outline:2px solid var(--ink);outline-offset:2px}.fg__preview{position:relative;display:grid;place-items:center;background:var(--bg-sunk);height:175px;overflow:hidden}.fg__preview img{width:100%;height:100%;object-fit:contain}.fg__type{font:700 28px var(--mono);color:var(--text-sage);border:2px solid var(--border);border-radius:8px;padding:18px 12px;min-width:80px;text-align:center;background:var(--bg-card)}.fg__check{position:absolute;left:12px;top:12px;background:var(--bg-card);border-radius:6px;padding:5px;display:flex}.fg__body{padding:18px;display:grid;gap:10px}.fg__body h3{font:700 16px/1.35 var(--body);margin:0;overflow-wrap:anywhere}.fg__body p{margin:0}.fg__stages{display:flex;gap:6px;flex-wrap:wrap}.fg__stages span{font-size:12px;padding:4px 9px;border-radius:20px;background:var(--pink-soft);color:var(--ink)}.fg__source{display:block;overflow-wrap:anywhere}.fg__attribution{border-top:1px solid var(--border-soft);padding-top:12px;font-size:13px;overflow-wrap:anywhere}.fg__card--missing{opacity:.7}.fg__empty{grid-column:1/-1;padding:40px}.fg__pages{display:flex;align-items:center;justify-content:center;gap:18px}.fg__dialog{width:min(520px,calc(100vw - 32px));max-height:85vh;border:1px solid var(--border);border-radius:18px;background:var(--bg-page);color:var(--ink);padding:24px}.fg__dialog::backdrop{background:rgba(37,39,53,.45)}.fg__project-list{display:grid;gap:8px;max-height:42vh;overflow:auto;margin-top:16px}.fg__project{display:grid;gap:4px;text-align:left;border:1px solid var(--border-soft);background:var(--bg-card);color:var(--ink);padding:14px;border-radius:10px;cursor:pointer;font:inherit}.fg__project:hover,.fg__project:focus-visible{background:var(--pink-soft)}@media(max-width:600px){.fg__heading{align-items:flex-start;flex-direction:column}.fg__filters{gap:12px}.fg__selection{gap:12px}.fg__grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.fg__pages{gap:10px}}

/* Shared cards change layout without replacing selections or reloading files. */
.fg__toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.fg__toolbar p{margin:0}.fg__views{display:flex;flex-shrink:0;border:1px solid var(--border);border-radius:10px;overflow:hidden}.fg__views button{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 14px;border:0;background:var(--bg-card);color:var(--ink);font:inherit;cursor:pointer}.fg__views button+button{border-left:1px solid var(--border)}.fg__views button[aria-pressed=true]{background:var(--pink-soft);box-shadow:inset 0 -3px var(--ink);font-weight:700}.fg__views button:hover{background:var(--pink-soft)}.fg__views button:focus-visible{outline:2px solid var(--ink);outline-offset:-4px}.fg__views svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.fg__grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}.fg__preview{height:auto;aspect-ratio:16/10}.fg__preview img{min-height:0;min-width:0}.fg__identity{min-width:0;display:grid;gap:6px}.fg__identity h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fg__sources{display:grid;gap:4px;min-width:0}
.fg[data-view=list] .fg__grid{grid-template-columns:minmax(0,1fr);gap:10px}.fg[data-view=list] .fg__card{display:flex;align-items:center;gap:18px;padding:14px;position:relative;border-radius:12px}.fg[data-view=list] .fg__card:has(.fg__check){padding-left:52px}.fg[data-view=list] .fg__preview{position:static;flex:0 0 76px;height:64px;aspect-ratio:auto;border-radius:6px}.fg[data-view=list] .fg__preview img{width:76px;height:64px}.fg[data-view=list] .fg__type{font-size:12px;min-width:0;padding:8px 6px;border-width:1px}.fg[data-view=list] .fg__check{left:12px;top:50%;transform:translateY(-50%)}.fg[data-view=list] .fg__body{flex:1;min-width:0;padding:0;grid-template-columns:minmax(0,2fr) minmax(90px,1fr) minmax(0,1.3fr) minmax(0,1.3fr);align-items:center;gap:18px}.fg[data-view=list] .fg__attribution{border-top:0;padding-top:0}.fg[data-view=list] .fg__source{font-size:13px}
@media(max-width:900px){.fg[data-view=list] .fg__body{grid-template-columns:minmax(0,1fr) minmax(100px,1fr);gap:10px 16px}.fg[data-view=list] .fg__identity{grid-column:1/-1}.fg[data-view=list] .fg__sources{grid-column:1}.fg[data-view=list] .fg__attribution{grid-column:2;grid-row:2/4}}
@media(max-width:600px){.fg__views button{padding:10px}.fg__views button span{display:none}.fg[data-view=list] .fg__card{gap:12px;padding:12px}.fg[data-view=list] .fg__preview{flex-basis:48px;height:48px}.fg[data-view=list] .fg__preview img{width:48px;height:48px}.fg[data-view=list] .fg__body{grid-template-columns:minmax(0,1fr)}.fg[data-view=list] .fg__body>*{grid-column:1;grid-row:auto}.fg[data-view=list] .fg__type{font-size:10px;padding:4px}}

.agreement-writing-line{height:30px;border-bottom:1px solid #aaa}.agreement-date-line{width:45%}

/* A live project's actions (Mark complete) wait in a ⋯ menu beside its Live pill. */
.ls__state{display:flex;align-items:center;gap:10px}
/* The costing page's Status and Chance fields (.ce__field, .ce__fieldlabel, .ce__tag), on an approved project's header: the same
   30px apart, with the actions menu centred on the boxes rather than the labels above them. */
.ls__tags{display:flex;align-items:flex-start;gap:30px}
.ls__tags .ce__fieldlabel{text-box:trim-both cap alphabetic}
.ls__state:has(.ls__tags){align-items:flex-end}
.ls__tags + .pmenu{margin-bottom:1.5px}
@media (max-width:560px){.ls__idrow:has(.ls__tags){flex-wrap:wrap}.ls__state:has(.ls__tags){flex:1 0 100%}.ls__tags + .pmenu{margin-left:auto}}
.scope-page .head{align-items:flex-start}.scope-page .head .ls__state{margin-left:auto}
.pmenu{position:relative}
.pmenu summary{display:grid;place-items:center;width:44px;height:44px;border-radius:var(--radius-button);color:var(--ink);cursor:pointer;list-style:none;transition:background-color .2s var(--ease)}
.pmenu summary::-webkit-details-marker{display:none}
.pmenu summary svg{fill:currentColor}
.pmenu summary:hover,.pmenu[open] summary{background:var(--pink-soft)}
.pmenu summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.pmenu__list{position:absolute;right:0;top:calc(100% + 8px);z-index:20;display:grid;gap:2px;min-width:200px;padding:6px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 12px 32px rgba(var(--ink-rgb),.14)}
.pmenu__list form{margin:0}
.pmenu__item{display:flex;align-items:center;width:100%;padding:10px 12px;border:0;border-radius:6px;background:none;color:var(--ink);font:inherit;font-size:15px;text-align:left;cursor:pointer}
.pmenu__item{text-decoration:none}
.pmenu__item:hover,.pmenu__item:focus-visible{background:var(--pink-soft);outline:0}
.chatgpt-context-menu{position:fixed;z-index:100;min-width:210px;padding:6px;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 12px 32px rgba(var(--ink-rgb),.14)}
.chatgpt-context-menu[hidden]{display:none}
@media (prefers-reduced-motion:no-preference){.pmenu[open] .pmenu__list{animation:loc-in .14s var(--ease)}}

.foot__all{margin:22px 0 10px;font:700 16px/1.3 var(--body)}
/* A confirmation fades away after three seconds and the page closes up behind it (app.js); errors stay. */
.flash.is-leaving{opacity:0;transition:opacity .5s var(--ease)}

/* Space blurs a director's figures on the dashboard (agency-detail.js): every amount, rate, hour and percentage, and
   the charts and summaries drawn from them, in every tab and in the windows behind the cards. Names, headings and
   tabs stay readable so the page can still be talked through, except Non-chargeable hours and Team performance, which
   are hidden whole.
   Blurred parts ignore the pointer, so a hover title can't show what's hidden. A screen guard only; the figures
   are still in the page. The list is in :where() so it adds no weight, and the big figures' heavier blur wins. */
.ad[data-blur] :where(.ad__fig,.ad__note,.ad__card header p,.ad__words,.ad__val,.ad__money,.ad__dialog header p,.ad__cell,.ad__bars b,
  .num,.rate-row__ruler,.rate-row__detail,.hd__scope,.hd__budgetfig,.hd__budgetfoot,.hd__budgets .bar,.hd__calendar b,.hd__reason,.hd__reasons,
  .stat__value,.stat__note,.tdonut,.donut__legend,.nc__head,.nc__intro,.nc__key,.ad__team>*,.nc__chart,.nc__tiles,.nc__cats,.gap-cell,.gap-total,.pipeline .micro,.cmap__y,.cmap__x,.cmap__mx span,.cmap__my span,.cmap__floorlabel,.cmap__tip,.cmap__axes,.cmap__name){transition:filter .2s var(--ease)}
.is-blurred .ad[data-blur] :where(.ad__fig,.ad__note,.ad__card header p,.ad__words,.ad__val,.ad__money,.ad__dialog header p,.ad__cell,.ad__bars b,
  .num,.rate-row__ruler,.rate-row__detail,.hd__scope,.hd__budgetfig,.hd__budgetfoot,.hd__budgets .bar,.hd__calendar b,.hd__reason,.hd__reasons,
  .stat__value,.stat__note,.tdonut,.donut__legend,.nc__head,.nc__intro,.nc__key,.ad__team>*,.nc__chart,.nc__tiles,.nc__cats,.gap-cell,.gap-total,.pipeline .micro,.cmap__y,.cmap__x,.cmap__mx span,.cmap__my span,.cmap__floorlabel,.cmap__tip,.cmap__axes,.cmap__name){filter:blur(12px);pointer-events:none;user-select:none;-webkit-user-select:none}
/* Big type needs a blur in proportion: 12px leaves an 85px "£11,880" readable. Half the type size and some fade. */
.is-blurred .ad[data-blur] :where(.ad__fig,.rate-row__num,.stat__value,.hd__budgetfig b,.donut__pct,.nc__head h2,.ad__team h2){filter:blur(.5em);opacity:.6}
.is-blurred .ad[data-blur]::after{content:"Figures hidden · Space to show";position:fixed;z-index:60;left:50%;bottom:22px;transform:translateX(-50%);
  padding:9px 16px;border-radius:999px;background:var(--ink);color:#fff;font:700 13px/1 var(--body);letter-spacing:.02em;
  box-shadow:0 10px 30px rgba(var(--ink-rgb),.25);pointer-events:none}
@media print{.is-blurred .ad[data-blur] *{filter:none!important}.is-blurred .ad[data-blur]::after{display:none}}

/* Home tab on My dashboard (views/home-tab.mjs), drawn from Rufus's sketch: hours hills, a calendar with a birthday tab,
   a notice board and the Who's in? bar. Entrances play once as each card scrolls in (reveal.js adds .is-in); the site-wide
   reduced-motion rule below switches them off. */
.ht{--ht-line:1px;display:grid;gap:28px;margin-top:40px;min-width:0;container:ht / inline-size}
.ht__row{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:28px}
/* A folded newspaper: loose sheets behind the printed front, with a curved rolled edge and exposed newsprint beneath. */
.ht__card.ht__newsroom{display:block;position:relative;isolation:isolate;min-width:0;margin:14px 12px 54px;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}
.ht__newsroom::before,.ht__newsroom::after{content:"";position:absolute;pointer-events:none;border:1px solid #c9c3b6;border-radius:1px 2px 6px 2px;z-index:-1;background:#eeeae0;box-shadow:0 3px 5px rgba(37,39,53,.1)}
.ht__newsroom::before{inset:-10px -8px -1px 5px;transform:rotate(.35deg);clip-path:polygon(0 1.2%,12% .3%,31% .7%,55% 0,77% .5%,99.6% .1%,100% 33%,99.6% 69%,100% 100%,0 100%);background:linear-gradient(90deg,#ded7c7 0,#f1ece0 8px,#eee8dc calc(100% - 7px),#d2c9b7);border-color:#bdb3a0}
.ht__newsroom::after{inset:-4px 4px 0 -6px;transform:rotate(-.32deg);background:linear-gradient(110deg,#f6f2e8,#e9e2d4);border-color:#c5bba8;box-shadow:-2px -2px 0 #d9d1c1,-4px -4px 0 #f3eee2,-5px -5px 0 #c9bfac,2px 1px 0 #d8d0bf,0 3px 6px rgba(37,39,53,.09)}
.ht__newsroom-sheet{position:relative;border:1px solid #c4beb1;border-bottom:0;border-radius:1px 2px 0 0;padding:22px 30px 30px;background:#f8f6ef;filter:drop-shadow(0 5px 5px rgba(37,39,53,.12))}
.ht__newsroom-fold{position:absolute;top:calc(100% - 14px);left:-1px;width:calc(100% + 2px);height:64px;pointer-events:none;overflow:visible}
.ht__newsroom-mast{border-bottom:4px double var(--ink);margin-bottom:14px}
.ht__newsroom-topline{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.ht__newsroom-topline>span{font:11px/1.4 var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--text-pink)}
.ht__newsroom-mast h2{margin:12px 0 14px;font:900 clamp(30px,3.8vw,52px)/1 Georgia,"Times New Roman",serif;letter-spacing:-.045em;text-transform:uppercase;text-align:center}
.ht__newsroom-meta{display:flex;justify-content:space-between;gap:6px 16px;flex-wrap:wrap;border-bottom:1px solid var(--ink);padding-bottom:10px;font:11px/1.5 var(--mono);color:var(--text-muted)}
.ht__newsroom-story{min-width:0}
.ht__newsroom-story h3{font:700 28px/1.2 Georgia,"Times New Roman",serif;margin:14px 0}
.ht__newsroom-columns{column-count:3;column-gap:26px;column-rule:1px solid #d3cec2}
.ht__newsroom-story p{font:16px/1.5 Georgia,"Times New Roman",serif;margin:0 0 12px;white-space:pre-line;overflow-wrap:anywhere}
.ht__newsroom-story p:last-child{margin-bottom:0}
.ht__newsroom-story .ht__newsroom-trigger{font-weight:700}
.ht__newsroom-context>strong{display:block;break-after:avoid-column;font:700 13px/1.5 var(--body,sans-serif);margin-bottom:5px}
.ht__newsroom-contact{break-inside:avoid}
.ht__newsroom-empty{margin:20px 0 0;font-size:16px}
.ht__newsroom-more{position:relative;display:inline-block;flex-shrink:0;color:var(--ink);font-size:14px;line-height:1.5;text-decoration:none;padding:2px 0}
.ht__newsroom-more::after{content:"";position:absolute;inset:auto 0 0;height:2px;background:var(--pink);transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease)}
.ht__newsroom-more:hover::after,.ht__newsroom-more:focus-visible::after{transform:scaleX(1)}
.ht__newsroom-more:focus-visible{outline:1px solid var(--ink);outline-offset:5px}
@media(max-width:1100px){.ht__newsroom-columns{column-count:2}}
@media(max-width:760px){.ht__newsroom-sheet{padding:18px 20px 24px}.ht__newsroom-columns{column-count:1}.ht__newsroom-mast h2{font-size:clamp(26px,6vw,38px)}.ht__newsroom-story h3{font-size:26px}}
.ht__row.has-tab{padding-top:38px}
.ht--bar{margin:0 0 28px}
.ht--compact{margin-bottom:20px}
.ht--compact .ht__card{padding:12px 18px 12px;gap:6px;border-radius:22px}
.ht--compact .ht__whohead{grid-template-columns:1fr auto}
.ht--compact .ht__step{width:32px;height:32px;font-size:18px}
.ht--compact .ht__tribes{gap:6px 26px;padding-top:0}
.ht--compact .ht__tribe{min-width:110px}
.ht--compact .ht__label{font-size:17px;margin-bottom:0}
.ht--compact .ht__brace{height:8px;margin:7px 6px 8px}
.ht--compact .ht__brace::before{top:-8px;height:7px}
.ht--compact .ht__faces{gap:6px 8px}
.ht--compact .ht__faces a{width:52px;gap:3px;font-size:12px}
.ht--compact .ht__faces .face{width:38px!important;height:38px!important}
.ht--compact .ht__none{margin:0;font-size:13px}
.ht__card{position:relative;display:flex;flex-direction:column;gap:14px;padding:26px 26px 22px;border:var(--ht-line) solid var(--ink);border-radius:30px;background:#fff;min-width:0}
.ht__big{margin:0;font:400 clamp(40px,4.2vw,58px)/1 var(--display);letter-spacing:.015em;text-transform:uppercase;color:var(--ink)}
.ht__big b{font-weight:400}
.ht__sub{margin:-4px 0 0;color:var(--text-muted)}
.ht__foot{margin:auto 0 0;font-size:14px;color:var(--text-muted);line-height:1.5}
.ht__foot a{color:var(--ink)}
.ht__go{align-self:flex-start;display:inline-flex;gap:6px;color:var(--ink);font-weight:700;text-decoration:none;border-bottom:2px solid var(--pink)}
.ht__go span{display:inline-block;transition:transform .25s var(--ease)}
.ht__go:hover span,.ht__go:focus-visible span{transform:translateX(5px)}

/* this week's workload: the Studio Board's circles (tracker.css) for the week, the day picked and its tasks as the hover card lists them */
.ht__load{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "week" "tasks" "go";column-gap:48px;row-gap:14px}
.ht__load .ht__top{grid-area:head}
.ht__week{grid-area:week;position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;max-width:560px}
.ht__loadtasks{grid-area:tasks;min-width:0}
.ht__loadtasks:empty{display:none}
.ht__loadgo{grid-area:go;align-self:end}
@container ht (min-width:820px){.ht__load{grid-template-columns:minmax(0,min(560px,56%)) minmax(0,1fr);grid-template-areas:"head tasks" "week tasks" "go tasks";grid-template-rows:auto auto 1fr;align-items:start}.ht__loadtasks{max-width:560px}}
/* its link to the Studio Board shows the pink underline and the arrow only when pointed at or focused */
.ht__load .ht__go{border-bottom-color:transparent;transition:border-color .25s var(--ease)}
.ht__load .ht__go span{opacity:0;transform:translateX(-6px);transition:opacity .25s var(--ease),transform .25s var(--ease)}
.ht__load .ht__go:hover,.ht__load .ht__go:focus-visible{border-bottom-color:var(--pink)}
.ht__load .ht__go:hover span,.ht__load .ht__go:focus-visible span{opacity:1;transform:translateX(0)}
@media(prefers-reduced-motion:reduce){.ht__load .ht__go,.ht__load .ht__go span{transition:none}}
.ht__big.is-over{color:var(--tk-over)}
.ht__week .ht__day{position:relative;z-index:1;width:100%;gap:6px;padding:10px 0 8px;border-radius:14px}
.ht__week .ht__day svg{width:44px;height:44px}
.ht__dayname{font-size:13px;font-weight:600;color:var(--text-muted);white-space:nowrap}
.ht__day.is-today .ht__dayname{color:var(--ink);text-decoration:underline;text-decoration-color:var(--pink);text-decoration-thickness:2px;text-underline-offset:4px}
.ht__day[aria-pressed="true"] .ht__dayname{color:var(--ink)}
.ht__week .tk__hours{font-size:14px;min-height:17px}
/* the picked day sits on the site's sliding highlight, when it has one */
.ht__week>.slider{top:0;height:100%;border-radius:14px;background:rgba(47,111,237,.12);box-shadow:inset 0 0 0 2px var(--tk-blue)}
.ht__week.has-slider .tk__circle:hover,.ht__week.has-slider .tk__circle[aria-pressed="true"]{background:transparent;box-shadow:none}
.ht__tasks{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin:0;padding:0;list-style:none}
a.ht__task{text-decoration:none}
.ht__task{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:8px 14px 8px 12px;border:var(--ht-line) solid var(--ink);border-left:6px solid var(--task-colour);border-radius:8px;background:#fff;color:var(--ink);font:inherit;text-align:left;cursor:pointer;transition:color .35s}
.ht__task::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--pink-soft);transform:scaleY(0);transform-origin:bottom;transition:transform .35s var(--ease)}
.ht__task:hover::before,.ht__task:focus-visible::before{transform:scaleY(1)}
.ht__task--busy{cursor:default;border-left-style:dashed}
.ht__task--busy:hover::before{transform:scaleY(0)}
.ht__busy-time{margin-left:8px;font-size:12px;color:var(--text-muted)}
.ht__task span:first-child{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ht__meet-icon{display:inline-block;vertical-align:-2px;margin-right:7px;color:var(--task-colour)}
.ht__task span:last-child{flex:none;white-space:nowrap;font-variant-numeric:tabular-nums}
.ht__loadnone{margin:0;color:var(--text-muted)}
/* Waiting on you: an owner's projects that have stopped moving (ProjectNudges), on Home above the hours card. */
.ht__nudges{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.ht__nudgehead h2{margin:0}
.ht__nudgehead p{margin:6px 0 0;color:var(--text-muted)}
@container ht (min-width:820px){.ht__nudges{grid-template-columns:minmax(240px,320px) minmax(0,1fr);column-gap:36px;align-items:start}}
.ht__nudgelist{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0}
.ht__nudge{display:flex;align-items:stretch;gap:8px}
.ht__nudge a{flex:1;min-width:0;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 14px 10px 16px;border-radius:14px;border-left:6px solid var(--stage-costing);background:#f6f3ef;color:inherit;text-decoration:none}
.ht__nudge--sent a{border-left-color:var(--stage-sent)}
.ht__nudge--waiting a{border-left-color:var(--stage-approved)}
.ht__nudge a:hover,.ht__nudge a:focus-visible{background:#efe9e2}
.ht__nudgename,.ht__nudgewhy{display:grid;gap:2px;min-width:0}
.ht__nudgename{font-weight:600}
.ht__nudgewhy{text-align:right;font-size:14px}
.ht__nudge small{font-weight:400;font-size:13px;color:var(--text-muted)}
.ht__nudgedel{display:none;flex:none;width:44px;align-items:center;justify-content:center;border:0;border-radius:14px;background:#f6f3ef;color:var(--text-muted);cursor:pointer}
[data-can-trash] .ht__nudgedel{display:flex}
.ht__nudgedel:hover,.ht__nudgedel:focus-visible{background:#fbe4e1;color:#b42318}
.ht__nudges:has(.ht__nudgemenu[open]){z-index:20}
.ht__nudge:has(.ht__nudgemenu[open]){position:relative;z-index:2}
.ht__nudgemenu{flex:none;display:flex;align-items:stretch}
.ht__nudgemenu summary.ht__nudgeact{width:44px;height:100%;border-radius:14px;background:#f6f3ef;color:var(--text-muted)}
.ht__nudgemenu summary.ht__nudgeact:hover,.ht__nudgemenu[open] summary.ht__nudgeact{background:#efe9e2;color:var(--ink)}
.ht__nudgeopt{flex-direction:column;align-items:flex-start;gap:1px}
.ht__nudge.is-busy{opacity:.5;pointer-events:none}
.ht__nudgeerr{color:#b42318;font-size:13px}
.ht__nudgeerr:empty{display:none}
/* Finance's billing (George, 3 November): not a Home card but the Forecast board's own billing subitem table, so it reads
   as money and as the board does (forecast.css, loaded on Home for it). Plain white, the board's thin lines, no motion. */
.ht__bill{min-width:0;padding:22px 24px 18px;border:1px solid var(--fc-line);border-radius:8px;background:#fff;color:#252735}
.ht__bill-head{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 18px;margin-bottom:4px}
.ht__bill-head>div{flex:1;min-width:0}
.ht__bill-head h2{margin:2px 0 0;font:600 22px/1.3 var(--body);text-transform:none;letter-spacing:0}
.ht__bill-nav{display:flex;gap:6px}
.ht__bill-step{display:grid;place-items:center;width:32px;height:32px;padding:0 0 2px;border:1px solid var(--fc-line);border-radius:6px;background:#fff;color:#252735;font:500 18px/1 var(--body);cursor:pointer}
.ht__bill-step:hover:not(:disabled){background:var(--fc-soft)}
.ht__bill-step:disabled{opacity:.35;cursor:default}
.ht__bill-go{font-size:14px;color:#252735}
.ht__bill .fc__client{margin:18px 0 0}
.ht__bill .fc__client>summary{margin-bottom:8px}
.ht__bill .fc__client h3{margin:0;font:600 17px/1.4 var(--body);text-transform:none;letter-spacing:0}
.ht__bill-sheet.fc__sheet--sub{border-right:1px solid var(--fc-line);border-top-right-radius:6px}
.ht__bill-sheet.fc__sheet--sub>tbody>tr>td:first-child::before{content:none}
.ht__bill .ht__bill-sheet th:nth-child(1){width:auto}
.ht__bill .ht__bill-sheet th:nth-child(2){width:84px}
.ht__bill .ht__bill-sheet :is(th:nth-child(3),th:nth-child(4),th:nth-child(5)){width:88px}
.ht__bill .ht__bill-sheet th:nth-child(6){width:128px}
.ht__bill-sheet td.num{padding:6px 12px}
/* Under a long group: the rest of its lines, the board's thin line and soft fill, filling from the bottom on hover. */
.ht__bill-more{position:relative;z-index:0;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-top:-1px;padding:9px;border:1px solid var(--fc-line);border-radius:0 0 6px 6px;background:#fff;color:#5b5e6e;font:600 13px/1.3 var(--body);cursor:pointer;overflow:hidden;transition:color .3s ease-in-out}
.ht__bill-more::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--fc-soft);transform:scaleY(0);transform-origin:bottom;transition:transform var(--slow) var(--ease)}
.ht__bill-more:is(:hover,:focus-visible){color:#252735}
.ht__bill-more:is(:hover,:focus-visible)::before{transform:scaleY(1)}
.ht__bill-more:hover .more-row__arrow:not(.is-up){animation:nudge-down .9s ease-in-out infinite}
.ht__bill-more:hover .more-row__arrow.is-up{animation:nudge-up .9s ease-in-out infinite}
.is-scrolling .ht__bill-more{pointer-events:none}
.ht__bill-item{display:grid;text-align:left;line-height:1.3;text-decoration:none;padding:6px 12px}
.ht__bill-item b{font-weight:600;overflow:hidden;text-overflow:ellipsis}
.ht__bill-item small{font-size:12px;color:#77747f;overflow:hidden;text-overflow:ellipsis}
.ht__bill .fc__timeline.is-earlier{background:#f3e6c4;color:#5e4a12}
.ht__bill-none td{padding:10px 14px;color:#77747f;font-size:13px}
.ht__bill-note{margin:14px 0 0;font-size:13px;color:#52515d}
.ht__bill-note a{color:inherit}
.ht__bill-said{margin:8px 0 0;font-size:13px;color:#52515d;min-height:1em}
.ht__bill [aria-busy="true"]{opacity:.5}
.ht__bill h2:focus{outline:none}
.ht__bill-sheet.fc__sheet--sub{min-width:600px}
@media(max-width:640px){.ht__bill{padding:18px 14px 14px}}
/* Today's meetings: a short card, only on a day with one. */
.ht__meets .ht__tasks{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:8px 12px}
.ht__meets .ht__task small{font-size:12.5px;color:var(--text-muted)}
@media(prefers-reduced-motion:reduce){.ht__task,.ht__task::before{transition:none}}

/* hours: a coiled spring stretching along the track to the finish line; a podium once the week is logged */
.ht__top{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px}
.ht__top .ht__sub{margin:0;font-size:18px}
.ht__chart{width:100%;height:auto;margin:auto 0;color:var(--ink);overflow:visible}
.ht__chart text{font:600 11px var(--body);fill:var(--ink)}
.ht__scene{border:var(--ht-line) solid var(--ink);border-radius:18px;overflow:hidden;background:#CFE7F3}
/* the woodland */
.ht__sky{fill:#D4EAF5}
.ht__cloud{fill:#fff}
.ht__bird{fill:none;stroke:var(--ink);stroke-width:1.4;stroke-linecap:round;opacity:.7}
.ht__far{fill:#7FA06A}
.ht__leaf{fill:#5E8A4E}.ht__leaf--dark{fill:#4B7342}
.ht__trunk{fill:#7A5A3C}
.ht__grass{fill:#8DB866}.ht__grass--light{fill:#9CC473}
.ht__sand{fill:#EAD394}.ht__sand--dark{fill:#DCBF74}
.ht__pebbles{fill:#B79B61}
.ht__tufts path{fill:none;stroke:#5E8A4E;stroke-width:1.6;stroke-linecap:round}
.ht__flower--pink{fill:var(--pink)}.ht__flower--warn{fill:var(--signal-warn)}.ht__flower--white{fill:#fff}
.ht__shroom rect{fill:#F4EBDD}.ht__shroom path{fill:#C9473D}.ht__shroom circle{fill:#fff}
.ht__rock{fill:#A9AEB3}
/* Southwold seafront: lighthouse, brick terrace, beach huts on the prom, sand, sea */
.ht__sw-tower{fill:#fff}.ht__sw-shade{fill:#DDE5EC}
.ht__sw-glass{fill:#2F5F6B}.ht__sw-bars{fill:none;stroke:#fff;stroke-width:1.1}
.ht__sw-glint{fill:#CFF3F4;opacity:.5;animation:ht-glint 4s ease-in-out infinite}
.ht__sw-rail{fill:none;stroke:var(--ink);stroke-width:.9;stroke-linecap:round}
rect.ht__sw-rail{fill:var(--ink);stroke:none}
.ht__sw-stack{fill:#7C3F33}.ht__sw-panes{fill:#F7F3EA}
.ht__sw-bank{fill:#86B85C}.ht__sw-bush{fill:#5E8A4E}
.ht__sw-prom{fill:#D8D2C6}.ht__sw-promlip{fill:#BDB6A8}.ht__sw-door{fill:#fff}
.ht__sw-sand{fill:#F0DDA0}.ht__sw-wet{fill:#E3CB84}.ht__sw-dune{fill:#E6CE88}
.ht__sw-sea{fill:#5FA9CB}
.ht__sw-foam{fill:none;stroke:#fff;stroke-width:1.5;stroke-linecap:round;opacity:.85}
.ht__sw-foam--b{opacity:.5;animation-direction:alternate-reverse!important}
.ht__sw-marram path{fill:none;stroke:#9AA84A;stroke-width:1.6;stroke-linecap:round}
.ht__sw-bucket{fill:#E04F5F}.ht__sw-handle{fill:none;stroke:var(--ink);stroke-width:1;stroke-linecap:round}
:is(.ht__scene--southwold,.ht__scene--highstreet,.ht__scene--hogwarts) .ht__zs text{paint-order:stroke;stroke:#fff;stroke-width:2.4px;stroke-linejoin:round}
@keyframes ht-glint{0%,100%{opacity:.25}50%{opacity:.8}}
.ht__sw-foam{animation:ht-drift 5s ease-in-out infinite alternate}
/* the race */
.ht__startline{fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round}
.ht__finishline{fill:none;stroke-width:6}
.ht__board{fill:#fff;stroke:var(--ink);stroke-width:1.6}
.ht__sign text{font:400 11px var(--display)!important;letter-spacing:.08em;fill:var(--pink-deep)!important}
.ht__chequer{stroke:var(--ink);stroke-width:1.2}
.ht__stake{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;opacity:.85}
.ht__daytag rect{fill:rgba(255,255,255,.55)}
.ht__daytag text{font:700 8px var(--body)!important;fill:var(--ink)!important}
.ht__daytag--done rect{fill:var(--good)}.ht__daytag--done text{fill:#fff!important}
.ht__daytag--short rect{fill:var(--signal-warn)}
.ht__daytag--today rect{fill:var(--pink-deep)}.ht__daytag--today text{fill:#fff!important}
.ht__shadow{fill:rgba(60,45,20,.22)}
/* the spring: an ink edge, a deeper pink where the back of a turn shows inside the loop, Spring pink and a shine in front */
.ht__c{fill:none;stroke-linecap:round;stroke-linejoin:round}
.ht__c--edge{stroke:var(--ink);stroke-width:8.5}
.ht__c--back{stroke:#B86B7B;stroke-width:5.2}
.ht__c--front{stroke:var(--pink);stroke-width:5.2}
.ht__c--shine{stroke:#fff;stroke-width:1.4;opacity:.75;transform:translate(-.6px,-1.2px)}
/* the napping hare */
.ht__zs text{font:700 9px var(--body)!important;fill:var(--ink)!important;opacity:0}
@keyframes ht-z{0%{opacity:0;transform:translate(0,4px)}30%{opacity:.8}100%{opacity:0;transform:translate(4px,-6px)}}
@keyframes ht-drift{to{transform:translateX(18px)}}
@keyframes ht-fly{from{transform:translate(-40px,6px)}to{transform:translate(200px,-4px)}}
.ht__zs text{animation:ht-z 3s ease-in-out infinite}.ht__zs text:nth-child(2){animation-delay:1s}.ht__zs text:nth-child(3){animation-delay:2s}
.ht__cloud--a{animation:ht-drift 14s ease-in-out infinite alternate}.ht__cloud--b{animation:ht-drift 18s ease-in-out -6s infinite alternate-reverse}
.ht__bird{animation:ht-fly 16s linear infinite}
.ht__chequer{transform-box:fill-box;transform-origin:0 50%;animation:ht-wave 3s ease-in-out infinite}
/* the podium */
.ht__block rect{stroke:rgba(37,39,53,.35);stroke-width:.8}
.ht__block .ht__block-sheen{stroke:none}
.ht__block-top{stroke:rgba(37,39,53,.25);stroke-width:.8;stroke-linejoin:round}
.ht__block-lip{fill:none;stroke:rgba(255,255,255,.75);stroke-width:1.4}
.ht__chart .ht__block text{font:400 24px var(--display);fill:#fff}
.ht__chart .ht__block .ht__block-shade{fill:rgba(60,40,10,.3)}
.ht__grass--front{fill:#9CC473}
.ht__footshadow{fill:rgba(40,30,10,.18)}

/* calendar: spiral rings, a month name in a box, crosses on the days gone, today circled, leave in pink */
.ht__calwrap{position:relative;display:flex;min-width:0}
.ht__calwrap>.ht__card{flex:1;z-index:1}
.ht__tab{position:absolute;left:50%;top:-37px;translate:-50% 0;display:flex;align-items:baseline;gap:10px;padding:7px 22px 14px;border:var(--ht-line) solid var(--ink);border-bottom:0;border-radius:20px 20px 0 0;background:var(--pink-soft);font-weight:700;white-space:nowrap}
.ht__tab small{font-weight:400;color:var(--text-muted)}
.ht__cal>.ht__big{text-align:center;font-size:clamp(34px,3.4vw,48px)}
.ht__bang{display:inline-block;transform-origin:50% 90%;margin-left:2px;color:var(--pink-deep)}
.ht__sheet{position:relative;isolation:isolate;margin:28px 8px 20px;padding:30px 14px 14px;border:var(--ht-line) solid var(--ink);border-radius:16px;background:var(--bg-page);box-shadow:inset 0 -3px 0 rgba(var(--ink-rgb),.06);transform-origin:50% 0}
/* the rest of the pad: two more sheets under this one, each peeking out a little further and askew */
.ht__sheet::before,.ht__sheet::after{content:"";position:absolute;inset:calc(var(--ht-line) * -1);z-index:-1;border:var(--ht-line) solid var(--ink);border-radius:16px;background:var(--bg-card)}
.ht__sheet::before{translate:-6px 14px;rotate:-1.4deg;background:var(--bg-sunk)}
.ht__sheet::after{translate:6px 8px;rotate:1.1deg}
.ht__rings{position:absolute;top:-26px;left:0;right:0;display:flex;justify-content:space-evenly;pointer-events:none;z-index:2}
.ht__ring{position:relative;width:24px;height:44px;rotate:calc((var(--i) - 2) * 1.6deg)}
/* the hole punched in the page, with a bright lip along its lower edge */
.ht__ring u{position:absolute;left:50%;bottom:-1px;translate:-50% 0;width:22px;height:11px;border:var(--ht-line) solid var(--ink);border-radius:50%;background:#252735;box-shadow:0 2px 0 rgba(255,255,255,.55)}
/* the wire: a loop of shiny metal, lit from the left, going down into the hole and casting a hard shadow on the page */
.ht__ring i{position:absolute;left:50%;bottom:4px;translate:-50% 0;width:16px;height:40px;border:var(--ht-line) solid var(--ink);border-radius:9px;background:linear-gradient(90deg,#fff 0 16%,#DDE1E9 16% 46%,#A3AABB 46% 76%,#7C849A);filter:drop-shadow(3px 3px 0 rgba(var(--ink-rgb),.3))}
.ht__ring i::before{content:"";position:absolute;inset:4px 3px 6px;border:var(--ht-line) solid var(--ink);border-radius:5px;background:var(--bg-card)}
.ht__ring i::after{content:"";position:absolute;left:2px;top:6px;width:3px;height:12px;border-radius:2px;background:rgba(255,255,255,.9)}
.ht__monthname{margin:0 auto 12px;width:max-content;padding:2px 24px;border:var(--ht-line) solid var(--ink);border-radius:8px;background:var(--pink-soft);rotate:-1deg;box-shadow:3px 3px 0 rgba(var(--ink-rgb),.25);font:400 22px/1.3 var(--display);letter-spacing:.06em;text-transform:uppercase}
.ht__dow,.ht__grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.ht__dow{padding-bottom:5px;margin-bottom:5px;border-bottom:var(--ht-line) dotted rgba(var(--ink-rgb),.25)}
.ht__dow span{text-align:center;font-size:11px;font-weight:700;color:var(--text-muted)}
.ht__dow span:nth-child(n+6){color:var(--pink-deep)}
.ht__d{position:relative;display:grid;place-items:center;aspect-ratio:1;border-radius:6px;font-size:13px;font-weight:600;color:var(--ink)}
.ht__d.is-out{visibility:hidden}
.ht__d.is-weekend{color:var(--text-faint);font-weight:400}
.ht__d{box-shadow:inset 0 0 0 1px rgba(var(--ink-rgb),.07)}
.ht__d.is-out{box-shadow:none}
.ht__d.is-leave{background:var(--pink);color:#fff;border-radius:7px 10px 6px 9px;box-shadow:inset 0 -3px 0 rgba(var(--ink-rgb),.16)}
.ht__d.is-pending{background:repeating-linear-gradient(135deg,var(--pink-soft) 0 4px,#fff 4px 8px);color:var(--pink-deep);box-shadow:inset 0 0 0 1.5px var(--pink)}
.ht__xs,.ht__circ{position:absolute;inset:0;display:block;z-index:1}
.ht__x{width:100%;height:100%;padding:5%;overflow:visible}
.ht__x path,.ht__circ path{fill:none;stroke:#D8342C;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1}
.ht__circ{inset:-3px;width:calc(100% + 6px);height:calc(100% + 6px);overflow:visible}
.ht__circ path{stroke-width:2.7}
.ht__circ{rotate:-8deg}
.ht__d.is-today{font-weight:800}
.ht__hat{position:absolute;right:-12px;top:-17px;width:28px;height:31px;rotate:16deg;z-index:2;overflow:visible;pointer-events:none;filter:drop-shadow(1px 1.5px 0 rgba(var(--ink-rgb),.25));transform-origin:50% 90%;transition:rotate .3s var(--ease)}
.ht__d:hover .ht__hat{rotate:2deg}
.ht__hat path,.ht__hat circle,.ht__hat ellipse{stroke:#252735;stroke-width:1.2;stroke-linejoin:round;stroke-linecap:round}
.ht__hat .ht__hat-c{fill:var(--hc,#5B739F)}
.ht__hat .ht__hat-s{fill:none;stroke:#fff;stroke-width:1.7}
.ht__hat .ht__hat-b{fill:#F2C94C}
.ht__hat .ht__hat-p{fill:var(--pink)}
.ht__hat .ht__hat-k{stroke:none}

/* notice board */
.ht__board{padding:0;overflow:hidden;min-height:400px;container-type:inline-size}
.ht__boardhead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px 12px;border-bottom:var(--ht-line) solid var(--ink)}
.ht__boardhead h2{font-size:30px;line-height:1.1}
.ht__plus{display:grid;place-items:center;width:34px;height:34px;border:var(--ht-line) solid var(--ink);border-radius:50%;cursor:pointer;list-style:none;font:700 22px/1 var(--body);color:var(--ink);transition:background .25s,transform .35s var(--ease)}
.ht__plus::-webkit-details-marker{display:none}
.ht__plus:hover,.ht__plus:focus-visible{background:var(--pink-soft)}
.ht__add[open] .ht__plus{transform:rotate(45deg);background:var(--pink-soft)}
.ht__add{position:relative}
.ht__form{position:absolute;z-index:5;right:0;top:46px;display:grid;gap:10px;width:min(300px,76vw);padding:16px;border:var(--ht-line) solid var(--ink);border-radius:18px;background:#fff;box-shadow:0 18px 40px rgba(37,39,53,.18);animation:ht-pop .35s var(--ease) backwards;transform-origin:100% 0}
.ht__preview{position:relative;margin:0}
.ht__preview[hidden]{display:none}
.ht__preview img{display:block;width:100%;max-height:150px;object-fit:contain;border:1px solid var(--border);border-radius:10px;background:var(--bg-page)}
.ht__preview-x{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border:var(--ht-line) solid var(--ink);border-radius:50%;background:#fff;font:700 15px/1 var(--body);cursor:pointer}
.ht__formrow{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ht__attach{position:relative;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ht__attach input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}
.ht__attach:focus-within{outline:2px solid var(--ink);outline-offset:3px;border-radius:4px}
.ht__form textarea{width:100%;resize:vertical;font:inherit;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--bg-page)}
.ht__cork{list-style:none;margin:0;padding:calc(100cqw * .06);position:absolute;z-index:0;inset:63px 0 0 0;overflow-y:auto;scrollbar-width:thin;display:grid;grid-template-columns:repeat(var(--cols,2),minmax(0,1fr));grid-auto-rows:min-content;gap:calc(100cqw * .05);align-content:start;align-items:start;
  /* cartoon cork: flat tan with hand-drawn flecks and chunks (tiled), a few old pin-holes, and a wooden frame with a flat shaded top edge */
  background:
    radial-gradient(circle at 8% 18%,#6E4420 0 1.6px,transparent 2.0px),radial-gradient(circle at 23% 71%,#6E4420 0 1.2px,transparent 1.6px),radial-gradient(circle at 31% 9%,#6E4420 0 1.4px,transparent 1.8px),radial-gradient(circle at 47% 52%,#6E4420 0 1.8px,transparent 2.2px),radial-gradient(circle at 58% 88%,#6E4420 0 1.2px,transparent 1.6px),radial-gradient(circle at 66% 27%,#6E4420 0 1.5px,transparent 1.9px),radial-gradient(circle at 74% 63%,#6E4420 0 1.1px,transparent 1.5px),radial-gradient(circle at 86% 12%,#6E4420 0 1.7px,transparent 2.1px),radial-gradient(circle at 91% 79%,#6E4420 0 1.3px,transparent 1.7px),radial-gradient(circle at 14% 44%,#6E4420 0 1.1px,transparent 1.5px),radial-gradient(circle at 40% 93%,#6E4420 0 1.4px,transparent 1.8px),radial-gradient(circle at 81% 41%,#6E4420 0 1.2px,transparent 1.6px),radial-gradient(circle at 55% 14%,#6E4420 0 1.0px,transparent 1.4px),radial-gradient(circle at 19% 90%,#6E4420 0 1.6px,transparent 2.0px),radial-gradient(circle at 95% 55%,#6E4420 0 1.2px,transparent 1.6px),radial-gradient(circle at 3% 62%,#6E4420 0 1.4px,transparent 1.8px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cellipse cx='30' cy='124' rx='20.3' ry='11.9' transform='rotate(39 30 124)' fill='%23CF9A5C'/%3E%3Cellipse cx='143' cy='145' rx='19.1' ry='12.0' transform='rotate(42 143 145)' fill='%23CF9A5C'/%3E%3Cellipse cx='1' cy='67' rx='19.9' ry='9.4' transform='rotate(143 1 67)' fill='%23CF9A5C'/%3E%3Cellipse cx='181' cy='67' rx='19.9' ry='9.4' transform='rotate(143 181 67)' fill='%23CF9A5C'/%3E%3Cellipse cx='42' cy='42' rx='14.4' ry='15.0' transform='rotate(133 42 42)' fill='%23CF9A5C'/%3E%3Cellipse cx='158' cy='111' rx='14.3' ry='11.0' transform='rotate(90 158 111)' fill='%23CF9A5C'/%3E%3Cellipse cx='21' cy='-9' rx='17.7' ry='9.9' transform='rotate(147 21 -9)' fill='%23CF9A5C'/%3E%3Cellipse cx='21' cy='171' rx='17.7' ry='9.9' transform='rotate(147 21 171)' fill='%23CF9A5C'/%3E%3Cellipse cx='22' cy='-13' rx='18.5' ry='12.3' transform='rotate(62 22 -13)' fill='%23CF9A5C'/%3E%3Cellipse cx='22' cy='167' rx='18.5' ry='12.3' transform='rotate(62 22 167)' fill='%23CF9A5C'/%3E%3Cellipse cx='87' cy='34' rx='12.3' ry='11.5' transform='rotate(42 87 34)' fill='%23E3B777'/%3E%3Cellipse cx='140' cy='38' rx='19.8' ry='11.6' transform='rotate(136 140 38)' fill='%23E3B777'/%3E%3Cellipse cx='137' cy='105' rx='17.8' ry='8.5' transform='rotate(86 137 105)' fill='%23E3B777'/%3E%3Cellipse cx='149' cy='36' rx='19.4' ry='11.6' transform='rotate(74 149 36)' fill='%23E3B777'/%3E%3Cellipse cx='66' cy='81' rx='15.1' ry='12.0' transform='rotate(70 66 81)' fill='%23E3B777'/%3E%3Cellipse cx='5' cy='17' rx='17.7' ry='12.0' transform='rotate(89 5 17)' fill='%23E3B777'/%3E%3Cellipse cx='5' cy='197' rx='17.7' ry='12.0' transform='rotate(89 5 197)' fill='%23E3B777'/%3E%3Cellipse cx='185' cy='17' rx='17.7' ry='12.0' transform='rotate(89 185 17)' fill='%23E3B777'/%3E%3Cellipse cx='185' cy='197' rx='17.7' ry='12.0' transform='rotate(89 185 197)' fill='%23E3B777'/%3E%3Cellipse cx='88' cy='100' rx='5.5' ry='2.1' transform='rotate(110 88 100)' fill='%23F0CC96'/%3E%3Cellipse cx='88' cy='99' rx='5.5' ry='2.1' transform='rotate(110 88 99)' fill='%23A8713B'/%3E%3Cellipse cx='100' cy='113' rx='3.2' ry='2.0' transform='rotate(63 100 113)' fill='%23F0CC96'/%3E%3Cellipse cx='100' cy='112' rx='3.2' ry='2.0' transform='rotate(63 100 112)' fill='%23A8713B'/%3E%3Cellipse cx='-13' cy='64' rx='4.9' ry='2.3' transform='rotate(19 -13 64)' fill='%23F0CC96'/%3E%3Cellipse cx='167' cy='64' rx='4.9' ry='2.3' transform='rotate(19 167 64)' fill='%23F0CC96'/%3E%3Cellipse cx='-13' cy='62' rx='4.9' ry='2.3' transform='rotate(19 -13 62)' fill='%23A8713B'/%3E%3Cellipse cx='167' cy='62' rx='4.9' ry='2.3' transform='rotate(19 167 62)' fill='%23A8713B'/%3E%3Cellipse cx='12' cy='148' rx='5.6' ry='2.4' transform='rotate(123 12 148)' fill='%23F0CC96'/%3E%3Cellipse cx='192' cy='148' rx='5.6' ry='2.4' transform='rotate(123 192 148)' fill='%23F0CC96'/%3E%3Cellipse cx='12' cy='146' rx='5.6' ry='2.4' transform='rotate(123 12 146)' fill='%23A8713B'/%3E%3Cellipse cx='192' cy='146' rx='5.6' ry='2.4' transform='rotate(123 192 146)' fill='%23A8713B'/%3E%3Cellipse cx='122' cy='-17' rx='6.3' ry='2.5' transform='rotate(178 122 -17)' fill='%23F0CC96'/%3E%3Cellipse cx='122' cy='163' rx='6.3' ry='2.5' transform='rotate(178 122 163)' fill='%23F0CC96'/%3E%3Cellipse cx='122' cy='-18' rx='6.3' ry='2.5' transform='rotate(178 122 -18)' fill='%23A8713B'/%3E%3Cellipse cx='122' cy='162' rx='6.3' ry='2.5' transform='rotate(178 122 162)' fill='%23A8713B'/%3E%3Cellipse cx='-7' cy='107' rx='6.0' ry='2.7' transform='rotate(68 -7 107)' fill='%23F0CC96'/%3E%3Cellipse cx='173' cy='107' rx='6.0' ry='2.7' transform='rotate(68 173 107)' fill='%23F0CC96'/%3E%3Cellipse cx='-7' cy='106' rx='6.0' ry='2.7' transform='rotate(68 -7 106)' fill='%23A8713B'/%3E%3Cellipse cx='173' cy='106' rx='6.0' ry='2.7' transform='rotate(68 173 106)' fill='%23A8713B'/%3E%3Cellipse cx='44' cy='159' rx='3.1' ry='1.8' transform='rotate(145 44 159)' fill='%23F0CC96'/%3E%3Cellipse cx='44' cy='158' rx='3.1' ry='1.8' transform='rotate(145 44 158)' fill='%23A8713B'/%3E%3Cellipse cx='139' cy='88' rx='5.8' ry='1.7' transform='rotate(46 139 88)' fill='%23F0CC96'/%3E%3Cellipse cx='139' cy='87' rx='5.8' ry='1.7' transform='rotate(46 139 87)' fill='%23A8713B'/%3E%3Cellipse cx='52' cy='77' rx='3.2' ry='1.8' transform='rotate(61 52 77)' fill='%23F0CC96'/%3E%3Cellipse cx='52' cy='76' rx='3.2' ry='1.8' transform='rotate(61 52 76)' fill='%23A8713B'/%3E%3Cellipse cx='-18' cy='-2' rx='5.5' ry='2.7' transform='rotate(45 -18 -2)' fill='%23F0CC96'/%3E%3Cellipse cx='-18' cy='178' rx='5.5' ry='2.7' transform='rotate(45 -18 178)' fill='%23F0CC96'/%3E%3Cellipse cx='162' cy='-2' rx='5.5' ry='2.7' transform='rotate(45 162 -2)' fill='%23F0CC96'/%3E%3Cellipse cx='162' cy='178' rx='5.5' ry='2.7' transform='rotate(45 162 178)' fill='%23F0CC96'/%3E%3Cellipse cx='-18' cy='-3' rx='5.5' ry='2.7' transform='rotate(45 -18 -3)' fill='%23A8713B'/%3E%3Cellipse cx='-18' cy='177' rx='5.5' ry='2.7' transform='rotate(45 -18 177)' fill='%23A8713B'/%3E%3Cellipse cx='162' cy='-3' rx='5.5' ry='2.7' transform='rotate(45 162 -3)' fill='%23A8713B'/%3E%3Cellipse cx='162' cy='177' rx='5.5' ry='2.7' transform='rotate(45 162 177)' fill='%23A8713B'/%3E%3Cellipse cx='-7' cy='96' rx='5.4' ry='1.7' transform='rotate(38 -7 96)' fill='%23F0CC96'/%3E%3Cellipse cx='173' cy='96' rx='5.4' ry='1.7' transform='rotate(38 173 96)' fill='%23F0CC96'/%3E%3Cellipse cx='-7' cy='95' rx='5.4' ry='1.7' transform='rotate(38 -7 95)' fill='%23A8713B'/%3E%3Cellipse cx='173' cy='95' rx='5.4' ry='1.7' transform='rotate(38 173 95)' fill='%23A8713B'/%3E%3Cellipse cx='151' cy='144' rx='6.0' ry='2.9' transform='rotate(77 151 144)' fill='%23F0CC96'/%3E%3Cellipse cx='151' cy='143' rx='6.0' ry='2.9' transform='rotate(77 151 143)' fill='%23A8713B'/%3E%3Cellipse cx='105' cy='154' rx='3.7' ry='2.8' transform='rotate(50 105 154)' fill='%23F0CC96'/%3E%3Cellipse cx='105' cy='153' rx='3.7' ry='2.8' transform='rotate(50 105 153)' fill='%23A8713B'/%3E%3Cellipse cx='138' cy='3' rx='5.2' ry='3.7' transform='rotate(4 138 3)' fill='%23F0CC96'/%3E%3Cellipse cx='138' cy='183' rx='5.2' ry='3.7' transform='rotate(4 138 183)' fill='%23F0CC96'/%3E%3Cellipse cx='138' cy='2' rx='5.2' ry='3.7' transform='rotate(4 138 2)' fill='%23A8713B'/%3E%3Cellipse cx='138' cy='182' rx='5.2' ry='3.7' transform='rotate(4 138 182)' fill='%23A8713B'/%3E%3Cellipse cx='107' cy='117' rx='5.9' ry='2.9' transform='rotate(46 107 117)' fill='%23F0CC96'/%3E%3Cellipse cx='107' cy='116' rx='5.9' ry='2.9' transform='rotate(46 107 116)' fill='%23A8713B'/%3E%3Cellipse cx='73' cy='-6' rx='6.1' ry='1.9' transform='rotate(17 73 -6)' fill='%23F0CC96'/%3E%3Cellipse cx='73' cy='174' rx='6.1' ry='1.9' transform='rotate(17 73 174)' fill='%23F0CC96'/%3E%3Cellipse cx='73' cy='-7' rx='6.1' ry='1.9' transform='rotate(17 73 -7)' fill='%23A8713B'/%3E%3Cellipse cx='73' cy='173' rx='6.1' ry='1.9' transform='rotate(17 73 173)' fill='%23A8713B'/%3E%3Cellipse cx='17' cy='6' rx='4.3' ry='1.9' transform='rotate(156 17 6)' fill='%23F0CC96'/%3E%3Cellipse cx='17' cy='186' rx='4.3' ry='1.9' transform='rotate(156 17 186)' fill='%23F0CC96'/%3E%3Cellipse cx='197' cy='6' rx='4.3' ry='1.9' transform='rotate(156 197 6)' fill='%23F0CC96'/%3E%3Cellipse cx='197' cy='186' rx='4.3' ry='1.9' transform='rotate(156 197 186)' fill='%23F0CC96'/%3E%3Cellipse cx='17' cy='5' rx='4.3' ry='1.9' transform='rotate(156 17 5)' fill='%23A8713B'/%3E%3Cellipse cx='17' cy='185' rx='4.3' ry='1.9' transform='rotate(156 17 185)' fill='%23A8713B'/%3E%3Cellipse cx='197' cy='5' rx='4.3' ry='1.9' transform='rotate(156 197 5)' fill='%23A8713B'/%3E%3Cellipse cx='197' cy='185' rx='4.3' ry='1.9' transform='rotate(156 197 185)' fill='%23A8713B'/%3E%3Cellipse cx='118' cy='24' rx='4.7' ry='2.3' transform='rotate(89 118 24)' fill='%23F0CC96'/%3E%3Cellipse cx='118' cy='23' rx='4.7' ry='2.3' transform='rotate(89 118 23)' fill='%23A8713B'/%3E%3Cellipse cx='40' cy='31' rx='3.2' ry='2.4' transform='rotate(128 40 31)' fill='%23F0CC96'/%3E%3Cellipse cx='40' cy='30' rx='3.2' ry='2.4' transform='rotate(128 40 30)' fill='%23A8713B'/%3E%3Cellipse cx='99' cy='10' rx='5.3' ry='3.5' transform='rotate(139 99 10)' fill='%23F0CC96'/%3E%3Cellipse cx='99' cy='190' rx='5.3' ry='3.5' transform='rotate(139 99 190)' fill='%23F0CC96'/%3E%3Cellipse cx='99' cy='8' rx='5.3' ry='3.5' transform='rotate(139 99 8)' fill='%23A8713B'/%3E%3Cellipse cx='99' cy='188' rx='5.3' ry='3.5' transform='rotate(139 99 188)' fill='%23A8713B'/%3E%3Cellipse cx='142' cy='3' rx='4.4' ry='1.7' transform='rotate(138 142 3)' fill='%23F0CC96'/%3E%3Cellipse cx='142' cy='183' rx='4.4' ry='1.7' transform='rotate(138 142 183)' fill='%23F0CC96'/%3E%3Cellipse cx='142' cy='1' rx='4.4' ry='1.7' transform='rotate(138 142 1)' fill='%23A8713B'/%3E%3Cellipse cx='142' cy='181' rx='4.4' ry='1.7' transform='rotate(138 142 181)' fill='%23A8713B'/%3E%3Cellipse cx='32' cy='129' rx='3.5' ry='3.1' transform='rotate(56 32 129)' fill='%23F0CC96'/%3E%3Cellipse cx='32' cy='128' rx='3.5' ry='3.1' transform='rotate(56 32 128)' fill='%23A8713B'/%3E%3Cellipse cx='8' cy='71' rx='3.7' ry='3.6' transform='rotate(53 8 71)' fill='%23F0CC96'/%3E%3Cellipse cx='188' cy='71' rx='3.7' ry='3.6' transform='rotate(53 188 71)' fill='%23F0CC96'/%3E%3Cellipse cx='8' cy='70' rx='3.7' ry='3.6' transform='rotate(53 8 70)' fill='%23A8713B'/%3E%3Cellipse cx='188' cy='70' rx='3.7' ry='3.6' transform='rotate(53 188 70)' fill='%23A8713B'/%3E%3Cellipse cx='91' cy='100' rx='6.3' ry='1.8' transform='rotate(108 91 100)' fill='%23F0CC96'/%3E%3Cellipse cx='91' cy='99' rx='6.3' ry='1.8' transform='rotate(108 91 99)' fill='%23A8713B'/%3E%3Cellipse cx='91' cy='133' rx='6.4' ry='2.3' transform='rotate(126 91 133)' fill='%23F0CC96'/%3E%3Cellipse cx='91' cy='132' rx='6.4' ry='2.3' transform='rotate(126 91 132)' fill='%23A8713B'/%3E%3Cellipse cx='95' cy='102' rx='2.8' ry='3.4' transform='rotate(176 95 102)' fill='%23F0CC96'/%3E%3Cellipse cx='95' cy='101' rx='2.8' ry='3.4' transform='rotate(176 95 101)' fill='%23A8713B'/%3E%3Cellipse cx='64' cy='58' rx='6.5' ry='1.8' transform='rotate(14 64 58)' fill='%23F0CC96'/%3E%3Cellipse cx='64' cy='57' rx='6.5' ry='1.8' transform='rotate(14 64 57)' fill='%23A8713B'/%3E%3Cellipse cx='13' cy='148' rx='5.5' ry='2.6' transform='rotate(112 13 148)' fill='%23F0CC96'/%3E%3Cellipse cx='193' cy='148' rx='5.5' ry='2.6' transform='rotate(112 193 148)' fill='%23F0CC96'/%3E%3Cellipse cx='13' cy='147' rx='5.5' ry='2.6' transform='rotate(112 13 147)' fill='%23A8713B'/%3E%3Cellipse cx='193' cy='147' rx='5.5' ry='2.6' transform='rotate(112 193 147)' fill='%23A8713B'/%3E%3Cellipse cx='4' cy='117' rx='4.3' ry='2.7' transform='rotate(70 4 117)' fill='%23F0CC96'/%3E%3Cellipse cx='184' cy='117' rx='4.3' ry='2.7' transform='rotate(70 184 117)' fill='%23F0CC96'/%3E%3Cellipse cx='4' cy='116' rx='4.3' ry='2.7' transform='rotate(70 4 116)' fill='%23A8713B'/%3E%3Cellipse cx='184' cy='116' rx='4.3' ry='2.7' transform='rotate(70 184 116)' fill='%23A8713B'/%3E%3Cellipse cx='72' cy='42' rx='2.7' ry='2.6' transform='rotate(44 72 42)' fill='%23F0CC96'/%3E%3Cellipse cx='72' cy='41' rx='2.7' ry='2.6' transform='rotate(44 72 41)' fill='%23A8713B'/%3E%3Cellipse cx='127' cy='148' rx='5.4' ry='2.6' transform='rotate(43 127 148)' fill='%23F0CC96'/%3E%3Cellipse cx='127' cy='147' rx='5.4' ry='2.6' transform='rotate(43 127 147)' fill='%23A8713B'/%3E%3Cellipse cx='69' cy='89' rx='5.0' ry='3.7' transform='rotate(15 69 89)' fill='%23F0CC96'/%3E%3Cellipse cx='69' cy='88' rx='5.0' ry='3.7' transform='rotate(15 69 88)' fill='%23A8713B'/%3E%3Cellipse cx='86' cy='90' rx='5.4' ry='3.6' transform='rotate(140 86 90)' fill='%23F0CC96'/%3E%3Cellipse cx='86' cy='89' rx='5.4' ry='3.6' transform='rotate(140 86 89)' fill='%23A8713B'/%3E%3Cellipse cx='113' cy='138' rx='5.2' ry='3.5' transform='rotate(126 113 138)' fill='%23F0CC96'/%3E%3Cellipse cx='113' cy='137' rx='5.2' ry='3.5' transform='rotate(126 113 137)' fill='%23A8713B'/%3E%3Cellipse cx='123' cy='44' rx='1.6' ry='1.0' transform='rotate(111 123 44)' fill='%237D4F25'/%3E%3Cellipse cx='148' cy='-7' rx='1.7' ry='0.8' transform='rotate(56 148 -7)' fill='%237D4F25'/%3E%3Cellipse cx='148' cy='173' rx='1.7' ry='0.8' transform='rotate(56 148 173)' fill='%237D4F25'/%3E%3Cellipse cx='56' cy='70' rx='1.0' ry='1.1' transform='rotate(14 56 70)' fill='%237D4F25'/%3E%3Cellipse cx='54' cy='-10' rx='1.5' ry='1.1' transform='rotate(19 54 -10)' fill='%237D4F25'/%3E%3Cellipse cx='54' cy='170' rx='1.5' ry='1.1' transform='rotate(19 54 170)' fill='%237D4F25'/%3E%3Cellipse cx='-8' cy='127' rx='1.1' ry='1.0' transform='rotate(115 -8 127)' fill='%237D4F25'/%3E%3Cellipse cx='172' cy='127' rx='1.1' ry='1.0' transform='rotate(115 172 127)' fill='%237D4F25'/%3E%3Cellipse cx='123' cy='47' rx='1.7' ry='1.0' transform='rotate(46 123 47)' fill='%237D4F25'/%3E%3Cellipse cx='152' cy='28' rx='1.4' ry='0.9' transform='rotate(108 152 28)' fill='%237D4F25'/%3E%3Cellipse cx='50' cy='68' rx='1.7' ry='1.1' transform='rotate(79 50 68)' fill='%237D4F25'/%3E%3Cellipse cx='111' cy='51' rx='1.0' ry='1.0' transform='rotate(49 111 51)' fill='%237D4F25'/%3E%3Cellipse cx='34' cy='-7' rx='0.9' ry='1.3' transform='rotate(168 34 -7)' fill='%237D4F25'/%3E%3Cellipse cx='34' cy='173' rx='0.9' ry='1.3' transform='rotate(168 34 173)' fill='%237D4F25'/%3E%3Cellipse cx='127' cy='3' rx='1.3' ry='0.8' transform='rotate(109 127 3)' fill='%237D4F25'/%3E%3Cellipse cx='127' cy='183' rx='1.3' ry='0.8' transform='rotate(109 127 183)' fill='%237D4F25'/%3E%3Cellipse cx='126' cy='43' rx='0.9' ry='1.1' transform='rotate(17 126 43)' fill='%237D4F25'/%3E%3Cellipse cx='56' cy='82' rx='1.6' ry='1.0' transform='rotate(24 56 82)' fill='%237D4F25'/%3E%3Cellipse cx='143' cy='148' rx='1.3' ry='0.8' transform='rotate(34 143 148)' fill='%237D4F25'/%3E%3Cellipse cx='73' cy='99' rx='1.1' ry='1.3' transform='rotate(152 73 99)' fill='%237D4F25'/%3E%3Cellipse cx='-13' cy='159' rx='0.9' ry='1.1' transform='rotate(14 -13 159)' fill='%237D4F25'/%3E%3Cellipse cx='167' cy='159' rx='0.9' ry='1.1' transform='rotate(14 167 159)' fill='%237D4F25'/%3E%3Cellipse cx='-18' cy='134' rx='1.5' ry='0.9' transform='rotate(11 -18 134)' fill='%237D4F25'/%3E%3Cellipse cx='162' cy='134' rx='1.5' ry='0.9' transform='rotate(11 162 134)' fill='%237D4F25'/%3E%3Cellipse cx='147' cy='109' rx='1.4' ry='1.1' transform='rotate(144 147 109)' fill='%237D4F25'/%3E%3Cellipse cx='61' cy='49' rx='1.2' ry='1.0' transform='rotate(113 61 49)' fill='%237D4F25'/%3E%3Cellipse cx='-20' cy='13' rx='1.0' ry='1.1' transform='rotate(122 -20 13)' fill='%237D4F25'/%3E%3Cellipse cx='-20' cy='193' rx='1.0' ry='1.1' transform='rotate(122 -20 193)' fill='%237D4F25'/%3E%3Cellipse cx='160' cy='13' rx='1.0' ry='1.1' transform='rotate(122 160 13)' fill='%237D4F25'/%3E%3Cellipse cx='160' cy='193' rx='1.0' ry='1.1' transform='rotate(122 160 193)' fill='%237D4F25'/%3E%3Cellipse cx='34' cy='49' rx='0.9' ry='0.8' transform='rotate(89 34 49)' fill='%237D4F25'/%3E%3Cellipse cx='123' cy='118' rx='1.0' ry='0.9' transform='rotate(168 123 118)' fill='%237D4F25'/%3E%3Cellipse cx='97' cy='74' rx='1.5' ry='1.2' transform='rotate(94 97 74)' fill='%237D4F25'/%3E%3Cellipse cx='14' cy='149' rx='1.1' ry='0.8' transform='rotate(63 14 149)' fill='%237D4F25'/%3E%3Cellipse cx='194' cy='149' rx='1.1' ry='0.8' transform='rotate(63 194 149)' fill='%237D4F25'/%3E%3Cellipse cx='96' cy='113' rx='1.0' ry='1.2' transform='rotate(89 96 113)' fill='%237D4F25'/%3E%3Cellipse cx='29' cy='153' rx='1.5' ry='1.3' transform='rotate(122 29 153)' fill='%237D4F25'/%3E%3Cellipse cx='39' cy='140' rx='1.6' ry='1.1' transform='rotate(164 39 140)' fill='%237D4F25'/%3E%3Cellipse cx='-5' cy='70' rx='1.7' ry='1.4' transform='rotate(143 -5 70)' fill='%237D4F25'/%3E%3Cellipse cx='175' cy='70' rx='1.7' ry='1.4' transform='rotate(143 175 70)' fill='%237D4F25'/%3E%3Cellipse cx='2' cy='63' rx='1.4' ry='1.2' transform='rotate(136 2 63)' fill='%237D4F25'/%3E%3Cellipse cx='182' cy='63' rx='1.4' ry='1.2' transform='rotate(136 182 63)' fill='%237D4F25'/%3E%3Cellipse cx='116' cy='29' rx='1.6' ry='1.1' transform='rotate(159 116 29)' fill='%237D4F25'/%3E%3Cellipse cx='37' cy='-0' rx='1.3' ry='1.3' transform='rotate(133 37 -0)' fill='%237D4F25'/%3E%3Cellipse cx='37' cy='180' rx='1.3' ry='1.3' transform='rotate(133 37 180)' fill='%237D4F25'/%3E%3Cellipse cx='159' cy='65' rx='1.0' ry='1.0' transform='rotate(32 159 65)' fill='%237D4F25'/%3E%3Cellipse cx='97' cy='147' rx='1.2' ry='0.9' transform='rotate(5 97 147)' fill='%237D4F25'/%3E%3Cellipse cx='76' cy='104' rx='0.9' ry='1.2' transform='rotate(38 76 104)' fill='%237D4F25'/%3E%3Cellipse cx='19' cy='-13' rx='1.3' ry='1.3' transform='rotate(93 19 -13)' fill='%237D4F25'/%3E%3Cellipse cx='19' cy='167' rx='1.3' ry='1.3' transform='rotate(93 19 167)' fill='%237D4F25'/%3E%3Cellipse cx='199' cy='-13' rx='1.3' ry='1.3' transform='rotate(93 199 -13)' fill='%237D4F25'/%3E%3Cellipse cx='199' cy='167' rx='1.3' ry='1.3' transform='rotate(93 199 167)' fill='%237D4F25'/%3E%3Cellipse cx='22' cy='43' rx='1.2' ry='1.2' transform='rotate(139 22 43)' fill='%237D4F25'/%3E%3Cellipse cx='135' cy='117' rx='1.1' ry='1.1' transform='rotate(68 135 117)' fill='%237D4F25'/%3E%3Cellipse cx='88' cy='48' rx='1.3' ry='1.1' transform='rotate(6 88 48)' fill='%237D4F25'/%3E%3Cellipse cx='148' cy='106' rx='1.5' ry='1.2' transform='rotate(132 148 106)' fill='%237D4F25'/%3E%3Cellipse cx='-1' cy='68' rx='1.2' ry='0.8' transform='rotate(120 -1 68)' fill='%237D4F25'/%3E%3Cellipse cx='179' cy='68' rx='1.2' ry='0.8' transform='rotate(120 179 68)' fill='%237D4F25'/%3E%3Cellipse cx='105' cy='104' rx='2.2' ry='0.9' transform='rotate(41 105 104)' fill='%23F6DCAE'/%3E%3Cellipse cx='132' cy='146' rx='1.6' ry='0.8' transform='rotate(67 132 146)' fill='%23F6DCAE'/%3E%3Cellipse cx='149' cy='90' rx='1.6' ry='1.1' transform='rotate(113 149 90)' fill='%23F6DCAE'/%3E%3Cellipse cx='108' cy='125' rx='2.0' ry='1.3' transform='rotate(67 108 125)' fill='%23F6DCAE'/%3E%3Cellipse cx='45' cy='141' rx='2.0' ry='1.4' transform='rotate(36 45 141)' fill='%23F6DCAE'/%3E%3Cellipse cx='153' cy='-20' rx='1.1' ry='1.0' transform='rotate(114 153 -20)' fill='%23F6DCAE'/%3E%3Cellipse cx='153' cy='160' rx='1.1' ry='1.0' transform='rotate(114 153 160)' fill='%23F6DCAE'/%3E%3Cellipse cx='26' cy='150' rx='1.3' ry='1.3' transform='rotate(53 26 150)' fill='%23F6DCAE'/%3E%3Cellipse cx='39' cy='37' rx='1.6' ry='1.3' transform='rotate(39 39 37)' fill='%23F6DCAE'/%3E%3Cellipse cx='124' cy='60' rx='1.8' ry='1.1' transform='rotate(35 124 60)' fill='%23F6DCAE'/%3E%3Cellipse cx='25' cy='10' rx='1.8' ry='1.1' transform='rotate(22 25 10)' fill='%23F6DCAE'/%3E%3Cellipse cx='25' cy='190' rx='1.8' ry='1.1' transform='rotate(22 25 190)' fill='%23F6DCAE'/%3E%3Cellipse cx='159' cy='118' rx='1.0' ry='1.3' transform='rotate(107 159 118)' fill='%23F6DCAE'/%3E%3Cellipse cx='80' cy='90' rx='2.2' ry='1.1' transform='rotate(115 80 90)' fill='%23F6DCAE'/%3E%3Cellipse cx='114' cy='66' rx='1.4' ry='1.3' transform='rotate(114 114 66)' fill='%23F6DCAE'/%3E%3Cellipse cx='82' cy='92' rx='1.3' ry='1.4' transform='rotate(4 82 92)' fill='%23F6DCAE'/%3E%3Cellipse cx='116' cy='82' rx='1.3' ry='1.2' transform='rotate(105 116 82)' fill='%23F6DCAE'/%3E%3Cellipse cx='16' cy='88' rx='1.2' ry='1.4' transform='rotate(59 16 88)' fill='%23F6DCAE'/%3E%3Cellipse cx='196' cy='88' rx='1.2' ry='1.4' transform='rotate(59 196 88)' fill='%23F6DCAE'/%3E%3Cellipse cx='59' cy='39' rx='1.1' ry='0.9' transform='rotate(27 59 39)' fill='%23F6DCAE'/%3E%3Cellipse cx='112' cy='153' rx='1.3' ry='0.9' transform='rotate(96 112 153)' fill='%23F6DCAE'/%3E%3Cellipse cx='21' cy='73' rx='1.9' ry='0.9' transform='rotate(126 21 73)' fill='%23F6DCAE'/%3E%3Cellipse cx='97' cy='15' rx='1.3' ry='1.2' transform='rotate(17 97 15)' fill='%23F6DCAE'/%3E%3Cellipse cx='97' cy='195' rx='1.3' ry='1.2' transform='rotate(17 97 195)' fill='%23F6DCAE'/%3E%3Cellipse cx='37' cy='104' rx='2.0' ry='1.2' transform='rotate(119 37 104)' fill='%23F6DCAE'/%3E%3Cellipse cx='2' cy='54' rx='1.4' ry='1.4' transform='rotate(64 2 54)' fill='%23F6DCAE'/%3E%3Cellipse cx='182' cy='54' rx='1.4' ry='1.4' transform='rotate(64 182 54)' fill='%23F6DCAE'/%3E%3Cellipse cx='141' cy='6' rx='1.6' ry='1.4' transform='rotate(139 141 6)' fill='%23F6DCAE'/%3E%3Cellipse cx='141' cy='186' rx='1.6' ry='1.4' transform='rotate(139 141 186)' fill='%23F6DCAE'/%3E%3Cellipse cx='104' cy='33' rx='2.1' ry='0.9' transform='rotate(174 104 33)' fill='%23F6DCAE'/%3E%3Cellipse cx='140' cy='130' rx='1.6' ry='0.9' transform='rotate(61 140 130)' fill='%23F6DCAE'/%3E%3Cellipse cx='120' cy='118' rx='1.5' ry='1.4' transform='rotate(10 120 118)' fill='%23F6DCAE'/%3E%3Cellipse cx='52' cy='16' rx='1.4' ry='1.4' transform='rotate(136 52 16)' fill='%23F6DCAE'/%3E%3Cellipse cx='52' cy='196' rx='1.4' ry='1.4' transform='rotate(136 52 196)' fill='%23F6DCAE'/%3E%3Cellipse cx='27' cy='56' rx='1.1' ry='1.3' transform='rotate(80 27 56)' fill='%23F6DCAE'/%3E%3Cellipse cx='42' cy='67' rx='2.0' ry='1.1' transform='rotate(124 42 67)' fill='%23F6DCAE'/%3E%3Cellipse cx='113' cy='85' rx='1.7' ry='1.1' transform='rotate(36 113 85)' fill='%23F6DCAE'/%3E%3C/svg%3E") 0 0/180px 180px,#D9A767;
  box-shadow:inset 0 .5em 0 rgba(96,56,22,.22),inset 0 0 0 .38em #A8703A,inset 0 0 0 calc(.38em + 2px) #252735}
/* a note: flat paper with an ink outline and a hard shadow, tilted and drifted a little differently each time; --ar, --b and the rest are set per note in views/home-tab.mjs */
.ht__note{--paper:#FFF3B8;--ol:max(1px,.09em);position:relative;padding:1.7em .85em .9em;aspect-ratio:var(--ar,1);border-radius:var(--b,2px);font-size:clamp(5px,calc(100cqw / var(--cols,2) * .085),15px);line-height:1.35;color:#252735;background:var(--paper);
  translate:var(--dx,0) var(--dy,0);rotate:var(--r,0deg);scale:var(--s,1);box-shadow:0 0 0 var(--ol) #252735,.16em .22em 0 var(--ol) rgba(70,38,10,.4);transition:rotate .3s var(--ease),scale .3s var(--ease),box-shadow .3s,opacity .2s}
.ht__note:hover{rotate:calc(var(--r,0deg) * .4);scale:calc(var(--s,1) * 1.07);z-index:2;box-shadow:0 0 0 var(--ol) #252735,.26em .36em 0 var(--ol) rgba(70,38,10,.4)}
.ht__note p{margin:.25em 0 0;overflow-wrap:anywhere}
.ht__note--picture{--paper:#FFFDF8;padding:.8em .8em .9em;aspect-ratio:auto}
.ht__pic{display:block;width:100%;height:auto;margin:.4em 0 .15em;border-radius:2px;object-fit:cover;box-shadow:0 0 0 var(--ol) rgba(37,39,53,.55);pointer-events:none;-webkit-user-drag:none}
.ht__note--picture p{margin:.35em 0 0}
.ht__note--curl::after{content:"";position:absolute;right:0;bottom:0;width:1.7em;height:1.7em;background:linear-gradient(315deg,transparent 0 48%,rgba(37,39,53,.55) 48% 52%,rgba(255,255,255,.65) 52%);clip-path:polygon(100% 0,0 100%,100% 100%)}
.ht__by{display:block;font-weight:700;font-size:.92em;letter-spacing:.06em;text-transform:uppercase;color:#9A4C66}
/* flat-head pins: a flat cap on a short neck, each a different colour, size, thickness and angle */
.ht__pin{--ol:max(1px,.09em);position:absolute;top:0;left:var(--px,50%);width:calc(var(--ps,1.4em) * 1.3);height:calc(var(--ps,1.4em) * 1.3);translate:-50% -58%;rotate:var(--pr,0deg);z-index:1;pointer-events:none;filter:drop-shadow(.16em .22em 0 rgba(70,38,10,.4))}
.ht__pin::before{content:"";position:absolute;left:0;right:0;top:0;height:var(--hh,40%);box-sizing:border-box;border:var(--ol) solid #252735;border-radius:.22em;background:linear-gradient(180deg,color-mix(in srgb,var(--pc,#C0392B) 52%,#fff) 0 32%,var(--pc,#C0392B) 32%)}
.ht__pin::after{content:"";position:absolute;left:var(--nl,31%);right:var(--nl,31%);top:calc(var(--hh,40%) - .06em);bottom:0;box-sizing:border-box;border:var(--ol) solid #252735;border-top:0;border-radius:0 0 .2em .2em;background:linear-gradient(90deg,#E3E7EB 0 42%,#98A2AD 42%);z-index:-1}
.ht__pin--1{--hh:30%;--nl:36%}
.ht__pin--2{width:calc(var(--ps,1.4em) * 1.05);height:calc(var(--ps,1.4em) * 1.05);--hh:44%}
.ht__pin--3{--hh:50%;--nl:27%}
/* scattered by home-tab.js: each note at its own spot (--x, --y as % of the cork), --nw wide, newest on top */
.ht__cork.is-scattered{display:block;overflow:hidden}
.is-scattered .ht__note{position:absolute;left:calc(var(--x) * 1%);top:calc(var(--y) * 1%);width:calc(var(--nw) * 100%);font-size:clamp(5px,calc(var(--nw) * 100cqw * .1),15px);z-index:var(--z,1)}
.is-scattered .ht__note:hover{z-index:60}
.ht__open{position:absolute;inset:0;z-index:2;border:0;padding:0;background:transparent;cursor:pointer;border-radius:inherit}
.ht__open:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.ht__note.is-lifted{opacity:0;pointer-events:none}
.ht__cork form{display:none}
.ht__empty{aspect-ratio:auto;font-size:14px;grid-column:1 / -1;justify-self:center;max-width:220px}
/* the note brought to the front: it lifts out of its place and the rest of the board dims behind it */
.ht__focus{position:absolute;inset:0;z-index:6;display:grid;place-items:center;padding:6% 8% 17%;background:rgba(36,20,6,.6);cursor:zoom-out;animation:ht-fade .25s ease backwards}
.ht__focus .ht__note{--r:-1.6deg;--dx:0px;--dy:0px;--s:1;--ol:2px;font-size:clamp(15px,calc(100cqw * .052),22px);width:min(100%,320px);max-height:100%;overflow:auto;aspect-ratio:auto;padding:2em 1.1em 1.1em;cursor:default;box-shadow:0 0 0 var(--ol) #252735,.3em .4em 0 var(--ol) rgba(20,10,2,.55);transition:none}
.ht__focus .ht__note:hover{rotate:var(--r);scale:1}
.ht__focus .ht__note--picture{width:min(100%,420px)}
.ht__focus .ht__open{display:none}
.ht__focus .ht__note p{font-size:1.1em;line-height:1.45}
.ht__focus .ht__pin{--ol:2px}
.ht__focus-x,.ht__focus-down{position:absolute;z-index:7;border:var(--ht-line) solid #252735;cursor:pointer;font:700 14px/1 var(--body)}
.ht__focus-x{top:12px;right:14px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:var(--ink);font-size:20px}
.ht__focus-down{bottom:14px;padding:8px 14px;border-radius:999px;background:#fff;color:var(--ink)}
.ht__focus-x:hover,.ht__focus-down:hover,.ht__focus-x:focus-visible,.ht__focus-down:focus-visible{background:var(--pink-soft)}

/* the calendar in use: a month bar with arrows, days you can click, a red marker dot where something is on, and the day opening over the page */
.ht__monthbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.ht__monthbar .ht__monthname{margin:0}
.ht__monthname small{margin-left:8px;font:700 13px/1 var(--body);letter-spacing:.04em;color:var(--text-muted);vertical-align:middle}
button.ht__monthname{cursor:pointer;color:inherit;transition:background .2s,translate .2s var(--ease)}
button.ht__monthname:hover,button.ht__monthname:focus-visible{background:var(--pink);translate:0 -2px}
.ht__mnav{display:grid;place-items:center;width:30px;height:30px;padding:0 0 3px;border:var(--ht-line) solid var(--ink);border-radius:50%;background:#fff;color:var(--ink);font:700 20px/1 var(--body);cursor:pointer;box-shadow:2px 2px 0 rgba(var(--ink-rgb),.25);transition:background .2s,translate .2s var(--ease),box-shadow .2s}
.ht__mnav:hover:not(.is-off),.ht__mnav:focus-visible{background:var(--pink-soft);translate:0 -2px;box-shadow:2px 4px 0 rgba(var(--ink-rgb),.25)}
.ht__mnav:active:not(.is-off){translate:1px 1px;box-shadow:0 0 0 rgba(0,0,0,0)}
.ht__mnav.is-off{opacity:.3;cursor:default;box-shadow:none}
button.ht__d{padding:0;border:0;background:transparent;font-family:inherit;cursor:pointer;transition:background .2s,translate .2s var(--ease)}
button.ht__d:hover,button.ht__d:focus-visible{background:var(--pink-soft);translate:0 -1px}
button.ht__d.is-leave:hover,button.ht__d.is-leave:focus-visible{background:var(--pink-deep)}
/* A subscription falling due has its own colour: violet, as against the pink of holiday. */
.ht__d.has-sub{background:#6C54C8;color:#fff;border-radius:9px 6px 10px 7px;box-shadow:inset 0 -3px 0 rgba(var(--ink-rgb),.16)}
.ht__d.has-sub:hover,button.ht__d.has-sub:focus-visible{background:#5440A8}
.ht__d.has-sub.is-leave{background:var(--pink);box-shadow:inset 0 0 0 3px #6C54C8}
.ht__subdot{position:absolute;right:3px;top:3px;width:6px;height:6px;border-radius:50%;background:#fff}
.ht__dp-sub b{color:#5440A8}
.ht__dp-sub a{color:inherit}
button.ht__d:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.ht__dot{position:absolute;left:50%;bottom:2px;translate:-50% 0;z-index:2;width:7px;height:6.5px;border-radius:55% 45% 50% 50%;background:#D8342C;box-shadow:0 0 0 1.5px #fff;rotate:-12deg}
.ht__d.is-leave .ht__dot{box-shadow:0 0 0 1.5px var(--pink)}
@keyframes ht-turn{from{opacity:0;transform:perspective(700px) rotateX(-35deg) translateY(-6px);transform-origin:50% 0}}
.ht__page.is-turning{animation:ht-turn .4s var(--ease)}
.ht__cal.is-turned.is-in .ht__x path,.ht__cal.is-turned.is-in .ht__x path:last-child,.ht__cal.is-turned.is-in .ht__circ path{animation:none}
.ht__daylayer{position:absolute;inset:0;z-index:8;display:grid;place-items:center;padding:14px;border-radius:inherit;background:rgba(37,39,53,.5);animation:ht-fade .2s ease backwards}
.ht__dp{width:min(100%,310px);max-height:100%;overflow:auto;padding:16px 16px 14px;border:var(--ht-line) solid var(--ink);border-radius:18px;background:var(--bg-page);box-shadow:5px 6px 0 rgba(var(--ink-rgb),.35);animation:ht-pop .3s var(--ease) backwards}
.ht__dp header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.ht__dp header small{display:block;font-weight:700;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--pink-deep)}
.ht__dp h3{margin:0;font:400 26px/1.1 var(--display);letter-spacing:.05em;text-transform:uppercase}
.ht__dp-x,.ht__dp-del{display:grid;place-items:center;flex:none;border:var(--ht-line) solid var(--ink);border-radius:50%;background:#fff;color:var(--ink);font:700 18px/1 var(--body);cursor:pointer;padding:0 0 2px;transition:background .2s}
.ht__dp-x{width:30px;height:30px}
.ht__dp-del{width:24px;height:24px;font-size:15px;grid-row:1 / span 2;grid-column:2;align-self:center}
.ht__dp-x:hover,.ht__dp-del:hover,.ht__dp-x:focus-visible,.ht__dp-del:focus-visible{background:var(--pink-soft)}
.ht__dp-list{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}
.ht__dp-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1px 8px;padding:8px 10px;border:var(--ht-line) solid var(--ink);border-radius:10px;background:#fff;box-shadow:2px 2px 0 rgba(var(--ink-rgb),.2)}
.ht__dp-item b{font-weight:700;overflow-wrap:anywhere}
.ht__dp-item time{font-variant-numeric:tabular-nums;color:var(--pink-deep)}
.ht__dp-item span{grid-column:1;font-size:12px;color:var(--text-muted)}
.ht__dp-leave{background:var(--pink);color:#fff;border-color:var(--ink)}
.ht__dp-leave span{color:#fff}
.ht__dp-bday{grid-template-columns:auto minmax(0,1fr)}
.ht__dp-bday .ht__hat{position:static;grid-row:1;rotate:0deg;width:22px;height:24px;filter:none}
.ht__dp-none{margin:0 0 12px;color:var(--text-muted);font-size:14px}
.ht__dp-form{display:grid;gap:8px}
.ht__dp-form input[type=text],.ht__dp-title,.ht__dp-form input[type=time]{font:inherit;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--ink);min-width:0}
.ht__dp-title{width:100%}
.ht__dp-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ht__dp-private{display:flex;align-items:center;gap:5px;font-size:13px;margin-right:auto}
.ht__dp-err{margin:0;color:#B3261E;font-size:13px}

/* meetings: a blue square in the corner of a day, and a line in the day's panel and the week view */
.ht__mdot{position:absolute;left:3px;top:3px;width:6px;height:6px;border-radius:2px;background:#2F6DB5;box-shadow:0 0 0 1.5px #fff}
.ht__d.is-leave .ht__mdot{box-shadow:0 0 0 1.5px var(--pink)}
.ht__dp-mt b{color:#2F6DB5}
.ht__dp-mt a{color:inherit}

/* the Month / Week slider hides under the month name and slides out on hover or focus; where there is no hover it is always there */
.ht__mnav{flex:none}
.ht__mhead{position:relative;display:grid;justify-items:center;min-width:max-content}
.ht__monthname .ht__range{display:block;margin:2px 0 0;font-size:10px;letter-spacing:.08em;text-align:center}
.ht__monthname:has(.ht__range){padding-block:3px 4px;line-height:1.1}
.ht__mhead .ht__monthname{min-width:124px;box-sizing:border-box;text-align:center;transition:opacity .2s}
.ht__view{position:absolute;inset:0;z-index:4;display:grid;grid-template-columns:1fr 1fr;padding:3px;border:var(--ht-line) solid var(--ink);border-radius:8px;background:var(--pink-soft);rotate:-1deg;box-shadow:3px 3px 0 rgba(var(--ink-rgb),.25);opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s}
.ht__view::before{content:"";position:absolute;inset:3px auto 3px 3px;width:calc(50% - 3px);border-radius:5px;background:var(--pink);box-shadow:0 0 0 1px var(--ink);transition:translate .25s var(--ease)}
.ht__view[data-view-now=week]::before{translate:100% 0}
/* the knob follows the pointer between the two, and settles back on the current view when it leaves */
.ht__view:has([data-view=month]:hover)::before,.ht__view:has([data-view=month]:focus-visible)::before{translate:0 0}
.ht__view:has([data-view=week]:hover)::before,.ht__view:has([data-view=week]:focus-visible)::before{translate:100% 0}
.ht__view button{position:relative;display:grid;place-items:center;padding:0;border:0;border-radius:5px;background:transparent;color:var(--ink);font:400 18px/1.2 var(--display);letter-spacing:.06em;text-transform:uppercase;cursor:pointer}
.ht__view button:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
/* on hover the slider takes the month name's place, box for box */
.ht__mhead:hover .ht__view,.ht__mhead:focus-within .ht__view{opacity:1;visibility:visible;transition-delay:0s}
.ht__mhead:hover .ht__monthname,.ht__mhead:focus-within .ht__monthname{opacity:0}
@media (hover:none){.ht__view{position:static;rotate:none;margin-top:8px;padding-block:5px;opacity:1;visibility:visible}.ht__mhead:hover .ht__monthname,.ht__mhead:focus-within .ht__monthname{opacity:1}}
.ht__page.is-swapping{animation:ht-fade .25s ease backwards}
/* the week view: the month grid's seven columns, each one a tall day with its number on top and what's on it stacked below */
.ht__week7{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;align-items:stretch}
.ht__wc{display:flex;flex-direction:column;gap:3px;min-height:210px;padding:2px;border-radius:6px;box-shadow:inset 0 0 0 1px rgba(var(--ink-rgb),.07)}
.ht__wc.is-weekend .ht__wd span{font-weight:400;color:var(--text-faint)}
.ht__wc.is-away{opacity:.6}
.ht__wc.is-today{background:var(--pink-soft)}
.ht__wc.is-leave{background:rgba(var(--pink-rgb,230,120,150),.14)}
.ht__wd{position:relative;display:grid;place-items:center;align-content:center;aspect-ratio:1;width:100%;padding:0;border:0;border-radius:6px;background:transparent;color:var(--ink);font:inherit;line-height:1.1;cursor:pointer;transition:background .2s,translate .2s var(--ease)}
.ht__wd span{font-size:13px;font-weight:700}
.ht__wd small{font-size:8px;color:var(--text-muted)}
.ht__wd:hover,.ht__wd:focus-visible{background:var(--pink-soft);translate:0 -1px}
.ht__wc.is-today .ht__wd:hover{background:transparent}
.ht__wd:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.ht__wl{display:flex;flex-direction:column;gap:3px;min-width:0}
.ht__wi,.ht__mt{display:grid;min-width:0;padding:2px 1px;border:1px solid rgba(var(--ink-rgb),.5);border-radius:5px;background:#fff;color:var(--ink);font-size:9px;line-height:1.15;text-align:center;overflow:hidden;text-decoration:none}
.ht__mt{border-color:#2F6DB5;background:#E6EEF8;transition:background .2s}
.ht__mt:hover,.ht__mt:focus-visible{background:#CFDFF2}
.ht__wi span,.ht__mt span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ht__wl time{font-variant-numeric:tabular-nums;font-weight:700}
.ht__wi--leave{background:var(--pink);border-color:var(--ink);color:#fff;font-weight:700}
.ht__wi--sub{background:#6C54C8;border-color:#6C54C8;color:#fff;white-space:nowrap;text-overflow:ellipsis}
.ht__wi--bday{justify-items:center;padding:3px 0;background:var(--pink-soft)}
.ht__wi--bday .ht__hat{position:static;rotate:0deg;width:18px;height:20px;filter:none}

/* notes you can move: grab one to drag it, pull its corner to resize it */
.ht__note[data-move]{touch-action:none;-webkit-user-select:none;user-select:none}
.ht__note[data-move] .ht__open{cursor:grab}
.is-scattered .ht__note:hover{z-index:400}
.is-scattered .ht__note.is-dragging{z-index:500;scale:calc(var(--s,1) * 1.07);rotate:calc(var(--r,0deg) * .3);box-shadow:0 0 0 var(--ol) #252735,.5em .7em 0 var(--ol) rgba(70,38,10,.35);transition:box-shadow .2s}
.ht__note.is-dragging .ht__open{cursor:grabbing}
.ht__grip{position:absolute;right:-5px;bottom:-5px;z-index:3;width:14px;height:14px;border:var(--ht-line) solid #252735;border-radius:4px;background:linear-gradient(135deg,#fff 0 40%,#252735 40% 52%,#fff 52% 64%,#252735 64% 76%,#fff 76%);cursor:nwse-resize;opacity:0;transition:opacity .2s}
.ht__note:hover .ht__grip,.ht__note.is-dragging .ht__grip,.ht__grip:focus-visible{opacity:1}
@media (hover:none){.ht__grip{opacity:.9}}

/* who's in */
.ht__whohead{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}
.ht__whohead h2{font-size:clamp(34px,3.4vw,46px);text-align:center}
.ht__when{color:var(--text-muted);font-size:14px}
.ht__daynav{display:flex;align-items:center;gap:8px;justify-self:end}
.ht__step{display:grid;place-items:center;width:38px;height:38px;border:var(--ht-line) solid var(--ink);border-radius:50%;background:#fff;color:var(--ink);font-size:22px;line-height:1;text-decoration:none;transition:background .25s,translate .25s var(--ease)}
a.ht__step:hover,a.ht__step:focus-visible{background:var(--pink-soft)}
.ht__step:first-child:hover{translate:-3px 0}.ht__step:last-child:hover{translate:3px 0}
.ht__step.is-off{opacity:.25}
.ht__today{padding:8px 16px;border-radius:999px;background:var(--ink);color:#fff;font-size:14px;font-weight:700;text-decoration:none}
.ht__tribes{display:flex;flex-wrap:wrap;gap:18px 34px;align-items:flex-start;padding:4px 6px 0}
.ht__tribe{display:grid;gap:0;justify-items:center;min-width:140px}
/* Empty groups only need space while they are available as drop targets. */
.ht__who:not(.is-dragging) .ht__tribe:not(:has(.ht__faces)){display:none}
.ht__label{display:inline-flex;align-items:center;gap:8px;font:400 24px/1.1 var(--display);letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px}
.ht__label small{font:600 13px var(--body);color:var(--text-muted);letter-spacing:0}
.ht__walk{width:14px;height:20px}
.ht__walk circle,.ht__walk path{fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round}
.ht__brace{position:relative;display:block;justify-self:stretch;height:12px;margin:12px 6px 14px;border:var(--ht-line) solid var(--ink);border-bottom:0;border-radius:10px 10px 0 0;transform-origin:50% 100%}
.ht__brace::before{content:"";position:absolute;left:50%;top:-12px;width:2px;height:10px;margin-left:-1px;background:var(--ink)}
.ht__faces{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:12px 14px}
.ht__faces li{position:relative}
.ht__faces a{display:grid;justify-items:center;gap:6px;width:68px;color:var(--ink);text-decoration:none;font-size:13px;font-weight:600}
.ht__faces .face{width:54px!important;height:54px!important;border:2px solid var(--ring,var(--ink));box-sizing:border-box;transition:translate .3s var(--ease),scale .3s var(--ease)}
.ht__faces a:hover .face,.ht__faces a:focus-visible .face{translate:0 -6px;scale:1.1}
.ht__faces li::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 2px);translate:-50% 6px;padding:5px 10px;border-radius:8px;background:var(--ink);color:#fff;font-size:12px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s,translate .25s var(--ease);z-index:3}
.ht__faces li:hover::after,.ht__faces li:focus-within::after{opacity:1;translate:-50% 0}
.ht__none{margin:0;color:var(--text-faint);font-size:14px}
.ht__notset{margin:6px 0 0;text-align:center;font-size:14px;color:var(--text-muted)}
.ht__notset a{color:var(--ink)}

.ht__podium{position:relative;margin:auto 0}
.ht__confetti{position:absolute;top:0;width:6px;height:10px;border-radius:2px;opacity:0;pointer-events:none}
.ht__confetti--pink{background:var(--pink)}.ht__confetti--blue{background:var(--spring-blue)}.ht__confetti--sage{background:var(--spring-sage)}.ht__confetti--warn{background:var(--signal-warn)}
@keyframes ht-emerge{from{transform:translateY(74px)}}
@keyframes ht-land{0%{opacity:0;transform:translateY(-40px)}60%{opacity:1;transform:translateY(3px)}80%{transform:translateY(-2px)}100%{transform:none}}
@keyframes ht-squash{0%,100%{transform:scaleY(1)}30%{transform:scaleY(.82) scaleX(1.06)}60%{transform:scaleY(1.1) scaleX(.96)}}
@keyframes ht-fall{0%{opacity:0;transform:translateY(-10px) rotate(0)}10%{opacity:1}100%{opacity:0;transform:translateY(150px) rotate(540deg)}}
.ht__hours.is-in .ht__block{animation:ht-emerge .9s cubic-bezier(.25,1.25,.45,1) backwards}
.ht__hours.is-in .ht__footshadow{animation:rv-fade .4s ease backwards;animation-delay:1.1s}
.ht__hours.is-in .ht__block--3{animation-delay:.25s}.ht__hours.is-in .ht__block--2{animation-delay:.45s}.ht__hours.is-in .ht__block--1{animation-delay:.65s}
.ht__hours.is-in .ht__racer--1{transform-box:fill-box;transform-origin:50% 100%;animation:ht-land .7s var(--ease) 1.2s backwards,ht-squash .55s ease-in-out 2s 3}
.ht__hours.is-in .ht__confetti{animation:ht-fall 1.8s cubic-bezier(.3,.6,.6,1) backwards;animation-delay:calc(1.5s + var(--i,0) * .18s)}
/* entrances */
@keyframes ht-line{from{stroke-dashoffset:1}}
@keyframes ht-hill{from{transform:scaleY(0)}}
@keyframes ht-flag{from{opacity:0;transform:translateY(-14px) scale(.4)}}
@keyframes ht-wave{50%{transform:rotate(-5deg)}}
@keyframes ht-flip{from{opacity:0;transform:perspective(800px) rotateX(-78deg)}}
@keyframes ht-ring{from{opacity:0;transform:translateY(-16px) scaleY(.3)}}
@keyframes ht-bang{0%{transform:rotate(0)}30%{transform:rotate(-22deg) scale(1.3)}60%{transform:rotate(12deg)}100%{transform:rotate(0)}}
@keyframes ht-tab{from{translate:-50% 100%}}
@keyframes ht-drop{from{opacity:0;translate:var(--dx,0) calc(var(--dy,0%) - 46px);rotate:calc(var(--r) * -5)}}
@keyframes ht-fade{from{opacity:0}}
@keyframes ht-face{from{opacity:0;transform:translateY(16px) scale(.3)}}
@keyframes ht-brace{from{transform:scaleX(0)}}
@keyframes ht-pop{from{opacity:0;transform:scale(.85)}}
@keyframes ht-pulse{0%{transform:scale(1);opacity:.9}100%{transform:scale(1.55);opacity:0}}
.ht__cal.is-in .ht__sheet{animation:ht-flip .95s cubic-bezier(.2,1.25,.4,1) .1s backwards}
.ht__cal.is-in .ht__ring{animation:ht-ring .45s cubic-bezier(.3,1.6,.5,1) backwards;animation-delay:calc(.75s + var(--i,0) * 70ms)}
.ht__cal.is-in .ht__x path{animation:ht-line .35s var(--ease) backwards;animation-delay:calc(.9s + var(--i,0) * 55ms)}
.ht__cal.is-in .ht__x path:last-child{animation-delay:calc(1s + var(--i,0) * 55ms)}
.ht__cal.is-in .ht__circ path{animation:ht-line .7s var(--ease) 1.5s backwards}
.ht__cal.is-in .ht__d.is-leave{animation:ht-pop .45s cubic-bezier(.3,1.6,.5,1) 1.6s backwards}
.ht__cal.is-in .ht__bang{animation:ht-bang .8s var(--ease) 1.1s backwards}
.ht__calwrap:has(.is-in) .ht__tab{animation:ht-tab .7s cubic-bezier(.3,1.5,.5,1) 1.3s backwards}
html.reveal .ht__calwrap:not(:has(.is-in)) .ht__tab{translate:-50% 100%}
.ht__tab:hover{animation:ht-bang .6s var(--ease)}
.ht__board.is-in .ht__note{animation:ht-drop .7s cubic-bezier(.3,1.35,.5,1) backwards;animation-delay:calc(.15s + min(var(--i,0) * 35ms,1.1s))}
.ht__board.is-in .ht__pin{animation:rv-pop .3s cubic-bezier(.3,1.8,.5,1) backwards;animation-delay:calc(.45s + min(var(--i,0) * 35ms,1.1s))}
/* Who's in: photos that can be dragged between groups (who-in.js). */
.ht__faces li[data-movable] a{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.ht__faces li[data-movable] img{-webkit-user-drag:none;pointer-events:none}
.ht__faces li.is-dragging{opacity:.3}
html.is-dragging-face,html.is-dragging-face *{cursor:grabbing!important;user-select:none}
.ht__who.is-dragging .ht__tribe[data-group]{border-radius:16px;outline:var(--ht-line) dashed rgba(var(--ink-rgb),.35);outline-offset:6px;transition:background-color .2s,outline-color .2s}
.ht__who.is-dragging .ht__tribe.is-over{background:var(--pink-soft);outline-color:var(--pink)}
.ht__who.is-dragging .ht__faces li::after{display:none}
.ht__ghost{position:fixed;z-index:200;left:0;top:0;width:68px;pointer-events:none;filter:drop-shadow(0 10px 14px rgba(var(--ink-rgb),.28))}
.ht__ghost a{display:grid;justify-items:center;gap:6px;color:var(--ink);font-size:13px;font-weight:600;text-decoration:none;scale:1.12}
.ht__ghost .face{width:54px!important;height:54px!important;border:2px solid var(--ring,var(--ink));box-sizing:border-box}
.ht__tribe--unset .ht__brace{border-style:dashed}
.ht__hint{margin:0;text-align:center;font-size:13px;color:var(--text-muted)}
.ht__moved{margin:0;min-height:0;text-align:center;font-size:14px;font-weight:600;color:var(--ink)}
.ht__moved:empty{display:none}
.ht__moved.is-bad{color:#B3394A}
.ht__who.is-still,.ht__who.is-still :is(.ht__brace,.ht__label,.ht__faces li){animation:none!important}
.ht__offmenu{position:fixed;z-index:210;display:grid;gap:2px;min-width:180px;padding:8px;border:var(--ht-line,1px) solid var(--ink);border-radius:14px;background:#fff;box-shadow:0 18px 40px rgba(37,39,53,.22)}
.ht__offhead{margin:0;padding:4px 10px 6px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}
.ht__offmenu button{display:flex;align-items:center;gap:10px;padding:9px 10px;border:0;border-radius:8px;background:transparent;font:600 15px var(--body);color:var(--ink);text-align:left;cursor:pointer}
.ht__offmenu button:hover,.ht__offmenu button:focus-visible{background:var(--pink-soft);outline:0}
.ht__offmenu i{flex:none;width:12px;height:12px;border-radius:50%}
.ht__who.is-in .ht__brace{animation:ht-brace .6s var(--ease) .1s backwards}
.ht__who.is-in .ht__label{animation:rv-rise .5s var(--ease) backwards}
.ht__who.is-in .ht__faces li{animation:ht-face .6s cubic-bezier(.3,1.6,.5,1) backwards;animation-delay:calc(.3s + var(--i,0) * 45ms)}
@media(max-width:900px){.ht__whohead{grid-template-columns:1fr auto}.ht__whohead h2{grid-row:1;grid-column:1;text-align:left}.ht__when{grid-row:2;grid-column:1 / -1}.ht__daynav{grid-row:1;grid-column:2}}
@media(max-width:900px){.ht--compact .ht__when{grid-row:1;grid-column:1}}
.numbox--date .input{width:76px;text-align:center}

/* The animals (views/home-tab.mjs): inked, shaded cartoon tortoise and hares. */
.ht__a-skin{fill:url(#ht-g-skin);stroke:var(--ink);stroke-width:1.5;stroke-linejoin:round}
.ht__a-far{filter:brightness(.8)}
.ht__a-shell{fill:url(#ht-g-shell);stroke:var(--ink);stroke-width:1.8;stroke-linejoin:round}
.ht__a-plates{fill:none;stroke:#3D5E34;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;opacity:.75}
.ht__a-gloss{fill:#fff;opacity:.38}
.ht__a-rim{fill:#EADBA4;stroke:var(--ink);stroke-width:1.4;stroke-linejoin:round}
.ht__a-fur{fill:url(#ht-g-fur);stroke:var(--ink);stroke-width:1.5;stroke-linejoin:round}
.ht__a-belly{fill:#FBF5EC;opacity:.9}
.ht__a-shade{fill:none;stroke:#C6A982;stroke-width:1.4;stroke-linecap:round;opacity:.7}
.ht__a-inner{fill:#F2B8C2}
.ht__a-tail{fill:#fff;stroke:var(--ink);stroke-width:1.4}
.ht__a-white{fill:#fff;stroke:var(--ink);stroke-width:1}
.ht__a-pupil{fill:var(--ink)}
.ht__a-glint{fill:#fff}
.ht__a-lid{stroke:var(--ink);stroke-width:1;transform-box:fill-box;transform-origin:50% 0;transform:scaleY(0)}
.ht__a-lid--skin{fill:#BCD68F}.ht__a-lid--fur{fill:#EAD8BF}
.ht__a-lid--half{transform:scaleY(.6)}
.ht__a-line{fill:none;stroke:var(--ink);stroke-width:1.2;stroke-linecap:round}
.ht__a-whisk{fill:none;stroke:var(--ink);stroke-width:.7;stroke-linecap:round;opacity:.6}
.ht__a-blush{fill:var(--pink);opacity:.55}
.ht__a-nose{fill:var(--pink-deep)}
.ht__t-head,.ht__t-bob,.ht__h-ears,.ht__h-sway,.ht__h-foot,.ht__h-nose,.ht__nap-breathe,.ht__nap-ear{transform-box:fill-box}
.ht__t-head,.ht__t-bob{transform-origin:0 100%}
.ht__h-ears,.ht__h-sway{transform-origin:50% 100%}
.ht__h-foot{transform-origin:100% 100%}
.ht__h-nose{transform-origin:50% 50%}
.ht__nap-breathe{transform-origin:50% 100%}
.ht__nap-ear{transform-origin:100% 50%}
/* asleep on the track: breathing, and an ear that twitches now and then */
@keyframes ht-breathe{50%{transform:scale(1.04,1.08)}}
@keyframes ht-twitch{0%,88%,100%{transform:rotate(0)}91%{transform:rotate(-14deg)}94%{transform:rotate(4deg)}97%{transform:rotate(-8deg)}}
.ht__nap-breathe{animation:ht-breathe 3.4s ease-in-out infinite}
.ht__nap-ear{animation:ht-twitch 6s ease-in-out 2s infinite}
/* on the podium: the tortoise thuds down, then its head comes out of its shell, it blinks and bobs */
@keyframes ht-thud{0%{opacity:0;transform:translateY(-34px)}55%{opacity:1;transform:translateY(0) scale(1.06,.86)}75%{transform:scale(.97,1.04)}100%{transform:none}}
@keyframes ht-peek{0%{transform:translate(-13px,2px) scale(.7)}70%{transform:translate(1.5px,0) scale(1.04)}100%{transform:none}}
@keyframes ht-bob{50%{transform:rotate(-5deg) translateY(-.6px)}}
@keyframes ht-blink{0%,90%,100%{transform:scaleY(0)}94%{transform:scaleY(1)}}
@keyframes ht-blink-half{0%,90%,100%{transform:scaleY(.6)}94%{transform:scaleY(1)}}
.ht__hours.is-in .ht__racer--2{transform-box:fill-box;transform-origin:50% 100%;animation:ht-thud .75s cubic-bezier(.4,0,.6,1) .95s backwards}
.ht__hours.is-in .ht__t-head{animation:ht-peek .6s cubic-bezier(.3,1.5,.5,1) 1.8s backwards}
.ht__hours.is-in .ht__t-bob{animation:ht-bob 2.6s ease-in-out 2.6s infinite}
.ht__hours.is-in .ht__tortoise .ht__a-lid{animation:ht-blink 4.2s ease-in-out 2.8s infinite}
/* the hare hops in, then sulks: ears flop back, it glares sideways, its nose twitches and its foot taps */
@keyframes ht-hop{0%{opacity:0;transform:translate(36px,0)}35%{opacity:1;transform:translate(18px,-24px) rotate(-8deg)}68%{transform:translate(0,0) scale(1.08,.84)}84%{transform:scale(.96,1.05)}100%{transform:none}}
@keyframes ht-droop{to{transform:rotate(52deg)}}
@keyframes ht-sway{50%{transform:rotate(6deg)}}
@keyframes ht-sniff{0%,70%,100%{transform:scale(1)}75%{transform:scale(1.35,.8)}80%{transform:scale(.85,1.2)}85%{transform:scale(1.25,.85)}}
@keyframes ht-tap{0%,45%,100%{transform:rotate(0)}8%,28%{transform:rotate(16deg)}18%,38%{transform:rotate(0)}}
.ht__hours.is-in .ht__racer--3{transform-box:fill-box;transform-origin:50% 100%;animation:ht-hop .8s ease-out .7s backwards}
.ht__hours.is-in .ht__h-ears{animation:ht-droop .7s cubic-bezier(.5,1.6,.6,1) 2.1s forwards}
.ht__hours.is-in .ht__h-sway{animation:ht-sway 3.4s ease-in-out 3s infinite}
.ht__hours.is-in .ht__h-nose{animation:ht-sniff 2.6s ease-in-out 2.4s infinite}
.ht__hours.is-in .ht__h-foot{animation:ht-tap 1.9s ease-in-out 2.9s infinite}
.ht__hours.is-in .ht__hare .ht__a-lid{animation:ht-blink-half 5s ease-in-out 3.4s infinite}
/* the beach pair: a crab that waves both claws and blinks, a sulky seagull that taps a foot and now and then dips its head */
.ht__a-crab{fill:url(#ht-g-crab);stroke:var(--ink);stroke-width:1.5;stroke-linejoin:round}
.ht__a-leg{fill:none;stroke:var(--ink);stroke-width:3.8;stroke-linecap:round;stroke-linejoin:round}
.ht__a-leg--in{stroke:#D8574A;stroke-width:1.9}
.ht__a-leg--gull-in{fill:none;stroke:#F2A03D;stroke-width:1.9;stroke-linecap:round}
.ht__a-stalk{stroke-width:1.6}
.ht__a-gull{fill:url(#ht-g-gull);stroke:var(--ink);stroke-width:1.5;stroke-linejoin:round}
.ht__a-wing{fill:#B9C4CE;stroke:var(--ink);stroke-width:1.2;stroke-linejoin:round}
.ht__a-tip{fill:#3A4150}
.ht__a-beak{fill:#F6C443;stroke:var(--ink);stroke-width:1.2;stroke-linejoin:round}
.ht__a-spot{fill:#D9473C}
.ht__a-foot{fill:#F2A03D;stroke:var(--ink);stroke-width:1.1;stroke-linejoin:round}
.ht__a-lid--crab{fill:#EE6A55}.ht__a-lid--gull{fill:#F3F6F9}
.ht__c-arm,.ht__g-head,.ht__g-foot{transform-box:fill-box}
.ht__c-arm{transform-origin:100% 100%}.ht__g-head{transform-origin:100% 100%}.ht__g-foot{transform-origin:50% 0}
@keyframes ht-claw{0%,100%{transform:rotate(0)}50%{transform:rotate(-16deg)}}
@keyframes ht-peck{0%,78%,100%{transform:rotate(0)}84%{transform:rotate(-12deg)}90%{transform:rotate(3deg)}95%{transform:rotate(-8deg)}}
.ht__hours.is-in .ht__c-arm--l{animation:ht-claw 1.7s ease-in-out 2.2s infinite}
.ht__hours.is-in .ht__c-arm--r{animation:ht-claw 1.7s ease-in-out 3s infinite}
.ht__hours.is-in .ht__crab .ht__a-lid{animation:ht-blink 4.4s ease-in-out 2.6s infinite}
.ht__hours.is-in .ht__g-foot{animation:ht-tap 1.9s ease-in-out 2.9s infinite}
.ht__hours.is-in .ht__g-head{animation:ht-peck 5.5s ease-in-out 3.2s infinite}
.ht__hours.is-in .ht__gull .ht__a-lid{animation:ht-blink-half 5s ease-in-out 3.4s infinite}
/* Southwold High Street: brick and bunting, the Swan, a pillar box and the road */
.ht__hs-courses{fill:none;stroke:#8E4632;stroke-width:.5;opacity:.7}.ht__hs-fascia{fill:#2E3338}.ht__hs-shop{fill:#2B3035}.ht__hs-blue{fill:#2A6CC6}
.ht__hs-trellis{fill:none;stroke:#5C6670;stroke-width:.7}
.ht__hs-name .ht__hs-welcome{font:600 3.4px var(--body)!important;letter-spacing:.02em;fill:#F4F4F4!important}
.ht__hs-name .ht__hs-logo{font:700 3.2px var(--body)!important;letter-spacing:.02em;fill:#fff!important}
.ht__hs-bars{fill:none;stroke:#fff;stroke-width:1}
.ht__hs-plaque{fill:#2C3A44}
.ht__hs-name text{font:700 4.6px var(--body)!important;letter-spacing:.06em;fill:#F4EAD0!important}
.ht__hs-pole{fill:none;stroke:#59606B;stroke-width:1.4;stroke-linecap:round}
.ht__hs-string{fill:none;stroke:#59606B;stroke-width:.7}
.ht__hs-lamp path,.ht__hs-lamp circle{fill:#23363A}.ht__hs-glass{fill:#F3D98A}
.ht__hs-box-red{fill:#D9473C}.ht__hs-cap{fill:#B73A31}
.ht__hs-pave{fill:#C6C2BA}.ht__hs-slabs{fill:none;stroke:#AFABA3;stroke-width:.7}.ht__hs-kerb{fill:#DAD6CE}
.ht__hs-tar{fill:#6C6F76}.ht__hs-patch{fill:#62656C}.ht__hs-front{fill:#5F6268}
.ht__hs-yellow{fill:none;stroke:#E9C84A;stroke-width:1.2}
.ht__hs-dash{fill:none;stroke:#fff;stroke-width:2;stroke-dasharray:16 12;opacity:.85}
.ht__hs-cone{fill:#F07B2E;stroke:var(--ink);stroke-width:1;stroke-linejoin:round}.ht__hs-conestripe{fill:none;stroke:#fff;stroke-width:1.8}
.ht__hs-bunting{transform-box:fill-box;transform-origin:0 0;animation:ht-flutter 3.6s ease-in-out infinite alternate}
@keyframes ht-flutter{from{transform:translateY(-.5px) skewX(1.5deg)}to{transform:translateY(.7px) skewX(-1.5deg)}}
/* the pub dog wags its tail and pants, the pub cat flicks its tail and ears and glares */
.ht__a-cream{fill:#F6EBD3;stroke:rgba(37,39,53,.55);stroke-width:.9;stroke-linejoin:round}
.ht__a-cat{fill:url(#ht-g-ginger);stroke:var(--ink);stroke-width:1.5;stroke-linejoin:round}
.ht__a-lid--cat{fill:#EE9A52}.ht__a-stripe{fill:none;stroke:#C0692B;stroke-width:1.4;stroke-linecap:round}
.ht__k-tail-edge{stroke-width:6.6}.ht__a-leg--ginger{stroke:#EE9A52;stroke-width:4.4}
.ht__a-tan{fill:#C98A55;stroke:var(--ink);stroke-width:1;stroke-linejoin:round}
.ht__a-tongue{fill:#F08AA0;stroke:var(--ink);stroke-width:1}.ht__a-nose--dog{fill:#2B2B33}.ht__d-collar{fill:none;stroke:#D9473C;stroke-width:2;stroke-linecap:round}.ht__d-tag{fill:#F2C94C;stroke:var(--ink);stroke-width:.8}
.ht__d-tail-edge{stroke-width:5.6}.ht__a-leg--tan{stroke:#C98A55;stroke-width:3.6}
.ht__d-tail,.ht__d-tongue,.ht__k-tail,.ht__k-ear{transform-box:fill-box}
.ht__d-tail{transform-origin:0 100%}.ht__d-tongue{transform-origin:50% 0}.ht__k-tail{transform-origin:0 100%}.ht__k-ear{transform-origin:50% 100%}
@keyframes ht-wag{0%,100%{transform:rotate(-10deg)}50%{transform:rotate(14deg)}}
@keyframes ht-pant{50%{transform:scaleY(1.3)}}
@keyframes ht-swish{0%,100%{transform:rotate(0)}50%{transform:rotate(11deg)}}
.ht__hours.is-in .ht__d-tail{animation:ht-wag .55s ease-in-out 2.2s infinite}
.ht__hours.is-in .ht__d-tongue{animation:ht-pant .7s ease-in-out 2.2s infinite}
.ht__hours.is-in .ht__k-tail{animation:ht-swish 1.9s ease-in-out 2.4s infinite}
.ht__hours.is-in .ht__k-ear{animation:ht-twitch 6s ease-in-out 3s infinite}.ht__hours.is-in .ht__k-ear--r{animation-delay:4.2s}
.ht__hours.is-in .ht__cat .ht__a-lid{animation:ht-blink-half 5s ease-in-out 3.4s infinite}
/* Hogwarts over the black lake: storm sky, castle on its crag, lantern boats, a jetty for the track */
.ht__hp-wall{fill:#1B2038}.ht__hp-lit{fill:#2C3556}.ht__hp-roof{fill:#12162B}.ht__hp-pillar{fill:#39426A}.ht__hp-arch{fill:none;stroke:#12162B;stroke-width:1.4}
.ht__hp-win{fill:#FFD57A;animation:ht-flicker 4.4s ease-in-out infinite;animation-delay:var(--d,0s)}
.ht__hp-star{fill:#fff;animation:ht-twinkle 3s ease-in-out infinite;animation-delay:var(--d,0s)}
.ht__hp-cloud{fill:#0C1128;opacity:.88}.ht__hp-cloudrim{fill:none;stroke:#8FA8D0;stroke-width:1.2;stroke-linecap:round;opacity:.4}
.ht__hp-farrock{fill:#34456A}.ht__hp-cliff{fill:#1F2538}.ht__hp-cliff--front{fill:#151A2B}.ht__hp-facet{fill:#323A57;opacity:.8}
.ht__hp-mist{fill:#7F8FB8;opacity:.22}
.ht__hp-lake{fill:#0A1029}
.ht__hp-ripple{fill:none;stroke:rgba(180,200,235,.3);stroke-width:1;stroke-linecap:round;animation:ht-drift 5s ease-in-out infinite alternate}
.ht__hp-hull{fill:#070A18}.ht__hp-pole{fill:none;stroke:#070A18;stroke-width:1}
.ht__hp-bulb,.ht__hp-lantern{fill:#FFD779}.ht__hp-lantern{stroke:#070A18;stroke-width:1}
.ht__hp-glow{fill:rgba(255,201,92,.3);animation:ht-flicker 3.4s ease-in-out infinite}.ht__hp-glow--big{fill:rgba(255,201,92,.22)}
.ht__hp-reflect{fill:rgba(255,201,92,.35)}
.ht__hp-ledge{fill:#2A3148}.ht__hp-ledge--top{fill:#3C4666}
.ht__hp-jetty{fill:#3D3338}.ht__hp-jetty--front{fill:#2E262B}.ht__hp-jettyside{fill:#241C21}
.ht__hp-planks{fill:none;stroke:#2A2127;stroke-width:1.2}.ht__hp-jettylip{fill:none;stroke:#6D5D5C;stroke-width:1.3}
.ht__hp-pumpkin{fill:#F07B2E;stroke:var(--ink);stroke-width:1.2}.ht__hp-ribs{fill:none;stroke:#C25A1A;stroke-width:1.2;stroke-linecap:round}.ht__hp-stem{fill:#4C6B3F;stroke:var(--ink);stroke-width:.8}
/* Harry Potter pops in, flicks his wand, fires a spell up into the sky where it bursts, and pops out: one 14s cycle for all of it */
.ht__hp-harry,.ht__hp-puff,.ht__hp-spell,.ht__hp-burst,.ht__hp-tip{opacity:0}
.ht__hp-harry,.ht__hp-puff,.ht__hp-arm,.ht__hp-bolt,.ht__hp-burst{transform-box:fill-box}
.ht__hp-harry{transform-origin:50% 100%}.ht__hp-puff{transform-origin:50% 100%}.ht__hp-arm{transform-origin:0 100%}.ht__hp-bolt,.ht__hp-burst{transform-origin:50% 50%}
.ht__hp-puff circle{fill:#D8DDF0}
.ht__hp-robe{fill:#46508A;stroke:var(--ink);stroke-width:1.3;stroke-linejoin:round}.ht__hp-face{fill:#F5CBA7;stroke:var(--ink);stroke-width:1.2}
.ht__hp-scarf{fill:#B3202A;stroke:var(--ink);stroke-width:1;stroke-linejoin:round}.ht__hp-gold{fill:none;stroke:#F2C94C;stroke-width:1.5;stroke-linecap:round}
.ht__hp-hair{fill:#16161F;stroke:var(--ink);stroke-width:1}.ht__hp-scar{fill:none;stroke:#C0392B;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round}
.ht__hp-lens{fill:rgba(255,255,255,.35);stroke:var(--ink);stroke-width:1.1}
.ht__hp-wandedge{fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round}.ht__hp-wandwood{fill:none;stroke:#B9854E;stroke-width:1;stroke-linecap:round}
.ht__hp-tip{fill:#FFE9A8;filter:drop-shadow(0 0 2px #FFC95C)}
.ht__hp-boltglow{fill:rgba(224,79,95,.5)}.ht__hp-boltcore{fill:#FFF3C4}.ht__hp-tail{fill:rgba(255,201,92,.7)}.ht__hp-spark{fill:none;stroke:#FFE9A8;stroke-width:1.1;stroke-linecap:round}
.ht__hp-ray{fill:none;stroke:#FFE9A8;stroke-width:1.6;stroke-linecap:round}.ht__hp-ray--red{stroke:#FF6B7F}.ht__hp-dot{fill:#FFC95C}
@keyframes ht-pop-in{0%,11%{opacity:0;transform:scale(0)}14%{opacity:1;transform:scale(1.14,.88)}17%{transform:scale(.97,1.04)}19%,58%{opacity:1;transform:none}61%{opacity:1;transform:scale(1.1,.9)}64%,100%{opacity:0;transform:scale(0)}}
@keyframes ht-puff{0%,11%{opacity:0;transform:scale(.3)}14%{opacity:.95}22%{opacity:0;transform:scale(1.8)}23%,59%{opacity:0;transform:scale(.3)}61%{opacity:.95}69%{opacity:0;transform:scale(1.8)}100%{opacity:0}}
@keyframes ht-flick{0%,24%{transform:rotate(0)}27%{transform:rotate(-28deg)}31%{transform:rotate(16deg)}36%,100%{transform:rotate(0)}}
@keyframes ht-tip{0%,25%{opacity:0}29%{opacity:1}38%,100%{opacity:0}}
@keyframes ht-bolt{0%,30%{opacity:0;transform:translateY(0) scale(.5)}31%{opacity:1;transform:translateY(0) scale(1)}40%{opacity:1;transform:translateY(-36px)}41%,100%{opacity:0;transform:translateY(-36px)}}
@keyframes ht-burst{0%,40%{opacity:0;transform:scale(.2)}42%{opacity:1;transform:scale(1.1)}55%{opacity:0;transform:scale(2.1)}100%{opacity:0}}
.ht__hours.is-in .ht__hp-harry{animation:ht-pop-in 14s ease-in-out infinite}
.ht__hours.is-in .ht__hp-puff{animation:ht-puff 14s ease-out infinite}
.ht__hours.is-in .ht__hp-arm{animation:ht-flick 14s ease-in-out infinite}
.ht__hours.is-in .ht__hp-tip{animation:ht-tip 14s linear infinite}
.ht__hours.is-in .ht__hp-spell{opacity:1}
.ht__hours.is-in .ht__hp-bolt{opacity:0;animation:ht-bolt 14s linear infinite}
.ht__hours.is-in .ht__hp-burst{animation:ht-burst 14s ease-out infinite}
@keyframes ht-twinkle{0%,100%{opacity:1}50%{opacity:.25}}
@keyframes ht-flicker{0%,86%,100%{opacity:1}90%{opacity:.45}94%{opacity:.9}}
.ht__a-fleck{fill:none;stroke:#8D7B6A;stroke-width:1.1;stroke-linecap:round}
.ht__a-eye{fill:#F6C443;stroke:var(--ink);stroke-width:1}.ht__a-lid--owl{fill:#F3F6F9}.ht__a-beakdark{fill:#3A3A44;stroke:var(--ink);stroke-width:.8;stroke-linejoin:round}
.ht__a-rat{fill:url(#ht-g-rat);stroke:var(--ink);stroke-width:1.5;stroke-linejoin:round}.ht__a-ratbelly{fill:#E4DCD0;opacity:.95}
.ht__a-pink{fill:#F0A8B4;stroke:var(--ink);stroke-width:1}.ht__a-ear{stroke:none;fill:#F2B8C2}
.ht__r-tail-edge{stroke-width:4.6}.ht__a-leg--pink{stroke:#F0A8B4;stroke-width:2.6}
.ht__o-head,.ht__r-tail,.ht__r-nose{transform-box:fill-box}
.ht__o-head{transform-origin:50% 100%}.ht__r-tail{transform-origin:0 100%}.ht__r-nose{transform-origin:50% 50%}
@keyframes ht-tilt{0%,60%,100%{transform:rotate(0)}68%,84%{transform:rotate(-12deg)}92%{transform:rotate(7deg)}}
.ht__hours.is-in .ht__o-head{animation:ht-tilt 6s ease-in-out 2.4s infinite}
.ht__hours.is-in .ht__hedwig .ht__a-lid{animation:ht-blink 4.6s ease-in-out 2.8s infinite}
.ht__hours.is-in .ht__r-tail{animation:ht-swish 2.6s ease-in-out 2.4s infinite}
.ht__hours.is-in .ht__r-nose{animation:ht-sniff 2.2s ease-in-out 2.4s infinite}

/* My Projects (Laura, 14 Oct): a live project that needs a look says so on its own card, and Saved projects follow. */
.hd__project{--look:#D9737F;--look-ground:#FBECEE;--look-text:#9B3F4C}
.hd__project.is-flagged{border-color:var(--look);box-shadow:0 0 0 1px var(--look)}
.hd__look{display:grid;gap:6px;margin:-4px -4px 4px;padding:12px 14px;border-radius:10px;background:var(--look-ground);color:var(--look-text);font-size:14px;line-height:1.45}
.hd__look p{margin:0}
.hd__look b{color:var(--ink)}
.hd__lookpill{justify-self:start;padding:4px 12px;border-radius:var(--radius-label);background:var(--look);color:#fff;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.hd__look .hd__reasons summary{color:var(--look-text);text-decoration-color:var(--look)}
.hd__lookcount{margin-left:10px;padding:4px 12px;border-radius:var(--radius-label);background:#D9737F;color:#fff;font:700 13px/1.4 var(--body);letter-spacing:0;text-transform:none;vertical-align:middle}
.saved{margin-top:56px}
.saved__groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-top:18px}
.saved__group h3{margin:0 0 12px}
.hd__look .hd__reasons{margin:0}

.project-stage-head--compact{justify-content:flex-end;margin-bottom:12px}
.ap .ap__ready{grid-column:auto;align-items:flex-start;align-content:start;flex-direction:column;padding-top:0;border-top:0}

@media (min-width:861px) and (hover:none){.side__collapse{opacity:1}html.side-collapsed .side__logo{opacity:0}}

@media (prefers-reduced-motion:reduce){.ppanel{transition:none!important}.side__collapse,.side__collapse svg,html.side-collapsed .side__logo{transition:none}}

/* Costing page: the forecast note under the actions, and the Likely / Possible choice when sending (meeting, 19 October). */
.ce__forecast-note{margin:4px 0 0;font-size:13px;line-height:1.45;color:var(--muted,#696977)}
.ce__send-dialog{width:min(440px,calc(100vw - 32px));max-width:440px;padding:28px;border:0;border-radius:10px;box-shadow:0 18px 50px rgba(37,39,53,.25)}
.ce__send-dialog::backdrop{background:rgba(37,39,53,.45)}
.ce__send-dialog h2{font-size:28px;margin:0 0 10px}
.ce__send-dialog p{margin:0 0 20px;line-height:1.5}
.ce__send-choices{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.ce__send-choices .btn[name="chance"]{background:var(--choice-colour);border-color:var(--choice-colour);color:var(--on-tag);--fill:color-mix(in srgb,var(--choice-colour),#000 10%)}
.ce__send-choices [value="likely"]{--choice-colour:var(--chance-likely)}
.ce__send-choices [value="possible"]{--choice-colour:var(--chance-possible)}
/* Rolling month range. The connected band stretches under the pointer, with grip marks on its ends. */
.mrange{min-width:0;margin:0 0 22px;padding:0;border:0}
.mrange legend{margin-bottom:4px;font-weight:600;font-size:15px}
.mrange__window{display:flex;align-items:center;justify-content:space-between;margin:8px 0 12px}
.mrange__window b{font-size:15px}
.mrange__window button{width:36px;height:36px;padding:0;border:0;border-radius:var(--radius-button);background:transparent;color:var(--ink);font:24px/1 var(--body);cursor:pointer}
.mrange__grid{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 0;touch-action:none;user-select:none;-webkit-user-select:none}
.mrange__grid button{position:relative;display:grid;justify-items:center;align-content:center;gap:5px;min-height:58px;margin:0;padding:10px 8px;border:0;border-radius:0;background:var(--bg-sunk);color:var(--ink);font:500 15px/1 var(--body);cursor:grab;touch-action:none;-webkit-touch-callout:none}
.mrange__grid button::before{content:"";position:absolute;inset:8px 0;border-right:1px solid var(--border-soft);pointer-events:none}
.mrange__grid button:nth-child(4n+1){border-radius:10px 0 0 10px}
.mrange__grid button:nth-child(4n){border-radius:0 10px 10px 0}
.mrange__grid small{font-size:11px;opacity:.65}
.mrange__grid button.is-between{background:var(--pink-soft)}
.mrange__grid button:is(.is-start,.is-end){z-index:1;background-color:var(--pink-soft);color:var(--ink)}
.mrange__grid button.is-start{border-top-left-radius:10px;border-bottom-left-radius:10px;background-image:linear-gradient(to right,var(--ink) 16px,transparent 16px)}
.mrange__grid button.is-end{border-top-right-radius:10px;border-bottom-right-radius:10px;background-image:linear-gradient(to left,var(--ink) 16px,transparent 16px)}
.mrange__grid button.is-start.is-end{background-image:linear-gradient(to right,var(--ink) 16px,transparent 16px),linear-gradient(to left,var(--ink) 16px,transparent 16px)}
.mrange__grid button:is(.is-start,.is-end)::before,.mrange__grid button:is(.is-start,.is-end)::after{content:none;position:absolute;inset:20px auto;width:5px;border:0;border-inline:1px solid #fff;opacity:.75;pointer-events:none}
.mrange__grid button.is-start::before{content:"";left:6px}
.mrange__grid button.is-end::after{content:"";right:6px}
.mrange__grid button.is-current:not([aria-pressed="true"]){box-shadow:inset 0 0 0 1px var(--pink-deep)}
.mrange__window button:hover,.mrange__grid button:hover:not(:disabled):not([aria-pressed="true"]){background:var(--pink-soft);color:var(--ink)}
.mrange button:focus-visible{z-index:2;outline:2px solid var(--pink-deep);outline-offset:2px}
.mrange__grid button:disabled{background:#F2F1EF;color:#AAA6A5;cursor:not-allowed;box-shadow:none}
.mrange.is-dragging .mrange__grid,.mrange.is-dragging .mrange__grid button{cursor:grabbing}
.mrange.is-dragging .mrange__grid button{z-index:auto;background:var(--bg-sunk);background-image:none;transform:none}
.mrange.is-dragging .mrange__grid button::before,.mrange.is-dragging .mrange__grid button::after{content:none}
.mrange.is-dragging .mrange__grid button span,.mrange.is-dragging .mrange__grid button small{position:relative;z-index:3;pointer-events:none}
.mrange__draglayer{position:absolute;inset:0;z-index:2;pointer-events:none}
.mrange__dragband{position:absolute;border-radius:8px;background:var(--pink-soft)}
.mrange__draggrip{position:absolute;width:16px;border-radius:6px;background:var(--ink);box-shadow:0 2px 5px rgba(var(--ink-rgb),.15)}
.mrange__draggrip::after{content:"";position:absolute;left:5px;top:20px;bottom:20px;width:5px;border-inline:1px solid rgba(255,255,255,.75)}
.mrange__guide{display:flex;align-items:center;gap:10px;margin-top:16px;color:var(--text-muted);font-size:12px;line-height:1.4}
.mrange__stretch{flex:none;position:relative;width:46px;height:12px;border-radius:6px;background:var(--pink-soft)}
.mrange__stretch::after{content:"↔";position:absolute;inset:0;text-align:center;color:var(--pink-deep);font:16px/12px var(--body)}
.mrange__stretch i{display:block;width:12px;height:12px;border-radius:4px;background:var(--ink);animation:month-stretch 2s var(--ease) 3}
.mrange.has-range .mrange__stretch i{width:46px;animation:none;opacity:.2}
@keyframes month-stretch{0%,15%{width:12px}65%,100%{width:46px}}
@media(prefers-reduced-motion:reduce){.mrange__stretch i{animation:none;width:46px;opacity:.2}.mrange.is-dragging .mrange__grid button{transform:none}}
.ce__send-dialog .mrange__hint{min-height:18px;margin:10px 0 0;font-size:12px;line-height:1.5;color:var(--text-muted)}

/* Meeting room: one room, a face in every chair that is booked, and the day's timetable beside it. */
.mr__eyebrow{font:700 12px var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin:0 0 8px}
.mr__layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:40px;align-items:start}
.mr__stage{min-width:0}
.mr__title{font-size:40px;line-height:1.08;margin:0 0 6px}
.mr__sub{color:var(--text-muted);margin:0}
.mr__status{min-height:112px;margin-bottom:20px}
.mr__cancel{margin-top:14px}
.mr__resources{margin-top:16px;max-width:640px}
.mr__resources details{margin-top:12px;padding:12px 0;border-top:1px solid var(--line,#ddd)}
.mr__resources summary{cursor:pointer;font-weight:700}
.mr__join{text-decoration:none}
.mr__link-form{display:flex;align-items:end;gap:10px;margin:14px 0}
.mr__link-form .field{flex:1;min-width:0;margin:0}
.mr__files{list-style:none;margin:14px 0;padding:0;display:grid;gap:10px}
.mr__files li{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.mr__files a{font-weight:700;overflow-wrap:anywhere}
.mr__files .micro{flex:1}
.mr__upload{position:relative;overflow:hidden;cursor:pointer}
.mr__upload input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}
.mr__upload:focus-within{outline:2px solid var(--ink);outline-offset:3px}
.mr__google{margin-top:14px;display:flex;flex-direction:column;gap:6px}
.mr__google p{margin:0}
.mr__guests{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.mr__guests li{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mr__guests small{color:var(--text-muted)}
.mr__link{width:auto;min-width:0;max-width:150px;padding:4px 8px;font-size:13px}
.mr__sync{margin:6px 0 0;text-align:center}
.mr__aliases{margin-top:10px;font-size:13px}
.mr__aliases summary{cursor:pointer;color:var(--text-muted)}
.mr__aliases ul{list-style:none;margin:8px 0;padding:0;display:flex;flex-direction:column;gap:6px}
.mr__aliases li{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mr__aliases small{color:var(--text-muted)}
.mr__seat--waiting .face{opacity:.55}
.mr__block--google{border-left-style:dashed}
.mr__block--shared{padding-left:6px;padding-right:4px}
.mr__block--shared .mr__faces{display:none}
.mr__room{--seat:clamp(30px,10.3cqw,66px);container-type:inline-size;position:relative;aspect-ratio:5/3;background:var(--bg-sunk);border:1px solid var(--border-soft);border-radius:var(--radius-card);overflow:hidden}
.mr__seat{position:absolute;width:var(--seat);height:var(--seat);transform:translate(-50%,-50%);border-radius:50%;display:grid;place-items:center}
.mr__seat .face{width:100%!important;height:100%!important;border:3px solid #fff;box-shadow:0 4px 14px rgba(37,39,53,.18);animation:mr-sit .5s var(--ease) both}
.mr__plan{position:absolute;inset:0;width:100%;height:100%;display:block}
.mr__seat--empty{pointer-events:none}
@container (max-width:480px){.mr__who-name{display:none}}
.mr__seat--more{background:var(--ink);color:#fff;font:700 14px var(--mono)}
.mr__who-name{position:absolute;top:calc(100% + 4px);left:50%;transform:translateX(-50%);font:700 11px/1 var(--mono);letter-spacing:.02em;white-space:nowrap;color:var(--text-primary)}
.mr__seat--top .mr__who-name{top:auto;bottom:calc(100% + 4px)}

.mr__room--still .face{animation:none}
@keyframes mr-sit{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
.mr__side{background:var(--bg-card);border:1px solid var(--border-soft);border-radius:var(--radius-card);padding:20px}
.mr__daybar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.mr__daylabel{text-align:center;min-width:0}
.mr__daylabel h2{font-size:26px;margin:0}
.mr__arrow{padding:0;width:44px;min-height:44px;display:grid;place-items:center}
.mr__today{border:0;background:none;padding:0;font:700 12px var(--mono);color:var(--text-pink);text-decoration:underline;cursor:pointer}
.mr__scroll{max-height:min(620px,68vh);overflow-y:auto;overscroll-behavior:contain;margin:0 -8px;padding:6px 8px}
.mr__grid{position:relative;cursor:pointer}
.mr__hours{list-style:none;margin:0;padding:0}
.mr__hour{position:absolute;left:0;right:0;border-top:1px solid var(--border-soft)}
.mr__hour span{position:absolute;left:0;top:-9px;width:44px;background:var(--bg-card);font:700 11px/1 var(--mono);color:var(--text-faint)}
.mr__block{position:absolute;left:54px;right:2px;display:flex;align-items:flex-start;gap:8px;padding:6px 8px;text-align:left;font:inherit;color:var(--ink);background:var(--pink-soft);border:0;border-left:4px solid var(--pink);border-radius:8px;overflow:hidden;cursor:pointer;transition:background .35s var(--ease),box-shadow .35s var(--ease)}
.mr__block:hover{background:#F3D3DB}
.mr__block.is-selected{background:var(--spring-pink);border-left-color:var(--ink);box-shadow:0 0 0 1.5px var(--ink)}
.mr__block.is-past:not(.is-selected){opacity:.55}
.mr__block:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.mr__faces{display:flex;flex:none;align-items:center}
.mr__faces .face{border:2px solid #fff;margin-left:-8px}
.mr__faces .face:first-child{margin-left:0}
.mr__more{font:700 11px var(--mono);margin-left:4px}
.mr__block-text{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.mr__block-text strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mr__block-text span{font:700 11px var(--mono);color:var(--text-muted)}
.mr__block--short{align-items:center;padding-top:0;padding-bottom:0}
.mr__block--short .mr__faces{display:none}
.mr__block--short .mr__block-text{flex-direction:row;gap:8px;align-items:baseline}
.mr__now{position:absolute;left:46px;right:0;border-top:2px solid var(--pink-deep);pointer-events:none}
.mr__now::before{content:"";position:absolute;left:-5px;top:-6px;width:10px;height:10px;border-radius:50%;background:var(--pink-deep)}
.mr__hint{margin:12px 0 0;text-align:center}
.mr__dialog{border:1px solid var(--border);border-radius:var(--radius-card);padding:28px;width:min(560px,calc(100% - 32px));max-height:88vh;overflow:auto;color:var(--ink);background:var(--bg-card);box-shadow:0 20px 80px #25273526}
.mr__dialog::backdrop{background:rgba(37,39,53,.35)}
.mr__dialog h2{font:400 36px var(--display);text-transform:uppercase;margin:0 0 20px}
.mr__dialog form{margin:0;display:grid;gap:16px}
.mr__form-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:14px}
.mr__picker{border:0;margin:0;padding:0;min-width:0;display:grid;gap:10px}
.mr__picker legend{padding:0;font-weight:700;margin-bottom:4px}
.mr__picker p{margin:0}
.mr__you{display:flex;align-items:center;gap:10px}
.mr__you small,.mr__person-name small{display:block;font:700 11px var(--mono);color:var(--text-muted)}
.mr__people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:224px;overflow-y:auto;padding:2px}
.mr__person{display:flex;align-items:center;gap:10px;padding:6px 10px;border:1px solid var(--border-soft);border-radius:var(--radius-tag);cursor:pointer;transition:background .35s var(--ease),border-color .35s var(--ease)}
.mr__person input{position:absolute;opacity:0;pointer-events:none}
.mr__person:hover{background:var(--bg-sunk)}
.mr__person:has(input:checked){background:var(--pink-soft);border-color:var(--pink)}
.mr__person:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.mr__person-name{min-width:0;font-size:14px;line-height:1.25}
.mr__error{color:var(--pink-deep);min-height:1em;margin:0}
.mr__error:empty{display:none}
.mr__actions{display:flex;justify-content:flex-end;gap:10px}
.mr__face-link{display:block;width:100%;height:100%;border-radius:50%;cursor:pointer}
.mr__face-link:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.mr__face-link .face{transition:transform .35s var(--ease)}
.mr__face-link:hover .face{transform:scale(1.07)}
.mr__x{position:absolute;top:-5px;right:-5px;z-index:2;width:20px;height:20px;padding:0;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:var(--ink);color:#fff;cursor:pointer;opacity:0;transform:scale(.7);transition:opacity .25s var(--ease),transform .25s var(--ease),background .25s var(--ease)}
.mr__seat:hover .mr__x,.mr__seat:focus-within .mr__x,.mr__x:focus-visible{opacity:1;transform:none}
.mr__x:hover{background:var(--pink-deep)}
.mr__x:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.mr__who-name{pointer-events:none}
.mr__seat--add{pointer-events:auto;padding:0;background:none;border:0;border-radius:50%;color:transparent;cursor:pointer;transition:color .3s var(--ease)}
.mr__seat--add svg{width:34%;height:34%;stroke-width:2.6}
.mr__seat--add:hover,.mr__seat--add:focus-visible{color:var(--ink)}
.mr__seat--add:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.mr__notice{margin:0 0 10px;min-height:0}
@media(hover:none){.mr__x{opacity:1;transform:none}.mr__seat--add{color:var(--text-faint)}}
@media(prefers-reduced-motion:reduce){.mr__x,.mr__seat--add,.mr__face-link .face{transition:none}}
/* One + sits on the next chair to fill (note #249): the bare + drawn on the chair, as before, but always showing. */
.mr__seat--add{color:rgba(37,39,53,.55)}
@media(max-width:1100px){.mr__layout{grid-template-columns:minmax(0,1fr);gap:28px}.mr__scroll{max-height:560px}}
@media(max-width:560px){.mr__title{font-size:32px}.mr__form-grid{grid-template-columns:1fr 1fr}.mr__form-grid .field:first-child{grid-column:1/-1}.mr__people{grid-template-columns:minmax(0,1fr)}.mr__who-name{font-size:10px}}
@media(prefers-reduced-motion:reduce){.mr__seat .face{animation:none}.mr__block,.mr__person{transition:none}}
.mr__mode{display:inline-flex;padding:3px;margin-bottom:14px;background:var(--bg-sunk);border:1px solid var(--border-soft);border-radius:999px}
.mr__mode button{border:0;background:none;padding:6px 16px;border-radius:999px;font:700 12px var(--mono);text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);cursor:pointer;transition:background .35s var(--ease),color .35s var(--ease)}
.mr__mode button[aria-pressed="true"]{background:var(--ink);color:#fff}
.mr__mode button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.mr__week{min-width:480px}
.mr__wk-head,.mr__wk-body{display:grid;grid-template-columns:54px repeat(5,minmax(0,1fr))}
.mr__wk-head{position:sticky;top:0;z-index:3;padding:6px 0 8px;background:var(--bg-card);border-bottom:1px solid var(--border-soft)}
.mr__wk-day{display:grid;justify-items:center;gap:2px;padding:4px 0;border:0;border-radius:8px;background:none;font:inherit;color:var(--ink);cursor:pointer;transition:background .25s var(--ease)}
.mr__wk-day small{font:700 11px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}
.mr__wk-day strong{display:grid;place-items:center;min-width:30px;height:30px;padding:0 4px;border-radius:999px;font-size:18px;line-height:1}
.mr__wk-day:hover{background:var(--pink-soft)}
.mr__wk-day:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.mr__wk-day.is-today strong{background:var(--pink-deep);color:#fff}
.mr__wk-day.is-current:not(.is-today) strong{box-shadow:inset 0 0 0 1.5px var(--ink)}
.mr__wk-body{position:relative;margin-top:6px}
.mr__wk-body::before{content:""}
.mr__wk-body .mr__hours{position:absolute;inset:0}
.mr__wk-col{position:relative;z-index:1;border-left:1px solid var(--border-soft);cursor:pointer}
.mr__wk-col.is-today{background:color-mix(in srgb,var(--pink-soft) 40%,transparent)}
.mr__wk-col.is-gone{cursor:default}
.mr__wk-col .mr__block{left:2px;right:2px;padding:4px 6px;gap:0}
.mr__wk-col .mr__block-text{flex:1;min-width:0}
.mr__wk-col .mr__block-text strong{font-size:13px}
.mr__wk-col .mr__block:not(.mr__block--short) .mr__block-text strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;white-space:normal;overflow-wrap:anywhere}
.mr__wk-col .mr__block--short{padding-top:0;padding-bottom:0}
.mr__wk-col .mr__block--short .mr__block-text{flex-direction:column;justify-content:center;gap:0}
.mr__wk-col .mr__now{left:0;right:0}
.mr__wk-col .mr__now::before{left:-5px}
@media(min-width:1101px){.mr--week .mr__layout{grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:32px}.mr--week .mr__title{font-size:30px}.mr--week .mr__scroll{max-height:min(700px,74vh)}}
@media(prefers-reduced-motion:reduce){.mr__mode button,.mr__wk-day{transition:none}}

/* When floating choices cannot fit, keep every choice reachable in one non-overlapping list. */
.loc__menu.loc__menu--stack { width:min(320px,calc(100vw - 16px)); height:auto; max-height:calc(100dvh - 16px); overflow:auto; padding:8px; display:grid; gap:6px; border-radius:10px; background:var(--bg-card,#fff); box-sizing:border-box; pointer-events:auto; }
.loc__menu.loc__menu--stack[hidden] { display:none; }
.loc__menu--stack .loc__opt { position:static; width:100%; min-width:0!important; max-width:100%; transform:none!important; opacity:1!important; margin:0; box-sizing:border-box; white-space:normal; height:auto; min-height:34px; text-align:center; }

.srow__control [data-studio-demo] { max-width:240px; }

/* Right-click delete for projects and clients (trash-menu.js), Rufus only. */
.tmenu{position:fixed;right:auto;bottom:auto;z-index:80;width:max-content;min-width:190px}
.tmenu[hidden]{display:none}
.pmenu__item--danger{color:#A12B22}
.pmenu__item--danger:hover,.pmenu__item--danger:focus-visible{background:#FBE9E7}
.pick--sure .pick__note p{margin:0 0 8px}
.srow--trash{flex-wrap:wrap}.srow--trash .srow__text{flex:1 1 240px;min-width:0}

/* Project setup: three planning cards, followed by the people making it happen. */
.ap__checklist{color:var(--ink)}
.ap__setuphead{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}
.ap__eyebrow{font:700 12px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-sage);margin-bottom:8px}
.ap__setuphead h2{font-size:clamp(32px,3.2cqw,42px);letter-spacing:.025em;margin:0 0 10px}
.ap__intro{font-size:15px;color:var(--text-muted)}
.ap__progress{width:170px;flex-shrink:0}
.ap__progress > div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.ap__progress b{font:400 42px/.95 var(--display);letter-spacing:.03em}
.ap__progress b span{font-size:24px;color:var(--text-muted)}
.ap__progress > div > span{font-size:12px;color:var(--text-muted)}
.ap__segments{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}
.ap__segments > span{height:5px;border-radius:3px;background:var(--border-soft)}
.ap__segments > .is-done{background:var(--spring-sage)}
.ap__steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
.ap__step{--setup-ground:var(--spring-cream);position:relative;grid-column:span 2;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:22px 24px 12px;background:var(--setup-ground);border:1px solid transparent;border-radius:var(--radius-card);transition:border-color .25s,box-shadow .25s}
.ap__step[data-setup-step="2"]{--setup-ground:var(--pink-soft)}
.ap__step[data-setup-step="3"]{--setup-ground:#EBF0ED}
.ap__step[data-setup-step="4"]{--setup-ground:#E8EDF5}
.ap__step[data-setup-step="5"]{--setup-ground:#EFE8F3}
.ap__step:nth-child(n+4){grid-column:span 3;background:var(--setup-ground);border-color:transparent;display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:16px;align-content:start}
.ap__step:focus-within{border-color:var(--spring-sage);box-shadow:0 0 0 2px color-mix(in srgb,var(--spring-sage) 12%,transparent)}
.ap__cardhead{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-bottom:20px}
.ap__stepnumber{font:700 12px/1 var(--mono);letter-spacing:.04em;color:var(--text-muted)}
.ap__state{display:inline-flex;gap:5px;align-items:center;min-height:23px;padding:2px 7px;border:1px solid color-mix(in srgb,var(--ink) 15%,transparent);border-radius:var(--radius-label);font-size:11px;line-height:1.3;color:var(--text-muted);background:color-mix(in srgb,#fff 45%,transparent)}
.ap__state.is-done{gap:8px;min-height:36px;padding:0;color:var(--text-good);border:0;background:none;font-size:12px;font-weight:700}
.ap__state svg{width:12px;height:12px;flex:none}
.ap__state.is-done svg{width:24px;height:24px;padding:0;background:none;color:var(--text-good)}
.ap__pending{width:7px;height:7px;border:1px solid currentColor;border-radius:50%}
.ap__stepicon{display:grid;place-items:center;width:40px;height:40px;margin-bottom:18px;color:var(--ink)}
.ap__stepicon > svg{width:36px;height:36px}
.ap__steptext{min-width:0}
.ap__steptext h3{margin:0 0 8px;font-size:19px;line-height:1.2;letter-spacing:-.015em}
.ap__steptext p{font-size:14px;color:var(--text-muted);line-height:1.5;overflow-wrap:anywhere}
.ap__cardaction{align-self:stretch;margin-top:auto;padding-top:18px;width:100%}
.ap__action{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:44px;padding:10px 0;border:0;border-top:1px solid color-mix(in srgb,var(--ink) 14%,transparent);background:none;color:var(--ink);font:700 14px/1.4 var(--body);text-align:left;text-decoration:none;cursor:pointer;list-style:none;transition:color .25s}
.ap__action > svg{flex:none;width:20px;height:20px;transition:transform .25s var(--ease)}
.ap__action:is(:hover,:focus-visible){color:var(--pink-deep)}
.ap__action:is(:hover,:focus-visible) > svg{transform:translateX(3px)}
.ap__action:focus-visible,.ap__go:focus-visible{outline:2px solid var(--ink);outline-offset:4px;border-radius:2px}
.ap__step:nth-child(n+4) .ap__cardhead{grid-column:1/-1;margin-bottom:16px}
.ap__step:nth-child(n+4) .ap__stepicon{grid-column:1;grid-row:2;align-self:start;margin:0;width:44px;height:44px;border-radius:10px;background:color-mix(in srgb,#fff 50%,transparent)}
.ap__step:nth-child(n+4) .ap__stepicon > svg{width:28px;height:28px}
.ap__step:nth-child(n+4) .ap__steptext{grid-column:2;grid-row:2}
.ap__step:nth-child(n+4) .ap__cardaction{grid-column:1/-1;padding-top:16px;align-self:end}
.ap__people{display:flex;align-items:center;grid-column:2;padding-top:16px;min-height:52px}
.ap__people .face{width:36px;height:36px;margin-left:-7px;border:2px solid white;object-fit:cover}
.ap__people .face:first-child{margin-left:0}
.ap__peoplemore{display:grid;place-items:center;width:36px;height:36px;border:2px solid #fff;border-radius:50%;background:var(--pink-soft);font-size:12px;font-weight:700;margin-left:-7px}
.ap__person{display:flex;align-items:center;gap:10px;grid-column:2;padding-top:16px;min-width:0}
.ap__person .face{flex:none;width:40px;height:40px;object-fit:cover}
.ap__person > div{display:grid;gap:2px;min-width:0}
.ap__person b{font-size:14px;overflow-wrap:anywhere}
.ap__person span:not(.face){font-size:12px;color:var(--text-muted)}
.ap__manager-edit > summary::-webkit-details-marker{display:none}
.ap__manager{display:flex;align-items:center;gap:8px;padding:10px 0 4px;flex-wrap:wrap}
.ap__manager .input{flex:1;min-width:120px;max-width:100%;min-height:44px;background:#fff}
.ap__manager .btn{min-height:44px}
.ap__start{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:20px;padding:24px 28px;background:var(--ink);color:#fff;border-radius:var(--radius-card)}
.ap__start h3{font:400 28px/1.1 var(--display);letter-spacing:.025em;text-transform:uppercase;margin:0 0 7px}
.ap__start p{font-size:14px;color:#E3DFE3;line-height:1.5}
.ap__go{display:inline-flex;justify-content:center;align-items:center;gap:24px;padding:14px 20px;border:0;border-radius:var(--radius-button);background:var(--pink);color:var(--ink);font:700 15px/1.4 var(--body);cursor:pointer;white-space:nowrap;transition:background-color .25s}
.ap__go:hover{background:var(--spring-cream)}
.ap__go > svg{width:20px;height:20px}
.ap__go:focus-visible{outline-color:#fff}
@container(max-width:760px){.ap__steps{grid-template-columns:repeat(2,minmax(0,1fr))}.ap__step{grid-column:span 1}.ap__step:nth-child(n+4){grid-column:span 1;display:flex}.ap__step:nth-child(n+4) .ap__stepicon{margin-bottom:16px}.ap__step:last-child{grid-column:1/-1;display:grid}.ap__step:nth-child(4) .ap__cardaction{margin-top:auto}.ap__step:last-child .ap__cardaction{grid-column:2;max-width:420px}.ap__step:last-child .ap__cardhead{margin-bottom:16px}}
@container(max-width:500px){.ap__setuphead{flex-direction:column;align-items:flex-start;gap:20px}.ap__progress{width:100%;max-width:220px}.ap__steps{grid-template-columns:minmax(0,1fr)}.ap__step,.ap__step:nth-child(n+4),.ap__step:last-child{grid-column:1;display:flex}.ap__step{padding:20px 22px 10px}.ap__cardhead{margin-bottom:16px}.ap__stepicon{margin-bottom:14px}.ap__steptext p{font-size:16px}.ap__start{flex-direction:column;align-items:stretch;padding:24px}.ap__go{width:100%}.ap__start h3{font-size:30px}.ap__start p{font-size:16px}.ap__person,.ap__people{padding-top:16px}.ap__step:last-child .ap__cardaction{max-width:none}}
@media(prefers-reduced-motion:reduce){.ap__step,.ap__action,.ap__action > svg,.ap__go{transition:none}}
.ptimeline__range{display:flex;justify-content:space-between;margin:20px 0 10px}
.ptimeline__row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(120px,1fr) 150px 150px;gap:18px;align-items:center;padding:20px 0;border-top:1px solid var(--border-soft)}
.ptimeline__row > div:first-child{overflow-wrap:anywhere}
.ptimeline__row p{white-space:pre-line;margin:6px 0 0}
.ptimeline__track{height:24px;border-radius:6px;background:var(--bg-sunk);overflow:hidden}
.ptimeline__track span{display:block;height:100%;border-radius:6px;background:var(--text-good)}
.ptimeline form > .btn{margin-top:20px}
@media(max-width:1000px){.ptimeline__row{grid-template-columns:1fr 1fr}.ptimeline__row > div:first-child{grid-column:1/-1}.ptimeline__track{grid-column:1/-1}}
@media(max-width:560px){.ptimeline__row{gap:14px}}

/* Keep validation beside the field, using the existing warning colour. */
:is(#scope-editor,.ptimeline) [aria-invalid="true"]{border-color:#C9A13A;outline:2px solid #C9A13A;outline-offset:1px}
.form-field-error{display:block;color:#8b463e;font-size:13px;line-height:1.5;margin-top:6px;font-weight:400}

/* Reply recipients and message share one field; Enter sends, attachments remain paste/drop. */
.nt-reply-bar{display:flex;flex:1 1 100%;align-items:center;gap:8px;min-width:0;padding:6px 10px;border:1px solid var(--border);border-radius:8px;background:#fff}
.nt-reply-bar:focus-within{outline:2px solid var(--ink);outline-offset:2px}
.nt-reply-bar .nt-editor{flex:1 1 140px;min-width:80px;min-height:24px;border:0;padding:0;outline:none;box-shadow:none}
.nt-reply-bar .nt-whisper{position:relative;flex:0 1 auto;flex-wrap:nowrap;margin:0;min-width:0}
.nt-reply-bar .nt-whisper__label{white-space:nowrap}
.nt-reply-bar .nt-whisper__input{width:130px;flex:0 1 130px}
.nt-reply-bar .nt-whisper__input[hidden]{display:none}
.nt-reply-bar .nt-whisper .nt-suggest{position:absolute;top:100%;left:0;z-index:30;min-width:220px}
@media(max-width:600px){.nt-reply-bar{flex-wrap:wrap}.nt-reply-bar .nt-whisper{max-width:100%;flex-wrap:wrap}.nt-reply-bar .nt-whisper__chip{max-width:100%}}

.note__reply button[hidden],.nt-form--reply button[hidden]{display:none}

.note{position:relative}
.note__react{position:absolute;top:-12px;right:-12px;z-index:2;display:flex;align-items:center;gap:6px;max-width:calc(100% - 24px)}
.note__react .nt-pills{margin:0;justify-content:flex-end}
.note__react .nt-react-wrap{align-self:flex-start}
.note__react .nt-react-add{width:26px;height:26px;border:1px solid var(--border);background:var(--bg-card,#fff);font-size:18px;line-height:1;box-shadow:0 1px 3px #0001}
.note__react .nt-react-add:hover,.note__react .nt-react-add[aria-expanded="true"]{background:var(--pink-soft)}


.mr__switch { display:flex; gap:1.25rem; margin-top:1rem; }
.mr__switch a { color:inherit; text-decoration:none; padding-bottom:.35rem; border-bottom:2px solid transparent; }
.mr__switch a[aria-current="page"] { border-color:#b25472; font-weight:700; }
.mr__room--bus { --seat:clamp(30px,8.9cqw,60px); }

/* a meeting being made on the timetable: it is put where you press, named in place, and its top and bottom edges are dragged to set the time */
.mr__block--draft{display:block;z-index:4;min-height:34px;padding:5px 8px;background:#fff;border-left-color:var(--ink);box-shadow:0 0 0 1.5px var(--ink),0 10px 26px rgba(37,39,53,.2);overflow:visible;cursor:grab;touch-action:none;animation:mr-draft-in .25s var(--ease)}
.mr__block--draft:hover{background:#fff}
.mr__block--draft:active{cursor:grabbing}
@keyframes mr-draft-in{from{opacity:0;transform:scaleY(.6);transform-origin:50% 0}}
.mr__draft-name{display:block;width:100%;padding:2px 0;border:0;border-bottom:1.5px dashed var(--border);background:transparent;color:var(--ink);font-family:inherit;font-weight:700;font-size:14px;line-height:1.3;outline:none;cursor:text}
.mr__draft-name::placeholder{color:var(--text-faint);font-weight:400}
.mr__draft-name:focus{border-bottom-color:var(--ink)}
.mr__draft-time{position:absolute;right:8px;bottom:calc(100% + 3px);padding:1px 7px;border-radius:6px;background:var(--ink);color:#fff;font:700 11px/1.5 var(--mono);pointer-events:none;white-space:nowrap}
.mr__handle{position:absolute;left:0;right:0;z-index:2;height:16px;padding:0;border:0;background:transparent;cursor:ns-resize;touch-action:none}
.mr__handle--start{top:-8px}
.mr__handle--end{bottom:-8px}
.mr__handle::after{content:"";position:absolute;left:50%;top:50%;width:30px;height:6px;border-radius:3px;background:var(--ink);box-shadow:0 0 0 2px #fff;transform:translate(-50%,-50%);transition:width .2s var(--ease)}
.mr__handle:hover::after,.mr__handle:focus-visible::after{width:44px}
.mr__handle:focus-visible{outline:none}
.mr__handle:focus-visible::after{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--pink)}
@media(hover:none){.mr__handle{height:26px}.mr__handle--start{top:-13px}.mr__handle--end{bottom:-13px}}
.mr__prompt{margin:10px 0 4px;font:700 14px/1.4 var(--mono);color:var(--text-pink)}
.mr__draft-where{margin-top:10px}
.mr__draft-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
/* the seats ask for people: each empty chair shows its plus and pulses until someone is picked */
.mr__seat--prompt{color:var(--ink);background:#fff;box-shadow:0 0 0 2px var(--pink);animation:mr-ring 1.4s ease-in-out infinite}
@keyframes mr-ring{0%,100%{box-shadow:0 0 0 2px var(--pink)}50%{box-shadow:0 0 0 9px color-mix(in srgb,var(--pink) 28%,transparent)}}
.mr__seat--guest .face{border-style:dashed;border-color:var(--pink)}
@media(prefers-reduced-motion:reduce){.mr__seat--prompt,.mr__block--draft{animation:none}.mr__handle::after{transition:none}}
/* the box for choosing who is in the meeting, and a little plus for outside guests */
.mr__people-dialog .mr__people{max-height:min(300px,38vh);overflow-y:auto}
.mr__outside{display:grid;gap:10px;padding-top:14px;border-top:1px solid var(--border-soft)}
.mr__outside-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mr__plus{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1.5px solid var(--ink);border-radius:50%;background:#fff;color:var(--ink);cursor:pointer;transition:background .25s var(--ease),transform .35s var(--ease)}
.mr__plus svg{width:55%;height:55%}
.mr__plus:hover,.mr__plus:focus-visible{background:var(--pink-soft)}
.mr__plus[aria-expanded="true"]{transform:rotate(45deg);background:var(--pink-soft)}
.mr__plus:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.mr__guest-row{display:flex;gap:8px;align-items:center}
.mr__guest-row[hidden]{display:none}
.mr__guest-row .input{flex:1;min-width:0}
.mr__chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.mr__chips li{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--bg-sunk);font-size:13px}
.mr__chips li:has(.mr__chipx){padding-right:5px}
.mr__chips li span{overflow:hidden;text-overflow:ellipsis}
.mr__chipx{display:grid;place-items:center;flex:none;width:20px;height:20px;padding:0 0 1px;border:0;border-radius:50%;background:var(--ink);color:#fff;font:700 13px/1 var(--body);cursor:pointer}
.mr__chipx:hover,.mr__chipx:focus-visible{background:var(--pink-deep)}
.mr__guests li{display:flex;align-items:center;gap:8px}
.mr__guests .mr__chipx{margin-left:auto}

/* under a meeting's title on the timetable: its Join button, files and the ways to add a Zoom link or a file */
.mr__extras{position:absolute;left:54px;right:2px;z-index:2;box-sizing:border-box;display:flex;flex-wrap:wrap;align-content:flex-start;gap:4px 5px;padding:0 8px 0 12px;overflow:hidden;pointer-events:none}
.mr__extras>*{pointer-events:auto;flex:none}
.mr__x-join,.mr__x-btn,.mr__x-file{position:relative;display:inline-flex;align-items:center;height:22px;box-sizing:border-box;padding:0 9px;border:1px solid var(--ink);border-radius:999px;background:#fff;color:var(--ink);font:700 11px/1 var(--mono);text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .25s var(--ease)}
.mr__x-join{background:var(--ink);color:#fff}
.mr__x-btn,.mr__x-file{border-style:dashed}
.mr__x-file{display:block;max-width:84px;overflow:hidden;text-overflow:ellipsis;line-height:20px;font-weight:400}
.mr__x-more{align-self:center;font:700 11px var(--mono);color:var(--text-muted)}
.mr__x-btn:hover,.mr__x-file:hover,.mr__x-btn:focus-within,.mr__x-file:focus-visible{background:var(--pink-soft)}
.mr__x-join:hover,.mr__x-join:focus-visible{background:var(--pink-deep)}
.mr__x-attach input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.mr__x-form{display:flex;gap:5px;width:100%}
.mr__x-form input{flex:1;min-width:0;height:24px;box-sizing:border-box;padding:0 9px;border:1.5px solid var(--ink);border-radius:999px;background:#fff;color:var(--ink);font:12px/1 var(--body);outline:none}
.mr__block--shared~.mr__extras{padding-left:8px}
/* the same space on a meeting being made: a Zoom link box and a way to attach files, until it is too short to hold them */
.mr__draft-extras{display:flex;align-items:center;gap:5px;margin-top:6px}
.mr__draft-link{flex:1;min-width:0;height:24px;box-sizing:border-box;padding:0 10px;border:1px dashed var(--border);border-radius:999px;background:transparent;color:var(--ink);font:12px/1 var(--body);outline:none;cursor:text}
.mr__draft-link:focus{border-style:solid;border-color:var(--ink);background:#fff}
.mr__block--draft-short .mr__draft-extras{display:none}
.mr__draft-extras .mr__chipx{flex:none}
.ptimeline__basis{margin:0 0 16px}
.ptimeline__basis a{color:inherit;text-decoration:underline}

/* A long note, its thread included, scrolls as a whole inside the popover instead of stretching the page behind it
   (Rufus, 28 October). notes.js caps its height (max-height) to the room it has on screen. */
.nt-pop{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}

/* Subscriptions use the app's Spring tokens, shared slider and standard fields/buttons. */
.subs{container:subscriptions / inline-size;--subs-columns:minmax(160px,1.6fr) minmax(135px,1.2fr) minmax(100px,1fr) minmax(105px,1fr) 150px}
.subs .subs__heading{align-items:center;margin-bottom:24px}
.subs__heading h1,.subs-edit .head h1{font-size:48px;line-height:1.1}
.subs__heading .head__main>h1+.muted,.subs-edit .head__main>h1+.muted{margin-top:0;font-size:16px;line-height:1.5;color:var(--text-muted)}
.subs__create>.btn{gap:14px}
.subs__overview{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:24px;padding:20px 24px;margin-bottom:24px;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-card)}
.subs__due{display:flex;align-items:center;gap:14px}
.subs__due-number{display:grid;place-items:center;min-width:48px;height:48px;border-radius:var(--radius-button);background:var(--bg-sunk);font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}
.subs__due.has-due .subs__due-number{background:var(--pink-soft)}
.subs__due>div{display:grid;gap:3px}
.subs__due strong{font-size:14px;font-weight:600}
.subs__due>div>span{font-size:13px;color:var(--text-muted)}
.subs__totals{display:flex;flex-wrap:wrap;gap:12px 36px;margin:0}
.subs__totals>div{display:grid;gap:3px}
.subs__totals dt{font-size:12px;color:var(--text-muted)}
.subs__totals dd{font-size:24px;font-weight:600;line-height:1.3;font-variant-numeric:tabular-nums;margin:0}
.subs__toolbar{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:16px 24px}
.subs__search{flex:1;min-width:min(250px,100%);height:48px;padding-inline:16px}
.subs__search>svg{flex-shrink:0}
.subs__filter-field{display:grid;gap:7px;min-width:0;max-width:100%}
.subs__filter-field>span{font-size:13px;font-weight:600;color:var(--text-muted)}
.subs__filter{position:relative;display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;max-width:100%;background:var(--bg-card);border:1px solid var(--border);border-radius:8px}
.subs__filter>button{position:relative;z-index:1;min-height:40px;padding:8px 13px;border:0;border-radius:6px;background:transparent;font:inherit;font-size:14px;color:var(--text-muted);cursor:pointer;transition:color var(--slow) var(--ease)}
.subs__filter>button[aria-pressed="true"]{background:var(--pink-soft);color:var(--ink);font-weight:600}
.subs__filter.has-slider>button[aria-pressed="true"]{background:transparent}
.subs__filter>button.is-lit{color:var(--ink)}
.subs__filter>button:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.subs__filter>.slider{top:3px;height:calc(100% - 6px);background:var(--pink-soft)}
.subs__filter.seg--stages>.slider{top:0}
.subs__results{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;font-size:13px;color:var(--text-muted)}
.subs__results .btn{font-size:13px}
.subs__register{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-card);overflow:hidden}
.subs__columns,.subs__row{display:grid;grid-template-columns:var(--subs-columns);align-items:center;gap:16px;padding:0 20px}
.subs__columns{min-height:44px;font:600 11px var(--mono);text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}
.subs__client{margin:0 10px 10px}
.subs__client-head{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 14px;background:var(--ink);color:var(--text-on-dark,#fff);border-radius:var(--radius-button);list-style:none;cursor:pointer;transition:background var(--slow) var(--ease)}
.subs__client-head::-webkit-details-marker{display:none}
.subs__client-head:hover{background:var(--side)}
.subs__client-head:focus-visible{outline:2px solid var(--pink);outline-offset:-4px}
.subs__client-head>svg{margin-left:auto;flex-shrink:0;color:var(--pink);transition:transform var(--slow) var(--ease)}
.subs__client[open]>.subs__client-head>svg{transform:rotate(90deg)}
.subs__client-head h2{overflow-wrap:anywhere;font:600 15px/1.5 var(--body);letter-spacing:0;text-transform:none;margin:0}
.subs__client-head>span{font-size:12px;color:var(--bg-active);flex-shrink:0}
.subs__client-body{padding:0 0 4px}
.subs__item{scroll-margin-top:24px}
.subs__item+.subs__item{border-top:1px solid var(--border-soft)}
.subs__row{min-height:98px;padding:16px 10px;transition:background var(--slow) var(--ease)}
.subs__row:hover,.subs__row:focus-within{background:var(--bg-sunk)}
.subs__item.is-target>.subs__row{background:var(--pink-soft)}
.subs__service,.subs__renewal,.subs__money{display:grid;gap:4px;min-width:0}
.subs__service>strong{font-size:16px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.subs__category,.subs__cost{font-size:13px;color:var(--text-muted);line-height:1.4}
.subs__source{justify-self:start;font-size:12px;color:var(--text-muted);text-underline-offset:3px}
.subs__renewal>span:not([class]){font-size:14px;font-variant-numeric:tabular-nums}
.subs__money>strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}
.subs__manager{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.subs__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}
.subs__actions .btn{font-size:12px;min-height:36px;padding:6px 10px;white-space:nowrap}
.subs__item.is-cancelled .subs__service>strong{color:var(--text-muted);text-decoration:line-through;text-decoration-color:var(--border)}
.subs__state{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1.4;color:var(--text-muted)}
.subs__state::before{content:"";width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--stage-live)}
.subs__state--due{color:var(--text-warn)}
.subs__state--due::before{background:var(--signal-warn)}
.subs__state--included::before{background:var(--pink)}
.subs__state--cancelled::before{background:var(--border)}
.subs__email-dialog h2{color:var(--ink)}
.subs__email-dialog .ad__dbody{padding-top:20px;display:grid;gap:14px}
.subs__email-dialog .field{gap:10px}
.subs__email-text{font:16px/1.6 var(--body);resize:vertical;background:var(--bg-sunk)}
.subs__email-head{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.subs__empty{padding:48px 24px;text-align:center}
.subs__empty h2{font-size:28px;margin-bottom:8px}
.subs__empty p,.subs__footnote{font-size:13px;color:var(--text-muted);line-height:1.6}
.subs__footnote{margin:16px 2px}
.subs__mobile-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Shared with approved subscription costings. */
.subs__cat{display:inline-block;padding:3px 9px;border-radius:var(--radius-label);font-size:13px;font-weight:600;background:var(--bg-sunk);color:var(--ink);white-space:nowrap}
.subs__cat--hosting{background:#EAE5FA;color:#4A3A94}
.subs__cat--domain{background:#E3EEFC;color:#244F9E}
.subs__cat--email{background:#E2F3EA;color:#2B6B4A}
.subs-edit{max-width:960px}
.subs-edit__back{display:inline-block;margin-bottom:20px;font-size:14px;color:var(--text-muted);text-underline-offset:4px}
.subs-edit .head{margin-bottom:24px}
.subs-edit__form{padding:0;max-width:none;gap:0;overflow:hidden}
.subs-edit__section{margin:0;border:0;padding:26px 28px 28px;min-width:0;display:grid;gap:18px}
.subs-edit__section+.subs-edit__section{border-top:1px solid var(--border-soft)}
.subs-edit__section>legend{float:left;width:100%;padding:0;margin-bottom:0;font:600 19px/1.4 var(--body);color:var(--ink)}
.subs-edit__section>legend>span{font-size:13px;font-weight:400;color:var(--text-muted);margin-left:8px}
.subs-edit__section>.micro{margin-top:-8px}
.subs-edit__section .field{font-size:14px;line-height:1.5}
.subs-edit__section .input{font:16px/1.5 var(--body)}
.subs-edit__billing{max-width:calc(50% - 10px)}
.subs-edit__footer{display:flex;justify-content:flex-end;gap:12px;padding:20px 28px;background:var(--bg-sunk);border-top:1px solid var(--border-soft)}
.subs-edit__source{font-size:13px;color:var(--text-muted);line-height:1.6;margin-top:16px;max-width:75ch}
@container subscriptions (max-width:850px){
  .subs__columns{display:none}
  .subs__row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 24px;padding:18px 12px}
  .subs__service{grid-column:1/-1}
  .subs__renewal{grid-column:1;grid-row:2}
  .subs__money{grid-column:2;grid-row:2}
  .subs__manager{grid-column:1;grid-row:3}
  .subs__actions{grid-column:2;grid-row:3;align-self:end}
  .subs__mobile-label{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;display:block;font-size:12px;color:var(--text-muted);font-weight:400;margin-bottom:3px}
}
@container subscriptions (max-width:760px){
  .subs__search{order:-1;flex-basis:100%}
}
@container subscriptions (max-width:580px){
  .subs .subs__heading{align-items:flex-start;gap:18px;margin-bottom:20px}
  .subs__heading h1{font-size:40px}
  .subs__overview{padding:16px;gap:20px}
  .subs__totals{gap:12px 20px}
  .subs__totals dd{font-size:22px}
  .subs__toolbar{align-items:flex-start;gap:14px}
  .subs__filter>button{font-size:13px;padding:8px 10px}
  .subs__client-head{gap:8px}
  .subs__client-head h2{font-size:14px}
  .subs__client-head>span{font-size:11px}
  .subs__row{gap:14px 12px}
  .subs__actions{gap:8px}
}
@media (max-width:700px){
  .subs-edit .head h1{font-size:40px}
  .subs-edit__section{padding:22px 18px}
  .subs-edit__section .form__row{grid-template-columns:minmax(0,1fr)}
  .subs-edit__billing{max-width:none}
  .subs-edit__footer{padding:18px}
}
@media (pointer:coarse){.subs__filter>button,.subs__actions .btn{min-height:44px}}
@media (prefers-reduced-motion:reduce){.subs__row,.subs__client-head,.subs__client-head>svg,.subs__filter>button,.subs__filter>.slider{transition:none}.subs__email-dialog[open]{animation:none}}
/* The meeting room's tabs, and its My calendar tab: the person's Google Calendar, embedded (views/calendar.mjs). */
.mr__tabs{margin-bottom:22px}
.cal{display:grid;gap:14px;min-width:0}.cal__bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.cal__mode{position:relative;isolation:isolate;margin:0}.cal__mode a{padding:6px 16px;border-radius:999px;font:700 12px var(--mono);text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);text-decoration:none;transition:background .35s var(--ease),color .35s var(--ease)}.cal__mode a[aria-current]{background:var(--ink);color:#fff}.cal__mode a:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.cal__mode>.slider{top:3px;height:calc(100% - 6px);border-radius:999px;background:var(--ink)}.cal__mode.has-slider>a{position:relative;z-index:1;background:transparent;color:var(--text-muted)}.cal__mode.has-slider>a.is-lit{color:#fff}.cal__note{margin:0}.cal__frame{width:100%;height:max(520px,calc(100vh - 260px));border:1px solid var(--border-soft);border-radius:16px;background:var(--bg-card)}
@media(prefers-reduced-motion:reduce){.cal__mode a,.cal__mode>.slider{transition:none}}

/* Catching up (views/jobs.mjs catchUpNote): a project already under way when it came into BE Projects. */
.catchup{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 20px;padding:14px 18px;border:1px solid var(--warn-line,#EED591);border-left:4px solid var(--warn-edge,#C9A13A);border-radius:10px;background:var(--warn-ground,#FFF7DD);color:var(--ink)}
.catchup div{display:flex;flex-direction:column;gap:2px;max-width:780px;font-size:14px;line-height:1.45}
.catchup b{font:700 13px/1.3 var(--mono);text-transform:uppercase;letter-spacing:.05em}
.ce__catchup-date{margin:0 0 14px}
.ap__started{display:flex;align-items:center;gap:10px;font-size:14px;margin-right:12px}
.ap__start form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}

/* Clients (George, 6 November): a list of client cards, and a client's profile built from the person profile's .pf__ pieces. */
.cl__mark{color:#fff;font-weight:700;letter-spacing:.02em}
.client-profile .pf__head .cl__mark{box-shadow:0 0 0 4px #fff,0 0 0 5px var(--border)}
.cl__note{margin:-6px 0 16px}
/* The clients filters sit on the search bar's line, level with it. */
.clients .lsearch{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px}
.clients .lsearch__more{flex-wrap:nowrap}
.clients .lsearch__more :is(select.input,.btn){min-height:56px}
@media (max-width:760px){.clients .lsearch{grid-template-columns:minmax(0,1fr);gap:12px}.clients .lsearch__more{flex-wrap:wrap}}
.cl__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:14px}
.cl__grid > li[hidden]{display:none}
.cl__card{display:flex;align-items:center;gap:16px;height:100%;padding:18px 20px;border:1px solid var(--border);border-radius:var(--radius-card);background:#fff;color:inherit;text-decoration:none;transition:border-color .3s ease-in-out,box-shadow .3s ease-in-out}
.cl__card:hover,.cl__card:focus-visible{border-color:var(--ink);box-shadow:0 6px 18px rgba(var(--ink-rgb),.07);outline:0}
.cl__card.is-retired{opacity:.6}
.cl__body{display:grid;gap:4px;min-width:0;flex:1}
.cl__name{font-weight:700;font-size:17px;line-height:1.25;overflow-wrap:anywhere}
.cl__meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cl__counts{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.cl__n{display:inline-flex;gap:4px;padding:2px 9px;border-radius:var(--radius-tag);background:var(--bg-sunk);font-size:12.5px;color:var(--text-muted)}
.cl__n b{color:var(--ink)}
.cl__n--live{background:var(--stage-live);color:#fff}
.cl__n--live b{color:#fff}
.cl__n--rate{background:transparent;box-shadow:inset 0 0 0 1px var(--border)}
.cl__n--rate.is-below{background:var(--warn-ground);box-shadow:none}
.cl__n--rate.is-below,.cl__n--rate.is-below b{color:var(--text-warn)}
.cl__go{flex:none;font-size:22px;color:var(--text-faint);transition:transform .3s var(--ease),color .3s ease-in-out}
.cl__card:hover .cl__go,.cl__card:focus-visible .cl__go{transform:translateX(3px);color:var(--ink)}
.cl__add{position:relative}
.cl__add > summary{list-style:none;cursor:pointer}
.cl__add > summary::-webkit-details-marker{display:none}
.cl__addform{position:absolute;z-index:5;right:0;top:calc(100% + 10px);display:grid;gap:12px;width:min(340px,80vw);padding:18px;border:1px solid var(--border);border-radius:var(--radius-card);background:#fff;box-shadow:0 18px 40px rgba(var(--ink-rgb),.12)}
.cl__addform .btn{justify-self:end}
.cl__acts{display:flex;flex-wrap:wrap;gap:10px;align-self:flex-start}
.cl__am{display:inline-flex;align-items:center;gap:6px}
.cl__am .face{width:22px;height:22px}
.cl__who{display:block;margin-top:2px}
.client-profile .pf__list > li.is-gone{opacity:.55}
.pf__who.is-gone{opacity:.6}
@media (prefers-reduced-motion:reduce){.cl__card,.cl__go{transition:none}.cl__card:hover .cl__go{transform:none}}
/* A client's picture: their logo whole on white; on the profile it is a button that uploads a new one. */
.cl__mark--logo{display:grid;place-items:center;overflow:hidden;background:#fff;box-shadow:inset 0 0 0 1px var(--border-soft)}
.cl__mark--logo img{width:78%;height:78%;object-fit:contain}
.cl__cdelete{padding:0;border:0;background:none;font:inherit;font-size:13px;color:var(--text-muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cl__cdelete:hover{color:var(--stage-declined)}
/* Contacts: the client's own people, each a card with how to reach them; Edit opens the form in place. */
.cl__contacts{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:10px}
.cl__contact{display:grid;gap:8px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius-card);background:#fff}
.cl__chead{display:flex;align-items:center;gap:12px;padding-right:44px}
.cl__cid{display:grid;line-height:1.3;min-width:0}
.cl__cid b{overflow-wrap:anywhere}
.cl__creach{display:grid;gap:4px;margin:0}
.cl__creach a{display:inline-flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere;text-decoration:none}
.cl__creach a:hover{text-decoration:underline}
.cl__creach svg{flex:none;color:var(--spring-sage)}
.cl__cnotes{margin:0;white-space:pre-line;color:var(--text-muted)}
.cl__contact{position:relative}
.cl__cedit > summary{position:absolute;top:14px;right:16px;list-style:none;font-size:13px;color:var(--text-muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cl__cedit > summary::-webkit-details-marker,.cl__cadd > summary::-webkit-details-marker{display:none}
.cl__cedit[open] > summary{color:var(--ink)}
.cl__cedit[open]{display:grid;gap:10px;padding-top:6px;border-top:1px solid var(--border-soft)}
.cl__cadd > summary{list-style:none;cursor:pointer;width:fit-content}
.cl__cadd[open] > summary{display:none}
.cl__cform{display:grid;gap:12px}
.cl__cform.panel{padding:16px}
.cl__cfields{display:grid;gap:10px}
.cl__cfields textarea{resize:vertical;min-height:60px}
.cl__cfoot{justify-content:flex-end;margin:0}
.cl__cempty{margin:0 0 12px}
/* Pasting a picture: a hint under the circle, and the circle dims while it uploads. */
/* A square-ish picture (an avatar or round badge) fills the circle edge to edge, with no white band. */
.cl__mark--fill img{width:100%;height:100%;object-fit:cover}
/* The cropper (client-crop.mjs): the picture dragged and resized under a circle; outside the circle is dimmed. */
.cc{width:min(460px,calc(100vw - 32px))}
.cc__body{display:grid;justify-items:center;gap:16px;padding:24px 24px 20px}
.cc__stage{position:relative;max-width:100%;overflow:hidden;border-radius:14px;background:#fff;cursor:grab;touch-action:none;user-select:none;outline:0}
.cc__stage.is-dragging{cursor:grabbing}
.cc__stage:focus-visible{box-shadow:0 0 0 3px var(--pink)}
.cc__img{position:absolute;left:50%;top:50%;max-width:none;pointer-events:none}
.cc__ring{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 400px rgba(var(--ink-rgb),.55),inset 0 0 0 2px rgba(255,255,255,.9);pointer-events:none}
.cc__zoom{display:flex;align-items:center;gap:12px;width:100%;max-width:280px}
.cc__range{flex:1;accent-color:var(--ink)}
.cc__step{flex:none;width:32px;height:32px;border:1px solid var(--border);border-radius:50%;background:#fff;font-size:18px;line-height:1;color:var(--ink);cursor:pointer;transition:background-color .3s ease-in-out,border-color .3s ease-in-out}
.cc__step:hover,.cc__step:focus-visible{background:var(--pink-soft);border-color:var(--pink);outline:0}
.cc__presets{display:flex;gap:18px}
.cc__link{padding:0;border:0;background:none;font:inherit;font-size:13px;color:var(--text-muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cc__link:hover,.cc__link:focus-visible{color:var(--ink);outline:0}
.cc__foot{display:flex;justify-content:flex-end;gap:10px}
/* The client's picture with its pencil: a small round button sitting on the circle's bottom right, opening the ⋯ menu's list. */
.cl__pic{position:relative;flex:none;width:104px;height:104px}
.cl__pic > .cl__mark{display:grid;width:104px;height:104px}
.cl__pic.is-busy > .cl__mark{opacity:.5}
.cl__picedit{position:absolute;right:-2px;bottom:-2px}
.cl__picedit > summary{width:34px;height:34px;border-radius:50%;background:#fff;color:var(--ink);box-shadow:0 0 0 1px var(--border),0 4px 12px rgba(var(--ink-rgb),.12)}
.cl__picedit > summary:hover,.cl__picedit[open] > summary{background:var(--pink-soft)}
.cl__picedit > summary svg{fill:none}
.cl__picmenu{left:0;right:auto;width:260px}
.cl__picmenu .pmenu__item{cursor:pointer}
.cl__pichint{margin:4px 12px 6px;color:var(--text-faint);font-size:12.5px;line-height:1.4}
/* Settings › Clients: a search over the list, like the Settings menu's own. */
.ssearch{display:flex;align-items:center;gap:10px;height:46px;margin:0 0 16px;padding:0 16px;border:1px solid var(--border);border-radius:var(--radius-search);background:#fff;color:var(--text-muted);cursor:text;transition:border-color .3s ease-in-out}
.ssearch:focus-within{border-color:var(--ink)}
.ssearch input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:15px;color:var(--ink)}
.ssearch__count{flex:none;color:var(--text-faint)}
.srow[hidden]{display:none}
.ssearch__none{margin:12px 2px 0}
/* In the Settings window (dark), the same as the menu's search there. */
html.embed .ssearch{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);color:rgba(255,255,255,.6)}
html.embed .ssearch:focus-within{border-color:rgba(255,255,255,.5)}
html.embed .ssearch input{color:#fff}
html.embed .ssearch input::placeholder{color:rgba(255,255,255,.5)}
html.embed .ssearch__count,html.embed .ssearch__none{color:rgba(255,255,255,.55)}
/* A client's picture beside their name on project pages (parts.mjs clientPic): their logo in a small circle, filling it if square-ish. */
.cpic{display:inline-grid;place-items:center;flex:none;overflow:hidden;border-radius:50%;background:#fff;box-shadow:0 0 0 1px var(--border);vertical-align:middle}
.cpic img{width:78%;height:78%;object-fit:contain}
.cpic--fill img{width:100%;height:100%;object-fit:cover}
.ce__client,.lp__client,.ls__client,.lcard__client,.cpic__link{display:inline-flex;align-items:center;gap:12px}
.lcard__client,.cpic__link{gap:8px}
.cpic__link .cpic{margin:-2px 0}

/* Page loader: a small pink spring (spring-loader.png) hops in the middle of the screen while the next page is on its way (page-loader.mjs). */
.spring-loader{position:fixed;inset:0;z-index:2147483000;display:grid;place-content:center;justify-items:center;background:rgba(255,249,245,.62);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s var(--ease),visibility 0s linear .3s}
.spring-loader.is-on{opacity:1;visibility:visible;pointer-events:auto;cursor:progress;transition:opacity .12s ease-out,visibility 0s}
.spring-loader__hop{animation:spring-hop .86s infinite}
.spring-loader__coil{display:block;overflow:visible;transform-origin:50% 100%;animation:spring-squash .86s infinite}
.spring-loader__shadow{width:28px;height:4px;margin-top:4px;border-radius:50%;background:rgba(var(--ink-rgb),.14);animation:spring-shadow .86s infinite}
/* The arriving page's own spring (shell.php): already up when it was carried over from the page just left,
   otherwise it only fades in if drawing the page takes a moment. pageDrawn() in page-loader.mjs takes it down. */
.spring-loader--boot{visibility:visible;pointer-events:none;animation:spring-boot-in .2s .25s both}
html.spring-carry .spring-loader--boot{opacity:1;animation:none}
@keyframes spring-boot-in{from{opacity:0}to{opacity:1}}
@keyframes spring-hop{
  0%,100%{transform:translateY(0);animation-timing-function:cubic-bezier(.2,.7,.35,1)}
  50%{transform:translateY(-31px);animation-timing-function:cubic-bezier(.65,0,.8,.3)}
}
@keyframes spring-squash{
  0%,100%{transform:scale(1.14,.6)}
  14%{transform:scale(.92,1.14)}
  34%,66%{transform:scale(1,1)}
  88%{transform:scale(.95,1.08)}
}
/* The shadow keeps the hop's own easing, so it shrinks and grows exactly as the spring rises and falls. */
@keyframes spring-shadow{
  0%,100%{transform:scaleX(1.15);opacity:1;animation-timing-function:cubic-bezier(.2,.7,.35,1)}
  50%{transform:scaleX(.55);opacity:.45;animation-timing-function:cubic-bezier(.65,0,.8,.3)}
}
@media(prefers-reduced-motion:reduce){
  .spring-loader__hop,.spring-loader__coil,.spring-loader__shadow{animation:none}
  .spring-loader.is-on{transition:none}
}

/* Improvement notes as a dark modal, opened from the account menu (notes.js) over whatever page you are on.
   The sidebar's navy and the sign-in screen's cream; the tokens are swapped inside it so the note cards,
   replies and reactions from the Notes page come out dark without their own rules, and the few hard-coded
   whites are overridden below. */
/* Fixed in the middle of the window, like Settings (.swin): a modal dialog in the top layer that isn't fixed is placed
   against the top of the page and scrolls away with it. */
/* The dark set, shared by this modal and a person's profile (.pfm, below). */
:is(.nt-dialog,.pf-dialog,.pfm,.cg-dialog){
  --bg-card:#2B2F42; --bg-sunk:#34394E; --bg-active:#3A3F55;
  --border:rgba(255,249,244,.16); --border-soft:rgba(255,249,244,.1); --line:rgba(255,249,244,.16);
  --ink:#FFF9F4; --ink-rgb:255,249,244; --text-primary:#FFF9F4;
  --text-muted:rgba(255,249,244,.68); --text-faint:rgba(255,249,244,.45);
  --pink-soft:rgba(232,166,177,.22); --pink-deep:#E8A6B1}
.nt-dialog{
  position:fixed;inset:0;margin:auto;height:fit-content;width:min(760px,calc(100vw - 32px));max-height:min(86vh,900px);padding:0;
  border:1px solid rgba(255,249,244,.12);border-radius:var(--radius-card);background:var(--side);color:var(--ink);
  box-shadow:0 30px 80px rgba(0,0,0,.45);overflow:hidden}
.nt-dialog[open]{display:flex;flex-direction:column;animation:rv-rise .4s var(--ease)}
.nt-dialog::backdrop{background:rgba(18,20,30,.6)}
.nt-dialog__body{overflow-y:auto;overscroll-behavior:contain;padding:32px 32px 28px;scrollbar-width:thin;scrollbar-color:rgba(255,249,244,.25) transparent}
.nt-dialog__close{position:absolute;top:14px;right:14px;z-index:2;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:var(--radius-button);background:none;color:var(--text-muted);font:300 30px/1 var(--body);cursor:pointer;transition:background-color .2s,color .2s}
.nt-dialog__close:hover,.nt-dialog__close:focus-visible{background:rgba(255,249,244,.1);color:var(--ink);outline:0}
.nt-dialog .head{margin-bottom:24px;padding-right:40px}
.nt-dialog .head__main>h1+.muted{margin-top:10px;font-size:15px;line-height:1.6;color:var(--text-muted)}
.nt-dialog .head h1{color:var(--ink);font-size:44px;line-height:1;letter-spacing:.02em}
.nt-dialog .panel{box-shadow:none}
:is(.nt-dialog,.pfm,.cg-dialog) .btn{background:transparent;border-color:rgba(255,249,244,.28);color:var(--ink);--fill:rgba(255,249,244,.12)}
:is(.nt-dialog,.pfm,.cg-dialog) .btn--primary{background:var(--ink);border-color:var(--ink);color:var(--side);--fill:var(--spring-pink)}
:is(.nt-dialog,.pfm,.cg-dialog) .btn--primary:hover,:is(.nt-dialog,.pfm,.cg-dialog) .btn--primary:focus-visible{color:var(--side)}
:is(.nt-dialog,.pfm,.cg-dialog) :is(.nt-reply-bar,.nt-suggest,.nt-pill,.nt-picker,.input){background:var(--bg-sunk);color:var(--ink)}
.nt-dialog .nt-picker{box-shadow:0 8px 24px rgba(0,0,0,.4)}
.nt-dialog .nt-pill.is-mine{background:var(--pink-soft)}
.nt-dialog :is(.nt-chip,.nt-pop__tag){color:#252735}
.nt-dialog .nt-pop__tag--whisper{background:#CDB8EE}
.nt-dialog .empty{background:transparent;border-color:var(--border);color:var(--text-muted)}
.nt-dialog .toast{background:#FFF9F4;color:#252735}
.nt-dialog .nt-tip{background:#FFF9F4;color:#252735}
.nt-dialog a:focus-visible,.nt-dialog .btn:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (max-width:640px){.nt-dialog__body{padding:24px 18px 20px}}
@media (prefers-reduced-motion:reduce){.nt-dialog[open]{animation:none}}

/* A person's profile, laid out like Monday's (views/profile.mjs): a dark modal opened from any name (people.js), and the
   same on /people/:id. Big face, name, job title and role on the left; how to reach them down the right; then working
   days, birthday and work anniversary. */
.pf-dialog{position:fixed;inset:0;margin:auto;height:fit-content;width:min(1080px,calc(100vw - 32px));max-height:min(90vh,900px);padding:0;border:1px solid rgba(255,249,244,.12);
  border-radius:var(--radius-card);background:var(--side);color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.45);overflow:hidden}
.pf-dialog[open]{display:flex;flex-direction:column;animation:rv-rise .4s var(--ease)}
.pf-dialog::backdrop{background:rgba(18,20,30,.6)}
.pf-dialog>.pfm{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,249,244,.25) transparent}
.pf-dialog__close{position:absolute;top:20px;right:20px;z-index:2;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:var(--radius-button);background:none;color:var(--text-muted);cursor:pointer;transition:background-color .2s,color .2s}
.pf-dialog__close:hover,.pf-dialog__close:focus-visible{background:rgba(255,249,244,.1);color:var(--ink);outline:0}
.pfm{background:var(--side);color:var(--ink);font-family:var(--body)}
main .pfm,#page-view .pfm{border-radius:var(--radius-card);overflow:hidden}
.pfm__top{padding:26px 32px 24px;border-bottom:1px solid var(--border)}
.pfm__title{margin:0;font:400 44px/1 var(--display);letter-spacing:.02em;text-transform:uppercase;color:var(--ink)}
.pfm__loading{margin:0;padding:32px;color:var(--text-muted)}
.pfm__body{display:grid;gap:20px;padding:24px 32px 32px}
.pfm__card{padding:32px;border:1px solid var(--border);border-radius:var(--radius-card);background:rgba(255,249,244,.02)}
.pfm__card--main{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(220px,280px);gap:32px;align-items:start}
.pfm__face .face{width:200px;height:200px;border-radius:50%;object-fit:cover}
.pfm__face .face--none{display:grid;place-items:center;font-family:var(--body);font-weight:700;letter-spacing:.02em;background:var(--spring-pink);color:#252735}
/* Your own photo: darkens on hover or focus with a short prompt; the file input covers it so a click or Enter opens the picker. */
.pfm__face--edit{position:relative;display:block;border-radius:50%;cursor:pointer;isolation:isolate}
.pfm__face--edit input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border-radius:50%}
.pfm__face-cover{position:absolute;inset:0;z-index:1;display:grid;place-content:center;justify-items:center;gap:4px;padding:24px;border-radius:50%;background:rgba(20,21,30,.62);color:#fff;text-align:center;opacity:0;transition:opacity .25s var(--ease);pointer-events:none}
.pfm__face-cover b{font-size:15px;font-weight:700;line-height:1.25}
.pfm__face-cover small{font-size:12.5px;opacity:.78}
.pfm__face--edit:hover .pfm__face-cover,.pfm__face--edit:focus-within .pfm__face-cover,.pfm__face--edit.is-busy .pfm__face-cover,.pfm__face--edit.is-error .pfm__face-cover{opacity:1}
.pfm__face--edit:has(input:focus-visible){outline:2px solid var(--spring-pink);outline-offset:4px}
.pfm__face--edit.is-busy{cursor:progress}.pfm__face--edit.is-busy input{pointer-events:none}
.pfm__face--edit.is-busy .pfm__face-cover small,.pfm__face--edit.is-error .pfm__face-cover small{display:none}
@media (prefers-reduced-motion:reduce){.pfm__face-cover{transition:none}}
.pfm__who{display:grid;align-content:start;justify-items:start;gap:10px;padding-top:14px;min-width:0}
.pfm__who h2{margin:0;font:400 48px/1 var(--display);letter-spacing:.02em;text-transform:uppercase;color:var(--ink);overflow-wrap:anywhere}
.pfm__job{margin:0;font-size:17px;color:var(--text-muted)}
.pfm__tags{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 0}
.pfm__role{display:inline-block;padding:4px 12px;border-radius:var(--radius-label);background:var(--spring-blue);color:#fff;font-size:14px;font-weight:600}
.pfm__role--off{background:rgba(255,249,244,.14)}
.pfm__edit{margin-top:10px}
.pfm dl{display:grid;gap:22px;margin:0}
.pfm__row{display:grid;gap:4px;min-width:0}
.pfm__row dt{display:flex;align-items:center;gap:10px;font-weight:700;font-size:16px;color:var(--ink)}
.pfm__row dt svg{flex:none;color:var(--text-muted)}
.pfm__row dd{margin:0;padding-left:28px;font-size:15px;color:var(--text-muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pfm__row dd a{color:var(--ink);text-decoration:none}
.pfm__row dd a:hover{text-decoration:underline;text-underline-offset:3px}
.pfm__none{color:var(--text-faint)}
.pfm__row--wrap dd{white-space:normal;overflow:visible;line-height:1.5}
.pfm__lines{white-space:pre-line}
.pfm__strong{color:var(--ink);font-weight:600}
.pfm .pfm__subhead{margin-top:22px;padding-top:22px;border-top:1px solid var(--border-soft)}
.pfm__textarea{min-height:84px;resize:vertical;font:inherit;line-height:1.45}
.pfm .pfm__add{color:var(--text-muted)}
.pfm__card--dates dl{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px 32px}
.pfm .pf__own{margin:0;padding:28px 32px}
.pfm .pf__ownhead h3{margin:0 0 6px;font:700 18px var(--body);color:var(--ink)}
.pfm .pf__flabel{color:var(--ink)}
.pfm .pf__flabel small{color:var(--text-muted)}
.pfm .input{border-color:var(--border)}
.pfm .input::placeholder{color:var(--text-faint)}
.pfm__error{margin:12px 0 0;color:#F3B5BF;font-size:14px}
.pfm a:focus-visible,.pfm .btn:focus-visible,.pfm .input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
@media (max-width:900px){
  .pfm__card--main{grid-template-columns:auto minmax(0,1fr)}
  .pfm__contact{grid-column:1 / -1;padding-top:24px;border-top:1px solid var(--border)}
  .pfm__face .face{width:132px!important;height:132px!important}
  .pfm__face .face--none{font-size:54px!important}
}
@media (max-width:560px){
  .pfm__top{padding:20px 64px 18px 18px}.pfm__title{font-size:34px}
  .pfm__body{padding:16px 16px 20px;gap:14px}.pfm__card{padding:20px}
  .pfm__card--main{grid-template-columns:1fr;gap:18px}
  .pfm__who{padding-top:0}.pfm__who h2{font-size:38px}
  .pfm__face .face{width:104px!important;height:104px!important}.pfm__face .face--none{font-size:42px!important}
}
@media (prefers-reduced-motion:reduce){.pf-dialog[open]{animation:none}}

/* The site's one right-click menu (context-menu.mjs): the pmenu look, a highlight that slides between items, side menus
   for lists (status, manager, a project's tabs) with an arrow that nudges toward them, and sections split by a hairline. */
.cm{position:fixed;inset:auto;margin:0;z-index:90;max-width:min(320px,calc(100vw - 16px));overflow:visible;isolation:isolate}
.cm .cm__item{position:relative;z-index:1;gap:10px;padding:8px 12px;font-size:14.5px;line-height:1.3;white-space:nowrap}
.cm .cm__item:hover,.cm .cm__item:focus-visible{background:none}
.cm__glow{position:absolute;left:6px;right:6px;top:0;z-index:0;border-radius:6px;background:var(--pink-soft);opacity:0;pointer-events:none;transition:transform .18s var(--ease),height .18s var(--ease),opacity .12s}
.cm__glow.is-on{opacity:1}
.cm__glow.is-instant{transition:none}
.cm:has(.pmenu__item--danger:is(:hover,:focus-visible)) .cm__glow{background:#FBE9E7}
.cm__text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.cm__hint{color:var(--text-faint);font-size:12.5px}
.cm__tick{color:var(--pink-deep);font-weight:700}
.cm__dot{flex:none;width:10px;height:10px;border-radius:50%}
.cm__arrow{color:var(--text-faint);font-size:17px;line-height:1;transition:transform .18s var(--ease)}
.cm__item--sub:is(:hover,:focus-visible,[aria-expanded="true"]) .cm__arrow{transform:translateX(3px);color:var(--ink)}
.cm__item.is-disabled{opacity:.45;cursor:default}
.cm__label{padding:6px 12px 2px;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cm__sep{height:1px;margin:5px 8px;border:0;background:var(--border)}
.cm__foot{border-top:1px solid var(--border);margin-top:4px;padding-top:7px}
.cm--sub{min-width:180px;max-height:min(420px,calc(100dvh - 16px));overflow-y:auto}
.is-scrolling .cm__item{pointer-events:none}
@media (prefers-reduced-motion:no-preference){.cm:not(.cm--sub){animation:loc-in .14s var(--ease)}}
@media (prefers-reduced-motion:reduce){.cm__glow,.cm__arrow{transition:none}.cm__item--sub:is(:hover,:focus-visible,[aria-expanded="true"]) .cm__arrow{transform:none}}
.cm-toast{position:fixed;left:50%;bottom:24px;z-index:95;padding:10px 16px;border-radius:10px;background:var(--ink);color:#fff;font-size:14px;box-shadow:0 12px 32px rgba(var(--ink-rgb),.25);opacity:0;transform:translate(-50%,8px);pointer-events:none;transition:opacity .18s,transform .18s var(--ease)}
.cm-toast.is-on{opacity:1;transform:translate(-50%,0)}
@media (prefers-reduced-motion:reduce){.cm-toast{transition:none}}
.cm-ask__field{display:grid;gap:6px;padding:4px 22px 0}
.cm-ask__field span{font-size:13px;color:var(--text-faint)}
.cm-ask__note{padding:6px 22px 0}
.cm-ask__error{padding:6px 22px 0;color:#A12B22}

/* Subscriptions waiting for their renewal day: the nudge card's rows, edged in the calendar's subscription violet. */
.ht__sublists{min-width:0;container:ht-subs / inline-size}
.ht__sublist{min-width:0}
.ht__subneed{display:grid;grid-template-columns:minmax(0,1fr) 200px 350px;align-items:center;gap:8px 20px;min-width:0;padding:10px 14px 10px 16px;border-radius:14px;border-left:6px solid #6C54C8;background:#f6f3ef;transition:opacity .4s var(--ease, ease),background .3s}
.ht__subreview{grid-template-columns:minmax(0,1fr) 110px 350px;border-left-color:var(--border)}
.ht__subneed.is-done{background:#eaf3ee;opacity:.75}
.ht__subname{display:grid;gap:2px;min-width:0;color:inherit;text-decoration:none;overflow-wrap:anywhere}
.ht__subname:hover,.ht__subname:focus-visible{text-decoration:underline}
.ht__subname small{font-weight:400;font-size:13px;color:var(--text-muted)}
.ht__subtitle{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px;font-size:16px;line-height:1.35}
.ht__subtitle b{font-weight:600}
.ht__subsep{color:var(--text-muted)}
.ht__subtags{display:flex;gap:6px;align-items:center;justify-self:start;min-width:0;max-width:100%}
.ht__chance{padding:2px 9px;border-radius:var(--radius-label);background:var(--chance);color:#fff;font:700 12px/1.5 var(--body);white-space:nowrap}
select.ht__chance--pick{appearance:none;-webkit-appearance:none;border:0;cursor:pointer;padding:2px 22px 2px 9px;background:var(--chance) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 8px center}
select.ht__chance--pick:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
select.ht__chance--pick option{color:var(--ink);background:#fff}
.ht__subday{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0;font-size:14px}
.ht__subdate{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0;padding:0;border:0;min-width:0}
.ht__subdate legend{float:left;margin-right:4px;padding:0}
.ht__subdate>span{color:var(--text-muted)}
.ht__yearin{width:5.4em}
.ht__dayin{width:3.4em;height:38px;padding:0 8px;text-align:center;font-variant-numeric:tabular-nums}
.ht__dayin[aria-invalid="true"]{border-color:#D9737F;box-shadow:0 0 0 2px rgba(217,115,127,.25)}
.ht__submonth{font-weight:600;white-space:nowrap;min-width:7.6em}
.ht__subsaid{flex-basis:100%;text-align:right;font-size:13px;color:var(--text-muted)}
.ht__subsaid:empty{display:none}
.ht__subreview-h{margin:22px 0 4px;font-size:16px}
.ht__subreview-h small{margin-left:6px;color:var(--text-muted);font-weight:400}
.ht__subreview-p{margin:0 0 10px;font-size:14px;color:var(--text-muted)}
@container ht-subs (max-width:820px){.ht__subneed,.ht__subreview{grid-template-columns:minmax(0,1fr) auto}.ht__subday{grid-column:1 / -1;justify-content:flex-start}.ht__subsaid{text-align:left}}
@container ht-subs (max-width:440px){.ht__subneed,.ht__subreview{grid-template-columns:minmax(0,1fr)}.ht__subtags{flex-wrap:wrap}}
.ht__needs{justify-self:end;padding:2px 9px;border-radius:var(--radius-label);background:#D9737F;color:#fff;font:700 12px/1.5 var(--body);letter-spacing:.04em;white-space:nowrap}
.ht__subs-more{margin-top:10px}
.subs__state--needs{color:#9B3F4C;font-weight:700;letter-spacing:.04em}
.subs__state--needs::before{background:#D9737F}
.subs__chance{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:var(--radius-label);color:#fff;font:700 11px/1.5 var(--body);vertical-align:middle}
.subs__chance--likely{background:#ff007f}
.subs__chance--possible{background:#ff6d3b}
/* Retainer budgets share Spring's project header, sliding tabs, reveal rhythm and people-picker motion. */
.vr{color:var(--ink);font:400 16px/1.5 var(--body);min-width:0;container-type:inline-size}
.vr [hidden]{display:none!important}
.vr__intro{display:flex;justify-content:space-between;align-items:start;gap:24px;margin-bottom:30px}
.vr__intro h2{font:400 clamp(32px,3.2cqw,42px)/1.1 var(--display);letter-spacing:.06em;text-transform:uppercase;margin:0 0 10px}
.vr__intro p{margin:0;color:var(--text-muted)}
.vr .vr__eyebrow{margin:0 0 8px;color:var(--text-sage);font:700 13px/1.4 var(--mono)}
.vr__state{display:inline-flex;align-items:center;gap:8px;flex:none;padding:9px 12px;background:var(--bg-sunk);border-radius:var(--radius-label);font-size:13px;font-weight:600}
.vr__state::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--spring-blue)}
.vr__state.is-closed::before{background:var(--spring-sage)}
.vr__months{margin-bottom:28px}.vr__months .lp__mwhere{margin:0}.vr__months .lp__mname{font-size:14px}.vr__months .lp__m.is-now .lp__mname{white-space:normal}.vr__months .lp__mname i{margin-left:0}
.vr__textlink{display:inline-flex;align-items:center;gap:8px;min-height:44px;position:relative;color:var(--ink);font:500 15px/1.4 var(--body);text-decoration:none;border:0;padding:8px 0;background:linear-gradient(var(--pink),var(--pink)) 0 100%/0 2px no-repeat;transition:background-size .35s var(--ease);cursor:pointer}
.vr__textlink:hover,.vr__textlink:focus-visible{background-size:100% 2px}
.vr__textlink svg,.vr .btn svg{width:18px;height:18px;flex:none}
.vr .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}
.vr__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:32px}
.vr__card{--accent:var(--spring-sage);background:var(--bg-card);border:1px solid var(--border);border-top:3px solid var(--accent);border-radius:var(--radius-card);padding:26px;min-width:0}
.vr__card--blue{--accent:var(--spring-blue)}
.vr__card--pink{--accent:var(--spring-pink);background:var(--pink-soft);border-color:var(--spring-pink)}
.vr__card--over{--accent:var(--text-warn);background:var(--warn-ground)}
.vr__cardhead{display:flex;align-items:center;gap:10px;margin-bottom:22px}
.vr__cardhead svg{width:23px;height:23px;color:var(--accent);flex:none}
.vr__cardhead h3{font:500 16px/1.35 var(--body);margin:0}
.vr__number{font:700 clamp(30px,3.5cqw,48px)/1.15 var(--mono);letter-spacing:-.06em;margin:0 0 16px;overflow-wrap:anywhere}
.vr__caption{font-size:14px;line-height:1.5;color:var(--text-muted);margin:0}
.vr__card--pink .vr__caption{color:var(--ink)}
.vr__cards.is-in .vr__card{animation:rv-rise .7s var(--ease) backwards;animation-delay:calc(var(--i,0)*90ms)}
.vr__layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start;margin-bottom:32px}
.vr__workpanel,.vr__sidecard,.vr__history{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-card);min-width:0}
.vr__sectionhead{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:26px;border-bottom:1px solid var(--border-soft)}
.vr__sectionhead h3,.vr__sidecard h3{font:400 28px/1.15 var(--display);letter-spacing:.06em;text-transform:uppercase;margin:0}
.vr__count{font:500 14px var(--body);color:var(--text-muted);margin-left:8px;vertical-align:middle}
.vr__tablewrap{position:relative;overflow-x:auto;scrollbar-width:thin}
.vr__table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}
.vr__table th,.vr__table td{padding:16px 18px;border-bottom:1px solid var(--border-soft);vertical-align:middle}
.vr__table thead th{font:600 12px/1.4 var(--body);color:var(--text-muted);background:var(--bg-sunk);white-space:nowrap}
.vr__table tbody th{font-weight:500;min-width:190px}
.vr__table td{font-size:13px;color:var(--text-muted)}
.vr__table tbody th a{text-decoration:none;color:var(--ink)}
.vr__table tbody th a:hover{text-decoration:underline;text-decoration-color:var(--pink);text-underline-offset:4px}
.vr__table .num{white-space:nowrap;color:var(--ink);font-size:14px}
.vr__table .r{text-align:right}
.vr__table tbody tr{transition:background-color .3s var(--ease)}
.vr__table tbody tr:hover{background:var(--bg-sunk)}
.vr__table tr:last-child td,.vr__table tr:last-child th{border-bottom:0}
.vr__table .is-cancelled th a{color:var(--text-muted);text-decoration:line-through}
.vr__edit{display:grid;place-items:center;width:44px;height:44px;border-radius:var(--radius-button);color:var(--text-muted);transition:background-color .3s var(--ease),color .3s var(--ease)}
.vr__edit:hover{background:var(--pink-soft);color:var(--ink)}
.vr__edit svg{width:18px;height:18px}
.vr__tag{display:inline-block;max-width:150px;padding:5px 8px;border-radius:var(--radius-label);font-size:11px;line-height:1.4;background:var(--bg-sunk);color:var(--ink)}
.vr__tag.is-done{background:var(--good-ground);color:var(--text-good)}
.vr__aside{display:grid;gap:18px}
.vr__sidecard{padding:24px}
.vr__sidecard h3{font-size:25px;margin-bottom:18px;color:var(--text-sage)}
.vr__billing h3{color:var(--text-blue)}
.vr__sidefigure{font:700 28px/1.2 var(--mono);letter-spacing:-.04em;margin:0 0 10px}
.vr__help{font:400 13px/1.6 var(--body);color:var(--text-muted);margin:10px 0}
.vr__breakdown{width:100%;border-collapse:collapse;font-size:12px}
.vr__breakdown th{font-weight:400;color:var(--text-muted);text-align:left}
.vr__breakdown thead th:not(:first-child),.vr__breakdown td{text-align:right}
.vr__breakdown th,.vr__breakdown td{padding:9px 0}
.vr__breakdown td{font-family:var(--mono);font-weight:700;white-space:nowrap}
.vr__breakdown thead th{font-size:11px}
.vr__total{border-top:1px solid var(--border)}
.vr__smallstats{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--border-soft);font-size:12px}
.vr__smallstats div{display:flex;justify-content:space-between;gap:12px}
.vr__smallstats dt{color:var(--text-muted)}
.vr__smallstats dd{margin:0;font-weight:600}
.vr__billing .btn{width:100%;margin-top:12px}
.vr__billing .vr__textlink{font-size:13px;margin-top:8px}
.vr__history>summary{display:flex;align-items:center;gap:16px;min-height:64px;padding:18px 26px;cursor:pointer;list-style:none;font-weight:600}
.vr__history>summary::-webkit-details-marker{display:none}
.vr__history>summary .vr__help{margin:0 auto 0 0;font-weight:400}
.vr__history>summary svg{width:20px;height:20px;transition:transform .35s var(--ease)}
.vr__history[open]>summary svg{transform:rotate(90deg)}
.vr__history>.vr__help{padding:0 24px 12px}
.vr__history .vr__table{min-width:850px}
.vr__empty{padding:36px 26px;color:var(--text-muted)}
.vr__empty p{margin:0 0 8px}
.vr__notice,.vr__warning{padding:14px 18px;border-radius:var(--radius-field);background:var(--good-ground);color:var(--text-good);margin:0 0 24px}
.vr__warning{background:var(--warn-ground);color:var(--text-warn)}
.vr__notice[hidden]{display:none}
.vr-dialog{width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 48px)}
.vr-dialog[open]{display:flex;flex-direction:column}
.vr-dialog>.pick__form{max-height:calc(100dvh - 48px);overflow:hidden}
.vr-dialog .pick__head{padding:24px 26px 20px;flex:none;border-bottom:1px solid var(--border-soft);align-items:start}
.vr-dialog .pick__head h2{font:400 34px/1.1 var(--display);letter-spacing:.06em;text-transform:uppercase}
.vr-dialog form{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.vr__formbody{padding:24px 26px;overflow-y:auto;overscroll-behavior:contain}
.vr__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}
.vr .field{display:grid;gap:8px;margin:0 0 18px;min-width:0;font-size:14px;font-weight:500}
.vr__fields .field{margin:0}
.vr__formfoot{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:18px 26px;border-top:1px solid var(--border-soft);background:var(--bg-sunk);flex:none}
.vr__error{padding:12px 14px;background:var(--warn-ground);color:var(--text-warn);border-left:3px solid var(--signal-warn);border-radius:var(--radius-field);margin:0 0 18px;font-size:14px}
.vr__error[hidden]{display:none}
.vr__assignees,.vr__extras{border-top:1px solid var(--border-soft);margin-top:20px}
.vr__assignees>summary,.vr__extras>summary{padding:16px 0;cursor:pointer;min-height:44px;font-size:14px;font-weight:500}
.vr__assignees>summary span:last-child{font-weight:400;color:var(--text-muted);margin-left:10px;font-size:12px}
.vr__people-search{display:block;margin:0 0 8px}
.vr__people-list{max-height:190px;overflow-y:auto;border:1px solid var(--border-soft);border-radius:var(--radius-field)}
.vr__people-list .pick__row{grid-template-columns:minmax(0,1fr) auto;font-size:14px;padding:12px}
.vr__people-list .pick__row[hidden]{display:none}
.vr__cancel{margin-top:24px;padding-top:18px;border-top:1px solid var(--border-soft)}
.vr__cancel[hidden],.vr__cancel [hidden]{display:none}
.vr__danger{border:0;background:none;padding:8px 0;color:var(--text-pink);font:500 13px var(--body);cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.vr__reviewamount{font:700 38px/1.2 var(--mono);letter-spacing:-.04em;margin:0 0 24px}
.vr__reviewamount span{display:block;font:400 13px/1.5 var(--body);color:var(--text-muted);letter-spacing:0;margin-top:10px}
.vr--setup{max-width:850px;margin-inline:auto}
.vr--setup .ls__label{margin-top:30px}
.vr--setup h1{margin:0 0 32px}
.vr__models{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:28px}
.vr__setupform{border:1px solid var(--border);background:var(--bg-card);border-radius:var(--radius-card);overflow:hidden}
.vr__formgroup{border:0;padding:26px;margin:0;border-bottom:1px solid var(--border-soft);min-width:0}
.vr__formgroup legend{float:left;width:100%;font:700 14px var(--mono);color:var(--text-sage);margin-bottom:18px;padding:0}
.vr__formgroup legend+.vr__fields{clear:both}
.vr__formgroup>.field{clear:both}
.vr a:focus-visible,.vr button:focus-visible,.vr summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@container(max-width:1000px){.vr__layout{grid-template-columns:minmax(0,1fr)}.vr__aside{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.vr__sidecard{padding:20px}.vr__card{padding:22px}.vr__table tbody th{min-width:220px}}
@container(max-width:650px){.vr__cards{grid-template-columns:minmax(0,1fr);gap:12px}.vr__card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;padding:20px}.vr__cardhead{margin:0}.vr__number{grid-column:2;grid-row:1/3;margin:0;align-self:center;font-size:32px}.vr__caption{grid-column:1;font-size:13px}.vr__intro{gap:14px}.vr__intro h2{font-size:34px}.vr__intro>div>p:last-child{font-size:14px}.vr__state{font-size:11px}.vr__aside{grid-template-columns:minmax(0,1fr)}.vr__sectionhead{padding:20px}.vr__sectionhead .btn{font-size:13px;padding:10px 12px}.vr__sectionhead h3{font-size:25px}.vr__table{min-width:620px}.vr__history>summary{flex-wrap:wrap;padding:18px 20px;gap:6px 12px}.vr__history>summary .vr__help{width:100%;order:2}.vr__history>summary svg{margin-left:auto}}
@media(max-width:600px){.vr__fields{grid-template-columns:minmax(0,1fr);gap:16px}.vr-dialog .pick__head{padding:20px}.vr__formbody{padding:20px}.vr__formfoot{padding:16px 20px;gap:10px}.vr__formfoot .btn{font-size:14px;padding:12px}.vr__formgroup{padding:22px}}
@media(prefers-reduced-motion:reduce){.vr__cards.is-in .vr__card{animation:none}.vr *{scroll-behavior:auto}.vr__textlink,.vr__edit,.vr__table tbody tr,.vr__history>summary svg{transition:none}}

.vr__ref{font-family:var(--mono);white-space:nowrap}
.vr__actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.vr__rechargehead{border-top:1px solid var(--border-soft)}
.vr__rechargehead .vr__help{margin:8px 0 0}
@container(max-width:650px){.vr__sectionhead:has(.vr__actions){flex-wrap:wrap}.vr__actions{width:100%;justify-content:flex-start}}
.vr__date{white-space:nowrap}
.vr__subline{display:block;color:var(--text-muted);font:400 11px/1.5 var(--body);margin-top:5px}
.vr__muted{color:var(--text-muted);font-weight:400}
.vr__smallstats div+div{margin-top:9px}
.vr__workpanel .vr__table{min-width:780px}
.vr__workpanel .vr__table th,.vr__workpanel .vr__table td{padding:14px 12px}
.vr__workpanel .vr__table tbody th{min-width:210px}

/* Contingency tab (ContingencyPage.php): the year's budget, then the requests drawn on it. */
.cg{display:grid;gap:20px;container-type:inline-size}
.cg--setup{max-width:760px}
.cg__head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px}
.cg__head h2{font-size:34px}
.cg__years{display:flex;flex-wrap:wrap;gap:6px}
.cg__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cg__card.is-over{border-top-color:var(--signal-warn);background:var(--warn-ground)}
.cg__left{margin:0;font-family:var(--display);font-size:40px;line-height:1}
.cg__left span{font-family:var(--body);font-size:15px;color:var(--text-muted)}
.cg__card.is-over .cg__left span{color:var(--text-warn);font-weight:600}
.cg__bar{display:flex;height:8px;border-radius:999px;background:var(--track);overflow:hidden}
.cg__bar-signed{background:var(--spring-blue)}
.cg__bar-awaiting{background:repeating-linear-gradient(135deg,var(--spring-pink) 0 4px,var(--pink-soft) 4px 8px)}
.cg__card.is-over .cg__bar-signed{background:var(--text-warn)}
.cg__dl{margin:0;display:grid;gap:4px;font-size:14px}
.cg__dl div{display:flex;justify-content:space-between;gap:8px}
.cg__dl dt{color:var(--text-muted)}
.cg__dl dd{margin:0}
.cg__card .micro{margin:0;font-size:13px}
.cg__billing{margin:0}
.cg__tools{display:flex;flex-wrap:wrap;gap:10px;align-items:start}
.cg__more>summary{list-style:none;cursor:pointer;display:inline-flex}
.cg__more>summary::-webkit-details-marker{display:none}
.cg__more[open]{flex-basis:100%}
.cg__more>form{margin-top:12px;padding:20px;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-card);display:grid;gap:12px}
.cg__fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;align-items:end}
.cg__filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.cg__filters .field{min-width:180px}
.cg__tablewrap{overflow-x:auto;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-card)}
.cg__table{min-width:860px}
.cg__table th,.cg__table td{vertical-align:top}
.cg__table .r{text-align:right}
.cg__by{display:block;font-size:13px;color:var(--text-muted)}
.cg__row--rejected td{color:var(--text-faint)}
.cg__acts td{padding-top:0;border-top:0}
.cg__actsrow{display:flex;flex-wrap:wrap;gap:8px;align-items:start}
.cg__inline{display:inline}
.cg__status{display:inline-block;padding:2px 8px;border-radius:var(--radius-label);font-size:13px;font-weight:600;background:var(--bg-sunk);color:var(--text-muted);white-space:nowrap}
.cg__status--awaiting{background:var(--pink-soft);color:var(--text-pink)}
.cg__status--approved,.cg__status--progress,.cg__status--done{background:var(--good-ground);color:var(--text-good)}
.cg__status--invoiced{background:var(--hi);color:var(--on-hi)}
.cg__status--rejected{text-decoration:line-through}
.cg__warn{margin:6px 0 0;font-size:13px;color:var(--text-warn);font-weight:600}
.cg__error{padding:12px 14px;background:var(--warn-ground);color:var(--text-warn);border-left:3px solid var(--signal-warn);border-radius:var(--radius-field);margin:0;font-size:14px}
@container(max-width:760px){.cg__cards{grid-template-columns:minmax(0,1fr)}.cg__left{font-size:32px}}

/* The client's approval page (ContingencyPage::approval), opened from the emailed link. */
.cg-approve{gap:20px}
.cg-approve h1{font-size:34px}
.cg-approve__state{margin:6px 0 0;display:inline-block;padding:2px 8px;border-radius:var(--radius-label);font-size:13px;font-weight:600;background:var(--pink-soft);color:var(--text-pink)}
.cg-approve__state--decided{background:var(--good-ground);color:var(--text-good)}
.cg-approve__state--withdrawn,.cg-approve__state--expired,.cg-approve__state--changed{background:var(--bg-sunk);color:var(--text-muted)}
.cg-approve__dl{margin:0;display:grid;gap:0;border:1px solid var(--border-soft);border-radius:var(--radius-card);overflow:hidden}
.cg-approve__dl div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:12px 16px;border-top:1px solid var(--border-soft)}
.cg-approve__dl div:first-child{border-top:0}
.cg-approve__dl dt{color:var(--text-muted);font-size:14px}
.cg-approve__dl dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.cg-approve__form{display:grid;gap:14px}
@media(max-width:480px){.cg-approve__dl div{grid-template-columns:minmax(0,1fr);gap:2px}}

/* The contingency's billing by month (ContingencyPage::billing). */
.cg__table--billing{min-width:760px}
.cg__table--billing tr.is-invoiced td{color:var(--text-muted)}
.cg__table--billing tfoot th,.cg__table--billing tfoot td{font-weight:700;border-top:2px solid var(--border)}
.cg__batch{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:4px}
.cg__batch .input{width:auto;min-width:0;padding:6px 8px;font-size:14px}

/* Contingency downloads and the retainer work shared with the client (ContingencyPage). */
.cg__downloads{display:flex;flex-wrap:wrap;gap:8px}
.cg__choices{border:1px solid var(--border-soft);border-radius:var(--radius-field);padding:12px 14px;display:grid;gap:6px;margin:0}
.cg__choices legend{font-weight:600;padding:0 4px}
.cg__choices label{display:flex;gap:8px;align-items:center}
.cg__streams{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.cg__streams li{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-card);padding:14px 16px;display:grid;gap:2px}
.cg__streams .num{font-family:var(--display);font-size:30px;line-height:1}
.cg--import{display:grid;gap:16px}
.cg__upload,.cg__importform{display:grid;gap:12px}
.cg__reconcile{min-width:520px}
.cg__reconcile .r{text-align:right}
.cg__proposal{border:1px solid var(--border);border-radius:var(--radius-card);padding:12px 16px 16px;display:grid;gap:10px;background:var(--bg-card)}
.cg__proposal legend{padding:0 6px;display:flex;gap:10px;align-items:center}
.cg__proposal--warn{border-left:3px solid var(--signal-warn)}
.cg__warnings{margin:0;padding-left:18px;color:var(--text-warn);font-size:13px}

/* Fund settings as the site's dark modal (improvement notes, profiles): fixed in the middle of the window. */
.cg-dialog{position:fixed;inset:0;margin:auto;height:fit-content;width:min(820px,calc(100vw - 32px));max-height:min(88vh,900px);padding:0;z-index:50;
  border:1px solid rgba(255,249,244,.12);border-radius:var(--radius-card);background:var(--side);color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.45);overflow:hidden}
.cg-dialog[open]{display:flex;flex-direction:column;animation:rv-rise .4s var(--ease)}
.cg-dialog::backdrop{background:rgba(18,20,30,.6)}
.cg-dialog__body{overflow-y:auto;overscroll-behavior:contain;padding:32px 32px 28px;scrollbar-width:thin;scrollbar-color:rgba(255,249,244,.25) transparent}
.cg-dialog__body form{display:grid;gap:14px}
.cg-dialog__eyebrow{margin:0 0 6px;font:700 12px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}
.cg-dialog h2{margin:0 0 22px;padding-right:44px;color:var(--ink);font:400 40px/1 var(--display);letter-spacing:.04em;text-transform:uppercase}
.cg-dialog__close{position:absolute;top:14px;right:14px;z-index:2;display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:var(--radius-button);background:none;color:var(--text-muted);font:300 30px/1 var(--body);cursor:pointer;transition:background-color .2s,color .2s}
.cg-dialog__close:hover,.cg-dialog__close:focus-visible{background:rgba(255,249,244,.1);color:var(--ink);outline:0}
.cg-dialog .field>span,.cg-dialog legend,.cg-dialog label{color:var(--ink)}
.cg-dialog .micro{color:var(--text-muted)}
.cg-dialog .input{border-color:var(--border)}
.cg-dialog .input::placeholder{color:var(--text-faint)}
.cg-dialog fieldset{border-color:var(--border)}
.cg-dialog .input:focus-visible,.cg-dialog .cp__go:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.cg-dialog .cg__error{background:rgba(232,166,177,.16);color:var(--ink)}
@media (max-width:640px){.cg-dialog__body{padding:24px 18px 20px}.cg-dialog h2{font-size:32px}}
@media (prefers-reduced-motion:reduce){.cg-dialog[open]{animation:none}}
.cg-dialog input[type="checkbox"],.cg-dialog input[type="radio"]{accent-color:var(--spring-pink)}
.cg-dialog input[type="month"]{color-scheme:dark}

/* The contingency on a retainer's Status tab, in a Sizewell retainer's layout (.vr): only what .vr doesn't already give. */
.vr.cg{display:block}
.cg__card .cg__bar{margin:0 0 14px}
.cg__left-word{font:400 15px var(--body);letter-spacing:0;color:var(--text-muted)}
.vr__card--over .cg__left-word{color:var(--text-warn);font-weight:600}
.cg__note{margin-top:8px}
.vr .cg__years{display:flex;flex-wrap:wrap;gap:8px}
.vr .cg__filters{padding:18px 26px;border-bottom:1px solid var(--border-soft)}
.vr .cg__table{min-width:0}
.vr__workpanel .cg__table th,.vr__workpanel .cg__table td{padding:14px 10px}
.vr__workpanel .cg__table tbody th{min-width:150px}
.vr__workpanel .cg__table td:first-child,.vr__workpanel .cg__table th:first-child{padding-left:20px}
.vr__workpanel .cg__table td:last-child{padding-right:16px}
.vr .cg__table td,.vr .cg__table th{vertical-align:top}
.vr__table tr.cg__row:has(+ .cg__acts)>*{border-bottom:0}
.vr .cg__acts td{padding-top:0}
.vr .cg__acts:hover,.vr .cg__row:hover{background:transparent}
.cg__section.vr__workpanel{margin-bottom:32px}
.vr .cg__foot{margin:0;padding:14px 26px}
.vr__sidecard .cg__streams{grid-template-columns:1fr}
.vr__sidecard .cg__streams li{background:var(--bg-sunk);border:0}
.vr__sidecard .vr__textlink{display:flex}
.vr.cg>.lp__months{margin-bottom:28px}
/* A contingency request's row: its next step and a pencil; the editor (.cg-manage) holds the rest. */
.vr .cg__next{text-align:right;width:1%}
.vr .cg__next .btn{white-space:nowrap}
.vr .cg__next .cg__inline{display:inline-block;vertical-align:middle;margin-right:4px}
.vr .cg__next .vr__edit{display:inline-grid;vertical-align:middle}
.vr .cg__table tbody th .cg__warn{display:block;margin-top:4px}
.cg-manage{width:min(680px,calc(100vw - 32px))}
.cg-manage>.pick__form{max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden}
.cg-manage .pick__head h2{font:400 28px/1.15 var(--display);letter-spacing:.05em;text-transform:uppercase}
.cg__manage{display:grid;gap:0}
.cg__manage form{display:grid;gap:12px;overflow:visible;min-height:auto}
.cg__summary{margin:0 0 6px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:15px}
.cg__part{padding:20px 0;border-top:1px solid var(--border-soft);display:grid;gap:12px}
.cg__part:first-of-type{border-top:0}
.cg__part h3{margin:0;font:600 16px/1.3 var(--body)}
.cg__part .vr__help{margin:0}
.cg__partfoot{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.cg__moves{display:flex;flex-wrap:wrap;gap:8px}
.cg__email{border:1px solid var(--border);border-radius:var(--radius-field);background:var(--bg-sunk);overflow:hidden}
.cg__email-subject{margin:0;padding:10px 14px;border-bottom:1px solid var(--border-soft);font-weight:600;font-size:14px}
.cg__email-subject span{display:inline-block;min-width:64px;color:var(--text-muted);font-weight:400}
.cg__email pre{margin:0;padding:12px 14px;white-space:pre-wrap;font:400 14px/1.55 var(--body);color:var(--ink);max-height:240px;overflow:auto}
.cg__delete{justify-self:start}
/* The approver's page: the note from Spring, and what's left of the year's contingency (the one total, never the split). */
.cg-approve__note{margin:0;padding:14px 16px;border-left:3px solid var(--spring-pink);background:var(--pink-soft);border-radius:0 var(--radius-field) var(--radius-field) 0}
.cg-approve__note p{margin:0 0 6px;font-size:15px;line-height:1.55}
.cg-approve__note footer{font-size:13px;color:var(--text-muted)}
.cg-approve__left{display:grid;gap:10px;padding:16px;border:1px solid var(--border-soft);border-radius:var(--radius-card)}
.cg-approve__lefthead{margin:0;font-size:14px;color:var(--text-muted)}
.cg-approve__bar{display:flex;height:10px;border-radius:999px;background:var(--track);overflow:hidden}
.cg-approve__bar-after{background:var(--spring-sage)}
.cg-approve__bar-this{background:repeating-linear-gradient(135deg,var(--spring-pink) 0 4px,var(--pink-soft) 4px 8px)}
.cg-approve__nums{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cg-approve__nums dt{font-size:13px;color:var(--text-muted)}
.cg-approve__nums dd{margin:2px 0 0;font:700 22px/1.2 var(--body)}
.cg-approve__over{margin:0;color:var(--text-warn);font-weight:600;font-size:14px}
/* The row pencil is a button here (Sizewell's is a link): no browser button look. */
.vr button.vr__edit{padding:0;border:0;background:none;box-shadow:none;cursor:pointer;font:inherit}
.vr button.vr__edit:hover,.vr button.vr__edit:focus-visible{background:var(--pink-soft);color:var(--ink)}
.vr button.vr__edit:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.vr .cg__next{vertical-align:top}
.vr .cg__next .vr__edit{width:40px;height:40px}
/* The requests table fits its panel: figures and the next step may wrap, and the side cards sit below it until there's room. */
.vr .cg__table .num,.vr .cg__table .num .vr__subline{white-space:normal}
.vr .cg__table .cg__when{white-space:nowrap}
.vr .cg__next .btn{white-space:normal;max-width:132px;text-align:center;line-height:1.2}
@container(max-width:1160px){.vr.cg .vr__layout{grid-template-columns:minmax(0,1fr)}.vr.cg .vr__aside{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@container(max-width:820px){.vr__workpanel .cg__table tbody th{min-width:120px}.vr__workpanel .cg__table th,.vr__workpanel .cg__table td{padding:12px 8px}}
/* Projects tab: three counts, then one row per project grouped by whether it needs attention. */
.hd__summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:4px 0 36px}
.hd__sum{display:flex;align-items:baseline;gap:14px;padding:18px 22px;border:1px solid var(--border);border-radius:10px;background:#fff;text-decoration:none;transition:border-color var(--slow) var(--ease)}
.hd__sum:hover,.hd__sum:focus-visible{border-color:var(--spring-sage)}
.hd__sum b{font:400 48px/1 var(--display)}
.hd__sum span{font-size:15px;font-weight:600;line-height:1.3}
.hd__sum--ok b{color:var(--text-good)}
.hd__sum--attention b{color:var(--pink-deep)}
.hd__group{margin-bottom:36px;scroll-margin-top:24px}
.hd__group > h3{display:flex;align-items:center;gap:10px;margin:0 0 12px;font:600 16px/1.3 var(--body)}
.hd__group > h3 span{font:400 13px/1 var(--mono);color:var(--text-muted)}
.hd__rows{list-style:none;margin:0;padding:0;border:1px solid var(--border);border-radius:10px;background:#fff;overflow:hidden}
.hd__row{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(120px,1fr) minmax(120px,1fr) minmax(110px,.9fr) minmax(130px,1fr);gap:22px;align-items:center;padding:16px 20px;border-top:1px solid var(--border-soft);transition:background var(--slow) var(--ease)}
.hd__row:first-child{border-top:0}
.hd__row:hover,.hd__row:focus-within{background:var(--spring-cream)}
.hd__row.is-flagged{box-shadow:inset 3px 0 0 var(--pink-deep)}
.hd__rowname{display:grid;gap:3px;min-width:0}
.hd__rowname .hd__client{font-size:13px}
.hd__rowname > a{font-weight:600;font-size:16px;text-decoration:none;overflow-wrap:anywhere}
.hd__rowname > a:hover{text-decoration:underline;text-underline-offset:3px}
.hd__rowname small{font-size:12px;color:var(--text-muted)}
.hd__rowreasons{font-size:13px;color:var(--pink-deep)}
.hd__rowreasons summary{cursor:pointer;width:fit-content}
.hd__rowreasons ul{margin:6px 0 0;padding-left:18px;display:grid;gap:4px;color:var(--ink)}
.hd__rowstat{display:grid;gap:5px;min-width:0}
.hd__rowlabel{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em}
.hd__rowfig{font-size:13px;color:var(--text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.hd__rowfig b{font-size:15px;color:var(--ink)}
.hd__rowstat .bar{height:4px}
.hd__rowwho{min-width:0}
@container home-dashboard (max-width:940px){.hd__row{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:14px}.hd__rowname,.hd__rowwho{grid-column:1/-1}}
@container home-dashboard (max-width:560px){.hd__summary{grid-template-columns:1fr;gap:10px}.hd__sum{padding:14px 18px}.hd__sum b{font-size:36px}.hd__row{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 16px}.hd__row > .hd__rowstat:nth-of-type(4){grid-column:1/-1}}

/* The test copy's corner tag (support.php test_site_tag): always on top, never in the way of a click. */
.test-site{position:fixed;left:12px;bottom:12px;z-index:2147483647;margin:0;padding:6px 12px;border-radius:999px;background:#d62d2d;color:#fff;font:700 13px/1.2 system-ui,-apple-system,sans-serif;letter-spacing:.02em;box-shadow:0 2px 10px rgba(0,0,0,.25);pointer-events:none}
