.schedule-client-card{width:min(405px,calc(100vw - 24px));border-radius:8px;background:#fbfbfd;box-shadow:0 18px 48px rgba(34,25,39,.3)}
.schedule-client-card>header{min-height:118px;padding:54px 18px 16px;background:linear-gradient(135deg,#c248dd,#d056eb);border-radius:7px 7px 0 0}
.schedule-client-card header nav{position:absolute;left:92px;right:48px;top:12px;display:flex;justify-content:flex-end;gap:7px;padding:0}.schedule-client-card header nav a{width:32px;min-height:32px;border:0;background:transparent}.schedule-client-card header nav a:hover{background:rgba(255,255,255,.18)}
.schedule-client-card>section{margin:14px;padding:0}.schedule-client-card dl{background:#fff;border-radius:4px;box-shadow:0 4px 13px rgba(57,43,62,.13)}.schedule-client-card footer{border-radius:3px}
.schedule-balance-alert{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;gap:1px 10px;align-items:center;margin:0 17px 14px;padding:10px 12px;border:1px solid #ffd3dc;border-radius:9px;background:#fff6f8;color:#6f3442;text-decoration:none}.schedule-balance-alert[hidden]{display:none!important}.schedule-balance-alert>span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ef315c;color:#fff;font-size:1.1rem;font-weight:900}.schedule-balance-alert b{font-size:.78rem}.schedule-balance-alert small{color:#a35f6f;font-size:.66rem}
.appointment-balance-badge{display:inline-grid;place-items:center;width:20px;height:20px;margin-left:5px;border-radius:50%;background:#ef315c;color:#fff;font-size:.72rem;font-style:normal;font-weight:900;vertical-align:middle;box-shadow:0 2px 6px rgba(239,49,92,.25)}
.pos-catalog-section{margin-bottom:20px}.pos-catalog-section>header{display:flex;justify-content:space-between;align-items:end;margin-bottom:10px;padding:0 2px}.pos-catalog-section>header>div{display:grid;gap:2px}.pos-catalog-section>header h3{margin:0;color:#442d38;font-size:1rem}.pos-catalog-section>header>span{color:#a74770;font-size:.75rem;font-weight:850}
.pos-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-quick-button{display:grid;grid-template-columns:42px minmax(0,1fr) auto;min-height:72px;padding:9px}.pos-quick-button .pos-item-photo{width:40px;height:40px;border-radius:10px}.pos-quick-button .pos-item-copy h3{font-size:.72rem}.pos-quick-button .pos-item-copy small{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.6rem}.pos-quick-button>strong{font-size:.72rem}.pos-balance-section{padding:13px;border:1px solid #ffd1db;border-radius:14px;background:#fff7f9}.balance-option .pos-item-photo{background:#ef315c;color:#fff}.membership-option .pos-item-photo{background:#f3e8ff;color:#9349bd}
@media(max-width:720px){.schedule-client-card>header{padding-top:54px}.pos-quick-grid{grid-template-columns:1fr}.pos-register.compact-register{max-height:none}}

/* Calendar popup refinements */
.calendar-staff-strip.provider-tabs{display:flex;gap:0;margin:10px 0 18px;padding:0 6px;overflow-x:auto;border:0;border-bottom:1px solid rgba(105,61,84,.18);background:transparent;box-shadow:none;scrollbar-width:thin}
.calendar-staff-strip.provider-tabs a{flex:0 0 auto;min-width:auto;margin:0;padding:11px 18px 10px;border:0;border-radius:0;background:transparent;color:#765d6b;box-shadow:none;font-size:.76rem;font-weight:750;white-space:nowrap}
.calendar-staff-strip.provider-tabs a:hover{background:#fff8fb;color:#aa3f70}
.calendar-staff-strip.provider-tabs a.active{background:transparent;color:#b33f75;border-bottom:3px solid #c3477e}
.calendar-staff-strip.provider-tabs a i{display:none}
.calendar-booking-hit{cursor:pointer}
.calendar-booking-hit:focus-within,.calendar-booking-hit:hover{filter:brightness(.985)}
.calendar-cell-client{display:inline;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.schedule-client-card{max-height:calc(100vh - 24px);overflow-y:auto;overscroll-behavior:contain}
.schedule-client-card header nav{left:76px;right:44px;gap:3px}
.schedule-client-card header nav a,.schedule-client-card header nav button{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:7px;background:transparent;color:#fff;cursor:pointer}
.schedule-client-card header nav a:hover,.schedule-client-card header nav button:hover,.schedule-client-card header nav button.active{background:rgba(255,255,255,.2)}
.schedule-client-card header nav button.is-late{background:#fff;color:#c03b76;box-shadow:0 3px 10px rgba(74,22,71,.18)}
.schedule-client-card header nav svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.schedule-inline-panel{margin:0 17px 14px;padding:12px;border:1px solid #eadce4;border-radius:10px;background:#fff;box-shadow:0 5px 15px rgba(66,40,54,.08)}
.schedule-inline-panel[hidden]{display:none!important}
.schedule-late-form label{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 8px;color:#573743}.schedule-late-form label b{font-size:.8rem}.schedule-late-form label small{font-size:.62rem;color:#9e7184}
.schedule-late-form>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px}.schedule-late-form input{min-width:0;height:38px;padding:0 10px;border:1px solid #dfcbd5;border-radius:7px;background:#fff;font-size:.72rem}.schedule-late-form button{min-height:38px;padding:0 12px;border:0;border-radius:7px;background:#bf4379;color:#fff;font-size:.69rem;font-weight:800}.schedule-late-form .late-clear{background:#f5e9ee;color:#924b68}
.schedule-notes-panel>header{position:static;display:flex;align-items:center;justify-content:space-between;min-height:0;padding:0 0 8px;background:none;color:#50323f}.schedule-notes-panel>header b{font-size:.8rem}.schedule-notes-panel>header button{width:25px;height:25px;border:0;border-radius:50%;background:#f4e9ee;color:#8d536c;font-size:1rem;cursor:pointer}
.schedule-notes-panel>div{display:grid;gap:7px;max-height:190px;overflow:auto}.schedule-notes-panel article{padding:8px 9px;border-radius:7px;background:#fbf6f8}.schedule-notes-panel article p{margin:0 0 4px;color:#4e3942;font-size:.7rem;line-height:1.35;white-space:pre-wrap}.schedule-notes-panel article small{color:#9b7384;font-size:.58rem}.schedule-notes-panel .notes-empty{margin:2px 0;color:#8d6d7b;font-size:.7rem;text-align:center}
.schedule-provider-form{margin:0 17px 14px}.schedule-provider-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:38px;padding:0 12px;border:1px solid #e0ccd5;border-radius:8px;background:#fff;color:#814d64;font-size:.74rem;font-weight:800;cursor:pointer}.schedule-provider-toggle.active{border-radius:8px 8px 0 0;background:#fbf4f7}.schedule-provider-toggle span{font-size:1.05rem;transition:transform .2s}.schedule-provider-toggle.active span{transform:rotate(90deg)}
.schedule-provider-picker{display:grid;gap:8px;margin:0;padding:10px;border-top:0;border-radius:0 0 8px 8px;box-shadow:none}.schedule-provider-picker label{color:#765a67;font-size:.65rem}.schedule-provider-picker select{width:100%;height:118px;padding:3px;border:1px solid #ddcbd4;border-radius:7px;background:#fff;color:#49343d;font-size:.72rem;overflow-y:auto}.schedule-provider-picker option{padding:7px 8px;border-radius:5px}.schedule-provider-picker option:checked{background:#f1dce7;color:#8f3660}.schedule-provider-picker>button{min-height:36px;border:0;border-radius:7px;background:#b94176;color:#fff;font-size:.7rem;font-weight:850;cursor:pointer}
@media(max-width:720px){.calendar-staff-strip.provider-tabs a{padding:10px 14px}.schedule-client-card{width:min(390px,calc(100vw - 16px));max-height:calc(100vh - 16px)}.schedule-client-card header nav{left:68px;right:40px}.schedule-client-card header nav a,.schedule-client-card header nav button{flex-basis:28px;width:28px}.schedule-late-form>div{grid-template-columns:1fr 1fr}.schedule-late-form input{grid-column:1/-1}}

/* Calendar controls, access notices, schedules and invoices */
.calendar-sticky-controls{position:sticky;top:0;z-index:24;margin:0 0 18px;padding-top:4px;background:linear-gradient(180deg,#fff 86%,rgba(255,255,255,.86));backdrop-filter:blur(14px)}
.calendar-sticky-controls .calendar-view-switch{margin-bottom:0}.calendar-sticky-controls .calendar-staff-strip{margin:0;padding-top:3px}
.schedule-readonly fieldset,.visual-week>fieldset{min-width:0;margin:0;padding:0;border:0}.schedule-readonly{opacity:.96}.schedule-readonly-notice{margin:10px 0;padding:11px 13px;border:1px solid #efd9a6;border-radius:9px;background:#fff9e9;color:#795b19;font-size:.75rem;font-weight:700}
.access-needed-card{max-width:620px;margin:70px auto;padding:38px;text-align:center}.access-needed-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border-radius:20px;background:#f8eaf0;font-size:1.65rem}.access-needed-card h2{margin:8px 0}.access-needed-card p{max-width:480px;margin:0 auto 24px;color:#765f6a;line-height:1.55}.access-needed-card>div:last-child{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.staff-notification-panel{margin:16px 0}.staff-notification-panel article{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:11px 0;border-top:1px solid #eadfe4}.staff-notification-panel article>i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff0c9;color:#805b00;font-style:normal;font-weight:900}.staff-notification-panel article b{font-size:.78rem}.staff-notification-panel article p{margin:3px 0;color:#67525c;font-size:.7rem}.staff-notification-panel article small{color:#9a7d89;font-size:.6rem}
.pos-register.compact-register{display:flex;flex-direction:column}.pos-register.compact-register>.section-heading{order:0}.pos-register.compact-register>.pos-balance-section{order:1}.pos-register.compact-register>.pos-inventory-section{order:2}.pos-register.compact-register>.pos-catalog-section:not(.pos-balance-section):not(.pos-inventory-section){order:3}.pos-register.compact-register>.pos-pages{order:4}
.pos-invoice-links{display:grid;gap:7px}.pos-invoice-links a{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;padding:9px;border-radius:9px;background:#fff;color:#603849;text-decoration:none}.pos-invoice-links a>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ef315c;color:#fff;font-weight:900}.pos-invoice-links a div{display:grid}.pos-invoice-links a b{font-size:.72rem}.pos-invoice-links a small{font-size:.6rem;color:#9b7183}.pos-invoice-links a strong{font-size:.72rem}
.cp-invoice-due{border:1px solid #ffd0da;background:linear-gradient(135deg,#fff8fa,#fff)}.cp-invoice-summary{display:flex;align-items:center;gap:14px;margin-bottom:12px}.cp-invoice-summary>span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#ed315b;color:#fff;font-size:1.3rem;font-weight:900}.cp-invoice-summary h2,.cp-invoice-summary p{margin:0}.cp-invoice-summary small{color:#ba3e64;font-weight:850;letter-spacing:.09em}.cp-invoice-due form{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #f2dfe5}.cp-invoice-due form>span{font-size:.72rem}.cp-invoice-due form>strong{font-size:.8rem}.cp-invoice-due form .cp-button{margin:0;padding:8px 12px}
@media(max-width:720px){.calendar-sticky-controls{top:0;margin-inline:-4px}.cp-invoice-due form{grid-template-columns:1fr auto}.cp-invoice-due form .cp-button{grid-column:1/-1}.access-needed-card{margin:28px auto;padding:24px}.pos-register.compact-register>.pos-inventory-section{order:2}}
