/* The site's colours, taken from the owner's logo file itself (the median colour of each part of the picture, sampled by
   tools/brand/make-logo-files.py's companion measurement on 1 Dec 2026):
     blue #0061e7 (the letters and the door hanger)   dark blue #022c6d (the letters' shadow)   mint #e7fbee (the bubble)
     green #036621 (the bubble's outline)             orange #fd7b0c (the dot)                   white #ffffff
   Blue is for headings and buttons; dark green and mint for frames and surfaces; orange only as a small accent; the dark
   blue is the ink. The paler tones are the same colours let through at part strength. The one colour not from the file is
   the red of an error. No outside font: the device's own rounded or plain letters. */
:root, body.dnd-one-look {
  color-scheme: light dark;
  --dnd-blue: #0061e7; --dnd-dark: #022c6d; --dnd-mint: #e7fbee; --dnd-green: #036621; --dnd-orange: #fd7b0c;
  --dnd-page: #ffffff; --dnd-surface: #e7fbee; --dnd-surface-2: #f3fdf6; --dnd-card: #ffffff;
  --dnd-ink: #022c6d; --dnd-soft: #3a5a8d; --dnd-heading: #0061e7; --dnd-link: #0061e7;
  --dnd-line: #b9d6c2; --dnd-field-line: #4f9464; --dnd-frame: #036621;
  --dnd-button: #0061e7; --dnd-on-button: #ffffff; --dnd-quiet: #e7fbee; --dnd-on-quiet: #022c6d;
  --dnd-good: #036621; --dnd-bad: #b42318; --dnd-accent: #fd7b0c; --dnd-button-edge: #0061e7;
  /* The orange family (owner's ruling, 1 Dec 2026): the logo's orange hue (28 degrees) at the mint's own lightness (94.5%) is the
     pastel; the same hue darker is the edge of a pastel block, and darker again the colour of small words on it. */
  --dnd-peach: #fff0e3; --dnd-peach-line: #fec89a; --dnd-orange-deep: #a24b01;
  --dnd-blue-glow: rgba(0, 97, 231, 0.22); --dnd-orange-glow: rgba(253, 123, 12, 0.38);
  /* Owner's second ruling (2 Dec 2026): a "go" button (it starts the trial) is the logo's dark green with white words; a tight
     orange underglow is the logo's orange, close under the thing it lights. */
  --dnd-go: #036621; --dnd-on-go: #ffffff; --dnd-orange-glow-tight: rgba(253, 123, 12, 0.6);
  /* (owner, 2 Dec 2026 09:17) the same tight underglow in the logo's green, for the left tile of the example card under the pointer */
  --dnd-green-glow-tight: rgba(3, 102, 33, 0.6);
  --dnd-font: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --dnd-page: #022c6d; --dnd-surface: #123b76; --dnd-surface-2: #0b3472; --dnd-card: #0b3472;
    --dnd-ink: #e7fbee; --dnd-soft: #b5ced2; --dnd-heading: #e7fbee; --dnd-link: #e7fbee;
    --dnd-line: #41628f; --dnd-field-line: #8aa6b9; --dnd-frame: #e7fbee;
    --dnd-button: #0061e7; --dnd-on-button: #ffffff; --dnd-quiet: #123b76; --dnd-on-quiet: #e7fbee;
    --dnd-good: #e7fbee; --dnd-bad: #f89b44; --dnd-accent: #fd7b0c; --dnd-button-edge: #e7fbee;
  }
}
/* The logo: the owner's picture, never stretched (its own proportions always), with room around it. */
.dnd-logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; line-height: 0; }
.dnd-logo img { display: block; height: 44px; width: auto; aspect-ratio: 800 / 212; max-width: 100%; }
.dnd-logo.small img { height: 36px; }
.dnd-logo.large img { height: 72px; }
@media (max-width: 520px) { .dnd-logo img { height: 36px; } .dnd-logo.small img { height: 30px; } .dnd-logo.large img { height: 56px; } }
/* Links and boxes take the brand's colours in both schemes (a browser's own defaults are grey boxes and purple links in the dark). */
a { color: var(--dnd-link); }
input, textarea, select { background-color: var(--dnd-card); color: var(--dnd-ink); border-color: var(--dnd-field-line); }
/* The public pages have ONE look, the light one, for every visitor (owner's ruling, 1 Dec 2026): a page whose body carries
   this class keeps the light values above whatever the device's dark setting says. */
body.dnd-one-look { color-scheme: light; }
/* The public look (owner's ruling of 1 Dec 2026, carried to every public page): tinted blocks are the pastel orange, their edges
   the orange edge, frames and typing boxes are stroked in the logo's blue, small labels are the deep orange. */
body.dnd-one-look { --dnd-mint-line: #b9d6c2; }
/* (Not the home page: the owner sets each piece of that page himself; see landing.css.) */
body.dnd-one-look:not(.landing) { --dnd-surface: var(--dnd-peach); --dnd-surface-2: var(--dnd-peach); --dnd-quiet: var(--dnd-peach); --dnd-line: var(--dnd-peach-line); --dnd-frame: var(--dnd-blue); --dnd-field-line: var(--dnd-blue); --dnd-good: var(--dnd-orange-deep); }
/* What the owner chose as shown stays as shown: the top bar, and in the home page's hero the pill and the second button. */
body.dnd-one-look .pub-head, body.dnd-one-look .pub-foot { --dnd-line: var(--dnd-mint-line); --dnd-surface: var(--dnd-mint); --dnd-good: var(--dnd-green); }

html:has(body.dnd-one-look) { color-scheme: light; }
/* THE ORANGE BUTTON PATTERN (owner's third ruling, 2 Dec 2026 01:41): every button, chip or pill with the pastel orange fill, on
   every public page, is drawn the same way: pastel orange fill, a 1-pixel border in the logo's blue, words in the logo's blue,
   and a tight mint underglow. One rule, so it is identical everywhere; a new such element is added to this list. */
body.dnd-one-look { --dnd-orange-button-fill: var(--dnd-peach); --dnd-orange-button-edge: 1px solid var(--dnd-blue); --dnd-orange-button-words: var(--dnd-blue); --dnd-orange-button-glow: 0 6px 12px -2px var(--dnd-mint); }
body.dnd-one-look .land-chip:not(.plain):not(.off),
body.dnd-one-look p.land-trial,
body.dnd-one-look a.dnd-btn.dnd-quiet, body.dnd-one-look button.dnd-btn.dnd-quiet, body.dnd-one-look a.dnd-card-cta.dnd-quiet {
  background: var(--dnd-orange-button-fill); border: var(--dnd-orange-button-edge); color: var(--dnd-orange-button-words); box-shadow: var(--dnd-orange-button-glow);
}
/* A feature tile under the pointer (owner's ruling of 2 Dec 2026 04:53): the values of the model's own rule for its feature card,
   as written there — shade #f0f0f3; shadow 0 8px 32px black at 50%, and a 1-pixel ring at 10%. The ring's colour in the model is
   the model's own brand green; only that colour is replaced, by the logo's blue, at the same 10%. */
body.dnd-one-look { --dnd-tile-hover-fill: #f0f0f3; --dnd-tile-hover-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 97, 231, 0.10); }
