/* One family, Archivo, with its width axis doing the work: wide and heavy for figures and questions,
   normal for reading, narrow for labels. Colours: endorsing-ink blue-black, cool form paper, a stamp violet for
   actions, and one colour per place a request can stand. */
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
:root {
  --field: #101b3a; --field-2: #18264d; --paper: #edf2f4; --sheet: #fff; --ink: #101b3a; --soft: #56607a; --line: #d3dbe3;
  --violet: #5b4be0; --violet-2: #4636c4; --tint: #e9e6ff;
  --removed: #19a974; --none: #6fd6c4; --waiting: #4c8dff; --late: #ffb020; --denied: #f0453a; --you: #ff7fb6; --queued: #9aa6c4; --bounced: #b98a5e;
  --wide: "Archivo", system-ui, sans-serif;
  --hair: rgba(16, 27, 58, .08);
  --lift-1: 0 1px 2px rgba(16, 27, 58, .06);
  --lift-2: 0 1px 2px rgba(16, 27, 58, .05), 0 10px 28px -12px rgba(16, 27, 58, .18);
  --glow: radial-gradient(1100px 520px at 88% -18%, rgba(91, 75, 224, .38), transparent 62%), radial-gradient(760px 420px at -10% 120%, rgba(25, 169, 116, .17), transparent 60%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { background: var(--paper); color-scheme: light; }
body { margin: 0; color: var(--ink); font: 420 16px/1.5 var(--wide); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
a { color: var(--violet-2); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .15s var(--ease); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; font-weight: 800; font-stretch: 118%; letter-spacing: -.015em; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); } h2 { font-size: 1.3rem; margin-top: 1.8em; } h3 { font-size: 1.02rem; font-stretch: 108%; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; } small, .soft { color: var(--soft); }
code, .ref { font: 600 .86em var(--wide); font-stretch: 78%; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
hr { border: 0; border-top: 1px solid var(--line); margin: .8rem 0; }
:focus-visible { outline: 3px solid var(--late); outline-offset: 2px; border-radius: .3rem; }
::selection { background: var(--tint); color: var(--ink); }

/* ---- top bar and navigation ---- */
.top { background: var(--field); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem clamp(1rem, 4vw, 2.5rem); }
.top nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; font-size: .95rem; }
.top nav a { color: #dfe5f5; text-decoration: none; transition: color .15s var(--ease); } .top nav a:hover { color: #fff; }
.top .who { color: #9fabc9; font-size: .9rem; } .top button.link { color: #dfe5f5; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-stretch: 122%; font-size: 1.1rem; letter-spacing: -.01em; color: #fff; text-decoration: none; }
.mark { width: 1.6rem; height: 1.6rem; flex: none; display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.mark .g { fill: var(--removed); } .mark .b { fill: var(--waiting); } .mark .a { fill: var(--late); } .mark .o { fill: none; stroke: #fff; stroke-opacity: .4; stroke-width: 1.1; }
@media (prefers-reduced-motion: no-preference) { .brand .mark { transition: transform .3s var(--ease); } .brand:hover .mark { transform: rotate(-6deg) scale(1.06); } }
.tabs { background: var(--field); padding: 0 clamp(1rem, 4vw, 2.5rem); display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; }
.tabs a { color: #b8c2dc; text-decoration: none; padding: .7rem .85rem; transition: color .15s var(--ease), background-color .15s var(--ease); white-space: nowrap; font-stretch: 92%; font-weight: 560; border-radius: .6rem .6rem 0 0; display: flex; gap: .45rem; align-items: center; }
.tabs a:hover { color: #fff; background: rgba(255,255,255,.05); } .tabs a.on { background: var(--paper); color: var(--ink); box-shadow: 0 -1px 0 rgba(255,255,255,.12); }
.tabs .gap { flex: 1; min-width: 1rem; }
.badge { background: var(--you); color: var(--field); box-shadow: 0 0 0 2px rgba(255,127,182,.18); font: 800 .72rem/1 var(--wide); padding: .22rem .45rem; border-radius: 1rem; font-variant-numeric: tabular-nums; }
.page { max-width: 72rem; margin: 0 auto; padding: 1.75rem clamp(1rem, 4vw, 2.5rem) 4rem; min-width: 0; }
.page.read { max-width: 50rem; }
.foot { padding: 1.6rem clamp(1rem, 4vw, 2.5rem) 2.5rem; color: var(--soft); font-size: .86rem; max-width: 72rem; margin: 1rem auto 0; border-top: 1px solid var(--line); }
.foot .brand { color: var(--ink); font-size: 1rem; margin-bottom: .8rem; } .foot .mark { filter: none; width: 1.35rem; height: 1.35rem; } .foot .mark .o { stroke: var(--queued); stroke-opacity: 1; }

/* ---- buttons and forms ---- */
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(70,54,196,.45), 0 6px 16px -6px rgba(91,75,224,.6); transition: transform .12s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease); }
button.link { background: none; border: 0; padding: 0; color: var(--violet-2); text-decoration: underline; text-underline-offset: 3px; }
form.inline { display: inline; } .row { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
label:not([class*="rz-"]) { display: block; font-weight: 650; margin: .9rem 0 .25rem; } label.check { font-weight: 420; display: flex; gap: .6rem; align-items: flex-start; }
label:not([class*="rz-"]) small { font-weight: 420; display: block; }
input[type=text]:not([class*="rz-"]), input[type=email]:not([class*="rz-"]), input[type=password]:not([class*="rz-"]), input[type=number]:not([class*="rz-"]), input[type=search]:not([class*="rz-"]), select:not([class*="rz-"]), textarea:not([class*="rz-"]) {
  width: 100%; max-width: 30rem; padding: .6rem .75rem; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: .6rem; box-shadow: var(--lift-1); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
input:not([class*="rz-"]):hover, select:not([class*="rz-"]):hover, textarea:not([class*="rz-"]):hover { border-color: #b9c4d0; }
input:not([class*="rz-"]):focus, select:not([class*="rz-"]):focus, textarea:not([class*="rz-"]):focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 3px var(--tint); }
textarea:not([class*="rz-"]) { max-width: none; min-height: 8rem; font-size: .92rem; }
input[type=checkbox]:not([class*="rz-"]) { width: 1.15rem; height: 1.15rem; margin-top: .18rem; accent-color: var(--violet); flex: none; }

/* ---- sheets, lists, tables ---- */
.pledge { background: var(--tint); padding: .7rem 1rem; border-radius: .7rem; max-width: 44rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: .7rem; margin: 0 0 1.2rem; }
.tile { background: var(--sheet); border-radius: 1rem; padding: .85rem 1rem; text-decoration: none; color: inherit; box-shadow: 0 0 0 1px var(--hair), var(--lift-1); transition: box-shadow .15s var(--ease), transform .15s var(--ease); } a.tile:hover { box-shadow: 0 0 0 1px var(--hair), var(--lift-2); transform: translateY(-1px); }
.tile b { display: block; font: 800 1.9rem/1.05 var(--wide); font-stretch: 122%; font-variant-numeric: tabular-nums; } .tile span { color: var(--soft); font-size: .88rem; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: .6rem 0 .6rem 2.5rem; position: relative; border-top: 1px solid var(--line); } .steps li:first-child { border-top: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: .6rem; width: 1.6rem; height: 1.6rem; border-radius: .45rem; background: linear-gradient(180deg, var(--field-2), var(--field)); box-shadow: 0 2px 6px -2px rgba(16,27,58,.5); color: #fff; font: 800 .8rem/1.6rem var(--wide); text-align: center; }
table:not([class*="rz-"]) { width: 100%; border-collapse: collapse; font-size: .94rem; }
table:not([class*="rz-"]) th, table:not([class*="rz-"]) td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table:not([class*="rz-"]) th { font-size: .76rem; color: var(--soft); font-weight: 700; font-stretch: 86%; text-transform: uppercase; letter-spacing: .05em; }
table:not([class*="rz-"]) tbody tr { transition: background-color .12s var(--ease); } table:not([class*="rz-"]) tbody tr:hover td { background: #f6f8fb; }
.scroll { overflow-x: auto; }
.pill { display: inline-block; font-size: .78rem; font-weight: 650; font-stretch: 88%; padding: .12rem .62rem; border-radius: 1rem; background: #e8ecf2; box-shadow: inset 0 0 0 1px rgba(16,27,58,.06); white-space: nowrap; }
.pill.good { background: #d8f3e7; color: #0d6b48; } .pill.warn { background: #ffe9bf; color: #7a4d00; } .pill.bad { background: #fde0dd; color: #8f1d15; }
pre.letter { white-space: pre-wrap; overflow-wrap: anywhere; background: #f6f8fa; box-shadow: inset 0 0 0 1px var(--hair); border-radius: .7rem; padding: 1rem; font: 420 .9rem/1.55 var(--wide); max-height: 26rem; overflow: auto; margin: .6rem 0; }
details > summary { cursor: pointer; color: var(--violet-2); font-weight: 600; } .log { font-size: .88rem; line-height: 1.6; color: var(--soft); padding: .9rem 1.2rem; list-style: none; font-variant-numeric: tabular-nums; background: var(--sheet); border-radius: 1rem; box-shadow: 0 0 0 1px var(--hair), var(--lift-1); }
.log li { position: relative; padding: .28rem 0 .28rem 1.2rem; } .log li::before { content: ""; position: absolute; left: .1rem; top: .78rem; width: .42rem; height: .42rem; border-radius: 2px; background: var(--queued); }
.log li:first-child::before { background: var(--violet); } .card .log { box-shadow: none; padding: 0; background: none; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
.price b { font: 800 2rem var(--wide); font-stretch: 122%; } .never li { margin-bottom: .3rem; }
.dev input[type=number] { max-width: 7rem; }
.dev { background: #fff6dc; box-shadow: inset 0 0 0 1.5px dashed; outline: 1.5px dashed var(--late); outline-offset: -1.5px; }
.narrow { max-width: 30rem; margin: 2rem auto; } .gap { margin-top: 1rem; } .right { text-align: right; } .nowrap { white-space: nowrap; }
.split { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }

/* ---- the field: the dark ground the roster and the questions sit on ---- */
.field { background: var(--glow), linear-gradient(180deg, var(--field-2), var(--field) 60%); color: #fff; border-radius: 1.4rem; padding: clamp(1.2rem, 3vw, 2.2rem); margin-bottom: 1.2rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 18px 40px -22px rgba(16,27,58,.7); }
.field h1 { font-size: clamp(1.6rem, 3.8vw, 2.9rem); max-width: 22ch; } .field h1 b { color: var(--removed); font-weight: 800; }
.field p { color: #c9d2e8; } .field a { color: #fff; }
.hero { border-radius: 0; margin: 0; padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem); background: radial-gradient(900px 600px at 82% 38%, rgba(91, 75, 224, .3), transparent 65%), radial-gradient(700px 420px at -5% 105%, rgba(25, 169, 116, .15), transparent 60%), var(--field); box-shadow: none; }
.hero > div { max-width: 72rem; margin: 0 auto; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 4rem); max-width: 18ch; }
.hero .pledge { background: rgba(255,255,255,.06); color: #dfe5f5; box-shadow: inset 3px 0 0 var(--removed), inset 0 0 0 1px rgba(255,255,255,.08); }
.pledge { box-shadow: inset 3px 0 0 var(--violet); }

/* the roster: one tile per broker, coloured by where your request stands */
.roster { display: block; width: 100%; height: auto; margin: 1.2rem 0 .9rem; }
/* still to do: clear glass set into the field */
.roster .glass { fill: url(#rw-pane); stroke: url(#rw-edge); stroke-width: 1; transition: stroke .12s var(--ease), fill .12s var(--ease); }
/* lit: raised, glossy glass; one shadow for the whole group keeps it cheap to draw */
/* glass: the colour is a tint the field shows through, with a sheen, a lit rim and a highlight on top (RosterWall.razor) */
.roster .lit-tiles { filter: drop-shadow(0 1.2px 1.4px rgba(4, 9, 28, .5)); }
.roster .body { fill-opacity: .8; }
.roster .sheen { fill: url(#rw-sheen); pointer-events: none; }
.roster .rim { fill: none; stroke: url(#rw-rim); stroke-width: .7; pointer-events: none; }
.roster .spec { fill: #fff; fill-opacity: .55; pointer-events: none; }
.roster .tile { transition: filter .15s var(--ease); }
.roster .s-removed { fill: var(--removed); stroke: none; } .roster .s-none { fill: var(--none); stroke: none; } .roster .s-waiting { fill: var(--waiting); stroke: none; }
.roster .s-late { fill: var(--late); stroke: none; } .roster .s-denied { fill: var(--denied); stroke: none; } .roster .s-you { fill: var(--you); stroke: none; }
.roster .s-queued { fill: var(--queued); stroke: none; } .roster .s-bounced { fill: var(--bounced); stroke: none; } .roster .glass.s-skipped { stroke: rgba(255,255,255,.07); fill: none; }
.roster a:hover .lit, .roster a:focus .lit { filter: brightness(1.18) saturate(1.1); }
.roster a:hover .glass, .roster a:focus .glass { stroke: #fff; stroke-opacity: .8; fill: rgba(255,255,255,.12); }
@media (prefers-reduced-motion: no-preference) {
  .roster .lit { animation: stamp .5s cubic-bezier(.2, 1.4, .4, 1) backwards; }
  .roster .w1 { animation-delay: .08s; } .roster .w2 { animation-delay: .16s; } .roster .w3 { animation-delay: .24s; } .roster .w4 { animation-delay: .32s; }
  .roster .w5 { animation-delay: .4s; } .roster .w6 { animation-delay: .48s; } .roster .w7 { animation-delay: .56s; } .roster .w8 { animation-delay: .64s; } .roster .w9 { animation-delay: .72s; }
  @keyframes stamp { from { opacity: 0; transform: scale(.2); } }
  .roster .tile { transform-box: fill-box; transform-origin: center; }
}
.key { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; list-style: none; padding: 0; margin: 0; font-size: .9rem; color: #c9d2e8; font-stretch: 92%; }
.key li { display: flex; align-items: center; gap: .45rem; } .key b { color: #fff; font-variant-numeric: tabular-nums; }
.sw { width: .8rem; height: .8rem; border-radius: 3px; flex: none; background-image: radial-gradient(120% 120% at 28% 12%, rgba(255,255,255,.5), rgba(255,255,255,.12) 45%, rgba(255,255,255,0));
  box-shadow: inset 0 0 0 .7px rgba(255,255,255,.45), inset 0 1px 0 rgba(255,255,255,.7), 0 1px 1.5px rgba(4,9,28,.35); }
.sw.s-removed { background-color: color-mix(in srgb, var(--removed) 80%, transparent); } .sw.s-none { background-color: color-mix(in srgb, var(--none) 80%, transparent); } .sw.s-waiting { background-color: color-mix(in srgb, var(--waiting) 80%, transparent); } .sw.s-late { background-color: color-mix(in srgb, var(--late) 80%, transparent); }
.sw.s-denied { background-color: color-mix(in srgb, var(--denied) 80%, transparent); } .sw.s-you { background-color: color-mix(in srgb, var(--you) 80%, transparent); } .sw.s-queued { background-color: color-mix(in srgb, var(--queued) 80%, transparent); } .sw.s-bounced { background-color: color-mix(in srgb, var(--bounced) 80%, transparent); } .sw.s-todo { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }

/* the ledger: where every sent request stands, to scale */
.ledger { background: var(--sheet); border-radius: 1.4rem; padding: clamp(1rem, 2.5vw, 1.6rem); margin-bottom: 1.2rem; box-shadow: 0 0 0 1px var(--hair), var(--lift-2); }
.ledger svg { display: block; width: 100%; height: 2.4rem; border-radius: .7rem; }
.ledger .s-removed, .chart .s-removed { fill: var(--removed); } .ledger .s-none { fill: var(--none); } .ledger .s-waiting, .chart .s-waiting { fill: var(--waiting); } .ledger .s-late { fill: var(--late); }
.ledger .s-denied { fill: var(--denied); } .ledger .s-you { fill: var(--you); } .ledger .s-bounced { fill: var(--bounced); } .ledger .s-empty { fill: var(--paper); }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.6rem, 1fr)); gap: 1rem 1.2rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.figures li { min-width: 0; } .figures a { color: inherit; text-decoration: none; display: block; border-radius: .8rem; padding: .5rem .55rem; margin: -.5rem -.55rem; transition: background-color .15s var(--ease); } .figures a:hover { background: #f4f6fa; }
.figures b { display: block; font: 800 clamp(1.9rem, 3.4vw, 2.7rem)/1 var(--wide); font-stretch: 125%; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.figures span { display: flex; align-items: center; gap: .4rem; margin-top: .35rem; font-size: .9rem; font-weight: 600; font-stretch: 88%; }
.figures small { display: block; font-size: .8rem; font-stretch: 88%; line-height: 1.3; margin-top: .1rem; }
.figures .lead b { color: var(--violet); }
.two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.chart { display: block; width: 100%; height: auto; }
.chart .bar-sent { fill: var(--violet); } .chart .bar-answered { fill: var(--waiting); } .chart .bar-removed { fill: var(--removed); }
.chart .axis { stroke: var(--line); stroke-width: 1; } .chart text { font: 600 11px var(--wide); font-stretch: 80%; fill: var(--soft); } .chart text.n { fill: var(--ink); font-weight: 700; }
.needs { list-style: none; margin: 0; padding: 0; } .needs li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .65rem 0; border-top: 1px solid var(--line); } .needs li:first-child { border-top: 0; }
.needs b { font: 800 1.4rem/1 var(--wide); font-stretch: 122%; font-variant-numeric: tabular-nums; min-width: 2.2rem; }
.needs span { flex: 1; }

/* ---- the questions: one at a time, on the dark field ---- */
body.asking { background: var(--field); }
.ask { background: var(--glow), var(--field); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: #fff; padding: clamp(1rem, 3vw, 2rem) clamp(1.1rem, 5vw, 4rem); }
.ask header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ask header a { color: #b8c2dc; text-decoration: none; font-size: .95rem; } .ask header .brand { color: #fff; font-size: 1.1rem; }
.ask main { flex: 1; display: flex; align-items: center; padding: 2.5rem 0; }
.wizard { width: 100%; max-width: 46rem; }
@media (prefers-reduced-motion: no-preference) {
  .q.on { animation: q-in .45s ease both; }
  @keyframes q-in { from { opacity: 0; transform: translateY(14px); } }
}
.q h1 { font-size: clamp(1.9rem, 5vw, 3.4rem); font-stretch: 122%; max-width: 16ch; margin-bottom: .35em; }
.q > p { color: #c9d2e8; font-size: 1.05rem; max-width: 52ch; }
/* Radzen's fields, drawn as a line to write on */
.ask .q {
  --rz-input-background-color: transparent; --rz-input-hover-background-color: transparent; --rz-input-focus-background-color: transparent;
  --rz-input-border: 0; --rz-input-hover-border: 0; --rz-input-focus-border: 0;
  --rz-input-border-block-end: 2.5px solid rgba(255,255,255,.35); --rz-input-hover-border-block-end: 2.5px solid rgba(255,255,255,.6); --rz-input-focus-border-block-end: 2.5px solid var(--late);
  --rz-input-shadow: none; --rz-input-hover-shadow: none; --rz-input-focus-shadow: none; --rz-input-border-radius: 0;
  --rz-input-value-color: #fff; --rz-input-placeholder-color: rgba(255,255,255,.32); --rz-input-height: auto;
}
.ask .q .ask-field:focus-visible, .ask .q .ask-field :focus-visible { outline: none; }
.q .rz-textbox.ask-field, .q .rz-dropdown.ask-field {
  display: block; width: 100%; max-width: 34rem; height: auto; background: transparent; color: #fff; border: 0; border-bottom: 2.5px solid rgba(255,255,255,.35); border-radius: 0; box-shadow: none;
  padding: .5rem 0; font: 600 clamp(1.25rem, 3vw, 1.7rem)/1.3 var(--wide); font-stretch: 108%; transition: border-color .15s var(--ease); }
.q .rz-textbox.ask-field:hover:not(.rz-state-disabled), .q .rz-dropdown.ask-field:hover:not(.rz-state-disabled) { background: transparent; border-bottom-color: rgba(255,255,255,.6); box-shadow: none; }
.q .rz-textbox.ask-field:focus, .q .rz-dropdown.ask-field.rz-state-focused, .q .rz-dropdown.ask-field:focus-within { background: transparent; border-bottom-color: var(--late); box-shadow: none; outline: none; }
.q .rz-textbox.ask-field::placeholder { color: rgba(255,255,255,.32); }
.q .rz-dropdown.ask-field .rz-dropdown-label { color: #fff; font: inherit; padding: 0 2.2rem 0 0; background: transparent; }
.q .rz-dropdown.ask-field .rz-dropdown-label.rz-placeholder { color: rgba(255,255,255,.32); }
.q .rz-dropdown.ask-field .rz-dropdown-trigger { color: rgba(255,255,255,.7); background: transparent; }
.q .ask-label { display: block; color: #dfe5f5; font-weight: 600; margin: 1.2rem 0 .1rem; font-size: .95rem; } .q .ask-label small { color: #9fabc9; font-weight: 420; }
/* six boxes for a code, like the tiles on the wall */
.q .ask-code { margin-top: .6rem; }
.ask .q .ask-code .rz-security-code-input { width: 2.9rem; height: 3.5rem; background: rgba(255,255,255,.07); color: #fff; border: 0; border-radius: .7rem; font: 800 1.6rem/1 var(--wide); text-align: center; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28), inset 0 1px 0 rgba(255,255,255,.12); transition: box-shadow .15s var(--ease), background-color .15s var(--ease); }
.ask .q .ask-code .rz-security-code-input:hover:not(:focus) { background: rgba(255,255,255,.07); border: 0; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.ask .q .ask-code .rz-security-code-input:focus { outline: none; border: 0; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 2px var(--late); }
/* the answer buttons: white on the field, the rest quiet */
.ask .q .rz-button.ask-go { font-size: 1.05rem; padding: .75rem 1.4rem; height: auto; background: #fff; color: var(--field); border-radius: .7rem; box-shadow: 0 3px 0 rgba(255,255,255,.35), 0 10px 24px -10px rgba(0,0,0,.6); }
.ask .q .rz-button.ask-go:hover:not(.rz-state-disabled) { background: #e9e6ff; box-shadow: 0 3px 0 rgba(255,255,255,.35), 0 10px 24px -10px rgba(0,0,0,.6); }
.ask .q .rz-button.ask-go:focus-visible { outline: 2px solid var(--late); outline-offset: 3px; }
.ask .q .rz-button.ask-back { color: #c9d2e8; background: transparent; padding-inline: .4rem; font-weight: 600; }
.ask .q .rz-button.ask-back:hover:not(.rz-state-disabled) { color: #fff; background: rgba(255,255,255,.08); }
.q .rz-alert.say { max-width: 34rem; margin: 1rem 0 0; }
.q .check { display: flex; gap: .7rem; align-items: flex-start; max-width: 52ch; margin-top: 1rem; color: #dfe5f5; }
.q .check.gap { margin-top: 1.6rem; } .q .check label { margin: 0; font-weight: 420; color: #dfe5f5; cursor: pointer; } .q .check .rz-chkbox { margin-top: .15rem; flex: none; }
.q .check .rz-chkbox-box { background: transparent; border-radius: .35rem; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.q .check .rz-chkbox-box.rz-state-active { background: var(--late); box-shadow: none; } .q .check .rz-chkbox-box.rz-state-active .rzi { color: var(--field); }
.q .go { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-top: 1.8rem; }
.q button.link, .q a { color: #c9d2e8; } .q .hint { color: #9fabc9; font-size: .9rem; }
.q .pledge { background: var(--field-2); color: #dfe5f5; margin-top: 1.4rem; }
.choices { display: grid; gap: .7rem; max-width: 34rem; margin-top: 1.2rem; }
.choices .rz-button.choice, .choices a.choice { text-align: left; background: var(--field-2); color: #fff; border: 0; border-radius: .9rem; padding: .95rem 1.1rem; font-weight: 700; font-size: 1.05rem; width: 100%; display: block; text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.14); }
.choices .rz-button.choice:hover:not(.rz-state-disabled), .choices a.choice:hover { box-shadow: inset 0 0 0 2px var(--late); } .choices small { display: block; font-weight: 420; color: #b8c2dc; margin-top: .15rem; }
.or { display: flex; align-items: center; gap: .8rem; color: #9fabc9; max-width: 34rem; margin: 1.6rem 0 .2rem; font-size: .92rem; } .or::before, .or::after { content: ""; flex: 1; border-top: 1px solid rgba(255,255,255,.2); }
.ext { display: flex; flex-wrap: wrap; gap: .6rem; max-width: 34rem; } .ext a { flex: 1 1 9rem; text-align: center; color: #fff; text-decoration: none; font-weight: 650; padding: .65rem .8rem; border-radius: .6rem; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); } .ext a:hover { background: rgba(255,255,255,.1); }
.dots { display: flex; gap: 5px; margin-top: 2.2rem; } .dots i { width: 14px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); } .dots i.done { background: var(--removed); box-shadow: none; } .dots i.now { background: var(--late); box-shadow: none; }
.qr { background: #fff; border-radius: .9rem; padding: .5rem; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); width: 12.5rem; height: 12.5rem; display: block; } .qr path { fill: var(--field); }
.q > p.address, .address { font: 800 clamp(1.3rem, 4.2vw, 2.4rem)/1.15 var(--wide); font-stretch: 112%; color: var(--none); overflow-wrap: anywhere; margin: .2em 0 .5em; }
.sidebyside { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start; }
.ask .wrap { width: 100%; max-width: 46rem; } .ask button.link { color: #b8c2dc; }
.sw.bar-sent { background-color: var(--violet); } .key.soft { color: var(--soft); } .key.soft b { color: var(--ink); }
.field .row { margin-top: 1.2rem; }

/* ---- motion, kept gentle and off for people who ask for less ---- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---- Radzen, in the brand: the signed-in pages are Radzen components on the same navy, violet and paper ---- */
:root {
  --rz-text-font-family: var(--wide);
  --rz-body-background-color: var(--paper);
  --rz-base-background-color: var(--sheet);
  --rz-text-color: var(--ink);
  --rz-text-secondary-color: var(--soft);
  --rz-primary: var(--violet); --rz-primary-light: #7a6cf3; --rz-primary-lighter: var(--tint); --rz-primary-dark: var(--violet-2); --rz-primary-darker: #3427a3;
  --rz-on-primary: #fff; --rz-on-primary-lighter: var(--violet-2);
  --rz-success: var(--removed); --rz-success-lighter: #d8f3e7; --rz-on-success-lighter: #0d6b48;
  --rz-warning: var(--late); --rz-warning-lighter: #ffefcc; --rz-on-warning-lighter: #7a4d00;
  --rz-danger: var(--denied); --rz-danger-lighter: #fde0dd; --rz-on-danger-lighter: #8f1d15;
  --rz-info: var(--waiting); --rz-info-lighter: #e2ecff; --rz-on-info-lighter: #1d4fa8;
  --rz-border-radius: .6rem;
  --rz-card-border-radius: 1rem;
  --rz-card-shadow: 0 0 0 1px var(--hair), var(--lift-2);
}
.page .rz-card { margin: 0 0 1rem; }
.page .rz-card > :last-child { margin-bottom: 0; }
.page .rz-card h3:first-child, .page .rz-card h2:first-child { margin-top: 0; }
.rz-card.todo { box-shadow: inset 4px 0 0 var(--you), 0 0 0 1px var(--hair), var(--lift-2); }
.rz-card.good { box-shadow: inset 4px 0 0 var(--removed), 0 0 0 1px var(--hair), var(--lift-2); }
.rz-card.danger-zone { box-shadow: inset 4px 0 0 var(--denied), 0 0 0 1px var(--hair), var(--lift-2); }
.rz-card.dev { background: #fff6dc; box-shadow: 0 0 0 1.5px var(--late) inset; }
.rz-button { font-weight: 650; font-stretch: 102%; letter-spacing: .005em; }
.rz-button.rz-primary.rz-variant-filled:not(.rz-state-disabled) { background-image: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0)); box-shadow: 0 1px 2px rgba(70,54,196,.4), 0 6px 14px -6px rgba(91,75,224,.55); }
a.rz-button { text-decoration: none; }
.rz-badge { font-stretch: 90%; letter-spacing: .01em; text-transform: none; }
.big-badge { font-size: .85rem; padding: .3rem .8rem; }
.rz-alert { margin-bottom: 1rem; }
.rz-form-field { width: 100%; }
.rz-data-grid { border-radius: 1rem; box-shadow: 0 0 0 1px var(--hair), var(--lift-2); border: 0; overflow: hidden; margin-bottom: 1rem; }
.rz-grid-table thead th { font-stretch: 86%; text-transform: uppercase; letter-spacing: .05em; font-size: .74rem; }
.clickable .rz-data-row { cursor: pointer; }
.rz-selectbar { margin-bottom: 1rem; }
.rz-tabview { border-radius: 1rem; box-shadow: 0 0 0 1px var(--hair), var(--lift-2); background: var(--sheet); overflow: hidden; }
.rz-tabview .rz-tabview-panels { padding: 1.25rem 1.4rem; }
.rz-tabview .log { box-shadow: none; padding: 0; }
.reply + .reply { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.weeks { height: 260px; }
.gap-bottom { margin-bottom: 1rem; }
.small { font-size: .82rem; }
.page code { font-size: .92em; }
/* Radzen's theme paints a decorative picture on the page; this one is plain paper */
body { background: var(--paper); background-image: none; }
body.asking, .ask { background-image: var(--glow); }
.rz-badge { font-size: .72rem; padding: .18rem .55rem; font-weight: 650; }
/* Shown by Blazor only when the connection to an interactive page drops */
#blazor-error-ui { display: none; position: fixed; inset: auto 1rem 1rem auto; z-index: 1000; background: var(--field); color: #fff; padding: .7rem 1rem; border-radius: .7rem; box-shadow: var(--lift-2); }
#blazor-error-ui a { color: #fff; font-weight: 700; margin-left: .4rem; }
.rz-tabview-panels, .rz-tabview-panels pre.letter { color: var(--ink); }
@media (max-width: 600px) { .top .who { display: none; } .weeks { height: 230px; } }
.choices .rz-button.choice { height: auto; line-height: 1.35; } .choices .rz-button.choice .rz-button-box { display: block; text-align: left; }

/* ---- the public pages and the frame around every page, in Radzen ---- */
button { font: inherit; cursor: pointer; }
.rz-alert.flash { white-space: pre-line; margin-bottom: 1rem; }
.ask .rz-alert.flash { max-width: 40rem; }
/* a link that is a button, on the dark field: white, or a white outline */
a.rz-button.on-dark.rz-variant-filled { background: #fff; color: var(--field); box-shadow: 0 3px 0 rgba(255,255,255,.3), 0 10px 24px -10px rgba(0,0,0,.6); }
a.rz-button.on-dark.rz-variant-filled:hover { background: #e9e6ff; }
a.rz-button.on-dark.rz-variant-outlined { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); border: 0; }
a.rz-button.on-dark.rz-variant-outlined:hover { background: rgba(255,255,255,.1); }
.top nav a.rz-button { color: var(--field); } .top nav a.rz-button:hover { color: var(--field); }
.top .rz-button.sign-out, .ask header .rz-button.sign-out { color: #dfe5f5; background: transparent; }
.top .rz-button.sign-out:hover:not(.rz-state-disabled), .ask header .rz-button.sign-out:hover:not(.rz-state-disabled) { color: #fff; background: rgba(255,255,255,.08); }
.tabs .rz-badge.tab-badge { background: var(--you); color: var(--field); font: 800 .72rem/1 var(--wide); padding: .22rem .45rem; margin-left: .25rem; box-shadow: 0 0 0 2px rgba(255,127,182,.18); font-variant-numeric: tabular-nums; vertical-align: 1px; }
.page .rz-text-h4.section { margin: 2rem 0 .8rem; font-stretch: 112%; font-weight: 800; }
.page .rz-card.fill { height: 100%; margin: 0; }
.page .rz-row { margin-bottom: 1rem; }
.page .rz-card h3.rz-text-h6 { margin: 0 0 .6rem; font-weight: 750; }
.page .rz-card.answers h3.rz-text-h6 { margin-top: 1.2rem; } .page .rz-card.answers h3.rz-text-h6:first-child { margin-top: 0; }
.rz-card.price p b { font: 800 2rem var(--wide); font-stretch: 122%; }
.never { list-style: none; padding: 0; margin: 0; } .never li { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: .45rem; }
.never .rzi { color: var(--denied); font-size: 1.15rem; margin-top: .1rem; }
.terms h2.rz-text-h5 { margin: 1.8rem 0 .5rem; font-weight: 750; } .terms .rz-card h2.rz-text-h5 { margin-top: 0; }
.rz-card.narrow { max-width: 30rem; margin: 2rem auto; }
.lost .big-icon { font-size: 2.6rem; width: 2.6rem; height: 2.6rem; }
.rz-card .sw.s-todo { box-shadow: inset 0 0 0 1.5px var(--line); }
/* Radzen's own colours for these lose to its variant rules, so they are spelled out with the parts inside */
.field a.rz-button.on-dark.rz-variant-outlined, .field a.rz-button.on-dark.rz-variant-outlined .rz-button-text, .field a.rz-button.on-dark.rz-variant-outlined .rzi { color: #fff; }
.field a.rz-button.on-dark.rz-variant-filled, .field a.rz-button.on-dark.rz-variant-filled .rz-button-text { color: var(--field); }
.top nav .rz-button.sign-out, .top nav .rz-button.sign-out .rz-button-text, .top nav .rz-button.sign-out .rzi,
.ask header .rz-button.sign-out, .ask header .rz-button.sign-out .rz-button-text { color: #dfe5f5; }
.top nav .rz-button.sign-out:hover:not(.rz-state-disabled) .rz-button-text, .ask header .rz-button.sign-out:hover:not(.rz-state-disabled) .rz-button-text { color: #fff; }
.page a.rz-link, .page a.rz-link .rz-link-text { color: var(--violet-2); text-decoration: underline; text-underline-offset: 2px; }
.page .rz-card p, .page.read > p { margin: 0 0 .75rem; } .page .rz-card > :last-child { margin-bottom: 0; }
@media (max-width: 600px) { .top nav a[href^="/#"] { display: none; } .top nav { flex-wrap: nowrap; } }

/* the roster's hover card: a small dialog about one broker, in the colour of the tile under the pointer (app.js) */
.tile-tip { --c: var(--queued); position: absolute; z-index: 1000; width: max-content; max-width: min(18rem, calc(100vw - 1rem)); pointer-events: none;
  background: var(--sheet); color: var(--ink); border-radius: .85rem;
  box-shadow: 0 0 0 1px var(--hair), 0 2px 4px rgba(16, 27, 58, .08), 0 18px 40px -14px rgba(16, 27, 58, .38), 0 10px 30px -18px var(--c);
  opacity: 0; transform: translateY(4px) scale(.97); transform-origin: 50% 100%; transition: opacity .14s var(--ease), transform .14s var(--ease); }
.tile-tip.below { transform-origin: 50% 0; transform: translateY(-4px) scale(.97); }
.tile-tip.on { opacity: 1; transform: none; }
.tile-tip .tt-head { display: flex; align-items: center; gap: .5rem; padding: calc(.55rem + 4px) .9rem .55rem; border-radius: .85rem .85rem 0 0;
  background: color-mix(in srgb, var(--c) 15%, #fff); box-shadow: inset 0 4px 0 var(--c);
  border-bottom: 1px solid color-mix(in srgb, var(--c) 28%, #fff); font: 700 .78rem/1.2 var(--wide); letter-spacing: .06em; text-transform: uppercase;
  color: color-mix(in srgb, var(--c) 55%, var(--ink)); }
.tile-tip .tt-sw { width: .8rem; height: .8rem; border-radius: 3px; flex: none; background-color: var(--c);
  background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.1) 44%, rgba(255,255,255,0) 48%, rgba(0,0,0,0) 74%, rgba(0,0,0,.18)); box-shadow: 0 1px 1.5px rgba(4,9,28,.3); }
.tile-tip .tt-body { padding: .65rem .9rem .75rem; }
.tile-tip .tt-name { display: block; font: 700 1rem/1.3 var(--wide); font-stretch: 96%; overflow-wrap: anywhere; }
.tile-tip .tt-words { margin: .25rem 0 0; font-size: .88rem; line-height: 1.45; color: var(--soft); }
.tile-tip .tt-hint { display: block; margin-top: .5rem; font-size: .76rem; font-weight: 600; color: color-mix(in srgb, var(--c) 60%, var(--ink)); }
.tile-tip .tt-others { margin: .45rem 0 0; padding-top: .45rem; border-top: 1px solid var(--line); font-size: .8rem; line-height: 1.4; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile-tip .tt-hint[hidden], .tile-tip .tt-name[hidden], .tile-tip .tt-others[hidden] { display: none; } .tile-tip .tt-name[hidden] + .tt-words { margin-top: 0; }
/* the key under the wall shows the same card for each colour */
.key [data-tip] { cursor: default; border-radius: 4px; } .key [data-tip]:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
/* the pointer to the tile: white below the card, the colour band's colour above it */
.tile-tip .tt-arrow { position: absolute; left: var(--arrow-x, 50%); bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: var(--sheet);
  transform: rotate(45deg); box-shadow: 1px 1px 0 var(--hair); border-radius: 0 0 2px 0; }
.tile-tip.below .tt-arrow { bottom: auto; top: -9px; background: var(--c); box-shadow: none; border-radius: 2px 0 0 0; }
.tile-tip.s-removed { --c: var(--removed); } .tile-tip.s-none { --c: #2fb8a3; } .tile-tip.s-waiting { --c: var(--waiting); } .tile-tip.s-late { --c: var(--late); }
.tile-tip.s-denied { --c: var(--denied); } .tile-tip.s-you { --c: var(--you); } .tile-tip.s-queued { --c: var(--queued); } .tile-tip.s-bounced { --c: var(--bounced); }
.tile-tip.s-todo { --c: #8a96b4; } .tile-tip.s-skipped { --c: #b3bccf; }
@media (prefers-reduced-motion: reduce) { .tile-tip, .tile-tip.below { transition: opacity .1s linear; transform: none; } }
/* the forms page with a broker's form open beside it (app.js): the list keeps to the part of the window left uncovered */
body.side-open .page { margin-left: 0; max-width: var(--side-room, 50vw); }
.form-sheet.side-current { box-shadow: 0 0 0 2px var(--violet), 0 10px 30px -18px var(--violet); }
@media (max-width: 74.99rem), (pointer: coarse) { .side-hint { display: none; } }
/* the admin dashboard */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: .8rem; margin: 1rem 0 1.2rem; }
.kpi { background: var(--sheet); border-radius: .8rem; box-shadow: 0 0 0 1px var(--hair); padding: .85rem 1rem; display: flex; flex-direction: column; gap: .15rem; }
.kpi span { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--soft); }
.kpi b { font: 700 1.7rem/1.15 var(--wide); font-variant-numeric: tabular-nums; color: var(--ink); }
.kpi small { color: var(--soft); font-size: .82rem; }
.kpi.warn { box-shadow: 0 0 0 1px var(--hair), inset 0 3px 0 var(--late); }
.admin-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr)); gap: 1rem; }
@media (max-width: 600px) { .admin-charts { grid-template-columns: 1fr; } }
.admin-chart { height: 260px; } .admin-chart.tall { height: 340px; }
table.data { width: 100%; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; margin-top: .5rem; }
table.data th, table.data td { text-align: right; padding: .3rem .5rem; border-bottom: 1px solid var(--line); }
table.data th:first-child, table.data td:first-child { text-align: left; }
/* what happened to the other people who asked a broker (BrokerStats) */
.others { display: flex; align-items: center; gap: .4rem; color: var(--violet-2); font-size: .9rem; margin: .2rem 0 .4rem; }
.others .rzi { font-size: 1.1rem; }
small.others { display: inline; font-size: .78rem; font-weight: 600; }
