.os-page,.os-staff { --os-ink:#202b21; --os-muted:#52604f; --os-line:#d7ddcf; --os-soft:#f1f4eb; --os-green:#293d2a; --os-yellow:#f6d84d; }
.os-header { justify-content:space-between; }
.os-header>.brand { display:flex; align-items:center; }
.os-header .text-link { min-height:44px; }
.os-main { max-width:1180px; margin:0 auto; padding-bottom:48px; color:var(--os-ink); }
.os-hero { display:grid; grid-template-columns:1fr auto; gap:28px; align-items:end; padding:clamp(26px,5vw,60px); border-radius:20px; background:var(--os-green); color:#fff; }
.os-hero h1,.os-private h1 { text-transform:none; line-height:1.04; letter-spacing:-.042em; margin:0 0 16px; }
.os-hero h1 { font-size:clamp(2.25rem,6.3vw,4.75rem); max-width:12ch; }
.os-hero p { max-width:43ch; line-height:1.6; }
.os-hero .os-kicker { margin:0 0 12px; color:#f8e16b; font-size:.925rem; font-weight:750; }
.os-hero-meta,.os-hero-meta span { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.os-hero-meta { margin-top:22px; column-gap:20px; }
.os-hero-note { display:grid; gap:5px; color:var(--os-ink); background:var(--os-yellow); border-radius:12px; padding:18px; line-height:1.4; }
.os-hero-note strong { font-size:1.25rem; }
.os-section { margin-top:30px; }
.os-section h2,.os-staff h3 { text-transform:none; margin:0 0 12px; color:var(--os-ink); }
.os-card h2 { font-size:1.24rem; }
.os-ticket-grid,.os-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.os-ticket,.os-quantity button,.os-day-tabs button,.os-times button { border:1px solid var(--os-line); border-radius:10px; padding:12px; background:#fff; color:var(--os-ink); text-align:left; font:inherit; }
.os-ticket { display:grid; gap:9px; padding:20px; }
.os-ticket[aria-pressed="true"],.os-quantity button[aria-pressed="true"],.os-day-tabs button[aria-pressed="true"],.os-times button[aria-pressed="true"] { background:var(--os-soft); border-color:var(--os-green); box-shadow:inset 0 0 0 1px var(--os-green); }
.os-ticket-title { display:flex; justify-content:space-between; gap:12px; align-items:center; font-weight:750; font-size:1.18rem; }
.os-muted { color:var(--os-muted); }
.os-ticket .os-muted { display:flex; align-items:center; gap:7px; font-size:.93rem; }
.os-pair { font-weight:650; display:flex; flex-wrap:wrap; align-items:center; gap:7px; }
.os-pair strong { font-size:1.6rem; letter-spacing:-.035em; }
.os-pair span { background:#f8e465; border-radius:5px; padding:3px 8px; font-size:.9rem; color:#283221; }
.os-form { display:grid; gap:14px; margin-top:14px; }
.os-card { border:1px solid var(--os-line); }
.os-quantity,.os-times { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.os-quantity button,.os-times button { display:grid; gap:5px; min-height:56px; }
.os-quantity span,.os-times span { color:var(--os-muted); font-size:.875rem; }
.os-day-tabs { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:12px; }
.os-day-tabs button { min-height:44px; font-size:.9rem; padding:8px 12px; }
.os-times button:disabled { background:#f8f8f6; color:#686f61; cursor:default; }
.os-times + p { font-size:.88rem; margin:12px 0 0; }
.os-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:14px 0; align-items:end; }
.os-field { display:grid; gap:6px; min-width:0; }
.os-field span { font-size:.92rem; font-weight:650; }
.os-field :is(input,select,textarea) { min-height:44px; width:100%; color:var(--os-ink); padding:9px 10px; border:1px solid var(--os-line); border-radius:8px; font-size:1rem; background:#fff; }
.os-field input[type="file"] { padding:7px; }
.os-skater { margin:20px 0; padding:4px 14px 0; border-radius:9px; border:1px solid var(--os-line); }
.os-skater legend { padding:0 6px; font-weight:750; }
.os-consent { display:flex; align-items:flex-start; gap:9px; line-height:1.5; }
.os-consent input,.os-coaches input { margin-top:4px; width:18px; height:18px; flex-shrink:0; accent-color:var(--os-green); }
.os-checkout-bar,.os-home-event { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; padding:14px 18px; border-radius:12px; background:var(--os-soft,#f1f4eb); }
.os-checkout-bar strong,.os-checkout-bar span,.os-home-event small { display:block; }
.os-checkout-bar strong { font-size:1.36rem; }
.os-checkout-bar span { color:var(--os-muted); }
.os-home-event { color:#202b21; border:1px solid #d7ddcf; margin:12px 0 18px; text-decoration:none; }
.os-home-event strong { background:#f6d84d; padding:9px 12px; border-radius:8px; }
.os-error,.os-notice { padding:12px; border-radius:8px; margin:10px 0; background:#fff0ec; color:#862d22; }
.os-notice { background:#eef4e7; color:#253725; }
.os-private { max-width:810px; margin:0 auto; }
.os-private h1 { font-size:clamp(1.6rem,4vw,2.4rem); }
.os-private-heading { display:flex; align-items:flex-start; gap:12px; }
.os-private-heading>svg { flex:none; color:var(--os-green); }
.os-private-heading p { margin:0; }
.os-booking-summary { display:grid; grid-template-columns:auto 1fr; gap:8px; align-items:center; margin:16px 0; }
.os-hold { display:flex; gap:8px; align-items:center; border-radius:8px; padding:10px; background:#fff5ce; }
.os-hold svg { flex-shrink:0; }
.os-payment { display:grid; gap:8px; }
.os-payment details,.os-roster { padding:12px; border-radius:8px; border:1px solid var(--os-line); }
.os-payment summary,.os-staff summary { cursor:pointer; font-weight:750; text-transform:none; }
.os-payment-image { display:block; margin:12px 0; width:min(245px,100%); height:auto; }
.os-link-button { display:block; width:fit-content; margin:12px 0; border:0; background:transparent; text-decoration:underline; color:var(--os-green); padding:5px 0; font:inherit; }
.os-confirm-actions,.os-staff-controls { display:flex; align-items:end; flex-wrap:wrap; gap:8px; margin:12px 0; }
.os-checkin { width:fit-content; max-width:100%; text-align:center; }
.os-checkin img { max-width:100%; height:auto; margin:auto; }
.os-chat { margin:12px 0; max-width:650px; }
.os-messages { max-height:270px; overflow:auto; padding:10px; background:#f1f4eb; border-radius:8px; }
.os-messages article { padding:8px 10px; border-radius:6px; margin:8px 0; background:#fff; overflow-wrap:anywhere; }
.os-messages .os-chat-mine { background:#e1eadb; }
.os-messages p { margin:3px 0; white-space:pre-wrap; }
.os-chat-form { display:flex; gap:8px; align-items:end; margin-top:8px; }
.os-chat-form label { flex:1; }
.os-staff { margin-bottom:16px; }
.os-staff>summary { font-size:1.16rem; }
.os-staff-controls .os-field { min-width:min(210px,100%); }
.os-camera video { max-height:320px; max-width:100%; display:block; background:#233223; margin-bottom:8px; border-radius:10px; }
.os-camera video[hidden] { display:none; }
.os-roster { margin-top:10px; }
.os-roster-group { border-top:1px solid var(--os-line); padding-top:10px; }
.os-attendee { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; border-top:1px solid var(--os-line); padding:10px 0; }
.os-attendee p,.os-admin-title p { margin:4px 0; }
.os-stats,.os-coaches { display:flex; flex-wrap:wrap; gap:9px; margin:14px 0; }
.os-stats span,.os-coaches label { padding:6px 11px; background:var(--os-soft); border-radius:6px; }
.os-coaches label { display:flex; align-items:center; gap:7px; }
.os-coaches input { margin:0; }
.os-admin-booking { border:1px solid var(--os-line); border-radius:10px; padding:14px; margin-top:14px; overflow-wrap:anywhere; }
.os-admin-booking[data-highlight="true"] { outline:2px solid var(--os-green); }
.os-admin-title { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:8px; }
.os-admin-title h3 { margin-bottom:0; }
.os-review { margin:12px 0; padding:12px; border-radius:8px; background:#f7f6ed; }
@media(max-width:720px) {
  .os-header { min-height:68px; }
  .os-hero,.os-form-grid { grid-template-columns:1fr; }
  .os-hero-note { width:fit-content; }
  .os-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .os-ticket { padding:11px; }
  .os-ticket .os-muted { font-size:.875rem; }
  .os-ticket .os-muted svg { display:none; }
  .os-private-heading { gap:8px; }
}
@media(max-width:420px) {
  .os-fields { grid-template-columns:1fr; gap:10px; }
  .os-pair { align-items:baseline; }
  .os-pair strong { font-size:1.25rem; }
}
/* Inherit the mobile walkthrough’s narrow shell, control height and typography. */
.os-page > .os-header { flex-wrap:nowrap; gap:10px; }
.os-page .os-main { margin:0; padding-top:12px; }
.os-page .os-hero { border-radius:15px; padding:22px 18px; background:#28392d; }
.os-page .os-hero h1 { text-align:left; font-size:clamp(2rem,10vw,3.1rem); }
.os-page .os-hero p { margin-top:0; }
.os-page .os-hero-note { padding:13px; }
.os-page .os-form-grid { grid-template-columns:1fr; }
.os-page .os-fields,.os-staff .os-fields { grid-template-columns:1fr; }
.os-page .os-card,.os-staff.os-card { margin:0; }
.os-page .os-field :is(input,select,textarea),.os-staff .os-field :is(input,select,textarea) { text-align:left; }
.os-page .os-ticket b,.os-staff .os-stats b { font-weight:750; }
.os-page .os-checkout-bar { position:static; }
.os-page .os-checkout-bar .btn { justify-content:center; }
.os-page .os-header .brand { text-decoration:none; }
.os-page .os-confirm-actions .btn,.os-staff .os-confirm-actions .btn { display:inline-flex; align-items:center; gap:6px; }
.os-page .os-stats,.os-staff .os-stats { font-size:14px; }
#one-square-staff:not([hidden]) { margin:14px 0 4px; }
.os-portal-teaser { background:#f7edbe; }
.os-portal-teaser h2 { margin:4px 0 12px; }
.os-portal-teaser p { margin-bottom:0; }
.os-skip {position:absolute;left:-9999px}
.os-skip:focus {position:static}
.os-page > main {display:block;width:100%;min-width:0}
.os-page h1 {font-size:clamp(1.75rem,7vw,2.35rem);margin:14px 0;line-height:1.14;overflow-wrap:normal}
.os-page .os-card,.os-page .os-section {margin:0 0 12px;min-width:0}
.os-page .os-wizard-form,.os-page .os-wizard-form>section,.os-page .os-private form {display:block;width:100%;min-width:0}
.os-page .os-ticket-grid {grid-template-columns:minmax(0,1fr)}
.os-page .os-quantity,.os-page .os-times {grid-template-columns:repeat(2,minmax(0,1fr))}
.os-page .os-ticket,.os-page .os-quantity button,.os-page .os-times button {overflow-wrap:normal;word-break:normal;min-width:0}
.os-page .os-skater {min-width:0}
.os-step {margin:12px 0 4px;font-size:.88rem;font-weight:700;color:var(--os-muted)}
.os-continue {display:grid;margin:14px 0}
.os-continue .btn {display:flex;align-items:center;justify-content:center;gap:8px}
.os-page .os-checkout-bar {display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.os-page .os-event-details {padding:0;overflow:hidden}
.os-poster,.os-home-photo {display:block;width:100%;height:auto}
.os-home-photo {border-radius:10px;margin:10px 0}
.os-events-copy {padding:14px}
.os-events-copy p,.os-venue {display:flex;align-items:center;gap:6px}
.os-events-copy svg,.os-venue svg {flex:none}
.os-confirm-links {display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.os-disclosure {border-top:1px solid var(--os-line);padding:11px 0}
.os-disclosure p {margin:7px 0 0}
.os-account-ticket {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-top:1px solid var(--os-line)}
.os-account-ticket p {margin:3px 0;font-size:14px}
.os-nav {display:flex;justify-content:space-around}
.os-nav a {padding:12px 8px;font-size:14px;color:var(--os-ink);font-weight:700;text-decoration:none}
body:not(.class-chat-mode) .app>header {position:sticky;top:0;z-index:25;background:var(--paper,#f9f8f4);padding-top:max(8px,env(safe-area-inset-top))}
.os-page .os-nav a,.os-portal-nav {display:flex;align-items:center;justify-content:center;text-align:center;min-width:0;min-height:44px;padding:5px 2px;font-size:clamp(10px,2.7vw,13px)}
.os-page .os-nav a {flex:1}
.os-page .os-nav a[aria-current=page] {background:#f9efbf;border-radius:9px}
.os-pay-summary,.os-pay-method,.os-pay-upload {padding:12px 0;border-top:1px solid var(--os-line)}
.os-pay-summary p,.os-pay-method p {margin:4px 0}
.os-pay-summary p:nth-of-type(2) {display:flex;justify-content:space-between}
.os-confirm-links .btn[aria-pressed=true] {background:#f9efbf;color:#252518;border-color:#cbb362}
.os-page .os-private .os-field+.os-field {margin-top:10px}
.os-page .os-payment-image {max-width:205px}
.os-admin-unread {background:#f9efbf;padding:8px 11px;border-radius:8px}
.os-inbox-link {white-space:nowrap;min-height:40px}
.os-portal-nav{flex:1;display:grid;justify-items:center;align-content:center;gap:4px;text-decoration:none;color:var(--ink);font-weight:700}
.os-portal-nav svg{height:20px;width:20px}

/* One Square uses the same navigation controls as the VON home screen. */
.os-page > .os-header {min-height:61px}
.os-page > .os-header .brand {flex-wrap:nowrap;white-space:nowrap}
body:not(.class-chat-mode) .app > .os-nav .os-portal-nav {display:grid;justify-items:center;align-content:center;gap:4px;min-height:49px;border-radius:9px;padding:5px 2px;font-size:12px;font-weight:700;color:var(--ink)}
.os-page .os-nav [aria-current=page] {background:#f9efbf}
#von-updates {scroll-margin-top:76px}
.os-page [hidden] {display:none!important}
.os-party {display:flex;align-items:center;gap:8px;width:fit-content;margin-bottom:14px;padding:7px 10px;color:#263121;background:#f9efbf;border-radius:8px;font-size:14px}
.os-party-progress {display:flex;gap:4px;margin:10px 0 16px}
.os-party-progress span {flex:1;height:4px;border-radius:4px;background:#e1e6db}
.os-party-progress .is-filled {background:#47654b}
.os-page .os-participant-fields {grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.os-participant-fields .os-name,.os-participant-fields .os-field:nth-child(n+4) {grid-column:1/-1}
.os-page .os-private form.os-pay-upload .os-continue {margin-bottom:0}
.os-policy {margin:14px 0;padding:12px;background:#faf6e6;border:1px solid #e8dfba;border-radius:12px}
.os-policy h3 {margin:0 0 5px}
.os-policy dl {margin:0}
.os-policy dl>div,.os-arrival li {display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px;padding:8px 0;font-size:14px;line-height:1.45}
.os-policy dl>div+div {border-top:1px solid #e8dfba}
.os-policy dt,.os-arrival strong {font-weight:750}
.os-policy dd {margin:0}
.os-arrival {padding:0;margin:5px 0 0;list-style:none}
.os-arrival li+li {border-top:1px solid var(--os-line)}
.os-chat-heading {display:flex;align-items:center;justify-content:space-between;gap:10px}
.os-page .os-chat-heading h1 {margin:0;font-size:clamp(1.45rem,6vw,2rem)}
.os-chat-heading .btn {display:flex;align-items:center;gap:5px;white-space:nowrap}
.os-page .os-chat-screen .os-messages {min-height:min(36dvh,320px);max-height:48dvh}
.os-page .os-chat-screen .os-chat-form {align-items:end}
.os-chat-launcher {position:fixed;right:max(14px,calc((100vw - 480px) / 2 + 14px));bottom:calc(78px + env(safe-area-inset-bottom));z-index:21;display:flex;align-items:center;gap:7px;box-shadow:0 3px 14px #23332433}
.os-chat-badge {padding:3px 7px;border-radius:12px;background:#f9efbf;color:#263121;font-size:12px}

.os-sticky-shell {position:sticky;top:0;z-index:25;background:var(--paper,#f9f8f4)}
.os-sticky-shell .os-header {min-height:61px;padding:8px 0;padding-top:max(8px,env(safe-area-inset-top));flex-wrap:nowrap;gap:10px}
.os-sticky-shell .brand {white-space:nowrap}
.os-timer {display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;margin-top:6px;padding:8px 10px;border:1px solid #e6d286;border-radius:10px;background:#fff2bd;color:#352b0b;font-size:13px;font-weight:700;box-shadow:0 4px 10px #25201114}
.os-timer[data-urgent=true] {background:#ffe0ad;border-color:#edb565}
.os-timer strong {font-size:1.16rem;font-variant-numeric:tabular-nums}
.os-identity {display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding:15px;border-radius:14px;background:#eaf1e7}
.os-identity h2,.os-identity p {margin:0;overflow-wrap:anywhere}
.os-identity p {font-size:14px;color:#3d5340}
.os-avatar,.os-row-icon,.os-state-icon {display:grid;place-items:center;flex:none}
.os-avatar {width:52px;height:52px;border-radius:50%;background:#2b4431;color:#fff;font-size:18px;font-weight:800}
.os-profile-actions {margin:14px 0;border:1px solid var(--os-line);border-radius:13px;overflow:hidden}
.os-profile-row {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:12px;background:#fff;color:var(--os-ink);text-align:left;text-decoration:none}
.os-profile-row+.os-profile-row {border-top:1px solid var(--os-line)}
.os-profile-row small {display:block;margin-top:2px;color:var(--os-muted);line-height:1.35}
.os-row-icon {width:34px;height:34px;border-radius:9px;background:#f8efca}
.os-page .os-ticket {padding:0;overflow:hidden;gap:0;box-shadow:none}
.os-page .os-ticket[aria-pressed=true] {box-shadow:inset 0 0 0 1px var(--os-green)}
.os-ticket-cover {width:100%;height:auto;aspect-ratio:16 / 9;display:block;object-fit:cover}
.os-ticket-copy {display:grid;gap:8px;padding:13px}
.os-ticket-title svg {flex:none}
.os-booking-sections {display:grid;gap:12px}
.os-page .os-booking-sections .os-card {margin:0}
.os-page .os-state-card {background:#fff8de;border-color:#e8d89a}
.os-page .os-state-card[data-confirmed=true] {background:#e8f3e7;border-color:#b8d4b6}
.os-state-icon {width:40px;height:40px;border-radius:12px;background:#f4e3a5;color:#40340e}
.os-state-card[data-confirmed=true] .os-state-icon {background:#265234;color:#fff}
.os-page .os-state-card h1 {margin:0 0 6px;font-size:clamp(1.65rem,6.5vw,2.1rem);line-height:1.12}
.os-state-step {font-weight:700;color:#55491e;font-size:13px}
.os-state-card .os-venue {margin:12px 0 0}
.os-booking-sections h2 {display:flex;align-items:center;gap:8px}
.os-booking-sections h2 svg {color:#375b40;flex:none}
.os-page .os-booking-sections .os-pay-summary p:nth-of-type(2) {border-top:1px solid var(--os-line);padding-top:8px;margin-top:8px}
.os-booking-sections .os-continue {margin-bottom:0}
.os-qr-card .os-checkin {margin:12px auto 0}
.os-visit-card .os-disclosure {border:0;padding:0}
.os-booking-sections .os-disclosure summary {font-weight:750;cursor:pointer}
.os-visit-card .os-confirm-links {margin-bottom:0}

.os-directions {display:inline-flex;align-items:center;min-height:44px;gap:4px;margin-left:23px;color:#214e31;font-weight:750;text-underline-offset:3px}
.os-booking-sections .os-booking-details {padding-inline:16px}
.os-booking-details > summary {display:flex;align-items:center;gap:8px;list-style:none;min-height:27px}
.os-booking-details > summary::-webkit-details-marker {display:none}
.os-booking-details[open] > summary svg {transform:rotate(90deg)}
.os-admin-actions {display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.os-admin-edit {display:grid;gap:9px;margin-top:10px}

.os-visit-card .os-arrival li {grid-template-columns:26px minmax(0,1fr);padding:10px 0;align-items:start}
.os-visit-card .os-arrival svg {margin-top:2px;color:#315940}
.os-visit-card .os-arrival p {margin:3px 0 0}
.os-visit-card .os-arrival-help {margin-left:34px}
.os-admin-toolbar {margin-top:13px;padding:12px;border:1px solid var(--os-line);border-radius:12px;background:#f9faf6}
.os-admin-toolbar h3 {font-size:1rem}
.os-admin-toolbar .btn,.os-staff .os-admin-line,.os-admin-section summary {display:inline-flex;align-items:center;gap:7px}
.os-staff .os-admin-title {padding-bottom:10px;margin-bottom:8px;border-bottom:1px solid var(--os-line)}
.os-staff .os-admin-title small {display:block;color:var(--os-muted);font-size:.78rem}
.os-status-chip {display:inline-block;border-radius:20px;background:#f2f2eb;padding:4px 10px;font-size:.76rem;font-weight:750;white-space:nowrap}
.os-status-chip[data-status=confirmed] {color:#215433;background:#e5f3e5}
.os-status-chip[data-status=held],.os-status-chip[data-status=review] {color:#664f16;background:#fff1bd}
.os-staff .os-admin-line {display:flex;margin:5px 0;font-size:.88rem}
.os-admin-line svg {flex:none;color:#315940}
.os-test-select {align-items:center;font-size:.81rem;margin:9px 0}
.os-test-select input {margin:0}
.os-admin-section {border-top:1px solid var(--os-line);margin:10px 0;padding:10px 0 0}
.os-admin-contact {margin:8px 0;font-size:.88rem}
.os-admin-contact div {display:grid;grid-template-columns:72px minmax(0,1fr);gap:6px;padding:4px 0}
.os-admin-contact dt {font-weight:750}
.os-admin-contact dd {margin:0;overflow-wrap:anywhere}
#one-square-inbox-tabs h1 {margin:18px 0 10px}
.os-inbox-tabs {display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#efefe8;border-radius:11px;padding:4px;margin-bottom:13px}
.os-inbox-tabs button {border:0;background:transparent;border-radius:8px;min-height:42px;color:#202b21;font-weight:750;cursor:pointer}
.os-inbox-tabs button[aria-pressed=true] {background:#fff;color:#22472f;box-shadow:0 1px 3px #2222}
.inbox-copy strong,.inbox-copy small {display:block;overflow-wrap:anywhere}
.os-thread-list {padding-block:0}
.os-thread-list>p {padding:12px 0}
.os-inbox-thread {width:100%;display:grid;grid-template-columns:22px minmax(0,1fr) auto auto;align-items:center;gap:9px;text-align:left;padding:12px 0;min-height:58px;background:none;border:0;color:#233326;cursor:pointer}
.os-inbox-thread+.os-inbox-thread {border-top:1px solid var(--os-line)}
.os-inbox-thread small {display:block;color:var(--os-muted);margin-top:3px}
.os-unread-dot {display:block;width:8px;height:8px;border-radius:50%;background:#315e3c}
#one-square-staff:has(.os-event-inbox) {margin-bottom:calc(82px + env(safe-area-inset-bottom))}

.os-home-preview {border-color:#bcd6bf;background:#edf5ec}
.os-home-preview h2 {margin-bottom:6px}
.os-home-preview p {margin:3px 0}
.os-home-preview .btn {margin-top:10px}
.os-portal-teaser .os-update-item+.os-update-item {border-top:1px solid #ded199;margin-top:14px;padding-top:13px}
.os-update-item h3 {margin:0 0 4px}
.os-update-item .btn {margin-top:9px}
.os-next-classes {border:1px solid var(--os-line);border-radius:12px;margin-top:4px}
.os-profile-skater-list {border-top:1px solid var(--os-line);margin-top:14px;padding-top:12px}
.os-profile-skater+.os-profile-skater {border-top:1px solid var(--os-line)}
.os-profile-skater .personal-details {margin-top:4px}
#event-checkin {scroll-margin-top:76px}
.os-admin-search {margin:10px 0}
.os-admin-search span {display:flex;align-items:center;gap:6px}
body.von-event-tool-view #main {padding-bottom:0;flex:none}
body.von-event-tool-view #one-square-staff {padding-bottom:calc(75px + env(safe-area-inset-bottom))}

.card.os-home-preview {padding:0;overflow:hidden;background:#fff;border-color:#cadbcd}
.os-home-booking-cover {display:block;width:100%;aspect-ratio:2.15;object-fit:cover;object-position:50% 55%}
.os-home-booking-body {padding:14px}
.os-home-booking-facts {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:8px;background:#edf5ec;border-radius:10px;padding:10px;margin:12px 0 2px;font-size:.87rem}
.os-home-booking-facts div+div {border-left:1px solid #cbdbcf;padding-left:10px}
.os-home-booking-facts dt {font-weight:750}
.os-home-booking-facts dd {margin:3px 0 0}
.os-home-booking-actions {display:flex;flex-wrap:wrap;gap:8px}
.os-portal-teaser .os-update-item {display:grid;grid-template-columns:clamp(63px,18vw,102px) minmax(0,1fr);gap:11px;align-items:start}
.os-update-item>img {display:block;width:100%;aspect-ratio:1;border-radius:9px;object-fit:cover}
.os-update-item h3 {hyphens:auto}
.os-portal-teaser .os-update-item .btn {margin-top:7px}
.os-student-threads {border:1px solid var(--os-line);border-radius:12px;overflow:hidden}
.os-thread-preview {overflow:hidden;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}

.os-home-booking-cover {object-position:50% 72%}
.os-page .os-ticket-title {display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:start;overflow-wrap:anywhere}
.os-ticket-title svg {grid-column:2;grid-row:1}
.os-event-hero,.os-kiara-cover,.os-event-option>img {display:block;width:100%;height:auto}
.os-event-hero,.os-kiara-cover {aspect-ratio:16/9;object-fit:cover}
.os-page .os-event-option {padding:0;overflow:hidden}
.os-event-story {padding:15px}
.os-event-story h1,.os-event-story h2,.os-event-story h3 {margin-top:0}
.os-event-facts {display:flex;flex-wrap:wrap;gap:4px 14px}
.os-event-facts p,.os-event-fact {display:flex;gap:7px;align-items:flex-start}
.os-event-facts p {margin:2px 0}
.os-event-story svg {flex:none;color:#315940;margin-top:2px}
.os-event-audience {display:flex;gap:10px;padding:11px;border-radius:10px;background:#eef5eb}
.os-event-audience p {margin:2px 0 0}
.os-event-price {font-weight:750;margin:3px 0 13px;color:#315940}
.os-event-cta {display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}

/* Event conversations use the same header, booking summary, and bubbles as class chat. */
.os-thread-avatar {
  display:grid;place-items:center;flex:none;width:38px;height:38px;overflow:hidden;
  border:1px solid #d4dfd2;border-radius:50%;background:#e7eee3;color:#253b2c;
  font-size:13px;font-weight:750;line-height:1;
}
.os-thread-avatar img {width:100%;height:100%;object-fit:cover}
.os-inbox-thread {grid-template-columns:38px minmax(0,1fr) auto auto;color:inherit;text-decoration:none}
.os-inbox-thread > span:nth-child(2) {min-width:0;overflow-wrap:anywhere}
.os-thread-preview {overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.os-unread-dot {display:inline-block;vertical-align:middle;margin-inline:6px}
.os-staff-chat .app,.os-customer-chat.app {
  display:grid;width:100%;min-height:0;height:100dvh;grid-template-rows:minmax(0,1fr);
  padding:0;border-radius:0;overflow:hidden;
}
.os-staff-chat .app>header,.os-staff-chat .app>nav,.os-customer-chat>.os-sticky-shell,.os-customer-chat>.os-nav {display:none}
.os-staff-chat #one-square-staff:not([hidden]),.os-customer-chat #event-main {display:grid;min-width:0;min-height:0;max-width:none;margin:0;padding:0}
.os-conversation {min-width:0;min-height:0}
.os-conversation .chat-title {gap:10px}
.os-conversation h1#os-chat-heading {font-size:1.12rem;margin:0;letter-spacing:normal}
.os-conversation-header {grid-template-columns:44px minmax(0,1fr);padding-top:max(10px,env(safe-area-inset-top))}
.os-conversation .chat-back {text-decoration:none}
.os-chat-booking {
  grid-column:1/-1;display:grid;grid-template-columns:19px minmax(0,1fr) auto;align-items:start;
  gap:8px;padding:10px 0 12px;margin:5px 0 0;border-top:1px solid var(--line);font-size:.84rem;
}
.os-chat-booking small {display:block;margin-top:4px;font-size:inherit;color:var(--muted)}
.os-chat-booking > span {border-radius:14px;padding:4px 8px;background:#fff;white-space:nowrap;font-size:.75rem}
.os-conversation .chat-message-row .os-thread-avatar {width:30px;height:30px;font-size:11px}
.os-conversation-log {padding-top:16px}
.os-message-day,.os-conversation-empty {text-align:center;color:var(--muted);font-size:.83rem;margin:12px 0 18px}
.os-conversation-footer {padding-bottom:max(12px,env(safe-area-inset-bottom))}
.os-conversation-footer .os-chat-form {display:grid;margin:0;grid-template-columns:minmax(0,1fr) 44px;align-items:end}
.os-conversation-footer textarea {
  width:100%;min-height:44px;max-height:96px;border:1px solid var(--line);
  background:var(--paper);border-radius:20px;padding:10px 13px;resize:vertical;
}
.os-conversation-footer .chat-identity {font-size:.78rem;margin:0 0 7px;color:var(--muted)}

.os-staff .os-admin-booking {padding:clamp(12px,4vw,20px);overflow-wrap:anywhere}
.os-admin-line .os-booking-count {display:block;margin-top:3px;color:var(--os-muted)}
.os-staff .os-admin-line {align-items:start;gap:10px;margin:8px 0}
.os-admin-line svg {margin-top:2px}
.os-staff .os-admin-section summary {display:flex;align-items:center;gap:8px;list-style:none;padding-block:4px}
.os-admin-section summary::-webkit-details-marker {display:none}
.os-admin-section summary svg {flex:none}
.os-admin-section summary::after {content:"";width:7px;height:7px;flex:none;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);margin-inline-start:auto}
.os-admin-section[open] summary::after {transform:rotate(225deg)}
.os-section-count {padding:2px 7px;background:var(--os-soft);border-radius:10px;font-size:.72rem}
.os-booking-communication {border-top:1px solid var(--os-line);padding-top:12px;margin-top:13px}
.os-booking-communication .btn {display:inline-flex;align-items:center;gap:8px}
.os-staff .os-attendee {align-items:start;padding:13px 0;gap:8px 14px}
.os-attendee .os-field {margin:0;flex:1;min-width:min(155px,100%);max-width:210px}
.os-attendance-section .os-attendee:first-of-type {margin-top:10px}
.os-staff .os-staff-controls {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:12px 0}
.os-staff .os-staff-controls .os-field {min-width:0;margin:0}
.os-staff .os-stats {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.os-staff .os-stats span {display:grid;justify-items:center;min-width:0;padding:7px 3px;text-align:center;font-size:clamp(11px,3vw,14px)}
@media (max-width:420px) {
  .os-staff .os-staff-controls {grid-template-columns:minmax(0,1fr)}
  .os-staff-controls .btn {justify-content:center}
  .os-staff .os-attendee .os-field {flex-basis:100%}
}

.os-trial-drills {display:grid;gap:8px;margin:10px 0 15px;padding-inline-start:20px}
.os-first-roll {display:grid;grid-template-columns:78px minmax(0,1fr);gap:10px;align-items:center;padding:12px;background:var(--os-soft);border-radius:12px}
.os-first-roll img {width:100%;height:auto;border-radius:8px}
.os-first-roll p {margin:4px 0 0}
.os-coach-names {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 18px}
.os-coach-names figure {display:grid;justify-items:center;gap:8px;margin:0;padding:12px 8px;text-align:center;background:var(--os-soft);border-radius:12px;font-weight:750}
.os-coach-names img {width:clamp(58px,20vw,92px);height:auto;aspect-ratio:1;object-fit:cover;border-radius:50%}

.os-event-cta {justify-content:center}
.os-coach-names figcaption {display:grid;gap:4px;font-weight:400}
.os-coach-names figcaption span,.os-coach-names figcaption small {display:block;font-size:.8rem}
.os-coach-names figcaption small {color:var(--os-muted)}
.os-kiara-recap .os-event-story {display:grid;gap:15px}
.os-kiara-recap .os-event-story h1,.os-kiara-recap .os-event-story>p {margin:0}
.os-kiara-recap .os-kiara-cover {aspect-ratio:4/3;object-fit:cover}
.os-recap-intro {font-size:1.05rem}
.os-recap-body {display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.os-recap-body h2 {margin:12px 0 4px}
.os-recap-body p {margin:6px 0 12px}
.os-recap-poster,.os-recap-gallery figure {margin:0}
.os-recap-poster {justify-self:center;width:min(100%,280px)}
.os-recap-poster img,.os-recap-gallery img {display:block;width:100%;height:auto;border-radius:11px}
.os-recap-poster figcaption,.os-recap-gallery figcaption {margin-top:6px;font-size:.82rem;color:var(--os-muted)}
.os-recap-gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.os-recap-gallery img {aspect-ratio:4/3;object-fit:cover;object-position:50% 65%}
.os-recap-gallery figure:last-child {grid-column:1/-1}
.os-recap-waitlist {border-top:1px solid var(--os-line);padding-top:16px;text-align:center}
.os-recap-waitlist h2,.os-recap-waitlist p {margin:0 0 6px}
@media (min-width:620px) {
  .os-recap-body {grid-template-columns:minmax(0,1fr) minmax(124px,34%)}
  .os-recap-gallery {grid-template-columns:repeat(3,minmax(0,1fr))}
  .os-recap-gallery figure:last-child {grid-column:auto}
}

.os-swipe-booking {position:relative;overflow:hidden;border-top:1px solid var(--os-line)}
.os-swipe-booking .os-account-ticket {
  position:relative;z-index:1;background:white;touch-action:pan-y;
  transition:transform .18s ease;border-top:0;padding:13px 0;
}
.os-swipe-booking[data-revealed=true] .os-account-ticket {transform:translateX(-116px)}
.os-swipe-action {position:absolute;inset:0 0 0 auto;display:grid;width:116px;background:#a8262e}
.os-swipe-action button {padding:9px;border:0;background:transparent;color:white;font-weight:700;cursor:pointer}
.os-ticket-actions {display:flex;gap:5px;align-items:center}
.os-ticket-options {flex:none;min-width:38px;min-height:44px;border:0;border-radius:10px;background:var(--os-soft);color:var(--os-ink);cursor:pointer}
.os-account-ticket small {display:block;color:var(--os-muted);margin-top:3px}
@media (max-width:380px) {.os-ticket-actions {flex-wrap:wrap;justify-content:end}}
@media (prefers-reduced-motion:reduce) {.os-swipe-booking .os-account-ticket {transition:none}}
.os-profile-skater-list {margin-top:22px;padding-top:18px}
.os-profile-skater,.os-profile-skater+.os-profile-skater {margin-top:12px;padding:14px;border:1px solid var(--os-line);border-radius:13px;background:#fbfcf9}
.os-student-card-head {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.os-student-card-head small {color:var(--os-muted)}
.os-student-card-head h3 {margin:0;overflow-wrap:anywhere}
.os-student-facts {margin:5px 0 0}
.os-student-facts div {display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:12px;padding:9px 0;border-top:1px solid var(--os-line)}
.os-student-facts dt {font-weight:700}
.os-student-facts dd {margin:0;overflow-wrap:anywhere}
.os-student-edit-actions {display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}

.os-return-link {display:inline-flex;align-items:center;gap:7px;min-height:44px;margin:0 0 9px;color:var(--os-ink);font-weight:750;text-decoration:none}
.os-preview-image,.os-badge-link {border:0;background:none;padding:0;color:inherit;cursor:pointer}
.os-preview-image {position:relative;display:block;width:100%;overflow:hidden;border-radius:11px}
.os-preview-image.os-kiara-cover {border-radius:0}
.os-preview-image.os-kiara-cover img {display:block;width:100%;height:100%;object-fit:cover}
.os-enlarge-icon,.os-overlay-close {display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;color:#243129}
.os-enlarge-icon {position:absolute;right:8px;bottom:8px;box-shadow:0 2px 10px #17231b44;pointer-events:none}
.os-photo-dialog {width:100%;height:100%;max-width:none;max-height:none;padding:18px;border:0;background:#121a16eb;cursor:zoom-out}
.os-photo-dialog[open] {display:grid;place-items:center}
.os-photo-dialog img {max-width:100%;max-height:calc(100dvh - 76px);object-fit:contain}
.os-overlay-close {border:1px solid #d7ddcf;flex:none;cursor:pointer}
.os-photo-dialog .os-overlay-close {position:absolute;top:max(14px,env(safe-area-inset-top));right:14px}
.os-badge-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,79px),1fr));gap:8px;margin-bottom:14px}
.os-badge-grid img {width:100%;height:auto;border-radius:8px}
.os-badge-link {font-weight:750;text-decoration:underline;min-height:44px}
.os-booked-package {display:grid;gap:6px;margin-top:12px}
.os-booked-package img {display:block;width:100%;height:auto;border-radius:10px}
.os-booked-package span {color:var(--os-muted)}
.os-cancel-section > summary {color:#952c32}
.os-cancel-section form {margin-top:8px}
.os-status-chip[data-status=cancelled] {background:#f5e3e3;color:#7d252b}

.os-signup-cta .btn {width:100%;max-width:300px}
.os-event-story .os-coach-names {margin-bottom:0;align-items:stretch}
.os-coach-names figure {min-width:0;align-content:start}
.os-closed-chat {margin:0;text-align:center;color:#7d252b}
.os-closed-thread {color:#7d252b!important;font-weight:750}
.staff-coach-bookings h2 {margin:0 0 5px}
.staff-coach-bookings article {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 12px;border-top:1px solid #d7ddcf;padding:12px 0}
.staff-coach-bookings article:last-child {padding-bottom:0}
.staff-coach-bookings article p {margin:5px 0 0}
.staff-coach-bookings article .tag {margin-inline-start:6px}
.staff-google-bookings > summary {cursor:pointer;font-weight:750}
.staff-calendar-count {display:block;font-size:10px;line-height:1;font-weight:650}
.os-badge-link {display:inline-flex;align-items:center;color:inherit}
.os-badges-toolbar {margin:0 0 12px;color:var(--os-muted)}
.os-badges-toolbar p {margin:8px 0}
.os-badges-level {padding:14px 0;border-top:1px solid var(--os-line)}
.os-badges-level h2 {margin:0 0 12px}
.os-badges-level .os-badge-grid {list-style:none;padding:0;margin:0}
.os-badge-grid li {min-width:0;text-align:center;font-size:.75rem;color:var(--os-muted)}
.os-badge-grid li[data-earned=false] img {filter:grayscale(100%);opacity:.69}
.os-badge-grid li[data-earned=true] small {color:#236039;font-weight:750}
.os-award-badge {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;flex:1 0 100%}
.os-award-badge .os-field {max-width:none}

.staff-coach-heading {display:flex;align-items:center;gap:.65rem;border-inline-start:5px solid var(--coach-color);padding-inline-start:.6rem}
.staff-coach-heading .coach-avatar {width:42px;height:42px;flex:0 0 42px;border:2px solid var(--coach-color)}
.os-award-preview {display:block;width:96px;height:96px;object-fit:contain;border-radius:10px}
.os-roster [data-event-code] {display:grid;gap:.5rem}

.app > main .chat-title h1 {margin:0;font-size:1.125rem;line-height:1.25;letter-spacing:-.02em;overflow-wrap:anywhere}
.chat-title > div {min-width:0}
.chat-title .student-avatar,.chat-title .coach-avatar {flex:none}
.chat-header .action-menu {justify-self:end}
.action-menu {position:relative;flex:none}
.action-menu > summary {list-style:none;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line,#deded3);border-radius:100%;font-size:1.45rem;line-height:1;background:#fff;color:#253129;cursor:pointer}
.action-menu > summary::-webkit-details-marker {display:none}
.action-menu > summary:focus-visible {outline:3px solid #436a4c;outline-offset:2px}
.action-menu-panel {position:absolute;inset-inline-end:0;top:calc(100% + 6px);z-index:5;display:grid;min-width:160px;max-width:min(240px,75vw);width:max-content;background:#fff;border:1px solid #d7ddcf;border-radius:12px;padding:4px;box-shadow:0 6px 20px #17251b26}
.action-menu-panel button,.action-menu-panel a {display:flex;align-items:center;justify-content:flex-start;gap:6px;min-height:40px;width:100%;margin:0;padding:8px 10px;border:0;border-radius:7px;background:#fff;text-align:left;color:#203429;font-size:.875rem;line-height:1.25}
.action-menu-panel button:disabled {color:#596259}
.action-menu-panel button:not(:disabled):hover,.action-menu-panel button[aria-pressed=true] {background:#e9f2e7}
.action-menu-label {margin:3px 9px;color:#596259;font-size:.75rem}
.action-menu-panel .action-menu-separator {border-top:1px solid #e2e5db}
.staff-access-row,.staff-role-picker,.staff-edit-heading {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px}
.staff-access-row {padding:12px 0;border-top:1px solid #e2e5db}
.staff-access-identity,.staff-edit-heading > div {min-width:0;flex:1;overflow-wrap:anywhere}
.staff-access-identity p,.staff-role-picker p,.staff-edit-heading p {margin:4px 0 0}
.staff-access-editor {flex:0 0 100%}
.staff-role-picker {padding:8px 0}
.staff-access-card [hidden] {display:none}
.staff-invite-form > button,.staff-access-editor > button {justify-self:start}
.staff-booking-actions {display:grid;gap:12px;margin-top:16px}
.staff-booking-actions > section {border-top:1px solid #e2e5db;padding-top:12px;min-width:0}
.staff-booking-actions h3 {margin:0}
.staff-booking-actions .row {margin-top:8px}

.os-page .os-booking-sections :is(.os-pay-summary,.os-pay-method,.os-pay-upload) {padding:clamp(14px,4vw,20px);min-width:0}
.os-page .os-private-heading > div {min-width:0}
.os-page .os-private-heading p {overflow-wrap:anywhere}
.os-pay-method .os-confirm-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.os-pay-method .os-confirm-links .btn {width:100%;white-space:normal;padding-inline:7px}
.os-pay-method .os-payment {justify-items:center}
.os-page .os-pay-method .os-payment-image {width:min(100%,260px);max-width:none;margin:4px auto}
.os-page .os-pay-upload {display:grid;gap:10px}
.os-pay-upload input[type=file] {max-width:100%;min-width:0}
.os-page .os-arrival-highlight {background:#fff6d8;border-color:#d9c37a;border-inline-start:5px solid #b88f27}
.os-arrival-highlight .os-arrival li + li {border-color:#e8d8aa}
.os-qr-dialog {padding:0;width:min(calc(100vw - 32px),360px);border:1px solid #cbd9c9;border-radius:18px;max-height:calc(100dvh - 24px);color:#203429}
.os-qr-dialog::backdrop {background:#18261acc}
.os-qr-dialog > div {position:relative;padding:20px;text-align:center}
.os-qr-dialog button {position:absolute;inset-block-start:10px;inset-inline-end:10px;min-width:44px}
.os-qr-dialog h2 {margin:24px 0 12px}
.os-qr-dialog img {display:block;max-width:100%;height:auto;margin:auto;background:white}
.os-home-booking-actions {align-items:center}
.os-message-icon {display:grid;place-items:center}
.os-message-icon .app-icon {width:20px;height:20px}
.os-identity {grid-template-columns:auto minmax(0,1fr) auto}
.os-identity .os-thread-avatar {width:52px;height:52px}
.os-staff-self {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
.os-staff-self h2,.os-staff-self p {margin:0}
.os-profile-photo {width:44px;height:44px;border-radius:50%;overflow:hidden;background:#e7f0e6;display:grid;place-items:center}
.os-profile-photo img {width:100%;height:100%;object-fit:cover}
.os-conversation-header {grid-template-columns:44px minmax(0,1fr) 44px}
.os-conversation-footer .os-chat-form {grid-template-columns:44px minmax(0,1fr) 44px}
.os-conversation-footer .attach-button {height:44px;margin:0;padding:0;display:grid;place-items:center}
.os-conversation .bubble :is(img,video) {display:block;width:min(100%,260px);max-height:280px;object-fit:contain;border-radius:8px}
.os-chat-attachment {overflow-wrap:anywhere;font-size:.875rem}
.os-event-period {display:grid;gap:8px;margin-block:8px;min-width:0}
.os-event-period select,.os-event-period input {width:100%;min-width:0}
