
/* ---------- Nodsites tokens ----------
   Mirrored from the company site (sites/nodsites-site/src/styles/global.css: the palette, the type scale, the radii, the
   field and button styles). The form is a separate app and cannot import the site's stylesheet: a change of the site's
   tokens is copied here by hand. One look, the night (owner, 2026-11-19). */
:root {
  --canvas: #0d1524; --paper: #172439; --band: #080e1a; --field: #0f1a2d;
  --ink: #e8ecf3; --muted: #a6b1c5; --accent: #e8d6ac; --on-accent: #0d1524; /* champagne: never pale blue */
  --gold: #dcc08a; --gold-soft: #b99a5f;
  --navy: #152c50; --on-navy: #f2efe9; --on-navy-muted: #bcc5d6; --on-navy-gold: #d9be88;
  --line: color-mix(in srgb, var(--ink) 16%, transparent); --line-soft: color-mix(in srgb, var(--ink) 9%, transparent);
  --field-line: color-mix(in srgb, var(--ink) 38%, transparent); /* a field's boundary at 3:1 against the page and the field (WCAG 1.4.11); --line stays for cards and dividers */
  --field-ring: color-mix(in srgb, var(--accent) 48%, transparent);
  --danger: #ee7a69; --on-danger: #0d1524; --ok: #5fd3a1;
  --btn-a: #efe0b4; --btn-b: #c9a764; --btn-line: rgb(255 255 255 / 0.2); --btn-sheen: rgb(255 255 255 / 0.3); --btn-ink: #13213a;
  --shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);
  --glass: color-mix(in srgb, var(--canvas) 90%, transparent); --scrim: rgb(0 0 0 / 0.55);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* the site's scale: 12, 14, 16, 18, 24, 30 on a phone; 24 grows to 32 and 30 to 42 on a computer. Nothing else. */
  --t-xs: 0.75rem; --t-sm: 0.875rem; --t-ui: 1rem; --t-md: 1.125rem;
  --t-xl: clamp(1.5rem, 1.325rem + 0.75vw, 2rem); --t-2xl: clamp(1.875rem, 1.6rem + 1.14vw, 2.625rem);
  --r-sm: 8px; --r-field: 10px; --r-card: 16px; --r-pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rail: 272px; --measure: 44rem; --gutter: 1rem;
  --record-h: 104px; /* the sticky record's height, kept current by the script (a long name may take two lines) */
}
@media (min-width: 560px) { :root { --gutter: 1.5rem; } }
@media (min-width: 900px) { :root { --gutter: 2rem; --record-h: 124px; } }
@font-face { /* font: schibsted-grotesk-latin-wght-normal.woff2 */ font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; 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; src: url(fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2"); }
@font-face { /* font: schibsted-grotesk-latin-ext-wght-normal.woff2 */ font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; src: url(fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format("woff2"); }
@font-face { /* font: playfair-display-latin-wght-normal.woff2 */ font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; 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; src: url(fonts/playfair-display-latin-wght-normal.woff2) format("woff2"); }
@font-face { /* font: playfair-display-latin-ext-wght-normal.woff2 */ font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; src: url(fonts/playfair-display-latin-ext-wght-normal.woff2) format("woff2"); } /* build.mjs inlines form/fonts/ here: two @font-face rules per family (latin, latin-ext) */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: dark; scroll-padding-top: calc(var(--record-h) + 16px); } /* the sticky record: a focused or targeted element lands below it */
@media (max-width: 899px) { html { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); } } /* the fixed phone bar never covers a focused control (WCAG 2.4.11) */
main, .part { scroll-margin-top: calc(var(--record-h) + 16px); }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--font-sans); font-size: var(--t-ui); line-height: 1.6; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.25; margin: 0; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; } /* gold, not gold-soft: 3:1 against the page (WCAG 1.4.11) */
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--accent); color: var(--on-accent); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vh:focus-visible { position: fixed !important; inset-inline-start: 16px; top: 16px; width: auto; height: auto; margin: 0; padding: 12px 16px; overflow: visible; clip: auto; white-space: normal; background: var(--ink); color: var(--canvas); border-radius: var(--r-pill); text-decoration: none; z-index: 60; } /* the skip link shows above the sticky header when it has focus */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
html[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- the site's bar: the mark and the name back to the site, the language ---------- */
.site { border-bottom: 1px solid var(--line-soft); }
.site__inner { display: flex; align-items: center; gap: 8px 16px; max-width: 69rem; margin: 0 auto; padding: 8px var(--gutter); min-height: 60px; }
.site__brand { display: inline-flex; align-items: center; gap: 10px; min-width: 44px; min-height: 44px; color: var(--ink); text-decoration: none; }
.site__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: radial-gradient(120% 120% at 30% 0%, #253a63, #16243d 60%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 0 0 1px rgb(226 205 156 / 0.22); }
.site__mark svg { width: 15px; height: 21px; fill: #e2cd9c; }
.site__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1; } /* the wordmark: the logo's own size, as on the site */
.site__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-inline-start: 8px; padding-inline: 4px; color: var(--muted); font-size: var(--t-sm); font-weight: 500; text-decoration: none; transition: color 0.2s var(--ease); }
.site__back:hover { color: var(--ink); }
.site__back svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.site__back:hover svg { transform: translateX(-3px); }
html[dir="rtl"] .site__back:hover svg { transform: scaleX(-1) translateX(-3px); }
.lang { display: flex; justify-content: flex-end; min-height: 44px; min-width: 13.5rem; margin-inline-start: auto; border-radius: var(--r-pill); background: color-mix(in srgb, var(--ink) 6%, transparent); } /* the buttons arrive by script: their row is held at its size, so nothing moves as they come */
.lang__btn { flex: 1 0 auto; min-height: 44px; padding: 0 12px; border: 3px solid transparent; border-radius: var(--r-pill); background: none; background-clip: padding-box; color: var(--muted); font-size: var(--t-sm); font-weight: 500; transition: color 0.2s var(--ease), background-color 0.2s var(--ease); }
.lang__btn:hover { color: var(--ink); }
.lang__btn[aria-pressed="true"] { background-color: color-mix(in srgb, var(--ink) 16%, transparent); color: var(--ink); font-weight: 600; }
@media (max-width: 639px) { .site__back { display: none; } } /* no room beside the languages: the foot carries the link */
@media (max-width: 479px) { .site__name { display: none; } } /* a phone's bar: the mark and the language */
@media (max-width: 359px) { .lang { min-width: 11rem; } .lang__btn { padding: 0 6px; } }
html[lang="ar"] { --font-sans: "Segoe UI", "SF Arabic", "Geeza Pro", "Noto Sans Arabic", Tahoma, Arial, sans-serif; --font-display: "Segoe UI", "SF Arabic", "Geeza Pro", "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif; }
html[lang="ar"] .site__name { font-family: "Playfair Display", Georgia, serif; } /* the wordmark keeps its face in every language */
html[dir="rtl"] .record__eyebrow, html[dir="rtl"] .part__eyebrow, html[dir="rtl"] .rail__title, html[dir="rtl"] .doc__eyebrow, html[dir="rtl"] .review__part h4, html[dir="rtl"] .rail .st { letter-spacing: 0; }
html[dir="rtl"] select { background-position: 20px 55%, 15px 55%; }

/* ---------- the record: whose brief this is and how far it has come (sticky) ---------- */
.record { position: sticky; top: 0; z-index: 20; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line-soft); }
.record__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: end; padding: 10px var(--gutter) 8px; max-width: 69rem; margin: 0 auto; }
.record__inner > * { min-width: 0; }
.record__eyebrow { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; }
.only-narrow { display: none; }
@media (max-width: 559px) { .only-wide { display: none; } .only-narrow { display: inline; } }
@media (max-width: 559px) { .record__eyebrow:has(#country-short:empty) .record__sep { display: none; } } /* no country yet: no dot left hanging */
/* the name: on a phone one line in the text face (a title under 24px), on a computer the display face */
.record__name { font-family: var(--font-sans); font-size: var(--t-md); font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; color: var(--ink); min-height: 1.35em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.record__name .ph { color: var(--muted); font-weight: 500; }
@media (min-width: 900px) { .record__inner { padding-block: 14px 10px; } .record__name { font-family: var(--font-display); font-size: var(--t-xl); font-weight: 500; line-height: 1.2; letter-spacing: -0.012em; min-height: 1.2em; white-space: normal; overflow-wrap: anywhere; text-wrap: balance; } .record__name .ph { font-style: italic; font-weight: 400; } }
.record__meta { display: grid; justify-items: end; align-content: end; text-align: end; font-size: var(--t-xs); line-height: 1.5; color: var(--muted); white-space: nowrap; }
.record__meta strong { color: var(--ink); font-weight: 600; font-size: var(--t-sm); }
.record__meta #step-label { display: block; min-height: 1.4em; } /* the step's line, filled by script, held too */
.gauge { grid-column: 1 / -1; height: 3px; margin-top: 6px; background: var(--line-soft); border-radius: 2px; overflow: hidden; }
.gauge > span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); transform-origin: 0 50%; transform: scaleX(var(--done, 0)); transition: transform 0.4s var(--ease); }
html[dir="rtl"] .gauge > span { transform-origin: 100% 50%; }
.record__saved { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: var(--t-xs); line-height: 1.5; color: var(--muted); min-height: 1.5em; margin-top: 4px; }
.record__saved svg { flex: none; width: 13px; height: 13px; color: var(--gold-soft); }
.record__saved span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- layout ---------- */
.frame { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 69rem; margin: 0 auto; padding: 0 var(--gutter); gap: 24px; }
@media (min-width: 900px) { .frame { grid-template-columns: var(--rail) minmax(0, 1fr); gap: 64px; } }

/* rail (the contents, beside the form on a computer) */
.rail { display: none; }
@media (min-width: 900px) { .rail { display: block; position: sticky; top: calc(var(--record-h) + 8px); align-self: start; max-height: calc(100vh - var(--record-h) - 24px); overflow: auto; overscroll-behavior: contain; padding: 28px 0 16px; } }
.rail__title { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.rail ol { list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid var(--line-soft); }
.rail li { margin: 0; }
.rail ol button { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: baseline; gap: 8px; width: 100%; min-height: 40px; padding: 8px 10px 8px 14px; border: 0; background: none; text-align: start; color: var(--muted); border-inline-start: 2px solid transparent; margin-inline-start: -1px; font-size: var(--t-sm); line-height: 1.4; border-radius: 0 var(--r-sm) var(--r-sm) 0; transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
html[dir="rtl"] .rail ol button { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.rail ol button:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.rail ol button[aria-current="step"] { color: var(--ink); border-inline-start-color: var(--gold); font-weight: 600; background: color-mix(in srgb, var(--gold-soft) 10%, transparent); }
.rail .num { font-size: var(--t-xs); font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.rail .st { font-size: var(--t-xs); letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.rail .st[data-s="done"] { color: var(--ok); font-weight: 600; }
.rail .st[data-s="part"] { color: var(--gold); }
.rail__foot { margin-top: 20px; font-size: var(--t-xs); color: var(--muted); line-height: 1.5; }

/* main column */
.main { min-width: 0; padding-top: 28px; }
@media (min-width: 900px) { .main { padding-top: 36px; } }
.part { display: none; max-width: var(--measure); }
.part[data-active] { display: block; animation: partin 0.28s var(--ease); }
@keyframes partin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.part__head { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.part__eyebrow { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.part__title { font-family: var(--font-display); font-size: var(--t-2xl); font-weight: 500; line-height: 1.15; letter-spacing: -0.016em; text-wrap: balance; }
.part__title:focus { outline: none; }
.part__why { margin-top: 12px; color: var(--muted); font-size: var(--t-ui); line-height: 1.6; max-width: 38rem; text-wrap: pretty; }

/* fields */
.field { margin-bottom: 28px; }
.field > label, .field > .lbl { display: block; font-weight: 600; font-size: var(--t-ui); line-height: 1.35; margin-bottom: 6px; }
.req { color: var(--gold); font-weight: 600; margin-inline-start: 8px; font-size: var(--t-xs); white-space: nowrap; }
.help { color: var(--muted); font-size: var(--t-sm); margin-bottom: 10px; line-height: 1.5; text-wrap: pretty; overflow-wrap: anywhere; } /* an example address longer than a 320 px line breaks, it never widens the page */
.help .eg { display: block; margin-top: 2px; }
.help .eg em { font-style: normal; color: var(--ink); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], input[type="time"], input[type="file"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--field-line); border-radius: var(--r-field); background: var(--field); color: var(--ink); font: inherit; font-size: var(--t-ui); caret-color: var(--gold); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 82%, transparent); }
@media (hover: hover) { input:hover:not(:focus, [aria-invalid="true"], [type="checkbox"], [type="radio"]), select:hover:not(:focus), textarea:hover:not(:focus) { border-color: color-mix(in srgb, var(--ink) 68%, transparent); } }
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="url"]:focus, input[type="number"]:focus, input[type="date"]:focus, input[type="time"]:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--field-ring), 0 8px 20px -14px color-mix(in srgb, var(--accent) 60%, transparent); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 16%, transparent); }
input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 30%, transparent); }
input:disabled, select:disabled { opacity: 0.5; cursor: not-allowed; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 40px; }
input[type="checkbox"], input[type="radio"] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.opts { display: grid; gap: 10px; }
.opts--cards { grid-template-columns: 1fr; }
@media (min-width: 560px) { .opts--cards { grid-template-columns: 1fr 1fr; } }
.opt { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; min-height: 52px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-field); background: var(--paper); cursor: pointer; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease); }
@media (hover: hover) { .opt:hover { border-color: var(--gold-soft); } }
.opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--paper)); }
.opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.opt input { margin-top: 2px; }
.opt b { font-weight: 600; display: block; line-height: 1.4; }
.opt small { color: var(--muted); display: block; font-size: var(--t-sm); line-height: 1.5; margin-top: 4px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; min-height: 44px; padding-block: 10px; cursor: pointer; line-height: 1.5; }
.check input { margin-top: 2px; }
.field > label.check { display: grid; margin-bottom: 0; } /* a tick box that is the whole question: the box beside its words, as every other tick */
.unsure { margin-top: 2px; font-size: var(--t-sm); color: var(--muted); }
.unsure input { margin-top: 0; }
.row { display: grid; gap: 12px 16px; }
@media (min-width: 560px) { .row--2 { grid-template-columns: 1fr 1fr; } .row--3 { grid-template-columns: 1fr 1fr 1fr; } }
.row .field { margin-bottom: 0; }
.group { border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: 20px 16px; background: color-mix(in srgb, var(--paper) 60%, var(--canvas)); margin-bottom: 28px; }
@media (min-width: 560px) { .group { padding: 24px; } }
.group > .lbl { font-weight: 600; font-size: var(--t-md); line-height: 1.35; margin-bottom: 14px; display: block; }
.group .field:last-child { margin-bottom: 0; }

/* repeat items */
.items { display: grid; gap: 16px; min-width: 0; }
.item { border: 1px solid var(--line-soft); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow); padding: 16px; position: relative; min-width: 0; }
@media (min-width: 560px) { .item { padding: 24px; } }
.field, .group { min-width: 0; }
.item__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.item__title { font-size: var(--t-md); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.item__title .idx { color: var(--gold); margin-inline-end: 8px; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.item__rm { flex: none; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--muted); font-size: var(--t-sm); text-decoration: underline; text-underline-offset: 0.2em; transition: color 0.2s var(--ease); }
.item__rm:hover { color: var(--danger); }
.add { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 48px; padding: 0 20px; border: 1px dashed var(--gold-soft); border-radius: var(--r-pill); background: none; color: var(--ink); font-weight: 600; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.add:hover { border-style: solid; background: color-mix(in srgb, var(--gold-soft) 10%, transparent); }
.sub { margin-top: 8px; }
.sub .item { padding: 16px; box-shadow: none; border-color: var(--line); }
.sub .item__title { font-size: var(--t-ui); }

/* hours */
.hours { display: grid; gap: 8px; }
.hours__row { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.hours__row input[type="time"] { min-width: 0; width: 100%; min-height: 44px; padding: 8px 6px; }
.hours__row input[type="time"]::-webkit-calendar-picker-indicator { margin: 0; padding: 0; }
.hours__row .check { grid-template-columns: auto auto; gap: 8px; font-size: var(--t-sm); align-items: center; }
.hours__row .check input { margin-top: 0; }
.hours__day { font-weight: 600; font-size: var(--t-sm); }
.hours__row[data-closed="1"] input[type="time"] { opacity: 0.35; }
@media (min-width: 640px) { .hours__row { grid-template-columns: 3.5rem minmax(0, 11rem) minmax(0, 11rem) auto; justify-content: start; gap: 12px; } .hours__row input[type="time"] { padding: 8px 12px; } } /* with room, a time is as wide as a time, not as the card */
@media (max-width: 379px) { .hours__row { grid-template-columns: 2.75rem minmax(0, 1fr) minmax(0, 1fr); row-gap: 0; } .hours__row .check { grid-column: 2 / -1; } } /* the narrowest phones: the day's "Closed" under its two times */

/* tags / lists */
.tagbox { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: var(--t-sm); line-height: 1.3; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease); }
button.tag { min-height: 44px; padding: 0 16px; font-weight: 500; }
@media (hover: hover) { button.tag:hover { border-color: var(--gold-soft); } }
.tag button { display: grid; place-items: center; width: 32px; height: 44px; margin-block: -5px; margin-inline-end: -12px; border: 0; background: none; padding: 0; line-height: 1; color: var(--muted); font-size: var(--t-md); }
.tag button:hover { color: var(--danger); }
.tag[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }

/* buttons: pills, the main action in gold (as the site's) */
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); border: 1px solid var(--btn-line); background: radial-gradient(120% 170% at 30% 0%, var(--btn-sheen), transparent 46%), linear-gradient(165deg, var(--btn-a), var(--btn-b) 64%); color: var(--btn-ink); font-size: var(--t-ui); font-weight: 600; line-height: 1.2; text-decoration: none; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), 0 2px 6px rgb(70 52 14 / 0.12), 0 12px 26px -14px rgb(160 122 53 / 0.5); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease), opacity 0.2s var(--ease); }
@media (hover: hover) { .btn:hover:not([disabled]) { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6), 0 3px 8px rgb(70 52 14 / 0.16), 0 16px 32px -14px rgb(160 122 53 / 0.62); } }
.btn:active:not([disabled]) { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
@media (hover: hover) { .btn--ghost:hover:not([disabled]) { border-color: var(--gold-soft); box-shadow: none; background: color-mix(in srgb, var(--ink) 4%, transparent); } }
.btn--danger { background: var(--danger); border-color: var(--danger); color: var(--on-danger); box-shadow: none; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn--next::after, .btn--back::before { content: ""; flex: none; width: 7px; height: 7px; border-block-start: 2px solid currentColor; border-inline-end: 2px solid currentColor; transform: rotate(45deg); transition: translate 0.2s var(--ease); }
.btn--back::before { transform: rotate(-135deg); }
html[dir="rtl"] .btn--next::after { transform: rotate(-45deg); }
html[dir="rtl"] .btn--back::before { transform: rotate(135deg); }
@media (max-width: 559px) { .nav .btn:not(.btn--ghost) { flex: 1; min-height: 52px; } }

/* the phone's bar: back, where you are (opens the contents), next */
.bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-top: 1px solid var(--line-soft); }
@media (min-width: 900px) { .bar { display: none; } }
.bar__contents { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 48px; padding: 0 16px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--r-pill); font-size: var(--t-sm); font-weight: 600; transition: border-color 0.2s var(--ease); }
.bar__contents:hover { border-color: var(--gold-soft); }
.bar__contents svg { flex: none; width: 16px; height: 16px; color: var(--gold); }
.bar__contents span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .btn { min-height: 48px; padding-inline: 18px; }
@media (max-width: 479px) { .bar .btn--back { width: 48px; padding-inline: 0; } .bar .btn--back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } } /* a phone: "Back" is its chevron (the word stays for a screen reader), so the place in the middle has room for the part's name */

/* contents sheet (phone): it slides up and its backdrop fades */
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--scrim); visibility: hidden; opacity: 0; transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s; }
.sheet[data-open] { visibility: visible; opacity: 1; transition: opacity 0.25s var(--ease); }
.sheet__panel { position: absolute; inset-inline: 0; bottom: 0; max-height: 82vh; overflow: auto; overscroll-behavior: contain; background: var(--canvas); border-radius: 20px 20px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -24px 60px -24px rgb(0 0 0 / 0.45); transform: translateY(100%); transition: transform 0.32s var(--ease); }
.sheet[data-open] .sheet__panel { transform: none; }
.sheet__panel ol { list-style: none; margin: 12px 0 0; padding: 0; }
.sheet__panel button.jump { width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; min-height: 48px; padding: 12px 6px; border: 0; border-bottom: 1px solid var(--line-soft); background: none; text-align: start; font-size: var(--t-ui); line-height: 1.4; color: var(--ink); }
.sheet__panel button.jump[aria-current="step"] { font-weight: 600; }
.sheet__panel .num { font-size: var(--t-xs); font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.sheet__panel .st { font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.sheet__panel .st[data-s="done"] { color: var(--ok); font-weight: 600; }
.sheet__title { font-family: var(--font-display); font-size: var(--t-xl); font-weight: 500; line-height: 1.2; letter-spacing: -0.012em; padding-inline-end: 48px; }
.sheet__close { position: absolute; top: 12px; inset-inline-end: 10px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; font-size: 1.5rem; line-height: 1; color: var(--muted); transition: color 0.2s var(--ease), background-color 0.2s var(--ease); }
.sheet__close:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.sheet__links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 8px; }

/* start & review */
.intro { display: grid; gap: 16px; margin-bottom: 32px; }
.intro p { max-width: 38rem; text-wrap: pretty; }
.privacy { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-soft); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow); font-size: var(--t-sm); line-height: 1.55; color: var(--muted); }
.privacy__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--gold-soft) 16%, transparent); color: var(--gold); }
.privacy__icon svg { width: 18px; height: 18px; display: block; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); font-size: var(--t-sm); }
.badge b { font-weight: 600; }
.missing { border: 1px solid var(--line-soft); border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow); padding: 18px; margin-bottom: 16px; }
@media (min-width: 560px) { .missing { padding: 22px 24px; } }
.missing h3 { display: flex; align-items: baseline; gap: 10px; font-size: var(--t-md); line-height: 1.35; margin-bottom: 6px; }
.missing h3::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-soft); translate: 0 -1px; }
.missing--ok h3 { margin-bottom: 0; }
.missing--ok h3::before { content: "✓"; width: auto; height: auto; border-radius: 0; background: none; color: var(--ok); font-weight: 700; translate: none; }
.missing ul { list-style: none; margin: 0; padding: 0; }
.missing li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; border-top: 1px solid var(--line-soft); }
.missing button { min-height: 44px; padding: 10px 0; border: 0; background: none; color: var(--accent); text-align: start; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; font-size: var(--t-ui); line-height: 1.4; }
.missing button:hover { text-decoration-thickness: 2px; }
.missing--ok { border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.review__part h4 { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
.review__why { color: var(--muted); font-size: var(--t-sm); }
.review__h { font-size: var(--t-md); margin-top: 32px; }
.assets { list-style: none; margin: 12px 0 0; padding: 0; font-size: var(--t-ui); line-height: 1.55; }
.assets li { position: relative; padding-inline-start: 22px; margin-bottom: 8px; }
.assets li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.72em; width: 10px; height: 1.5px; border-radius: 1px; background: var(--gold-soft); }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.actions .btn { padding-inline: 14px; }
.actions .btn--gold { grid-column: 1 / -1; min-height: 52px; }
@media (min-width: 560px) { .actions { display: flex; flex-wrap: wrap; } .actions .btn { padding-inline: 22px; } }
/* the brief itself: the page's last word, on the site's navy */
.doc { position: relative; overflow: hidden; margin-top: 32px; padding: 24px 20px; border-radius: var(--r-card); border: 1px solid color-mix(in srgb, var(--on-navy-gold) 28%, transparent); background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--navy) 82%, #3a5a90), var(--navy) 62%); color: var(--on-navy); box-shadow: 0 24px 56px -28px rgb(8 14 28 / 0.55); }
@media (min-width: 560px) { .doc { padding: 32px; } }
.doc::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--on-navy-gold), transparent 80%); }
html[dir="rtl"] .doc::before { background: linear-gradient(270deg, var(--on-navy-gold), transparent 80%); }
.doc__eyebrow { font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy-gold); }
.doc__title { font-family: var(--font-display); font-size: var(--t-xl); font-weight: 500; line-height: 1.2; letter-spacing: -0.012em; margin: 8px 0 6px; overflow-wrap: anywhere; text-wrap: balance; }
.doc__meta { color: var(--on-navy-muted); font-size: var(--t-sm); line-height: 1.5; }
.doc .btn--ghost { color: var(--on-navy); border-color: color-mix(in srgb, var(--on-navy) 30%, transparent); }
@media (hover: hover) { .doc .btn--ghost:hover { border-color: var(--on-navy-gold); background: color-mix(in srgb, var(--on-navy) 8%, transparent); } }
.doc :focus-visible { outline-color: var(--on-navy-gold); }
.internal { border: 1px dashed var(--gold-soft); border-radius: var(--r-card); padding: 6px 18px; margin-bottom: 24px; font-size: var(--t-sm); color: var(--muted); }
.internal summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; cursor: pointer; font-weight: 600; line-height: 1.4; color: var(--ink); list-style: none; }
.internal summary::-webkit-details-marker { display: none; }
/* the one mark of a fold, as on the site: a plus that turns to a cross when open */
.internal summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--gold), var(--gold)) center / 100% 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 100% no-repeat; transition: rotate 0.3s var(--ease); }
.internal[open] summary::after { rotate: 45deg; }
.internal[open] { padding-bottom: 18px; }
.internal[open] summary { margin-bottom: 12px; }
.internal .field, .internal .group { color: var(--ink); font-size: var(--t-ui); }
.err { display: flex; align-items: baseline; gap: 8px; color: var(--danger); font-size: var(--t-sm); font-weight: 500; line-height: 1.45; margin-top: 8px; }
.err::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--danger); color: var(--on-danger); font-size: var(--t-xs); font-weight: 700; line-height: 1; translate: 0 2px; }
.help--after { margin-top: 16px; }
.send { font-size: var(--t-ui); color: var(--ink); max-width: 38rem; }

/* start over */
.reset { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--muted); font-size: var(--t-sm); text-decoration: underline; text-underline-offset: 0.2em; transition: color 0.2s var(--ease); }
.reset:hover { color: var(--danger); }
.sheet__panel .reset { font-size: var(--t-ui); margin-top: 0; }
.confirm { width: min(28rem, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--canvas); color: var(--ink); box-shadow: 0 32px 80px -32px rgb(0 0 0 / 0.6); }
.confirm[open] { animation: popin 0.26s var(--ease); }
@keyframes popin { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.confirm::backdrop { background: var(--scrim); }
.confirm__title { font-family: var(--font-display); font-size: var(--t-xl); font-weight: 500; line-height: 1.2; letter-spacing: -0.012em; margin-bottom: 12px; }
.confirm p { font-size: var(--t-ui); color: var(--muted); }
.confirm__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.toast { position: fixed; bottom: calc(88px + env(safe-area-inset-bottom)); inset-inline: 0; margin: 0 auto; width: max-content; max-width: 90vw; padding: 12px 18px; border-radius: var(--r-pill); background: var(--ink); color: var(--canvas); font-size: var(--t-sm); font-weight: 500; line-height: 1.4; box-shadow: 0 16px 40px -16px rgb(0 0 0 / 0.5); opacity: 0; transform: translateY(8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); pointer-events: none; z-index: 50; }
.toast[data-show] { opacity: 1; transform: none; }
@media (min-width: 900px) { .toast { bottom: 28px; } }

/* the foot: who Nodsites is, its registered office and email, the legal pages, the way back */
.foot { max-width: 69rem; margin: 56px auto 0; padding: 20px var(--gutter) calc(104px + env(safe-area-inset-bottom)); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: var(--t-xs); line-height: 1.6; color: var(--muted); }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot a { color: var(--muted); }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; } /* the email stays a link in its sentence */
.foot a:hover { color: var(--ink); }
@media (min-width: 900px) { .foot { padding-bottom: 32px; } }

/* print */
@media print {
  /* paper is white: the night tokens give way to dark ink on white */
  :root {
    --canvas: #ffffff; --paper: #ffffff; --band: #ffffff; --field: #ffffff;
    --ink: #13213a; --muted: #475670; --accent: #1d3a63; --on-accent: #ffffff;
    --gold: #7a5a26; --gold-soft: #b38e50; --danger: #b3372b; --on-danger: #ffffff; --ok: #1f8a5b;
    --line: color-mix(in srgb, var(--ink) 13%, transparent); --line-soft: color-mix(in srgb, var(--ink) 7%, transparent);
    --field-line: color-mix(in srgb, var(--ink) 50%, transparent);
    color-scheme: light;
  }
  .site, .record, .rail, .bar, .nav, .sheet, .actions, .add, .item__rm, .toast, .confirm, .foot { display: none !important; }
  .part { display: block !important; page-break-inside: avoid; max-width: none; margin-bottom: 24px; }
  body { background: #fff; color: #000; }
  .item, .missing, .privacy { box-shadow: none; }
  .doc { background: none; color: #000; border-color: #999; box-shadow: none; }
  .doc__eyebrow, .doc__meta { color: #333; }
  input, select, textarea { border: 0; border-bottom: 1px solid #999; border-radius: 0; }
}

