/*
   OpenData public site: the shared look of every page on resources/views/public/layout.blade.php
   (the directory pages, /data, /developers, the key and claim pages). Plain CSS, no build step, versioned
   by a hash of this file (App\Support\PublicAsset). System fonts only; nothing is loaded from another
   site. Colours follow the visitor's light or dark setting and match the API reference
   (public/developer-docs/api-docs.css). Icons are CSS masks of inline SVG, so they cost no markup and
   take the text colour.
*/

:root {
    color-scheme: light;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif;
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
    --bg: #f5f7fa;
    --surface: #ffffff;
    --surface-2: #f1f4f8;
    --text: #0f1729;
    --muted: #465063;
    --subtle: #5b6577;
    --line: #e1e6ee;
    --line-strong: #c9d1dc;
    --field-border: #848ea0;
    --accent: #1d4ed8;
    --accent-hover: #1e40af;
    --accent-soft: #eaf0fd;
    --on-accent: #ffffff;
    --focus: #1d4ed8;
    --focus-ring: rgb(29 78 216 / .25);
    --ok-fg: #12703a;
    --ok-bg: #e7f5ec;
    --warn-fg: #9a4508;
    --err-fg: #b42318;
    --err-bg: #fdeceb;
    --code-bg: #0d1117;
    --code-head: #161b22;
    --code-border: #30363d;
    --code-fg: #e6edf3;
    --code-muted: #9198a1;
    --radius-lg: .75rem;
    --radius: .5rem;
    --radius-sm: .3125rem;
    --wrap: 74rem;

    --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
    --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
    --i-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E");
    --i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    --i-person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
    --i-map: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4 3 6v14l6-2 6 2 6-2V4l-6 2-6-2zM9 4v14M15 6v14'/%3E%3C/svg%3E");
    --i-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M4 21h16'/%3E%3C/svg%3E");
    --i-code: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 7-5 5 5 5m8-10 5 5-5 5'/%3E%3C/svg%3E");
    --i-locate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Cpath d='M12 1v4M12 19v4M1 12h4M19 12h4'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23000'/%3E%3C/svg%3E");
    --i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
    --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    --i-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1'/%3E%3C/svg%3E");
    --i-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    --i-edit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E");
    --i-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='m10.7 12.3 9.8-9.8M17 6l3 3M14.5 8.5l2 2'/%3E%3C/svg%3E");
    --i-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V5a2 2 0 0 1 2-2h14v15H6a2 2 0 0 0-2 2 2 2 0 0 0 2 2h14'/%3E%3C/svg%3E");
    --i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
}

/* Dark: the system setting unless the visitor chose light, or the visitor's own choice (html[data-theme]). */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #0f151e;
        --surface: #151e2a;
        --surface-2: #1a2432;
        --text: #e7ecf3;
        --muted: #b0bac8;
        --subtle: #98a3b4;
        --line: #243041;
        --line-strong: #344358;
        --field-border: #63738c;
        --accent: #7cb3fb;
        --accent-hover: #9cc5fc;
        --accent-soft: #172a45;
        --on-accent: #0b1220;
        --focus: #7cb3fb;
        --focus-ring: rgb(124 179 251 / .3);
        --ok-fg: #5ad48a;
        --ok-bg: #122a1f;
        --warn-fg: #f4b860;
        --err-fg: #ff8f86;
        --err-bg: #2f1a1e;
        --code-bg: #0a0e14;
        --code-head: #121821;
    }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0f151e;
    --surface: #151e2a;
    --surface-2: #1a2432;
    --text: #e7ecf3;
    --muted: #b0bac8;
    --subtle: #98a3b4;
    --line: #243041;
    --line-strong: #344358;
    --field-border: #63738c;
    --accent: #7cb3fb;
    --accent-hover: #9cc5fc;
    --accent-soft: #172a45;
    --on-accent: #0b1220;
    --focus: #7cb3fb;
    --focus-ring: rgb(124 179 251 / .3);
    --ok-fg: #5ad48a;
    --ok-bg: #122a1f;
    --warn-fg: #f4b860;
    --err-fg: #ff8f86;
    --err-bg: #2f1a1e;
    --code-bg: #0a0e14;
    --code-head: #121821;
}

/* Base ---------------------------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: from-font; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
main:focus { outline: none; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.012em; }
h1 { font-size: clamp(1.875rem, 1.45rem + 1.8vw, 2.625rem); font-weight: 750; letter-spacing: -.024em; margin: 1.75rem 0 .75rem; }
h2 { font-size: 1.375rem; font-weight: 700; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.0625rem; font-weight: 650; margin: 1.5rem 0 .5rem; }
p, li { max-width: 46rem; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; 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: .75rem; top: -4rem; z-index: 50; padding: .6rem .9rem; background: var(--surface); color: var(--text); border: 2px solid var(--focus); border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: .75rem; }

.site-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .site-wrap { padding: 0 1.5rem; } }
.page { padding-bottom: 4rem; }

/* Icons: <span class="ic ic-phone" aria-hidden="true"></span> */
.ic { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -.125em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ic-phone { --i: var(--i-phone); }
.ic-mail { --i: var(--i-mail); }
.ic-globe { --i: var(--i-globe); }
.ic-pin { --i: var(--i-pin); }
.ic-person { --i: var(--i-person); }
.ic-map { --i: var(--i-map); }
.ic-download { --i: var(--i-download); }
.ic-code { --i: var(--i-code); }
.ic-locate { --i: var(--i-locate); }
.ic-search { --i: var(--i-search); }
.ic-check { --i: var(--i-check); }
.ic-copy { --i: var(--i-copy); }
.ic-chevron { --i: var(--i-chevron); }
.ic-edit { --i: var(--i-edit); }
.ic-key { --i: var(--i-key); }
.ic-book { --i: var(--i-book); }
.ic-lock { --i: var(--i-lock); }

/* Header -------------------------------------------------------------------------------------------- */

/* The same dark bar as the map's top bar (frontend/css/styles.css) and the API reference, in both themes. */
.site-header { --nav-bg: #1F2937; --nav-text: #F3F4F6; --nav-text-2: #C5CCD6; --nav-line: rgba(255, 255, 255, .08); position: relative; z-index: 20; background: var(--nav-bg); border-bottom: 1px solid #111827; color: var(--nav-text); }
:root[data-theme="dark"] .site-header { --nav-bg: #0F1724; background: linear-gradient(180deg, #111B2A, #0D1521); border-bottom-color: var(--line); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .site-header { --nav-bg: #0F1724; background: linear-gradient(180deg, #111B2A, #0D1521); border-bottom-color: var(--line); }
}
.site-header .site-header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .875rem; max-width: none; min-height: 58px; padding: 0 12px; }
.site-brand { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem 0; color: #fff; font-size: 1.0625rem; font-weight: 750; letter-spacing: -.01em; text-decoration: none; }
.site-brand:hover { color: #fff; }
.site-brand-mark { width: 1.6rem; height: 1.6rem; flex: none; }
/* The default logo (the map's wordmark), until one is uploaded in Settings › General. */
.site-brand-wordmark { display: block; width: auto; height: 28px; fill: currentColor; }
.site-header .site-brand-wordmark .wm-badge-t { fill: var(--nav-bg); }
.site-brand-wordmark .wm-badge-t { fill: var(--surface); }
/* The theme switch at the end of the header: moon in light, sun in dark. Shown only with script. */
.site-theme { display: none; flex: none; align-items: center; justify-content: center; width: 34px; height: 34px; margin-left: auto; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--nav-text-2); cursor: pointer; }
.js-theme .site-theme { display: inline-flex; }
.site-languages + .site-theme { margin-left: 0; }
.site-theme:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.site-header :focus-visible { outline: none; box-shadow: 0 0 0 2px var(--nav-bg), 0 0 0 4px #7DB7EE; }
.site-theme svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-theme .icon-sun { display: none; }
:root[data-theme="dark"] .site-theme .icon-moon { display: none; }
:root[data-theme="dark"] .site-theme .icon-sun { display: block; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .site-theme .icon-moon { display: none; }
    :root:not([data-theme="light"]) .site-theme .icon-sun { display: block; }
}
/* An uploaded logo stands alone and fills the brand's space: the header's height, up to 13rem wide. */
.site-brand-logo { display: block; width: auto; height: 2.25rem; max-width: min(14rem, 46vw); object-fit: contain; object-position: left center; }
.site-brand-mark rect { fill: var(--accent); }
.site-brand-mark path { fill: none; stroke: var(--on-accent); stroke-width: 2; stroke-linecap: round; }
.site-nav { order: 3; flex: 1 0 100%; margin: 0 -12px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--nav-line); }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul { display: flex; gap: .25rem; margin: 0; padding: 0 .5rem; list-style: none; }
.site-nav li { max-width: none; }
.site-nav a { display: block; padding: .7rem .6rem; border-radius: 6px; color: var(--nav-text-2); font-size: .875rem; font-weight: 500; white-space: nowrap; text-decoration: none; }
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current] { color: #fff; font-weight: 600; }
.site-languages { margin-left: auto; }
.site-languages details { position: relative; }
.site-languages summary { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.25rem; padding: .3rem .65rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); color: var(--nav-text); font-size: .875rem; font-weight: 550; cursor: pointer; list-style: none; }
.site-languages summary::-webkit-details-marker { display: none; }
.site-languages summary:hover { border-color: rgba(255, 255, 255, .34); }
.site-languages summary .ic-globe { color: var(--nav-text-2); }
.site-languages summary .ic-chevron { width: .8em; height: .8em; color: var(--nav-text-2); }
.site-languages details[open] .ic-chevron { transform: rotate(180deg); }
.site-languages ul { position: absolute; right: 0; top: calc(100% + .35rem); min-width: 11rem; margin: 0; padding: .3rem; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px -12px rgb(15 23 41 / .35); }
.site-languages li a, .site-languages li span { display: block; padding: .45rem .65rem; border-radius: var(--radius-sm); font-size: .9375rem; color: var(--text); text-decoration: none; }
.site-languages li a:hover { background: var(--surface-2); }
.site-languages [aria-current] { font-weight: 650; background: var(--accent-soft); }

@media (min-width: 48rem) {
    .site-header .site-header-inner { padding: 0 16px 0 18px; }
    .site-brand-wordmark { height: 36px; }
    .site-nav { order: 0; flex: 0 1 auto; margin: 0 0 0 auto; border-top: 0; overflow: visible; }
    .site-nav ul { gap: 2px; padding: 0; }
    .site-nav a { display: inline-flex; align-items: center; height: 34px; padding: 0 10px; }
    .site-nav a:hover { background: rgba(255, 255, 255, .08); }
    .site-languages, .site-theme { margin-left: 0; }
}
}

/* Footer -------------------------------------------------------------------------------------------- */
/* The admin UI kit's language (od-workbench tokens, as on /pricing): a white band with a hairline, the
   brand and one line, three 14px link columns, then a bottom bar. Four columns from 64rem, two from
   40rem, one below. The --sf-* tokens are the only colours; api-docs.css maps them to that page's theme. */

.site-footer {
    --sf-bg: #ffffff;
    --sf-line: #e4e7ec;
    --sf-heading: #111722;
    --sf-text: #2f3746;
    --sf-muted: #5d6779;
    --sf-mark: #1d56c9;
    --sf-focus: #1d56c9;
    margin-top: 3.5rem; background: var(--sf-bg); border-top: 1px solid var(--sf-line); color: var(--sf-muted);
    font-size: 14px; line-height: 1.5;
}
/* Dark: the system setting unless the visitor chose light, or the visitor's own choice (html[data-theme]). */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .site-footer {
        --sf-bg: #161a21;
        --sf-line: #262c36;
        --sf-heading: #f2f4f7;
        --sf-text: #c9ced6;
        --sf-muted: #9aa3b2;
        --sf-mark: #2a63d6;
        --sf-focus: #7aa5f5;
    }
}
:root[data-theme="dark"] .site-footer {
    --sf-bg: #161a21;
    --sf-line: #262c36;
    --sf-heading: #f2f4f7;
    --sf-text: #c9ced6;
    --sf-muted: #9aa3b2;
    --sf-mark: #2a63d6;
    --sf-focus: #7aa5f5;
}
.site-footer p, .site-footer li { max-width: none; }
.site-footer-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 24px; padding: 40px 0 32px; }
.site-footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--sf-heading); font-size: 15px; font-weight: 650; letter-spacing: -.01em; text-decoration: none; }
.site-footer-brand:hover { color: var(--sf-heading); }
.site-footer .site-brand-mark { width: 22px; height: 22px; }
.site-footer .site-brand-mark rect { fill: var(--sf-mark); }
.site-footer .site-brand-mark path { stroke: #fff; }
.site-footer-about p { max-width: 20rem; margin: 10px 0 0; font-size: 13px; line-height: 1.55; }
.site-footer h2 { margin: 2px 0 10px; color: var(--sf-heading); font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 6px; }
.site-footer-col a { color: var(--sf-muted); text-decoration: none; transition: color .12s ease; }
.site-footer-col a:hover { color: var(--sf-heading); text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:focus-visible { outline: 2px solid var(--sf-focus); outline-offset: 2px; border-radius: 3px; }
.site-footer-meta { padding: 14px 0; border-top: 1px solid var(--sf-line); font-size: 13px; }
.site-footer-meta p { margin: 0; }
.site-footer-meta p + p { margin-top: 4px; }
.site-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 16px 0 24px; border-top: 1px solid var(--sf-line); font-size: 13px; }
.site-footer-bottom p { margin: 0; }
.site-footer-bottom p:first-child { color: var(--sf-text); }
@media (min-width: 40rem) {
    .site-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (min-width: 64rem) {
    .site-footer-top { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); padding: 48px 0 40px; }
}

/* Buttons ------------------------------------------------------------------------------------------- */

.button, .dp-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.625rem; padding: .55rem 1.05rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.25; text-decoration: none; cursor: pointer; }
.button:hover, .dp-button:hover { color: var(--text); border-color: var(--subtle); background: var(--surface-2); }
.button-primary, .dp-button-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.button-primary:hover, .dp-button-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.button-quiet { border-color: transparent; background: transparent; color: var(--accent); padding-left: .4rem; padding-right: .4rem; }
.button-quiet:hover { background: var(--accent-soft); border-color: transparent; color: var(--accent-hover); }
.button[disabled], .dp-button[disabled] { cursor: progress; opacity: .7; }
.button .ic, .dp-button .ic { width: 1.05em; height: 1.05em; }
.button:focus-visible, .dp-button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.button-row { display: flex; flex-wrap: wrap; gap: .625rem; margin: 1.25rem 0 0; }
p:not(.button-row) > .button + .button { margin-left: .5rem; }

/* Cards, tables, code ------------------------------------------------------------------------------- */

.card { margin: 1rem 0; padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card[role="status"] { border-color: color-mix(in srgb, var(--ok-fg) 35%, var(--line)); background: var(--ok-bg); }
.table-wrap { overflow-x: auto; margin: 1rem 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
caption { padding: .85rem 1rem; color: var(--muted); text-align: left; caption-side: top; }
th, td { padding: .65rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
thead th { background: var(--surface-2); color: var(--muted); font-size: .8125rem; font-weight: 650; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
code { font: .875em var(--font-mono); overflow-wrap: anywhere; }
:not(pre) > code { padding: .1em .35em; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
pre { overflow-x: auto; margin: 1rem 0; padding: .9rem 1.1rem; background: var(--code-bg); color: var(--code-fg); border: 1px solid var(--code-border); border-radius: var(--radius); font: .8125rem/1.65 var(--font-mono); }
pre code { font-size: inherit; overflow-wrap: normal; }

/* Forms --------------------------------------------------------------------------------------------- */

label { display: block; margin: 1rem 0 .35rem; font-size: .9375rem; font-weight: 600; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=url], input[type=tel], select {
    width: 100%; max-width: 28rem; min-height: 2.625rem; padding: .5rem .7rem; border: 1px solid var(--field-border); border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; font-size: 1rem;
}
select { width: auto; padding-right: 2.25rem; appearance: none; -webkit-appearance: none; background-color: var(--surface); background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 1.05rem center, right .75rem center; background-size: .3rem .3rem; background-repeat: no-repeat; cursor: pointer; }
input:hover, select:hover { border-color: var(--muted); }
/* A solid ring in the focus colour (at least 3:1 against the page and the field), as on the buttons. */
input:focus-visible, select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
input[aria-invalid="true"] { border-color: var(--err-fg); }
.error { margin: .35rem 0 0; color: var(--err-fg); font-size: .9375rem; }

/* The pricing and checkout pages have their own stylesheet: public/public-pages/pricing.css. */

@media (forced-colors: active) {
    .ic { forced-color-adjust: none; background: CanvasText; }
    .site-brand-mark rect { fill: CanvasText; }
    .site-brand-mark path { stroke: Canvas; }
}

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

@media print {
    .site-header, .site-footer nav, .skip-link, .button-row, .dp-toc, .dp-filter, .dp-jump, .dp-locate { display: none !important; }
    body { background: #fff; color: #000; }
    .site-footer { border: 0; }
    a { color: inherit; }
}
