/* Sparclip client app. The look of sparclip.com (its v6 palette since 2026-11-15): a white page, grey panels, hairlines, no shadows;
   blue only for a yes and the one main action on a screen. Schibsted Grotesk for text, Noto Serif for the few big
   words, Source Code Pro for small labels in capitals. Our own font files, nothing from another site. */
@font-face { font-family: "Schibsted Grotesk"; src: url("/ui/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Sparclip Serif"; src: url("/ui/noto-serif-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Sparclip Mono"; src: url("/ui/source-code-pro-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sparclip Mono"; src: url("/ui/source-code-pro-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* sparclip.com's v6 palette (landing.css): a white page, panels a shade of grey, hairlines inside, the frame's rule
     around every section, the same ink and greys; the blue line along the rules is the landing's #2f5cff */
  --paper: #ffffff; --card: #f4f4f6; --white: #fff; --rule: #e3e3e7; --frame: #b9bbc3;
  --line: #b9bbc3; --way: #2f5cff; --ink: #111215; --mute: #5f636b; --soft: #6b707a;
  --hover: #ececf0; --press: #e3e3e7; --pale: #9a9ea6; --firm: #8a8e97;
  --blue: #1d4dff; --blue-hover: #3a63ff; --night: #14171c; --bad: #b4232c;
  --sans: "Schibsted Grotesk", system-ui, sans-serif; --serif: "Sparclip Serif", Georgia, serif; --mono: "Sparclip Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px); --r: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; background: var(--paper); }
body { min-height: 100svh; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1:focus { outline: none; }

.cap { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); }
.serif { font-family: var(--serif); font-weight: 360; font-variation-settings: "wdth" 92; letter-spacing: -.015em; line-height: 1.07; text-wrap: balance; }

/* buttons: one blue main action, a ghost for the second choice, quiet underlined words for the rest */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 10px;
  background: var(--blue); color: #fff; font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, opacity .15s, transform .12s; }
@media (hover: hover) { .btn:hover { background: var(--blue-hover); } .btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); } .quiet:hover { text-decoration-color: var(--ink); } }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .38; cursor: default; transform: none; background: var(--blue); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--frame); }
.quiet { padding: 6px 0; border: 0; background: none; color: var(--ink); font-size: 15px; text-decoration: underline; text-decoration-color: var(--frame);
  text-underline-offset: 4px; cursor: pointer; }

/* ---------- the pages before sign-in ----------
   Each screen is one framed section of sparclip.com (S.authMain): a head row (label and headline left, the screen's
   lines right), a rule under it, then the form in the left cell and the picture in the right one, the column rule
   between them. On a phone the parts stand under each other along the landing's blue rail. */
.auth { display: grid; grid-template-rows: auto 1fr auto; min-height: 100svh; }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px var(--gutter) 0; }
.auth-apply { margin: 0; font-size: 15px; color: var(--mute); white-space: nowrap; }
.auth-apply a { color: var(--blue); font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
@media (hover: hover) { .auth-apply a:hover { text-decoration-color: currentColor; } }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand .logo { display: block; height: 25px; width: auto; }
.auth-main { width: min(100% - 2 * var(--gutter), 500px); margin: 0 auto; padding: clamp(32px, 9vh, 120px) 0 56px; }
.ahead > .cap { display: block; margin-bottom: 18px; }
.auth-main h1 { font-size: clamp(34px, 3vw, 46px); }
.lead { max-width: 31em; margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--mute); text-wrap: pretty; }
.lead b { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
h1 + .lead, .alead > .lead:first-child { margin-top: 18px; }
.alead:empty { display: none; }

/* the card: the form is written like an email, label left and value right, as on sparclip.com's Apply */
.card { position: relative; margin-top: 32px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); overflow: hidden; }
.card .row { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 20px; border-bottom: 1px solid var(--rule); }
.lbl { flex: 0 0 5.4em; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); user-select: none; }
.card .row input { flex: 1 1 0; min-width: 0; padding: 16px 0; border: 0; background: none; font-size: 17px; outline: none; }
.card .row input::placeholder { color: var(--pale); }
label.row { cursor: text; }
.card .row:focus-within { box-shadow: inset 0 -2px 0 var(--blue); }
.card .row:has([aria-invalid="true"]) { box-shadow: inset 0 -2px 0 var(--bad); }
.card .row:has([aria-invalid="true"]) .lbl { color: var(--bad); }
.act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 20px 20px; }
.card.plain .act { padding: 20px; }
.solo { margin-top: 30px; }
.solo .act { padding: 0; }
/* someone else is signed in here: said once, above the button that would sign them out */
.swap { max-width: 31em; margin-bottom: 18px; padding: 14px 16px 16px; border: 1px solid var(--frame); border-radius: 10px; background: var(--card);
  font-size: 15px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.swap b { font-weight: 500; overflow-wrap: anywhere; }
.say { flex: 1 1 13em; min-width: 0; font-size: 14px; line-height: 1.4; color: var(--mute); }
.say:empty { display: none; }
.say.bad { color: var(--bad); }
.fine { padding: 16px 20px 20px; font-size: 14px; line-height: 1.45; color: var(--mute); }

/* the email to look for, as its header looks in an inbox */
.mail .row { min-height: 46px; }
.mail .v { min-width: 0; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail .at { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--soft); }

/* six boxes over one real field */
.codearea { padding: 22px 20px 2px; }
.codearea > .cap { display: block; margin-bottom: 12px; }
.code { position: relative; display: flex; gap: 8px; width: max-content; max-width: 100%; }
.code .box { display: grid; place-items: center; width: 52px; height: 64px; border: 1px solid var(--frame); border-radius: 10px; background: var(--white);
  font-family: var(--mono); font-size: 30px; font-weight: 500; line-height: 1; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.code .box.gap { margin-left: 12px; }
.code .box.full { border-color: var(--firm); }
.code .box.here { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.code .box.here:empty::after { content: ""; width: 2px; height: 30px; background: var(--blue); animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.code.wrong .box { border-color: var(--bad); box-shadow: none; }
.code.locked .box { color: var(--soft); }
.codein { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: transparent; caret-color: transparent;
  font-size: 16px; opacity: 0; cursor: text; }
.codein:disabled { cursor: default; }
.code:has(.codein:focus-visible) { outline: 2px solid transparent; }
.code.shown .box { width: 56px; height: 72px; font-size: 34px; border-color: var(--firm); }
.code-text { font-family: var(--mono); font-size: 28px; letter-spacing: .1em; }

/* how long the email still works: the card's bottom edge is a blue line that runs out */
.time { display: flex; align-items: center; gap: 10px; padding: 0 20px 18px; }
.time .track { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rule); }
.time .fill { position: absolute; inset: 0; background: var(--blue); transform-origin: 0 50%; }
.time.bare { padding: 0; }
.time .tleft { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }

.abody > .fine.bare { padding: 0; margin-top: 18px; max-width: 31em; }
/* a small label and one line above the email field: which address to type */
.pre { margin-top: 30px; }
.pre > .cap { display: block; margin-bottom: 8px; }
.pre > p { max-width: 31em; font-size: 15px; line-height: 1.45; color: var(--mute); text-wrap: balance; }
.auth-main .abody > .pre + .card { margin-top: 18px; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 20px; }
.abody > .hint { margin-top: 22px; }
.hint a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--frame); text-underline-offset: 3px; }
@media (hover: hover) { .hint a:hover { text-decoration-color: var(--ink); } }

/* the picture of the situation (scene.js): under the words on narrow screens, filling the room above the footer, the
   blue rail of the words going on into it; in the frame's right cell on wide ones */
.scene { position: relative; min-height: 190px; overflow: hidden; pointer-events: none; }
.scene canvas { position: absolute; left: 0; top: 0; }
.auth.staged { --rail: 18px; }
.auth.staged .auth-main { display: flex; flex-direction: column; width: min(100% - 2 * var(--gutter), 522px); padding-bottom: 0; }
/* the rail: the landing's line down the left of the words on a phone (4 px, its blue); scene.js goes on from its middle */
.auth.staged .ahead, .auth.staged .alead, .auth.staged .abody { padding-left: var(--rail); border-left: 4px solid var(--way); }
.auth.staged .abody { padding-bottom: 28px; }
.auth.staged .scene { flex: 1 0 190px; --rail-mid: 2; }
.auth.staged .auth-main > .scene { margin-bottom: 0; }

@media (min-width: 1100px) and (min-height: 560px) {
  /* the landing's measures: the column rule at 45 % of the width (the form needs at least 600 px), the frame 28 px
     outside the words, very wide windows keep the block about 1,000 px past the rule */
  .auth.staged { container-type: inline-size; grid-template-rows: auto 1fr auto;
    --sx: max(45cqw, 600px); --L: max(56px, calc(var(--sx) - 720px)); --R: max(64px, calc(100cqw - var(--sx) - 1000px)); }
  .auth.staged .auth-top { height: 72px; padding: 0 var(--R) 0 var(--L); }
  .auth.staged .auth-main { display: grid; grid-template-columns: calc(var(--sx) - var(--L) + 27px) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
    width: auto; margin: 4px calc(var(--R) - 28px) 0 calc(var(--L) - 28px); padding: 0; border: 1px solid var(--line); }
  .auth.staged .ahead, .auth.staged .alead, .auth.staged .abody { border-left: 0; }
  .auth.staged .ahead { grid-column: 1; grid-row: 1; padding: 26px 52px 32px 27px; border-bottom: 1px solid var(--line); }
  /* the screen's lines stand beside the headline, under the label's height, as the landing's short text does */
  .auth.staged .alead { display: block; grid-column: 2; grid-row: 1; padding: 54px 28px 32px 52px; border-bottom: 1px solid var(--line); }
  .auth.staged .alead > .lead { max-width: 36em; }
  .auth.staged .alead > .lead:first-child { margin-top: 0; }
  /* the form stands in the middle of its cell, top to bottom (Patrik, 2026-11-14); a tall one starts at the top */
  .auth.staged .abody { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; justify-content: safe center; min-width: 0;
    padding: 26px 52px 26px 27px; border-right: 1px solid var(--line); }
  /* the picture's box covers the whole body row (the line starts at the button in the left cell); scene.js draws the
     picture only right of the column rule */
  .auth.staged .scene { grid-column: 1 / -1; grid-row: 2; margin-right: 28px; min-height: 0; --beside: 1; }
  .auth.staged .foot { padding: 13px var(--gutter) 16px; }
  .auth.staged .abody > :first-child { margin-top: 0; }
}
/* a laptop's window (Patrik's: 1536 x 712): every sign-in screen fits without scrolling */
@media (min-width: 1100px) and (min-height: 560px) and (max-height: 900px) {
  .auth.staged .ahead { padding-top: 22px; padding-bottom: 26px; }
  .auth.staged .alead { padding-top: 48px; padding-bottom: 26px; }
  .auth.staged .ahead > .cap { margin-bottom: 12px; }
  .auth.staged .auth-main h1 { font-size: clamp(34px, 2.6vw, 40px); }
  .auth.staged .lead { margin-top: 8px; font-size: 16px; line-height: 1.5; }
  .auth.staged .abody { padding-top: 22px; padding-bottom: 18px; }
  .auth.staged .card { margin-top: 0; }
  .auth.staged .solo { margin-top: 0; }
  .auth.staged .swap { margin-bottom: 14px; padding: 12px 14px 13px; }
  .auth.staged .mail .row { min-height: 40px; }
  .auth.staged .codearea { padding: 16px 20px 16px; }
  .auth.staged .codearea > .cap { margin-bottom: 10px; }
  .auth.staged .code .box { width: 48px; height: 58px; font-size: 28px; }
  .auth.staged .act { padding: 14px 20px 16px; }
  .auth.staged .card.plain .act { padding: 16px 20px; }
  .auth.staged .solo .act { padding: 0; }
  .auth.staged .time { padding: 0 20px 14px; }
  .auth.staged .links { margin-top: 12px; }
  .auth.staged .abody > .hint, .auth.staged .abody > .fine.bare { margin-top: 12px; max-width: none; }
  /* the code and its button share one row */
  .auth.staged .card:has(> .codearea) { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .auth.staged .card:has(> .codearea) > :not(.codearea):not(.act) { grid-column: 1 / -1; }
  .auth.staged .card:has(> .codearea) > .act { align-self: end; padding: 0 20px 16px 4px; }
  .auth.staged .card:has(> .codearea) > .act .say { flex-basis: 100%; }
}
/* in a frame the card has square corners, as the landing's Apply form */
.auth.staged .card, .auth.staged .swap { border-radius: 0; }
.links .dot { color: var(--soft); }

.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 24px var(--gutter) 32px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.foot a { color: var(--soft); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .mail { text-transform: none; letter-spacing: .04em; }

/* ---------- the signed-in app: the bar and the page under it ---------- */
/* migration 176: Sparclip stopped sending; the red line above the navigation on every page, the words in white */
.stopped-bar { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px var(--pr) 10px var(--pl); background: var(--bad); color: #fff;
  font-size: 15px; line-height: 1.4; font-weight: 500; }
.stopped-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
/* as sparclip.com's bar: white, no rule under it, the places in the grotesk at 16 px, the one on show in ink */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; padding: 0 var(--pr) 0 var(--pl); }
.who { display: flex; align-items: center; gap: 14px; min-width: 0; }
/* the two places beside the logo; the one on show is ink with a short blue line under it */
.bar-left { display: flex; align-items: center; gap: 32px; min-width: 0; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; font-size: 16px;
  color: var(--mute); text-decoration: none; white-space: nowrap; }
.nav-item[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav-item[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--blue); }
.nav-item:focus-visible { outline-offset: -2px; }
@media (hover: hover) { .nav-item:hover { color: var(--ink); background: var(--hover); } }
.who .name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the page uses the window's width as sparclip.com does (Patrik, 2026-11-15: "on the landing there are no such margins"):
   the frames stand 28 px from the left edge and 36 px from the right one, as the landing's (--L - 28 px, --R - 28 px:
   L = max(56, 45 % - 720), R = max(64, 55 % - 1000)); only very wide windows keep the block about 1,000 px past the 45 %
   line, as the landing does. The bar's logo and name stand 28 px inside the frames' edges. Phones: 16 px. */
#app { --fl: max(28px, 45% - 748px); --frr: max(36px, 55% - 1028px); --pl: calc(var(--fl) + 28px); --pr: calc(var(--frr) + 4px); }
.page { width: auto; margin: 0; padding: 20px var(--frr) 72px var(--fl); }
.hold > .cap { display: block; margin-bottom: 14px; }
.hold h1 { font-size: clamp(32px, 3.2vw, 48px); }

/* ---------- Leads: the package, the yeses, what's happening ---------- */
.home { display: grid; gap: 28px; padding-top: 20px; }
.home h2.cap { display: block; margin-bottom: 14px; font-weight: 400; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tag.blue { background: var(--blue); color: #fff; }
.tag.grey { background: var(--hover); color: var(--mute); }

/* the package card: the big serif number, the day line, a dot a day */
.pkg { padding: 26px 28px 22px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.pkg-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 32px; }
.pkg-top .cap { display: block; margin-bottom: 8px; }
.pkg-count { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .22em; line-height: 1; }
.pkg-count .big { font-size: 56px; }
.pkg-count .of { font-size: 28px; color: var(--mute); }
.pkg-days { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 12px; padding-bottom: 6px; font-family: var(--mono); font-size: 13px;
  letter-spacing: .02em; color: var(--ink); text-align: right; }
.pkg-line { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 .6em; }
.pkg-line span { white-space: nowrap; }
.pkg-paused { flex-basis: 100%; color: var(--mute); }
.pkg-none { margin-top: 6px; max-width: 34em; font-size: 18px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.owed { margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--ink); }

.calbox { margin-top: 24px; }
/* one row of the package's days (--cal-cols, set by leads.js: up to 60 in a row, a longer package in even rows) */
.cal { display: grid; grid-template-columns: repeat(var(--cal-cols, 60), minmax(0, 1fr)); gap: 6px; }
.d { display: block; aspect-ratio: 1; border-radius: 2px; background: var(--rule); }
.d.warmup { background: transparent; box-shadow: inset 0 0 0 1.5px #8a8e97; }
.d.sent { background: #8a8e97; }
.d.none { background: transparent; box-shadow: inset 0 0 0 4px var(--card); background-color: #c6c8cf; }
.d.yes { background: var(--blue); }
.d.today { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend .d { width: 9px; height: 9px; }
.legend .d.today { outline-offset: 1.5px; }

/* the last day: the final count on the dark card, as the guarantee on sparclip.com */
.pkg.final { border-color: var(--night); background: var(--night); color: #f4f4f6; }
.pkg.final .cap, .pkg.final .legend { color: #9a9fa8; }
.pkg.final .pkg-count .of { color: #b9bdc4; }
.pkg.final .pkg-days, .pkg.final .owed { color: #f4f4f6; }
.pkg.final .d { background: #3a3f48; }
.pkg.final .d.warmup { background: transparent; box-shadow: inset 0 0 0 1.5px #8b9099; }
.pkg.final .d.sent { background: #8b9099; }
.pkg.final .d.none { box-shadow: inset 0 0 0 4px var(--night); background-color: #5a5f68; }
.pkg.final .d.yes { background: var(--blue-hover); }

/* the list of yeses: one row each, the whole row opens the thread */
.list { list-style: none; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); overflow: hidden; }
.list li + li { border-top: 1px solid var(--rule); }
.lrow { display: flex; align-items: flex-start; gap: 14px; padding: 18px 22px; text-decoration: none; color: var(--ink); transition: background-color .15s; }
@media (hover: hover) { .lrow:hover { background: #f7f7f9; } .lrow:hover .go { transform: translateX(3px); color: var(--ink); } }
.lrow:focus-visible { outline-offset: -3px; border-radius: var(--r); }
.mark { flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 2px; }
.lrow.unread .mark { background: var(--blue); }
.lmain { display: grid; gap: 3px; flex: 1 1 auto; min-width: 0; }
.lname { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.lname b { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.lwho { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.lwhen { display: flex; flex-wrap: wrap; gap: 0 .6em; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--mute); }
.lwhen span { white-space: nowrap; }
.lwhen span + span::before { content: "· "; }
.lwhy { margin-top: 4px; font-size: 14px; color: var(--mute); text-wrap: pretty; }
.lwhy::before { content: "Why: "; color: var(--soft); }
.lrow.off .lname b, .lrow.off .lwho { color: var(--mute); }
.go { flex: none; align-self: center; font-size: 18px; color: var(--soft); transition: transform .15s, color .15s; }

/* what's happening: the sentence, the week's numbers, the next send, then the tree */
.happen { display: grid; gap: 26px; padding: 26px 28px 28px; border: 1px solid var(--rule); border-radius: var(--r); }
.stage { max-width: 32em; font-size: 22px; line-height: 1.35; font-weight: 450; text-wrap: pretty; }
.sub { display: block; margin-top: 22px; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; }
.stat { display: grid; justify-items: start; align-content: start; gap: 2px; width: 100%; height: 100%; min-width: 0; padding: 12px 14px 13px; border: 1px solid var(--rule); border-radius: 10px; background: var(--card);
  text-align: left; cursor: help; }
@media (hover: hover) { .stat:hover { border-color: var(--frame); } }
.stat .n { font-family: var(--mono); font-size: 24px; font-weight: 500; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat .w { font-size: 14px; color: var(--mute); }
.note { min-height: 1.45em; margin-top: 10px; font-size: 14px; color: var(--mute); }
.next { margin-top: 6px; font-size: 16px; }
.wait { margin-top: 14px; max-width: 34em; font-size: 15px; color: var(--mute); }
.tree { min-width: 0; padding-top: 22px; border-top: 1px solid var(--rule); }
.tree > .cap { display: block; margin-bottom: 18px; }
.treebox { width: 100%; min-width: 0; }
.treebox svg { display: block; max-width: 100%; height: auto; overflow: visible; }

/* the small version under the list: words on the left, the tree beside them */
.happen.small { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 28px 40px; padding: 22px 24px 24px; }
.happen.small .tree { padding-top: 0; border-top: 0; }
.happen.small .stage { font-size: 17px; }
.happen.small .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.happen.small .stat { padding: 11px 14px 12px; }
.happen.small .stat .n { font-size: 21px; }
.happen.small .stat .w { font-size: 13px; }

/* the tree's parts: grey lines, ink pixels, one blue dot when there is a yes */
.treebox .br { fill: none; stroke: var(--frame); stroke-linecap: round; }
.treebox .tr { fill: none; stroke: #8a8e97; stroke-linecap: round; }
.treebox .tr.zero { stroke: var(--frame); stroke-linecap: butt; stroke-dasharray: 3 5; }
.treebox .px rect { fill: #33373f; shape-rendering: crispEdges; }
.treebox .px.yes rect { fill: var(--blue); }
.treebox .px rect.pxback { fill: var(--paper); }
.treebox .px rect.pxzero { fill: var(--paper); stroke: var(--soft); stroke-width: 1; }
.treebox .leaf .px rect:not(.pxback) { fill: var(--mute); }
.treebox .tleaf { fill: var(--mute); font: 400 12.5px var(--sans); }
.treebox .tnum { fill: var(--ink); font: 500 11.5px var(--mono); }
.treebox .tcount { fill: var(--ink); font: 500 15px var(--mono); font-variant-numeric: tabular-nums; }
.treebox .tname { fill: var(--ink); font: 400 14px var(--sans); }
.treebox .tnote { fill: var(--soft); font: 400 9.5px var(--mono); letter-spacing: .14em; }
.treebox .nil .tcount, .treebox .nil .tname { fill: var(--soft); }
.treebox .yes:not(.nil) .tcount, .treebox .yes:not(.nil) .tname { fill: var(--blue); }

.back { display: inline-block; margin-bottom: 22px; font-size: 15px; text-decoration: none; color: var(--mute); }
.back:hover { color: var(--ink); }

/* ---------- until the first yes: the start, the package's days in four steps, the stage's picture, an example lead, what to do ---------- */
.tag.ink { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
/* the dashboard's picture (scene.js) stands in its box in the page, never fixed like the sign-in's; its box starts 6 px
   left of the cell (scene.js INSET), so the blue line can run down the cell's rule */
.scene.inline { position: absolute; inset: 0 14px 0 -6px; min-height: 0; }


/* the package's days without dates, and the four steps under every calendar that explains itself */
.plan { padding: 26px 28px 28px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.d.last, .d.end { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.phases { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rule); }
.phase { min-width: 0; }
.ph-head { display: flex; align-items: center; gap: 9px; min-height: 22px; }
.ph-head .d { flex: none; width: 9px; height: 9px; }
.ph-when { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phase.now .ph-when { color: var(--ink); }
.ph-title { display: block; margin-top: 6px; font-size: 16px; font-weight: 500; }
.ph-text { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--mute); text-wrap: pretty; }
.pkg.final .phases { border-color: #3a3f48; }
.pkg.final .ph-when, .pkg.final .ph-text { color: #b9bdc4; }
.pkg.final .phase.now .ph-when, .pkg.final .tag.ink { color: #f4f4f6; }
.pkg.final .tag.ink { box-shadow: inset 0 0 0 1px #f4f4f6; }
.pkg.final .d.end { box-shadow: inset 0 0 0 1.5px #f4f4f6; background: transparent; }

.now-doing { margin-top: 12px; max-width: 32em; font-size: 16px; line-height: 1.5; color: var(--mute); text-wrap: pretty; }

/* the example lead (never a link) and the two things to do meanwhile */
.after { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px 32px; align-items: start; }
.after.solo { grid-template-columns: minmax(0, 1fr); }
.list.example { border-style: dashed; border-color: var(--frame); background: transparent; }
.example .mark { background: var(--blue); }
@media (hover: hover) { .example .lrow:hover { background: none; } }
.lquote { margin-top: 6px; font-family: var(--serif); font-size: 17px; line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.lfound { margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--mute); text-wrap: pretty; }
.lsub { font-size: 14px; line-height: 1.45; color: var(--mute); text-wrap: pretty; }
.sample .wait { margin-top: 14px; }

@media (max-width: 860px) {
  .happen.small { grid-template-columns: minmax(0, 1fr); }
  .happen.small .tree { padding-top: 20px; border-top: 1px solid var(--rule); }
  .after { grid-template-columns: minmax(0, 1fr); }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phones ---------- */
@media (max-width: 560px) {
  .home { gap: 20px; padding-top: 14px; }
  .pkg { padding: 20px 16px 18px; }
  .pkg-top { flex-direction: column; align-items: flex-start; }
  .pkg-count .big { font-size: 48px; }
  .pkg-count .of { font-size: 24px; }
  .pkg-days, .pkg-line { justify-content: flex-start; text-align: left; padding-bottom: 0; font-size: 12.5px; }
  .cal { grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 4px 4px; row-gap: 8px; }
  .d.none { box-shadow: inset 0 0 0 2.5px var(--card); }
  .pkg.final .d.none { box-shadow: inset 0 0 0 2.5px var(--night); }
  .legend { gap: 6px 14px; }
  .lrow { gap: 12px; padding: 16px; }
  .happen, .happen.small { padding: 20px 16px 22px; gap: 20px; }
  .plan { padding: 20px 16px 22px; }
  .phases { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 18px; padding-top: 16px; }
  .after { gap: 20px; }
  .stage { font-size: 19px; }
  .stats, .happen.small .stats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: 10px; background: var(--card); overflow: hidden; }
  .stats li + li { border-top: 1px solid var(--rule); }
  .stat, .happen.small .stat { display: flex; align-items: baseline; gap: 12px; width: 100%; min-width: 0; padding: 10px 14px; border: 0; border-radius: 0; background: none; }
  .stat .n, .happen.small .stat .n { flex: 0 0 4.2em; font-size: 18px; }
  .stat .w, .happen.small .stat .w { font-size: 15px; }
  .auth-top { padding-top: 20px; }
  .brand .logo { height: 22px; }
  .auth-main { padding: 40px 0 40px; }
  .auth-main h1 { font-size: 31px; }
  .lead { font-size: 16px; }
  .card { margin-top: 26px; }
  .card .row { padding: 0 16px; gap: 10px; }
  .act, .card.plain .act { padding: 16px; }
  .solo .act { padding: 0; }
  .codearea { padding: 18px 16px 2px; }
  .fine { padding: 14px 16px 16px; }
  .time { padding: 0 16px 16px; }
  .code { gap: 6px; }
  .code .box { width: 44px; height: 56px; font-size: 26px; }
  .code .box.gap { margin-left: 10px; }
  .code.shown .box { width: 46px; height: 60px; font-size: 28px; }
  /* beside the rail the six boxes keep to the words' width */
  .auth.staged .code .box, .auth.staged .code.shown .box { width: 43px; }
  .act .btn { flex: 1 1 100%; }
  .acct-btn .cap { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .code .box.here:empty::after { animation: none; }
  .btn, .code .box, .lrow, .go { transition: none; }
}

/* ---------- the home page in frames, as the sections of sparclip.com (2026-11-14) ----------
   Every part is one framed section: a hairline round it, a head row with a rule under it, a column rule between two
   columns, the parts 28 px inside the frame as on the landing. The stage's picture has its own cell; scene.js runs its
   blue line down that cell's rule. Square corners, no fill: the frame is the card. */
.fr { --fp: 28px; position: relative; padding: 0; border: 1px solid var(--line); border-radius: 0; background: none; }
.fr-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 32px; padding: 22px var(--fp) 20px;
  border-bottom: 1px solid var(--line); }
.home .fr-head h2.cap, .home .fr-head .cap { margin-bottom: 0; }
.fr-head > .cap:last-child:not(:first-child) { color: var(--soft); }

/* the package: count and day line on top, its days, then the four steps in four cells */
.fr.pkg { padding: 0; }
.fr .calbox { margin-top: 0; padding: 22px var(--fp) 20px; }
.fr .phases { gap: 0; margin-top: 0; padding-top: 0; border-top: 1px solid var(--line); }
.fr .phase { padding: 18px 22px 22px; }
.fr .phase:first-child { padding-left: var(--fp); }
.fr .phase + .phase { border-left: 1px solid var(--line); }
.fr.pkg.final { --line: #3f444e; border-color: var(--line); background: var(--night); }

.fr.plan { padding: 0; background: none; }

/* what's happening: where we are in the head (the sentence in the serif, as a landing headline), the week's numbers
   beside the picture or the tree, the tree under them */
.fr.happen { display: block; gap: 0; padding: 0; }
.fr.happen .fr-head { align-items: flex-end; }
.hhead { flex: 1 1 26em; min-width: 0; }
.hhead .cap { display: block; margin-bottom: 12px; }
.fr .stage { max-width: 22em; font-size: clamp(26px, 2.3vw, 32px); font-weight: 360; line-height: 1.12; }
.hwhen { flex: 0 1 21em; min-width: 0; padding-bottom: 3px; }
.hwhen .next { margin-top: 0; font-size: 15px; color: var(--ink); }
.hwhen .next + .next { margin-top: 4px; }
.fr.happen .hrow { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; }
.fr.happen .hleft { min-width: 0; padding: 20px var(--fp) 24px; }
.fr.happen .sub { margin-top: 0; }
.fr.happen .now-doing { margin-top: 0; }
.fr.happen .tree { padding: 22px var(--fp) 26px; border-top: 1px solid var(--line); }
.fr.happen.small .hrow { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.fr.happen.small .tree { padding: 20px var(--fp) 22px; border-top: 0; border-left: 1px solid var(--line); }
.fr.happen.small .stage { font-size: clamp(22px, 1.9vw, 26px); }

/* the yeses: one row each, edge to edge, a hairline between */
.fr .list:not(.example) { border: 0; border-radius: 0; background: none; }
.fr .list:not(.example) .lrow { padding: 18px var(--fp); }
@media (hover: hover) { .fr .list:not(.example) .lrow:hover { background: var(--hover); } }
.fr .lrow:focus-visible { border-radius: 0; }

/* (2026-11-15, night) on a wide window a lead is two lines, not three: name and title · firm on the left, when they said
   yes and the last message stacked on the right, so a package with 20 leads stays one screen or two, not five */
@media (min-width: 861px) {
  .yeses .lmain { grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: baseline; }
  .yeses .lname, .yeses .lwho, .yeses .lwhy { grid-column: 1; }
  .yeses .lwhen { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: flex-end; gap: 2px; align-self: center; text-align: right; }
  .yeses .lwhen span + span::before { content: none; }
  .yeses .fr-head + .list .lrow { padding-top: 15px; padding-bottom: 15px; }
}

/* (2026-11-15, night) the small "what's happening" under the leads: beside the tall tree the week's numbers stand as
   rows, each with its one plain line, so the cell reads as the tree's legend instead of a box with empty space under it */
.stat .sd { display: none; }
@media (min-width: 861px) {
  .fr.happen.small .stats { grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--rule); background: var(--card); }
  .fr.happen.small .stats li + li { border-top: 1px solid var(--rule); }
  .fr.happen.small .stat { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: 12px 16px 13px; border: 0; background: none; cursor: default; }
  .fr.happen.small .stat .n { grid-row: 1 / span 2; font-size: 21px; }
  .fr.happen.small .stat .w { font-size: 15px; color: var(--ink); }
  .fr.happen.small .stat .sd { display: block; font-size: 13.5px; line-height: 1.4; color: var(--mute); text-wrap: pretty; }
  .fr.happen.small .note { display: none; }
}

/* (2026-11-15) a section's own picture (scene.js S.sectionScene): the cell right of the section's column rule, which
   stands where the dashboard's does, so the blue lines of the sections stand one under the other down the page. A tall
   section keeps its picture in view (sticky); on narrow windows the picture is a strip under the head, as the
   dashboard's. */
.sgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.sgrid > * { min-width: 0; }
.spic { position: relative; min-height: 270px; border-left: 1px solid var(--line); }
.spic > .scene.sect { position: sticky; top: 16px; inset: auto; height: clamp(250px, 100%, 400px); min-height: 0; margin: 0 14px 0 -6px; }
/* the picture on the left, the words on the right (Team's People), so the page does not repeat one layout */
.sgrid.flip { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.sgrid.flip > .spic { order: -1; border-left: 0; border-right: 1px solid var(--line); }
.sgrid.flip > .spic > .scene.sect { margin: 0 -6px 0 14px; }
@media (max-width: 860px) {
  .sgrid { grid-template-columns: minmax(0, 1fr); }
  .sgrid.flip > .spic { border-right: 0; }
  .sgrid.flip > .spic > .scene.sect { margin: 0; }
  .spic { order: -1; height: 190px; min-height: 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .spic > .scene.sect { position: absolute; inset: 0 14px 0 -6px; height: auto; margin: 0; }
}
@media (max-width: 560px) { .spic { height: 160px; } }

/* an example lead and what to do meanwhile: two columns, each with its label in the head row */
.fr.after { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-rows: auto auto; gap: 0; align-items: stretch; }
.fr.after.solo { grid-template-columns: minmax(0, 1fr); }
.fr.after > .sample, .fr.after > .todo { display: grid; grid-row: span 2; grid-template-rows: subgrid; min-width: 0; }
.fr.after > .todo:not(:first-child) { border-left: 1px solid var(--line); }
.fr.after h2.cap { margin: 0; padding: 22px var(--fp) 20px; border-bottom: 1px solid var(--line); }
.fr.after .fr-cell { padding: 22px var(--fp) 24px; }
/* under the next steps: questions go to support by email */
.todo .ask { padding: 18px var(--fp) 22px; font-size: 15px; line-height: 1.45; color: var(--mute); }
.todo-body { display: flex; flex-direction: column; }
.spic.todo-pic { flex: 1 0 230px; min-height: 230px; border-left: 0; border-top: 1px solid var(--line); }
.todo .ask a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--frame); text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (hover: hover) { .todo .ask a:hover { text-decoration-color: var(--ink); } }
.fr .list.example { border-radius: 0; }
/* inside a frame the week's numbers are square panels, as the landing's */
.fr .stat, .fr .stats { border-radius: 0; }

@media (max-width: 860px) {
  .fr .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fr .phase:nth-child(odd) { padding-left: var(--fp); border-left: 0; }
  .fr .phase:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fr.happen .hrow, .fr.happen.small .hrow, .fr.after { grid-template-columns: minmax(0, 1fr); }
  .fr.happen.small .tree { border-left: 0; border-top: 1px solid var(--line); }
  .fr.after > .sample, .fr.after > .todo { grid-row: auto; display: block; }
  .spic.todo-pic { order: 0; flex: none; height: 180px; min-height: 0; border-bottom: 0; }
  .fr.after > .todo:not(:first-child) { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .fr { --fp: 16px; }
  .fr .phases { grid-template-columns: minmax(0, 1fr); }
  .fr .phase { padding: 16px var(--fp) 18px; border-left: 0; }
  .fr .phase + .phase { border-left: 0; border-top: 1px solid var(--line); }
  .fr-head { align-items: flex-start; padding: 18px var(--fp) 16px; }
  .fr .stage { font-size: 24px; }
  .fr.happen.small .stage { font-size: 22px; }
  .fr .list:not(.example) .lrow { padding: 16px var(--fp); }
}

/* ---------- the dashboard: Now, Your move, Next (dash.js, 2026-11-14) ----------
   One framed section: the three parts stand in the left cell, one under the other with a rule between; the state's
   picture fills the right cell. The picture's box covers the whole section (scene.js draws only right of the column
   rule), so its blue line can start at the Your move button, as the sign-in screens' line starts at theirs. It stays
   in view at Patrik's laptop window (1536 x 712) without scrolling. */
.fr.dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); min-height: clamp(400px, calc(100svh - 230px), 520px); }
.dleft { position: relative; z-index: 1; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); }
.dpic { position: relative; grid-column: 1 / -1; grid-row: 1; min-width: 0; min-height: 0; --beside: 1; }
.dash .scene.inline { inset: 0 14px 0 0; }
.dpart { padding: 20px var(--fp) 22px; }
.dpart + .dpart { border-top: 1px solid var(--line); }
.dnow { flex: 1 0 auto; padding-top: 22px; padding-bottom: 26px; }
.dlabel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 16px; }
.dnow h1 { max-width: 15em; font-size: clamp(28px, 2.5vw, 36px); line-height: 1.1; }
/* three small squares while setting up: done in ink, the rest framed, Patrik's in dashes */
.dsteps { display: flex; gap: 6px; margin-top: 18px; }
.dstep { width: 12px; height: 12px; border-radius: 2px; box-shadow: inset 0 0 0 1.5px #8a8e97; }
.dstep.done { background: var(--ink); box-shadow: none; }
.dstep.pending { box-shadow: none; outline: 1.5px dashed #8a8e97; outline-offset: -1.5px; }
.dmove h2.cap, .dnext h2.cap { display: block; margin-bottom: 10px; }
.dmove.task h2.cap { color: var(--blue); }
.dmove-text { display: flex; align-items: baseline; gap: 12px; max-width: 30em; font-size: 18px; line-height: 1.45; text-wrap: pretty; }
.dmark { flex: none; width: 10px; height: 10px; border-radius: 2px; transform: translateY(-1px); }
.dmove.task .dmark { background: var(--blue); }
.dmove.calm .dmark { box-shadow: inset 0 0 0 1.5px var(--mute); }
.dmove .btn { margin: 16px 0 0 22px; }
.dsay { margin: 10px 0 0 22px; font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.dsay:empty { display: none; }
.dsay::before { content: "\2713  "; color: var(--blue); }
.dnext-text { max-width: 32em; font-size: 16px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.dnext-at { margin-top: 6px; font-family: var(--mono); font-size: 13px; letter-spacing: .02em; color: var(--ink); }
.dnext-rel { color: var(--mute); }
.drefund { margin: 10px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.45; color: var(--mute); }
.drefund li + li { margin-top: 4px; }
@media (min-width: 861px) and (max-height: 760px) {
  .dnow { padding-top: 18px; padding-bottom: 20px; }
  .dlabel { margin-bottom: 12px; }
  .dpart { padding-top: 16px; padding-bottom: 18px; }
  .dmove .btn { margin-top: 12px; }
}

/* a page that can't show what was asked for (S.problem): the dashboard's frame, the words left, the picture right */
.fr.dash.hold { min-height: clamp(340px, calc(100svh - 260px), 460px); }
.hold .dnow h1 { max-width: 13em; font-size: clamp(30px, 2.6vw, 38px); }
.hold .dnow .lead { max-width: 28em; }
.hold .dmove .btn { margin: 0; }
.home > .back, .team > .back { margin-bottom: 22px; }

/* ---------- the setup: three tasks, each opening its form in place ---------- */
.st-list { list-style: none; }
.st + .st { border-top: 1px solid var(--line); }
.st-who { padding: 16px var(--fp) 0; font-size: 15px; color: var(--mute); }
.st-btn { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 16px var(--fp); border: 0; background: none; color: var(--ink);
  font-size: 16px; text-align: left; cursor: pointer; transition: background-color .15s; }
@media (hover: hover) { .st-btn:hover { background: var(--hover); } }
.st-btn:focus-visible { outline-offset: -3px; }
.st-box { position: relative; flex: none; width: 20px; height: 20px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #8a8e97; }
.st[data-state="done"] .st-box { background: var(--ink); box-shadow: none; }
.st[data-state="done"] .st-box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.st.now .st-box { box-shadow: inset 0 0 0 2px var(--blue); }
.st[data-state="preparing"] .st-box, .st[data-state="change_asked"] .st-box { box-shadow: none; outline: 1.5px dashed #8a8e97; outline-offset: -1.5px; }
.st-text { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.st-text b { font-size: 17px; font-weight: 500; }
.st-sub { font-size: 14.5px; line-height: 1.4; color: var(--mute); text-wrap: pretty; }
.st-state { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 10px; flex: 0 1 auto; max-width: 15em; text-align: right; }
.st-when { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--mute); }
.st-chev { flex: none; width: 8px; height: 8px; margin: 0 4px 0 2px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute);
  transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
[aria-expanded="true"] > .st-chev { transform: translateY(2px) rotate(-135deg); }
.st-body { padding: 4px var(--fp) 28px calc(var(--fp) + 36px); }
.st-read { display: grid; gap: 14px; max-width: 40em; }
.st-dl { display: grid; gap: 12px; }
.st-dl dt { display: block; margin-bottom: 2px; }
.st-dl dd, .brief dd { font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; text-wrap: pretty; }
.st-note, .st-empty { font-size: 15px; line-height: 1.45; color: var(--mute); text-wrap: pretty; }
.st-why { max-width: 36em; margin-bottom: 18px; font-size: 15.5px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.st-read .st-why { margin-bottom: 0; }

/* the forms: a label over each field, a line of help, what is wrong in red under it */
.fform { max-width: 36em; }
.ff { display: grid; gap: 6px; }
.ff + .ff, .fpair + .ff, .fh + .ff { margin-top: 18px; }
.fpair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; align-items: start; }
.fpair > .ff + .ff { margin-top: 0; }
.fpair + .fh { margin-top: 8px; max-width: 36em; }
.fl { font-size: 15px; font-weight: 500; }
.fh { font-size: 14px; line-height: 1.45; color: var(--mute); text-wrap: pretty; }
.fi { display: block; width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--frame); border-radius: 0; background: var(--white); font-size: 16px; }
textarea.fi { min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.fi:focus { outline: none; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.fi[aria-invalid="true"] { border-color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
.fe { font-size: 14px; line-height: 1.4; color: var(--bad); text-wrap: pretty; }
.fe:empty { display: none; }
.fact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.fsay { flex: 1 1 14em; min-width: 0; font-size: 14.5px; line-height: 1.4; color: var(--mute); }
.fsay:empty { display: none; }
.fsay.bad { color: var(--bad); }

/* the brief: its parts as a list of labelled paragraphs */
.st-brief { max-width: 44em; }
.brief { display: grid; gap: 16px; }
.brief dt { display: block; margin-bottom: 4px; }
.brief ul { display: grid; gap: 4px; list-style: none; }
.brief li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.brief li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 1px; background: #8a8e97; }
.bstatus { display: grid; gap: 4px; margin-bottom: 18px; padding: 12px 16px 13px; border: 1px solid var(--line); font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.bstatus.fresh { border-color: var(--blue); box-shadow: inset 3px 0 0 var(--blue); }
.bnote { font-family: var(--serif); font-size: 16px; overflow-wrap: anywhere; white-space: pre-wrap; }
.bsub { color: var(--mute); }
.bact { padding-top: 20px; border-top: 1px solid var(--line); }
.bchange { margin-top: 20px; }

/* ---------- the payment: the amount, the reference, the bank details, "I've paid" ---------- */
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pay-cell { min-width: 0; padding: 20px var(--fp) 22px; }
.pay-cell + .pay-cell { border-left: 1px solid var(--line); }
.pay-cell > .cap { display: block; margin-bottom: 10px; }
.pay-big { font-size: 52px; line-height: 1; }
.pay-what { max-width: 32em; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--mute); text-wrap: pretty; }
.pay-how { max-width: none; margin: 0; padding: 16px var(--fp); border-bottom: 1px solid var(--line); color: var(--ink); }
.pay-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 52px; }
.pay-code { font-family: var(--mono); font-size: 28px; font-weight: 500; letter-spacing: .06em; user-select: all; }
.copy { min-height: 36px; padding: 0 12px; border: 0; border-radius: 0; background: none; box-shadow: inset 0 0 0 1px var(--frame); color: var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
@media (hover: hover) { .copy:hover { box-shadow: inset 0 0 0 1px var(--ink); } }
.pd { border-top: 1px solid var(--line); }
.pd-body { padding: 0 var(--fp) 22px; }
.pd-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; max-width: 760px; border-top: 1px solid var(--rule); }
.pd-row { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.pd-row dd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.pd-v { font-family: var(--mono); font-size: 15px; letter-spacing: .02em; overflow-wrap: anywhere; user-select: all; }
.pd-row .copy { min-height: 30px; padding: 0 9px; }
.pd-soon { max-width: 36em; padding: 14px 16px; border: 1px dashed var(--frame); font-size: 15.5px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.pay-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 20px var(--fp) 22px; border-top: 1px solid var(--line); }
.pay-do { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.pay-do .pay-what { margin-top: 0; }
.pay-act.sent { align-items: flex-start; flex-wrap: nowrap; gap: 16px; }
.pay-tick { position: relative; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 3px; background: var(--ink); }
.pay-tick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.pay-sent { font-size: 17px; font-weight: 500; }
.pay-act.sent .pay-what { margin-top: 4px; }

@media (max-width: 860px) {
  /* stacked: Now, then the picture in its own cell, then Your move and Next */
  .fr.dash { display: flex; flex-direction: column; min-height: 0; }
  .dleft { display: contents; }
  .dnow { order: 1; flex: none; }
  .dpic { order: 2; height: 250px; border-top: 1px solid var(--line); --beside: 0; }
  .dmove { order: 3; border-top: 1px solid var(--line); }
  .dnext { order: 4; }
  .dash .scene.inline { inset: 0 14px 0 -6px; }
  .pay-grid { grid-template-columns: minmax(0, 1fr); }
  .pay-cell + .pay-cell { border-left: 0; border-top: 1px solid var(--line); }
  .pd-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .dpic { height: 210px; }
  .dnow h1 { font-size: 27px; }
  .dmove-text { font-size: 17px; }
  .dmove .btn { width: calc(100% - 22px); }
  .hold .dmove .btn { width: 100%; }
  .st-btn { flex-wrap: wrap; gap: 6px 14px; padding: 16px var(--fp); }
  .st-text { flex-basis: calc(100% - 70px); }
  .st-state { order: 4; flex-basis: 100%; justify-content: flex-start; max-width: none; padding-left: 34px; text-align: left; }
  .st-body { padding: 0 var(--fp) 24px; }
  .fpair { grid-template-columns: minmax(0, 1fr); }
  .fact .btn { flex: 1 1 100%; }
  .pay-big { font-size: 44px; }
  .pay-code { font-size: 24px; }
  .pay-do .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .st-btn, .st-chev { transition: none; }
}

/* ---------- one lead: who, the thread joined by the blue line, the reply box; "how we found them" beside ----------
   (2026-11-15, night) Two framed sections as on the home page: the top (who, when they said yes, Your move, the picture
   of the yes), then the conversation with "How we found them" in the right cell. Square corners, hairlines, no shadows;
   the reply box is written like sparclip.com's Apply form, and the blue line ends in a dot at its Send button. */
.one { padding-top: 28px; }
.lhead .back { margin-bottom: 18px; }
.fr.dash.ltop { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.ltop .dnow { padding-bottom: 22px; }
.ltop h1 { font-size: clamp(32px, 2.8vw, 42px); line-height: 1.08; overflow-wrap: anywhere; }
.ltop .lwho { margin-top: 8px; font-size: 16px; }
.lsaid { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--mute); }
.dotyes { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
/* (2026-11-15) the column rule stands where the top's does (1 : 1.12), so the page's blue lines stand one under the other;
   how we found them and its picture take the right cell */
.fr.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 0; align-items: stretch; margin-top: 28px; }
.story { min-width: 0; padding: 26px var(--fp) 30px; }
.side { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--line); }
.side-in { padding: 22px var(--fp) 26px; }
.side-in .found dl, .side-in .fmail, .side-in .disp, .side-in .count-h { max-width: 40em; }
.spic.side-pic { flex: 1 0 300px; min-height: 300px; border-left: 0; border-top: 1px solid var(--line); }

/* not counted: Patrik's reason on top of the thread, in grey */
.nc { display: grid; justify-items: start; gap: 8px; margin: 0 0 22px 34px; padding: 14px 18px 16px; border: 1px dashed var(--frame); color: var(--mute); }
.nc p { font-size: 15px; text-wrap: pretty; }
.nc .nc-more { font-size: 14px; color: var(--soft); }

/* the thread: one blue line down the left, a square on it for every message */
.thread { position: relative; display: grid; gap: 16px; padding-left: 34px; list-style: none; }
.spine { position: absolute; left: 10px; top: 20px; bottom: -22px; width: 2px; background: var(--way); transform-origin: 50% 0; }
.msg { position: relative; min-width: 0; padding: 18px 22px 18px; border: 1px solid var(--line); background: var(--card); }
.knot { position: absolute; left: -28px; top: 20px; width: 9px; height: 9px; border-radius: 2px; background: #8a8e97; box-shadow: 0 0 0 3px var(--paper); }
.mhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 8px; }
.mfrom { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.mat { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--mute); white-space: nowrap; }
.msubj { margin-bottom: 10px; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.mtext { max-width: 42em; font-size: 16px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.mfoot { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--rule); font-size: 13px; line-height: 1.5; color: var(--soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.mfoot.same { white-space: normal; }
.mfoot.same summary { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; list-style: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--soft); cursor: pointer; }
.mfoot.same summary::-webkit-details-marker { display: none; }
.mfoot.same summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.mfoot.same[open] summary::after { transform: translateY(1px) rotate(-135deg); }
@media (hover: hover) { .mfoot.same summary:hover { color: var(--ink); } }
.mfoot.same > div { margin-top: 8px; white-space: pre-wrap; }
.mfoot .unsub, .co-unsub { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.stamp { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; letter-spacing: .04em; color: var(--mute); }
.seal { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border: 1.5px solid var(--mute); border-radius: 2px; vertical-align: -1px; }
.stamp .tag { margin-left: 8px; vertical-align: 1px; }
.tag.line { box-shadow: inset 0 0 0 1px var(--frame); color: var(--mute); }
.mcheck { margin-top: 4px; font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--mute); text-wrap: pretty; }
.mother { font-size: 14px; color: var(--soft); overflow-wrap: anywhere; }
/* their messages are white, as a letter that came in; the yes is the one blue one; ours and the client's on the card */
.msg.them { justify-self: start; max-width: min(86%, 640px); background: var(--white); }
.msg.them .knot { background: var(--ink); }
.msg.them.other { background: var(--card); }
.msg.them.other .knot { background: #8a8e97; }
.msg.yes { border-color: var(--blue); background: var(--blue); color: #fff; }
.msg.yes .mat { color: rgba(255, 255, 255, .78); }
.msg.yes .knot { left: -29px; top: 19px; width: 11px; height: 11px; background: var(--blue); }
.msg.client .knot { background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 3px var(--paper); }

/* a folded message: one line, the first words after the time; a tap opens it in place */
.msg.fold { padding: 0; }
.msg.fold .knot { top: 17px; }
.mfold > summary { display: block; padding: 12px 22px; list-style: none; cursor: pointer; }
.mfold > summary::-webkit-details-marker { display: none; }
.mfold > summary .mhead { flex-wrap: nowrap; margin-bottom: 0; min-width: 0; }
.mfold > summary .mfrom, .mfold > summary .mat { flex: none; }
.msnip { flex: 1 1 auto; min-width: 0; font-size: 15px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mfold[open] .msnip { display: none; }
.mfold[open] > summary { padding-bottom: 0; }
.mfold[open] > summary .mhead { flex-wrap: wrap; margin-bottom: 8px; }
.mbody { padding: 0 22px 18px; }
.mfold > summary:focus-visible { outline-offset: -3px; }
@media (hover: hover) { .mfold > summary:hover .mfrom { text-decoration: underline; text-decoration-color: var(--frame); text-underline-offset: 3px; } }
.msg.them.fold { justify-self: stretch; max-width: none; }

/* the reply box: always open under the thread, written like sparclip.com's Apply form: one row per header, the text,
   then Send at the left; the blue line comes down beside it and ends in a dot at Send */
.composer, .blocked { position: relative; margin: 22px 0 0 34px; }
.composer { border: 1px solid var(--line); background: var(--white); transition: border-color .15s; }
.composer:focus-within { border-color: var(--firm); }
.elbow { position: absolute; left: -25px; top: -1px; bottom: 41px; width: 44px; border-left: 2px solid var(--way); border-bottom: 2px solid var(--way); border-bottom-left-radius: 14px; pointer-events: none; }
.elbow::after { content: ""; position: absolute; right: -5px; bottom: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--way); }
.composer:has(.cact[hidden]) .elbow, .blocked .elbow { bottom: auto; height: 30px; width: 25px; }
.composer:has(.cact[hidden]) .elbow::after, .blocked .elbow::after { display: none; }
.chead { display: grid; font-size: 15px; }
.chead > span { display: flex; align-items: baseline; gap: 14px; min-width: 0; padding: 12px 18px; border-bottom: 1px solid var(--rule); }
.chead .lbl { flex: 0 0 4.4em; }
.chead .v { min-width: 0; overflow-wrap: anywhere; }
.cto { position: relative; }
.csame { margin-left: auto; padding-left: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); white-space: nowrap; }
.reply { display: block; width: 100%; min-height: 140px; padding: 16px 18px; border: 0; background: none; font-size: 16px; line-height: 1.55; resize: vertical; outline: none; }
.reply::placeholder { color: var(--pale); }
.cact { display: flex; align-items: center; gap: 10px 18px; padding: 4px 18px 17px; }
.cact .btn { order: -1; flex: none; }
.cact .accept, .cact .say { flex: 1 1 14em; min-width: 0; font-size: 14px; line-height: 1.4; color: var(--mute); }
.cact .say:empty { display: none; }
.count { font-family: var(--mono); font-size: 12px; color: var(--soft); }
.warn { margin: 0 14px 14px; padding: 14px 16px 16px; border: 1px solid var(--frame); background: var(--paper); }
.warn p { max-width: 36em; font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.wact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.wact .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
.blocked { padding: 18px 20px; border: 1px dashed var(--frame); color: var(--mute); }
.blocked p { font-size: 15px; text-wrap: pretty; }

/* how we found them, and "Not a real yes?" under it */
.found summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: default; }
.found summary::-webkit-details-marker { display: none; }
.found summary:focus-visible { outline-offset: 4px; }
.chev { display: none; }
.found dl { display: grid; gap: 14px; margin-top: 16px; }
.frow dt { display: block; margin-bottom: 3px; }
.frow dd, .fmail span:last-child { font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; text-wrap: pretty; }
.frow dd.quote { font-family: var(--serif); font-size: 16px; }
.fmail { display: grid; gap: 3px; margin-top: 14px; }
.disp { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.disp:empty { display: none; }
.quiet.small { padding: 2px 0; font-size: 14px; color: var(--mute); }
.dnote { margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--mute); text-wrap: pretty; }
.dform fieldset { border: 0; }
.dform legend { margin-bottom: 4px; }
.dform .dnote { margin-bottom: 8px; }
.pick { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 3px 0; font-size: 15px; cursor: pointer; }
.pick input { width: 16px; height: 16px; accent-color: var(--ink); }
.field { display: block; width: 100%; min-height: 84px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--frame); border-radius: 0; background: var(--white);
  font-size: 16px; line-height: 1.45; resize: vertical; }
.field:focus { outline: none; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.dact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 12px; }
.dact .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
.dform .say { margin-top: 8px; }
.checking { margin-bottom: 4px; }
.dwhy { margin-top: 6px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; text-wrap: pretty; }
.count-h { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.count-h ol { display: grid; gap: 10px; margin-top: 8px; list-style: none; }
.count-h li { display: grid; gap: 2px; padding-left: 12px; box-shadow: inset 2px 0 0 var(--frame); }
.count-h li.plus { box-shadow: inset 2px 0 0 var(--blue); }
.count-h .cw { font-size: 13.5px; color: var(--mute); }
.count-h .cr { font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; text-wrap: pretty; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 860px) {
  .fr.lgrid { grid-template-columns: minmax(0, 1fr); }
  .side { order: -1; border-left: 0; border-bottom: 1px solid var(--line); }
  .spic.side-pic { display: none; }
  .side-in { padding: 0; }
  .found summary { min-height: 52px; padding: 0 var(--fp); cursor: pointer; }
  .found dl, .found .fmail { margin: 0; padding: 0 var(--fp); }
  .found dl { padding-top: 4px; }
  .found .fmail { padding-top: 14px; padding-bottom: 18px; }
  .chev { display: block; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
  .found[open] .chev { transform: translateY(2px) rotate(-135deg); }
  .disp { margin-top: 0; padding: 14px var(--fp) 16px; border-top: 1px solid var(--line); }
  .count-h { margin-top: 0; padding: 14px var(--fp) 16px; }
  .ltop .dpic { height: 210px; }
}
@media (max-width: 560px) {
  .one { padding-top: 18px; }
  .ltop h1 { font-size: 30px; }
  .ltop .dpic { height: 170px; }
  .story { padding: 18px var(--fp) 0; }
  .nc { margin-left: 22px; }
  .thread { gap: 12px; padding-left: 22px; }
  .spine { left: 6px; }
  .knot { left: -20px; }
  .msg.yes .knot { left: -21px; }
  .msg { padding: 14px 16px 16px; }
  .msg.fold { padding: 0; }
  .mfold > summary { padding: 11px 16px; }
  .mfold > summary .mhead { flex-wrap: wrap; }
  .msnip { flex-basis: 100%; font-size: 14.5px; }
  .mbody { padding: 0 16px 16px; }
  .msg.them { max-width: 100%; }
  /* the box stays at the bottom of the screen, over the keyboard, so a reply is one tap away */
  /* (its wrapper steps aside, so the box can stick anywhere along the thread, not only at its own place at the end) */
  .write { display: contents; }
  .composer { position: sticky; bottom: 0; z-index: 2; margin: 22px calc(-1 * var(--fp)) 0; border-width: 1px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  /* while nobody writes, only one line of it rests there; a tap opens the whole box with From, To and Send */
  .composer:not(:focus-within):has(.reply:placeholder-shown) .chead,
  .composer:not(:focus-within):has(.reply:placeholder-shown) .cact { display: none; }
  .composer:not(:focus-within):has(.reply:placeholder-shown) .reply { min-height: 54px; height: 54px; resize: none; }
  .blocked { margin: 22px 0 18px; }
  .elbow { display: none; }
  .chead { font-size: 14px; }
  .chead > span { gap: 10px; padding: 9px 16px; }
  .reply { min-height: 96px; padding: 12px 16px; }
  .cact { flex-wrap: wrap; padding: 2px 16px 14px; }
  .cact .btn { min-height: 44px; }
  .warn { margin: 0 12px 12px; }
  .wact .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .composer, .chev { transition: none; }
}

/* ---------- the name menu in the bar ---------- */
.acct { position: relative; min-width: 0; margin-right: -12px; }
.acct-btn { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px;
  background: none; cursor: pointer; transition: background-color .15s; }
@media (hover: hover) { .acct-btn:hover { background: var(--hover); } }
.acct-btn[aria-expanded="true"] { background: var(--hover); }
.acct-btn .name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-btn .chev { display: block; flex: none; width: 7px; height: 7px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute);
  transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.acct-btn[aria-expanded="true"] .chev { transform: translateY(2px) rotate(-135deg); }
.acct-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; width: min(300px, calc(100vw - 2 * var(--gutter))); padding: 6px;
  border: 1px solid var(--frame); border-radius: var(--r); background: var(--white); }
.acct-who { display: grid; gap: 2px; padding: 12px 12px 14px; }
.acct-name { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.acct-mail { font-size: 14px; color: var(--mute); overflow-wrap: anywhere; }
.acct-who .cap { margin-top: 6px; }
.acct-list { display: grid; padding: 6px 0; border-top: 1px solid var(--rule); }
.acct-item { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: none;
  font-size: 15px; text-align: left; text-decoration: none; color: var(--ink); cursor: pointer; }
@media (hover: hover) { .acct-item:hover { background: var(--paper); } }
.acct-item:focus-visible { outline-offset: -2px; background: var(--paper); }
.acct-item:disabled { color: var(--soft); cursor: default; background: none; }
.acct-say { padding: 0 12px; font-size: 14px; line-height: 1.4; color: var(--bad); }
.acct-say:not(:empty) { padding-bottom: 10px; }

/* a red button only for the one step that cannot be undone here */
.btn.bad { background: var(--bad); }
@media (hover: hover) { .btn.bad:hover { background: #9c1d25; } }

/* ---------- Team and Write to Patrik: the same head as the lead page ----------
   (2026-11-15, night) Team is framed as the home page: the top (who can sign in, Your move for an admin, the picture of
   the team), then People and Add a colleague, each a framed section with its label in the head row. */
.team, .fb { padding-top: 28px; }
.thead { max-width: 720px; }
.thead .back { margin-bottom: 18px; }
.thead > .cap { display: block; margin-bottom: 12px; }
.thead h1 { font-size: clamp(32px, 3.2vw, 44px); }
.thead .lead { margin-top: 12px; }
.thead .links { margin-top: 28px; gap: 12px 22px; }
.team .thead { max-width: none; }
.fr.dash.ttop { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.ttop .dnow { padding-bottom: 24px; }
.ttop .lead { max-width: 30em; }
.tcount { margin-top: 14px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--ink); }
.tcount:empty { display: none; }
.ttop:not(:has(.dmove)) { min-height: 260px; }

.tpeople, .tadd { margin-top: 28px; }
.tpeople > .fr-head h2.cap, .tadd > .fr-head h2.cap { display: block; font-weight: 400; }
.tpeople h2:focus { outline: none; }
.fr .tlist { border: 0; border-radius: 0; background: none; }
.tnotes { padding: 0 var(--fp); border-top: 1px solid var(--line); }
.tnotes:not(:has(:not(:empty))) { display: none; }
.tnotes > :last-child:not(:empty) { margin-bottom: 18px; }
.tadd .card { margin-top: 0; border: 0; border-radius: 0; background: var(--white); }
.tadd .card .row { padding: 0 var(--fp); }
.tadd .card .act { padding: 18px var(--fp) 20px; }
.tadd .tlife { margin: 0; padding: 16px var(--fp) 20px; border-top: 1px solid var(--line); }
.trow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 16em) 5.5em; align-items: start; gap: 6px 24px; padding: 18px var(--fp); }
.tmain, .tmeta { display: grid; gap: 3px; min-width: 0; }
.tname { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.tname b { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.temail { font-size: 15px; color: var(--mute); overflow-wrap: anywhere; }
.twait { font-size: 14px; color: var(--mute); }
.trow.invited .tname b { color: var(--mute); }
.trole { font-size: 15px; }
.tadded { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--mute); display: flex; flex-wrap: wrap; gap: 0 .6em; }
.tadded span { white-space: nowrap; }
.tact { justify-self: end; }
.tact .quiet { padding: 4px 0; }
.tconfirm { grid-column: 1 / -1; margin-top: 10px; padding: 14px 16px 16px; border: 1px solid var(--frame); border-radius: 10px; background: var(--paper); }
.tconfirm p:first-child { max-width: 36em; font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.tconfirm .say { margin-top: 8px; }
.tsay { min-height: 1.45em; margin-top: 10px; font-size: 15px; color: var(--mute); }
.tsay:empty { min-height: 0; margin: 0; }
.tnote { margin-top: 14px; font-size: 15px; color: var(--mute); }
.tnote + .tnote { margin-top: 6px; }
.tlife { margin-top: 12px; font-size: 14px; }
.trownote { margin-top: 4px; }

/* an invitation that waits or ran out: "Send again" under it */
.tresend { margin-top: 6px; }
.tresend .btn { min-height: 36px; padding: 0 14px; font-size: 14px; }
.tresend .quiet.small { padding: 2px 0; }

/* the role of each person: a small menu for the admin, plain text for everyone else */
.rsel { position: relative; display: inline-flex; align-items: center; max-width: 100%; }
.rsel select { -webkit-appearance: none; appearance: none; height: 34px; padding: 0 30px 0 10px; border: 1px solid var(--frame); border-radius: 8px;
  background: var(--white); font-size: 15px; cursor: pointer; }
.rsel::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--mute);
  border-bottom: 1.5px solid var(--mute); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.rsel select:disabled { opacity: .5; cursor: default; }
@media (hover: hover) { .rsel select:not(:disabled):hover { border-color: var(--firm); } }
.tmeta .rsel { margin: -6px 0 2px; }

/* the role in the invite form: three choices, each with one plain line */
.card .roles { align-items: flex-start; padding-top: 14px; padding-bottom: 14px; }
.card .roles .lbl { padding-top: 5px; }
.rolepick { display: grid; gap: 2px; flex: 1 1 0; min-width: 0; }
.rolech { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0; cursor: pointer; }
.card .roles .rolech input { flex: none; width: 16px; height: 16px; margin: 4px 0 0; padding: 0; accent-color: var(--ink); cursor: pointer; }
.rw { display: grid; gap: 1px; min-width: 0; }
.rw b { font-size: 16px; font-weight: 500; }
.rw span { font-size: 14.5px; line-height: 1.4; color: var(--mute); }
@media (pointer: coarse) {
  .rsel select { height: 44px; }
  .tmeta .rsel { margin: 0; }
  .tresend .btn { min-height: 44px; }
  .tresend .quiet.small { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .rolech { padding: 9px 0; }
}

.fbcard { max-width: 720px; background: var(--white); border-color: var(--frame); }
.fbcard:focus-within { border-color: var(--firm); }
.fbtext { min-height: 220px; padding: 18px 20px; }
.fbcard .act { padding-top: 6px; }

@media (max-width: 560px) {
  #app { --fl: 16px; --frr: 16px; --pl: 16px; --pr: 16px; }
  .bar-left { gap: 14px; }
  .nav { gap: 0; }
  .nav-item { padding: 0 8px; }
  .nav-item[aria-current="page"]::after { left: 8px; right: 8px; }
  .acct { margin-right: -10px; }
  .acct-btn { gap: 10px; padding: 0 10px; }
  .acct-menu { right: 10px; }
  .team, .fb { padding-top: 18px; }
  .thead h1 { font-size: 31px; }
  .tpeople, .tadd { margin-top: 28px; }
  .trow { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 16px; }
  .tmeta { grid-column: 1 / 2; grid-row: 2; }
  .tact { grid-column: 2; grid-row: 1; }
  /* a long line under the name (an invitation's time) uses the whole width; Remove keeps the corner */
  .trow { position: relative; }
  .trow:has(.tact) .tmain { grid-column: 1 / -1; }
  .trow:has(.tact) .tact { position: absolute; grid-area: auto; top: 7px; right: 16px; }
  .trow:has(.tact) .tact .quiet { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .trow:has(.tact) .tname, .trow:has(.tact) .temail { padding-right: 5em; }
  .trow:has(.tact) .tconfirm { grid-column: 1 / -1; }
  .tconfirm { padding: 12px 14px 14px; }
  .tconfirm .wact .btn { flex: 1 1 auto; }
  .fbtext { min-height: 200px; padding: 14px 16px; }
  .thead .links .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .acct-btn, .acct-btn .chev { transition: none; }
}

/* ---------- very wide, tall screens (an ultrawide on a desk): the same page, a size larger, so it isn't lost in the middle ---------- */
@media (min-width: 2200px) and (min-height: 1000px) {
  html { zoom: 1.2; }
  /* Chromium counts a window height inside a zoomed page zoomed too: the screen's own height, without the zoom */
  body, .auth { min-height: calc(100svh / 1.2); }
}

/* onboarding line (P2) */
/* (2026-11-15) The onboarding as one screen (onboarding.js): the left cell holds Now / Your move / Next, or the step the
   client opened; the right cell the landing's blue line from top to bottom through five frames, blue as far as the
   client has come, a dot where they are. A wide window: exactly the room under the bar. A narrow one: stacked, the line
   on the left rail, an opened step inside its frame. */
:root { --ob-vh: 100svh; }
@media (min-width: 2200px) and (min-height: 1000px) { :root { --ob-vh: calc(100svh / 1.2); } }
.page.ob-page { padding-bottom: 20px; }
.fr.dash.onb { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); min-height: 0; }
@media (min-width: 861px) and (min-height: 600px) {
  .fr.dash.onb { height: clamp(560px, calc(var(--ob-vh) - var(--ob-top, 150px) - 20px), 900px); }
}
.ob-stage { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; border-right: 1px solid var(--line); }
.ob-idle { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.onb .dnow h1 { max-width: 14em; }

/* the frames, threaded on the line: it runs --rail from the cell's left edge, through each frame's mark */
.ob-journey { position: relative; min-width: 0; min-height: 0; padding: 22px var(--fp) 22px 0; }
.ob-steps { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; height: 100%; list-style: none; }
.ob-f { margin-left: 30px; border: 1px solid var(--line); background: none; transition: border-color .2s, background-color .2s; }
.ob-btn { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 14px; align-items: center; gap: 14px; width: 100%; min-height: clamp(64px, 8.5svh, 92px);
  padding: 11px 16px 11px 10px; border: 0; background: none; color: var(--ink); font-size: 16px; text-align: left; }
button.ob-btn { cursor: pointer; transition: background-color .15s; }
div.ob-btn { grid-template-columns: 20px minmax(0, 1fr) auto; }
@media (hover: hover) { button.ob-btn:hover { background: var(--hover); } }
.ob-btn:focus-visible { outline-offset: -3px; }
.ob-text { display: grid; gap: 1px; min-width: 0; }
.ob-title { font-size: 16.5px; font-weight: 500; line-height: 1.3; }
.ob-line { font-size: 14.5px; line-height: 1.4; color: var(--mute); overflow-wrap: anywhere; text-wrap: pretty; }
.ob-more { margin-top: 4px; font-size: 14.5px; line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.ob-state { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.ob-when { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: var(--mute); white-space: nowrap; }
.ob-chev { width: 8px; height: 8px; border-top: 1.5px solid var(--mute); border-right: 1.5px solid var(--mute); transform: rotate(45deg); transition: transform .15s; }
.ob-f.open .ob-chev { transform: rotate(-135deg); }

/* where the client is: the frame in blue; the step opened: a white frame */
.ob-f[data-state="now"], .ob-f.here { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.ob-f.open { background: var(--white); }
.ob-f[data-state="locked"] .ob-title, .ob-f[data-state="later"] .ob-title { color: var(--mute); }
.ob-f[data-state="later"] { border-style: dashed; }
.ob-f[data-task="next"].here { background: var(--card); }
.ob-f[data-task="next"].here .ob-line { font-family: var(--serif); font-size: 17px; line-height: 1.35; color: var(--ink); }

/* the marks on the line: done in ink with a tick, the client's step ringed in blue (the line's dot sits in it), Patrik's
   in dashes, a step to come framed, a locked one with a small lock */
.ob-mark { position: relative; z-index: 2; width: 20px; height: 20px; border-radius: 3px; background: var(--paper); box-shadow: inset 0 0 0 1.5px #8a8e97; }
.ob-f.open .ob-mark, .ob-f[data-task="next"].here .ob-mark { background: var(--white); }
.ob-f[data-state="done"] .ob-mark { background: var(--ink); box-shadow: none; }
.ob-f[data-state="done"] .ob-mark::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.ob-f.here .ob-mark { box-shadow: inset 0 0 0 2px var(--blue); }
.ob-f[data-state="wait"]:not(.here) .ob-mark { box-shadow: none; outline: 1.5px dashed #8a8e97; outline-offset: -1.5px; }
.ob-f[data-state="locked"] .ob-mark::before { content: ""; position: absolute; left: 5px; top: 9px; width: 10px; height: 7px; border-radius: 1px; background: #8a8e97; }
.ob-f[data-state="locked"] .ob-mark::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 6px; border: 1.5px solid #8a8e97; border-bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }

/* the line itself, drawn by onboarding.js from the marks (--x: where they stand) */
.ob-way { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ob-svg { position: absolute; inset: 0; overflow: visible; }
.ob-seg { fill: none; stroke: rgba(47, 92, 255, .3); stroke-width: 2; stroke-linecap: round; }
.ob-seg.on { stroke: var(--way); stroke-width: 3; }
.ob-tip { position: absolute; z-index: 3; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--way); pointer-events: none; }
/* the frames stand over the line, so it hides behind them */
.ob-steps { position: relative; z-index: 2; }
.ob-f { background: var(--paper); }

/* a step opened on a wide window: its form fills the left cell, its head on top, the rest scrolls under it with the
   buttons kept in view */
.ob-panel { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.ob-phead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 18px var(--fp) 16px; border-bottom: 1px solid var(--line); }
.ob-ptext .cap { display: block; margin-bottom: 8px; }
.ob-ptitle { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.1; }
.ob-ptitle:focus { outline: none; }
.ob-close { flex: none; }
.ob-pbody { position: relative; flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 18px var(--fp) 0; }
.ob-pbody .ff + .ff, .ob-pbody .fpair + .ff, .ob-pbody .fh + .ff { margin-top: 14px; }
.ob-pbody .fh { font-size: 13.5px; }
.ob-pbody .fact { position: sticky; bottom: 0; z-index: 1; margin-top: 16px; padding: 14px 0 18px; background: var(--paper); }
.ob-pbody .bact { margin-top: 18px; padding-top: 14px; }
.ob-pbody .bchange { padding-bottom: 18px; }
.ob-pbody .bchange .fact { position: static; padding-bottom: 0; }
.ob-pbody .st-read, .ob-pbody .st-hand { padding-bottom: 20px; }
.ob-pbody.ob-p-pay { padding: 0; }
.ob-p-pay .pay-big { font-size: 44px; }
.ob-p-pay .pay-code { font-size: 24px; }
.ob-p-pay .pd-list { grid-template-columns: minmax(0, 1fr); }
.ob-p-pay .pay-act { position: sticky; bottom: 0; background: var(--paper); }

@media (max-width: 860px) {
  /* stacked: Now, Your move and Next, then the line down the left rail through the frames; a step opens in its frame */
  .fr.dash.onb { display: flex; flex-direction: column; height: auto; }
  .ob-stage { border-right: 0; border-bottom: 1px solid var(--line); }
  .ob-journey { padding: 20px 14px 22px 0; }
  .ob-steps { height: auto; gap: 14px; }
  .ob-f { margin-left: 24px; }
  .ob-btn { gap: 12px; padding-left: 8px; }
  .ob-panel { border-top: 1px solid var(--line); }
  .ob-chev { transform: rotate(135deg); }
  .ob-f.open .ob-chev { transform: rotate(-45deg); }
  .ob-phead { display: none; }
  /* the form starts right of the line, which runs on through the opened frame */
  .ob-pbody { overflow: visible; padding: 16px 16px 0 38px; }
  .ob-pbody.ob-p-pay { padding: 0; }
  .ob-p-pay .pay-cell, .ob-p-pay .pd-body, .ob-p-pay .pay-act, .ob-p-pay .pd-btn { padding-left: 38px; padding-right: 16px; }
  .ob-pbody .fact, .ob-p-pay .pay-act { position: static; }
}
@media (max-width: 560px) {
  .ob-btn { grid-template-columns: 20px minmax(0, 1fr) 12px; row-gap: 6px; }
  div.ob-btn { grid-template-columns: 20px minmax(0, 1fr); }
  .ob-state { grid-column: 2; grid-row: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; text-align: left; }
  .ob-chev { grid-column: 3; grid-row: 1; }
  .ob-p-pay .pay-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ob-f, button.ob-btn, .ob-chev { transition: none; }
}
/* the picture under Now: one of the landing's ink pictures, filling the room the words leave (scene.js draws it) */
.onb .dnow { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.ob-pic { position: relative; flex: 1 1 150px; min-height: 150px; margin-top: 18px; }
.scene.inline.bare { inset: 0; }
/* a wide window: Your move and Next side by side under the picture, so the picture keeps a landscape shape */
@media (min-width: 861px) {
  .ob-idle { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .ob-idle > .dnow { grid-column: 1 / -1; }
  .ob-idle > .dnext { border-left: 1px solid var(--line); }
  .ob-idle > .dmove .btn { margin-left: 22px; }
}
@media (max-width: 860px) { .ob-pic { flex: none; height: clamp(180px, 52vw, 280px); } }
/* the company form: an email as it will go out, beside the fields (onboarding.js mailPreview); what the client types is
   blue where it will stand */
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 1100px) { .co-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: start; } .co-mail { position: sticky; top: 0; } }
.co-fields > .ff + .ff { margin-top: 14px; }
.co-mail .cap { display: block; margin-bottom: 8px; }
.co-mail .co-note { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--mute); }
.co-paper { padding: 14px 16px; border: 1px solid var(--line); background: var(--card); font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.co-meta { display: grid; gap: 2px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 11.5px; color: var(--mute); white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.co-meta span { overflow: hidden; text-overflow: ellipsis; }
.co-foot { margin-top: 12px; color: var(--mute); font-size: 12.5px; }
.co-foot p + p { margin-top: 2px; }
.co-v { color: var(--blue); font-weight: 500; overflow-wrap: anywhere; }
.co-v.empty { color: var(--soft); font-weight: 400; background: var(--rule); padding: 0 4px; }
.fform:has(> .co-grid) { max-width: none; }
@media (min-width: 1100px) { .co-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; } }
/* the field being typed in: its places in the email preview light up */
.co-v { padding: 1px 3px; border-radius: 3px; transition: background-color .15s, box-shadow .15s; }
.co-v.now { background: rgba(29, 77, 255, .12); box-shadow: 0 0 0 1.5px var(--blue); color: var(--blue); }
.co-v.empty.now { background: rgba(29, 77, 255, .08); color: var(--blue); }
@media (prefers-reduced-motion: reduce) { .co-v { transition: none; } }
/* onboarding: the opened step, the brief's parts, the hand-over preview (U, 2026-11-15) */
/* the opened step's frame is selected, unmistakably and only one: a blue fill and border with a soft ring, its name in
   blue, and its arrow a blue disc pointing at the form (left on a wide window, down into the frame on a narrow one).
   "Your move" stays a blue outline on white, so the two never look alike. */
.ob-f { transition: border-color .2s, background-color .2s, box-shadow .22s cubic-bezier(.2, .8, .2, 1); }
.ob-f.open { border-color: var(--blue); background: #eef2ff; box-shadow: inset 0 0 0 1px var(--blue), 0 0 0 4px rgba(29, 77, 255, .13); }
.ob-f.open > .ob-btn { background: #eef2ff; }
@media (hover: hover) { .ob-f.open > button.ob-btn:hover { background: #e5ebff; } }
.ob-f.open .ob-title { color: var(--blue); }
.ob-f.open > .ob-btn { grid-template-columns: 20px minmax(0, 1fr) auto 26px; }
.ob-f.open .ob-chev { position: relative; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--blue); transform: none;
  animation: ob-pick .24s cubic-bezier(.2, .8, .2, 1); }
.ob-f.open .ob-chev::before { content: ""; position: absolute; left: 10px; top: 9px; width: 7px; height: 7px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
@keyframes ob-pick { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
/* an opened step's form inside its frame (narrow) keeps the white page; only the frame's head is filled */
.ob-f.open > .ob-panel { background: var(--paper); }
/* first and last name on one line, their labels level */
.ob-pbody .fpair > .ff + .ff { margin-top: 0; }

/* the brief's parts: plain headings in the page's own type, a helper line under the ones that need it */
.ob-pbody .brief { gap: 20px; }
.brief dt { display: grid; gap: 1px; margin-bottom: 5px; }
.bhead { font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.bhelp { font-size: 13.5px; line-height: 1.4; color: var(--mute); text-wrap: pretty; }
.bval { display: block; }
.bex { display: block; margin-top: 8px; padding: 2px 0 2px 12px; border-left: 2px solid var(--blue); font-size: 15px; line-height: 1.5; color: var(--mute); text-wrap: pretty; }
.bex-k { color: var(--ink); font-weight: 500; }
.bmore { display: none; }

@media (max-width: 560px) { .ob-f.open > .ob-btn { grid-template-columns: 20px minmax(0, 1fr) 26px; } }
@media (max-width: 860px) {
  .ob-f.open .ob-chev::before { left: 9px; top: 7px; transform: rotate(-45deg); }
  /* on a narrow window the brief is short at first: each part its heading and first line; a tap shows it all */
  .brief.compact { gap: 14px; }
  .brief.compact .bpart.long:not(.full) { cursor: pointer; }
  .brief.compact .bpart.long:not(.full) li + li, .brief.compact .bpart.long:not(.full) .bex { display: none; }
  .brief.compact .bpart.long:not(.full) li, .brief.compact .bpart.long:not(.full) .bval { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brief.compact .bpart.long:not(.full) .bmore { min-height: 28px; }
  .brief.compact .bhelp { font-size: 13px; }
  .brief.compact .bmore { display: inline-flex; align-items: center; min-height: 32px; margin-top: 2px; padding: 0; border: 0; background: none;
    color: var(--blue); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  /* (X, 2026-11-15) Looks right and Change something stand at the very end of the brief, side by side, nothing under them */
  .ob-pbody .st-brief .bact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; padding-bottom: 6px; }
  .ob-pbody .st-brief .bact .btn { width: 100%; min-width: 0; padding-left: 6px; padding-right: 6px; font-size: 15px; white-space: normal; }
  .ob-pbody .st-brief .bact .btn:only-of-type { grid-column: 1 / -1; }
  .ob-pbody .st-brief .bact .fsay { grid-column: 1 / -1; }
}

/* the hand-over preview: the prospect's yes, then this person's answer in the same thread (what the client types in blue) */
.ho-thread { display: grid; gap: 0; padding: 0; }
.ho-msg { padding: 12px 16px 13px; }
.ho-msg + .ho-msg { border-top: 1px solid var(--rule); }
.ho-msg .co-meta { margin-bottom: 8px; padding-bottom: 0; border-bottom: 0; }
.ho-ours { position: relative; background: var(--white); box-shadow: inset 3px 0 0 var(--way); }
.ho-mail .co-v { padding: 0 2px; }
.ho-dom { color: var(--mute); }
.ho-dom.later { font-style: italic; }
.co-note .co-v { font-family: var(--mono); font-size: 11.5px; }
.co-note .ho-dom { font-family: var(--mono); font-size: 11.5px; }

/* "Who replies to your leads" (BB, 2026-11-15): what happens after a yes, in three short steps */
.ho-why { display: grid; gap: 8px; max-width: 40em; }
.ho-why p { margin: 0; }
.ho-steps { margin: 0; padding-left: 1.4em; display: grid; gap: 2px; color: var(--ink); }
.ho-steps li::marker { color: var(--blue); font-weight: 600; }
.ob-pbody .ho-why { font-size: 15px; }
.st-read .ho-why { margin-bottom: 4px; }
/* the address: one frame like any field. Only the part before @ is typed in: white, as wide as what is typed (it grows), a
   dashed line under it. The @domain after it is fixed: from the @ to the frame's end a grey area, its text grey, marked
   "fixed" at the end; a click there types into the part before @. */
.ho-addr { display: flex; align-items: stretch; min-height: 48px; border: 1px solid var(--frame); background: var(--white); font-size: 16px; cursor: text; overflow: hidden; }
.ho-addr:focus-within { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.ho-addr:has([aria-invalid="true"]) { border-color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
.ho-grow { flex: none; display: flex; align-items: center; max-width: 62%; padding: 0 1px 0 14px; }
.ho-gin { position: relative; display: block; min-width: 1ch; max-width: 100%; height: 30px; }
/* the hidden copy of what is typed gives the width; the input lies over it */
.ho-gin::after { content: attr(data-v); display: block; visibility: hidden; white-space: pre; padding: 0 2px; overflow: hidden; line-height: 30px; }
.ho-local { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 2px; border: 0; border-bottom: 1.5px dashed var(--frame); background: transparent;
  font: inherit; color: var(--ink); }
.ho-local::placeholder { color: var(--soft); }
.ho-local:focus { outline: none; border-bottom: 1.5px solid var(--blue); }
.ho-at { display: flex; flex: 1 1 auto; align-items: center; gap: 10px; min-width: 0; padding: 0 10px 0 1px; background: var(--card); color: var(--mute); user-select: none; }
.ho-at-t { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ho-at.later .ho-at-t { font-style: italic; }
.ho-fixed { flex: none; margin-left: auto; padding: 2px 6px; border: 1px solid var(--rule); border-radius: 3px; background: var(--white); font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
/* on a phone the "fixed" mark sits on the frame's top edge above the grey part, so the domain keeps the whole width */
@media (max-width: 560px) {
  .ho-addr { position: relative; overflow: visible; }
  .ho-fixed { position: absolute; top: -9px; right: 10px; line-height: 14px; }
  .ho-at { padding-right: 10px; }
}
/* the thread preview's From line may wrap: the whole address must show */
.ho-ours .co-meta > span:first-child { white-space: pre-wrap; overflow-wrap: anywhere; }
.ho-later { margin-top: 2px; }
.co-fields > .ho-ff { margin-top: 18px; }
.ho-old { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .ob-f { transition: none; }
  .ob-f.open .ob-chev { animation: none; }
}
.brief > .bpart, .brief dd { min-width: 0; }

/* ---------- the brief's editor (brief.js, X 2026-11-15): Change something and Settings' Edit ----------
   The text itself in plain fields: the two paragraphs and the example grow with what is typed; each list point is a row with
   its own × to take it out and "+ Add a point" under the list. The buttons end the form; nothing is under them, and they never
   stay fixed on the screen (Patrik: the brief showed under a bar that did). */
.ob-pbody .st-brief .fact, .ob-pbody .beditor .fact { position: static; }
.st-brief .bact { margin-bottom: 0; }
.beditor { max-width: 44em; }
.bintro { margin-bottom: 18px; font-size: 15px; line-height: 1.5; color: var(--mute); text-wrap: pretty; }
.beditor .bfield + .bfield { margin-top: 22px; }
.beditor .fl { font-size: 15.5px; font-weight: 600; }
.bopt { font-weight: 400; color: var(--mute); }
textarea.bta { min-height: 72px; resize: none; overflow: hidden; }
textarea.bta.bitem { min-height: 48px; padding-top: 11px; padding-bottom: 11px; }
.blist { display: grid; gap: 8px; list-style: none; counter-reset: bp; }
.brow { display: grid; gap: 4px; counter-increment: bp; }
.brow-in { display: grid; grid-template-columns: 26px minmax(0, 1fr) 48px; align-items: start; gap: 0; }
.brow-in::before { content: counter(bp); padding-top: 13px; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.brow .fe { padding-left: 26px; }
.bdel { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--frame); border-left: 0; background: var(--white); color: var(--mute);
  font-size: 22px; line-height: 1; cursor: pointer; transition: color .15s, background-color .15s; }
@media (hover: hover) { .bdel:hover { color: var(--bad); background: var(--hover); } }
.bdel:focus-visible { outline-offset: -3px; }
.badd { justify-self: start; margin-top: 4px; min-height: 36px; padding: 0; border: 0; background: none; color: var(--blue); font-size: 15px; font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.badd:disabled { color: var(--mute); text-decoration: none; cursor: default; }
.beditor .bedit-act { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.beditor > .fsay { display: block; margin-top: 20px; }
.beditor > .fsay:empty { display: none; }
.bstatus.wait { border-style: dashed; border-color: #8a8e97; }
@media (max-width: 860px) {
  .ob-pbody .beditor .bedit-act { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 10px; }
  .ob-pbody .beditor .bedit-act .btn { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .bdel { transition: none; } }

/* ---------- Settings (settings.js, X 2026-11-15): the top as Team's, then Your brief and its versions, each framed ---------- */
.settings { padding-top: 28px; }
.settings .thead { max-width: none; }
.set-brief, .set-history { margin-top: 28px; }
.set-brief > .fr-head h2.cap, .set-history > .fr-head h2.cap { display: block; font-weight: 400; margin-bottom: 0; }
.set-brief h2:focus { outline: none; }
.set-ver { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--mute); }
.set-body { padding: 22px var(--fp) 26px; border-top: 1px solid var(--line); }
.set-read, .set-body .beditor, .set-body > .bstatus { max-width: 44em; }
.set-meta { display: grid; gap: 2px; margin-bottom: 16px; }
.set-h { font-size: 17px; font-weight: 600; }
.set-by { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--mute); }
.set-wait { margin-top: 22px; border: 1px dashed #8a8e97; }
.set-wait > summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; min-height: 48px; padding: 12px 16px;
  font-weight: 500; cursor: pointer; }
.set-wait > .brief { padding: 4px 16px 18px; }
.set-act { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.set-act .st-note { margin: 0; }
.set-hist { display: grid; gap: 0; list-style: none; }
.set-hist > li { display: grid; gap: 4px; padding: 14px 0; }
.set-hist > li + li { border-top: 1px solid var(--rule); }
.set-hist > li:first-child { padding-top: 0; }
.set-hrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.set-hv { font-weight: 500; }
.set-hchg { font-size: 15px; line-height: 1.45; color: var(--mute); text-wrap: pretty; }
@media (max-width: 560px) {
  .settings { padding-top: 18px; }
  .set-body { padding: 18px 16px 22px; }
  .set-act .btn { width: 100%; }
  .beditor .bedit-act { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 10px; }
  .beditor .bedit-act .btn { width: 100%; min-width: 0; }
}

/* (X, 2026-11-15) three places in the bar: on a phone the name menu's button is the person's initials in a ring */
.acct-btn .ini { display: none; }
@media (max-width: 560px) {
  .bar { gap: 8px; }
  .bar-left { flex: 1 1 auto; gap: 10px; }
  .nav-item { padding: 0 7px; font-size: 15.5px; }
  .nav-item[aria-current="page"]::after { left: 7px; right: 7px; }
  .who { flex: none; }
  .acct-btn { gap: 6px; padding: 0 6px; }
  .acct-btn .name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .acct-btn .ini { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--frame);
    font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
}
@media (max-width: 360px) { .brand .logo { height: 19px; } .nav-item { padding: 0 5px; } }

/* "New version available" (update.js): a small white card bottom right with the blue line down its left edge, as the
   rail on sparclip.com; on a phone a strip along the bottom with 16px at the sides. No shadow, the frame's rule. */
.upd { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: grid; grid-template-columns: 1fr auto; gap: 14px 18px; align-items: end;
  width: min(380px, calc(100vw - 32px)); padding: 18px 44px 18px 20px; border: 1px solid var(--frame); border-left: 3px solid var(--way);
  border-radius: var(--r); background: var(--white); color: var(--ink); }
.upd-words { grid-column: 1 / -1; display: grid; gap: 4px; }
.upd-title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.upd-text { font-size: 14.5px; line-height: 1.45; color: var(--mute); }
.upd-act { grid-column: 1 / -1; display: flex; justify-content: flex-start; }
.upd-go { min-height: 40px; padding: 0 18px; font-size: 15px; }
.upd-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px;
  background: none; color: var(--mute); font-size: 22px; line-height: 1; cursor: pointer; }
@media (hover: hover) { .upd-x:hover { background: var(--hover); color: var(--ink); } }
.upd-x:focus-visible { outline-offset: -2px; }
@media (max-width: 560px) {
  .upd { right: 16px; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: auto; }
  .upd-go { flex: 1 1 100%; min-height: 44px; }
}
@media print { .upd { display: none; } }

/* (2026-11-18) where we write from: the client's sending domains, one row each with its mailboxes under it. A domain
   flagged as spam is crossed out in the ink red and greyed; its replacement stands right under it, indented on the line. */
.fr.domains .dintro { padding: 20px var(--fp) 16px; max-width: 34em; font-size: 15px; color: var(--mute); text-wrap: pretty; }
.fr.domains .list { border-top: 1px solid var(--line); }
.drow { display: flex; align-items: flex-start; gap: 14px; padding: 18px var(--fp); }
.drow.instead { position: relative; padding-left: calc(var(--fp) + 26px); }
.list li.drow.instead { border-top: 0; }
.drow.instead::before { content: ""; position: absolute; left: calc(var(--fp) + 5px); top: 0; width: 19px; height: 30px; border-left: 1px solid var(--way); border-bottom: 1px solid var(--way); }
.dmk { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 12px; margin-top: 6px; border-radius: 2px;
  font-size: 12px; font-weight: 600; line-height: 1; }
.dmk.sending { background: var(--blue); }
.dmk.warming, .dmk.ready { box-shadow: inset 0 0 0 1.5px #8a8e97; }
.dmk.paused, .dmk.setting_up { background: var(--rule); }
.dmk.flagged { color: var(--bad); }
.drow.flagged .lname b { color: var(--mute); text-decoration: line-through; text-decoration-color: var(--bad); }
.dsays { font-size: 15px; color: var(--ink); text-wrap: pretty; }
.drow.flagged .dsays { color: var(--bad); }
.dboxes { list-style: none; display: grid; gap: 2px; margin-top: 6px; }
.list .dboxes li + li { border-top: 0; }
.dboxes li { display: flex; flex-wrap: wrap; gap: 0 .8em; font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: var(--mute); }
.dbox { color: var(--ink); overflow-wrap: anywhere; }
.drow.flagged .dbox { color: var(--mute); }
.drow .lname .tag { height: auto; min-height: 22px; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .fr.domains .sgrid.flip { grid-template-columns: minmax(0, 1fr); }
  .drow.instead { padding-left: calc(var(--fp) + 18px); }
  .drow.instead::before { width: 11px; }
}

/* ---------- Notices (notices.js, K04, migration 184): the top as Settings', then the list; each Notice a row that opens to its whole
   text. The number and section stand in mono on the left as on a filed letter; the text keeps Patrik's line breaks. ---------- */
.notices { padding-top: 28px; }
.notices .thead { max-width: none; }
.nt-all { margin-top: 28px; }
.nt-all > .fr-head h2.cap { display: block; font-weight: 400; margin-bottom: 0; }
.nt-how { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--mute); }

.nt-empty { display: grid; gap: 6px; max-width: 40em; padding: 24px var(--fp) 28px; }
.nt-empty-h { font-size: 17px; font-weight: 600; }
.nt-list { list-style: none; }
.nt-list > li + li { border-top: 1px solid var(--rule); }
.nt > summary { list-style: none; }
.nt > summary::-webkit-details-marker { display: none; }
.nt-sum { display: grid; grid-template-columns: 11em minmax(0, 1fr) auto 14px; align-items: baseline; gap: 6px 24px; min-height: 60px;
  padding: 18px var(--fp); cursor: pointer; }
@media (hover: hover) { .nt-sum:hover { background: var(--card); } }
.nt-sum:focus-visible { outline-offset: -2px; }
.nt-no { display: grid; gap: 2px; }
.nt-num { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--ink); }
.nt-sec { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.nt-subj { font-size: 17px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; text-wrap: pretty; }
.nt-date { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--mute); white-space: nowrap; }
.nt-chev { align-self: center; width: 7px; height: 7px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute);
  transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.nt[open] .nt-chev { transform: translateY(2px) rotate(-135deg); }
.nt[open] > .nt-sum { padding-bottom: 6px; }
.nt-open { display: grid; gap: 16px; padding: 4px var(--fp) 28px calc(var(--fp) + 11em + 24px); }
.nt-meta { display: flex; flex-wrap: wrap; gap: 2px 1.4em; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--mute); }
.nt-text { display: grid; gap: 12px; max-width: 40em; padding-left: 18px; border-left: 1px solid var(--way); }
.nt-text p { font-size: 16px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { .nt-chev { transition: none; } }
@media (max-width: 860px) {
  .nt-sum { grid-template-columns: minmax(0, 1fr) 14px; grid-template-areas: "no chev" "subj subj" "date date"; gap: 4px 12px; }
  .nt-no { grid-area: no; display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; }
  .nt-subj { grid-area: subj; }
  .nt-date { grid-area: date; }
  .nt-chev { grid-area: chev; }
  .nt-open { padding: 4px var(--fp) 24px; }
}
@media (max-width: 560px) {
  .notices { padding-top: 18px; }
  .nt-sum { padding: 16px 16px; }
  .nt-open { padding: 4px 16px 22px; }
  .nt-empty { padding: 20px 16px 24px; }
  .nt-text { padding-left: 14px; }
}

/* ---------- the Order (K07, order.js): the fourth step of the onboarding and its documents on a page of their own ----------
   The Order is a framed sheet with the invoice picture beside it; under it the six boxes of Terms 18.1, each under the full text
   it covers in a grey box with its own scroll bar, in the landing's serif; the state of the team and Accept the Order at the foot.
   A lapsed Order is a red frame; a draft text a red stripe. */
.tag.bad { background: var(--bad); color: #fff; }
.ob-f[data-state="bad"] { border-color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
.ob-f[data-state="bad"] .ob-mark { box-shadow: inset 0 0 0 2px var(--bad); }
.ob-f[data-state="bad"] .ob-mark::after { content: ""; position: absolute; left: 9px; top: 4px; width: 2px; height: 12px; background: var(--bad); transform: rotate(45deg); }
.ob-f[data-state="bad"] .ob-mark::before { content: ""; position: absolute; left: 9px; top: 4px; width: 2px; height: 12px; background: var(--bad); transform: rotate(-45deg); }
.ob-pbody.ob-p-order { padding-bottom: 0; }
.ob-order { display: grid; gap: 18px; padding-bottom: 4px; }
.od-draft { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 9px 14px; border-left: 4px solid var(--bad); background: #fbeeee;
  font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.od-draft b { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--bad); }
.od-state { display: grid; gap: 4px; padding: 13px 16px 14px; border: 1px solid var(--line); font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.od-state.ok { grid-template-columns: 20px minmax(0, 1fr); gap: 0 14px; align-items: start; }
.od-state.ok .pay-tick { margin-top: 3px; }
.od-state.bad { border-color: var(--bad); box-shadow: inset 4px 0 0 var(--bad); background: #fff7f7; }
.od-state-h { font-size: 16.5px; font-weight: 500; }
.od-state.bad .od-state-h { color: var(--bad); }
.od-state p + p { margin-top: 2px; }
.od-copyp { margin-top: 8px; }
.od-copy { color: var(--blue); font-weight: 500; text-underline-offset: 3px; }

.od-sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); }
.od-price { display: grid; align-content: start; gap: 8px; padding: 16px 18px 18px; }
.od-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.od-big { font-size: 46px; line-height: 1; }
.od-wt { font-size: 17px; font-weight: 500; }
.od-tax { font-size: 14.5px; line-height: 1.4; color: var(--mute); text-wrap: pretty; }
.od-pic { position: relative; min-width: 0; height: 190px; border-left: 1px solid var(--line); overflow: hidden; }
.od-pic > .scene.inline { inset: 0; }
.od-dl { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.od-dl .od-row { display: grid; align-content: start; gap: 4px; min-width: 0; padding: 12px 18px 13px; border-bottom: 1px solid var(--rule); }
.od-dl .od-row:nth-child(3n + 2), .od-dl .od-row:nth-child(3n + 3) { border-left: 1px solid var(--rule); }
.od-dl .od-row.wide { grid-column: 1 / -1; border-left: 0; border-bottom: 0; }
.od-row dd { display: grid; gap: 3px; min-width: 0; }
.od-v { font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.od-v.mono { font-family: var(--mono); font-size: 15px; letter-spacing: .05em; }
.od-v.soft { color: var(--mute); }
.od-row.wide .od-v { font-family: var(--serif); font-size: 21px; font-weight: 360; font-variation-settings: "wdth" 92; letter-spacing: -.01em; line-height: 1.2; }
.od-note { font-size: 13.5px; line-height: 1.4; color: var(--mute); text-wrap: pretty; }

.od-docs { display: grid; gap: 8px; }
.od-doclist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; }
.od-doclink { display: grid; align-content: space-between; gap: 6px; height: 100%; padding: 10px 14px 11px; border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, background-color .15s; }
@media (hover: hover) { .od-doclink:hover { border-color: var(--blue); background: #f5f7ff; } }
.od-dt { font-size: 15px; font-weight: 500; line-height: 1.3; }
.od-doclink .od-dt { color: var(--blue); }
.od-dver { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--mute); }

.od-agree { display: grid; gap: 10px; }
.od-agree-h { font-size: 14.5px; color: var(--mute); }
.od-boxes { display: grid; gap: 14px; list-style: none; counter-reset: none; }
.od-box { display: grid; gap: 10px; padding: 14px 16px 16px; border: 1px solid var(--line); background: var(--paper); }
.od-box:has(.od-check:checked) { border-color: var(--ink); }
.od-bh { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; line-height: 1.3; }
.od-bn { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--firm);
  font-family: var(--mono); font-size: 12px; font-weight: 500; }
.od-box:has(.od-check:checked) .od-bn { background: var(--ink); color: #fff; box-shadow: none; }
.od-text { max-height: 280px; overflow: auto; overscroll-behavior: contain; padding: 14px 18px 16px; border: 1px solid var(--rule); background: var(--card); }
.od-text:focus-visible { outline-offset: -2px; }
.od-full { display: grid; gap: 8px; }
.od-doc { border: 1px solid var(--rule); background: var(--card); }
.od-doc > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; align-items: center; gap: 4px 12px; padding: 11px 14px; cursor: pointer; list-style: none; }
.od-doc > summary::-webkit-details-marker { display: none; }
.od-doc[open] > summary { border-bottom: 1px solid var(--rule); }
.od-doc > .od-text { max-height: 340px; border: 0; }
.od-chev { width: 8px; height: 8px; border-right: 1.5px solid var(--mute); border-bottom: 1.5px solid var(--mute); transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
details[open] > summary .od-chev { transform: translateY(2px) rotate(-135deg); }
.od-tick { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 4px 0 0; cursor: pointer; font-size: 15.5px; line-height: 1.45; text-wrap: pretty; }
.od-check { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.od-check:disabled, .od-check:disabled + .od-sent { cursor: default; }
.od-pre { font-weight: 500; }
.od-agreed { border: 1px solid var(--line); }
.od-agreed > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; }
.od-agreed > summary::-webkit-details-marker { display: none; }
.od-agreed > .od-agree { padding: 0 16px 16px; }

.od-team { max-width: 36em; }
.od-rsel { display: flex; width: min(100%, 22em); }
.od-rsel select.od-sel { width: 100%; height: 48px; min-height: 48px; padding: 0 36px 0 14px; border-radius: 0; font-size: 16px; }
.od-warn { padding: 10px 14px; border: 1px dashed var(--bad); font-size: 14.5px; line-height: 1.45; text-wrap: pretty; }
.od-warn .quiet { padding: 0; font-size: 14.5px; }
.ob-pbody .od-act { margin-top: 0; }
.od-need { flex: 1 1 14em; min-width: 0; font-size: 14.5px; line-height: 1.4; color: var(--mute); }
.od-need.ready { color: var(--ink); }
.fsay .quiet { padding: 0; font-size: inherit; }
.pay-first { display: grid; gap: 4px; max-width: 36em; padding: 14px 16px; border: 1px dashed var(--frame); font-size: 15.5px; line-height: 1.45; text-wrap: pretty; }
.ob-pay-first { display: grid; gap: 14px; padding: 18px var(--fp) 22px; }
.ob-pay-first .fact { margin-top: 0; position: static; padding: 0; }

/* the texts: the landing's serif for the words, the clause numbers and headings in the app's sans */
.lx { font-family: var(--serif); font-size: 15.5px; line-height: 1.6; font-variation-settings: "wdth" 96; color: var(--ink); overflow-wrap: break-word; }
.lx > * + * { margin-top: .7em; }
.lx b { font-weight: 600; }
.lx-h { font-family: var(--sans); font-weight: 500; line-height: 1.3; letter-spacing: 0; }
.lx-h1 { font-size: 19px; }
.lx-h2 { font-size: 16.5px; }
.lx > .lx-h2:not(:first-child) { margin-top: 1.4em; }
.lx-h3 { font-size: 15.5px; }
.lx > .lx-h3:not(:first-child) { margin-top: 1.1em; }
.lx-no { font-family: var(--sans); font-weight: 500; font-size: .94em; }
.lx-list { display: grid; gap: .35em; padding-left: 1.2em; list-style: none; }
.lx-list li { position: relative; }
.lx-list:not(.lx-num) li::before { content: ""; position: absolute; left: -1em; top: .72em; width: 5px; height: 5px; border-radius: 1px; background: var(--firm); }
.lx-list.lx-num { padding-left: 0; }
.lx-n { font-family: var(--sans); font-weight: 500; }
.lx-table { overflow-x: auto; }
.lx-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.lx-table th, .lx-table td { padding: 8px 10px; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.lx-table th { font-family: var(--sans); font-weight: 500; background: var(--white); }
.lx-table td { background: var(--white); }

/* one document on its own page */
.legal { padding-top: 28px; }
.legal .thead { max-width: none; }
.lx-sha { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 14px; }
.lx-sha-v { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--mute); overflow-wrap: anywhere; min-width: 0; }
.lx-others { margin-top: 12px; font-size: 15px; color: var(--mute); }
.lx-others a { color: var(--blue); text-underline-offset: 3px; }
.lx-all { margin-top: 28px; }
.lx-all > .fr-head h2.cap { display: block; font-weight: 400; margin-bottom: 0; }
.lx-grid { display: grid; grid-template-columns: minmax(12em, 17em) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.lx-toc { position: sticky; top: 0; align-self: start; max-height: 100svh; overflow: auto; padding: 22px 18px 24px var(--fp); border-right: 1px solid var(--line); }
.lx-toc > .cap { display: block; margin-bottom: 10px; }
.lx-toc ol { display: grid; gap: 2px; list-style: none; }
.lx-go { display: block; width: 100%; padding: 5px 0; border: 0; background: none; color: var(--mute); font-size: 14px; line-height: 1.35; text-align: left; cursor: pointer; }
@media (hover: hover) { .lx-go:hover { color: var(--blue); } }
.lx-page { max-width: 44em; padding: 22px var(--fp) 40px; font-size: 17px; line-height: 1.65; }
.lx-page .lx-h1 { font-size: 22px; }
.lx-page .lx-h2 { font-size: 19px; scroll-margin-top: 16px; }
.lx-page .lx-h3 { font-size: 17px; scroll-margin-top: 16px; }

@media (max-width: 860px) {
  .od-sheet { grid-template-columns: minmax(0, 1fr); }
  .od-pic { order: -1; height: clamp(140px, 40vw, 220px); border-left: 0; border-bottom: 1px solid var(--line); }
  .od-dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .od-dl .od-row:nth-child(3n + 2), .od-dl .od-row:nth-child(3n + 3) { border-left: 0; }
  .od-dl .od-row:nth-child(2n) { border-left: 1px solid var(--rule); }
  .od-dl .od-row.wide { border-left: 0; }
  .od-doclist { grid-template-columns: minmax(0, 1fr); }
  .lx-grid { grid-template-columns: minmax(0, 1fr); }
  .lx-toc { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); }
  .lx-toc ol { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
}
@media (max-width: 560px) {
  .ob-pbody.ob-p-order { padding-left: 12px; padding-right: 12px; }
  .od-dl { grid-template-columns: minmax(0, 1fr); }
  .od-dl .od-row { grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); gap: 2px 12px; align-items: baseline; border-left: 0 !important; }
  .od-dl .od-row.wide { grid-template-columns: minmax(0, 1fr); }
  .od-dl .od-row, .od-price { padding: 11px 14px 12px; }
  .od-box { padding: 14px 0 4px; border: 0; border-top: 1px solid var(--line); background: none; }
  .od-box:has(.od-check:checked) { border-color: var(--line); }
  .od-boxes { gap: 10px; }
  .od-doc > summary { grid-template-columns: minmax(0, 1fr) 14px; padding: 10px 12px; }
  .od-doc > summary .od-dver { grid-row: 2; }
  .od-doc > summary .od-chev { grid-column: 2; grid-row: 1 / span 2; }
  .od-big { font-size: 40px; }
  .od-box { padding: 12px 12px 14px; }
  .od-text { max-height: 52svh; padding: 12px 12px 14px; }
  .od-doc > .od-text { max-height: 56svh; }
  .lx { font-size: 15.5px; }
  .lx-table thead { display: none; }
  .lx-table table, .lx-table tbody, .lx-table tr, .lx-table td { display: block; width: 100%; }
  .lx-table tr + tr { margin-top: 10px; }
  .lx-table td + td { border-top: 0; }
  .lx-table td::before { content: attr(data-h); display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
  .legal { padding-top: 18px; }
  .lx-page { padding: 18px 16px 32px; font-size: 16px; }
  .lx-toc { padding: 18px 16px 18px; }
  .lx-toc ol { grid-template-columns: minmax(0, 1fr); }
  .ob-pay-first { padding: 16px 16px 20px 38px; }
}
@media (prefers-reduced-motion: reduce) { .od-chev, .od-doclink { transition: none; } }
