.tcz-app {
    --tcz-bg: #0b1220;
    --tcz-panel: #121e31;
    --tcz-inset: #0a1120;
    --tcz-line: #31455f;
    --tcz-fg: #f4f8ff;
    --tcz-muted: #bdcbdf;
    --tcz-accent: #28d6ff;
    --tcz-accent-ink: #071326;
    --tcz-warning: #ffe2a1;
    --tcz-error: #ffb4b1;
    --tcz-space: clamp(18px, 3.4vw, 38px);
    isolation: isolate;
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    color: var(--tcz-fg);
    background: var(--tcz-bg);
    font-family: Manrope, "Avenir Next", sans-serif;
    font-size: 15px;
    line-height: 1.45;
    color-scheme: dark;
    text-align: left;
}

.tcz-app *, .tcz-app *::before, .tcz-app *::after { box-sizing: border-box; }
.tcz-app h1, .tcz-app h2, .tcz-app h3, .tcz-app h4, .tcz-app p, .tcz-app dl, .tcz-app dd, .tcz-app ol, .tcz-app ul { margin: 0; }
.tcz-app[data-tcz] :is(h1, h2, h3, h4, strong) { color: var(--tcz-fg); font-weight: 700; }
.tcz-app[data-tcz] :is(h1, h2, h3, h4) { font-family: inherit; line-height: 1.12; letter-spacing: -.035em; }
.tcz-app a { color: var(--tcz-accent); }
.tcz-app h3:focus, .tcz-app h2:focus { outline: none; }
.tcz-app :focus-visible { outline: 2px solid var(--tcz-accent); outline-offset: 3px; }
.tcz-app svg { flex: 0 0 auto; vertical-align: middle; }
.tcz-app small { font-size: .84em; }
.tcz-app .tcz-bootstrap, .tcz-app noscript { display: block; padding: 28px; }

.tcz-public {
    max-width: 1060px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 60px) var(--tcz-space) var(--tcz-space);
    border: 1px solid var(--tcz-line);
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 55% 0%, #162940 0%, transparent 46%),
        var(--tcz-bg);
}

.tcz-public-head { text-align: center; }
.tcz-wordmark { display: inline-flex; align-items: center; gap: 9px; color: var(--tcz-accent); font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.tcz-wordmark svg { width: 24px; height: 24px; }
.tcz-public-head h2 { margin-top: 10px; font-size: clamp(2.25rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.075em; }
.tcz-public-head h2 > span, .tcz-admin-head h1 > span { color: var(--tcz-accent); }

.tcz-app .tcz-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 660px;
    margin: clamp(24px, 5vw, 42px) auto clamp(20px, 4vw, 34px);
    padding: 0;
    list-style: none;
}
.tcz-steps::before { content: ""; position: absolute; inset: 16px 12.5% auto; height: 1px; background: var(--tcz-line); }
.tcz-steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 7px; color: var(--tcz-muted); }
.tcz-steps li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--tcz-line); background: var(--tcz-bg); font-size: 13px; font-weight: 750; }
.tcz-steps li > strong { color: inherit; font-size: clamp(10px, 2.5vw, 13px); font-weight: 650; }
.tcz-steps li[data-state="current"] > span { background: var(--tcz-accent); border-color: var(--tcz-accent); color: var(--tcz-accent-ink); box-shadow: 0 0 0 4px #28d6ff24; }
.tcz-steps li[data-state="current"] { color: var(--tcz-fg); }
.tcz-steps li[data-state="done"] > span { border-color: #397bae; color: var(--tcz-accent); }
.tcz-steps li > span svg { width: 15px; height: 15px; }
.tcz-screen, .tcz-admin-body > .tcz-panel { animation: tcz-enter .32s ease both; }
@keyframes tcz-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

.tcz-panel, .tcz-summary {
    min-width: 0;
    padding: var(--tcz-space);
    border: 1px solid var(--tcz-line);
    border-radius: 16px;
    background: var(--tcz-panel);
}
.tcz-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
.tcz-panel-head h2, .tcz-panel-head h3 { font-size: clamp(1.35rem, 3vw, 2rem); }
.tcz-panel-head p, .tcz-receipt > p { margin-top: 6px; color: var(--tcz-muted); }
.tcz-panel-icon { color: var(--tcz-accent); }
.tcz-panel-icon svg { width: 26px; height: 26px; }
.tcz-loading, .tcz-empty { padding: 32px 18px; text-align: center; color: var(--tcz-muted); }
.tcz-empty { border: 1px dashed var(--tcz-line); border-radius: 11px; }
.tcz-empty > strong { display: block; font-size: 17px; }
.tcz-empty > p { margin: 7px 0 0; }
.tcz-empty > .tcz-btn { margin-top: 17px; }

.tcz-app .tcz-btn, .tcz-app .tcz-icon-btn, .tcz-app .tcz-bike, .tcz-app .tcz-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: none;
    background: transparent;
    color: var(--tcz-fg);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s;
}
.tcz-app .tcz-btn:hover:not(:disabled), .tcz-app .tcz-icon-btn:hover { box-shadow: inset 0 0 0 1px var(--tcz-line); }
.tcz-app .tcz-btn svg { width: 17px; height: 17px; }
.tcz-app .tcz-icon-btn { width: 43px; padding: 0; color: var(--tcz-muted); border-color: var(--tcz-line); }
.tcz-app .tcz-icon-btn:hover, .tcz-app .tcz-quiet:hover { background: var(--tcz-inset); color: var(--tcz-fg); }
.tcz-app .tcz-quiet { color: var(--tcz-muted); }
.tcz-app .tcz-outline { border-color: var(--tcz-line); }
.tcz-app .tcz-outline:hover:not(:disabled) { border-color: var(--tcz-accent); color: var(--tcz-accent); }
.tcz-app .tcz-primary { background: var(--tcz-accent); color: var(--tcz-accent-ink); border-color: var(--tcz-accent); }
.tcz-app .tcz-primary:hover:not(:disabled) { background: #a5edff; border-color: #a5edff; }
.tcz-app .tcz-btn:disabled { opacity: .43; cursor: not-allowed; }
.tcz-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.tcz-pagination { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 18px; color: var(--tcz-muted); }

.tcz-app .tcz-day h4 { padding: 10px 12px; margin: 6px 0; color: var(--tcz-muted); font-size: 13px; letter-spacing: .015em; }
.tcz-day h4::first-letter { text-transform: uppercase; }
.tcz-day + .tcz-day { margin-top: 18px; }
.tcz-class-row {
    display: grid;
    grid-template-columns: 69px minmax(115px, 1fr) minmax(90px, auto) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--tcz-line);
    border-radius: 10px;
    background: var(--tcz-inset);
}
.tcz-class-row + .tcz-class-row { margin-top: 8px; }
.tcz-class-row strong, .tcz-class-row .tcz-class-time > span, .tcz-class-info > div > span { display: block; overflow-wrap: anywhere; }
.tcz-class-time { padding-right: 9px; border-right: 1px solid var(--tcz-line); font-variant-numeric: tabular-nums; }
.tcz-class-time > strong { font-size: 18px; }
.tcz-class-time > span, .tcz-class-info > div > span { color: var(--tcz-muted); font-size: 13px; }
.tcz-class-places { display: grid; justify-items: end; gap: 5px; text-align: right; }
.tcz-class-places > strong { font-size: 14px; }
.tcz-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 4px 9px;
    border: 1px solid var(--tcz-line);
    border-radius: 20px;
    color: var(--tcz-muted);
    background: var(--tcz-inset);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}
.tcz-badge[data-status="open"], .tcz-badge[data-status="confirmed"] { color: var(--tcz-accent); border-color: #39638f; }
.tcz-badge[data-status="pending"], .tcz-badge[data-status="review"] { color: var(--tcz-warning); border-color: #806a41; }
.tcz-badge[data-status="failed"] { color: var(--tcz-error); border-color: #865650; }
.tcz-flow { display: grid; grid-template-columns: minmax(185px, .36fr) minmax(0, 1fr); align-items: start; gap: 14px; }
.tcz-summary { padding: clamp(14px, 2.5vw, 24px); }
.tcz-summary-icon { display: inline-grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; background: #162b45; color: var(--tcz-accent); }
.tcz-summary h3 { margin-top: 13px; font-size: 19px; overflow-wrap: anywhere; }
.tcz-summary ul { display: grid; gap: 9px; margin: 14px 0; padding: 0; list-style: none; }
.tcz-summary li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tcz-muted); overflow-wrap: anywhere; }
.tcz-summary li svg { width: 16px; height: 16px; }
.tcz-summary li.tcz-summary-selection { color: var(--tcz-accent); }
.tcz-summary-total { display: grid; gap: 3px; border-top: 1px solid var(--tcz-line); padding-top: 11px; }
.tcz-summary-total span { color: var(--tcz-muted); font-size: 12px; }

.tcz-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 18px; margin: 0 0 17px; color: var(--tcz-muted); font-size: 12px; }
.tcz-legend span { display: inline-flex; gap: 6px; align-items: center; }
.tcz-legend i { display: inline-block; width: 13px; height: 13px; border: 1px solid #7690ab; border-radius: 3px; }
.tcz-legend span:nth-child(2) i { background: var(--tcz-accent); border-color: var(--tcz-accent); }
.tcz-legend span:nth-child(3) i { background: #22324a; border-color: #22324a; }
.tcz-floor-scroll { overflow: auto; border: 1px solid var(--tcz-line); border-radius: 13px; background: var(--tcz-inset); }
.tcz-floor {
    display: grid;
    justify-items: center;
    gap: 20px;
    min-width: calc(var(--tcz-cols) * 44px + 30px);
    padding: 18px clamp(10px, 2.8vw, 23px) 22px;
    background: repeating-linear-gradient(90deg, transparent 0 31px, #b3d6ff10 31px 32px);
}
.tcz-stage {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    width: min(100%, 190px); padding: 6px 8px; border-bottom: 2px solid #397bae;
    color: var(--tcz-accent); background: #162b45; border-radius: 5px 5px 2px 2px;
    font-size: 12px; font-weight: 700;
}
.tcz-stage svg { width: 18px; height: 18px; }
.tcz-bikes { display: grid; grid-template-columns: repeat(var(--tcz-cols), minmax(40px, 56px)); justify-content: center; gap: clamp(4px, 1vw, 10px); width: 100%; }
.tcz-app .tcz-bike { min-width: 40px; min-height: 47px; flex-direction: column; gap: 2px; padding: 4px; border-color: #617d9c; background: #152238; color: var(--tcz-fg); font-size: 12px; font-variant-numeric: tabular-nums; }
.tcz-app .tcz-bike svg { width: 20px; height: 20px; }
.tcz-app .tcz-bike:hover:not(:disabled) { border-color: var(--tcz-accent); box-shadow: inset 0 0 0 1px var(--tcz-accent); }
.tcz-app .tcz-bike[aria-pressed="true"] { background: var(--tcz-accent); color: var(--tcz-accent-ink); border-color: var(--tcz-accent); }
.tcz-app .tcz-bike:disabled { background: #22324a; color: #91a5c1; border-color: #22324a; cursor: not-allowed; }
.tcz-admin .tcz-bike[aria-pressed="false"] { border-style: dashed; opacity: .62; }

.tcz-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tcz-field { display: grid; gap: 6px; margin: 0; min-width: 0; color: var(--tcz-muted); font-size: 13px; font-weight: 650; }
.tcz-app .tcz-field input, .tcz-app .tcz-field select {
    min-height: 43px;
    width: 100%;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--tcz-line);
    border-radius: 8px;
    background: var(--tcz-inset);
    color: var(--tcz-fg);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
}
.tcz-app .tcz-field select { appearance: auto; background-image: none; }
.tcz-app .tcz-field input:focus, .tcz-app .tcz-field select:focus { border-color: var(--tcz-accent); box-shadow: none; }
.tcz-inline-error { padding-top: 12px; color: var(--tcz-error); font-size: 14px; }
.tcz-inline-error:empty { display: none; }

.tcz-receipt { display: grid; justify-items: center; gap: 12px; text-align: center; }
.tcz-receipt h3 { font-size: clamp(1.35rem, 3.25vw, 2.2rem); }
.tcz-receipt > p { max-width: 42ch; margin: 0; }
.tcz-receipt-icon { display: grid; place-items: center; width: 57px; height: 57px; border: 1px solid var(--tcz-line); border-radius: 50%; color: var(--tcz-muted); background: var(--tcz-inset); }
.tcz-receipt-icon svg { width: 28px; height: 28px; }
.tcz-receipt-icon[data-status="pending"], .tcz-receipt-icon[data-status="review"] { color: var(--tcz-warning); }
.tcz-receipt-icon[data-status="confirmed"] { color: var(--tcz-accent); border-color: #397bae; }
.tcz-receipt-icon[data-status="failed"] { color: var(--tcz-error); }
.tcz-app .tcz-reference {
    display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 10px 15px; width: 100%;
    max-width: 410px; margin: 7px 0 3px; padding: 13px;
    border: 1px solid var(--tcz-line); border-radius: 10px; background: var(--tcz-inset);
}
.tcz-reference > div { flex: 1 1 auto; }
.tcz-reference dt { color: var(--tcz-muted); font-size: 12px; }
.tcz-reference dd { font-size: 15px; color: var(--tcz-fg); font-weight: 750; font-variant-numeric: tabular-nums; }
.tcz-reference dd.tcz-clock { color: var(--tcz-warning); }
.tcz-receipt-actions { display: grid; justify-items: center; gap: 9px; }
.tcz-receipt-actions > small { color: var(--tcz-muted); }
.tcz-receipt-actions > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }

.tcz-app .tcz-dialog {
    position: fixed;
    inset: 0;
    width: min(650px, calc(100% - 24px));
    max-height: min(88vh, 860px);
    margin: auto;
    padding: var(--tcz-space);
    overflow: auto;
    border: 1px solid var(--tcz-line);
    border-radius: 16px;
    background: var(--tcz-panel);
    color: var(--tcz-fg);
    box-shadow: 0 18px 55px #0008;
}
.tcz-dialog[open] { animation: tcz-enter .22s ease both; }
.tcz-dialog::backdrop { background: #060b13c9; }
.tcz-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 17px; }
.tcz-dialog-head h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
.tcz-dialog p { color: var(--tcz-muted); }
.tcz-dialog .tcz-inline-error { color: var(--tcz-error); }
.tcz-dialog form > .tcz-actions { position: sticky; bottom: calc(-1 * var(--tcz-space)); margin-bottom: calc(-1 * var(--tcz-space)); padding: 12px 0 var(--tcz-space); background: var(--tcz-panel); }
.tcz-toasts { position: fixed; right: max(15px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 100001; display: grid; gap: 7px; max-width: min(390px, calc(100vw - 30px)); }
.tcz-toast { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid #865650; border-radius: 9px; background: var(--tcz-panel); color: var(--tcz-fg); box-shadow: 0 7px 26px #0005; animation: tcz-enter .24s ease both; }
.tcz-toast svg { color: var(--tcz-error); }
.tcz-toast[data-tone="success"] { border-color: #397bae; }
.tcz-toast[data-tone="success"] svg { color: var(--tcz-accent); }

.tcz-admin { max-width: 1370px; margin-top: 20px; border: 1px solid var(--tcz-line); border-radius: 16px; }
.tcz-admin-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: var(--tcz-space); background: radial-gradient(ellipse at 0% 0%, #142c49, transparent 65%); border-radius: 16px 16px 0 0; }
.tcz-admin-head h1 { padding: 0; margin-top: 5px; font-size: clamp(1.7rem, 4.15vw, 3.35rem); font-weight: 800; }
.tcz-tabs { display: flex; gap: 5px; padding: 0 var(--tcz-space); border-bottom: 1px solid var(--tcz-line); }
.tcz-app .tcz-tabs button { border-radius: 5px 5px 0 0; color: var(--tcz-muted); }
.tcz-app .tcz-tabs button[aria-current="page"] { color: var(--tcz-accent); border-bottom-color: var(--tcz-accent); background: var(--tcz-panel); }
.tcz-admin-body { min-height: 235px; padding: clamp(10px, 2vw, 20px); }
.tcz-admin-body > .tcz-panel { --tcz-space: clamp(14px, 2vw, 24px); }
.tcz-admin-section-head { align-items: flex-end; }
.tcz-tools { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 9px; }
.tcz-admin-notice { padding: 12px; margin-bottom: 14px !important; border: 1px solid #806a41; border-radius: 7px; color: var(--tcz-warning); }
.tcz-table-scroll { overflow: auto; }
.tcz-app .tcz-table { width: 100%; min-width: 680px; border: 0; border-spacing: 0; border-collapse: collapse; text-align: left; }
.tcz-table th { padding: 9px 10px; border-bottom: 1px solid var(--tcz-line); color: var(--tcz-muted); font-size: 12px; font-weight: 700; }
.tcz-table td { padding: 11px 10px; border-bottom: 1px solid var(--tcz-line); vertical-align: middle; }
.tcz-table tr:last-child td { border-bottom: 0; }
.tcz-table td > small { display: block; margin-top: 3px; color: var(--tcz-muted); }
.tcz-table-actions { display: flex; justify-content: flex-end; gap: 1px; }
.tcz-app .tcz-table-actions .tcz-btn { min-height: 37px; padding: 5px 7px; font-size: 12px; }
.tcz-order-link { display: inline-flex; align-items: center; gap: 4px; }
.tcz-order-link svg { width: 14px; height: 14px; }
.tcz-admin-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0 var(--tcz-space) 18px; color: var(--tcz-muted); font-size: 12px; }
.tcz-admin-foot code { padding: 4px 7px; border-radius: 5px; background: var(--tcz-panel); }
.tcz-discipline-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.tcz-discipline { padding: 16px; border: 1px solid var(--tcz-line); border-radius: 12px; background: var(--tcz-inset); }
.tcz-discipline > h3 { margin-top: 9px; font-size: 19px; }
.tcz-discipline > p { margin-top: 5px; color: var(--tcz-muted); }
.tcz-discipline dl { display: grid; gap: 6px; margin: 13px 0; }
.tcz-discipline dl > div { display: flex; justify-content: space-between; gap: 6px; color: var(--tcz-muted); }
.tcz-discipline dd { color: var(--tcz-fg); font-weight: 750; }
.tcz-editor-config { display: grid; gap: 12px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--tcz-line); }
.tcz-editor-config h3 { font-size: 17px; }
.tcz-check-field { display: flex; align-items: center; align-self: end; gap: 8px; min-height: 43px; }
.tcz-app .tcz-check-field input { width: 16px; height: 16px; margin: 0; accent-color: var(--tcz-accent); }
.tcz-map-instructions { margin: 9px 0 !important; font-size: 13px; }
.tcz-capacity { margin-top: 8px !important; font-size: 13px; }

.tcz-checkout-message { display: grid; gap: 4px; margin: 16px 0; padding: 15px 18px; border: 1px solid #31455f; border-radius: 9px; background: #121e31; color: #f4f8ff; font-family: Manrope, "Avenir Next", sans-serif; }
.tcz-checkout-message strong { color: #28d6ff; }
.tcz-checkout-message span { color: #bdcbdf; }
.tcz-woo-checkout form#order_review { color: #f4f8ff; }
.tcz-woo-checkout form#order_review .shop_table,
.tcz-woo-checkout form#order_review #payment { background: #121e31; border: 1px solid #31455f; border-radius: 10px; }
.tcz-woo-checkout form#order_review :is(.shop_table th, .shop_table td, .wc_payment_methods) { border-color: #31455f; }
.tcz-woo-checkout form#order_review #payment div.payment_box { color: #f4f8ff; background: #162b45; }
.tcz-woo-checkout form#order_review #payment div.payment_box::before { border-bottom-color: #162b45; }
.tcz-woo-checkout form#order_review #place_order { background: #28d6ff; border-color: #28d6ff; color: #071326; }
.tcz-woo-checkout form#order_review #place_order:hover { background: #a5edff; }
.tcz-woo-checkout form#order_review a { color: #28d6ff; }
.tcz-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 720px) {
    .tcz-flow { grid-template-columns: minmax(0, 1fr); }
    .tcz-flow > .tcz-summary { grid-row: 2; }
    .tcz-summary ul { display: flex; flex-wrap: wrap; }
    .tcz-admin-head, .tcz-admin-section-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 470px) {
    .tcz-public { --tcz-space: 12px; border-radius: 13px; }
    .tcz-schedule > .tcz-panel-head { flex-direction: column; gap: 10px; }
    .tcz-schedule > .tcz-panel-head .tcz-field { width: 100%; }
    .tcz-class-row { grid-template-columns: 51px minmax(0, 1fr) auto; gap: 7px; padding: 9px; }
    .tcz-class-places { grid-column: 2; grid-row: 2; justify-items: start; }
    .tcz-class-row > button { grid-column: 3; grid-row: 1 / span 2; }
    .tcz-class-row > button svg { display: none; }
    .tcz-class-time { padding-right: 5px; }
    .tcz-class-time > strong { font-size: 15px; }
    .tcz-form-grid { grid-template-columns: minmax(0, 1fr); }
    .tcz-actions { gap: 6px; }
    .tcz-actions .tcz-btn { padding-inline: 8px; }
    .tcz-admin .tcz-panel-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    .tcz-app *, .tcz-app *::before, .tcz-app *::after { animation: none !important; transition: none !important; }
}

/* Booking palette and shared surfaces */
.tcz-app {
    --tcz-tone: var(--tcz-accent);
    --tcz-soft: #162b45;
    --tcz-outline: #7390ad;
    --tcz-selection: #172c47;
    --tcz-disabled: #22324a;
}
.tcz-public {
    border: 0;
    background: radial-gradient(ellipse at 75% 0%, var(--tcz-soft), transparent 53%), var(--tcz-bg);
}
.tcz-admin { border: 0; }
.tcz-admin-head { background: radial-gradient(ellipse at 0% 0%, var(--tcz-soft), transparent 65%); }
.tcz-public .tcz-panel, .tcz-public .tcz-summary, .tcz-admin .tcz-panel, .tcz-discipline { border: 0; }
.tcz-public-head h2, .tcz-admin-head h1 { font-weight: 750; }
.tcz-public .tcz-steps { grid-template-columns: repeat(var(--tcz-steps, 3), minmax(0, 1fr)); }
.tcz-steps::before { inset-inline: calc(50% / var(--tcz-steps, 3)); }
.tcz-steps li[data-state="done"] > span { border-color: var(--tcz-line); color: var(--tcz-tone); }
.tcz-steps li[data-state="current"] > span { box-shadow: 0 0 0 4px var(--tcz-selection); }
.tcz-wordmark, .tcz-panel-icon, .tcz-summary li.tcz-summary-selection,
.tcz-public-head h2 > span, .tcz-admin-head h1 > span, .tcz-app a,
.tcz-app .tcz-tabs button[aria-current="page"] { color: var(--tcz-tone); }
.tcz-app :focus-visible { outline-color: var(--tcz-tone); }
.tcz-summary-icon, .tcz-stage, .tcz-list-icon { background: var(--tcz-soft); color: var(--tcz-tone); }
.tcz-stage { border-bottom: 0; border-radius: 7px; }
.tcz-class-row { border: 0; border-radius: 10px; }
.tcz-class-row + .tcz-class-row { margin-top: 5px; }
.tcz-class-time { border-right: 0; }
.tcz-class-info { display: flex; align-items: center; min-width: 0; gap: 9px; }
.tcz-class-info > div { min-width: 0; }
.tcz-list-icon { display: grid; width: 34px; height: 34px; place-items: center; flex: 0 0 auto; border-radius: 9px; }
.tcz-list-icon svg { width: 18px; height: 18px; }
.tcz-floor-scroll { border: 0; }
.tcz-floor { background: repeating-linear-gradient(90deg, transparent 0 31px, color-mix(in srgb, var(--tcz-fg) 7%, transparent) 31px 32px); }
.tcz-app .tcz-bike { background: var(--tcz-panel); border-color: var(--tcz-outline); }
.tcz-app .tcz-bike[aria-pressed="true"] { background: var(--tcz-accent); color: var(--tcz-accent-ink); border-color: var(--tcz-accent); }
.tcz-app .tcz-bike:disabled, .tcz-legend span:nth-child(3) i { background: var(--tcz-disabled); color: var(--tcz-muted); border-color: transparent; }
.tcz-legend i { border-color: var(--tcz-outline); }
.tcz-app .tcz-primary:hover:not(:disabled) { background: var(--tcz-accent); border-color: var(--tcz-accent); filter: brightness(.96); }
.tcz-app .tcz-outline, .tcz-app .tcz-icon-btn { border-color: transparent; background: var(--tcz-inset); }
.tcz-app .tcz-outline:hover:not(:disabled) { border-color: var(--tcz-line); color: var(--tcz-tone); }
.tcz-app .tcz-field input, .tcz-app .tcz-field select { border-color: var(--tcz-outline); }
.tcz-app .tcz-field input:focus, .tcz-app .tcz-field select:focus { border-color: var(--tcz-tone); }
.tcz-badge { border: 0; background: var(--tcz-inset); }
.tcz-badge[data-status="open"], .tcz-badge[data-status="confirmed"] { background: var(--tcz-soft); color: var(--tcz-tone); }
.tcz-app .tcz-reference { border: 0; }
.tcz-receipt-icon[data-status="confirmed"] { background: var(--tcz-soft); color: var(--tcz-tone); border-color: transparent; }
.tcz-empty { border: 0; background: var(--tcz-inset); }
.tcz-toast[data-tone="success"] { border-color: var(--tcz-line); }
.tcz-toast[data-tone="success"] svg { color: var(--tcz-tone); }
.tcz-admin-notice { border: 0; background: var(--tcz-inset); }

.tcz-methods, .tcz-icon-picker { display: grid; gap: 8px; min-width: 0; margin: 20px 0 0; padding: 0; border: 0; text-align: left; }
.tcz-methods legend, .tcz-icon-picker legend { margin-bottom: 8px; padding: 0; font-weight: 700; }
.tcz-method {
    display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 12px;
    border-radius: 9px; background: var(--tcz-inset); cursor: pointer;
}
.tcz-method:has(input:checked) { background: var(--tcz-soft); }
.tcz-method:has(input:focus-visible), .tcz-icon-choice:has(input:focus-visible) { outline: 2px solid var(--tcz-tone); outline-offset: 2px; }
.tcz-app .tcz-method input { margin: 0; accent-color: var(--tcz-tone); }
.tcz-method span { display: grid; gap: 2px; }
.tcz-method small, .tcz-payment-note, .tcz-payment-config p { color: var(--tcz-muted); }
.tcz-payment-note { margin-top: 15px !important; }
.tcz-terms { margin-top: 10px; }
.tcz-terms a { text-decoration: underline; }
.tcz-app .tcz-check-field input { accent-color: var(--tcz-tone); }
.tcz-transfer, .tcz-receipt form { max-width: 440px; width: 100%; }
.tcz-transfer { display: grid; gap: 8px; text-align: left; }
.tcz-transfer p { white-space: pre-line; color: var(--tcz-muted); }
.tcz-transfer dl { display: grid; gap: 6px; padding: 12px; border-radius: 9px; background: var(--tcz-inset); }
.tcz-transfer dl div { display: flex; justify-content: space-between; gap: 12px; overflow-wrap: anywhere; }
.tcz-transfer dt { color: var(--tcz-muted); }
.tcz-transfer dd { font-weight: 700; }
.tcz-receipt form > .tcz-primary { margin-top: 14px; }
.tcz-icon-picker { display: flex; flex-wrap: wrap; }
.tcz-icon-choice { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--tcz-muted); background: var(--tcz-inset); border-radius: 9px; cursor: pointer; }
.tcz-icon-choice input { position: absolute; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tcz-icon-choice:has(input:checked) { background: var(--tcz-accent); color: var(--tcz-accent-ink); }
.tcz-appearance { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: start; gap: clamp(16px, 4vw, 32px); }
.tcz-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tcz-appearance form > .tcz-primary { margin-top: 14px; }
.tcz-app .tcz-appearance input[type="color"] { height: 46px; padding: 4px; }
.tcz-theme-preview { display: grid; justify-items: start; gap: 8px; padding: 23px; border-radius: 12px; background: var(--tcz-bg); color: var(--tcz-fg); box-shadow: 0 0 0 1px var(--tcz-line); }
.tcz-theme-preview > strong { font-size: clamp(1.3rem, 4vw, 2rem); letter-spacing: -.04em; }
.tcz-preview-label, .tcz-theme-preview > span:not(.tcz-preview-button) { color: var(--tcz-muted); }
.tcz-preview-button { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; margin-top: 6px; border-radius: 7px; background: var(--tcz-accent); color: var(--tcz-accent-ink); font-size: 13px; font-weight: 700; }
.tcz-preview-button svg { width: 15px; height: 15px; }
.tcz-payment-config { margin-top: 22px; }
.tcz-payment-config h3 { margin-bottom: 6px; font-size: 17px; }
@media (max-width: 650px) {
    .tcz-appearance { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 470px) {
    .tcz-list-icon { width: 26px; height: 26px; }
    .tcz-list-icon svg { width: 15px; height: 15px; }
    .tcz-class-info { gap: 6px; }
}

/* Editorial public agenda. The administrator's saved palette still supplies the colors. */
.cz-booking-frame .tcz-app.tcz-public {max-width:1010px;padding:0;background:var(--tcz-bg);border-radius:0}
.cz-booking-frame .tcz-public-head{text-align:left;padding:clamp(12px,3vw,36px) clamp(12px,3vw,34px) 0}
.cz-booking-frame .tcz-wordmark{color:var(--tcz-tone);letter-spacing:.15em}
.cz-booking-frame .tcz-public-head h2{font-family:"Barlow Condensed",sans-serif;text-transform:uppercase;letter-spacing:-.012em;font-size:clamp(59px,9vw,128px);line-height:.9;margin-top:7px}
.cz-booking-frame .tcz-steps{margin:22px auto 16px;max-width:620px}
.cz-booking-frame .tcz-panel{border-radius:0}
.cz-booking-frame .tcz-schedule,.cz-booking-frame .tcz-map-panel{padding:clamp(11px,3.65vw,34px)}
.cz-booking-frame .tcz-map-panel .tcz-panel-head{border-bottom:1px solid var(--tcz-line);padding-bottom:15px;margin-bottom:12px}
.cz-booking-frame .tcz-map-discipline{text-transform:uppercase;letter-spacing:.09em;font-weight:700;font-size:11px;margin:0 0 5px}
.cz-booking-frame .tcz-map-panel h3{font-size:clamp(22px,4vw,38px);letter-spacing:-.04em}
.cz-booking-frame .tcz-map-panel .tcz-floor-scroll{background:none;overflow-x:auto}
.cz-booking-frame .tcz-floor{min-width:max(0px,calc(var(--tcz-cols) * 44px));padding:3px 0 0;background:none;gap:14px}
.cz-booking-frame .tcz-stage{display:grid;justify-items:center;gap:2px;width:auto;min-width:105px;padding:8px 13px;background:var(--tcz-soft);color:var(--tcz-tone);border-radius:8px;text-transform:uppercase;font-size:11px}
.cz-booking-frame .tcz-bikes{grid-template-columns:repeat(var(--tcz-cols),minmax(38px,1fr));gap:clamp(5px,1vw,10px)}
.cz-booking-frame .tcz-bike{min-width:0;min-height:clamp(46px,7vw,68px);border:1px solid transparent;border-radius:8px;background:var(--tcz-disabled)}
.cz-booking-frame .tcz-bike[aria-pressed=true]{background:var(--tcz-accent);color:var(--tcz-accent-ink)}
.cz-booking-frame .tcz-bike:disabled{background:var(--tcz-inset);color:var(--tcz-muted);opacity:.68;transform:none}
.cz-booking-frame .tcz-bike[data-bike-status=pending]{border:1px dashed var(--tcz-outline);opacity:.8}
.cz-booking-frame .tcz-bike[data-bike-status=offline]{border:1px dashed var(--tcz-line);opacity:.6}
.cz-booking-frame .tcz-legend{margin:12px 0 0;gap:4px 13px}
.cz-booking-frame .tcz-legend i{width:9px;height:9px;border-radius:50%;border:0;background:var(--tcz-outline)}
.cz-booking-frame .tcz-legend [data-legend=selected] i{background:var(--tcz-accent);border:1px solid var(--tcz-outline)}
.cz-booking-frame .tcz-legend [data-legend=confirmed] i{background:var(--tcz-disabled);border:1px solid var(--tcz-outline)}
.cz-booking-frame .tcz-legend [data-legend=pending] i,.cz-booking-frame .tcz-legend [data-legend=offline] i{background:transparent;border:1px dashed var(--tcz-outline)}
.cz-booking-frame .tcz-legend [data-legend=offline] i{border-color:var(--tcz-muted);opacity:.7}
.cz-booking-frame .tcz-map-actions{margin-top:15px;padding-top:13px;border-top:1px solid var(--tcz-line)}
.cz-booking-frame .tcz-map-actions>div:last-child{display:flex;align-items:center;justify-content:flex-end;gap:4px}
.cz-booking-frame .tcz-selection-display{display:grid;gap:1px}
.cz-booking-frame .tcz-selection-display span{text-transform:uppercase;font-size:11px;color:var(--tcz-muted)}
.cz-booking-frame .tcz-btn{border-radius:4px}
.cz-booking-frame .tcz-schedule-filter{display:flex;gap:8px}
.cz-booking-frame .tcz-schedule-filter>*{min-width:0}
@media(max-width:520px){
 .cz-booking-frame .tcz-schedule-filter{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .cz-booking-frame .tcz-map-actions{gap:3px}
 .cz-booking-frame .tcz-map-actions>div:last-child{gap:0}
 .cz-booking-frame .tcz-map-actions .tcz-btn{gap:4px;padding-inline:5px;font-size:12px}
 .cz-booking-frame .tcz-map-actions .tcz-btn svg{width:14px}
}
.cz-booking-frame .tcz-app[data-step]:not([data-step="0"]) .tcz-public-head h2{
  font-size:clamp(40px,6.3vw,80px);
}
.cz-booking-frame .tcz-bike[data-bike-status=offline] span{text-decoration:line-through}

.cz-booking-frame .tcz-public [data-shell] > .tcz-public-head h2 {
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: -.025em;
    font-size: clamp(3.05rem, 8vw, 6.5rem);
    line-height: .95;
}
.cz-booking-frame .tcz-public { border-radius: 8px; }
