/*
 * Tenant booking theme (TenantBookingTheme): shared header, footer and service picker for tenant booking
 * sites. Loaded only for themed tenants (body.tb-theme). Colours come from the tenant's
 * css/tenants/{siteKey}-booking.css, which sets the --tb-* tokens below; these are neutral fallbacks.
 */
body.tb-theme {
    --tb-brand: #2f6fde;
    --tb-brand-hover: #2459b6;
    --tb-brand-dark: #173d7a;
    --tb-brand-ink: #ffffff;
    --tb-brand-soft: #eaf1fd;
    --tb-accent: #f5a524;
    --tb-accent-ink: #2b1d00;
    --tb-ink: #14202e;
    --tb-muted: #5d6b7a;
    --tb-line: #e2e8ef;
    --tb-surface: #f5f8fb;
    --tb-page: #f3f6f9;
    --tb-hero-from: #173d7a;
    --tb-hero-to: #2f6fde;
    --tb-footer-bg: #0f1c2e;
    --tb-footer-ink: #c9d3df;
    --tb-radius: 14px;
    --tb-font: "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

    /* Shared journey components (site.css) follow the tenant brand. */
    --site-accent: var(--tb-brand);
    --site-accent-dark: var(--tb-brand-dark);
    --site-accent-soft: color-mix(in srgb, var(--tb-brand) 10%, transparent);
    --site-accent-glow: color-mix(in srgb, var(--tb-brand) 20%, transparent);
    --site-accent-secondary: var(--tb-accent);
    --site-ink: var(--tb-ink);
    --site-muted: var(--tb-muted);
    --site-gradient: linear-gradient(135deg, var(--tb-brand-dark) 0%, var(--tb-brand) 100%);
    --site-gradient-soft: linear-gradient(135deg, color-mix(in srgb, var(--tb-brand) 8%, transparent) 0%, color-mix(in srgb, var(--tb-accent) 8%, transparent) 100%);

    /* Tenant location pages (tenant-locations.css). */
    --tl-brand: var(--tb-brand);
    --tl-brand-hover: var(--tb-brand-hover);
    --tl-brand-ink: var(--tb-brand-ink);
    --tl-accent: var(--tb-brand-dark);
    --tl-hero-bg: var(--tb-hero-from);
    --tl-hero-bg-2: var(--tb-hero-to);
    --tl-surface: var(--tb-surface);
    --tl-border: var(--tb-line);
}

body.site-body.tb-theme,
body.site-body.legacy-form-body.tb-theme {
    background: var(--tb-page);
    color: var(--tb-ink);
    font-family: var(--tb-font);
}

.tb-theme .tb-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.tb-theme .tb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.6rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.tb-theme .tb-btn--primary {
    background: var(--tb-brand);
    color: var(--tb-brand-ink);
}

.tb-theme .tb-btn--primary:hover,
.tb-theme .tb-btn--primary:focus-visible {
    background: var(--tb-brand-hover);
    color: var(--tb-brand-ink);
    transform: translateY(-1px);
}

.tb-theme .tb-btn--ghost {
    border-color: var(--tb-line);
    background: #fff;
    color: var(--tb-brand-dark);
}

.tb-theme .tb-btn--ghost:hover,
.tb-theme .tb-btn--ghost:focus-visible {
    border-color: var(--tb-brand);
    color: var(--tb-brand-dark);
}

.tb-theme .tb-btn:focus-visible,
.tb-theme .tb-header a:focus-visible,
.tb-theme .tb-footer a:focus-visible,
.tb-theme .tb-service-card a:focus-visible {
    outline: 3px solid var(--tb-accent);
    outline-offset: 2px;
}

.tb-theme .tb-icon {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
}

/* Location pages (tenant-locations.css) set their own --tl-* defaults on .tenant-location-page,
   so map the tenant booking tokens onto them for themed tenants. */
.tb-theme .tenant-location-page {
    --tl-brand: var(--tb-brand);
    --tl-brand-hover: var(--tb-brand-hover);
    --tl-brand-ink: var(--tb-brand-ink);
    --tl-accent: var(--tb-brand);
    --tl-hero-bg: var(--tb-hero-from);
    --tl-hero-bg-2: var(--tb-hero-to);
    --tl-surface: var(--tb-surface);
    --tl-ink: var(--tb-ink);
    --tl-muted: var(--tb-muted);
    --tl-border: var(--tb-line);
    --tl-font: var(--tb-font);
}

/* ---------- Header ---------- */
.tb-theme .tb-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 1px 0 var(--tb-line), 0 8px 24px rgba(15, 28, 46, 0.06);
}

.tb-theme .tb-header__bar {
    background: var(--tb-brand-dark);
    color: #fff;
    font-size: 0.82rem;
}

.tb-theme .tb-header__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.25rem;
}

.tb-theme .tb-header__promise {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    opacity: 0.95;
}

.tb-theme .tb-header__promise .tb-icon {
    color: var(--tb-accent);
}

.tb-theme .tb-header__contact {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
}

.tb-theme .tb-header__contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.tb-theme .tb-header__contact a:hover {
    text-decoration: underline;
}

.tb-theme .tb-header__main {
    padding: 0;
}

.tb-theme .tb-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    min-height: 4.5rem;
    padding: 0.6rem 0;
}

.tb-theme .tb-header__brand {
    display: inline-flex;
    align-items: center;
    color: var(--tb-ink);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.tb-theme .tb-header__demo-badge {
    margin-left: 0.6rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: #ffc83d;
    color: #2b1d00;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tb-theme .tb-header__logo {
    display: block;
    width: auto;
    max-width: min(220px, 55vw);
    max-height: 48px;
}

.tb-theme .tb-header__toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.65rem;
    border: 1px solid var(--tb-line);
    border-radius: 10px;
    background: #fff;
}

.tb-theme .tb-header__toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--tb-ink);
}

.tb-theme .tb-header__nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
}

.tb-theme .tb-header__nav .nav-item {
    list-style: none;
}

.tb-theme .tb-header__nav a,
.tb-theme .tb-header__nav .nav-link {
    display: block;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    color: var(--tb-ink);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.tb-theme .tb-header__nav a:hover,
.tb-theme .tb-header__nav .nav-link:hover {
    background: var(--tb-surface);
    color: var(--tb-brand-dark);
}

.tb-theme .tb-header__nav a.is-current,
.tb-theme .tb-header__nav a[aria-current="page"] {
    background: var(--tb-brand-soft);
    color: var(--tb-brand-dark);
}

.tb-theme .tb-header__collapse {
    flex-basis: 100%;
}

.tb-theme .tb-header__cta {
    width: 100%;
    margin: 0.25rem 0 0.75rem;
}

@media (min-width: 992px) {
    .tb-theme .tb-header__collapse {
        flex-basis: auto;
        align-items: center;
        justify-content: flex-end;
        gap: 1rem;
    }

    .tb-theme .tb-header__nav {
        flex-direction: row;
        padding: 0;
    }

    .tb-theme .tb-header__cta {
        width: auto;
        margin: 0;
    }
}

@media (max-width: 575.98px) {
    .tb-theme .tb-header__promise {
        display: none;
    }

    .tb-theme .tb-header__bar-inner {
        justify-content: center;
    }
}

/* ---------- Footer ---------- */
.tb-theme .tb-footer {
    margin-top: 3rem;
    background: var(--tb-footer-bg);
    color: var(--tb-footer-ink);
    font-size: 0.92rem;
}

.tb-theme .tb-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 0 2.25rem;
}

.tb-theme .tb-footer__brand {
    display: grid;
    align-content: start;
    gap: 0.9rem;
}

.tb-theme .tb-footer__logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    background: #fff;
}

.tb-theme .tb-footer__logo {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 40px;
}

.tb-theme .tb-footer__name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
}

.tb-theme .tb-footer__tagline {
    max-width: 22rem;
    margin: 0;
    line-height: 1.6;
}

.tb-theme .tb-footer h2 {
    margin: 0 0 0.85rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tb-theme .tb-footer ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tb-theme .tb-footer li:empty {
    display: none;
}

.tb-theme .tb-footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--tb-footer-ink);
    text-decoration: none;
}

.tb-theme .tb-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.tb-theme .tb-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
}

.tb-theme .tb-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding: 1.1rem 0;
    opacity: 0.85;
}

@media (max-width: 991.98px) {
    .tb-theme .tb-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .tb-theme .tb-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

/* ---------- Service picker (country landing) ---------- */
.tb-theme .tb-picker__hero {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 6.5rem;
    background: linear-gradient(135deg, var(--tb-hero-from) 0%, var(--tb-hero-to) 100%);
    color: #fff;
}

.tb-theme .tb-picker__hero::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -12rem;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.tb-theme .tb-picker__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.85rem;
    font-weight: 600;
}

.tb-theme .tb-picker__hero h1 {
    max-width: 40rem;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.tb-theme .tb-picker__intro {
    max-width: 38rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
    line-height: 1.6;
}

.tb-theme .tb-picker__promises {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
}

.tb-theme .tb-picker__promises li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.tb-theme .tb-picker__promises .tb-icon {
    color: var(--tb-accent);
    font-size: 1.15rem;
}

.tb-theme .tb-picker__services {
    position: relative;
    z-index: 1;
    margin-top: -4.5rem;
}

.tb-theme .tb-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
    gap: 1.25rem;
}

.tb-theme .tb-service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius);
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 28, 46, 0.1);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tb-theme .tb-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(15, 28, 46, 0.14);
}

.tb-theme .tb-service-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10.5rem;
    background: linear-gradient(180deg, var(--tb-brand-soft) 0%, var(--tb-surface) 100%);
    border-bottom: 1px solid var(--tb-line);
}

.tb-theme .tb-service-card__media svg {
    width: 11rem;
    height: auto;
    max-height: 8.5rem;
}

.tb-theme .tb-service-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.4rem 1.4rem 0.5rem;
}

.tb-theme .tb-service-card h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.tb-theme .tb-service-card h3 a {
    color: var(--tb-ink);
    text-decoration: none;
}

.tb-theme .tb-service-card h3 a:hover {
    color: var(--tb-brand-dark);
}

.tb-theme .tb-service-card p {
    margin: 0;
    color: var(--tb-muted);
    line-height: 1.6;
}

.tb-theme .tb-service-card__points {
    display: grid;
    gap: 0.4rem;
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--tb-ink);
    font-size: 0.93rem;
}

.tb-theme .tb-service-card__points li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.tb-theme .tb-service-card__points .tb-icon {
    margin-top: 0.2rem;
    color: var(--tb-brand);
}

.tb-theme .tb-service-card__actions {
    display: grid;
    gap: 0.6rem;
    padding: 1.1rem 1.4rem 1.4rem;
}

.tb-theme .tb-service-card__actions .tb-btn {
    width: 100%;
}

.tb-theme .tb-service-card__note {
    color: var(--tb-muted);
    font-size: 0.88rem;
    text-align: center;
}

.tb-theme .tb-steps {
    margin-top: 3rem;
}

.tb-theme .tb-steps h2 {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
}

.tb-theme .tb-steps ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: tb-step;
}

.tb-theme .tb-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 0.9rem;
    align-items: start;
    padding: 1.25rem;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius);
    background: #fff;
    counter-increment: tb-step;
}

.tb-theme .tb-steps li::before {
    content: counter(tb-step);
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--tb-brand-soft);
    color: var(--tb-brand-dark);
    font-weight: 800;
}

.tb-theme .tb-steps strong {
    font-size: 1.02rem;
}

.tb-theme .tb-steps span {
    color: var(--tb-muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

@media (max-width: 767.98px) {
    .tb-theme .tb-picker__hero {
        padding: 2.5rem 0 5.5rem;
    }

    .tb-theme .tb-steps ol {
        grid-template-columns: 1fr;
    }
}

/* ---------- Service start page (SkipHire/Index for themed tenants) ---------- */
.tb-theme .tb-start__hero {
    position: relative;
    overflow: hidden;
    padding: 2.25rem 0 7rem;
    background: linear-gradient(135deg, var(--tb-hero-from) 0%, var(--tb-hero-to) 100%);
    color: #fff;
}

.tb-theme .tb-start__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
    gap: 2rem;
    align-items: center;
}

.tb-theme .tb-start__hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.tb-theme .tb-start__breadcrumbs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
}

.tb-theme .tb-start__breadcrumbs a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tb-theme .tb-start__art {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.tb-theme .tb-start__art svg {
    width: 100%;
    max-width: 18rem;
    height: auto;
}

.tb-theme .client-service-start-page.tb-start__journey {
    position: relative;
    z-index: 1;
    margin-top: -5rem;
    padding: 0;
}

.tb-theme .tb-start__journey .client-service-start-panel {
    width: 100%;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius);
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 28, 46, 0.12);
}

.tb-theme .tb-start__journey .client-service-start-note {
    border-left-color: var(--tb-brand);
}

.tb-theme .tb-start__journey .journey-panel--legacy-start {
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius);
    background: var(--tb-surface);
    box-shadow: none;
}

.tb-theme .tb-start__journey .journey-input {
    border-color: var(--tb-line);
    background: #fff;
}

.tb-theme .tb-start__journey .journey-input:focus {
    border-color: var(--tb-brand);
    outline: 3px solid color-mix(in srgb, var(--tb-brand) 22%, transparent);
}

.tb-theme .tb-start__journey .journey-submit {
    background: var(--tb-brand);
    color: var(--tb-brand-ink);
    box-shadow: none;
}

.tb-theme .tb-start__journey .journey-submit:hover,
.tb-theme .tb-start__journey .journey-submit:focus-visible {
    background: var(--tb-brand-hover);
    color: var(--tb-brand-ink);
}

.tb-theme .tb-start__journey .journey-submit--secondary {
    border: 2px solid var(--tb-line);
    background: #fff;
    color: var(--tb-brand-dark);
}

.tb-theme .tb-start__journey .journey-submit--secondary:hover,
.tb-theme .tb-start__journey .journey-submit--secondary:focus-visible {
    border-color: var(--tb-brand);
    background: #fff;
    color: var(--tb-brand-dark);
}

.tb-theme .tb-start__extras {
    margin-top: 2rem;
}

.tb-theme .tb-start__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.25rem;
}

.tb-theme .tb-start__card {
    display: grid;
    align-content: start;
    gap: 0.45rem;
    padding: 1.35rem;
    border: 1px solid var(--tb-line);
    border-radius: var(--tb-radius);
    background: #fff;
    color: var(--tb-ink);
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.tb-theme .tb-start__card:hover,
.tb-theme .tb-start__card:focus-visible {
    border-color: var(--tb-brand);
    color: var(--tb-ink);
    box-shadow: 0 12px 28px rgba(15, 28, 46, 0.08);
    transform: translateY(-2px);
}

.tb-theme .tb-start__card:focus-visible {
    outline: 3px solid var(--tb-accent);
    outline-offset: 2px;
}

.tb-theme .tb-start__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 0.35rem;
    border-radius: 12px;
    background: var(--tb-brand-soft);
    color: var(--tb-brand-dark);
    font-size: 1.35rem;
}

.tb-theme .tb-start__card strong {
    font-size: 1.08rem;
}

.tb-theme .tb-start__card > span:not([class]) {
    color: var(--tb-muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

.tb-theme .tb-start__card-cta {
    margin-top: 0.35rem;
    color: var(--tb-brand-dark);
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .tb-theme .tb-start__hero-grid {
        grid-template-columns: 1fr;
    }

    .tb-theme .tb-start__art {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .tb-theme .tb-start__hero {
        padding: 1.75rem 0 6rem;
    }

    .tb-theme .tb-start__journey .client-service-start-panel {
        padding: 1.1rem;
    }

    .tb-theme .tb-start__journey .journey-panel--legacy-start {
        padding: 1rem;
    }
}

/* ---------- Order confirmed (LegacyForm/Tenant/_OrderConfirmed) ---------- */
.tb-theme .tb-confirmed {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
    gap: 1.5rem;
    align-items: start;
    max-width: 62rem;
    margin: 2.5rem auto 1rem;
}

.tb-theme .tb-confirmed__card {
    display: grid;
    gap: 1.5rem;
    padding: clamp(1.4rem, 4vw, 2.5rem);
    border: 1px solid var(--tb-line);
    border-top: 6px solid var(--tb-brand);
    border-radius: var(--tb-radius);
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 28, 46, 0.08);
}

.tb-theme .tb-confirmed__head {
    display: grid;
    justify-items: start;
    gap: 0.5rem;
}

.tb-theme .tb-confirmed__tick svg {
    width: 3.5rem;
    height: 3.5rem;
}

.tb-theme .tb-confirmed__tick circle {
    fill: var(--tb-brand-soft);
    stroke: var(--tb-brand);
    stroke-width: 2;
}

.tb-theme .tb-confirmed__tick path {
    fill: none;
    stroke: var(--tb-brand);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: tb-tick 0.5s 0.15s ease-out forwards;
}

@keyframes tb-tick {
    to { stroke-dashoffset: 0; }
}

.tb-theme .tb-confirmed__eyebrow {
    margin: 0.5rem 0 0;
    color: var(--tb-brand-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tb-theme .tb-confirmed h1 {
    margin: 0;
    color: var(--tb-ink);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.tb-theme .tb-confirmed__message {
    max-width: 36rem;
    margin: 0;
    color: var(--tb-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.tb-theme .tb-confirmed__tenant {
    padding: 1rem 1.15rem;
    border-radius: 12px;
    background: var(--tb-surface);
    color: var(--tb-ink);
    line-height: 1.6;
}

.tb-theme .tb-confirmed__tenant > :last-child {
    margin-bottom: 0;
}

.tb-theme .tb-confirmed__next h2 {
    margin: 0 0 0.85rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.tb-theme .tb-confirmed__next ol {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: tb-next;
}

.tb-theme .tb-confirmed__next li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.1rem 0.85rem;
    counter-increment: tb-next;
}

.tb-theme .tb-confirmed__next li::before {
    content: counter(tb-next);
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--tb-brand-soft);
    color: var(--tb-brand-dark);
    font-weight: 800;
    font-size: 0.9rem;
}

.tb-theme .tb-confirmed__next span {
    color: var(--tb-muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

.tb-theme .tb-confirmed__contact {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--tb-line);
    border-radius: 12px;
    color: var(--tb-ink);
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.tb-theme .tb-confirmed__contact .tb-icon {
    margin-top: 0.2rem;
    color: var(--tb-brand);
}

.tb-theme .tb-confirmed__contact a {
    color: var(--tb-brand-dark);
    font-weight: 700;
}

.tb-theme .tb-confirmed__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tb-theme .tb-confirmed__art {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: var(--tb-radius);
    background: linear-gradient(180deg, var(--tb-brand-soft) 0%, var(--tb-surface) 100%);
}

.tb-theme .tb-confirmed__art svg {
    width: 100%;
    max-width: 14rem;
    height: auto;
}

@media (max-width: 767.98px) {
    .tb-theme .tb-confirmed {
        grid-template-columns: 1fr;
        margin-top: 1.25rem;
    }

    .tb-theme .tb-confirmed__art {
        display: none;
    }

    .tb-theme .tb-confirmed__actions .tb-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tb-theme .tb-confirmed__tick path {
        animation: none;
        stroke-dashoffset: 0;
    }
}

/* Service illustrations (_ServiceIllustration). */
.tb-theme .svc-fill-brand { fill: var(--tb-brand); }
.tb-theme .svc-fill-dark { fill: var(--tb-brand-dark); }
.tb-theme .svc-fill-accent { fill: var(--tb-accent); }
.tb-theme .svc-fill-soft { fill: var(--tb-brand-soft); }
.tb-theme .svc-fill-white { fill: #fff; }
.tb-theme .svc-fill-ink { fill: var(--tb-ink); }
.tb-theme .svc-fill-shadow { fill: rgba(15, 28, 46, 0.12); }
.tb-theme .svc-stroke-white { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 2; stroke-linecap: round; }

@media (prefers-reduced-motion: reduce) {
    .tb-theme .tb-service-card,
    .tb-theme .tb-btn {
        transition: none;
    }

    .tb-theme .tb-service-card:hover,
    .tb-theme .tb-btn:hover {
        transform: none;
    }
}
