/* Shared Indoor colours and surfaces. Each page retains its own layout and controls. */
body.indoor-themed{
 --primary:#6545a4;--accent:#8968c3;--background:#f8f6fc;--bg:#f8f6fc;
 --panel:#fff;--surface:#fff;--paper:#fff;--ink:#191923;--muted:#655f72;
 --border:#e9e5ef;--line:#e9e5ef;--navy:#352747;--cyan:#7354a7;
 --cyan-dark:#614394;--bright:#9174bd;--pale:#f4effb;
 --ap-primary:#7354a7;--ap-accent:#a18bd0;--ap-button-ink:#fff;--ap-panel:#fff;--ap-text:#191923;
 --sw-primary:#7354a7;--sw-accent:#a18bd0;--sw-panel:#fff;--sw-ink:#191923;
 --ew-accent:#7354a7;--ew-ink:#191923;--ew-muted:#655f72;--ew-line:#e9e5ef;--ew-soft:#f4effb;
 font-family:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
 color:#191923;background:#faf9fc;background:radial-gradient(ellipse at 0 100%,#eee9f9 0,transparent 45%),#faf9fc;
}
.indoor-themed a{color:#6545a4}
.indoor-themed h1,.indoor-themed h2,.indoor-themed h3,.indoor-themed legend{color:#30283e;letter-spacing:-.025em}
.indoor-themed p.intro,.indoor-themed .help,.indoor-themed .muted,.indoor-themed .meta,.indoor-themed .eyebrow{color:#655f72}
.indoor-themed header,.indoor-themed .topbar,.indoor-themed .top,.indoor-themed .settings-top,.indoor-themed .site-header{background:#fff;border-color:#ece8f1;box-shadow:0 2px 12px rgba(67,45,96,.025);color:#30283e}
.indoor-themed header a,.indoor-themed .brand,.indoor-themed .settings-brand{color:#514361}
.indoor-themed .brand-mark,.indoor-themed .brand-symbol{background:#7354a7;background:linear-gradient(145deg,#9174bd,#614394);color:#fff}
.indoor-themed .card,.indoor-themed .panel,.indoor-themed .loading-panel,.indoor-themed .empty-state,.indoor-themed .filter-bar,.indoor-themed .summary-card,.indoor-themed .stat,.indoor-themed fieldset{
 background:#fff;border-color:#e9e4f0;border-radius:14px;box-shadow:0 7px 25px rgba(72,47,108,.035);
}
.indoor-themed button,.indoor-themed input,.indoor-themed select,.indoor-themed textarea{font-family:inherit;border-color:#e4deec;border-radius:10px}
.indoor-themed input,.indoor-themed select,.indoor-themed textarea{background:#fff;color:#3d354b;box-shadow:0 2px 5px rgba(70,43,106,.018)}
.indoor-themed input:focus,.indoor-themed select:focus,.indoor-themed textarea:focus{border-color:#a891ca}
.indoor-themed input[type=checkbox],.indoor-themed input[type=radio]{accent-color:#7354a7}
.indoor-themed button,.indoor-themed .button,.indoor-themed .primary,.indoor-themed .primary-button{
 background:#7354a7;background:linear-gradient(145deg,#9174bd,#614394);border-color:#7657a8;color:#fff;box-shadow:0 3px 9px rgba(100,68,151,.10);
}
.indoor-themed button:hover,.indoor-themed .button:hover{border-color:#a18bd0;filter:brightness(.98)}
.indoor-themed button:focus-visible,.indoor-themed a:focus-visible,.indoor-themed input:focus-visible,.indoor-themed select:focus-visible,.indoor-themed textarea:focus-visible{outline-color:#a18bd0}
.indoor-themed .secondary,.indoor-themed .quiet,.indoor-themed .quiet-button,.indoor-themed .text-button,.indoor-themed button.close,.indoor-themed .close-button{
 background:#fff;background-image:none;color:#6545a4;border-color:#e4deec;box-shadow:none;
}
.indoor-themed button.danger,.indoor-themed .danger-button{background:#fff;background-image:none;color:#b42337;border-color:#e6c8d1;box-shadow:none}
.indoor-themed .tabs button,.indoor-themed #stages button{background:#fff;background-image:none;color:#655f72;border-color:#e9e4f0;box-shadow:none}
.indoor-themed .tabs button[aria-selected=true],.indoor-themed .tabs button[aria-current=page],.indoor-themed .tabs button.active,.indoor-themed #stages button[aria-current=step]{background:#eee8f9;color:#523987;border-color:#ddd0ef}
.indoor-themed dialog,.indoor-themed .editor-dialog,.indoor-themed .dialog,.indoor-themed .modal{color:#30283e;background:#fff;border-color:#e6deee;border-radius:18px;box-shadow:0 20px 65px rgba(61,40,91,.18)}
.indoor-themed dialog::backdrop{background:rgba(53,40,75,.28)}
.indoor-themed dialog header,.indoor-themed .dialog-heading,.indoor-themed .dialog-actions,.indoor-themed .settings-bottom{background:#fff;border-color:#ece6f3}
.indoor-themed .table-wrap{border-color:#e9e2f0;border-radius:12px}
.indoor-themed th{background:#fbf9fe;color:#92829e}
.indoor-themed td{border-color:#f0ebf5}
.indoor-themed .badge,.indoor-themed .demo-label{background:#f0eaf9;color:#7b5ca0;border-color:#e3d8f0}
.indoor-themed .badge.success,.indoor-themed .badge.on,.indoor-themed .receipt{background:#edf6e9;color:#55794a;border-color:#cfdfc7}
.indoor-themed .badge.off,.indoor-themed .error{background:#fff0f3;color:#a33450;border-color:#eccbd5}
.indoor-themed .notice{background:#f4effb;color:#69547e;border-color:#e4d9f0}

/* Same reference surfaces on secondary Indoor pages; their controls and data stay native. */
body.indoor-themed{background:#faf9fd;background:linear-gradient(146deg,transparent 0,transparent 65%,rgba(220,210,245,.28) 65%,rgba(220,210,245,.28) 73%,transparent 73%),radial-gradient(ellipse at 0 100%,#ede7fa 0,transparent 48%),#faf9fd}
.indoor-themed h1,.indoor-themed h2,.indoor-themed h3,.indoor-themed legend{color:#191923}
.indoor-themed .brand-mark,.indoor-themed .brand-symbol{background:#6545a4;background:linear-gradient(145deg,#8062bb,#4c328e);text-transform:lowercase}
.indoor-themed button{background:#fff;background-image:none;border-color:#ded6e9;color:#40324f;box-shadow:0 3px 8px rgba(65,43,99,.035)}
.indoor-themed .button,.indoor-themed .primary,.indoor-themed .primary-button{background:#6545a4;background:linear-gradient(145deg,#8b65c4,#573594);border-color:#6745a4;color:#fff}
.indoor-themed .secondary,.indoor-themed .quiet,.indoor-themed .quiet-button,.indoor-themed .text-button,.indoor-themed button.close,.indoor-themed .close-button{background:#fff;background-image:none;color:#6545a4;box-shadow:none}
.indoor-themed button.danger,.indoor-themed .danger-button{background:#fff;background-image:none;color:#a52b46;border-color:#e6c8d1;box-shadow:none}
.indoor-themed .card,.indoor-themed .panel,.indoor-themed .summary-card,.indoor-themed .stat,.indoor-themed fieldset{border-color:#e5deee;box-shadow:0 7px 24px rgba(65,43,99,.045)}
.indoor-themed input,.indoor-themed select,.indoor-themed textarea{border-color:#dcd5e6;border-radius:11px;color:#292332}
.indoor-themed th{background:#fbf8fe;color:#65566f}
.indoor-themed .badge.success,.indoor-themed .badge.on,.indoor-themed .receipt{background:#edf6e9;color:#476d39}
.indoor-themed dialog,.indoor-themed .editor-dialog,.indoor-themed .modal{border-radius:20px;border-color:#dfd3ec;box-shadow:0 24px 80px rgba(53,34,83,.22)}
.indoor-themed button:focus-visible,.indoor-themed a:focus-visible,.indoor-themed input:focus-visible,.indoor-themed select:focus-visible,.indoor-themed textarea:focus-visible{outline:3px solid #8462bc;outline-offset:3px}
@media(max-width:600px){.indoor-themed input,.indoor-themed select,.indoor-themed textarea{font-size:16px}.indoor-themed button,.indoor-themed .button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.indoor-themed .voice-button.listening{animation:none}}


/* Privileged Custom Booking: prominent activity names, exact times and one package price. */
.rb-custom-booking .rb-custom-line-title{font-size:42px;line-height:1.12;letter-spacing:-.7px;margin:0 0 8px;overflow-wrap:anywhere}
.rb-custom-booking .rb-custom-line-timing{font-size:26px;line-height:1.28;font-weight:600;margin:0 0 14px;overflow-wrap:anywhere}
.rb-custom-booking .rb-package-total>label{margin-bottom:12px}
.rb-custom-booking .rb-package-total input[name=package_price]{font-size:24px;font-weight:650;min-height:52px}
.rb-custom-booking .rb-package-total-label{display:block;font-size:13px;font-weight:600;color:#695b78;margin:0 0 4px}
.rb-custom-booking .rb-package-summary>section{min-width:0}


/* Custom activity selection keeps its option and exact minutes on one row. */
.rb-custom-booking .rb-custom-line .rb-custom-line-fields{grid-template-columns:minmax(0,1fr) minmax(128px,.6fr);align-items:start}
.rb-custom-booking .rb-custom-line .rb-custom-line-fields>label{min-width:0}


/* Calendar names and counts belong to confirmed orders; occupied labels start at the top left. */
.rp-calendar .rp-slot-has-bookings{justify-content:flex-start;align-items:flex-start;text-align:left}
.rp-calendar .rp-slot-has-bookings .rp-slot-title{align-items:flex-start;align-self:flex-start;text-align:left;overflow-wrap:anywhere}
.rp-calendar .rp-booking-block{text-align:left;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}
.rp-calendar .rp-details.rp-booking-chooser{border:2px solid #d9cbea;border-radius:12px;margin:10px 12px;padding:14px 16px;background:#fcfaff}
.rp-calendar .rp-booking-chooser .rp-booking-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}
.rp-calendar .rp-booking-chooser .rp-booking-detail{width:100%;min-height:44px;text-align:left;white-space:normal;overflow-wrap:anywhere;background:#fff;border:1px solid #ded3e9;border-radius:8px;padding:10px 12px}
.rp-calendar .rp-booking-chooser .rp-details-heading h3{font-size:18px;font-weight:700}
@media(max-width:600px){.rp-calendar .rp-details.rp-booking-chooser{margin:8px;padding:12px}.rp-calendar .rp-booking-chooser .rp-booking-list{grid-template-columns:1fr}}


/* Use the former wrapped occupied-slot budget for every cell, including empty ones. */
.rp-calendar.rp-uniform-slots .rp-cell{height:calc(var(--rp-slot-surface-height) + 6px)}
.rp-calendar.rp-uniform-slots .rp-session-surface{box-sizing:border-box;height:var(--rp-slot-surface-height);min-height:var(--rp-slot-surface-height);max-height:var(--rp-slot-surface-height);overflow:hidden}
.rp-calendar.rp-uniform-slots .rp-cell-content{box-sizing:border-box;display:flex;flex-direction:column;flex:0 0 auto;min-height:0;max-height:var(--rp-slot-content-height);overflow:hidden}
.rp-calendar.rp-uniform-slots .rp-cell-content>.rp-slot{flex:1 1 auto;min-height:0;overflow:hidden;justify-content:flex-start}
.rp-calendar.rp-uniform-slots .rp-slot-title{display:block;max-width:100%;max-height:2.8em;line-height:1.4;overflow:hidden;overflow-wrap:anywhere}
.rp-calendar.rp-uniform-slots .rp-slot-title::before{margin-right:8px}
.rp-calendar.rp-uniform-slots .rp-cell-content>.rp-slot>.rp-slot-meta{flex:0 0 auto}
.rp-calendar.rp-uniform-slots .rp-cell-content>.rp-add-booking{flex:0 0 auto;margin-top:auto}
.rp-calendar.rp-uniform-slots .rp-cell-content>.rp-cell-bookings{display:none}


/* Compact calendar cells never grow with booking counts; names scroll inside one box. */
.rp-calendar.rp-compact-cells .rp-table{table-layout:fixed}
.rp-calendar.rp-compact-cells .rp-cell{height:88.5px;min-height:88.5px;max-height:88.5px;border-top-width:0!important;border-bottom-width:0!important}
.rp-calendar.rp-compact-cells .rp-session-surface{height:82.5px;min-height:82.5px;max-height:82.5px;overflow:hidden}
.rp-calendar.rp-compact-cells .rp-cell-content{height:82.5px;min-height:82.5px;max-height:82.5px;position:relative;display:flex;flex-direction:column;overflow:hidden}
.rp-calendar.rp-compact-cells .rp-slot[hidden]{display:none!important}
.rp-calendar.rp-uniform-slots.rp-compact-cells .rp-cell-content>.rp-cell-bookings{display:inline-flex;flex-direction:column;align-self:flex-start;flex:0 1 auto;gap:0;min-height:0;max-height:82.5px;width:auto;max-width:100%;margin:0;padding:2px;border:1px solid #a695c1;border-radius:4px;background:rgba(255,255,255,.65);overflow-x:hidden;overflow-y:auto;box-sizing:border-box}
.rp-calendar.rp-uniform-slots.rp-compact-cells .rp-compact-has-add>.rp-cell-bookings{max-width:calc(100% - 24px)}
.rp-calendar.rp-compact-cells .rp-compact-booking-name{display:block;flex:0 0 auto;min-width:0;width:100%;height:14px;min-height:14px;max-height:14px;margin:0;padding:0 2px;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:12px;font-weight:550;line-height:14px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rp-calendar.rp-compact-cells .rp-compact-booking-name:hover{background:rgba(255,255,255,.8)}
.rp-calendar.rp-compact-cells .rp-add-booking{position:absolute;top:2px;right:2px;display:block;flex:none;width:20px;height:20px;min-height:20px;max-height:20px;margin:0;padding:0;border:1px solid #9e8bbd;border-radius:4px;background:#fff;font-size:16px;line-height:18px;text-align:center;white-space:nowrap}


/* Respect hidden controls inside the timetable even when shared label styles set display. */
.os-schedule [hidden]{display:none!important}

/* Finished bookings are a display mask only; their names and actions stay operable. */
.rp-calendar .rp-finished>.rp-session-surface{position:relative}
.rp-calendar .rp-finished>.rp-session-surface::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:rgba(150,150,150,.48);pointer-events:none;z-index:2}
.rp-calendar .rp-booking-finished{filter:grayscale(1)}

/* Occupied cells keep their names and shared places-left count within the fixed slot height. */
.rp-calendar.rp-uniform-slots.rp-compact-cells .rp-has-occupied-meta>.rp-cell-bookings{max-height:68.5px}
.rp-calendar.rp-compact-cells .rp-has-occupied-meta .rp-compact-booking-name{height:12.5px;min-height:12.5px;max-height:12.5px;line-height:12.5px}
.rp-calendar.rp-compact-cells .rp-has-occupied-meta>.rp-occupied-meta{display:block;flex:0 0 14px;box-sizing:border-box;height:14px;min-height:14px;max-height:14px;line-height:14px;margin:0;padding:0 6px;font-size:11px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Configured normal-package activity times stay inside the booking popup. */
.rb-normal-package-components{min-width:0;margin-top:16px}
.rb-normal-package-component{min-width:0;border:1px solid #e2e7f0;border-radius:12px;padding:16px;margin:12px 0}
.rb-normal-package-component legend{padding:0 6px;font-weight:700}
.rb-normal-package-component .form-grid{min-width:0}
.rb-normal-package-next{margin:4px 0 16px}
