/* ------------------------------------------------------------------
   The court directories, the venue pages and the analytics page in the
   home page's look. home.css gives them its header, Skoutti and footer
   (body.home); this sheet adds what they have instead of the day picker and
   the slot table: the page's title in the header, and its content on the
   near-white page in the slot table's language: hairline rows on white,
   small-capital column names, green chips and the app button's green for
   booking. Scoped to body.page, which only page.html's pages carry. */

/* --- The title in the header ------------------------------------------- */
/* Where the home page has its days and filters: the breadcrumb, the H1 in
   white and a line under it. */
.page .page-title {
    align-self: stretch;
    min-width: 0;
}
/* Pico spreads a nav's items across its width; the trail reads left to
   right. */
.page .crumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 2px 8px;
    margin: 0 0 6px;
    color: #aeb8c4;
    font-size: 12.5px;
    line-height: 1.4;
}
.page .crumbs a {
    color: var(--link-light);
    font-weight: 600;
    text-decoration: none;
}
.page .crumbs a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page .crumb-sep {
    color: #8794a2;
}
.page .page-title h1 {
    margin: 0;
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}
.page .page-lead {
    margin: 8px 0 0;
    color: var(--glass-text);
    font-size: 14px;
    font-weight: 500;
}

/* --- Content -------------------------------------------------------------- */
.page main.container {
    padding-bottom: 8px;
}
.page .page-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-bottom: 8px;
}
.page .lede {
    flex: 1 1 420px;
    max-width: 70ch;
    margin: 0;
    color: var(--text-body);
    font-size: 15.5px;
    line-height: 1.6;
}
/* The way to the slot table: the header's slate as a pill. */
.page .cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--slate-top), var(--slate-bottom));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px -8px rgba(11, 15, 20, 0.6);
    transition: filter 0.15s, transform 0.1s;
}
.page .cta:hover {
    color: #fff;
    filter: brightness(1.15);
}
.page .cta:active {
    transform: translateY(1px);
}

/* A section's name in small capitals with a hairline running to the right
   edge, like the tournaments' months; its count in a green pill. */
.page h2.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 40px 0 12px;
    color: var(--section-ink);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
}
.page h2.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--hairline);
}
.page .section-count {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--color-accent-muted);
    color: var(--color-primary);
    font-size: 11px;
    letter-spacing: 0;
}
.page .page-note {
    margin: 0 0 12px;
    padding: 10px 14px;
    border: 1px solid var(--warn-border);
    border-radius: 12px;
    background: var(--warn-bg);
    color: var(--warn-ink);
    font-size: 13.5px;
}
.page .page-source {
    margin: 12px 0 0;
    color: var(--text-subtle);
    font-size: 13px;
    line-height: 1.5;
}
.page .nil {
    color: var(--text-disabled);
}
.page .text-link {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.page .text-link:hover {
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* Booking: the app button's green, lit from the top. */
.page .book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 16px;
    border: 1px solid rgba(24, 54, 15, 0.12);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-top), var(--accent-bottom));
    color: var(--accent-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    text-shadow: var(--accent-emboss);
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 10px -6px var(--accent-glow);
    transition: filter 0.15s, transform 0.1s;
}
.page .book-btn:hover {
    color: var(--accent-ink);
    filter: brightness(1.06);
}
.page .book-btn:active {
    transform: translateY(1px);
}
.page .book-btn-lg {
    padding: 10px 20px;
    font-size: 14.5px;
}
/* A free time, as the home page's venue chips. */
.page .free-chip {
    display: inline-block;
    padding: 2px 9px;
    border: 1px solid var(--color-accent);
    border-radius: 7px;
    background: var(--color-accent-bg);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* Links on: pills, the main ones in green. */
.page .link-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.page .link-chips li {
    margin: 0;
    list-style: none;
}
.page .link-chips a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    background: #fff;
    color: var(--navy-ink);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(32, 38, 46, 0.05);
}
.page .link-chips a:hover {
    border-color: var(--accent-bottom);
    color: var(--color-primary);
}
.page .link-chips a.link-chip-strong {
    border-color: var(--color-accent);
    background: var(--color-accent-bg);
    color: var(--color-primary);
    font-weight: 700;
}

/* --- Directory: the venue list ------------------------------------------- */
.page .venue-list {
    overflow: hidden;
    border: 1px solid var(--hairline);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(32, 38, 46, 0.05);
}
.page .venue-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.page .venue-list-head,
.page .venue-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px 128px 150px 92px;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
}
.page .venue-list-head {
    padding-top: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--hairline);
    background: #f7f9fa;
    color: #304438;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.page .venue-row {
    margin: 0;
    border-top: 1px solid rgba(32, 38, 46, 0.07);
    list-style: none;
}
.page .venue-row:first-child {
    border-top: 0;
}
.page .venue-row:hover {
    background: #fbfcfa;
}
.page .venue-row-name a {
    color: var(--navy-ink);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}
.page .venue-row-name a:hover {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
.page .venue-row-sub {
    display: block;
    margin-top: 2px;
    color: #6b7781;
    font-size: 12.5px;
}
.page .venue-row-sub b {
    color: var(--color-primary);
}
.page .venue-row-stale {
    color: #8a6a1c;
}
.page .venue-row-fact {
    color: #3d4a43;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}
.page .venue-row-fact b {
    color: var(--navy-ink);
    font-weight: 600;
}
.page .venue-row-label {
    /* The column names say it on a wide screen; a screen reader hears it. */
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.page .venue-row .book-btn {
    justify-self: end;
}

/* --- Venue page ------------------------------------------------------------ */
.page .fact-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}
.page .fact-tile {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--hairline);
    border-radius: 16px;
    background: #fff;
    list-style: none;
    box-shadow: 0 1px 2px rgba(32, 38, 46, 0.05);
}
.page .fact-label {
    color: #6b7781;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.page .fact-value {
    color: var(--navy-ink);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}
.page .fact-sub {
    color: #4f5d55;
    font-size: 13.5px;
    font-weight: 500;
}
.page a.fact-sub {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}
.page a.fact-sub:hover {
    text-decoration: underline;
}
.page .venue-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin: 18px 0 8px;
}

/* Free slots: today and tomorrow side by side on a wide screen. */
.page .slot-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
}
.page .slot-day {
    padding: 14px 16px 16px;
    border: 1px solid var(--hairline);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(32, 38, 46, 0.05);
}
.page h3.slot-day-title {
    margin: 0 0 10px;
    color: var(--navy-ink);
    font-size: 15px;
    font-weight: 800;
}
.page .slot-day-title span {
    margin-left: 6px;
    color: #6b7781;
    font-weight: 500;
}
.page .slot-group + .slot-group {
    margin-top: 12px;
}
.page .slot-group-label {
    display: block;
    margin-bottom: 6px;
    color: #304438;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.page .slot-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.page .slot-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border: 1px solid var(--color-accent);
    border-radius: 7px;
    background: var(--color-accent-bg);
    color: var(--color-primary);
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    transition: background-color 0.15s;
}
.page .slot-chip:hover {
    background: var(--color-accent-hover);
    color: var(--color-primary);
}
.page .slot-chip b {
    font-weight: 700;
}
.page .slot-chip-price {
    color: var(--color-price);
    font-size: 12px;
}
.page .slot-empty {
    margin: 0;
    color: #6b7781;
    font-size: 14px;
}

/* When slots free up. */
.page .stat-points {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}
.page .stat-points li {
    position: relative;
    margin: 0 0 6px;
    padding-left: 20px;
    color: #2d3a33;
    font-size: 15px;
    line-height: 1.5;
    list-style: none;
}
.page .stat-points li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-bottom);
    box-shadow: 0 0 0 3px var(--color-accent-bg);
}
.page .stat-card {
    margin: 0 0 12px;
    padding: 16px 18px;
    border: 1px solid var(--hairline);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(32, 38, 46, 0.05);
}
.page .stat-card-title {
    margin: 0 0 12px;
    color: var(--navy-ink);
    font-size: 14.5px;
    font-weight: 700;
}
.page .stat-card-title span {
    display: block;
    margin-top: 1px;
    color: #6b7781;
    font-size: 12.5px;
    font-weight: 500;
}
.page .stat-key {
    margin: 10px 0 0;
    color: #6b7781;
    font-size: 12.5px;
}
.page .release-grid-wrap {
    overflow-x: auto;
}
/* site.css pads every table cell 4px 0 with !important; a data grid needs
   its own room. */
.page table.release-grid {
    width: 100%;
    min-width: 460px;
    margin: 0;
    table-layout: fixed;
    border-collapse: collapse;
}
.page .release-grid th,
.page .release-grid td {
    padding: 9px 10px !important;
    border-bottom: 1px solid rgba(32, 38, 46, 0.07);
    background: none;
    vertical-align: top;
}
.page .release-grid tbody tr:last-child th,
.page .release-grid tbody tr:last-child td {
    border-bottom: 0;
}
.page .release-grid thead th {
    padding-top: 0 !important;
    color: #304438;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
    border-bottom-color: var(--hairline);
}
.page .release-grid thead th:first-child,
.page .release-grid tbody th {
    width: 128px;
}
.page .release-grid tbody th {
    color: var(--navy-ink);
    font-size: 13.5px;
    font-weight: 700;
}
.page .release-value {
    display: block;
    color: var(--navy-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.page .release-bar {
    display: block;
    height: 5px;
    margin: 5px 0 4px;
    border-radius: 3px;
    background: #eceee7;
}
.page .release-bar i {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: #3fa0c0;
}
.page .is-peak .release-bar i {
    background: #0f7ea3;
}
.page .is-peak .release-value {
    color: #0f6f90;
}
.page .release-booked {
    display: block;
    color: #6b7781;
    font-size: 12px;
}

/* Release hours and weekdays: thin columns over their labels. */
.page .hour-series + .hour-series {
    margin-top: 14px;
}
.page .hour-series-label {
    margin-bottom: 6px;
    color: var(--navy-ink);
    font-size: 13.5px;
    font-weight: 700;
}
.page .hour-series-label span {
    margin-left: 6px;
    color: #6b7781;
    font-weight: 500;
}
.page .hour-bars,
.page .week-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
}
.page .hour-col,
.page .week-col {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}
.page .hour-plot,
.page .week-plot {
    display: flex;
    align-items: flex-end;
    height: 64px;
    border-radius: 4px 4px 0 0;
    background: #f3f5f1;
}
.page .week-plot {
    height: 84px;
}
.page .hour-plot i,
.page .week-plot i {
    display: block;
    width: 100%;
    min-height: 2px;
    border-radius: 4px 4px 0 0;
    background: #a9d5e5;
}
.page .is-max .hour-plot i,
.page .is-max .week-plot i {
    background: #0f7ea3;
}
.page .hour-label,
.page .week-label {
    margin-top: 4px;
    color: #6b7781;
    font-size: 10.5px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.page .is-max .hour-label,
.page .is-max .week-label,
.page .is-max .week-value {
    color: var(--navy-ink);
    font-weight: 700;
}
.page .week-bars {
    gap: 8px;
    max-width: 520px;
}
.page .week-value {
    margin-bottom: 4px;
    color: #4f5d55;
    font-size: 12px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* --- Privacy & operational status --------------------------------------- */
.page .prose-card {
    max-width: 72ch;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.65;
}
.page .prose-card ul {
    margin: 0 0 14px;
    padding-left: 20px;
}
.page .prose-card li {
    margin-bottom: 8px;
}
.page .prose-card p {
    margin: 0 0 12px;
    color: var(--text-body);
}
.page .prose-card p:last-child {
    margin-bottom: 0;
}
.page .prose-card strong {
    color: var(--navy-ink);
}
.page .prose-card a {
    color: var(--color-primary);
    font-weight: 600;
}
/* Numbered sections of a long text (the terms of use). */
.page .prose-card h2 {
    margin: 26px 0 8px;
    color: var(--navy-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.page .status-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}
.page .status-stat {
    flex: 0 1 220px;
    padding: 12px 14px;
    border: 1px solid var(--hairline);
    border-radius: 12px;
    background: var(--page);
}
.page .status-stat .num {
    color: var(--navy-ink);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.page .status-stat.bad .num {
    color: var(--status-bad);
}
.page .status-stat .lbl {
    color: var(--text-subtle);
    font-size: 12px;
}
.page .status-table-wrap {
    overflow-x: auto;
    margin-top: 10px;
}
.page table.status-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 14px;
}
.page .status-table th,
.page .status-table td {
    padding: 8px 10px !important;
    border-bottom: 1px solid var(--hairline-row);
    background: none;
    vertical-align: top;
    text-align: left;
}
.page .status-table thead th {
    color: var(--section-ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom-color: var(--hairline);
}
.page .status-table tbody tr:last-child td {
    border-bottom: 0;
}
.page .status-table td.num,
.page .status-table th.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.page .status-table td.ic,
.page .status-table th.ic {
    text-align: center;
}
.page .status-table .strong {
    color: var(--navy-ink);
    font-weight: 700;
}
.page .ic-ok {
    color: var(--status-ok);
    font-weight: 700;
}
.page .ic-no {
    color: var(--status-bad);
    font-weight: 700;
}
.page .ic-na {
    color: var(--text-subtle);
}

/* --- Phone -------------------------------------------------------------- */
@media (max-width: 768px) {
    /* No days to keep in view: the header scrolls away with the page. */
    .page .site-header {
        position: relative;
        top: auto;
    }
    .page .page-title {
        margin-top: 14px;
        padding-bottom: 6px;
    }
    .page .page-title h1 {
        font-size: 25px;
    }
    .page main.container {
        padding-top: 20px;
    }
    .page h2.section-title {
        margin-top: 32px;
    }
    .page .venue-list-head {
        display: none;
    }
    /* Name and Varaa on top, the facts in a line under them, each with its
       own label. */
    .page .venue-row {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 4px 14px;
        padding: 12px 14px;
    }
    .page .venue-row-name {
        flex: 1 1 calc(100% - 120px);
        min-width: 0;
    }
    .page .venue-row .book-btn {
        flex: none;
    }
    .page .venue-row-fact {
        order: 2;
        font-size: 13px;
    }
    .page .venue-row-label {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        color: #6b7781;
    }
    .page .fact-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .page .fact-tile {
        padding: 12px 13px;
    }
    .page .fact-value {
        font-size: 19px;
    }
    .page .slot-days {
        grid-template-columns: minmax(0, 1fr);
    }
    .page .stat-card {
        padding: 14px;
    }
    /* site.css drops table heads on a phone, where the home page's slot
       table needs none. A data table here does: without them the analytics
       tables were columns of figures with no parts of the day over them. */
    .page thead {
        display: table-header-group;
    }
    /* The grid fits a phone: the day names narrower, the words that the
       key under it explains left out. */
    .page .wide-only {
        display: none;
    }
    .page table.release-grid {
        min-width: 0;
    }
    .page .release-grid th,
    .page .release-grid td {
        padding: 8px 5px !important;
    }
    .page .release-grid thead th:first-child,
    .page .release-grid tbody th {
        width: 92px;
        padding-left: 0 !important;
    }
    .page .release-grid tbody th {
        font-size: 12px;
    }
    .page .release-value {
        font-size: 15.5px;
    }
    .page .hour-label {
        font-size: 9px;
    }
    /* Every other hour labelled, so the figures do not run together. */
    .page .hour-col:nth-child(even) .hour-label {
        visibility: hidden;
    }
}

/* --- Web play invitations (/kutsu/{token}) -------------------------------- */
.page-invitation .inv-container {
    max-width: 720px;
}
.page-invitation .inv-card {
    margin-bottom: 20px;
}
.page-invitation .inv-card-title {
    margin-top: 6px;
}
.page-invitation .inv-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--color-accent-bg);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.page-invitation .inv-description {
    margin: 12px 0;
    padding: 10px 14px;
    border-left: 3px solid var(--color-accent);
    background: var(--color-surface-tint);
    border-radius: 0 8px 8px 0;
    color: var(--text-body);
    font-style: italic;
}
.page-invitation .inv-players {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
}
.page-invitation .inv-label {
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.page-invitation .inv-player-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.page-invitation .inv-player-chip {
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--surface-muted);
    color: var(--color-bold);
    font-size: 13.5px;
    font-weight: 600;
}
.page-invitation .inv-agreed-box {
    margin: 16px 0;
    padding: 14px 16px;
    border: 1px solid var(--color-accent-muted);
    border-radius: 12px;
    background: var(--color-accent-bg);
}
.page-invitation .inv-section-heading {
    margin: 20px 0 6px;
    color: var(--section-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.page-invitation .inv-hint {
    margin: 0 0 12px;
    color: var(--text-secondary);
    font-size: 13.5px;
}
.page-invitation .inv-slots-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0 18px;
}
.page-invitation .inv-slot-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--border-card);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}
.page-invitation .inv-slot-row input[type="checkbox"] {
    margin-top: 3px;
}
.page-invitation .inv-slot-agreed {
    border-color: var(--color-accent);
    background: var(--color-surface-tint);
}
.page-invitation .inv-slot-body {
    flex: 1;
    min-width: 0;
}
.page-invitation .inv-slot-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px 12px;
    font-variant-numeric: tabular-nums;
}
.page-invitation .inv-slot-time {
    color: var(--color-ink);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}
.page-invitation .inv-slot-dur {
    color: var(--text-secondary);
    font-size: 13.5px;
}
.page-invitation .inv-slot-tally {
    color: var(--color-primary);
    font-size: 12.5px;
    font-weight: 600;
}
.page-invitation .inv-venue-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.page-invitation .inv-venue-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
}
.page-invitation .inv-venue-free {
    background: var(--color-accent-bg);
    border: 1px solid var(--color-accent-muted);
    color: var(--color-primary);
}
.page-invitation .inv-venue-free:hover {
    background: var(--color-accent-hover);
}
.page-invitation .inv-venue-taken {
    background: var(--surface-off);
    border: 1px solid var(--border-off);
    color: var(--text-subtle);
}
.page-invitation .inv-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.page-invitation .inv-field label {
    display: block;
    margin-bottom: 4px;
    color: var(--color-bold);
    font-size: 13.5px;
    font-weight: 600;
}
.page-invitation .inv-optional {
    color: var(--text-subtle);
    font-weight: 400;
}
.page-invitation .inv-field input {
    margin: 0;
}
.page-invitation .inv-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}
.page-invitation .inv-btn-accept {
    margin: 0;
    padding: 10px 20px;
    border: 1px solid var(--accent-bottom);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-top), var(--accent-bottom));
    color: var(--accent-ink);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
}
.page-invitation .inv-btn-decline,
.page-invitation .inv-btn-secondary {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 10px 18px;
    border: 1px solid var(--border-card);
    border-radius: 999px;
    background: #fff;
    color: var(--text-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.page-invitation .inv-withdraw-form {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--hairline-row);
}
.page-invitation .inv-btn-withdraw {
    margin: 0;
    padding: 6px 14px;
    border: 1px solid var(--status-bad);
    border-radius: 999px;
    background: transparent;
    color: var(--status-bad);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.page-invitation .inv-banner {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14.5px;
}
.page-invitation .inv-banner-ok {
    background: var(--color-accent-bg);
    border: 1px solid var(--color-accent-muted);
    color: var(--color-primary);
}
.page-invitation .inv-banner-neutral {
    background: var(--surface-muted);
    border: 1px solid var(--border-card);
    color: var(--text-body);
}
.page-invitation .inv-banner-warn {
    background: var(--warn-bg);
    border: 1px solid var(--warn-border);
    color: var(--warn-ink);
}
.page-invitation .inv-note,
.page-invitation .inv-inactive-msg,
.page-invitation .inv-upsell-text {
    margin: 8px 0 12px;
    color: var(--text-body);
    font-size: 15px;
}
