/* LB Accounts, in the londonbikers.com brand: black, white and roundel red. The roundel's black bar runs across the top of
   every page as the header band, and journeys of more than one step show a progress tracker drawn as a Tube line.
   The only stylesheet on the site, served as is (not bundled), so the layout links it with asp-append-version. */

@font-face { font-family: "D-DIN Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/d-din-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "D-DIN Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/d-din-condensed-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }

:root {
    --lb-ink: #111111;          /* text; also the roundel's ring and bar */
    --lb-red: #e91f26;          /* roundel red: marks and the tracker line */
    --lb-action: #cc1219;       /* buttons and link underlines: 5.6:1 with white */
    --lb-action-hover: #a80e14;
    --lb-paper: #f4f4f2;
    --lb-card: #ffffff;
    --lb-line: #d8d8d4;
    --lb-border: #8f8f8a;       /* form controls */
    --lb-muted: #5c5c58;
    --lb-field: #ffffff;
    --lb-band: #111111;         /* the header band is black in both themes */
    --lb-band-ink: #ffffff;
    --lb-band-muted: #bdbdb8;
    --lb-ring: rgba(204, 18, 25, .35);
    --lb-ok: #1d6b3f;
    --lb-ok-bg: #e4f2e9;
    --lb-warn: #7a4a00;
    --lb-warn-bg: #fff2d9;
    --lb-error: #b3121a;
    --lb-error-bg: #fde8e8;
    --lb-display: "D-DIN Condensed", "Barlow Condensed", "Arial Narrow", sans-serif;
    --lb-body: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --lb-radius: 4px;
    color-scheme: light;
}

/* dark: the device's setting, unless the header's toggle has chosen (data-theme, from the lb-theme cookie) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --lb-ink: #f2f2ef;
        --lb-action: #f0343b;
        --lb-action-hover: #ff5a60;
        --lb-paper: #161616;
        --lb-card: #1f1f1e;
        --lb-line: #3a3a37;
        --lb-border: #77776f;
        --lb-muted: #a9a9a3;
        --lb-field: #262625;
        --lb-band: #000000;
        --lb-ring: rgba(240, 52, 59, .4);
        --lb-ok: #79d39f;
        --lb-ok-bg: #18301f;
        --lb-warn: #f0c66b;
        --lb-warn-bg: #362a12;
        --lb-error: #ff7a7f;
        --lb-error-bg: #3a1618;
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --lb-ink: #f2f2ef;
    --lb-action: #f0343b;
    --lb-action-hover: #ff5a60;
    --lb-paper: #161616;
    --lb-card: #1f1f1e;
    --lb-line: #3a3a37;
    --lb-border: #77776f;
    --lb-muted: #a9a9a3;
    --lb-field: #262625;
    --lb-band: #000000;
    --lb-ring: rgba(240, 52, 59, .4);
    --lb-ok: #79d39f;
    --lb-ok-bg: #18301f;
    --lb-warn: #f0c66b;
    --lb-warn-bg: #362a12;
    --lb-error: #ff7a7f;
    --lb-error-bg: #3a1618;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

body.lb {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--lb-paper);
    color: var(--lb-ink);
    font: 400 16px/1.5 var(--lb-body);
    -webkit-text-size-adjust: 100%;
}

.lb h1, .lb h2, .lb h3, .lb h4 {
    font-family: var(--lb-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: .005em;
    text-transform: uppercase;
    margin: 0;
    text-wrap: balance;
}
.lb p { margin: 0; }
.lb a { color: inherit; text-decoration-color: var(--lb-action); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lb a:hover { color: var(--lb-action); }
.lb code, .lb kbd { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .92em; }
:focus-visible { outline: 3px solid var(--lb-ring); outline-offset: 2px; }
img { max-width: 100%; }

/* ===== header band and footer ===== */
.lb-band { background: var(--lb-band); color: var(--lb-band-ink); }
.lb-band-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 9px 20px; min-height: 64px; }
.lb .lb-wordmark { display: flex; align-items: center; gap: 12px; color: var(--lb-band-ink); text-decoration: none; }
.lb .lb-wordmark:hover { color: var(--lb-band-ink); }
.lb-wordmark img { width: 46px; height: 46px; flex: none; }
.lb-wordmark span { font-family: var(--lb-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.lb-wordmark span em { font-style: normal; color: var(--lb-red); }
.lb-nav { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: .95rem; }
.lb .lb-nav a, .lb-nav button { color: var(--lb-band-ink); text-decoration: none; background: none; border: 0; padding: 4px 0; font: inherit; cursor: pointer; }
.lb .lb-nav a:hover, .lb-nav button:hover { color: var(--lb-band-ink); text-decoration: underline; text-decoration-color: var(--lb-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lb-nav form { margin: 0; }
.lb-nav .lb-who { color: var(--lb-band-muted); }

/* the user menu: your picture and name, opening your account's sections, the sites, the theme and log out */
.lb-band-inner { position: relative; }
.lb-usermenu { margin-left: auto; position: relative; }
.lb .lb-me { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 99px; color: var(--lb-band-ink); text-decoration: none; font-weight: 600; cursor: pointer; }
.lb .lb-me:hover { color: var(--lb-band-ink); border-color: var(--lb-red); }
.lb .lb-me[aria-expanded="true"] { background: #fff; color: #111; border-color: #fff; }
.lb-me-chevron { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.lb-me[aria-expanded="true"] .lb-me-chevron { transform: rotate(180deg); }
.lb-me-avatar { position: relative; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--lb-red); color: #fff; font-family: var(--lb-display); font-weight: 700; font-size: 1.1rem; line-height: 1; }
.lb-me-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lb-me-avatar.is-large { width: 48px; height: 48px; font-size: 1.5rem; }
.lb-usermenu-panel { position: absolute; z-index: 50; top: calc(100% + 12px); right: 0; width: 320px; background: var(--lb-card); color: var(--lb-ink); border: 1px solid var(--lb-line); border-radius: var(--lb-radius); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .55); }
.lb-usermenu-panel[hidden] { display: none; }
.lb-usermenu-head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--lb-line); }
.lb-usermenu-head > span:last-child { display: grid; line-height: 1.25; min-width: 0; }
.lb-usermenu-head b { font-weight: 600; font-size: 1.05rem; overflow-wrap: anywhere; }
.lb-usermenu-head small { color: var(--lb-muted); font-size: .85rem; overflow-wrap: anywhere; }
.lb-usermenu-group { display: grid; margin: 0; padding: 8px 0; border: 0; border-bottom: 1px solid var(--lb-line); min-width: 0; }
.lb-usermenu-group:last-child { border-bottom: 0; }
.lb-usermenu-label { font-family: var(--lb-display); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lb-muted); padding: 6px 16px 4px; }
.lb .lb-usermenu-group a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 16px; border-left: 4px solid transparent; text-decoration: none; font-weight: 500; color: var(--lb-ink); }
.lb .lb-usermenu-group a:hover, .lb .lb-usermenu-group a:focus-visible { background: var(--lb-paper); border-left-color: var(--lb-red); color: var(--lb-ink); outline: none; }
.lb .lb-usermenu-group a[aria-current="page"] { border-left-color: var(--lb-red); font-weight: 600; }
.lb-usermenu-group a svg, .lb-usermenu-logout svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.lb-appearance legend { float: left; width: 100%; }
.lb-segmented { clear: both; display: grid; grid-template-columns: repeat(3, 1fr); margin: 4px 16px 8px; border: 1.5px solid var(--lb-ink); border-radius: var(--lb-radius); overflow: hidden; }
.lb-segmented label { position: relative; text-align: center; padding: 7px 4px; font-size: .88rem; font-weight: 600; cursor: pointer; }
.lb-segmented label + label { border-left: 1.5px solid var(--lb-ink); }
.lb-segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lb-segmented label:has(input:checked) { background: var(--lb-ink); color: var(--lb-card); }
.lb-segmented label:has(input:focus-visible) { outline: 3px solid var(--lb-ring); outline-offset: -3px; }
.lb-usermenu-logout { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 16px; background: none; border: 0; border-left: 4px solid transparent; font: inherit; font-weight: 600; color: var(--lb-action); cursor: pointer; text-align: left; }
.lb-usermenu-logout:hover { background: var(--lb-paper); border-left-color: var(--lb-red); }
.lb-usermenu-logout svg { opacity: 1; width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .lb-me-chevron { transition: none; } }
@media (max-width: 600px) {
    .lb-usermenu { position: static; }
    .lb-me-name, .lb-me-chevron { display: none; }
    .lb .lb-me { padding: 3px; }
    .lb-usermenu-panel { top: 100%; left: 0; right: 0; width: auto; border-radius: 0; border-left: 0; border-right: 0; box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .6); }
    .lb .lb-usermenu-group a, .lb-usermenu-logout { padding-block: 12px; }
}

/* the light/dark switch: shows the theme it switches to */
.lb-theme-toggle { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: transparent; color: var(--lb-band-ink); cursor: pointer; flex: none; }
.lb-theme-toggle[hidden] { display: none; }
.lb-theme-toggle:hover { border-color: var(--lb-red); }
.lb-theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-theme-toggle .is-sun { display: none; }
:root[data-theme="dark"] .lb-theme-toggle .is-sun { display: block; }
:root[data-theme="dark"] .lb-theme-toggle .is-moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .lb-theme-toggle .is-sun { display: block; }
    :root:not([data-theme="light"]) .lb-theme-toggle .is-moon { display: none; }
}

.lb-main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding-block: 40px 48px; padding-inline: 20px; display: grid; align-content: start; gap: 24px; }
.lb-footer { border-top: 1px solid var(--lb-line); }
.lb-footer-inner { max-width: 1120px; margin: 0 auto; padding: 14px 20px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; color: var(--lb-muted); font-size: .82rem; }
.lb-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.lb .lb-footer a { color: var(--lb-muted); }
.lb .lb-footer a:hover { color: var(--lb-ink); }

/* ===== the sign-in card ===== */
.lb-card-page { display: grid; justify-items: center; }
.lb-card {
    width: 100%;
    max-width: 420px;
    background: var(--lb-card);
    border: 1px solid var(--lb-line);
    border-radius: var(--lb-radius);
    padding: 26px 26px 28px;
    display: grid;
    gap: 16px;
    min-width: 0;
}
.lb-card h1 { font-size: 1.9rem; }
.lb-sub { color: var(--lb-muted); font-size: .95rem; }
.lb-sub b, .lb-sub strong { color: var(--lb-ink); font-weight: 600; overflow-wrap: anywhere; }
.lb-small { color: var(--lb-muted); font-size: .85rem; }
.lb-logo-mark { width: 88px; height: 88px; }

/* ===== forms ===== */
.lb-form { display: grid; gap: 14px; }
.lb-field { display: grid; gap: 6px; }
.lb-field label, .lb-label { font-weight: 600; font-size: .9rem; }
.lb-field label .lb-optional { font-weight: 400; color: var(--lb-muted); }
.lb-input {
    width: 100%;
    height: 46px;
    border: 1.5px solid var(--lb-border);
    background: var(--lb-field);
    border-radius: var(--lb-radius);
    padding: 0 12px;
    color: var(--lb-ink);
    font: inherit;
    font-size: 1rem;
}
.lb-input:focus { outline: none; border-color: var(--lb-ink); box-shadow: 0 0 0 3px var(--lb-ring); }
.lb-input.input-validation-error { border-color: var(--lb-error); }
.lb-input[readonly], .lb-input:disabled { background: transparent; border-style: dashed; color: var(--lb-ink); opacity: 1; }
.lb-code { font-size: 1.5rem; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; height: 54px; }

.lb-hint { font-size: .82rem; color: var(--lb-muted); }
.lb-hint.is-ok { color: var(--lb-ok); }
.lb-hint.is-bad, .field-validation-error { color: var(--lb-error); }
.field-validation-error { font-size: .82rem; }
.field-validation-valid { display: none; }

.lb-check { display: flex; align-items: center; gap: 10px; font-size: .92rem; cursor: pointer; }
.lb-check input { width: 20px; height: 20px; accent-color: var(--lb-ink); margin: 0; }

.validation-summary-valid { display: none; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1em; }

/* ===== buttons ===== */
.lb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 8px 18px;
    border-radius: var(--lb-radius);
    border: 1.5px solid transparent;
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}
.lb-btn.is-inline { display: inline-flex; width: auto; }
.lb .lb-btn-primary { background: var(--lb-action); color: #fff; }
.lb .lb-btn-primary:hover { background: var(--lb-action-hover); color: #fff; }
.lb .lb-btn-dark { background: var(--lb-ink); color: var(--lb-card); }
.lb .lb-btn-dark:hover { background: var(--lb-action); color: #fff; }
.lb .lb-btn-ghost { background: transparent; border-color: var(--lb-ink); color: var(--lb-ink); }
.lb .lb-btn-ghost:hover { border-color: var(--lb-action); color: var(--lb-action); }
.lb .lb-btn-quiet { width: auto; min-height: 0; padding: 0; background: none; border: 0; color: var(--lb-ink); font-weight: 600; text-decoration: underline !important; text-decoration-color: var(--lb-action) !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }
.lb .lb-btn-quiet:hover { color: var(--lb-action); }
.lb-btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.lb-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }

.lb-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lb .lb-socials .lb-btn { font-size: .92rem; border-color: var(--lb-line); background: var(--lb-card); color: var(--lb-ink); }
.lb .lb-socials .lb-btn:hover { border-color: var(--lb-ink); color: var(--lb-ink); }
.lb-or { display: flex; align-items: center; gap: 12px; color: var(--lb-muted); font-size: .85rem; }
.lb-or::before, .lb-or::after { content: ""; height: 1px; background: var(--lb-line); flex: 1; }
.lb-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: .9rem; }
.lb-links.is-centred { justify-content: center; }

/* ===== notices ===== */
.lb-notice, .validation-summary-errors { border-radius: var(--lb-radius); border-left: 4px solid; padding: 12px 14px; font-size: .92rem; display: grid; gap: 3px; }
.lb-notice b { font-weight: 600; }
.lb-notice-ok { background: var(--lb-ok-bg); color: var(--lb-ok); }
.lb-notice-warn { background: var(--lb-warn-bg); color: var(--lb-warn); }
.lb-notice-error, .validation-summary-errors { background: var(--lb-error-bg); color: var(--lb-error); }
.lb-notice-info { background: var(--lb-paper); color: var(--lb-ink); border-color: var(--lb-ink); }

/* ===== who's who, when linking a provider ===== */
.lb-identity { display: flex; align-items: center; gap: 12px; border: 1px solid var(--lb-line); border-radius: var(--lb-radius); padding: 10px 12px; }
.lb-identity .lb-who { display: grid; line-height: 1.25; min-width: 0; }
.lb-identity .lb-who b { font-weight: 600; overflow-wrap: anywhere; }
.lb-identity .lb-who small { color: var(--lb-muted); font-size: .82rem; overflow-wrap: anywhere; }
.lb-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--lb-ink); color: var(--lb-card); }
.lb-avatar svg { width: 20px; height: 20px; fill: #fff; }
.lb-avatar img { width: 40px; height: 40px; }
.lb-avatar-lb { background: transparent; }
.lb-avatar-facebook { background: #1877f2; }
.lb-avatar-google { background: #4285f4; }
.lb-avatar-microsoft { background: #2f2f2f; }
.lb-avatar-twitter { background: #000; }
.lb-link-arrow { color: var(--lb-muted); font-size: .85rem; margin-block: -8px; padding-left: 52px; }

details.lb-details { font-size: .9rem; }
details.lb-details summary { cursor: pointer; text-decoration: underline; text-decoration-color: var(--lb-action); text-decoration-thickness: 2px; text-underline-offset: 3px; }
details.lb-details[open] summary { margin-bottom: 8px; }
details.lb-details p + p { margin-top: 8px; }

/* ===== status icons ===== */
.lb-big-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--lb-ink); color: var(--lb-card); }
.lb-big-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-big-icon.is-ok { background: var(--lb-ok); color: #fff; }
.lb-big-icon.is-warn { background: var(--lb-action); color: #fff; }

/* ===== waiting for the email link ===== */
.lb-waiting { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--lb-muted); }
.lb-pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--lb-red); animation: lb-pulse 1.6s ease-in-out infinite; flex: none; }
.lb-waiting.is-stopped .lb-pulse { animation: none; opacity: .3; }
@keyframes lb-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .lb-pulse { animation: none; } }

/* ===== switches ===== */
.lb-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--lb-line); border-radius: var(--lb-radius); padding: 12px 14px; cursor: pointer; }
.lb-toggle > span { display: grid; }
.lb-toggle b { font-weight: 600; }
.lb-toggle small { color: var(--lb-muted); font-size: .82rem; }
.lb-switch { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; border-radius: 13px; background: var(--lb-border); position: relative; flex: none; margin: 0; cursor: pointer; transition: background .15s; }
.lb-switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.lb-switch:checked { background: var(--lb-ink); }
.lb-switch:checked::after { transform: translateX(20px); background: var(--lb-card); }
@media (prefers-reduced-motion: reduce) { .lb-switch, .lb-switch::after { transition: none; } }
.lb-pill { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 600; padding: 2px 10px; border-radius: 99px; background: var(--lb-ok-bg); color: var(--lb-ok); white-space: nowrap; }
.lb-pill.is-off { background: transparent; color: var(--lb-muted); border: 1px solid var(--lb-line); }

/* ===== progress tracker: a Tube line. Passed stations are on the red line; where you are is a black interchange ring. ===== */
.lb-progress { display: grid; }
.lb-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.lb-steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; font-family: var(--lb-display); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; color: var(--lb-muted); }
.lb-steps li::before { content: ""; position: absolute; top: 8px; height: 6px; left: -50%; right: 50%; background: var(--lb-line); z-index: 0; }
.lb-steps li:first-child::before { display: none; }
.lb-steps li.is-done::before, .lb-steps li.is-current::before { background: var(--lb-red); }
.lb-steps .lb-dot { width: 22px; height: 22px; border-radius: 50%; border: 4px solid var(--lb-line); background: var(--lb-card); position: relative; z-index: 1; }
.lb-steps li.is-done .lb-dot { border-color: var(--lb-red); background: var(--lb-red); }
.lb-steps li.is-current { color: var(--lb-ink); }
.lb-steps li.is-current .lb-dot { border: 5px solid var(--lb-ink); }

.lb-compact { display: none; gap: 6px; }
.lb-compact .lb-bar { height: 6px; border-radius: 3px; background: var(--lb-line); overflow: hidden; }
.lb-compact .lb-bar i { display: block; height: 100%; background: var(--lb-red); }
.lb-compact p { font-size: .85rem; color: var(--lb-muted); }
.lb-compact p b { color: var(--lb-ink); font-family: var(--lb-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; }

.lb-progress.is-compact .lb-steps { display: none; }
.lb-progress.is-compact .lb-compact { display: grid; }
@media (max-width: 400px) {
    .lb-progress .lb-steps { display: none; }
    .lb-progress .lb-compact { display: grid; }
}

/* ===== Your Account ===== */
.lb-account { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px 28px; align-items: start; width: 100%; max-width: 960px; margin-inline: auto; }
.lb-account > h1 { grid-column: 1 / -1; font-size: 2.5rem; }
.lb-sections { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lb-line); }
.lb .lb-sections a { display: block; padding: 11px 10px 11px 14px; border-bottom: 1px solid var(--lb-line); border-left: 4px solid transparent; text-decoration: none; font-weight: 500; }
.lb .lb-sections a:hover { color: var(--lb-ink); background: var(--lb-card); }
.lb .lb-sections a.is-active { border-left-color: var(--lb-red); background: var(--lb-card); font-weight: 600; }
.lb-panel { background: var(--lb-card); border: 1px solid var(--lb-line); border-radius: var(--lb-radius); padding: 26px; display: grid; gap: 18px; min-width: 0; }
.lb-panel > h2 { font-size: 1.7rem; }
.lb-panel .lb-form { max-width: 440px; }
.lb-rows { display: grid; }
.lb-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding-block: 14px; border-top: 1px solid var(--lb-line); }
.lb-row:first-child { border-top: 0; padding-top: 0; }
.lb-row > div { display: grid; gap: 2px; min-width: 0; }
.lb-row small { color: var(--lb-muted); }
.lb-row .lb-provider { display: flex; align-items: center; gap: 12px; }
.lb-steps-list { margin: 0; padding-left: 1.3em; display: grid; gap: 16px; }
.lb-steps-list li::marker { font-family: var(--lb-display); font-weight: 700; color: var(--lb-action); }
.lb-steps-list li > * + * { margin-top: 10px; }
.lb-qr { background: #fff; padding: 12px; border: 1px solid var(--lb-line); border-radius: var(--lb-radius); width: max-content; }
.lb-key { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1rem; background: var(--lb-paper); border: 1px solid var(--lb-line); border-radius: var(--lb-radius); padding: 6px 10px; display: inline-block; overflow-wrap: anywhere; }
.lb-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; max-width: 440px; }
.lb-codes code { background: var(--lb-paper); border: 1px solid var(--lb-line); border-radius: var(--lb-radius); padding: 8px; text-align: center; font-size: 1rem; }

/* ===== home ===== */
.lb-home { display: grid; gap: 22px; width: 100%; max-width: 960px; margin-inline: auto; }
.lb-home > h1 { font-size: 2.8rem; }
.lb-home > p { color: var(--lb-muted); font-size: 1.05rem; }
.lb-sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.lb-site { background: var(--lb-card); border: 1px solid var(--lb-line); border-radius: var(--lb-radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.lb-site-art { height: 150px; background: #111; display: grid; place-items: center; padding: 16px; }
.lb-site-art img { max-height: 104px; }
.lb-site-art.is-photo { padding: 0; }
.lb-site-art.is-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; display: block; }
.lb-site-art.is-plain { background: var(--lb-paper); }
.lb-site-body { padding: 16px 18px 18px; display: grid; gap: 10px; align-content: start; }
.lb-site-body h2 { font-size: 1.45rem; }
.lb-site-body p { color: var(--lb-muted); font-size: .95rem; }
.lb-site-body .lb-btn { margin-top: 4px; }

/* ===== reading pages ===== */
.lb-prose { width: 100%; max-width: 760px; margin-inline: auto; background: var(--lb-card); border: 1px solid var(--lb-line); border-radius: var(--lb-radius); padding: 34px 38px 38px; display: grid; gap: 14px; }
.lb-prose h1 { font-size: 2.5rem; }
.lb-prose h2 { font-size: 1.5rem; margin-top: 10px; }
.lb-prose p, .lb-prose li { max-width: 68ch; }
.lb-prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.lb-prose li::marker { color: var(--lb-red); }
.lb-prose dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.lb-prose dt { font-weight: 600; }
.lb-prose dd { margin: 0; }
/* the embedded privacy policy is styled by iubenda for a light page, so its card stays light in dark mode too */
.lb-prose.is-light { --lb-ink: #111111; --lb-card: #ffffff; --lb-line: #d8d8d4; --lb-muted: #5c5c58; --lb-action: #cc1219; color-scheme: light; color: var(--lb-ink); }

/* ===== errors ===== */
.lb-error-page { width: 100%; max-width: 600px; margin-inline: auto; display: grid; justify-items: start; gap: 14px; padding-block: 24px; }
.lb-error-code { font-family: var(--lb-display); font-weight: 700; font-size: 6rem; line-height: .9; color: var(--lb-red); }
.lb-error-page h1 { font-size: 2.3rem; }
.lb-request-id { font-size: .82rem; color: var(--lb-muted); }

.lb-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; }
.lb iframe.signout { position: absolute; width: 0; height: 0; border: 0; }

@media (max-width: 760px) {
    .lb-account { grid-template-columns: minmax(0, 1fr); }
    .lb-account > h1 { font-size: 2.1rem; }
    .lb-prose { padding: 24px 20px 28px; }
    .lb-prose h1, .lb-home > h1 { font-size: 2.1rem; }
    .lb-nav .lb-who { display: none; }
}

@media (max-width: 460px) {
    .lb-main { padding-block: 20px 32px; padding-inline: 16px; }
    .lb-band-inner { padding: 8px 16px; min-height: 56px; }
    .lb-wordmark img { width: 40px; height: 40px; }
    .lb-wordmark span { font-size: 1.12rem; }
    .lb-card { padding: 20px 18px 22px; }
    .lb-socials { grid-template-columns: 1fr; }
    .lb-panel { padding: 20px 16px; }
}
