.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* Blazor's error notice, as a dialog over a dimmed screen (App.razor); the same as the app's. Blazor shows it by
   setting display: block. */
#blazor-error-ui {
    color-scheme: light only;
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200; /* over everything, the cookie notice (1100) too */
    background: rgba(0, 0, 0, 0.45);
}

    #blazor-error-ui .error-card {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        box-sizing: border-box;
        width: min(320px, calc(100vw - 48px));
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 24px 24px 20px;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
        text-align: center;
    }

    #blazor-error-ui img {
        width: 64px;
        height: auto;
    }

    #blazor-error-ui h2 {
        margin: 12px 0 6px;
        font-size: 18px;
        color: #222;
    }

    #blazor-error-ui p {
        margin: 0 0 20px;
        font-size: 14px;
        line-height: 1.4;
        color: #555;
    }

    #blazor-error-ui .reload {
        align-self: stretch;
        padding: 11px 0;
        border-radius: 8px;
        background: #1b6ec2;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* ---- Loading screen of the map page: the ring (boot progress), below the navbar. ---- */
.map-loading {
    position: fixed;
    inset: var(--map-top, 0px) 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    box-sizing: border-box;
    background: #fff;
    overflow: hidden;
}

.loading-ring {
    position: relative;
    flex: none;
    width: 8rem;
    height: 8rem;
}

.loading-progress {
    display: block;
    width: 100%;
    height: 100%;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #ff7a29;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-variant-numeric: tabular-nums; /* digits of equal width, so the percentage does not jitter */
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/* ---- The site's pages (home, not found): server-rendered. ---- */
body {
    background: #fff;
}

/* The navbar: white, full width, with the content kept to the page width. */
.site-bar {
    background: #fff;
}

/* On the map page it is fixed above the map, which starts below it. */
.map-page {
    --nav-height: 58px;
    --map-top: var(--nav-height);
}

    .map-page .site-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 3;
        height: var(--nav-height);
        box-sizing: border-box;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    }

    .map-page .site-header {
        height: 100%;
        padding-top: 0;
        padding-bottom: 0;
    }

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
    padding: 4px 20px;
    box-sizing: border-box;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

    .site-brand img {
        display: block;
        width: auto;
    }

    .site-brand .site-logo {
        height: 50px;
    }

    .site-brand .site-wordmark {
        position: relative;
        top: 2px;
        height: 30px;
    }

.site-menu {
    display: flex;
    gap: 4px;
}

    .site-menu a {
        padding: 6px 14px;
        border-radius: 6px;
        color: #212b3b;
        font-weight: 600;
        text-decoration: none;
    }

        .site-menu a:hover {
            background: #f2f2f2;
        }

        .site-menu a.active {
            background: #212b3b;
            color: #fff;
        }

.site-main {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px 24px;
    box-sizing: border-box;
    line-height: 1.6;
}

/* Hero: the logo and the pitch on the left, the map in a browser window on the right. */
.hero-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 36px;
    padding: 28px 0 36px;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-logo {
    width: min(250px, 60vw);
    height: auto;
}

.hero-title {
    margin: 8px 0 0;
    font-size: 0; /* only holds the wordmark image */
}

    .hero-title img {
        display: block;
        width: min(250px, 60vw);
        height: auto;
    }

.hero-lead {
    max-width: 24em;
    margin: 12px 0 20px;
    font-size: 1.25rem;
    color: #212b3b;
}

.button {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 6px;
    background: #f2f2f2;
    color: #212b3b;
    font-weight: 600;
    text-decoration: none;
}

    .button:hover {
        background: #e6e6e6;
    }

    .button.primary {
        padding: 10px 24px;
        background: #ff7a29;
        color: #fff;
        font-size: 1.05rem;
    }

        .button.primary:hover {
            background: #e86a1a;
        }

.page-section {
    padding: 8px 0 12px;
}

    .page-section.narrow {
        max-width: 36em;
        padding-top: 32px;
    }

    .page-section h1,
    .page-section h2 {
        color: #212b3b;
    }

    .page-section h2 {
        margin: 24px 0 8px;
        font-size: 1.5rem;
    }

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

    .features li {
        padding: 14px 16px;
        border-radius: 8px;
        background: #f6f8fb;
        box-shadow: inset 0 0 0 1px rgba(33, 43, 59, 0.08);
    }

    .features h3 {
        margin: 0 0 4px;
        font-size: 1.05rem;
        color: #212b3b;
    }

    .features p {
        margin: 0;
    }

.site-main a:not(.button) {
    color: #1b6ec2;
}

.site-footer {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 20px 28px;
    box-sizing: border-box;
    border-top: 1px solid #e6e6e6;
    color: #777;
    font-size: 0.85rem;
}

    .site-footer a {
        color: inherit;
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


/* ---- Home: the map in a browser window, the app in a phone, the Google Play badge. ---- */
/* The map in a generic Windows, Chrome-style window: tab strip with the window buttons, then the toolbar. */
.browser-frame {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(33, 43, 59, 0.2), 0 18px 40px rgba(33, 43, 59, 0.22);
}

.browser-tabstrip {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 5px 0 0 6px;
    background: #dee1e6;
    color: #3c4043;
}

.browser-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    width: 120px;
    padding: 5px 8px;
    border-radius: 8px 8px 0 0;
    background: #fff;
    font-size: 0.65rem;
    line-height: 1.2;
}

    .browser-tab img {
        flex: none;
        width: auto;
        height: 10px;
    }

    .browser-tab svg {
        flex: none;
        margin-left: auto;
    }

.browser-tab-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.browser-newtab {
    align-self: center;
    flex: none;
    margin-left: 2px;
}

.browser-window-controls {
    display: flex;
    align-self: stretch;
    align-items: center;
    margin-left: auto;
}

    .browser-window-controls svg {
        box-sizing: content-box;
        padding: 0 11px;
    }

.browser-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px 5px 12px;
    background: #fff;
    border-bottom: 1px solid #dadce0;
    color: #5f6368;
}

    .browser-toolbar > svg {
        flex: none;
    }

.browser-url {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    padding: 3px 12px;
    border-radius: 14px;
    background: #f1f3f4;
    color: #3c4043;
    font-size: 0.65rem;
    line-height: 1.3;
}

.browser-screen {
    display: block;
    width: 100%;
    height: auto;
}

.app-section {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    margin: 24px 0;
    padding: 28px 32px;
    border-radius: 12px;
    background: #f6f8fb;
}

    .app-section h2 {
        margin-top: 0;
    }

.phone-frame {
    box-sizing: border-box;
    position: relative;
    width: 250px;
    padding: 9px;
    border-radius: 36px;
    background: #15181d;
    box-shadow: 0 0 0 2px #3a3f48, 0 18px 40px rgba(33, 43, 59, 0.3);
}

    /* The front camera. */
    .phone-frame::before {
        content: "";
        position: absolute;
        top: 20px;
        left: 50%;
        z-index: 1;
        width: 11px;
        height: 11px;
        margin-left: -5.5px;
        border-radius: 50%;
        background: #15181d;
        box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.12);
    }

.phone-screen {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 28px;
}

@media (max-width: 760px) {
    .hero-split {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 28px;
    }

    .hero {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .app-section {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 24px 20px;
        text-align: center;
    }

}

/* ---- Home: buttons and ticks under the pitch, the steps, the phone's status bar, FAQ, closing call. ---- */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: #555f6d;
    font-size: 0.92rem;
}

    .hero-checks li::before {
        content: "";
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-right: 7px;
        border-radius: 50%;
        background: #ff7a29;
    }

/* Google's official badge, which carries its own transparent margin: no padding around it. */
.play-badge {
    display: inline-block;
    margin: -9px -10px;
    padding: 0;
    border: 0;
    background: none;
    line-height: 0;
    cursor: pointer;
}

    .play-badge img {
        width: auto;
        height: 64px;
    }

/* "Launching soon" popover opened by the badge. */
.play-soon {
    margin: auto;
    max-width: min(24rem, calc(100vw - 2rem));
    padding: 24px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #212b3b;
    line-height: 1.5;
    box-shadow: 0 20px 50px rgba(33, 43, 59, 0.3);
}

    .play-soon::backdrop {
        background: rgba(33, 43, 59, 0.45);
    }

    .play-soon h2 {
        margin: 0 0 8px;
        font-size: 1.35rem;
    }

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

    .steps li {
        counter-increment: step;
        position: relative;
        padding: 4px 8px 4px 50px;
    }

        .steps li::before {
            content: counter(step);
            position: absolute;
            top: 4px;
            left: 4px;
            display: grid;
            place-items: center;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #fff0e6;
            color: #e86a1a;
            font-weight: 700;
        }

    .steps h3 {
        margin: 0 0 2px;
        font-size: 1.05rem;
        color: #212b3b;
    }

    .steps p {
        margin: 0;
    }

/* The Android status bar above the screenshot, around the front camera. */
.phone-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 32px;
    padding: 2px 22px 0;
    box-sizing: border-box;
    border-radius: 28px 28px 0 0;
    background: #000;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.phone-statusbar + .phone-screen {
    border-radius: 0 0 28px 28px;
}

.faq {
    scroll-margin-top: 16px;
}

.faq-list {
    max-width: 48rem;
    border-top: 1px solid #e3e6eb;
}

    .faq-list details {
        border-bottom: 1px solid #e3e6eb;
    }

    .faq-list summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 14px 0;
        color: #212b3b;
        font-weight: 600;
        cursor: pointer;
        list-style: none;
    }

        .faq-list summary::-webkit-details-marker {
            display: none;
        }

        /* A chevron drawn from two borders: points down, up when the question is open. */
        .faq-list summary::after {
            content: "";
            flex: none;
            width: 8px;
            height: 8px;
            margin-right: 4px;
            border-right: 2px solid #8a93a0;
            border-bottom: 2px solid #8a93a0;
            transform: rotate(45deg);
        }

    .faq-list details[open] summary::after {
        transform: rotate(-135deg);
    }

    .faq-list details p {
        margin: 0;
        padding: 0 32px 16px 0;
        color: #4a5462;
    }

.cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    margin: 32px 0 8px;
    padding: 24px 32px;
    border-radius: 12px;
    background: #212b3b;
    color: #fff;
}

    .cta h2 {
        margin: 0 0 4px;
        font-size: 1.5rem;
    }

    .cta p {
        margin: 0;
        color: #d4d9e1;
    }

/* ---- Navbar extras and footer links. ---- */
.site-menu {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-menu-form {
    display: contents;
}

    .site-menu-form button {
        padding: 6px 14px;
        border: 0;
        border-radius: 6px;
        background: none;
        color: #212b3b;
        font: inherit;
        font-weight: 600;
        cursor: pointer;
    }

        .site-menu-form button:hover {
            background: #f2f2f2;
        }

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

/* ---- Forms (Contact, Feedback, Login). ---- */
.narrow-form {
    max-width: 40rem;
}

.muted {
    color: #66707d;
}

.small {
    font-size: 0.875rem;
}

.pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.form-card {
    margin: 16px 0 24px;
    padding: 20px;
    border-radius: 10px;
    background: #f6f8fb;
    box-shadow: inset 0 0 0 1px rgba(33, 43, 59, 0.08);
}

.field {
    margin-bottom: 14px;
}

    .field > label {
        display: block;
        margin-bottom: 4px;
        color: #212b3b;
        font-weight: 600;
    }

.input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #c9ced6;
    border-radius: 6px;
    background: #fff;
    color: #212b3b;
    font: inherit;
}

    .input:focus {
        outline: 2px solid #ff7a29;
        outline-offset: -1px;
        border-color: transparent;
    }

textarea.input {
    resize: vertical;
}

/* Off screen rather than display: none, which some bots skip. */
.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.turnstile {
    min-height: 65px;
    margin-bottom: 14px;
}

button.button {
    border: 0;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    button.button:disabled {
        opacity: 0.5;
        cursor: default;
    }

.button.small,
.button.primary.small {
    padding: 6px 14px;
    font-size: 0.92rem;
}

.button.danger {
    margin-left: auto;
    color: #b42318;
}

.alert {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 6px;
}

    .alert.error {
        background: #fdecea;
        color: #8a1c13;
    }

    .alert.success {
        background: #e6f4ea;
        color: #1e5631;
    }

    .alert.neutral {
        background: #eef0f3;
        color: #3c4450;
    }

.validation-message {
    color: #b42318;
    font-size: 0.875rem;
}

/* Two radio buttons shown as one segmented control (Bug / Improvement). */
.segmented {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    border: 1px solid #c9ced6;
    border-radius: 6px;
}

    .segmented input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .segmented label {
        padding: 5px 14px;
        background: #fff;
        color: #212b3b;
        font-weight: 600;
        cursor: pointer;
    }

        .segmented label + input + label {
            border-left: 1px solid #c9ced6;
        }

    .segmented input:checked + label {
        background: #212b3b;
        color: #fff;
    }

    .segmented input:focus-visible + label {
        outline: 2px solid #ff7a29;
        outline-offset: -2px;
    }

/* ---- Feedback: list, upvote button, badges, thread. ---- */
.fb-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin: 24px 0 8px;
}

    .fb-head h1 {
        margin: 0 auto 0 0;
        color: #212b3b;
    }

.tabs {
    display: flex;
    gap: 4px;
    margin: 16px 0;
    border-bottom: 1px solid #e3e6eb;
}

    .tabs button {
        margin-bottom: -1px;
        padding: 8px 16px;
        border: 1px solid transparent;
        border-radius: 6px 6px 0 0;
        background: none;
        color: #66707d;
        font: inherit;
        font-weight: 600;
        cursor: pointer;
    }

        .tabs button.active {
            border-color: #e3e6eb #e3e6eb #fff;
            background: #fff;
            color: #212b3b;
        }

.fb-list {
    max-width: 48rem;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #e3e6eb;
    border-radius: 10px;
}

.fb-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
}

    .fb-list .fb-item + .fb-item {
        border-top: 1px solid #e3e6eb;
    }

.fb-item-body {
    flex: 1;
    min-width: 0;
}

.fb-item-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

    .fb-item-title h1 {
        margin: 0;
        font-size: 1.4rem;
        line-height: 1.3;
        color: #212b3b;
    }

.vote {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    padding: 4px 6px;
    border: 1px solid #c9ced6;
    border-radius: 6px;
    background: #fff;
    color: #3c4450;
    font: inherit;
    font-size: 0.9rem;
    line-height: 1.25;
    cursor: pointer;
}

    .vote:hover:not(:disabled) {
        border-color: #ff7a29;
        color: #e86a1a;
    }

    .vote:disabled {
        cursor: default;
    }

    .vote.voted {
        border-color: #ff7a29;
        background: #ff7a29;
        color: #fff;
    }

.badge {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
}

    .badge.bug {
        background: #fdecea;
        color: #b42318;
    }

    .badge.improvement {
        background: #e8f0fb;
        color: #1b5fa8;
    }

    .badge.done {
        background: #e6f4ea;
        color: #1e5631;
    }

    .badge.declined {
        background: #eef0f3;
        color: #4a5462;
    }

    .badge.waiting {
        margin-left: 4px;
        background: #fff4d6;
        color: #8a5a00;
    }

.fb-thread {
    max-width: 48rem;
}

.fb-item-head {
    padding: 0;
}

.fb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.fb-subtitle {
    font-size: 1rem;
    color: #66707d;
}

.chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.chat-row {
    display: flex;
}

    .chat-row.author {
        justify-content: flex-end;
    }

.chat-bubble {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 12px;
    background: #f6f8fb;
    box-shadow: inset 0 0 0 1px rgba(33, 43, 59, 0.1);
}

.chat-row.author .chat-bubble {
    background: #fff0e6;
    box-shadow: none;
}

.chat-from {
    font-size: 0.85rem;
    font-weight: 700;
}

.chat-time {
    color: #66707d;
    font-size: 0.8rem;
    text-align: right;
}

/* ---- Privacy policy. ---- */
.doc {
    max-width: 46rem;
}

    .doc h1 {
        margin: 4px 0 0;
    }

    .doc h2 {
        margin-top: 36px;
        font-size: 1.3rem;
    }

    .doc h3 {
        margin: 22px 0 6px;
        font-size: 1.05rem;
        color: #212b3b;
    }

    .doc li + li {
        margin-top: 4px;
    }

    .doc code {
        color: #8a3a12;
        font-size: 0.85em;
        overflow-wrap: anywhere;
    }

    /* A SiteInfo value still to fill in, so it is not published by mistake. */
    .doc .placeholder {
        padding: 0 4px;
        border-radius: 4px;
        background: #fff3c4;
    }

.kicker {
    padding-top: 24px;
    color: #e86a1a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.table-scroll {
    overflow-x: auto;
}

.doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: 1.45;
}

    .doc-table th,
    .doc-table td {
        padding: 8px 10px 8px 0;
        border-bottom: 1px solid #e3e6eb;
        text-align: left;
        vertical-align: top;
    }

    .doc-table th {
        color: #212b3b;
    }

/* ---- Cookie notice: a dark bar at the bottom, above everything (also the map). ---- */
.cookie-notice {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1100;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    max-width: 46rem;
    margin: 0 auto;
    padding: 14px 18px;
    border-radius: 12px;
    background: #212b3b;
    color: #d6dde6;
    font-size: 0.92rem;
    line-height: 1.5;
    box-shadow: 0 12px 32px rgba(33, 43, 59, 0.35);
}

    .cookie-notice[hidden] {
        display: none;
    }

    .cookie-notice p {
        flex: 1 1 18rem;
        margin: 0;
    }

    .cookie-notice a {
        color: #fff;
    }

    .cookie-notice .button {
        border: 0;
        font: inherit;
        font-weight: 600;
        cursor: pointer;
    }

/* ---- Narrow screens: a smaller navbar (logo only), centred buttons. ---- */
@media (max-width: 700px) {
    .site-header {
        gap: 8px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-brand .site-wordmark {
        display: none;
    }

    .site-brand .site-logo {
        height: 40px;
    }

    .site-menu {
        gap: 0;
    }

        .site-menu a,
        .site-menu-form button {
            padding: 6px 8px;
            font-size: 0.92rem;
        }

    .cta {
        padding: 20px;
    }

    .hero-actions,
    .hero-checks {
        justify-content: center;
    }
}
