@font-face{font-family:"Figtree";font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/figtree-latin.woff2?v=8f3ed47e) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}@font-face{font-family:"Figtree";font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/figtree-latin-ext.woff2?v=8f3ed47e) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
/* Ink on paper, and the colour lives in the four states.

   ⚠️ Retuned 2026-08-27, by the user, deliberately: "do not use the cheap
   looking, vibe coded colours, use more minimalistic colours."

   WHAT WAS WRONG. The palette came out of the Base44 bundle as Tailwind's
   indigo-600 with a violet-600 accent and `from-indigo-600 to-violet-600` as
   the signature gradient. Two earlier passes deepened the ground, darkened
   the ink and made the neutrals actually neutral, but they all kept the
   indigo, and the indigo was the problem: a saturated purple-blue primary
   with a violet accent, a gradient logo mark, a gradient headline and a
   coloured glow under the buttons is not a palette, it is the house style of
   every AI-assembled SaaS on the internet, and it reads as one on sight.

   WHAT IT IS NOW. The chrome carries no hue worth the name. `--primary` is
   ink -- a deep, desaturated navy at 31% lightness, hue 211 rather than 244
   -- so a button is dark and quiet, a link is legibly a link, and neither is
   trying to be the most interesting thing on the page. The violet accent is
   gone: `--accent` is a lighter tone of the same ink, which exists only so
   the mark has something to sit against.

   The point of that is not restraint for its own sake. This product's whole
   argument is that the four states ARE the vocabulary, and they cannot be
   the vocabulary while the chrome shouts louder than they do. With the
   chrome neutral, the only colour on a screen is a state, and a state means
   something. The three were quietened to match -- teal-slate 34→30,
   clay 54→42, burgundy 56→40 -- and every one of them MEASURES BETTER than
   before, because they were deepened as they were desaturated.

   Measured against `tests/test_palette.py`, which holds every number here:

     light   body 16.21  muted 5.63  primary 8.04
             MEET 6.06   ACT 6.34    FAIL 6.86      (floor 5.4)
     dark    body 16.12  muted 7.90  primary 10.13
             MEET 8.34   ACT 7.61    FAIL 7.54

   ⚠️ `--primary` may not become fully neutral. A near-black primary measured
   beautifully and made every link on the site indistinguishable from the
   sentence around it; 211/42% keeps a 20-point lightness gap and a real blue
   cast against the ink, which is what a link needs to read as one.

   The semantic three are load-bearing here in a way they are not on a normal
   site: they ARE the four states. teal-slate=MEET, burgundy=FAIL,
   slate=UNKNOWN, clay=ACT_FIRST. Changing one changes the product's
   vocabulary, so change them here and nowhere else. */
:root{
  --background:220 9% 97%;     /* paper */
  --foreground:218 20% 11%;    /* ink */
  --card:0 0% 100%;            --card-foreground:218 20% 11%;
  --primary:211 42% 31%;       /* ink navy, not indigo */
  --primary-foreground:0 0% 100%;
  --accent:203 30% 42%;        /* the same ink, lifted. NOT a second hue. */
  --accent-foreground:0 0% 100%;
  --muted:220 10% 94%;
  --muted-foreground:218 10% 40%;
  /* Border is NOT muted. They were the same value once, so a hairline
     divider and a filled chip carried identical weight. */
  --border:220 11% 90%;        --input:220 10% 96%;
  /* NOT a traffic light. Emerald / amber / red made every surface read as a
     status dashboard, and worse, it imports a good-bad verdict -- which is
     the one thing this product says it does not issue. */
  --ok:191 30% 33%;            /* teal-slate  */
  --warn:34 70% 28%;           /* amber, since 2026-11-09 (was clay 26 42% 34%) */
  --bad:344 40% 39%;           /* burgundy    */
  --radius:0.625rem;
  --font-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --font-body:Figtree,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  /* ---- the look, decided by the owner 2026-11-06 (docs/27 step 6) ----
     Heavy, tight headlines, an ink button, a deadline in ink, hairline cards,
     pill chips and a spring. Every token in this block is reset by
     `OLD_LOOK` under html[data-look="prej"], and every rule that reads one
     carries the old value as its fallback -- `var(--action,var(--primary))`
     -- so resetting the token is the way back. Generated from `LOOK_TOKENS`:
     add a token there, never here. */
  --font-display:Figtree,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --display-weight:800;
  --display-tracking:-.035em;
  --figure-weight:800;
  --section-weight:750;
  --action:var(--primary);
  --action-foreground:var(--primary-foreground);
  --action-shadow:none;
  --stage-action:150 8% 95%;
  --stage-action-foreground:150 8% 5%;
  --btn-radius:6px;
  --due-ink:var(--foreground);
  --due-past:var(--muted-foreground);
  --due-tint:var(--muted);
  --due-heavy:800;
  --due-heavier:700;
  --due-regular:600;
  --card-shadow:none;
  --pressed:var(--foreground);
  --pressed-foreground:var(--background);
  --chip-radius:999px;
  --chosen-ink:var(--foreground);
  --chosen-tint:var(--foreground) / .07;
  --spring:cubic-bezier(.2,1.5,.4,1);
  --rung:var(--muted-foreground);
  --hit-tint:var(--muted);

  /* ---- motion ---------------------------------------------------------
     ⚠️ MEASURED BEFORE WRITING THIS, because "it feels rough" is not a
     diagnosis. Across TOKENS, BASE, FORMS, APP and views.CSS there were
     **67 transitions, 18 different durations and 8 different easing
     curves** -- and only ONE named token (`--ease`, declared inside
     views.CSS, so the landing page and every shared primitive could not
     reach it and hand-wrote their own).

     Nothing was *missing*: 65 of 67 already stated a duration and 63 an
     easing. The problem is that no two things AGREED. A card that settles
     over .18s next to a button that settles over .15s next to a rail that
     settles over .32s does not read as three considered decisions, it reads
     as no decision -- which is exactly what "reads like a spreadsheet"
     describes about a surface that is otherwise fine.

     So: three speeds and three curves, and a component picks one rather
     than inventing a number.

       --t-tap   press feedback. Must be under ~100ms or the control feels
                 like it is thinking about it.
       --t-quick hover, colour, border, focus. The default.
       --t-move  something changing size or place, and arrivals.
       --t-exit  LEAVING, and deliberately shorter than --t-move: a
                 dismissal that takes as long as an arrival feels like the
                 interface is arguing with you. Same rule the mobile drawer
                 already followed at 380/240.

     Curves: `--ease-out` decelerates (arriving -- fast out of the gate,
     settles gently, which is what reads as physical), `--ease-in`
     accelerates (leaving), `--ease` is symmetric for state changes that
     are not going anywhere.

     Deliberate exceptions stay hand-written and say why at the site: the
     rail drawer's 380/240 asymmetry, and the one overshoot curve used for
     a control that should feel sprung. */
  --t-tap:.07s;
  --t-quick:.16s;
  --t-move:.26s;
  --t-exit:.19s;
  /* The prototype's `--ease` since 2026-11-06: a touch quicker out of the
     gate than the curve it replaced, which `OLD_LOOK` puts back. */
  --ease-out:cubic-bezier(.2,.7,.2,1);
  --ease-in:cubic-bezier(.4,0,1,1);
  --ease:cubic-bezier(.4,0,.2,1);

  /* Wide and faint, never tight and dark. A broad low-opacity shadow reads
     as depth; a tight one reads as an outline. And NEUTRAL -- a shadow tinted
     with the primary is a coloured glow, which is the other half of the look
     this palette was retuned to leave behind. */
  --shadow:0 1px 2px hsl(218 20% 11% / .04), 0 2px 6px hsl(218 20% 11% / .04);
  --shadow-lg:0 20px 48px hsl(218 20% 11% / .09),
              0 6px 16px hsl(218 20% 11% / .05);
  --shadow-xl:0 40px 90px hsl(218 20% 11% / .14),
              0 10px 26px hsl(218 20% 11% / .07);
}
/* Three states, not two. An explicit choice stamps data-theme on <html> and
   must win in BOTH directions; the system default stamps nothing, so only
   prefers-color-scheme separates it. Guarding the media query with
   :not([data-theme="light"]) is what lets someone on a dark OS force light. */
/* ⚠️ DARK CARRIES MORE SATURATION THAN LIGHT, deliberately, changed
   2026-08-31 by the user: "in the darker mode I want you to use a bit more
   saturation, they seem a bit washed out, everything just seems a bit grey".

   It did. Against a near-black ground a 32%-saturated teal reads as grey,
   because the eye judges chroma relative to what surrounds it and everything
   surrounding it was 9-11% saturated. The four states are this product's
   vocabulary and they were whispering.

   ⚠️ THE NEUTRALS DID NOT MOVE. Making the GROUND saturated is what
   CLAUDE.md records as "the loudest assembled-from-a-starter-kit tell there
   is", and it was deliberately undone in August. So the colour went up only
   where colour MEANS something: the three states, the primary, the accent,
   and a small lift on muted text so a whole paragraph is not dead grey.
   The ground, the card, the border and the input stay as they were.

   Measured against `tests/test_palette.py`'s 5.40 floor after the change:
   MEET 7.68 on a card, ACT 6.51, FAIL 5.95, primary 8.31. Every pair still
   clears it, and the lowest moved from 6.48 to 5.95. */
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --background:218 11% 9%;
    --foreground:214 15% 95%;
    --card:217 10% 14.5%;
    --card-foreground:214 15% 95%;
    --primary:205 58% 74%;     /* the same ink, lifted off a dark ground */
    /* Dark ink on the lifted primary. Only the FILL flips; a link stays the
       primary colour. */
    --primary-foreground:216 16% 11%;
    --accent:200 42% 70%;
    --accent-foreground:216 16% 11%;
    --muted:218 9% 20%;
    --muted-foreground:215 16% 68%;
    --border:217 9% 19%;       --input:218 9% 17%;
    --ok:188 52% 62%;          /* teal-slate, lifted */
    --warn:38 70% 62%;         /* amber, lifted       */
    --bad:346 58% 70%;         /* burgundy, lifted   */
    --shadow:0 1px 2px hsl(0 0% 0% / .26), 0 2px 6px hsl(0 0% 0% / .20);
    --shadow-lg:0 20px 48px hsl(0 0% 0% / .40), 0 6px 16px hsl(0 0% 0% / .24);
    --shadow-xl:0 40px 90px hsl(0 0% 0% / .52), 0 10px 26px hsl(0 0% 0% / .30);
  }
}
:root[data-theme="dark"]{
    --background:218 11% 9%;
    --foreground:214 15% 95%;
    --card:217 10% 14.5%;
    --card-foreground:214 15% 95%;
    --primary:205 58% 74%;
    --primary-foreground:216 16% 11%;
    --accent:200 42% 70%;
    --accent-foreground:216 16% 11%;
    --muted:218 9% 20%;
    --muted-foreground:215 16% 68%;
    --border:217 9% 19%;       --input:218 9% 17%;
    --ok:188 52% 62%;
    --warn:38 70% 62%;
    --bad:346 58% 70%;
    --shadow:0 1px 2px hsl(0 0% 0% / .26), 0 2px 6px hsl(0 0% 0% / .20);
    --shadow-lg:0 20px 48px hsl(0 0% 0% / .40), 0 6px 16px hsl(0 0% 0% / .24);
    --shadow-xl:0 40px 90px hsl(0 0% 0% / .52), 0 10px 26px hsl(0 0% 0% / .30);
  }
*{box-sizing:border-box}
/* ⚠️ THE GUTTER IS RESERVED, AND THAT IS WHAT STOPS THE PAGE JUMPING.
 *
 * Reported 2026-09-04: opening the assistant makes "the UI do a little
 * jitter, same as when you collapse the menu". Both are one cause. The
 * assistant panel and the rail drawer each set
 * `document.documentElement.style.overflow='hidden'` to stop the page behind
 * them scrolling -- which is right -- and on a desktop that REMOVES THE
 * SCROLLBAR. Measured at 1280 with a real scrollbar (never with
 * `--hide-scrollbars`, which is why earlier probes could not see it):
 *
 *     scrollbar   15px -> 0
 *     clientWidth 1265 -> 1280
 *     card's right edge, and the topbar's width, both +15px
 *
 * The left edge does not move, because the rail pins it -- so it reads as a
 * jitter rather than a slide, which is exactly how it was described.
 *
 * `stable` keeps the gutter whether or not the scrollbar is drawn, so the
 * lock becomes invisible. It costs 15px on a page shorter than the viewport,
 * which is the standard trade and cheaper than the alternative: compensating
 * in JavaScript means every future thing that locks scroll has to remember
 * to, and the failure mode is this bug again. */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;
  scrollbar-gutter:stable;
  /* ⚠️ NO BROWSER TAP BOX (2026-11-08). Every control here answers a press
     itself (`:active`, the ripple, a row deepening), and the browser's own box
     was drawn over it as well, and over the curtain between pages too:
     measured, a tapped row's box sat as a blue bar on the panel for 150ms. */
  -webkit-tap-highlight-color:transparent}
body{margin:0;background:hsl(var(--background));color:hsl(var(--foreground));
  font-family:Figtree,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{margin:0;line-height:1.2;letter-spacing:-.022em;font-weight:700}
/* Tightening is for display sizes. On a 15px row title it closed up
   capitals that Slovenian buyers type whole, and read as cramped. */
h3,h4{letter-spacing:0}
/* ⚠️ A HEADLINE IS FIGTREE, HEAVY AND TIGHT (the owner, 2026-11-07: one
   face, with its character back). It was Schibsted Grotesk for one day.
   One rule, from `DISPLAY_SELECTORS`; a headline anywhere else takes
   `.display`. The weight and tracking are look tokens, so the old look
   keeps the 700 and the tracking it had.
   ⚠️ PROPORTIONAL DIGITS IN A HEADLINE. The app sets tabular digits on
   `.app-wrap` for figures in columns, and a headline is not a column:
   tabular digits gave the comma and the period a whole digit's width
   (»2 . faza«, measured 2026-11-07). */
h1,.section-head h2,.band-title,.display{font-family:var(--font-display,inherit);font-synthesis:none;
  font-variant-numeric:proportional-nums;font-weight:var(--display-weight,700);
  letter-spacing:var(--display-tracking,-.022em)}
p{margin:0}
/* ⚠️ A FORM CONTROL DOES NOT INHERIT THE PAGE'S TYPEFACE, and this product
   spent months finding that out one control at a time. Chrome's UA sheet
   sets `font: 400 13.333px Arial` on button, input, select and textarea, so
   anything that is not a `.btn` -- which carries its own
   `font-family:inherit` -- renders in Arial beside Inter. Measured 2026-09-10
   over 18 real signed-in screens: nine elements a screen, including the
   palette's own search box and the topbar trigger that opens it.
   Named at the site every control already has to pass through, because
   fixing it per control is the hand-written list again: the next control
   somebody adds without `.btn` is Arial and nobody sees it. `optgroup` is in
   the list for the same reason it is in every reset -- it has its own UA
   font and is easy to forget. */
button,input,select,textarea,optgroup{font-family:inherit}
/* ⚠️ NO UNDERLINE ON HOVER, ANYWHERE. Asked for 2026-08-31.
   The rule was written for inline prose links, but almost every clickable
   thing in this product is a BLOCK: a tender card, a band row, a tile, a
   rail item, a document row. `a:hover{text-decoration:underline}` therefore
   underlined a whole card's title -- and on the overview, where a row IS a
   link, moving the pointer down the list underlined each heading in turn.
   A link is already carried by `--primary`; hover is carried by the
   background and border changes those components set for themselves. */
a{color:hsl(var(--primary));text-decoration:none}
img,svg{max-width:100%}
.container{max-width:1120px;margin:0 auto;padding:0 20px}
.narrow{max-width:760px;margin:0 auto}
.muted{color:hsl(var(--muted-foreground))}
.mono{font-family:var(--font-mono);
  font-size:.86em}
/* Figures read in columns take tabular digits (Figtree has `tnum`; its
   default digits are proportional). Every table on every page here; the
   signed-in app once on `.app-wrap` and `.cop-wrap`; the public pages only
   where `home.CSS` asks for it, because running prose reads better
   proportional.
   From the de-slop plan the owner approved, 2026-10-28. */
table{font-variant-numeric:tabular-nums}
.center{text-align:center}
.nowrap{white-space:nowrap}

/* --- buttons ------------------------------------------------------- */
.btn{position:relative;display:inline-flex;align-items:center;
  justify-content:center;gap:8px;font-weight:600;font-size:15px;
  padding:12px 24px;border-radius:var(--btn-radius,var(--radius));
  border:1px solid transparent;
  cursor:pointer;text-decoration:none;font-family:inherit;line-height:1.2;
  overflow:hidden;isolation:isolate;-webkit-tap-highlight-color:transparent;
  /* Springy on the way up, instant on the way down. A press should feel
     like it was received before the finger lifts, which means the active
     state must not ease in.

     ⚠️ The overshoot is `--spring`, the prototype's (2026-11-06); the
     literal beside it is the curve it replaced, which the old look keeps.
     `--ease-out` settles, this arrives a little past the post, which is
     what makes a control feel sprung rather than merely animated. */
  transition:transform .22s var(--spring,cubic-bezier(.2,.9,.3,1.4)),
             box-shadow var(--t-quick) var(--ease),
             background var(--t-quick) var(--ease),
             border-color var(--t-quick) var(--ease),
             filter var(--t-quick) var(--ease)}

/* ⚠️ THE PRESS IS THE WHOLE OF TACTILITY, and it was half-built: the button
   compressed but its colour did not move, so on a trackpad the feedback was
   two pixels of geometry and nothing else. It now also darkens, and it does
   both in `--t-tap` -- under 100ms, because a control that eases into its
   pressed state feels like it is deciding whether to accept the click.

   `filter` rather than a second colour, which is the idiom the ERP settled
   on for the same reason it applies here: a hand-written "pressed" shade is
   a fifth colour that drifts the moment `--primary` is retuned, and this
   palette has been retuned three times. Brightness is derived, so it cannot
   disagree with the token. */
/* No `filter:brightness()` here: a filter is paint tier and this fires on
   every press. The state layer below tints with a pseudo-element instead,
   which composites. */
.btn:active{transform:translateY(0) scale(.97);
  transition-duration:var(--t-tap)}
/* Ripple from the click point, driven by --rx/--ry set in JS. */
/* ⚠️ A REAL SIZE, HELD AT scale(0). It used to be 0x0 and grow, which is what
   made the animation a layout one. A fixed 280px circle that is scaled costs
   the compositor a transform and nothing else, and at rest it paints nothing:
   `opacity:0` and `scale(0)` on an absolutely positioned element contribute
   no layout and no pixels. */
.btn::after{content:"";position:absolute;left:var(--rx,50%);top:var(--ry,50%);
  width:280px;height:280px;border-radius:50%;
  transform:translate(-50%,-50%) scale(0);
  background:currentColor;opacity:0;pointer-events:none;z-index:-1}
/* ⚠️ THE RIPPLE ANIMATED `width` AND `height` FOR 550ms ON EVERY PRESS, on
   the primitive every button in the product uses. Those are LAYOUT
   properties: the browser re-lays out the subtree on each frame, so the one
   interaction a person performs most often was the most expensive thing the
   UI did. CLAUDE.md praises this ripple as something `.btn` has carried since
   the first commit; measuring it is what changed the verdict.

   Same visual idea, moved to the compositor: one fixed-size circle scaled and
   faded. `transform` and `opacity` only, and 380ms rather than 550 -- Material
   3, Carbon and Atlassian all put a press response well under 400ms. */
.btn.rippling::after{animation:ripple .38s var(--ease-out)}
@keyframes ripple{
  0%{transform:translate(-50%,-50%) scale(0);opacity:.28}
  100%{transform:translate(-50%,-50%) scale(1);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  /* Geometry is what someone who asked for less motion is asking to stop.
     The colour step stays -- it is feedback, not movement, and removing it
     would leave a press with no answer at all. */
  .btn,.btn:hover,.btn:active{transform:none;
    transition:background var(--t-quick) var(--ease),
               filter var(--t-quick) var(--ease)}
  .btn.rippling::after{animation:none}
}

/* ---------- the press belongs to every control in a header ----------
 *
 * ⚠️ `.btn` HAS HAD A SPRING AND A RIPPLE SINCE THE FIRST COMMIT AND THE
 * HEADER CONTROLS HAD NEITHER. Reported 2026-09-03: the buttons in the header
 * should answer more satisfyingly. They were in the shared transition list
 * for `background`, `border-color` and `color` and nothing else -- so the
 * search trigger, the intake pill, the account chip, the sign-out, the
 * burger and the two header links changed colour over 160ms and answered a
 * press with literally nothing. The theme toggle was the only one with a
 * press at all, and it eased into it over `--t-quick`, which is the thing
 * the comment above `.btn:active` says makes a control feel like it is
 * deciding whether to accept the click.
 *
 * Not a new language: the SAME one. Compress on `--t-tap`, spring back on
 * the overshoot curve, ripple from the pointer.
 *
 * ⚠️ STRUCTURAL, NOT A LIST OF CONTROL NAMES. `TAPPABLE` is one definition
 * used by this rule AND by the ripple handler in `CHROME_JS`, because a
 * selector written twice is two selectors that drift -- and the last time a
 * control was added to a header, nothing gave it a press because nothing
 * knew it existed. `.logo` is excluded on purpose: a wordmark that moves is
 * a wordmark that looks broken, and the mark already has its own hover.
 */
.tb-inner :is(a,button):not(.logo):not(.btn),.auth-head :is(a,button):not(.logo):not(.btn){position:relative;overflow:hidden;isolation:isolate;
  -webkit-tap-highlight-color:transparent;
  transition:transform .22s var(--spring,cubic-bezier(.2,.9,.3,1.4)),
             background var(--t-quick) var(--ease),
             border-color var(--t-quick) var(--ease),
             color var(--t-quick) var(--ease),
             box-shadow var(--t-quick) var(--ease)}
.tb-inner :is(a,button):not(.logo):not(.btn):active,.auth-head :is(a,button):not(.logo):not(.btn):active{transform:scale(.94);transition-duration:var(--t-tap)}
.tb-inner :is(a,button):not(.logo):not(.btn)::after,.auth-head :is(a,button):not(.logo):not(.btn)::after{content:"";position:absolute;left:var(--rx,50%);
  top:var(--ry,50%);width:180px;height:180px;border-radius:50%;
  transform:translate(-50%,-50%) scale(0);background:currentColor;opacity:0;
  pointer-events:none;z-index:-1}
.tb-inner :is(a,button):not(.logo):not(.btn).rippling::after,.auth-head :is(a,button):not(.logo):not(.btn).rippling::after{animation:ripple .38s var(--ease-out)}
@media (prefers-reduced-motion:reduce){
  .tb-inner :is(a,button):not(.logo):not(.btn):active,.auth-head :is(a,button):not(.logo):not(.btn):active{transform:none}
  .tb-inner :is(a,button):not(.logo):not(.btn).rippling::after,.auth-head :is(a,button):not(.logo):not(.btn).rippling::after{animation:none}
}
/* The iPhone's tick (`HAPTICS_JS`): an invisible label over the control,
   holding a one-pixel switch the finger never lands on. Drawn by the script
   on an iPhone only, so nothing here applies anywhere else. */
[data-tw-tick]{position:absolute;inset:0;z-index:2;margin:0;border-radius:inherit;
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;cursor:inherit}
[data-tw-tick] input{position:absolute;top:0;left:0;width:1px;height:1px;
  margin:0;visibility:hidden}
/* ⚠️ INK, NOT NAVY, since 2026-11-06 (the owner): the main button is the
   darkest thing on the page and a link keeps the navy, so the two are never
   mistaken for each other. In the dark theme it is the light ink with the
   dark ground as its label. The fallbacks are the navy button. */
.btn-primary{background:hsl(var(--action,var(--primary)));
  color:hsl(var(--action-foreground,var(--primary-foreground)));
  box-shadow:var(--action-shadow,var(--shadow))}
/* A neutral lift, not a coloured glow. A shadow tinted with the button's own
   fill is the "glowing CTA" idiom, and it stopped being possible to read as
   anything but a template the moment every AI-built landing page shipped it. */
.btn-ghost{background:hsl(var(--card));color:hsl(var(--foreground));
  border-color:hsl(var(--border));box-shadow:var(--shadow)}

.btn-lg{font-size:17px;padding:14px 24px}
/* Bar-sized. The header CTA is a navigation control, not a page action, and
   at the full .btn size it dominated a 54px pill. */
.btn-sm{font-size:15px;padding:10px 16px;border-radius:999px}
.btn-block{width:100%}
.btn-block + .btn-block,.fine + .btn-block{margin-top:16px}
.btn:focus-visible{outline:2px solid hsl(var(--action,var(--primary)));
  outline-offset:2px}

/* --- surfaces ------------------------------------------------------ */
/* A hairline on a 15px corner, and no shadow (the prototype's cards). */
.card{background:hsl(var(--card));border:1px solid hsl(var(--border));
  border-radius:calc(var(--radius) * 1.5);box-shadow:var(--card-shadow,var(--shadow))}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;
  font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  color:hsl(var(--primary));background:hsl(var(--primary) / .1);
  border:1px solid hsl(var(--primary) / .2);
  padding:6px 14px;border-radius:999px}
.pill{display:inline-block;padding:2px 10px;border-radius:999px;font-size:11px;
  font-weight:700;letter-spacing:.02em}
.pill.ok{background:hsl(var(--ok) / .13);color:hsl(var(--ok))}
.pill.warn{background:hsl(var(--warn) / .15);color:hsl(var(--warn))}
.pill.bad{background:hsl(var(--bad) / .13);color:hsl(var(--bad))}
.pill.soon{background:hsl(var(--primary) / .13);color:hsl(var(--primary))}
/* ⚠️ A DEADLINE'S PILL IS INK (the owner, 2026-11-06). `due` marks a pill
   that carries a date's urgency, so the four-state pills above keep their
   colours and a date does not borrow them: within three days the heaviest,
   within seven heavier, then the date's own weight, and a passed date muted.
   Each fallback is the colour that pill had before. With no tone (a closed
   question window) it is the plain pill, which is what a closed door is. */
.pill.due.bad{background:hsl(var(--due-tint,var(--bad) / .13));
  color:hsl(var(--due-ink,var(--bad)));font-weight:var(--due-heavy,700)}
.pill.due.warn{background:hsl(var(--due-tint,var(--warn) / .15));
  color:hsl(var(--due-ink,var(--warn)));font-weight:var(--due-heavier,700)}
.pill.due.soon{background:hsl(var(--due-tint,var(--primary) / .13));
  color:hsl(var(--due-ink,var(--primary)));font-weight:var(--due-regular,700)}
.pill.due.ok{background:hsl(var(--due-tint,var(--ok) / .13));
  color:hsl(var(--due-ink,var(--ok)));font-weight:var(--due-regular,700)}
.pill.due.past{background:hsl(var(--due-tint,var(--bad) / .13));
  color:hsl(var(--due-past,var(--bad)));font-weight:var(--due-regular,700)}

/* --- site chrome --------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  /* The bars still change, they just stop travelling to get there. */
  .logo .mark .lb{transition:none}
}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;
  letter-spacing:-.028em;color:hsl(var(--foreground))}
.logo:hover{text-decoration:none}
/* The mark went: empty gradient square -> generic checkmark -> four vertical
   bars -> this. A check is what every SaaS in the world uses and it says
   nothing about what this does; these are the requirements of the
   eligibility report, at different weights, with one standing out. Countable,
   legible at 16px in a browser tab, and not a checkmark. The gradient stays
   in CSS rather than an SVG <defs> so two logos on one page cannot collide
   on a gradient id.

   ⚠️ HORIZONTAL, AND THAT IS THE WHOLE POINT OF THE LAST REVISION.
   Reported 2026-09-03: the mark "looks more like a music service than
   something with tenders", and it did -- vertical rounded bars at varying
   heights ARE the audio-level idiom, in every visual vocabulary there is,
   and no amount of explaining that they were requirements was going to
   outvote that. Turned on their side the same three shapes read as a list,
   a document, a ledger row, and cannot read as sound. Nothing else changed:
   same count, same weights, same one standing out, same hover. Drawn at 16,
   28 and 64px in both themes before it was chosen. */
.logo .mark{width:28px;height:28px;border-radius:9px;flex:none;
  display:grid;place-items:center;color:#fff;
  /* Flat ink. It was `linear-gradient(135deg, indigo, violet)` with a
     coloured drop shadow and an inset white gloss along the top edge -- the
     signature gradient out of the Base44 bundle, a lit-plastic button
     highlight, and between them the single most recognisable "assembled from
     a starter kit" object on the page. A mark does not need a light source. */
  background:hsl(var(--primary))}
.logo .mark svg{width:17px;height:17px;display:block}
/* The four bars read up in sequence when you point at the mark.
   It is the one piece of motion on the page that says what the product does:
   these are the four requirements of the eligibility report at different
   weights, so filling them in left to right IS the thing being sold. The
   wordmark does not move, because a logo that jumps is a logo that looks
   broken.
   Gated behind `hover:hover`: a touch screen fakes a hover and leaves it
   applied, so on a phone the bars would simply sit in their hovered position
   for the rest of the visit. `transform-box:fill-box` is what makes
   `transform-origin` mean the bar's own box rather than the SVG viewport,
   which is the difference between a bar growing in place and one sliding
   off the mark. */
.logo .mark .lb{transform-box:fill-box;transform-origin:0% 50%}
@media (hover:hover){
  .logo .mark .lb{transition:transform var(--t-move) var(--ease-out),
    opacity var(--t-move) var(--ease-out)}
  /* ⚠️ `scaleX` NOW, AND THE ORIGIN MOVED WITH IT. The rules grow to full
     measure from their LEFT edge, in sequence -- which is still the thing
     being sold, requirements resolving one after another, just along the
     axis the mark now runs. `scaleY` on a horizontal rule would fatten it
     rather than extend it. */
  .logo:hover .mark .l1{transform:scaleX(1.33);opacity:.9}
  .logo:hover .mark .l3{transform:scaleX(1.78);opacity:.9}
  .logo:hover .mark .l1{transition-delay:40ms}
  .logo:hover .mark .l3{transition-delay:110ms}
}
/* "Tender" light, "Watch" heavy. A single weight across eleven letters is
   what made the wordmark read as body text next to a logo. */
.logo .word{white-space:nowrap;font-weight:500}
.logo .word b{font-weight:800}
/* `position:relative` is load-bearing, not tidiness. The two icons inside
   are `position:absolute` so they can cross-fade in the same spot, and
   without a positioned ancestor here they resolve against whatever IS
   positioned further up -- the floating header pill, or the viewport. On a
   phone that put the sun and moon somewhere else on the screen entirely,
   which is what "the toggle is corrupted" looked like. `overflow:hidden`
   keeps the rotating icon from bleeding past the corners mid-transition. */
.theme-toggle{position:relative;overflow:hidden;
  display:grid;place-items:center;width:34px;height:34px;padding:0;
  flex:none;
  border-radius:9px;border:1px solid hsl(var(--border));cursor:pointer;
  background:hsl(var(--card));color:hsl(var(--muted-foreground));
  transition:color var(--t-quick) var(--ease),border-color var(--t-quick) var(--ease),transform var(--t-quick) var(--ease)}

.theme-toggle:active{transform:scale(.92)}
/* Centred explicitly. An abspos box with no offsets falls back to its
   "static position", which grid, flex and block layout each compute
   differently -- so the icon landed in a different place depending on the
   engine. Pinning it removes the guess. */
.theme-toggle svg{position:absolute;top:50%;left:50%;
  width:17px;height:17px;margin:-8.5px 0 0 -8.5px;
  transition:opacity .2s ease,transform .35s cubic-bezier(.2,.9,.3,1.3)}
.theme-toggle .sun{opacity:0;transform:rotate(-90deg) scale(.5)}
.theme-toggle .moon{opacity:1;transform:none}
:root[data-theme="dark"] .theme-toggle .sun{opacity:1;transform:none}
:root[data-theme="dark"] .theme-toggle .moon{opacity:0;
  transform:rotate(90deg) scale(.5)}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .theme-toggle .sun{opacity:1;transform:none}
  :root:not([data-theme="light"]) .theme-toggle .moon{opacity:0;
    transform:rotate(90deg) scale(.5)}
}

/* A real skip link. The previous one reused the honeypot class and sat at
   left:-9999px permanently -- invisible even on focus, which is the one
   moment it exists for. */
.skip{position:absolute;left:12px;top:-60px;z-index:100;
  background:hsl(var(--primary));color:hsl(var(--primary-foreground));
  padding:12px 20px;border-radius:var(--radius);font-weight:600;font-size:15px;
  transition:top .2s ease}
.skip:focus{top:12px;text-decoration:none}

/* --- phones ----------------------------------------------------------
   560px is the shared chrome's one breakpoint.

   Tap targets are held to 44px here rather than page by page. That is the
   figure Apple's HIG and WCAG 2.2 (2.5.8 sets 24px as the floor, 44px as
   the target) agree on, and the footer links were rendering 16px tall. */
@media (max-width:560px){
  .site-foot{margin-top:64px;padding:32px 0 48px}
  .site-foot .cols{gap:24px}
}

/* Tap targets. 44px is where Apple's HIG and WCAG 2.2 (2.5.8 sets 24px as
   the floor and 44px as the enhanced target) agree, and these were measured
   at 16-27px. On pointer, not width, for the same reason as the fields. */
@media (pointer:coarse){
  /* ⚠️ THE FLOOR IS A PROPERTY OF THE PRIMITIVES, NOT A LIST OF INSTANCES.
     It used to be seventeen hand-written selectors spread over ten
     `pointer:coarse` blocks, and an audit measured 62 of 149 controls
     falling under it -- `.ev-side .btn`, `.ev-add .tick`, `.chip-sel button`
     and the rest were simply never named. That is this codebase's most
     common defect shape: a list that looks like coverage while covering
     only what somebody remembered.
     Buttons and fields are what a finger aims at, so they carry it. A
     BARE `button` deliberately does not: `button.link` is a word inside a
     sentence (the sign-out in the rail), and WCAG 2.5.8 exempts a link in a
     sentence for the same reason -- padding those out combs the paragraph
     apart. Checkboxes and radios are excluded because their LABEL is the
     target and it already wraps them. */
  .btn,
  select,
  textarea,
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]){
    min-height:44px}
  .logo{min-height:44px}
  .theme-toggle{width:44px;height:44px}
  .site-foot li{margin-bottom:0}
  .site-foot li a{display:inline-block;padding:10px 0}
  /* Links inside the legal paragraph stay inline: WCAG 2.5.8 exempts a link
     in a sentence, and padding them out would comb the paragraph apart. */
  .site-foot .legal a{padding:0}
}


.site-foot{margin-top:80px;border-top:1px solid hsl(var(--border));
  padding:32px 0 40px;font-size:15px;color:hsl(var(--muted-foreground))}
.site-foot .cols{display:flex;justify-content:space-between;gap:14px 32px;
  flex-wrap:wrap;margin-bottom:16px;align-items:center}
.site-foot .legal{border-top:1px solid hsl(var(--border));padding-top:16px;
  line-height:1.65;font-size:13.5px}
/* ⚠️ A MEASURE, NOT THE CONTAINER'S WIDTH (2026-10-22, reported by the
   owner as "formatted weirdly"). At 1280px the two paragraphs ran 1,690px,
   about 200 characters a line, and each ended on a line of one or two words;
   the copyright rode on the end of the data-sources sentence behind a dot.
   It has its own line now, and `pretty` keeps a word from ending alone. */
.site-foot .legal p{margin:0 0 8px;max-width:680px;text-wrap:pretty}
.site-foot .legal p:last-child{margin-bottom:0}
/* ⚠️ A LINK INSIDE A SENTENCE IS UNDERLINED (2026-10-21, the owner's
   choice). These three sit in running text in the same muted ink as the
   words around them, so colour alone did not say they were links
   (Lighthouse, link-in-text-block). Block links, buttons and cards stay
   without one; this is not the hover underline the product dropped. */
.site-foot .legal a{text-decoration:underline;text-underline-offset:2px}
.site-foot h4{font-size:11px;text-transform:uppercase;letter-spacing:.06em;
  color:hsl(var(--foreground));margin-bottom:10px}
.site-foot ul{list-style:none;margin:0;padding:0;display:flex;gap:6px 20px;
  flex-wrap:wrap}
.site-foot li{margin-bottom:0}

/* --- back to top ----------------------------------------------------- */
/* Only appears once there is enough page behind you to want it. */
/* ⚠️ IT IS THE ONLY THING IN THIS CORNER AGAIN. It was pushed up to 84px to
   clear an assistant launcher that floated here: the two shared `right:18px;
   bottom:18px; z-index:60`, so a hit test at this button's own centre
   returned the launcher and back-to-top was unclickable on every long screen.
   The launcher has since moved into the topbar -- it was covering page text,
   which is what this corner does to anything left in it -- so the offset that
   dodged it is gone with it. Keep this the only bottom-anchored control on a
   desktop; `tests/test_mobile.py` holds the whole set. */
.to-top{position:fixed;right:23px;bottom:23px;z-index:59;
  width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  border:1px solid hsl(var(--border));background:hsl(var(--card) / .86);
  backdrop-filter:blur(12px) saturate(1.5);
  -webkit-backdrop-filter:blur(12px) saturate(1.5);
  color:hsl(var(--foreground));cursor:pointer;padding:0;
  box-shadow:var(--shadow-lg);
  opacity:0;visibility:hidden;transform:translateY(10px) scale(.9);
  transition:opacity .25s ease,transform .25s cubic-bezier(.2,.9,.3,1.3),
             visibility .25s,border-color var(--t-quick) var(--ease)}
.to-top.show{opacity:1;visibility:visible;transform:none}

.to-top:active{transform:scale(.93)}
.to-top:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}
.to-top svg{width:17px;height:17px;display:block}
@media (prefers-reduced-motion:reduce){.to-top{transition:opacity .2s ease}}
/* A page on its way (`CHROME_JS`, 2026-11-08): a hairline along the top
   once a tap has waited 120ms, so a slow page says it heard the tap without
   the grey skeleton flashing in. Drawn by script, takes no taps, and moves
   on transform and opacity alone.
   ⚠️ AND THE NEXT PAGE FINISHES IT (2026-11-10, the owner: it "kind of stops
   in the first 15%"). The browser freezes the page being left the moment
   the next one answers, so the line was caught wherever it had got to,
   measured at 17-24% on a quick page, and then simply vanished: a bar that
   never reaches the end reads as broken. The leaving page notes how far it
   got (`--nav-from`, `CHROME_JS` at `pageswap`), and the arriving page runs
   it from there to the edge and fades it (`nav-arrive`, `THEME_BOOT_JS`).
   The bar is the pseudo-element, so the box the view transition carries
   across never changes shape; named, it is drawn over the rail and the top
   bar for the length of the transition, and the frozen copy steps aside for
   the live one. */
.nav-line{position:fixed;top:env(safe-area-inset-top,0px);left:0;right:0;
  height:2px;z-index:300;pointer-events:none;opacity:0;
  transition:opacity .2s var(--ease)}
.nav-line::before{content:"";position:absolute;inset:0;
  transform:scaleX(0);transform-origin:0 50%;background:hsl(var(--primary))}
html.navigating .nav-line,html.nav-arrive .nav-line{opacity:1;
  view-transition-name:tw-navline}
html.navigating .nav-line::before{
  animation:nav-line 6s var(--ease-out) forwards}
html.nav-arrive .nav-line::before{animation:nav-done .5s linear both}
@keyframes nav-line{from{transform:scaleX(.04)}to{transform:scaleX(.92)}}
/* To the edge in under a quarter of a second, then it fades. The curve is
   written out: a `var()` in a keyframe's own timing function is ignored. */
@keyframes nav-done{
  0%{transform:scaleX(var(--nav-from,.2));opacity:1;
    animation-timing-function:cubic-bezier(.2,.7,.2,1)}
  45%{transform:scaleX(1);opacity:1}
  100%{transform:scaleX(1);opacity:0}}
::view-transition-group(tw-navline),::view-transition-image-pair(tw-navline),
::view-transition-new(tw-navline){animation:none}
::view-transition-old(tw-navline),::view-transition-new(tw-navline){
  mix-blend-mode:normal}
::view-transition-old(tw-navline){animation:nav-old .25s linear both}
@keyframes nav-old{to{opacity:0}}
@media (prefers-reduced-motion:reduce){
  html.navigating .nav-line::before{animation:none;transform:scaleX(.5)}
  html.nav-arrive .nav-line{opacity:0}}
@media (max-width:900px){
  /* ⚠️ BACK ON A PHONE, ABOVE THE TAB BAR, decided by the owner 2026-10-29
     (*"it almost needs a back to top button, that is how long the scroll
     is"*). It was hidden here because the sticky header is always on screen,
     which shows where the top is and does not take you there. It appears
     after two screens of scrolling (`CHROME_JS`), not at 600px. */
  .to-top{right:16px;bottom:calc(63px + env(safe-area-inset-bottom) + 16px)}
}

@media (hover:hover){
  /* ⚠️ Hover moved the SHADOW and nothing else, so the primary action --
     the most important control on any screen -- answered the pointer with a
     2px lift and no change of colour at all. Brightness is the step, for
     the same reason the press uses it: derived from `--primary`, so it
     cannot drift when the palette is retuned.

     `filter` on the button also lifts its ripple and its label together,
     which a background-colour swap does not. */
  /* ⚠️ THE LIFT BELONGS TO THE PRIMARY, NOT TO EVERY BUTTON.
     Reported 2026-09-04: "every single button has that uplifting animation
     -- it kinda gets boring with all the buttons having the same". Measured
     on the landing page: THIRTEEN things rose by exactly 2px on hover -- the
     four buttons and the nine feature cards -- so one gesture was doing duty
     for a control and for a surface, and meant nothing in either place.
     Three gestures now, one per role. The PRIMARY rises and blooms, because
     it is the one action a page wants you to take. A GHOST fills in instead
     (the rule below, which already did this and was being overridden by the
     lift). A CARD does not move at all. */
  .btn-primary:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
  .btn:hover{text-decoration:none}
  .btn-ghost:hover{border-color:hsl(var(--primary) / .55);
    background:hsl(var(--muted))}
  .theme-toggle:hover{color:hsl(var(--foreground)); border-color:hsl(var(--primary) / .5)}
  .to-top:hover{border-color:hsl(var(--primary) / .6)}
  .back-link:hover i{transform:translateX(-3px)}
  .find:hover{border-color:hsl(var(--muted-foreground)/.45)}
}

/* ---------- the public pages' bar (`header`) ----------
   Colours come from three properties a page may set: the homepage sets them
   to its black stage and, once the hero is gone, to its own ground; a page
   that sets nothing gets the product's ground. Only colours change, never
   the size. */
.hm-top{position:sticky;top:0;z-index:50;
  color:var(--hm-top-ink,hsl(var(--foreground)));
  background:var(--hm-top-bg,hsl(var(--background)));
  border-bottom:1px solid var(--hm-top-line,hsl(var(--border)));
  transition:background .3s ease,color .3s ease,border-color .3s ease}
.hm-top-in{display:flex;align-items:center;justify-content:space-between;gap:16px;
  height:72px;width:100%;max-width:1440px;margin-inline:auto;
  padding-inline:max(clamp(16px,2.6vw,40px),env(safe-area-inset-left,0px))
    max(clamp(16px,2.6vw,40px),env(safe-area-inset-right,0px))}
.hm-top .logo{color:inherit}
.hm-top .logo b{color:inherit}
.hm-nav{display:flex;align-items:center;gap:clamp(12px,2vw,28px);font-size:15px}
.hm-nav a{color:inherit;text-decoration:none;font-weight:500;min-height:44px;
  display:inline-flex;align-items:center}
.hm-nav .theme-toggle{color:inherit;border-color:currentColor;background:none}
@media (hover:hover){
  .hm-nav a:hover{text-decoration:underline;text-underline-offset:5px}
}
@media (max-width:820px){.hm-hide-sm{display:none !important}}
@media (max-width:560px){.hm-top-in{height:64px}}

.toasts{position:fixed;left:50%;bottom:26px;z-index:120;
  transform:translateX(-50%);display:flex;flex-direction:column;
  align-items:center;gap:8px;width:max-content;max-width:min(88vw,420px);
  pointer-events:none}
.toast{position:relative;overflow:hidden;max-width:100%;
  transform:translateY(14px);opacity:0;pointer-events:none;
  padding:12px 20px;border-radius:999px;font-size:15px;font-weight:600;
  background:hsl(var(--foreground));color:hsl(var(--background));
  box-shadow:var(--shadow-lg);text-align:center;
  transition:opacity var(--t-quick) var(--ease),
             transform var(--t-move) var(--ease-out)}
.toast.on{opacity:1;transform:none}
/* Taking another's place (`twToast`): no entrance, a settle on the spot. */
.toast.swap{transition:none;animation:toast-swap .24s var(--ease-out)}
@keyframes toast-swap{from{transform:scale(.96)}}
.toast.bad{background:hsl(var(--bad));color:#fff}
.toast-words{display:flex;flex-direction:column;min-width:0}
/* The second line names the thing (a tender's title), and a title is long:
   one line, cut with an ellipsis, so three stacked toasts stay three rows. */
.toast-detail{font-size:13.5px;font-weight:500;opacity:.78;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* A toast that HOLDS (an action, or a failure) takes taps, and only while it
   is shown: a hidden one at opacity 0 must not catch the tap meant for what
   is under it. Its buttons are the inverse of the toast, the same ink as its
   words, and 44px like every other control a thumb aims at. The bar along
   its foot is the promise that it goes by itself, and it stops while held. */
.toast.holds{display:flex;align-items:center;gap:4px;
  padding:6px 6px 6px 20px;border-radius:24px;text-align:left}
.toast.holds .toast-words{flex:1}
.toast.holds.on{pointer-events:auto}
.toast-act{flex:none;min-height:44px;margin-left:8px;padding:0 16px;
  border-radius:999px;border:1px solid hsl(var(--background) / .35);
  background:none;color:inherit;font:inherit;cursor:pointer}
.toast-act:disabled{opacity:.7;cursor:default}
.toast-x{flex:none;display:inline-flex;align-items:center;
  justify-content:center;width:44px;height:44px;border:0;border-radius:999px;
  background:none;color:inherit;opacity:.72;cursor:pointer}
.toast-x svg{width:16px;height:16px}
.toast-act:active,.toast-x:active{opacity:.5;transition-duration:var(--t-tap)}
.toast-bar{position:absolute;left:0;right:0;bottom:0;height:2px;
  background:currentColor;opacity:.45;transform-origin:left center;
  animation:toast-timer linear forwards}
.toast.paused .toast-bar{animation-play-state:paused}
@keyframes toast-timer{from{transform:scaleX(1)}to{transform:scaleX(0)}}
/* Pull to reload, in an installed app (`PULL_JS`). Under the top bar
   (z-index 40) at rest, so it comes out from beneath it rather than
   appearing over it; the arrow turns when letting go will reload. */
.ptr{position:fixed;left:50%;top:calc(env(safe-area-inset-top) + 8px);
  z-index:39;width:40px;height:40px;margin-left:-20px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:hsl(var(--card));border:1px solid hsl(var(--border));
  box-shadow:var(--shadow-lg);color:hsl(var(--muted-foreground));
  pointer-events:none;opacity:0;transform:translateY(-56px);
  transition:transform .26s var(--ease-out),opacity .2s ease}
.ptr svg{width:20px;height:20px;transition:transform .2s ease}
.ptr.ready{color:hsl(var(--primary))}
.ptr.ready svg{transform:rotate(180deg)}
.ptr.busy svg{display:none}
.ptr.busy::after{content:"";width:18px;height:18px;border-radius:50%;
  border:2px solid currentColor;border-right-color:transparent;
  animation:ptr-turn .7s linear infinite}
@keyframes ptr-turn{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){ .ptr.busy::after{animation:none} }
/* Installed, the page does not bounce at its top: the pull there is the
   reload's, and a bounce under it would move the page and the arrow at
   once. A browser tab keeps its own pull and bounce. */
@media (display-mode:standalone){ html{overscroll-behavior-y:none} }
/* ⚠️ ON A PHONE A TOAST COMES DOWN FROM THE TOP (the owner, 2026-11-07:
   "once you make an action the confirmations can pile up and therefore
   cover the content"). The bottom of a phone is where everything a thumb
   does lives: the tab bar, Danes's three buttons, the rows being swiped. A
   toast there sat on the next thing the reader reached for, so it hangs
   under the status bar instead, one line, and the next one replaces it
   (`twToast`). The tender's title as a second line is a desk's: with one
   toast at a time it is the one just touched. */
@media (max-width:900px){
  .toasts{top:calc(env(safe-area-inset-top) + 10px);bottom:auto;
    max-width:calc(100vw - 24px)}
  .toast{transform:translateY(-14px)}
  .toast.on{transform:none}
  .toast-detail{display:none}
}
@media (prefers-reduced-motion:reduce){
  .toast{transform:none;transition:opacity var(--t-quick) var(--ease)}
  .toast.swap{animation:none}
}

@media print{
  /* Paper is a light ground. Re-state the light tokens rather than inventing
     print colours, so a printout cannot drift from the palette the rest of
     the product is measured against. */
  :root,:root[data-theme="dark"],:root[data-theme="light"]{
    --background:0 0% 100%;   --foreground:218 20% 11%;
    --card:0 0% 100%;         --card-foreground:218 20% 11%;
    --primary:211 42% 31%;    --primary-foreground:0 0% 100%;
    --accent:203 30% 42%;     --muted:220 10% 96%;
    --muted-foreground:218 10% 34%;
    --border:220 11% 78%;     --input:0 0% 100%;
    --ok:191 30% 28%;         --warn:34 70% 26%;  --bad:344 40% 34%;
    --shadow:none; --shadow-lg:none; --shadow-xl:none;
  }
  /* `exact` keeps the state pills and the urgency edges, which carry meaning
     rather than decoration -- a printed tender that cannot show ACT_FIRST is
     missing the answer it exists to give. */
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact;
    box-shadow:none !important}
  html,body{background:#fff;font-size:11pt}

  /* Navigation is meaningless on paper. */
  .rail,.rail-scrim,.topbar,.tabbar,.to-top,.pal,.pal-scrim,.ctx,.skip,
  .rail-toggle,.site-foot,.cookie,.back-link,.tour-start,.hm-top{
    display:none !important}
  /* The shell is a flex row with a sticky column; on paper it is one page. */
  .app-wrap{display:block}
  .main,.content,.container{display:block;max-width:none;width:auto;
    margin:0;padding:0}
  .content{padding:0 !important}

  /* Controls do not print. An anchor styled as a button is still a control:
     a printed page offering "Shrani" is offering something paper cannot do.
     `.actions` is the tender page's own row of them. */
  .btn,.actions,.list-tools,.filters,form,.dismiss,.saved-on,
  .theme-toggle,.more,.pg{display:none !important}

  /* A card is a section, not a raised surface. Keep the border -- it is what
     separates one section from the next once the shadow is gone. */
  .card,.tile,.trow-list,.band,.section{border:1px solid hsl(var(--border));
    background:#fff;break-inside:avoid;page-break-inside:avoid}
  /* A row split across two sheets is a row a reader cannot trust. */
  .row,.trow,.doc-row,.q-item,.srow,tr{break-inside:avoid;page-break-inside:avoid}
  h1,h2,h3{break-after:avoid;page-break-after:avoid}
  h1{font-size:17pt} h2{font-size:13pt} h3{font-size:11.5pt}
  .section-head,.band-head{position:static;padding:0;border:0;background:none;
    box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}

  /* Where it came from. A printout with no address is a page nobody can get
     back to, and this product's whole claim is that every fact is traceable
     to a source you can check. `content: attr()` cannot read location, so
     the value is written onto <body> by CHROME_JS before the dialog opens. */
  body::after{content:attr(data-print-url);display:block;margin-top:14pt;
    padding-top:6pt;border-top:1px solid hsl(var(--border));
    font-size:8.5pt;color:hsl(var(--muted-foreground))}

  /* A link's destination is invisible on paper. Print it for links that go
     somewhere a reader might want to follow -- but NOT for every anchor, or
     a tender card turns into a page of URLs. */
  .t-source a[href^="http"]::after,.doc-list a[href^="http"]::after{
    content:" (" attr(href) ")";font-size:8.5pt;word-break:break-all}
}
