/*
 * Kaiso Cars design system: tokens, base, shell and shared primitives.
 * World: Caribbean tropical modernism. Painted render walls, breeze-block
 * modules and jalousie louvres. Flat fills, square-cut corners, one block
 * module governing rhythm. Surface-specific layouts live in public.css and
 * workspace.css; both read only these tokens.
 */
@font-face { font-family: Archivo; src: url("/assets/archivo-latin-fccc8527.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/source-sans-3-latin-ad70ae00.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  /* Ground and structure */
  --limewash: oklch(0.975 0.006 190);
  --render: oklch(0.945 0.012 190);
  --block-tone: oklch(0.905 0.018 190);
  --rule: oklch(0.87 0.014 200);
  --edge: oklch(0.54 0.02 215);
  /* Ink */
  --ink: oklch(0.23 0.025 225);
  --ink-quiet: oklch(0.45 0.025 220);
  /* Painted walls */
  --wall: oklch(0.66 0.12 194);
  --wall-deep: oklch(0.36 0.075 205);
  --wall-tint: oklch(0.93 0.035 192);
  --on-wall: var(--ink);
  --on-deep: var(--limewash);
  --on-deep-quiet: oklch(0.86 0.03 195);
  /* The one lit thing */
  --sun: oklch(0.85 0.16 88);
  --sun-tint: oklch(0.95 0.06 92);
  --sun-edge: oklch(0.62 0.13 75);
  /* Field: inputs sit a step brighter than the limewash ground */
  --field: oklch(1 0 0);
  /* States: never the brand colours */
  --ok: oklch(0.43 0.09 155);
  --ok-tint: oklch(0.95 0.035 155);
  --warn: oklch(0.47 0.1 65);
  --warn-tint: oklch(0.95 0.045 85);
  --danger: oklch(0.49 0.16 28);
  --danger-tint: oklch(0.955 0.025 28);
  --focus: var(--wall-deep);

  /* Type */
  --font-display: Archivo, "Arial Narrow", sans-serif;
  --font-text: "Source Sans 3", system-ui, sans-serif;
  --wide: 118%;
  --wider: 125%;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.625rem, 1.3rem + 1.2vw, 2rem);
  --step-4: clamp(2rem, 1.4rem + 2.2vw, 2.75rem);
  --step-5: clamp(2.5rem, 1.2rem + 5.2vw, 5.25rem);
  --wordmark: 1.875rem;
  --step-5-split: clamp(2.375rem, 1rem + 3.2vw, 4rem);

  /* The block module: 8px unit, 48px block */
  --unit: 0.5rem;
  --block: 3rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;
  --gutter: clamp(1rem, 0.5rem + 2vw, 1.5rem);
  --page-inline: clamp(1rem, 4vw, 3rem);
  --page-max: 80rem;
  --measure: 68ch;
  --radius: 2px;
  --control: 3rem;
  --photo-aspect: 4 / 3;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Legacy names still read by older views; they resolve to Kaiso tokens. */
  --brand: var(--wall-deep);
  --paper: var(--limewash);
  --quiet: var(--ink-quiet);
  --line: var(--rule);
  --space-sm: var(--space-3);
  --space-md: var(--space-5);
  --space-lg: var(--space-7);

  color-scheme: light;
  accent-color: var(--wall-deep);
  caret-color: var(--wall-deep);
}

/* Reset. Layered, so every unlayered Kaiso rule below wins regardless of
   specificity. It zeroes browser defaults the rest of this file builds on. */
@layer reset {
  *, ::before, ::after, ::backdrop, ::file-selector-button { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--rule); }
  * { outline-color: var(--focus); }
  html { line-height: 1.5; tab-size: 4; -webkit-tap-highlight-color: transparent; }
  hr { height: 0; color: inherit; border-top-width: 1px; }
  abbr:where([title]) { text-decoration: underline dotted; }
  h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
  a { color: inherit; text-decoration: inherit; }
  b, strong { font-weight: bolder; }
  code, kbd, samp, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1em; }
  small { font-size: 80%; }
  sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; }
  sub { bottom: -0.25em; }
  sup { top: -0.5em; }
  table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
  progress { vertical-align: baseline; }
  summary { display: list-item; }
  ol, ul, menu { list-style: none; }
  img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
  img, video { max-width: 100%; height: auto; }
  button, input, select, optgroup, textarea, ::file-selector-button { font: inherit; letter-spacing: inherit; color: inherit; opacity: 1; background-color: transparent; border-radius: 0; }
  ::file-selector-button { margin-inline-end: 4px; }
  ::placeholder { opacity: 1; color: color-mix(in oklab, currentcolor 50%, transparent); }
  textarea { resize: vertical; }
  ::-webkit-search-decoration { -webkit-appearance: none; }
  ::-webkit-date-and-time-value { min-height: 1lh; text-align: inherit; }
  ::-webkit-datetime-edit { display: inline-flex; padding-block: 0; }
  ::-webkit-datetime-edit-fields-wrapper { padding: 0; }
  ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field,
  ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field,
  ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field { padding-block: 0; }
  ::-webkit-calendar-picker-indicator { line-height: 1; }
  button, input:where([type=button], [type=reset], [type=submit]), ::file-selector-button { appearance: button; }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; }
  [hidden]:where(:not([hidden=until-found])) { display: none !important; }
}

/* Base */
* { box-sizing: border-box; }
html, body { max-width: 100%; }
html { scrollbar-color: var(--edge) var(--render); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--limewash); color: var(--ink); font-family: var(--font-text); font-size: var(--step-0); line-height: 1.55; font-feature-settings: "kern"; text-rendering: optimizeLegibility; }
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }
::selection { background: var(--sun); color: var(--ink); }
main, .page, form, fieldset, details { min-width: 0; }
main:focus { outline: none; }
.page { overflow-wrap: anywhere; }
img, video { max-width: 100%; height: auto; }
/* Tables get their contained mobile scroll from TableRegion so native table
   semantics and header relationships stay intact. */
table, pre { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { text-align: left; font-weight: 650; }
h1, h2, h3, h4 { text-wrap: balance; }
p { max-width: var(--measure); text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
time, .tabular, dd, td { font-variant-numeric: tabular-nums; }
hr { border: 0; border-top: 1px solid var(--rule); margin-block: var(--space-6); }
.visually-hidden, .sr-only { position: absolute !important; inline-size: 1px; block-size: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Breeze-block motif. Structural only: bands at joins and empty photo slots. */
.block-band { --band-color: var(--wall); display: block; block-size: var(--block); background: var(--band-color); -webkit-mask: url("/assets/kaiso/breeze-block-30312e10.svg") 0 0 / var(--block) var(--block) repeat-x; mask: url("/assets/kaiso/breeze-block-30312e10.svg") 0 0 / var(--block) var(--block) repeat-x; }
.block-field { background-color: var(--render); position: relative; isolation: isolate; }
.block-field::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--block-tone); -webkit-mask: url("/assets/kaiso/breeze-block-30312e10.svg") 0 0 / var(--block) var(--block); mask: url("/assets/kaiso/breeze-block-30312e10.svg") 0 0 / var(--block) var(--block); }

/* Shell */
.skip-link { position: absolute; top: 0; left: var(--space-4); z-index: 100; padding: var(--space-3) var(--space-4); background: var(--ink); color: var(--limewash); font-weight: 650; translate: 0 -200%; }
.skip-link:focus { translate: 0 var(--space-4); }
.site-header { position: relative; z-index: 10; min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) var(--page-inline); background: var(--limewash); border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-family: var(--font-display); font-weight: 850; font-stretch: var(--wider); font-size: var(--wordmark); line-height: 1; letter-spacing: -0.035em; text-decoration: none; }
.wordmark:hover { text-decoration: none; }
.wordmark-small { font-size: 1.5rem; }
.site-nav { display: flex; align-items: center; gap: var(--space-2); font-weight: 600; }
.site-nav > a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: var(--space-3); text-decoration: none; white-space: nowrap; border-radius: var(--radius); }
.site-nav > a:hover { background: var(--render); }
.site-menu { position: relative; }
.site-menu summary { display: flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: var(--space-2) var(--space-4); border: 1.5px solid var(--ink); border-radius: var(--radius); color: var(--ink); font-weight: 650; cursor: pointer; list-style: none; user-select: none; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary::after { content: ""; inline-size: 0.625rem; block-size: 0.625rem; background: currentColor; -webkit-mask: url("/assets/kaiso/chevron-4a463c0c.svg") center / contain no-repeat; mask: url("/assets/kaiso/chevron-4a463c0c.svg") center / contain no-repeat; transition: rotate 200ms var(--ease-out); }
.site-menu[open] summary { background: var(--ink); color: var(--limewash); }
.site-menu[open] summary::after { rotate: 180deg; }
.site-menu-panel { position: absolute; z-index: 20; top: calc(100% + var(--space-2)); right: 0; inline-size: 14rem; padding: var(--space-2); border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--limewash); box-shadow: 0 12px 28px -8px oklch(0.23 0.025 225 / 0.28); }
.site-menu-panel a, .site-menu-panel .text-link { display: flex; align-items: center; inline-size: 100%; min-height: 44px; padding: var(--space-2) var(--space-3); border-radius: var(--radius); color: var(--ink); font-weight: 600; text-align: left; text-decoration: none; }
.site-menu-panel a:hover, .site-menu-panel .text-link:hover { background: var(--render); }
.site-menu-host, .site-menu-explore { display: none !important; }
/* Narrowest phones, signed out: Explore joins the menu so Sign in stays on one line. */
@media (max-width: 360px) {
  .site-nav:has(.site-nav-signin) > .site-nav-explore { display: none; }
  .site-nav:has(.site-nav-signin) .site-menu-explore { display: flex !important; }
}
.site-menu-panel form { display: block; margin: var(--space-2) 0 0; border-top: 1px solid var(--rule); padding-top: var(--space-2); }

.flash { max-width: var(--page-max); inline-size: calc(100% - 2 * var(--page-inline)); margin: var(--space-4) auto 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius); background: var(--ok-tint); color: var(--ok); font-weight: 600; }
.flash.alert { background: var(--danger-tint); color: var(--danger); }

.site-footer { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--space-4) var(--space-6); margin-top: calc(var(--space-9) + var(--block)); padding: var(--space-6) var(--page-inline) var(--space-7); background: var(--wall-deep); color: var(--on-deep); }
.site-footer::before { content: ""; position: absolute; inset-inline: 0; bottom: 100%; block-size: var(--block); background: var(--wall-deep); -webkit-mask: url("/assets/kaiso/breeze-block-30312e10.svg") 0 0 / var(--block) var(--block) repeat-x; mask: url("/assets/kaiso/breeze-block-30312e10.svg") 0 0 / var(--block) var(--block) repeat-x; }
.site-footer .wordmark { color: var(--on-deep); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: var(--space-1) var(--space-5); }
.site-footer .text-link { color: var(--on-deep); }
.footer-nav .text-link { display: inline-flex; align-items: center; min-height: 44px; padding-block: var(--space-2); }
.site-footer :focus-visible { outline-color: var(--sun); }

/* Page structure */
.page { max-width: var(--page-max); margin-inline: auto; padding: clamp(var(--space-6), 5vw, var(--space-8)) var(--page-inline); }
.narrow { max-width: 48rem; min-height: 60vh; }
.page-heading { margin-bottom: var(--space-6); }
.page-title, .section-heading, .display-title { font-family: var(--font-display); font-weight: 750; font-stretch: var(--wide); letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 var(--space-4); white-space: pre-line; }
.display-title { font-size: var(--step-5); font-weight: 850; font-stretch: var(--wider); line-height: 0.98; letter-spacing: -0.035em; max-width: 14ch; }
.page-title { font-size: var(--step-4); }
.section-heading { font-size: var(--step-3); font-weight: 700; margin-top: 0; }
h3.section-heading, .record-row-heading { font-size: var(--step-1); }
.lede { color: var(--ink-quiet); font-size: var(--step-1); line-height: 1.45; margin: 0 0 var(--space-6); max-width: 52ch; }
/* Retained for older views: a quiet context line, not a tracked-caps kicker. */
.eyebrow { margin: 0 0 var(--space-2); color: var(--ink-quiet); font-size: var(--step--1); font-weight: 650; letter-spacing: 0.01em; }
.muted { color: var(--ink-quiet); }
.section-divider { border-top: 1px solid var(--rule); margin-top: var(--space-7); padding-top: var(--space-7); }
.section-stack > * + * { margin-top: var(--space-6); }
.stack > * + * { margin-top: var(--space-4); }
.panel { padding: var(--space-5); background: var(--render); border-radius: var(--radius); }
.intro-actions, .account-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); }
.break-words { overflow-wrap: anywhere; }
.whitespace-pre-wrap { white-space: pre-wrap; }

/* Controls: lit (solid) or unlit (outlined). No mid-grey states. */
.button, input[type=submit] { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: var(--control); padding: var(--space-3) var(--space-5); border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--limewash); font-family: var(--font-text); font-size: var(--step-0); font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.button:hover, input[type=submit]:hover { background: var(--wall-deep); border-color: var(--wall-deep); text-decoration: none; }
.button:active, input[type=submit]:active { translate: 0 1px; }
.button[disabled], .button[aria-disabled="true"], input[type=submit][disabled] { background: transparent; border-style: dashed; border-color: var(--edge); color: var(--ink-quiet); cursor: not-allowed; }
.button-small { min-height: 44px; padding: var(--space-2) var(--space-4); font-size: var(--step--1); }
.button-secondary { display: inline-flex; justify-content: center; align-items: center; gap: var(--space-2); min-height: 44px; padding: var(--space-2) var(--space-4); border: 1.5px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink); font-weight: 650; text-decoration: none; cursor: pointer; transition: background-color 160ms var(--ease-out); }
.button-secondary:hover { background: var(--render); text-decoration: none; }
.button.button-secondary { background: transparent; color: var(--ink); }
.button.button-secondary:hover { background: var(--render); }
.text-link { display: inline; border: 0; padding: 0; background: transparent; color: var(--wall-deep); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; cursor: pointer; }
.text-link:hover { text-decoration-thickness: 2px; }
.record-actions .text-link, .search-actions .text-link, .intro-actions .text-link, .account-links .text-link { display: inline-flex; align-items: center; min-height: 44px; }

/* Forms */
.form-stack { display: flex; flex-direction: column; gap: var(--space-5); margin-top: var(--space-5); }
.form-stack > .button, .form-stack > input[type=submit] { align-self: flex-start; }
.auth-help-links { gap: 0; }
.auth-help-links .text-link { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; }
.field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.field label, .field > .label { font-size: 0.9375rem; font-weight: 650; }
.field p { margin: 0; font-size: 0.9375rem; color: var(--ink-quiet); }
fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; font-weight: 650; }
.input, input:not([type=hidden]):not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { inline-size: 100%; min-inline-size: 0; min-height: var(--control); border: 1.5px solid var(--edge); border-radius: var(--radius); padding: var(--space-3); background: var(--field); color: var(--ink); box-shadow: none; transition: border-color 140ms var(--ease-out); }
input:is(.input, :not([type=hidden], [type=submit], [type=checkbox], [type=radio])):not([type=file]) { block-size: var(--control); }
.input:hover, input:not([type=hidden]):not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=file]):hover, select:hover, textarea:hover { border-color: var(--ink); }
.input:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 1px; border-color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--ink-quiet); opacity: 1; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
select, select.input { -webkit-appearance: none; appearance: none; block-size: var(--control); padding-right: 2.125rem; background: var(--field) url("/assets/kaiso/chevron-ink-17d2932e.svg") right 0.75rem center / 0.75rem no-repeat; text-overflow: ellipsis; }
select[multiple], select.input[multiple] { block-size: auto; background-image: none; padding-right: var(--space-3); }
/* Native Safari date controls must shrink within a phone's content column. */
input[type=date], input[type=time], input[type=datetime-local] { min-width: 0; max-width: 100%; min-inline-size: 0; block-size: var(--control); padding-block: 0; line-height: normal; box-sizing: border-box; -webkit-appearance: none; appearance: none; }
input::-webkit-datetime-edit { padding: 0; }
input::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.8; }
input::-webkit-date-and-time-value { min-width: 0; text-align: left; }
input[type=checkbox], input[type=radio] { inline-size: 1.25rem; block-size: 1.25rem; margin: 0; accent-color: var(--ink); }
input[type=file] { max-width: 100%; }
input[type=file]::file-selector-button { margin-right: var(--space-3); min-height: 44px; padding: var(--space-2) var(--space-4); border: 1.5px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink); font: inherit; font-weight: 650; cursor: pointer; }
.checkbox-row { display: flex; align-items: flex-start; gap: var(--space-3); min-height: 44px; }
.checkbox-row input { margin-top: 0.2rem; flex: none; }
textarea { min-height: 7.5rem; resize: vertical; }
details > summary { cursor: pointer; }

.trip-date-time { min-width: 0; }
.trip-date-time legend { font-weight: 650; margin-bottom: var(--space-2); }
.trip-date-time-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.trip-date-time-fields .field { gap: var(--space-1); }
.trip-date-time-fields label { font-size: var(--step--1); font-weight: 600; color: var(--ink-quiet); }
.trip-date-time-fields input, .trip-date-time-fields select { inline-size: 100%; min-width: 0; }

/* Notices: full tint plus a titled line. Never a coloured side stripe. */
.error-summary { margin-block: var(--space-5); padding: var(--space-4) var(--space-5); border: 1.5px solid var(--danger); border-radius: var(--radius); background: var(--danger-tint); color: var(--danger); }
.error-summary p, .error-summary li { color: var(--ink); }
.error-summary h2 { margin: 0 0 var(--space-2); color: var(--danger); font-family: var(--font-text); font-size: var(--step-0); font-weight: 700; }
.error-summary ul { margin: 0; padding-left: 1.25rem; }
.error-summary a { color: var(--danger); font-weight: 650; }

/* Lists and records */
.data-list { list-style: none; padding: 0; margin-block: var(--space-5); }
.data-list > li { padding-block: var(--space-5); border-bottom: 1px solid var(--rule); }
dl.data-list { display: grid; grid-template-columns: minmax(6rem, auto) 1fr; gap: var(--space-1) var(--space-5); }
dl.data-list dt { color: var(--ink-quiet); }
dl.data-list dd { margin: 0; }

/* Phones: one step down the type scale and the spacing ladder so the page
   title, lede and first control share the first screen. Controls keep 44px
   targets and 48px inputs; body and input text stay at --step-0 (no iOS zoom). */
@media (max-width: 640px) {
  :root { --step-3: 1.5rem; --step-4: 1.75rem; }
  .page { padding-block: var(--space-5) var(--space-6); }
  .lede { font-size: var(--step-0); line-height: 1.5; margin-bottom: var(--space-5); }
  .section-divider { margin-top: var(--space-6); padding-top: var(--space-6); }
  .section-stack > * + * { margin-top: var(--space-5); }
  .panel { padding: var(--space-4); }
  .form-stack { gap: var(--space-4); margin-top: var(--space-4); }
  .error-summary { margin-block: var(--space-4); padding: var(--space-3) var(--space-4); }
  .data-list { margin-block: var(--space-4); }
  .data-list > li { padding-block: var(--space-4); }
  .site-header { min-height: 3.75rem; gap: var(--space-2); padding-block: var(--space-2); }
  .site-nav { gap: 0; }
  .site-nav > a { padding-inline: var(--space-2); }
  .site-nav > .site-nav-host { display: none; }
  .site-menu-host { display: flex !important; }
  .wordmark { font-size: 1.5rem; }
  .site-menu summary { padding-inline: var(--space-3); }
  .site-menu-panel { inline-size: min(18rem, calc(100vw - 2rem)); }
  .site-footer { grid-template-columns: 1fr; margin-top: calc(var(--space-7) + var(--block)); padding-block: var(--space-5) var(--space-6); }
  .footer-nav { justify-content: flex-start; }
  .form-stack > .button, .form-stack > input[type=submit] { inline-size: 100%; }
}

/* Phones: the header stays reachable. It sticks to the top, slides away while
   scrolling down and returns on scroll up (site_header_controller.js). */
@media (max-width: 760px) {
  html { scroll-padding-top: 4.5rem; }
  .site-header { position: sticky; top: 0; transition: translate 240ms var(--ease-out); }
  .site-header.is-hidden { translate: 0 -100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.sms-delivery-workspace > .panel { margin-block: var(--space-6); }
.sms-payload-retention .data-list dd { overflow-wrap: anywhere; }
