/* Diaglana and Remote OBD public sites. Same palette as the platform; no external requests. The brand settings of the Hub
   (/assets/brand.css, linked after this sheet: --brand-primary, --brand-accent, --brand-font-*, --brand-logo*) drive the
   primary scale, the icons, the fonts and the logo; the values after each comma are the kit's, for when it is missing. */
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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; }
@font-face { font-family: "Fraunces Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
  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: "Fraunces Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("/assets/fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2-variations");
  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; }
:root {
  --n-950: #0c1814; --n-900: #13221c; --n-800: #1f2f28; --n-700: #33443d; --n-600: #4f5f58; --n-500: #627169;
  --n-300: #bcc6c1; --n-200: #dfe5e2; --n-150: #e8ede9; --n-100: #f0f3f1; --n-50: #f7f9f8;
  --brand-800: color-mix(in srgb, var(--brand-primary, #0f5e3d) 78%, #000000); --brand-700: var(--brand-primary, #0f5e3d);
  --brand-600: var(--brand-primary, #0f5e3d); --brand-300: #7fd0a5; --brand-100: #dff1e7; --brand-50: #f0f8f3;
  --bg: #ffffff; --surface: #ffffff; --text: var(--n-900); --muted: var(--n-600); --line: var(--n-150); --band: var(--n-50);
  --accent: var(--brand-600); --radius: 14px; --shadow: 0 1px 2px rgba(12, 24, 20, .06), 0 8px 24px rgba(12, 24, 20, .06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --accent: var(--brand-300); --bg: #0c1814; --surface: #13221c; --text: #eef3f0; --muted: #b3bfb9; --line: #26372f; --band: #101d18; --brand-50: #13261d; --brand-100: #1b3a2a; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--brand-font-body, var(--font)); }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-600); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: var(--brand-300); } }
h1, h2, h3 { font-family: var(--brand-font-heading, inherit); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .6em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 2px; border-radius: 6px; }
.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 { position: absolute; left: 16px; top: -48px; padding: 8px 14px; background: var(--brand-700); color: #fff; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 64px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 750; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.15; }
.brand-logo { display: block; flex: 0 0 auto; height: 28px; max-width: 240px; aspect-ratio: var(--brand-logo-ratio, 1);
  background: var(--brand-logo, url("/assets/brand/logo-symbol.svg")) left center / contain no-repeat; }
.brand-24 .brand-logo { height: 24px; }
@media (prefers-color-scheme: dark) { .brand-logo { background-image: var(--brand-logo-reverse, url("/assets/brand/logo-symbol-reverse.svg")); } }
/* A lockup already shows the name: the name is hidden (the distributor line stays). */
.brand-text b { display: var(--brand-name-display, block); }
.brand-line { color: var(--muted); font-size: .72rem; font-weight: 500; }
.footer-note { color: var(--muted); font-size: .78rem; }
.site-nav { flex: 1 1 0; min-width: 0; overflow-x: auto; }
.site-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 8px; font-size: .97rem; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 550; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--brand-50); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
/* Language switch: a short code that opens the list (<details>, no script). */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; min-width: 44px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-weight: 650; font-size: .9rem; cursor: pointer; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang-menu[open] summary { color: var(--text); background: var(--brand-50); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 6; min-width: 160px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.lang-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.lang-menu a:hover { background: var(--brand-50); }
.lang-menu a[aria-current] { color: var(--accent); font-weight: 700; }
@media (max-width: 1240px) { .header-row { flex-wrap: wrap; } .site-nav { order: 3; flex-basis: 100%; } .header-actions { margin-left: auto; } }
/* Phones: the brand (and the distributor line) may wrap so the language code and «Acceder» stay on the first row. */
@media (max-width: 480px) {
  .header-row { gap: 10px 12px; }
  .brand { flex: 1 1 0; min-width: 0; white-space: normal; }
  .brand-line { font-size: .68rem; }
  .header-actions { gap: 8px; }
}

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.button:active { transform: translateY(1px); }
.button-small { min-height: 38px; padding: 0 14px; font-size: .95rem; }
.button-primary { background: var(--brand-700); color: #fff; }
.button-primary:hover { background: var(--brand-800); }
.button-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.button-ghost:hover { background: var(--band); }
.button-light { background: #fff; color: var(--brand-800); }
.button-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 48px; background: radial-gradient(1200px 500px at 85% 0%, var(--brand-50), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 340px; } }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 6px 12px; border-radius: 999px; background: var(--brand-100); color: var(--brand-800); font-weight: 650; font-size: .9rem; }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--brand-300); } }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.stats strong { display: block; font-size: 1.6rem; color: var(--accent); }
.stats span { color: var(--muted); font-size: .95rem; }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }
/* Renders of the pre-series enclosures (render.mjs productShot): the light grey of the render is its own frame. */
.product-shot { margin: 0; }
.product-shot img { width: 100%; height: auto; border-radius: var(--radius); background: #e4e7eb; }
.product-shot figcaption { margin-top: 8px; color: var(--muted); font-size: .85rem; }
/* Platform screenshots (demo data) and the clean board renders. */
.platform-shots { display: grid; gap: 32px 24px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); align-items: start; }
/* Without a phone: the first screen wide, the others two by two. With one: the screens on the left, the phone beside them. */
.platform-shots:not(:has(.platform-shot-phone)) > .platform-shot:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .platform-shots:has(.platform-shot-phone) { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); }
  .platform-shots:has(.platform-shot-phone) > .platform-shot-phone { grid-column: 2; grid-row: 1 / span 2; }
}
.platform-shot { margin: 0; }
.platform-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.platform-shot-phone img { max-width: 320px; margin-inline: auto; border-radius: 28px; }
.platform-shot figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.pcb-shot { margin: 24px 0 0; max-width: 820px; }
.pcb-shot img { display: block; width: auto; max-width: 100%; height: auto; max-height: 520px; border-radius: var(--radius); background: #0b0f0c; }
.pcb-shot figcaption { margin-top: 12px; color: var(--muted); }
.page-hero { padding: clamp(36px, 6vw, 72px) 0 24px; background: linear-gradient(180deg, var(--brand-50), transparent); }
.status { color: var(--muted); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--brand-100); color: var(--brand-800); font-weight: 650; font-size: .85rem; margin-right: 6px; }
@media (prefers-color-scheme: dark) { .pill { color: var(--brand-300); } }

/* Bands and cards */
.band { padding: clamp(40px, 6vw, 72px) 0; }
.band-muted { background: var(--band); }
.band-cta { background: linear-gradient(135deg, var(--brand-800), var(--brand-600)); color: #fff; text-align: center; }
.band-cta .actions { justify-content: center; }
.band-cta p { color: rgba(255, 255, 255, .85); }
.cards { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card h3 a { color: inherit; }
.icon { width: 28px; height: 28px; margin-bottom: 12px; fill: none; stroke: var(--brand-accent, var(--accent)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-color-scheme: dark) { .icon { stroke: var(--accent); } }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 650; text-decoration: none; }
.more .icon { width: 18px; height: 18px; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding-top: 8px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%;
  background: var(--brand-100); color: var(--brand-800); font-weight: 750; }
@media (prefers-color-scheme: dark) { .steps li::before { color: var(--brand-300); } }
.steps p { color: var(--muted); }
/* Home: the two devices, the audiences and plain fact lists (no icon cards). */
.device-list { display: grid; gap: 32px; margin: 24px 0 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.device { display: grid; gap: 16px; align-content: start; }
.device .product-shot img { max-width: 420px; }
.device h3 { font-size: 1.35rem; margin-bottom: 4px; }
.device h3 a { color: inherit; text-decoration: none; }
.device-where { margin: 0 0 6px; color: var(--accent); font-weight: 650; }
.device-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; }
.device-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.audiences { display: grid; gap: 24px 32px; margin: 24px 0 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.audiences li { padding-top: 16px; border-top: 3px solid var(--brand-600); }
.audiences p { color: var(--muted); margin: 0; }
.fact-list { display: grid; gap: 0 32px; margin: 16px 0 0; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.fact-list > div { padding: 16px 0; border-top: 1px solid var(--line); }
.fact-list dt { font-weight: 650; margin-bottom: 4px; }
.fact-list dd { margin: 0; color: var(--muted); }

/* Tables, notes, prose */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
tbody th { width: 28%; font-weight: 650; }
/* Two-column tables (specifications, network, guides) fit a phone without sideways scrolling; wider ones scroll. */
@media (max-width: 560px) {
  table:not(:has(th:nth-child(3), td:nth-child(3))) { min-width: 0; }
  th, td { padding: 10px 12px; }
  tbody th { width: 40%; }
}
thead th { background: var(--band); font-size: .95rem; }
.note { color: var(--muted); font-size: .95rem; margin-top: 16px; }
.price { font-weight: 650; color: var(--accent); }
.tip { margin-top: 20px; padding: 14px 18px; border-radius: 12px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.prose .wrap { max-width: 780px; }
.prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .6em; }
.prose ul { padding-left: 1.2rem; }
.prose .table-wrap { margin: 16px 0; }
.guide-where { color: var(--muted); }
.guide-step { font-size: 1.2rem; margin-top: 28px; }
.guide-warning { background: #fff6e5; border-color: #f1d49a; }
@media (prefers-color-scheme: dark) { .guide-warning { background: #2a2210; border-color: #5a4518; } }
.card-eyebrow { margin: 0 0 6px; color: var(--accent); font-size: .85rem; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.solution-split { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.checklist { margin: 16px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.checklist .icon { flex: none; width: 22px; height: 22px; margin: 2px 0 0; }
.solution-devices { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.solution-devices li { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.solution-devices strong { display: block; margin-bottom: 4px; }
.solution-devices span { color: var(--muted); }
.solution-devices .more { display: flex; width: fit-content; margin-top: 8px; }
.solution-guides-title { margin-top: 40px; }
.guide-index { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); margin-top: 24px; }
.guide-index h3 { font-size: 1.05rem; margin-bottom: 8px; }
.guide-index ul, .guide-siblings { margin: 0; padding-left: 1.1rem; }
.guide-index li, .guide-siblings li { margin-bottom: .45em; }
.guide-roles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); align-items: start; }
.guide-role { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 4px 18px; }
.guide-role summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 650; }
.guide-role ul { margin: 0 0 12px; padding-left: 1.1rem; }
.guide-role li { margin-bottom: .45em; }
.legal-courtesy { font-style: italic; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px auto 0; padding: 0; list-style: none; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 4px 18px; }
.faq summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 650; }
.faq p { color: var(--muted); }

/* Configurator */
.configurator { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .configurator { grid-template-columns: 1fr; } }
.configurator fieldset { margin: 0 0 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); grid-column: 1; }
.configurator legend { padding: 0 8px; font-weight: 700; font-size: 1.1rem; }
.config-products { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.config-product { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.config-product p { margin: 0; color: var(--muted); }
.config-product label { display: grid; gap: 4px; font-weight: 600; font-size: .9rem; }
.config-product input[type=number] { width: 96px; }
.config-options { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.config-options[hidden] { display: none; }
.options-title { width: 100%; font-weight: 650; }
.check { display: inline-flex !important; grid-auto-flow: column; align-items: center; gap: 8px !important; font-weight: 500 !important; }
.config-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.config-grid label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.config-grid .wide { grid-column: 1 / -1; }
/* At least 16 px in fields: iOS Safari zooms into smaller ones. */
input, textarea { font: inherit; font-size: max(16px, 1em); color: var(--text); background: var(--bg); border: 1px solid var(--n-300); border-radius: 10px; min-height: 44px; padding: 8px 12px; }
textarea { resize: vertical; }
.config-summary { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 88px; padding: 24px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); }
@media (max-width: 900px) { .config-summary { grid-column: 1; grid-row: auto; position: static; } }
.config-summary pre { white-space: pre-wrap; font: inherit; margin: 0; min-height: 3em; }
.config-summary .actions { margin-top: 16px; }

/* Footer */
.site-footer { margin-top: 0; padding: 56px 0 24px; background: var(--n-950); color: #c9d3ce; }
.site-footer a { color: #e8efeb; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .button-light { color: var(--brand-800); }
.site-footer .brand { color: #fff; }
.site-footer .brand b { color: var(--brand-300); }
.site-footer .brand-logo { background-image: var(--brand-logo-reverse, url("/assets/brand/logo-symbol-reverse.svg")); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h2 { font-size: .95rem; color: #fff; margin-bottom: 12px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-grid p { margin: 14px 0; max-width: 34ch; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid #26372f; font-size: .9rem; color: #9fb0a8; }

/* Expert marketplace (pages of the site Worker) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.chips li { padding: 4px 12px; border-radius: 999px; background: var(--brand-50); border: 1px solid var(--brand-100); font-size: .92rem; }
.chips li:has(> .pill) { padding: 0; background: none; border: 0; }
.chips a { text-decoration: none; }
.verified { color: var(--accent); font-weight: 650; }
.expert-place { color: var(--muted); margin: 0 0 12px; }
.expert-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px 32px; margin: 0; }
.expert-facts dt { font-weight: 650; margin-bottom: 6px; }
.expert-facts dd { margin: 0; color: var(--muted); }
.service-meta, .service-description { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; margin-top: 4px; }
.expert-search { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; align-items: end; margin-top: 24px; }
.expert-search label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.expert-search .actions { margin: 0; }
select { font: inherit; font-size: max(16px, 1em); color: var(--text); background: var(--bg); border: 1px solid var(--n-300); border-radius: 10px; min-height: 44px; padding: 8px 12px; }
.results-count { color: var(--muted); font-weight: 600; }
.expert-cards .price { margin: 8px 0 0; font-weight: 650; }
.expert-avatar img { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; border: 3px solid var(--surface); box-shadow: var(--shadow); margin-bottom: 16px; }
.post-author { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 16px; }
.post-author img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.post-author a { font-weight: 650; }
.post-author span { flex-basis: 100%; color: var(--muted); font-size: .95rem; }
.post-author img + a + span { padding-left: 60px; }
.post-date, .post-counts { color: var(--muted); font-size: .95rem; }
.post-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; margin: 20px 0; }
.post-photos figure { margin: 0; }
.post-photos img { width: 100%; height: auto; border-radius: 12px; background: var(--band); }
.post-photos figcaption { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.post-cards img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.post-comments { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.post-comments li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.post-comments li p:last-child { margin-bottom: 0; }
.post-comment-author { color: var(--muted); font-size: .95rem; }

/* Contact: page, invitation dialog and errors */
.contact-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-aside ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.contact-aside li { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-aside strong { display: block; margin-bottom: 4px; }
.contact-aside span { color: var(--muted); }
.lead-form .check { align-items: flex-start; font-size: .92rem; }
.lead-form .check input { min-height: 0; margin-top: 4px; }
.lead-form .actions { margin-top: 18px; }
.lead-form .lead-turnstile { min-height: 65px; margin-top: 8px; }
.lead-trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: #b42318; font-size: .85rem; font-weight: 600; }
[aria-invalid="true"] { border-color: #b42318; }
.form-alert { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: #fdecea; border: 1px solid #f5c2bc; color: #7a1a12; font-weight: 600; }
@media (prefers-color-scheme: dark) { .form-alert { background: #3a1512; border-color: #6b2620; color: #ffd7d2; } .field-error { color: #ff8a80; } }
.lead-dialog { width: min(520px, 100% - 32px); max-height: calc(100% - 32px); overflow: auto; padding: 28px; border: 0; border-radius: 18px;
  background: var(--surface); color: var(--text); box-shadow: 0 24px 64px rgba(12, 24, 20, .3); }
.lead-dialog::backdrop { background: rgba(12, 24, 20, .55); }
.lead-dialog h2 { margin: 0 32px 8px 0; font-size: 1.4rem; }
.lead-dialog > p { color: var(--muted); margin: 0 0 16px; }
.lead-dialog .config-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.lead-dialog-close { position: absolute; top: 12px; right: 12px; margin: 0; }
.lead-x { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lead-x:hover { background: var(--brand-50); color: var(--text); }
.lead-dialog-later { margin: 8px 0 0; text-align: center; }
.lead-dialog-later .button { border: 0; color: var(--muted); }

/* Transparency report (DSA): figures right-aligned; the SHA-256 breaks anywhere on a phone. */
.transparency-report { margin-bottom: 32px; }
.transparency-report td.num, .transparency-report th.num { text-align: right; font-variant-numeric: tabular-nums; }
.transparency-hash { overflow-wrap: anywhere; }
.transparency-report table { min-width: 0; }
@media (max-width: 560px) {
  .transparency-report th, .transparency-report td { padding: 8px 6px; font-size: .85rem; overflow-wrap: anywhere; }
  .transparency-report tbody th { width: auto; }
}
