/* OsDot shell — design tokens and base elements, light and dark. The dark set applies when the visitor chose it
   (html[data-theme=dark]) or the system prefers it and no light choice was made. A product re-colours the shell by
   overriding the tokens (its brand layer), never by editing these rules. */
:root{
  color-scheme:light;
  --bg:#f4f6f9;--surface:#fff;--surface-2:#f5f8fa;--ink:#14243b;--muted:#536877;--border:#dce5eb;
  --accent:#0b6e8a;--accent-ink:#fff;--accent-wash:#e3f1f5;--link:#0b6e8a;--focus:#7cc4d8;
  --accent-hover:#6b3a8c;--accent-hover-ink:#fff;--secondary-hover:#7d2a4a;--secondary-hover-ink:#fff;
  --nav-bg:#14243b;--nav-ink:#d8e4eb;--nav-active:#175459;--nav-active-ink:#fff;
  --pass:#187636;--pass-bg:#e5f5ea;--warn:#7a5000;--warn-bg:#fff4d6;--fail:#b3261e;--fail-bg:#fde8e6;--info:#0b5cad;--info-bg:#e7f0fb;
  --radius:10px;--shadow:0 3px 10px rgba(19,59,80,.07);
  --font:Inter,"Segoe UI",system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme=light]){color-scheme:dark;
    --bg:#0f1724;--surface:#162133;--surface-2:#1b283d;--ink:#e6ecf5;--muted:#a7b3c5;--border:#2c3a50;
    --accent:#4fb3cf;--accent-ink:#0b1422;--accent-wash:#16313f;--link:#7cc4d8;--focus:#4fb3cf;
    --accent-hover:#c3a6f2;--accent-hover-ink:#0b1422;--secondary-hover:#f2a7bf;--secondary-hover-ink:#0b1422;
    --nav-bg:#0b1422;--nav-ink:#c7d3e0;--nav-active:#1d4b5e;--nav-active-ink:#fff;
    --pass:#7fd49a;--pass-bg:#12301e;--warn:#f0c46a;--warn-bg:#33270c;--fail:#f19a92;--fail-bg:#3a1714;--info:#8fbef0;--info-bg:#12253d;
    --shadow:0 3px 10px rgba(0,0,0,.35)}
}
:root[data-theme=dark]{color-scheme:dark;
  --bg:#0f1724;--surface:#162133;--surface-2:#1b283d;--ink:#e6ecf5;--muted:#a7b3c5;--border:#2c3a50;
  --accent:#4fb3cf;--accent-ink:#0b1422;--accent-wash:#16313f;--link:#7cc4d8;--focus:#4fb3cf;
    --accent-hover:#c3a6f2;--accent-hover-ink:#0b1422;--secondary-hover:#f2a7bf;--secondary-hover-ink:#0b1422;
  --nav-bg:#0b1422;--nav-ink:#c7d3e0;--nav-active:#1d4b5e;--nav-active-ink:#fff;
  --pass:#7fd49a;--pass-bg:#12301e;--warn:#f0c46a;--warn-bg:#33270c;--fail:#f19a92;--fail-bg:#3a1714;--info:#8fbef0;--info-bg:#12253d;
  --shadow:0 3px 10px rgba(0,0,0,.35)}
@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/vendor/inter/inter-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/vendor/inter/inter-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/vendor/inter/inter-latin-700-normal.woff2) format("woff2")}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;font-size:16px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);line-height:1.55}
a{color:var(--link)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
img{max-width:100%;height:auto}
code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em;background:var(--surface-2);padding:.1em .35em;border-radius:4px;overflow-wrap:anywhere}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-999px;top:8px;display:inline-flex;align-items:center;min-height:44px;background:var(--nav-bg);color:var(--nav-active-ink);padding:8px 12px;border-radius:6px;z-index:100}
.skip-link:focus{left:8px}
h1{font-size:1.75rem;line-height:1.2;margin:.4rem 0 .6rem;letter-spacing:-.01em}
h2{font-size:1.2rem;margin:0 0 .6rem}
h1,h2,h3{overflow-wrap:break-word;hyphens:auto}
.lead{color:var(--muted);margin:0 0 1rem}
.hint,.setting-meta{color:var(--muted);font-size:.875rem}.setting-note{overflow-wrap:anywhere}
.eyebrow{display:block;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.button{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;padding:.55rem 1.1rem;border-radius:8px;border:1px solid var(--accent);background:var(--accent);color:var(--accent-ink);font:inherit;font-weight:600;text-decoration:none;cursor:pointer}
.button.outline{background:transparent;color:var(--ink);border-color:var(--border)}
/* 0.2.2 (the owner's approval of batch 2, item 3): .secondary, the second action of a sign-in or set-up page (the installer's name). */
.button.secondary{background:var(--surface);color:var(--ink);border-color:var(--border)}
.button.subtle{background:var(--accent-wash);color:var(--ink);border-color:transparent}
/* 0.2.10 (the touch-target round): a compact button keeps its smaller text and padding, at 44 px high like every control. */
.button.small{min-height:44px;padding:.35rem .8rem;font-size:.9rem}
/* 0.2.10: and inside the administration area, where a product theme's stylesheet is loaded for its samples (Appearance) */
.admin-main .button.small{min-height:44px}
/* 0.2.9 (the owner's rule of 2026-10-19): on hover, and while pressed (a touch screen), every button turns to a
   contrasting hue of the shell's palette, never a lighter or darker shade of itself — the main button to --accent-hover,
   the outline, secondary and subtle ones and the icon buttons to --secondary-hover, each with its own text colour; focus
   keeps its ring; a short colour fade, none under reduced motion. A product's brand layer that re-colours --accent sets
   these four tokens with it. */
.button,.icon-button{transition:background-color .16s ease,border-color .16s ease,color .16s ease}
.button:not(.outline,.secondary,.subtle):is(:hover,:active):not([disabled],[aria-disabled=true]){background:var(--accent-hover);border-color:var(--accent-hover);color:var(--accent-hover-ink)}
.button:is(.outline,.secondary,.subtle):is(:hover,:active):not([disabled],[aria-disabled=true]){background:var(--secondary-hover);border-color:var(--secondary-hover);color:var(--secondary-hover-ink)}
.icon-button:is(:hover,:active):not([disabled]){background:var(--secondary-hover);border-color:var(--secondary-hover);color:var(--secondary-hover-ink)}
input[type=file]:hover::file-selector-button,input[type=file]:active::file-selector-button{background:var(--secondary-hover);border-color:var(--secondary-hover);color:var(--secondary-hover-ink)}
@media (prefers-reduced-motion:reduce){.button,.icon-button{transition:none}}
.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;font:inherit;cursor:pointer}
.icon-button[aria-pressed=true]{background:var(--accent-wash);border-color:var(--border)}
fieldset{min-width:0}
label{display:block;font-size:.875rem;font-weight:600;margin:.2rem 0 .3rem}
/* 0.2.10 (the browser check of every administration page): a field's label with a long unbroken example (an address) wraps
   inside its column instead of pushing the page sideways on a narrow screen with large text. */
label{overflow-wrap:anywhere}
label.choice{display:flex;align-items:flex-start;gap:.5rem;font-weight:400;font-size:1rem;overflow-wrap:anywhere}
/* 0.1.4: a field without a type is a text field to the browser, so it gets the same look (FX-08 browser check). */
input:not([type]),input[type=text],input[type=email],input[type=url],input[type=password],input[type=number],input[type=search],input[type=tel],input[type=date],input[type=time],input[type=datetime-local],select,textarea{width:100%;min-height:44px;padding:.55rem .75rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit}
/* 0.1.3 (F-W2-02): date and time fields fill their column on phones too (Safari sizes them to their content otherwise) and
   keep the text at the start; their picker icon follows the light or dark scheme through color-scheme. */
input[type=date],input[type=time],input[type=datetime-local]{display:block;min-width:0;-webkit-appearance:none;appearance:none;text-align:left}
input[type=date]::-webkit-date-and-time-value,input[type=time]::-webkit-date-and-time-value,input[type=datetime-local]::-webkit-date-and-time-value{text-align:left}
input[type=file]{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;padding:.2rem .4rem;border:1px dashed var(--border);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit}
input[type=file]::file-selector-button{min-height:44px;margin-right:.75rem;padding:.35rem .9rem;border:1px solid var(--border);border-radius:6px;background:var(--surface-2);color:var(--ink);font:inherit;cursor:pointer}
input[type=checkbox],input[type=radio]{width:20px;height:20px;margin-top:.15rem;accent-color:var(--accent)}
/* 0.2.10 (the touch-target round): every control at least 44 px high where a finger presses it — a checkbox or a radio with
   its label (the shell's label.choice, a label around the input, a label after it), a summary that opens a section, and a
   link alone in a table cell, a fact's value, a row of links in the main part's navigation (tabs) or on a line of its own
   (.link-line): padding above and below that moves
   nothing else on the page. A link inside a sentence keeps its line (WCAG's inline exception). */
label.choice,label:has(>input:is([type=checkbox],[type=radio])),input:is([type=checkbox],[type=radio])+label{min-height:44px;padding-block:10px}
label.choice,label:has(>input:is([type=checkbox],[type=radio])),input:is([type=checkbox],[type=radio])+label{margin-block:0}
summary{min-height:44px;padding-block:10px}
td a,th a,dd a,main nav a,.link-line a{padding-block:14px}
.field{margin:0 0 1rem}
.has-error input,.has-error select,.has-error textarea{border-color:var(--fail)}
.error-message,small.error{display:block;color:var(--fail);font-size:.875rem;margin-top:.3rem}
.notice,.message{border:1px solid var(--border);border-radius:var(--radius);padding:.75rem 1rem;margin:0 0 1rem;background:var(--info-bg);color:var(--ink)}
.notice-success,.message.success{background:var(--pass-bg);border-color:transparent}
.notice-error,.message.error{background:var(--fail-bg);border-color:transparent}
.notice-warning,.message.warning,.demo-notice{background:var(--warn-bg);border-color:transparent}
.public-demo-banner{background:var(--warn-bg);color:var(--ink);padding:.6rem 1rem;font-size:.9rem;text-align:center;border-bottom:1px solid var(--border)}
.panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.25rem;margin:1rem 0;box-shadow:var(--shadow)}
.table-wrap{position:relative;overflow:auto;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}
table{border-collapse:collapse;width:100%;font-size:.95rem}
th,td{padding:.75rem 1rem;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}
thead th{font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;background:var(--surface-2);color:var(--muted);white-space:nowrap}
.facts{display:grid;gap:.4rem;margin:0}
.facts div{display:grid;grid-template-columns:minmax(0,1fr);gap:.1rem;padding:.4rem 0;border-bottom:1px dashed var(--border)}
.facts dt{font-weight:600}
.facts dd{margin:0;overflow-wrap:anywhere}
/* 0.2.1: long unbroken text — an e-mail address, a URL, a long name or reference — wraps inside its value, cell link,
   card or panel instead of pushing the page sideways; text that fits keeps its lines (anywhere breaks a word only when
   nothing else fits). Plain table text is left as it is, so a narrow table's columns are not squeezed below its words:
   a wide table scrolls inside its own .table-wrap, never the page. */
dd,dd a,td a,th a,.panel p,.panel li,.panel a,.card p,.card a{overflow-wrap:anywhere}
@media (min-width:640px){.facts div{grid-template-columns:200px minmax(0,1fr)}}
.powered-by a{color:inherit;font-weight:600}
.error-page .error-container{max-width:40rem;margin:3rem auto;padding:0 1rem}
