.feature-page{width:100%;max-width:74rem;margin:auto}.feature-page h1{font-size:2.5rem;margin-bottom:.5rem}.feature-page h2{font-family:'Studio Display',serif;font-size:1.75rem;font-weight:500}.feature-page h3{font-size:1rem;font-weight:600}.feature-page p,.feature-page li,.feature-panel p{line-height:1.6}.feature-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem}.feature-panel{background:var(--surface);border:1px solid var(--line);border-radius:1.25rem;padding:1.25rem;min-width:0}.feature-panel+.feature-panel{margin-top:1rem}.feature-toolbar,.feature-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin:.75rem 0 1.25rem}.feature-actions{margin:1rem 0 0}.feature-toolbar>a,.feature-actions>a{text-decoration:none}.feature-row{padding:1rem 0;border-bottom:1px solid var(--line);min-width:0;overflow-wrap:anywhere}.feature-row:last-child{border-bottom:0}.feature-row h3{margin:.5rem 0}.feature-row p{margin:.375rem 0;font-size:.875rem}.feature-row time{color:var(--gold);font-variant-numeric:tabular-nums}.feature-row.conflict{border-left:3px solid var(--danger);padding-left:.75rem}.feature-row.window{color:var(--muted);font-size:.875rem;border:1px dashed var(--line);border-radius:.75rem;padding:.75rem;margin:.5rem 0}.feature-note{color:var(--muted);font-size:.875rem;line-height:1.6;margin:.75rem 0}.feature-note:empty{display:none}.feature-warning{color:var(--danger);border-left:2px solid var(--danger);padding:.75rem;font-size:.875rem}.feature-stat{display:flex;justify-content:space-between;gap:1rem;font-size:.875rem;line-height:1.6;padding:.5rem 0;border-bottom:1px solid var(--line)}.feature-stat strong{color:var(--gold);text-align:right;overflow-wrap:anywhere}.feature-panel details{margin:1rem 0}.feature-panel summary{min-height:2.75rem;cursor:pointer;padding:.625rem 0;color:var(--gold)}.feature-check{display:flex;gap:.75rem;align-items:center;min-height:3rem;margin:1rem 0;font-size:.875rem;color:var(--paper)}.feature-check input{flex:none}.feature-panel form,.sheet-content form{min-width:0}.feature-error{color:var(--danger);font-size:.875rem;line-height:1.6}.feature-error:empty{display:none}.feature-empty{color:var(--muted);padding:1.5rem 0;line-height:1.6}.feature-list{list-style:none;margin:0;padding:0}.feature-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.feature-picker button{min-height:2.75rem}.feature-picker [aria-pressed=true]{background:var(--gold);color:var(--ink)}.duplicate-choice{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;border:1px solid var(--line);border-radius:.75rem;margin:.5rem 0;min-width:0}.duplicate-choice span{min-width:0;overflow-wrap:anywhere}.duplicate-choice input{flex:none;margin-top:.2rem}.duplicate-choice small{display:block;line-height:1.6}.feature-badge{display:inline-block;color:var(--gold);background:#d5bc8210;border-radius:2rem;padding:.25rem .625rem;font-size:.75rem}.feature-badge.success{color:var(--green);background:#b5cfa910}.feature-badge.danger{color:var(--danger);background:#f3a39510}.booking-feature-summary{margin:1rem 0}.visit-form .form-grid{gap:.75rem}.visit-form .field{margin-bottom:.75rem}.calendar-booking[data-visit-status=completed]{border-color:#b5cfa990}.calendar-booking[data-visit-status=no_show]{border-color:#f3a395;color:#dfc0b8;background:#492e2533}.calendar-booking[data-visit-status=arrived]{border-color:#f3efe4}.operations-indicator{position:relative;flex:none}.operations-indicator.is-warning::after{content:'';position:absolute;width:.5rem;height:.5rem;border-radius:50%;background:var(--danger);top:.5rem;right:.5rem}.operations-popover{position:fixed;right:1rem;top:4.5rem;z-index:40;max-width:calc(100vw - 2rem);width:23rem;box-shadow:0 12px 48px #0008;background:var(--surface-raised);border:1px solid var(--line);border-radius:1rem;padding:1rem;display:flex;gap:.75rem;align-items:flex-start;font-size:.875rem;line-height:1.6}.operations-popover p{margin:0}.operations-popover a{display:inline-flex;min-height:2.75rem;align-items:center}.operations-popover .icon-button{flex:none}.studio-header{gap:.5rem}.studio-brand{min-width:0;flex:1}.studio-brand>span{min-width:0}.studio-brand strong{white-space:nowrap}.studio-header>.studio-desktop-nav{flex:0 1 auto}.client-move-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.studio-public .booking-item{align-items:flex-start;flex-wrap:wrap}.studio-public .client-move-actions button{font-size:.8125rem}.studio-public .feature-panel{margin:1.25rem 0}.studio-public .feature-panel h2{font-size:1.75rem;font-family:'Studio Display',serif;font-weight:500}.studio-public .feature-actions{margin-top:1rem}.studio-public .feature-actions button{flex:1}.studio-public .feature-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-payments{margin-top:1.5rem}.finance-payments .feature-row{font-size:.875rem}.feature-dialog-title{font-family:'Studio Display',serif;font-size:2rem;font-weight:500}.schedule-navigator{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.5rem;margin-bottom:1rem}.schedule-navigator input{width:100%;min-width:0}.schedule-bookings .feature-row>.feature-actions{margin:.5rem 0}.visit-tags{display:flex;gap:.5rem;flex-wrap:wrap;margin:.5rem 0}.feature-panel [hidden],.studio-public [hidden]{display:none!important}
@media(min-width:768px) and (max-width:1023px){.studio-desktop-nav{display:none}.studio-bottom-nav{display:grid}.studio-app{grid-template-rows:auto minmax(0,1fr) auto}}
@media(min-width:1024px){.feature-layout{grid-template-columns:21rem minmax(0,1fr);align-items:start}.feature-layout>.feature-panel:first-child{position:sticky;top:0}.feature-panel+.feature-panel{margin-top:0}.feature-page h1{font-size:3rem}.operations-popover{top:5rem}.studio-brand{flex:0 1 auto}}

.feature-warning:empty{display:none}.feature-page .feature-panel+.feature-panel{margin-top:1rem}

.studio-app:not(.view-journal) .compact-booking{display:none}.view-schedule .page-heading{margin-bottom:.875rem}.view-schedule .feature-layout{gap:.875rem}.schedule-controls{padding:1rem}.schedule-controls .schedule-navigator{margin:.375rem 0 .75rem}.schedule-controls .field{margin-bottom:0}.schedule-controls .form-grid{gap:.75rem}.schedule-save-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:.75rem}.schedule-save-row .feature-check{margin:0;flex:1}.schedule-save-row button{flex:none}.view-schedule .feature-layout>.feature-panel+.feature-panel{margin-top:0}.view-schedule .feature-panel h2{margin-bottom:.5rem}.view-schedule .feature-warning,.view-schedule .feature-error{margin:.5rem 0}.view-schedule .page-heading p{font-size:.8125rem}
.inbox-bell{position:relative;flex-shrink:0}.inbox-bell small{position:absolute;top:0;right:0;min-width:17px;border-radius:20px;background:var(--gold,#d7bf85);color:#171713;font:700 10px/17px sans-serif}.inbox-bell:not(.has-unread) small{display:none}.inbox-controls{display:flex;align-items:end;gap:12px}.inbox-controls .field{flex:1;min-width:0}.inbox-phone{padding:14px 0;border-bottom:1px solid #ffffff20}.inbox-event{padding:18px 0;border-bottom:1px solid #ffffff20}.inbox-event.is-unread{border-left:3px solid var(--gold,#d7bf85);padding-left:12px}.inbox-event-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.inbox-event h3{font:600 16px/1.4 sans-serif;margin:0}.inbox-event time{font-size:12px;color:#b9b9ae}.inbox-body{white-space:pre-line;overflow-wrap:anywhere;font-size:14px;line-height:1.55}.batch-group{border:1px solid #ffffff26;border-radius:16px;padding:14px;margin:16px 0;min-width:0}.batch-group legend{font-size:15px;max-width:100%;overflow-wrap:anywhere}.batch-group input{accent-color:var(--gold,#d7bf85);width:20px;height:20px;flex-shrink:0}.batch-group label{display:flex;align-items:center;gap:10px;min-height:44px}.batch-card{padding:12px 0;border-bottom:1px solid #ffffff15;overflow-wrap:anywhere}.batch-card strong,.batch-card small{display:block}.batch-card small{color:#b9b9ae;font-size:13px;margin-top:5px}.batch-card-options{display:flex;gap:12px;flex-wrap:wrap}.batch-card-options label{font-size:13px}.inbox-controls button{font-size:13px;padding:10px;min-height:44px}@media(max-width:430px){.studio-header{gap:8px}.studio-header .studio-brand{min-width:0;flex:1}.studio-header .icon-button{width:44px;height:44px;flex-shrink:0}.inbox-controls{gap:8px}.inbox-event .feature-actions{display:flex;flex-wrap:wrap}.inbox-event .feature-actions button{min-height:44px;padding:8px 12px;font-size:13px}}
#master-inbox-dialog [hidden]{display:none!important}

/* Invitation and appointment actions share the existing gold/graphite cabin. */
#booking-actions .cancel-action{grid-column:1/-1;justify-content:center;color:#ffc1ba;background:#74372e30;border-color:#d777694f;margin-top:.35rem}
#booking-actions .cancel-action:hover{background:#74372e55;border-color:#d77769}
#booking-actions .max-invite-action,.max-invite-action{color:#e8d1a0;background:#d5bc8219;border-color:#d5bc8260}
.max-invite-shortcut{color:var(--gold);border-color:#d5bc8250;background:#d5bc820c;flex:none}
.invite-page{max-width:58rem}.invite-back{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);text-decoration:none;margin-bottom:1rem;font-size:.875rem}.invite-page .eyebrow{color:var(--gold);letter-spacing:.13em;font-size:.65rem;text-transform:uppercase}.invite-layout{display:grid;gap:1.75rem;align-items:start}.invite-poster{margin:0;background:#303343;border:1px solid #ffffff20;border-radius:1.5rem;overflow:hidden;box-shadow:0 12px 48px #0003}.invite-poster img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}.invite-poster figcaption{text-align:center;padding:.85rem 1rem;font-size:.8125rem;color:#ddd8c8}.invite-details h2{font:500 1.9rem/1.2 'Studio Display',serif;margin:0 0 1rem}.invite-details ol{padding-left:1.35rem;color:var(--muted);font-size:.9rem;line-height:1.65}.invite-details li{padding-left:.4rem;margin-bottom:.9rem}.invite-details li::marker{color:var(--gold);font-weight:600}.invite-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:.65rem;margin:1.4rem 0}.invite-actions [hidden]{display:none!important}.invite-actions a,.invite-actions button{width:100%;min-height:3.1rem}.invite-details p{overflow-wrap:anywhere}
@media(min-width:700px){.invite-layout{grid-template-columns:minmax(0,22rem) minmax(0,1fr);gap:2.5rem}.invite-details{padding-top:1rem}}
@media(max-width:430px){.studio-header{gap:5px;padding-left:.75rem;padding-right:.75rem}.studio-brand{gap:.35rem}.studio-brand strong{overflow:hidden;text-overflow:ellipsis;font-size:.6875rem;letter-spacing:.045em}.studio-brand small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.5rem;letter-spacing:.025em}.studio-brand img{width:1.65rem;height:1.65rem;flex:none}#booking-actions .button-secondary{padding:.7rem .65rem;font-size:.8125rem;gap:.4rem;overflow-wrap:anywhere}#booking-actions svg{flex:none}}
@media(max-width:350px){.studio-header .studio-brand small{display:none}.studio-header .studio-brand strong{font-size:.6rem;letter-spacing:0}}

.retention-item{display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:1.2rem 0;border-bottom:1px solid var(--border,#3b3c32)}.retention-item a{color:var(--gold,#d5bc82);font-size:1.1rem}.retention-item p{margin:.4rem 0}.retention-pref-row{display:flex;gap:.6rem}.retention-pref-row select{flex:1;min-width:0}.retention-preferences{margin-top:1.5rem}.retention-message{white-space:pre-line;line-height:1.6}.retention-item>div{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.retention-item{align-items:flex-start;flex-direction:column}.retention-pref-row{flex-wrap:wrap}.retention-pref-row .button-secondary{width:100%}}
/* Compact financial summaries follow the existing mobile cabinet spacing. */
.finance-insights{display:grid;gap:1rem;margin:1.25rem 0}
.finance-insights .feature-panel{margin:0;min-width:0}
.finance-section-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.finance-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem;margin:1rem 0}
.finance-metric{padding:.875rem;background:#ffffff04;border:1px solid var(--line);border-radius:.75rem;min-width:0;display:flex;flex-direction:column;gap:.375rem}
.finance-metric span,.finance-metric small{color:var(--muted);font-size:.75rem;line-height:1.4;overflow-wrap:anywhere}
.finance-metric strong{font-size:clamp(1rem,4vw,1.5rem);font-weight:600;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#bot-check-button{width:100%;min-height:2.75rem}
#bot-check-result{margin-top:1rem}
@media(min-width:768px){.finance-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}
