/* Tektura — the client area. Builds on site.css: the same paper, ink and signal, the
   corner rule on every rectangle, one column that reads top to bottom on a phone. */
body.client{display:flex;flex-direction:column;min-height:100vh}
.c-top{display:flex;align-items:center;gap:18px;padding:22px var(--gutter);max-width:var(--max);width:100%;margin:0 auto}
.c-top .lockup{font-size:18px}
.c-top .lockup svg{width:32px;height:32px}
.c-area{padding-top:2px}
.c-who{margin-left:auto;display:inline-flex;align-items:center;gap:14px;font-size:14px;color:var(--slate)}
.c-out{background:none;border:0;font:inherit;font-size:14px;color:var(--ink);border-bottom:1px solid var(--ink);padding:0;cursor:pointer}
.c-out:hover{color:var(--signal);border-color:var(--signal)}
.c-main{flex:1;width:100%;max-width:820px;margin:0 auto;padding:10px var(--gutter) 60px}
.c-foot{padding:26px var(--gutter);max-width:var(--max);width:100%;margin:0 auto}
.c-foot p{max-width:none}
.c-foot .c-foot-links{display:flex;gap:20px;margin-top:10px;font-size:13px}
.c-foot-links a{color:var(--slate)}
.c-priv{margin-top:10px}

/* Every box you can type in has an edge, focused or not. */
body.client .input,body.client textarea{box-shadow:inset 0 0 0 1px var(--field-edge)}
body.client .input:focus,body.client textarea:focus{box-shadow:inset 0 0 0 2px var(--signal)}
body.client .input::placeholder,body.client textarea::placeholder{color:var(--slate)}
/* The smaller button, and the quiet one beside a main button: an outline that fills on the way in. */
body.client .btn.sm{padding:11px 16px;font-size:13px}
body.client .btn.ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
body.client .btn.ghost:hover{background:var(--ink);color:var(--paper)}

/* Signing in. Built from the same parts as the staff sign-in (the card, the switch, Show,
   Forgotten it? beside Password) and drawn in the same sketch style, but of another
   thing: there the mark is drawn beside the card; here a website is drafted. Page header and footer step aside while it shows. */
body.c-signin .c-top,body.c-signin .c-foot{display:none}
body.c-signin .c-main{max-width:none;padding:0;display:flex}
.c-gate{flex:1;display:grid;grid-template-columns:minmax(0,600px) minmax(0,440px);align-items:center;justify-content:center;gap:clamp(32px,6vw,112px);min-height:100dvh;padding:24px clamp(24px,5vw,72px);box-sizing:border-box}
/* The card is in the page from the start but out of sight for 0.4s while the area asks
   who is signed in: somebody signed in goes straight to their work, and somebody signed
   out sees it the moment the answer comes (client.js takes c-wait off). It keeps its
   space all the while, so nothing moves. */
.c-wait{animation:c-wait 0s linear .4s both}
@keyframes c-wait{from{visibility:hidden}to{visibility:visible}}
.c-sheet{order:-1;width:100%;max-width:600px;max-height:82vh;justify-self:center}
.c-sheet .g{fill:none;stroke:var(--rule-strong);stroke-width:.7}
.c-sheet .l{fill:none;stroke:var(--ink-hi);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.c-sheet .lt{fill:none;stroke:var(--ink-hi);stroke-width:.9;stroke-linecap:round}
.c-sheet .dm{fill:none;stroke:var(--signal);stroke-width:.9;stroke-linecap:round}
.c-sheet .on{fill:none;stroke:var(--paper);stroke-width:7;stroke-linecap:round}
.c-sheet .btnk{fill:var(--signal)}
.c-sheet .hatch line{stroke:var(--rule-strong);stroke-width:.7}
.c-sheet .fillk{fill:var(--ink)}
.c-sheet .t{font-family:var(--mono);font-size:11px;letter-spacing:.08em;fill:var(--ink-hi)}
.c-sheet .t.s{fill:var(--signal)}
.c-sheet .t.dim{fill:var(--slate)}
.c-sheet .t.big{font-size:14px;letter-spacing:.16em}
@media (prefers-reduced-motion:no-preference){
  .c-sheet [data-draw]{stroke-dasharray:1;stroke-dashoffset:1;animation:c-sheet-draw var(--u,.9s) cubic-bezier(.45,0,.3,1) var(--d,0s) forwards}
  .c-sheet [data-fade]{opacity:0;animation:c-sheet-fade .7s ease var(--d,0s) forwards}
  .c-sheet .flood{transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(0);animation:c-sheet-flood 1.4s cubic-bezier(.6,0,.3,1) 6.2s forwards}
}
@keyframes c-sheet-draw{to{stroke-dashoffset:0}}
@keyframes c-sheet-flood{to{transform:none}}
@keyframes c-sheet-fade{to{opacity:1}}
/* After signing in on a phone the same drawing plays in the middle of the screen while
   the area opens, about eight times as fast (client.js takes it away). */
.c-intro{position:fixed;inset:0;z-index:1001;display:grid;place-items:center;background:var(--paper);transition:opacity .25s ease}
.c-intro.out{opacity:0}
.c-intro .c-sheet{display:block;order:0;width:min(84vw,360px);max-width:none;height:auto;max-height:70dvh;padding:0;--k:.12}
@media (prefers-reduced-motion:no-preference){
  .c-intro .c-sheet [data-draw]{animation-duration:calc(var(--u,.9s)*var(--k));animation-delay:calc(var(--d,0s)*var(--k))}
  .c-intro .c-sheet [data-fade]{animation-duration:calc(.7s*var(--k));animation-delay:calc(var(--d,0s)*var(--k))}
  .c-intro .c-sheet .flood{animation-duration:calc(1.4s*var(--k));animation-delay:calc(6.2s*var(--k))}
}
.c-auth{width:100%;margin:0}
/* The card's top stays where it first sits, centred, when a message appears under the
   password or the next step is shorter: it is placed from the top by its height at load
   (--gate-h, set by client.js), not centred afresh each time it changes. */
@media (min-width:901px){
  .c-auth{align-self:start;margin-top:max(0px,calc(50dvh - 24px - var(--gate-h,560px)/2))}
}
.c-auth h1{font-size:22px;margin:8px 0 18px;text-transform:none;letter-spacing:0}
.c-auth .form{display:grid;gap:14px}
.c-auth .btn-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.c-auth .c-wide .btn{width:100%;justify-content:center;min-height:54px}
.c-brandline{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.c-brandline .lockup{font-size:18px}
.c-brandline .lockup svg{width:32px;height:32px}
.c-brandline .label{padding-left:14px;border-left:1px solid var(--rule);line-height:22px}
.c-frow{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.c-frow label{font-size:15px;line-height:1.35;color:var(--ink);font-weight:600}
/* The link's underline stays under its words; the tap area reaches up into the space
   above and stops short of the password box below. */
.c-frow :is(a,.c-link){position:relative;font-size:14px;color:var(--slate)}
.c-frow :is(a,.c-link)::before{content:"";position:absolute;inset:-20px -8px -6px}
/* Forgot your password? opens a form on the page, so it is a button that looks like a link. */
.c-link{font:inherit;line-height:inherit;background:none;border:0;border-bottom:1px solid currentColor;border-radius:0;padding:0;margin:0;cursor:pointer}
.c-pw{position:relative;display:block}
.c-pw .input{padding-right:78px}
.c-peek{position:absolute;right:2px;top:2px;bottom:2px;padding:0 14px;background:transparent;border:0;cursor:pointer;font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--slate);line-height:1}
.c-peek:hover{color:var(--signal)}
.c-peek:focus-visible{outline:2px solid var(--signal);outline-offset:-2px}
.c-toggle{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;cursor:pointer;font-size:15px;color:var(--ink)}
.c-toggle small{display:block;font-size:13px;color:var(--slate)}
.c-toggle input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
/* Outlined while off, so it reads as a switch and as off; filled orange once on. */
.c-toggle i{position:relative;flex:none;width:44px;height:26px;background:var(--white);box-shadow:inset 0 0 0 1.5px var(--slate);border-bottom-left-radius:7px;border-top-right-radius:7px;transition:background-color .2s,box-shadow .2s}
.c-toggle i::after{content:"";position:absolute;top:4px;left:4px;width:18px;height:18px;background:var(--slate);border-bottom-left-radius:5px;border-top-right-radius:5px;transition:transform .2s,background-color .2s}
.c-toggle input:checked+i{background:var(--signal);box-shadow:none}
.c-toggle input:checked+i::after{transform:translateX(18px);background:var(--white)}
.c-toggle input:focus-visible+i{outline:2px solid var(--ink);outline-offset:3px}
.c-next{font-size:13px;color:var(--slate);margin:2px 0 0;text-align:center}
.c-next a{color:var(--slate)}
.c-gate-foot{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin:20px 0 0;padding-top:14px;border-top:1px solid var(--rule)}
.c-gate-foot a{position:relative;color:var(--slate)}
/* A tap area 44px tall around each small link, without moving it */
.c-gate-foot a::before{content:"";position:absolute;inset:-12px -6px}
/* Narrower: the drawing above the card. On a phone the card is a panel on the bottom edge,
   in thumb reach, as the staff sign-in is, and the drawing has the height left above it. */
@media (max-width:900px){
  .c-gate{grid-template-columns:minmax(0,440px);align-content:center;gap:4px}
  .c-sheet{grid-row:1;max-width:360px;max-height:32vh}
}
/* Between phone and desktop, the same: the drawing and card start from where they sit
   centred at load, and stay there. */
@media (min-width:561px) and (max-width:900px){
  .c-gate{align-content:start;padding-top:max(24px,calc(50dvh - (min(323px,32vh) + 4px + var(--gate-h,560px))/2))}
}
@media (max-width:560px){
  /* No drawing on a phone (it plays as the area opens, client.js), so the form sits near
     the top, clear of the keyboard. Paper here, ink on the staff sign-in: the ground tells
     the two apart at a glance, with the sheet's title on a strip above the card. */
  .c-gate{display:flex;flex-direction:column;padding:env(safe-area-inset-top) 0 calc(20px + env(safe-area-inset-bottom));gap:0;justify-content:flex-start}
  .c-gate::before{content:"CLIENT SIGN-IN \00B7  SHEET 02" / "";display:block;padding:22px 20px 20px;font-family:var(--mono);font-size:12px;letter-spacing:.16em;line-height:1;color:var(--signal-text)}
  .c-sheet{display:none}
  .c-auth{border-radius:0 28px 0 28px;padding:22px 20px 18px}
  .c-auth h1{font-size:20px;margin:0 0 12px}
  .c-brandline{margin-bottom:14px}
}
.code-in{font-family:var(--mono);font-size:22px;letter-spacing:.28em;text-align:center;text-indent:.28em;font-variant-numeric:tabular-nums}
.code-in::placeholder{color:var(--slate);letter-spacing:.28em}

/* The jobs */
.c-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}
.c-head .htab{margin:0;font-size:20px;padding:11px 20px 11px 18px}
.c-jobs{display:grid;gap:12px}
.c-job{display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--white);padding:20px 22px;border-bottom-left-radius:var(--r-card);border-top-right-radius:var(--r-card);color:var(--ink);border:0;font-weight:500}
.c-job:hover{background:var(--ink);color:var(--paper)}
.c-job .small{color:inherit;opacity:.72}
.c-section{background:var(--white);padding:22px 24px;border-bottom-left-radius:var(--r-card);border-top-right-radius:var(--r-card)}
.c-section h3{font-size:13px;letter-spacing:.1em;margin-bottom:14px}
.c-stack{display:grid;gap:14px}

/* A project: one wide page. The updates take the room; documents and invoices sit
   beside them and stay in view. On a phone the two halves are tabs. */
.c-main.wide{max-width:1120px}
.c-phead{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-bottom:18px}
.c-phead .htab{margin:0;font-size:20px;padding:11px 20px 11px 18px}
.c-phead .btn{margin-left:auto}
.c-launch{margin:0;color:var(--slate);font-size:15px}
.c-over{margin:0 0 26px;color:var(--slate)}

/* Where it is: the columns the client may see, done, now and still to come. */
.c-line{display:flex;gap:4px;list-style:none;margin:0 0 30px;padding:0}
.c-line li{flex:1;min-width:0;display:flex;align-items:center;gap:7px;padding-top:12px;border-top:3px solid var(--rule);font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.c-line li.done{color:var(--ink);border-top-color:var(--ink)}
.c-line li.now{color:var(--signal);border-top-color:var(--signal)}
.c-line .gly{width:12px;height:12px;flex:none}
.c-bar{display:none;margin:0 0 22px}
.c-seg{display:flex;gap:4px}
.c-seg i{flex:1;height:6px;border-radius:3px;background:var(--rule)}
.c-seg i.done{background:var(--ink)}.c-seg i.now{background:var(--signal)}
.c-bar p{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:12px 0 0;max-width:none}
.c-bar b{font-family:var(--mono);font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--signal);font-weight:500}
.c-bar span{font-size:13.5px;color:var(--slate);text-align:right}

.c-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;align-items:start}
.c-feed{display:grid;gap:18px;min-width:0}
.c-feed-h,.c-side h3,.c-act h3{font-size:13px;letter-spacing:.1em;margin:0}
.c-feed-h{margin:4px 0 -4px}

/* Action required: what we need from them. Only Tektura ticks these off. */
.c-act{background:var(--white);padding:20px 24px 10px;border-bottom-left-radius:var(--r-card);border-top-right-radius:var(--r-card);box-shadow:inset 4px 0 0 var(--signal)}
.c-act-h{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.c-count{background:var(--signal);color:var(--paper);font-family:var(--mono);font-size:11px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;display:grid;place-items:center}
.c-act ul{list-style:none;margin:0;padding:0;max-width:none}
.c-act li{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--rule);max-width:none}
.c-act li:first-child{border-top:0}
.c-act li>span:last-child{min-width:0;flex:1}
.c-act b{display:block;font-weight:500;font-size:15.5px}
.c-act b a{color:var(--ink)}
.c-act small{display:block;color:var(--slate);font-size:13px;margin-top:2px}
.c-act small.late{color:var(--signal)}
.c-act li.done b{color:var(--slate);text-decoration:line-through;text-decoration-color:var(--on-ink-dim)}
.c-act li.done small{color:var(--status)}
.c-ring{flex:none;width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1.8px var(--slate);margin-top:1px;display:grid;place-items:center}
.c-act .c-sent{display:block;margin-top:8px}
.c-ring.on{background:var(--status);box-shadow:none;color:var(--white)}
.c-ring .gly{width:12px;height:12px}

/* The noticeboard: one card per update, newest first, pinned ones on top. */
.c-post{background:var(--white);padding:24px 26px 26px;border-bottom-left-radius:var(--r-card);border-top-right-radius:var(--r-card);min-width:0}
.c-post.pinned{box-shadow:inset 0 3px 0 var(--ink)}
.c-post-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.c-by{display:flex;align-items:center;gap:12px}
.c-av{width:36px;height:36px;flex:none;display:grid;place-items:center;background:var(--ink);color:var(--paper);font-family:var(--mono);font-size:12px;border-bottom-left-radius:10px;border-top-right-radius:10px}
.c-by b{display:block;font-size:14.5px;font-weight:500}
.c-by small{display:block;font-size:13px;color:var(--slate)}
.c-pin{display:inline-flex;align-items:center;gap:6px;font-family:var(--mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--signal)}
.c-post h2,.c-post h4{font-size:20px;letter-spacing:-.005em;text-transform:none;margin:16px 0 8px}
.c-post p{max-width:none;font-size:15.5px;line-height:1.6;color:var(--ink);margin:0 0 10px}
.c-post p:last-child{margin-bottom:0}
.c-media{margin:18px 0 0;overflow:hidden;border-bottom-left-radius:14px;border-top-right-radius:14px;background:var(--paper)}
.c-media a{display:block;border:0}
.c-media img,.c-media video{display:block;width:100%;height:auto;max-height:80vh;object-fit:contain;background:var(--ink)}
.c-media img{background:var(--paper)}

/* Beside it: documents, invoices, and who to ask. */
.c-side{position:sticky;top:18px;background:var(--white);padding:4px 22px;border-bottom-left-radius:var(--r-card);border-top-right-radius:var(--r-card)}
.c-side section{padding:18px 0;border-top:1px solid var(--rule)}
.c-side section:first-child{border-top:0}
.c-side h3{font-size:12px;letter-spacing:.12em;margin-bottom:10px}
.c-side .note{margin:0;font-size:14.5px}
.c-files{list-style:none;margin:0;padding:0;max-width:none}
.c-files li{max-width:none}
.c-file{display:flex;gap:12px;align-items:flex-start;padding:9px 0;color:var(--ink);border:0}
.c-file:hover b{color:var(--signal)}
.c-file>span:first-of-type{min-width:0;flex:1}
.c-fi{width:18px;height:18px;flex:none;margin-top:2px;color:var(--slate)}
.c-file b{display:block;font-size:14.5px;font-weight:500;overflow-wrap:anywhere}
.c-file small{display:flex;gap:5px;align-items:center;font-size:13px;color:var(--slate);margin-top:2px}
.c-file small.ok{color:var(--status);background:none;padding:0;border-radius:0}.c-file small.late{color:var(--signal)}
.c-file .gly{width:11px;height:11px}
.c-file small .gly{flex:none;align-self:flex-start;margin-top:4px}
.c-amt{font-family:var(--mono);font-size:13px;white-space:nowrap;margin-left:auto}

/* On a phone: two tabs, in the corner shape of everything else. */
.c-tabs{display:none;gap:6px;margin:0 0 18px}
.c-tabs button{font:inherit;font-size:14px;font-weight:500;cursor:pointer;border:0;background:var(--white);color:var(--ink);padding:11px 16px;border-bottom-left-radius:var(--r-btn);border-top-right-radius:var(--r-btn);display:inline-flex;align-items:center;gap:8px}
.c-tabs button.on{background:var(--ink);color:var(--paper)}
.c-tabs button span{font-family:var(--mono);font-size:11px;opacity:.7}
@media (max-width:900px){
  .c-line{display:none}.c-bar{display:block}
  .c-tabs{display:flex}
  .c-grid{grid-template-columns:1fr}
  .c-side{position:static}
  .c-grid[data-tab="updates"] .c-side{display:none}
  .c-grid[data-tab="files"] .c-feed{display:none}
}

/* Documents and invoices */
.c-list{list-style:none;margin:0;padding:0}
.c-list li{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 0;border-top:1px solid var(--rule);font-size:15px;flex-wrap:wrap}
.c-list li:first-child{border-top:0;padding-top:0}
.c-list li:last-child{padding-bottom:0}
.c-list a{border:0;color:var(--ink);font-weight:500}
.c-list a:hover{color:var(--signal)}
.c-list .r{margin-left:auto;text-align:right;white-space:nowrap}
.c-accept{margin-top:14px;padding:16px 18px;background:var(--paper);border-bottom-left-radius:var(--r-btn);border-top-right-radius:var(--r-btn);display:grid;gap:12px}
.c-accept .check{align-items:flex-start}.c-accept .check input{margin-top:3px}
.c-accept .btn{justify-self:start;padding:12px 18px;font-size:13px}
.tag.paid{background:var(--status-bg);color:var(--status)}
.tag.due{background:var(--signal);color:var(--paper)}

/* An invoice in full */
.c-inv{display:grid;gap:22px}
.c-inv table{width:100%;border-collapse:collapse;font-size:15px}
.c-inv th{text-align:left;font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);font-weight:400;padding:0 0 10px;border-bottom:1px solid var(--rule)}
.c-inv td{padding:10px 0;border-bottom:1px solid var(--rule);vertical-align:top}
.c-inv td.r,.c-inv th.r{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.c-inv tr.total td{border-bottom:0;font-weight:600;padding-top:14px}
/* A quote's "To start" line is a sentence, and a sentence that may not wrap pushed every
   figure off the side of a phone. The sentence wraps; the tables keep to the card. */
.c-inv>*{min-width:0}
/* On a phone the public site stacks every table cell (meant for its terms table). Here that
   left an invoice's quantity, price and amount as three unlabelled lines, so these stay tables. */
.c-inv tr{display:table-row;padding:0;border-bottom:0}
.c-inv thead{display:table-header-group}
.c-inv th,.c-inv td{display:table-cell}
.c-inv tr.total td:first-child{white-space:nowrap}
.c-inv td.r.small{white-space:normal;padding-left:14px}
/* The cancellation form, filled in: a line to write on under each part. */
.c-cform{max-width:640px}
.c-cform p{margin:0;padding:14px 0 8px;border-bottom:1px solid var(--rule-strong)}
.c-cform p.to{padding-top:0;border-bottom:0;font-weight:500;color:var(--ink)}
.c-pay{white-space:pre-wrap;font-family:var(--mono);font-size:14px;background:var(--paper);padding:14px 16px;border-bottom-left-radius:var(--r-btn);border-top-right-radius:var(--r-btn)}

.c-banner{background:var(--ink);color:var(--paper);padding:12px 18px;font-size:14px;border-bottom-left-radius:var(--r-btn);border-top-right-radius:var(--r-btn);margin-bottom:18px}
.c-banner a{color:var(--paper)}
.c-back{display:inline-block;margin-bottom:16px;font-size:14px}
@media (max-width:600px){
  .c-top{padding:16px var(--gutter)}
  .c-area{display:none}
  .c-section{padding:18px 18px}
}

/* Asking for a change */
.c-askjob{margin-top:12px;background:var(--ink);color:var(--paper)}
.c-askjob:hover{background:var(--signal)}
.c-ask{display:grid;gap:14px}
.c-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:560px){.c-two{grid-template-columns:1fr}}
.c-drop{display:flex;align-items:center;justify-content:center;min-height:64px;padding:12px;border:1.5px dashed var(--rule);border-bottom-left-radius:10px;border-top-right-radius:10px;color:var(--slate);font-size:14px;text-align:center;cursor:pointer}
.c-drop:hover{border-color:var(--ink);color:var(--ink)}
.c-drop input{position:absolute;width:1px;height:1px;opacity:0}
.c-drop:focus-within{box-shadow:0 0 0 2px var(--signal)}
.c-send{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.c-plan{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:15px;margin:0 0 18px}
.c-plan-bar{display:block;height:6px;width:160px;background:var(--paper);border-radius:3px;overflow:hidden}
.c-plan-bar i{display:block;height:100%;background:var(--ink)}
.c-reqs{list-style:none;margin:0;padding:0}
.c-reqs li{border-top:1px solid var(--rule-soft)}
.c-reqs li:first-child{border-top:0}
.c-reqs a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 0;color:var(--ink);border:0}
.c-reqs a:hover b{color:var(--signal)}
.c-reqs b{font-weight:500}
.c-reqs small{display:block;color:var(--slate);font-size:13.5px;margin-top:3px}
.c-msg{background:var(--paper);padding:14px 16px;border-bottom-left-radius:10px;border-top-right-radius:10px;margin-bottom:10px}
.c-msg.us{background:var(--white);box-shadow:inset 0 0 0 1px var(--rule)}
.c-msg .who{font-size:13px;color:var(--slate);margin-bottom:6px}
.c-msg p{margin:0 0 8px}.c-msg p:last-child{margin:0}
.c-rfiles{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 18px}
.c-rfiles a{display:flex;align-items:center;justify-content:center;width:150px;height:100px;overflow:hidden;background:var(--paper);border:0;border-bottom-left-radius:8px;border-top-right-radius:8px;font-size:13px;color:var(--slate)}
.c-rfiles img{width:100%;height:100%;object-fit:cover}
/* The project's reference, TK-CB01, for quoting back to us */
.c-ref{margin:0;font-family:var(--mono);font-size:12px;letter-spacing:.08em;color:var(--slate);font-weight:500}
.c-pref{margin:0 0 10px}
.c-job:hover .c-ref{color:inherit;opacity:.72}

/* Your say: choices put to the client */
.c-choice{box-shadow:inset 4px 0 0 var(--ink)}
.c-choice.answered{box-shadow:none}
.c-choice .label{display:block;margin-bottom:6px}
.c-ch-link{margin:12px 0 4px}
.c-ch-form{display:grid;gap:14px;margin-top:14px}
.c-ch-opts{border:0;margin:0;padding:0;display:grid;gap:8px;min-width:0}
.c-ch-opt{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start;padding:12px 14px;background:var(--paper);cursor:pointer;border-top-right-radius:var(--r-btn);border-bottom-left-radius:var(--r-btn);box-shadow:inset 0 0 0 1.5px transparent;transition:box-shadow .15s}
.c-ch-opt:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.c-ch-opt:has(input:checked){box-shadow:inset 0 0 0 2px var(--ink);background:var(--white)}
.c-ch-opt input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--ink)}
.c-ch-opt b{display:block;font-weight:600}
.c-ch-opt small{display:block;color:var(--slate);margin-top:2px;line-height:1.4}
.c-ch-done{display:flex;gap:8px;align-items:center;margin-top:12px;color:var(--status);font-size:14.5px;font-weight:500}
.c-ch-done .gly{width:16px;height:16px;flex:none}
/* The first weeks after launch */
.c-launchcard{background:var(--ink);color:var(--paper);padding:22px 24px;border-bottom-left-radius:var(--r-card);border-top-right-radius:var(--r-card);display:grid;gap:16px}
.c-launchcard .label{color:var(--on-ink-dim)}
.c-launchcard .small,.c-launchcard .note{color:var(--on-ink-dim)}
.c-lc-nums{display:flex;flex-wrap:wrap;gap:14px 34px}
.c-lc-nums b{display:block;font-size:34px;font-weight:600;line-height:1.05;font-variant-numeric:tabular-nums}
.c-lc-nums span{font-size:13.5px;color:var(--on-ink)}
.c-lc-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px 28px}
.c-lc-cols h4{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--on-ink-dim);margin:0 0 6px;font-weight:500}
.c-lc-cols ol{list-style:none;margin:0;padding:0}
.c-lc-cols li{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-top:1px solid rgba(255,255,255,.12);font-size:14.5px}
.c-lc-cols li span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.c-lc-cols li span:last-child{font-variant-numeric:tabular-nums;color:var(--on-ink)}
.c-ch-due{margin-top:6px;color:var(--slate)}
.c-ch-form textarea{min-height:0}

.c-buyer{border:0;margin:0;padding:0;display:grid;gap:8px}
.c-buyer legend{font-weight:600;font-size:14px;margin-bottom:6px;padding:0}
.c-early{display:grid;gap:8px;padding:12px 14px;background:var(--white);border-left:3px solid var(--signal)}
.c-early[hidden]{display:none}

/* Coming up on a project: calls, the go-live day, check-ins. */
.c-dates ol{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:8px}
.c-date{display:flex;align-items:flex-start;gap:12px}
.c-cal{display:grid;place-items:center;flex:none;width:44px;height:48px;background:var(--paper,#F2F1EE);line-height:1.05;border-radius:0 10px 0 10px}
.c-cal b{font-size:18px}.c-cal small{font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.c-date.launch .c-cal{background:var(--signal);color:var(--white)}
.c-date>span:last-child{display:grid;gap:2px;min-width:0}
.c-date small{color:var(--slate)}
.c-date a{justify-self:start;font-size:13px}
.c-date.launch .c-cal small{color:var(--white);opacity:.85}

/* ---------- For the keyboard, and for less motion ----------
   Skip to content: the first thing the Tab key reaches, as on the public pages. Off the
   screen until it holds the keyboard. The page it jumps to takes the keyboard without a
   line drawn round the whole of it. */
body.client .skip{position:absolute;left:-999px;top:0;z-index:100;background:var(--ink);color:var(--paper);padding:10px 16px;border:0}
body.client .skip:focus{left:var(--gutter)}
body.client #view:focus{outline:0}
/* The same for a page's heading when a link has just opened that page, and for the line
   that says an answer was sent: each takes the keyboard so it is read out, and neither is
   something to press. */
body.client #view h1:focus,body.client .c-ch-done:focus{outline:0}
/* Where the keyboard is, said here and not left to the public stylesheet: a link, a
   button, a tick box or a file chooser gets a line round it. A box you type in shows it
   with its orange edge instead (above), so a click into one looks as it always has. */
body.client :is(a,button,summary,[tabindex]):focus-visible,body.client input:is([type=checkbox],[type=radio],[type=file]):focus-visible{outline:3px solid var(--signal);outline-offset:3px}
/* Asked for less motion: nothing here eases or moves. */
@media (prefers-reduced-motion:reduce){
  body.client *,body.client *::before,body.client *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* A quote that was turned down or replaced: still there, said more quietly. */
.c-file.past b{color:var(--slate);font-weight:400}

/* The top of a project: where it is, what is needed, and how long is left. */
.c-hero{background:var(--ink);color:var(--paper);border-top-right-radius:var(--r-img);border-bottom-left-radius:var(--r-img);padding:30px 32px 28px;margin:6px 0 20px}
.c-hero-top{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
.c-hero-k{font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--on-ink-dim);margin:0 0 8px}
.c-hero h1{font-size:clamp(25px,3.2vw,38px);line-height:1.12;letter-spacing:-.02em;margin:0;color:var(--paper);text-transform:none;max-width:22ch;text-align:left}
.c-hero h1 em{font-style:normal;color:var(--signal-dark)}
.c-hero-note{margin:12px 0 0;color:var(--on-ink-dim);font-size:15px}
.c-hero .btn{margin-top:16px}
.c-days{flex:none;display:grid;place-items:center;width:112px;height:112px;border-radius:50%;background:conic-gradient(var(--signal-dark) var(--share,0%),rgba(255,255,255,.14) 0);position:relative;text-align:center}
.c-days::before{content:"";position:absolute;inset:9px;border-radius:50%;background:var(--ink)}
.c-days span{position:relative;display:grid;line-height:1;padding:0 14px}
.c-days b{font-size:30px;font-weight:600}
.c-days small{font-family:var(--mono);font-size:12px;line-height:1.25;letter-spacing:.08em;text-transform:uppercase;color:var(--on-ink-dim);margin-top:5px}
.c-track{list-style:none;margin:30px 0 0;padding:0;max-width:none;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));position:relative}
.c-track::before,.c-track::after{content:"";position:absolute;left:calc(50%/var(--n));top:26px;height:3px}
.c-track::before{right:calc(50%/var(--n));background:rgba(255,255,255,.14)}
.c-track::after{width:calc((100% - 100%/var(--n))*var(--at)/max(1,var(--n) - 1));background:var(--signal-dark)}
.c-track li{position:relative;z-index:1;display:grid;justify-items:center;align-content:start;gap:10px;max-width:none;font-size:13.5px;line-height:1.25;color:var(--on-ink-dim);text-align:center;padding:0 2px}
.c-track i{width:54px;height:54px;display:grid;place-items:center;background:var(--ink-raised);box-shadow:inset 0 0 0 2px rgba(255,255,255,.16);border-top-right-radius:15px;border-bottom-left-radius:15px}
.c-track svg{width:25px;height:25px}
.c-track .done{color:var(--paper)}
.c-track .done i{background:var(--signal-dark);color:var(--white);box-shadow:none}
.c-track .now{color:var(--white);font-weight:600}
.c-track .now i{width:70px;height:70px;margin-top:-8px;background:var(--paper);color:var(--ink);box-shadow:0 0 0 5px rgba(232,89,12,.35)}
.c-track .now svg{width:33px;height:33px}
/* Jobs for the client, one card each. */
.c-turns-h{display:flex;align-items:baseline;gap:12px;margin-bottom:12px}
.c-turns h3{font-size:20px;letter-spacing:0;text-transform:none;margin:0}
.c-turns-h span{color:var(--slate);font-size:14px}
.c-turns ul{list-style:none;margin:0;padding:0;max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.c-turn{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:14px;align-items:start;max-width:none;background:var(--white);padding:18px;border-top-right-radius:var(--r-card);border-bottom-left-radius:var(--r-card)}
.c-turn:has(details[open]){grid-column:1/-1}
.c-turn-i{width:48px;height:48px;display:grid;place-items:center;background:var(--signal-bg,#FBE9DF);color:var(--signal);border-top-right-radius:var(--r-btn);border-bottom-left-radius:var(--r-btn)}
.c-turn-i svg{width:24px;height:24px}
.c-turn b{display:block;font-weight:600;font-size:16.5px;line-height:1.3}
.c-turn b a{color:var(--ink);text-decoration:none}
.c-turn small{display:block;color:var(--slate);font-size:14px;margin-top:3px}
.c-turn small.late{color:var(--signal);font-weight:600}
.c-turn .btn,.c-turn .c-sent,.c-turn-more{margin-top:12px}
.c-turn .c-sent{display:inline-block}
.c-turn-more summary{list-style:none;display:inline-block;cursor:pointer}
.c-turn-more summary::-webkit-details-marker{display:none}
.c-turn-more[open] summary{display:none}
.c-turn-more .c-accept{margin-top:4px}
.c-turn.done{background:transparent;box-shadow:inset 0 0 0 1.5px var(--rule)}
.c-turn.done .c-turn-i{background:var(--status-bg);color:var(--status)}
.c-turn.done small{color:var(--status)}
/* What has been paid, as a bar. */
.c-paid{margin:10px 0 14px}
.c-paid-bar{height:12px;border-radius:6px;background:var(--signal);overflow:hidden}
.c-paid-bar span{display:block;height:100%;background:var(--ink)}
.c-paid p{display:flex;justify-content:space-between;gap:12px;margin:8px 0 0;font-size:13.5px;color:var(--slate)}
.c-paid p b{display:block;color:var(--ink);font-size:15.5px}
.c-paid p span:last-child:not(:first-child){text-align:right}
@media (max-width:700px){
  .c-hero{padding:22px 18px 20px;border-top-right-radius:var(--r-card);border-bottom-left-radius:var(--r-card)}
  .c-days{width:86px;height:86px}.c-days::before{inset:7px}.c-days b{font-size:23px}.c-days small{font-size:12px;letter-spacing:.02em}
  .c-track{margin-top:24px}
  .c-track::before,.c-track::after{top:17px}
  .c-track li span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .c-track li.now span{position:static;width:auto;height:auto;clip:auto;font-size:13px;white-space:nowrap}
  .c-track i{width:36px;height:36px;border-top-right-radius:10px;border-bottom-left-radius:10px}
  .c-track svg{width:17px;height:17px}
  .c-track .now i{width:48px;height:48px;margin-top:-6px}.c-track .now svg{width:23px;height:23px}
  .c-turns ul{grid-template-columns:1fr}
}

/* Phones: the step said in words under the track (client.js). */
.c-track-say{display:none}
@media (max-width:700px){
  .c-track li.now span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .c-track-say{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin:16px 0 0;font-size:14px;font-weight:600;color:var(--paper)}
  .c-track-say span{font-weight:400;color:var(--on-ink-dim)}
  #foot{font-size:12px}
}

/* ---------- A project, laid out (2026-10) ----------
   A hello, then where it is with the day each step was reached, then what is waiting on
   them as cards with a button each. Under that, two columns: the preview, their say and
   what has happened on the left; money, dates and documents as cards on the right. */
.c-main:has(.c-hero),.c-main:has(.c-grid){max-width:1120px}
.c-hello{margin:2px 0 18px}
.c-hello .c-back{display:inline-block;margin:0 0 8px}
.c-hello h1{font-size:clamp(25px,2.6vw,32px);letter-spacing:-.02em;text-transform:none;margin:0;font-weight:600;text-align:left}
.c-hello p{margin:4px 0 0;color:var(--slate);font-size:15.5px}
.c-hero{margin:0 0 16px}
.c-hero-h{font-size:clamp(26px,3.2vw,36px);line-height:1.12;letter-spacing:-.02em;margin:0;color:var(--paper);text-transform:none;max-width:24ch;font-weight:600}
.c-hero-h em{font-style:normal;color:var(--signal-dark)}
.c-hero-say{margin:10px 0 0;color:var(--on-ink);font-size:16px;max-width:52ch}
.c-hero-act{margin:20px 0 0}
.c-steps{list-style:none;margin:30px 0 0;padding:0;max-width:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));grid-auto-flow:column;gap:6px}
.c-steps li{position:relative;padding-top:18px;max-width:none;min-width:0}
.c-steps li::before{content:"";position:absolute;top:0;left:0;right:0;height:6px;border-radius:3px;background:var(--ink-hi)}
.c-steps li.done::before{background:var(--signal-dark)}
.c-steps li.now::before{background:linear-gradient(90deg,var(--signal-dark) 50%,var(--ink-hi) 50%)}
.c-steps b{display:block;font-size:14.5px;font-weight:600;color:var(--on-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.c-steps li.now b{color:var(--white)}
.c-steps span{display:block;font-family:var(--mono);font-size:12px;color:var(--on-ink-dim);margin-top:3px;min-height:1.3em}
.c-steps li.now span{color:var(--signal-dark)}

/* waiting on them */
.c-turns{margin:0 0 18px}
.c-turns-h{margin-bottom:10px}
.c-turns h3{font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-family:var(--mono);font-weight:500;color:var(--signal)}
.c-turns ul{grid-template-columns:1fr}
.c-turn{grid-template-columns:52px minmax(0,1fr);padding:18px 20px;box-shadow:inset 4px 0 0 var(--signal)}
.c-turn>span{display:flex;flex-wrap:wrap;align-items:center;column-gap:16px}
.c-turn>span>b{flex:1 1 280px;font-size:17.5px}
.c-turn>span>small{order:3;flex-basis:100%;margin-top:2px}
.c-turn>span>.btn{order:2;margin-left:auto}
.c-turn>span>details{order:4;flex-basis:100%}
.c-turn.done{box-shadow:none;background:var(--paper-soft);padding:12px 20px}
.c-turn.done .c-turn-i{width:32px;height:32px;background:var(--status-bg);color:var(--status)}
.c-turn.done b{font-size:15px;font-weight:500}

/* the cards */
.c-grid{grid-template-columns:minmax(0,1fr) 340px;gap:18px}
.c-feed{gap:16px}
.c-card{background:var(--white);padding:22px 24px;border-bottom-left-radius:var(--r-card);border-top-right-radius:var(--r-card);min-width:0}
.c-card>h3{font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--slate);font-weight:500;margin:0 0 14px}
.c-side{position:static;background:none;padding:0;display:grid;gap:14px;border-radius:0}
.c-side section{padding:22px 24px;border-top:0}
.c-side h3{margin-bottom:14px}
.c-side .c-files li+li{border-top:1px solid var(--rule)}
.c-side .c-file{padding:11px 0}

/* the preview */
.c-prev{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;align-items:center}
.c-shot{display:block;border:0;border-radius:0 var(--r-tab) 0 var(--r-tab);overflow:hidden;background:var(--paper-soft);box-shadow:0 0 0 1px var(--rule),0 18px 40px -24px rgba(18,22,27,.45);color:var(--ink)}
.c-shot-bar{display:flex;align-items:center;gap:6px;height:28px;padding:0 10px;background:var(--rule-soft)}
.c-shot-bar i{width:8px;height:8px;border-radius:50%;background:var(--rule-strong)}
.c-shot-bar s{flex:1;margin-left:8px;height:16px;line-height:16px;border-radius:8px;background:var(--white);text-decoration:none;font-family:var(--mono);font-size:10.5px;color:var(--slate);padding-left:10px;overflow:hidden;white-space:nowrap}
.c-shot-in{display:grid;gap:9px;padding:22px 20px 24px}
.c-shot-in b{font-size:19px;letter-spacing:-.01em;max-width:16ch}
.c-shot-in span{height:9px;border-radius:5px;background:var(--rule-soft)}
.c-shot-in span.s{width:60%}
.c-shot-in .go{justify-self:start;height:auto;width:auto;background:var(--ink);color:var(--paper);font-size:13px;font-weight:600;padding:8px 14px;border-radius:0 var(--r-btn) 0 var(--r-btn);margin-top:6px}
.c-shot:hover .go{background:var(--signal)}
.c-prev h4{font-size:20px;font-weight:600;letter-spacing:-.01em;text-transform:none;margin:0}
.c-prev p{font-size:15px;color:var(--slate);margin:6px 0 16px}
.c-acts{display:flex;flex-wrap:wrap;gap:10px}

/* what has happened */
.c-evs{list-style:none;margin:0;padding:0;max-width:none}
.c-ev{display:grid;grid-template-columns:64px 14px minmax(0,1fr);gap:0 14px;padding-bottom:22px;position:relative;max-width:none}
.c-ev::after{content:"";position:absolute;left:84px;top:18px;bottom:-2px;width:2px;background:var(--rule)}
.c-ev:last-child{padding-bottom:0}
.c-ev:last-child::after{display:none}
.c-ev-d{font-family:var(--mono);font-size:12px;color:var(--slate);text-align:right;padding-top:3px}
.c-ev-d .c-pin{justify-content:flex-end}
.c-ev-dot{width:14px;height:14px;border-radius:50%;background:var(--white);box-shadow:inset 0 0 0 3px var(--ink);margin-top:4px;position:relative;z-index:1}
.c-ev.next .c-ev-dot{box-shadow:inset 0 0 0 3px var(--signal)}
.c-ev.next h2{color:var(--signal)}
.c-ev-b{min-width:0}
.c-ev-b h2,.c-ev-b h4{font-size:17px;font-weight:600;letter-spacing:-.005em;text-transform:none;margin:0 0 4px}
.c-ev-b p{max-width:none;font-size:15.5px;line-height:1.6;color:var(--body);margin:0 0 8px}
.c-ev-media{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin:10px 0 6px}
.c-ev-media .c-media{margin:0}
.c-ev-media .c-media img{aspect-ratio:4/3;object-fit:cover;max-height:none}
.c-ev-media.one{grid-template-columns:minmax(0,1fr)}
.c-ev-media.one .c-media img{aspect-ratio:auto;object-fit:contain;max-height:70vh}
.c-ev-by{display:block;font-size:13px;color:var(--slate);margin-top:4px}

/* money */
.c-tot{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:0;max-width:none}
.c-tot b{font-size:28px;font-weight:600;letter-spacing:-.01em}
.c-tot span{font-size:15px;color:var(--slate)}
.c-mbar{display:flex;gap:3px;height:12px;margin:14px 0 12px}
.c-mbar i{border-radius:0 var(--r-tag) 0 var(--r-tag);background:var(--rule)}
.c-mbar i.p{background:var(--status)}
.c-mbar i.d{background:var(--signal)}
.c-mkey{display:grid;gap:6px;font-size:14px;margin-bottom:6px}
.c-mkey span{display:flex;justify-content:space-between;gap:10px;color:var(--slate)}
.c-mkey span.p,.c-mkey span.d{color:var(--ink)}
.c-mkey em{font-style:normal;display:inline-flex;align-items:center;gap:8px}
.c-mkey em::before{content:"";width:10px;height:10px;border-radius:0 3px 0 3px;background:var(--rule-strong)}
.c-mkey .p em::before{background:var(--status)}
.c-mkey .d em::before{background:var(--signal)}
.c-mkey .c-mplan{margin-top:-4px;padding-left:18px;font-size:13px;color:var(--slate)}
.c-money .c-files{margin-top:8px;border-top:1px solid var(--rule)}

@media (max-width:900px){
  .c-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:700px){
  .c-hero{padding:24px 20px 22px}
  .c-steps{gap:4px;margin-top:22px}
  .c-steps li{padding-top:0}
  .c-steps b,.c-steps span{display:none}
  .c-prev{grid-template-columns:minmax(0,1fr)}
  .c-turn{grid-template-columns:44px minmax(0,1fr);padding:16px}
  .c-turn>span>.btn{order:4;margin:12px 0 0;width:100%;justify-content:center;text-align:center}
  .c-ev{grid-template-columns:50px 12px minmax(0,1fr);gap:0 10px}
  .c-ev::after{left:65px}
  .c-card,.c-side section{padding:20px}
  .c-ev-media{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Asking us something, from the project page */
.c-askf textarea{width:100%;min-height:96px;resize:vertical;font-size:15px}
.c-askf-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.c-askf-row small{font-size:13px;color:var(--slate);line-height:1.4}
.c-askf-row .btn{flex:none}
.c-askf .error{margin:8px 0 0}
.c-askf-done{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:10px 12px;background:var(--status-bg);color:var(--status);font-size:14.5px;font-weight:600;border-radius:0 10px 0 10px;max-width:none}
.c-askf-done .gly{width:14px;height:14px}
.c-asked{list-style:none;margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--rule);display:grid;gap:8px;max-width:none}
.c-asked li{display:grid;gap:2px;font-size:14px;color:var(--body);max-width:none}
.c-asked-t{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--status)}
.c-asked-t .gly{width:11px;height:11px}
.c-askf-or{margin:12px 0 0;color:var(--slate)}

/* ---------- Client area forms, the same look as everywhere (2026-10) ----------
   A choice is a card with a whole edge, the chosen one with a dark edge; the round button
   or tick stays in it, so what is chosen never rests on colour alone. */
.c-buyer{gap:8px}
.c-buyer .check{position:relative;align-items:center;gap:12px;padding:12px 14px;background:var(--white);box-shadow:inset 0 0 0 1.5px var(--field-edge);border-top-right-radius:var(--r-btn);border-bottom-left-radius:var(--r-btn);cursor:pointer;color:var(--ink);font-weight:500}
.c-buyer .check:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.c-buyer .check:has(input:checked){box-shadow:inset 0 0 0 2.5px var(--ink);background:var(--paper-soft)}
.c-buyer .check input{width:20px;height:20px;margin:0;accent-color:var(--ink);flex:none}
.c-buyer .check:has(input:focus-visible){outline:2.5px solid var(--signal);outline-offset:2px}
.c-kind{grid-template-columns:repeat(2,minmax(0,1fr))}
.c-kind legend{grid-column:1/-1}
.c-ch-opt{background:var(--white);box-shadow:inset 0 0 0 1.5px var(--field-edge)}
.c-ch-opt:has(input:checked){box-shadow:inset 0 0 0 2.5px var(--ink);background:var(--paper-soft)}
.c-ch-opt input{width:20px;height:20px}
.c-ch-opt:has(input:focus-visible){outline:2.5px solid var(--signal);outline-offset:2px}
.c-accept>.check{padding:12px 14px;background:var(--paper);border-top-right-radius:var(--r-btn);border-bottom-left-radius:var(--r-btn)}
.c-accept>.check input,.c-early .check input{width:20px;height:20px;accent-color:var(--ink);flex:none}
.c-drop{border-color:var(--field-edge)}
@media (max-width:560px){.c-kind{grid-template-columns:1fr}}

/* A date ahead: the next week of days to tap, then the calendar box for any other day */
.c-two:has(.c-when){grid-template-columns:1fr}
.c-when{display:grid;grid-template-columns:auto minmax(150px,1fr);align-items:center;gap:8px 10px}
.c-when>label{grid-column:1/-1}
.c-dstrip{display:flex;gap:4px}
.c-dday{display:grid;justify-items:center;width:44px;padding:5px 0 6px;border:0;font:inherit;font-size:12px;color:var(--slate);background:var(--white);box-shadow:inset 0 0 0 1.5px var(--rule);border-top-right-radius:var(--r-tag);border-bottom-left-radius:var(--r-tag);cursor:pointer;line-height:1.2}
.c-dday b{font-size:17px;color:var(--ink);font-weight:600}
.c-dday.we{background:var(--paper-soft)}
.c-dday:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.c-dday.on{background:var(--ink);color:var(--on-ink);box-shadow:none}.c-dday.on b{color:var(--white)}
.c-dday:focus-visible{outline:2.5px solid var(--signal);outline-offset:2px}
@media (max-width:640px){.c-when{grid-template-columns:1fr}.c-dstrip{justify-content:space-between}.c-dday{flex:1;width:auto}}

/* Messages: the project's email, to read. A list on the project page, and each
   conversation as a chat (Tektura ink, their side orange, your own a paler orange on the
   right) or as the emails, each opening on a click. */
.c-msgs h3{margin-bottom:6px}
.c-mlist{list-style:none;margin:0;padding:0}
.c-mlist li{border-top:1px solid var(--rule)}
.c-mlist li:first-child{border-top:0}
.c-mlist a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;padding:12px 6px;margin:0 -6px;color:var(--ink);border:0;text-decoration:none;border-radius:0 10px 0 10px}
.c-mlist a:hover{background:var(--paper)}
.c-msub{display:grid;gap:2px;min-width:0}
.c-msub b{font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.c-msub small{font-size:13.5px;color:var(--slate);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.c-mwhen{display:grid;justify-items:end;gap:2px;font-size:13px;color:var(--slate);white-space:nowrap}
.c-mwhen small{font-size:12px}
.c-mall{margin:8px 0 0;font-size:14px}
.c-mh1{font-size:22px;margin:0;text-transform:none;letter-spacing:0;line-height:1.25}
.c-conv{max-width:760px}
.c-convh{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap}
.c-convm{margin:10px 0 18px;font-size:14px;color:var(--slate)}
.c-vis{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.c-vislink{font:inherit;font-size:inherit;background:none;border:0;padding:12px 0;color:var(--ink);border-bottom:1px solid var(--rule-strong);cursor:pointer}
.c-vislink:hover{color:var(--signal);border-color:var(--signal)}
.c-audset{display:grid;gap:10px;margin:12px 0 0;padding:14px 16px;background:var(--paper-soft);border-radius:0 19px 0 19px;max-width:460px}
.c-audset .check span{display:grid;gap:1px}.c-audset .check b{font-weight:600;color:var(--ink);font-size:14.5px}.c-audset .check small{font-size:13px;color:var(--slate)}
.c-mview{display:inline-flex;background:var(--paper);border-radius:0 var(--r-btn) 0 var(--r-btn);padding:3px;flex:none}
.c-mview button{font:inherit;font-size:14px;border:0;background:transparent;color:var(--slate);min-height:44px;padding:0 16px;border-radius:0 var(--r-btn) 0 var(--r-btn);cursor:pointer}
.c-mview button.on{background:var(--white);color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(18,22,27,.1)}
.c-mview button:focus-visible{outline:2px solid var(--signal);outline-offset:1px}
.c-chat{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.c-cday{justify-self:center;font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--slate);margin:4px 0}
.c-cmsg{display:flex;flex-direction:column;align-items:flex-start;max-width:min(560px,82%)}
.c-cmsg.right{justify-self:end;align-items:flex-end}
.c-mwho2{font-size:12px;color:var(--slate);margin:0 4px 4px}
.c-bub{padding:10px 14px;font-size:15px;line-height:1.5;border-radius:0 var(--r-tab) 0 var(--r-tab);overflow-wrap:anywhere}
.c-bub.tk{background:var(--ink);color:var(--on-ink)}
.c-bub.cl{background:var(--signal);color:var(--white)}
.c-bub.me{background:var(--signal-bg);color:var(--ink)}
.c-mfiles{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.c-mfile{display:inline-flex;align-items:center;gap:6px;font-size:13px;padding:5px 9px;border-radius:0 6px 0 6px;background:rgba(255,255,255,.6);color:inherit;border:0;text-decoration:none}
.c-bub.tk .c-mfile,.c-bub.cl .c-mfile{background:rgba(255,255,255,.14)}
.c-mfile .c-fi{width:15px;height:15px}
.c-emails{display:grid}
.c-email{border-top:1px solid var(--rule);padding:4px 0}
.c-email:first-child{border-top:0}
.c-email>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:baseline;cursor:pointer;list-style:none;padding:10px 6px;margin:0 -6px;border-radius:0 10px 0 10px}
.c-email>summary::-webkit-details-marker{display:none}
.c-email>summary:hover{background:var(--paper)}
.c-email>summary b{font-size:14.5px;font-weight:600}
.c-epre{font-size:13.5px;color:var(--slate);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.c-email[open] .c-epre{visibility:hidden}
.c-email>summary time{font-size:12.5px;color:var(--slate);white-space:nowrap}
.c-eto{font-size:13px;color:var(--slate);margin:0 0 8px}
.c-ebody{font-size:15px;line-height:1.55;overflow-wrap:anywhere}
.c-email .c-mfile{background:var(--paper)}
.c-quoted{margin:10px 0 8px}
.c-quoted>summary{display:inline-block;cursor:pointer;font-size:13.5px;color:var(--slate);background:var(--rule-soft);padding:12px 12px;border-radius:0 6px 0 6px;list-style:none}
.c-quoted>summary::-webkit-details-marker{display:none}
.c-quoted>div{margin-top:10px;padding-left:12px;border-left:2px solid var(--rule);font-size:14px;color:var(--slate)}
.c-convfoot{max-width:none;margin:20px 0 0;padding-top:14px;border-top:1px solid var(--rule);font-size:13.5px;color:var(--slate)}
@media (max-width:560px){.c-cmsg{max-width:90%}.c-email>summary{grid-template-columns:minmax(0,1fr) auto}.c-epre{display:none}}

/* The step after signing in, on the dark card: what to do next */
.c-ok-l{color:var(--on-ink-dim)}
.c-ok-h{font-size:18px;margin:8px 0;text-transform:none;letter-spacing:0}
.c-ok-p{color:var(--on-ink);font-size:14px}
