:root{font-family:"Microsoft JhengHei","Noto Sans TC",system-ui,sans-serif;line-height:1.65;color:#1F2B26;background:#F7F3EC;font-synthesis:none;--brand:#2C4A3E;--brand-dark:#1E342B;--muted:#6E7A72;--line:#D7E0D8;--surface:#fffdf8;--pale:#E7EFEA;--error:#a33353;--green:#2C4A3E}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:var(--brand);text-underline-offset:4px}button:disabled{cursor:wait;opacity:.55}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8EAA9C}[hidden]{display:none!important}.skip-link{position:fixed;top:-80px;left:15px;z-index:99;background:white;padding:14px;border:2px solid var(--brand)}.skip-link:focus{top:10px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:#1F2B26;font-weight:700;font-size:17px;letter-spacing:.035em}.brand-mark{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:15px;background:var(--brand);font:700 30px Georgia,serif;color:white}.brand small{display:block;font-size:11px;font-weight:400;color:var(--muted);letter-spacing:.12em}.public-header{max-width:1300px;margin:auto;padding:25px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px}.header-links{display:flex;gap:20px;align-items:center;font-size:13px}.header-links a{text-decoration:none}.page-wrap{max-width:1200px;margin:auto;padding:25px 32px 55px}.eyebrow{color:#65733c;font-size:11px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}.muted{color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.5;letter-spacing:.025em;margin-bottom:10px}h2{font-size:22px;line-height:1.5;margin-bottom:16px}h3{font-size:17px;margin-bottom:10px}.hero{padding:45px 0 34px;max-width:760px}.hero h1{font-size:42px;color:#1F2B26}.hero p{font-size:16px;color:var(--muted);max-width:610px}.entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.entry-grid-roles{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.entry-note{margin:-12px 0 18px;font-size:12px;color:var(--brand)}.entry-card{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:22px;padding:30px 27px;min-height:270px;text-decoration:none;color:inherit;box-shadow:0 9px 35px #35402404}.entry-card:hover{border-color:#a8b58f;transform:translateY(-2px)}.entry-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:28px;border-radius:15px;background:var(--pale);color:var(--brand);font-size:23px}.entry-card h2{font-size:22px;margin:0 0 8px}.entry-card p{font-size:13px;color:var(--muted);margin-bottom:26px}.entry-card .entry-action{margin-top:auto;font-weight:700;font-size:13px;color:var(--brand)}.record-link{margin-top:25px;border:1px dashed #cbd3b9;border-radius:15px;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:13px}.record-link p{margin:0;color:var(--muted)}.footer{font-size:11px;color:#8c947c;text-align:center;margin-top:35px}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:25px}.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,480px);gap:70px;align-items:center;max-width:1100px;margin:40px auto}.auth-story{padding:20px 0}.auth-story h1{font-size:40px;color:#1F2B26}.auth-story p{max-width:470px;color:var(--muted);font-size:15px}.auth-list{padding:0;list-style:none;font-size:14px;color:#566047;margin:26px 0}.auth-list li{padding:9px 0;border-bottom:1px solid var(--line)}.auth-card{padding:32px}.auth-tabs{display:flex;gap:5px;background:#f0f2e8;border-radius:10px;padding:5px;margin-bottom:24px}.auth-tabs button{flex:1;border:0;background:transparent;padding:8px;border-radius:7px;color:var(--muted);font-size:14px}.auth-tabs button.active{background:white;color:var(--brand);font-weight:700;box-shadow:0 2px 9px #3c482b0a}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid .wide{grid-column:1/-1}.field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:#566047;min-width:0}.field input,.field select,.field textarea{width:100%;min-height:46px;border:1px solid #cbd3b9;border-radius:10px;padding:11px 12px;background:white;color:#1F2B26;font-size:14px;font-weight:400;line-height:1.5}.field textarea{min-height:90px;resize:vertical}.field small{color:var(--muted);font-size:11px;font-weight:400}.field input[readonly]{background:#f7f8f2}.stack{display:flex;flex-direction:column;gap:16px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.button{min-height:44px;border:1px solid var(--brand);border-radius:10px;padding:10px 17px;font-size:13px;font-weight:700;background:var(--brand);color:white;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.5}.button:hover{background:var(--brand-dark)}.button.secondary{background:white;color:var(--brand);border-color:#bdc8a8}.button.secondary:hover{background:#f7f8f2}.button.ghost{background:transparent;border-color:transparent;color:var(--brand)}.button.danger{background:white;color:var(--error);border-color:#e8c6d1}.button.full{width:100%}.text-button{border:0;background:transparent;color:var(--brand);padding:8px 0;font-size:12px;min-height:38px;text-decoration:underline;text-underline-offset:4px}.divider{display:flex;align-items:center;gap:15px;color:#8e967e;font-size:11px;margin:22px 0}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.note{font-size:12px;color:var(--muted);line-height:1.8}.notice{padding:15px 18px;border-radius:12px;background:#f1f4e8;border:1px solid #d2dbc1;color:#586545;font-size:13px;line-height:1.8}.notice.warning{background:#fff7e8;border-color:#eaddbe;color:#8c713d}.notice.error,.status.error{background:#fff0f4;border:1px solid #edccda;color:var(--error)}.status{font-size:13px;color:#647052;margin:18px 0;white-space:pre-line}.status:not(:empty){padding:12px 15px;border-radius:10px;background:#f1f4e8}.shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:27px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar .brand{font-size:15px;gap:10px}.sidebar .brand-mark{flex-basis:39px;height:39px;font-size:26px;border-radius:13px}.sidebar nav{margin-top:42px;display:flex;flex-direction:column;gap:8px}.nav-button{width:100%;text-align:left;display:flex;align-items:center;gap:11px;min-height:46px;padding:11px 14px;background:transparent;color:#737c66;border:0;border-radius:10px;font-size:14px}.nav-button.active{background:#eef1e4;color:var(--brand);font-weight:700}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:20px;font-size:11px;color:var(--muted)}.workspace{min-width:0}.topbar{padding:20px 35px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fefffc}.topbar p{margin:0;font-size:13px}.topbar small{display:block;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.role-badge{font-size:11px;color:var(--brand);background:#edf1e3;border:1px solid #d2dbc1;padding:4px 10px;border-radius:50px;white-space:nowrap}.content{padding:30px 35px 50px;max-width:1500px;margin:auto}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.section-heading h1{font-size:27px;margin:0 0 4px}.section-heading p{margin:0;color:var(--muted);font-size:12px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:23px 0}.metric{background:white;border:1px solid var(--line);padding:19px 22px;border-radius:14px}.metric span{display:block;color:var(--muted);font-size:11px}.metric strong{font-weight:500;color:var(--brand);font-size:30px;line-height:1.5}.toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:20px 0}.toolbar .field{min-width:140px}.toolbar .grow{flex:1}.calendar{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden}.calendar-head{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line);background:#f8f9f4}.calendar-head span{text-align:center;padding:12px 3px;color:var(--muted);font-size:12px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.day{min-height:110px;padding:9px;border:0;border-right:1px solid #e1e5d8;border-bottom:1px solid #e1e5d8;background:white;text-align:left;color:#596348;min-width:0}.day:hover{background:#f7f8f1}.day.other{background:#fafbf8;color:#b6bdab}.day.today .day-number{background:var(--brand);color:white}.day.selected{background:#f1f4e7;box-shadow:inset 0 0 0 2px #a7b58c}.day-number{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;font-size:12px}.day-count{display:block;font-size:10px;margin-top:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#69784e}.appointments{display:flex;flex-direction:column;gap:12px}.appointment{background:white;border:1px solid var(--line);border-radius:14px;padding:20px;display:grid;grid-template-columns:115px minmax(0,1fr) auto;gap:20px;align-items:start}.appointment-time{font-size:20px;line-height:1.45;font-weight:500;color:#596643}.appointment-time small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:3px}.appointment h3{margin-bottom:5px}.appointment p{font-size:12px;color:var(--muted);margin-bottom:4px}.appointment .actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.badge{display:inline-block;font-size:10px;border-radius:30px;padding:4px 10px;background:#edf1e4;color:#586545;white-space:nowrap}.badge.confirmed,.badge.completed{background:#eaf2ee;color:var(--green)}.badge.cancelled{background:#f3eeee;color:#7f756d}.badge.pending{background:#fff2db;color:#a88436}.empty{padding:50px 20px;text-align:center;border:1px dashed #cbd3b9;border-radius:15px;color:var(--muted);background:#fff;font-size:14px}.empty strong{display:block;color:#586545;font-size:17px;margin-bottom:8px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:13px;background:white}table{border-collapse:collapse;width:100%;font-size:13px}th,td{padding:14px 17px;text-align:left;border-bottom:1px solid #e1e5d8;vertical-align:top}th{color:#637052;font-size:11px;font-weight:500;background:#f8f9f4;white-space:nowrap}td small{display:block;color:var(--muted);font-size:11px}tr:last-child td{border-bottom:0}.split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px}.booking-steps{display:flex;gap:8px;margin:25px 0}.booking-steps span{flex:1;background:#e5e9dc;color:#7b846c;border-radius:5px;height:5px}.booking-steps span.done{background:#65733c}.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.service-option,.slot-option{border:1px solid var(--line);border-radius:12px;background:white;padding:18px;text-align:left;color:#465039}.service-option.selected,.slot-option.selected{border-color:#65733c;background:#f2f5e9;box-shadow:inset 0 0 0 1px #65733c}.service-option h3{font-size:16px;margin:0 0 5px}.service-option small{color:var(--muted);font-size:12px}.slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.slot-option{text-align:center;padding:12px 6px;font-size:14px;min-height:46px}.booking-summary{position:sticky;top:25px}.summary-line{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.summary-line:last-child{border:0}.summary-line span:first-child{color:var(--muted)}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:22px}.modal-backdrop{position:fixed;inset:0;background:#26302068;z-index:40;display:flex;justify-content:center;align-items:center;padding:25px}.modal{background:white;border-radius:19px;max-width:650px;width:100%;max-height:90vh;overflow:auto;padding:29px;box-shadow:0 20px 100px #26302035}.modal-head{display:flex;justify-content:space-between;gap:20px;margin-bottom:22px}.modal-head h2{margin:0}.close-button{min-height:36px;min-width:36px;border:0;background:#f0f2e9;color:#667052;border-radius:50%;font-size:20px;line-height:1}.checkbox-field{display:flex;gap:10px;align-items:center;font-size:13px;min-height:44px}.checkbox-field input{width:18px;height:18px;accent-color:var(--brand)}.week-schedule{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.week-schedule .field{font-size:11px}.week-schedule input{padding:8px 5px;font-size:12px}.inline-help{font-size:11px;color:var(--muted);margin:7px 0 0}.mobile-only{display:none}@media(max-width:1050px){.sidebar{width:195px;padding:24px 15px}.shell{grid-template-columns:195px minmax(0,1fr)}.content{padding:25px}.topbar{padding:18px 25px}.auth-layout{gap:35px}.entry-card{padding:24px 21px}.split{grid-template-columns:minmax(0,1fr)}.booking-summary{position:static}.appointment{grid-template-columns:100px minmax(0,1fr)}.appointment .actions{grid-column:2;justify-content:flex-start}.week-schedule{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.public-header{padding:20px 19px;gap:12px}.header-links{font-size:11px;gap:12px}.brand{font-size:14px}.brand-mark{flex-basis:38px;height:38px;font-size:25px;border-radius:13px}.brand small{font-size:9px}.page-wrap{padding:10px 19px 35px}.hero{padding:30px 0 24px}.hero h1{font-size:31px}.hero p{font-size:14px}.entry-grid{grid-template-columns:1fr}.entry-card{min-height:170px;padding:24px;position:relative}.entry-icon{position:absolute;right:23px;top:23px;width:40px;height:40px;font-size:20px}.entry-card h2{font-size:22px;margin-top:7px}.entry-card p{max-width:230px;margin-bottom:17px}.record-link{align-items:flex-start;flex-direction:column;gap:10px;padding:18px}.auth-layout{display:flex;flex-direction:column;gap:15px;margin:10px auto}.auth-story{width:100%;padding:15px 0 0}.auth-story h1{font-size:29px}.auth-story p{font-size:13px;margin-bottom:14px}.auth-list{display:none}.auth-card{width:100%;padding:25px}.shell{display:flex;flex-direction:column;padding-bottom:75px}.sidebar{height:auto;width:auto;position:static;display:block;border-right:0;border-bottom:1px solid var(--line);padding:17px 19px}.sidebar .brand{font-size:14px}.sidebar nav{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fff;border-top:1px solid var(--line);margin:0;padding:7px 8px calc(7px + env(safe-area-inset-bottom));display:flex;flex-direction:row;gap:5px;justify-content:center}.nav-button{flex:1;min-height:49px;font-size:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:6px 3px;text-align:center;max-width:115px}.nav-button .nav-icon{font-size:16px}.sidebar-bottom{display:none}.topbar{padding:13px 19px;gap:8px}.topbar p{font-size:12px}.topbar small{font-size:10px;max-width:230px}.topbar .button{font-size:11px;min-height:38px;padding:7px 10px}.content{padding:23px 18px 30px;width:100%}.section-heading{gap:12px;margin-bottom:18px}.section-heading h1{font-size:24px}.section-heading .button{font-size:11px;padding:9px 12px}.metric-grid{gap:9px;margin:19px 0}.metric{padding:13px 12px}.metric strong{font-size:24px}.metric span{font-size:10px}.toolbar{gap:9px;align-items:end}.toolbar .field{min-width:120px;flex:1}.toolbar .button{font-size:11px}.calendar-head span{padding:10px 2px;font-size:10px}.day{padding:5px;min-height:75px}.day-number{height:22px;width:22px;font-size:11px}.day-count{font-size:9px;margin-top:5px}.appointment{grid-template-columns:70px minmax(0,1fr);padding:16px 13px;gap:12px}.appointment-time{font-size:17px}.appointment-time small{font-size:10px}.appointment h3{font-size:15px}.appointment p{font-size:11px}.appointment .actions{gap:5px}.appointment .button{padding:7px 10px;font-size:11px;min-height:38px}.card{padding:20px}.form-grid{grid-template-columns:1fr;gap:15px}.form-grid .wide{grid-column:auto}.service-grid{grid-template-columns:1fr}.slot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.modal-backdrop{padding:12px}.modal{padding:22px;max-height:94vh;border-radius:16px}.week-schedule{grid-template-columns:repeat(2,minmax(0,1fr))}.form-actions{flex-wrap:wrap}.form-actions .button{flex:1}.booking-summary{padding:19px}.mobile-only{display:block}h2{font-size:20px}}@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s,border-color .15s,transform .15s}}
.entry-card-paused{opacity:.62;cursor:default;pointer-events:none;box-shadow:none}
.entry-card-paused:hover{transform:none;border-color:var(--line)}
.entry-card-paused .entry-action{color:var(--muted)}

.section-heading>.button{flex-shrink:0;white-space:nowrap}
.line-button{background:#15834b;border-color:#15834b}.line-button:hover{background:#106b3c;border-color:#106b3c}.phone-recaptcha{margin-top:15px}.checkbox-field input{flex:0 0 18px}
.view-switch{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:11px;background:#fff}.view-switch .button{min-height:35px;padding:6px 12px}.checkbox-field.compact{min-height:40px;white-space:nowrap}.week-calendar{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:8px;overflow-x:auto;padding-bottom:4px}.week-column{min-height:330px;border:1px solid var(--line);border-radius:13px;background:#fff;padding:9px;display:flex;flex-direction:column;gap:8px}.week-column.selected{box-shadow:inset 0 0 0 2px #a7b58c;background:#fbfcf8}.week-date{border:0;background:#f0f3e8;color:#53603d;padding:8px;border-radius:8px;font-weight:700;text-align:left}.schedule-card{border:1px solid #dce4cf;background:#fff;color:#465039;border-radius:9px;padding:9px;text-align:left;font-size:11px;display:flex;flex-direction:column;gap:3px}.schedule-card:hover{background:#f8faf3;border-color:#a7b58c}.schedule-card strong{font-size:12px}.schedule-card .badge{align-self:flex-start;font-size:9px;padding:2px 7px}.schedule-empty{font-size:11px;text-align:center;margin:25px 4px}.leave-card{border:1px dashed #d6b564;background:#fff8df;color:#876a23;border-radius:9px;padding:8px;font-size:11px}.leave-card small{display:block;margin-top:2px;color:#9c8653}.day-schedule{display:flex;flex-direction:column;gap:12px}.detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;border-top:1px solid var(--line)}.detail-list>div{padding:11px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:3px;font-size:13px}.detail-list>div.wide{grid-column:1/-1}.detail-list span{font-size:10px;color:var(--muted)}@media(max-width:760px){.week-calendar{grid-template-columns:repeat(7,175px)}.detail-list{grid-template-columns:1fr}.detail-list>div.wide{grid-column:auto}.view-switch .button{min-width:37px;padding:5px 9px}}
.booking-status-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.day-status-list{display:flex;flex-direction:column;gap:2px;margin-top:5px}.day-status{font-size:13px;color:#69784e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.day-status.completed{color:var(--green)}.day-status.no_show,.day-status.cancelled{color:#8a756c}.week-calendar.compact .week-column{min-height:225px}.week-calendar.tall .week-column{min-height:510px}@media(max-width:760px){.booking-status-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.day-status{display:none}}
.scheduler-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);gap:12px;overflow-x:auto;padding-bottom:6px;align-items:start}.scheduler-board.compact{grid-auto-columns:minmax(180px,1fr)}.scheduler-board.wide{grid-auto-columns:minmax(300px,1fr)}.scheduler-column{background:#fff;border:1px solid var(--line);border-radius:14px;min-height:360px;overflow:hidden}.scheduler-column header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:13px;border-bottom:1px solid var(--line);background:#f8f9f4}.scheduler-column header small{color:var(--muted);font-size:10px}.scheduler-booking{display:flex;flex-direction:column;align-items:stretch;gap:3px;width:calc(100% - 16px);margin:8px;border:1px solid #d6dfc7;border-left:4px solid var(--brand);border-radius:9px;background:#fff;color:#465039;text-align:left;padding:10px;font-size:11px}.scheduler-booking:hover{background:#f8faf3}.scheduler-booking.confirmed{border-left-color:#4c9371}.scheduler-booking.completed{border-left-color:#5e8c76}.scheduler-booking.cancelled,.scheduler-booking.no_show{border-left-color:#a899a0;background:#faf7f8}.scheduler-booking strong{font-size:12px}.scheduler-booking small{color:var(--muted);font-size:10px}.scheduler-board.compact .scheduler-booking{padding:7px;margin:6px;width:calc(100% - 12px)}.scheduler-board.tall .scheduler-booking{min-height:94px}.repeat-days{border:1px solid var(--line);border-radius:11px;padding:10px 13px;display:flex;gap:8px;flex-wrap:wrap}.repeat-days legend{font-size:12px;color:#566047;padding:0 5px}@media(max-width:760px){.scheduler-board{grid-auto-columns:82vw}.scheduler-column{min-height:270px}}
.booking-member-picker{position:relative}.member-match-list{display:grid;gap:4px;max-height:216px;overflow:auto;margin-top:7px;padding:5px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 8px 22px #29311912}.member-match{display:flex;justify-content:space-between;gap:12px;width:100%;min-height:42px;border:0;border-radius:7px;padding:8px 10px;background:transparent;color:var(--olive-ink,#1F2B26);text-align:left}.member-match:hover,.member-match:focus-visible{background:#f1f4e8}.member-match strong{font-size:13px}.member-match span{align-self:center;color:var(--muted);font-size:11px}.booking-item-picker{padding:15px;border:1px solid var(--line);border-radius:12px;background:#fbfcf8}.booking-item-picker>.field{margin-top:14px}

.rewards-policy-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:14px}.rewards-policy-grid article{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:#fff}.rewards-policy-grid h3{margin:0 0 6px;font-size:15px}.rewards-policy-grid p{margin:0;font-size:13px;color:var(--muted)}

.partner-app{max-width:720px}.partner-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}.partner-toolbar h1{margin:0;font-size:28px;line-height:1.3}.partner-icon-btn{min-width:44px;min-height:44px;padding:0 12px;font-size:20px;line-height:1}.partner-hero{padding:28px 24px;text-align:center}.partner-code-label{font-size:13px;font-weight:700;color:var(--brand);letter-spacing:.08em}.partner-code{margin:0 0 20px;font-size:40px;font-weight:700;letter-spacing:.06em;color:#1F2B26;word-break:break-all}.partner-primary{min-height:52px;font-size:16px}.partner-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.partner-stats>div{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.partner-stats span{font-size:13px;color:var(--muted)}.partner-stats strong{font-size:24px;font-weight:600;color:var(--brand);line-height:1.2}.partner-withdraw{min-height:48px;margin-bottom:14px}.partner-table{margin-top:4px}.partner-empty{padding:36px 16px}.partner-empty strong{margin:0}.partner-profile{padding:8px 22px}.partner-profile-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);font-size:15px}.partner-profile-row:last-child{border-bottom:0}.partner-profile-row span{color:var(--muted)}.partner-profile-row strong{font-size:16px;text-align:right}.partner-block-title{margin:22px 0 12px;font-size:20px}.partner-agreement-card{margin-top:10px}.partner-agreement-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.partner-agreement-head h3{margin:0;font-size:17px}.partner-agreement-body{white-space:pre-wrap;font-size:15px;margin:0;font-family:inherit;line-height:1.7;color:#3E5248}@media(max-width:760px){.partner-toolbar h1{font-size:24px}.partner-code{font-size:32px}}

.ops-nav{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 28px}.ops-nav .button{font-size:13px;padding:9px 13px}.ops-editor{margin:16px 0;max-width:960px;border:1px solid #C9D5CC;border-radius:4px;padding:12px 14px}.ops-editor .form-grid{gap:8px 12px}.ops-editor .field{font-size:12px}.ops-editor .field input,.ops-editor .field select,.ops-editor .field textarea{min-height:34px;padding:6px 9px;font-size:13px;border-radius:4px}.ops-editor .field textarea{min-height:58px}.ops-editor .form-actions{margin-top:8px}.ops-table-wrap{overflow:auto;margin:20px 0;border:1px solid var(--line);border-radius:12px;background:white}.ops-table{border-collapse:collapse;width:100%;min-width:650px;font-size:13px}.ops-table th,.ops-table td{padding:13px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere;max-width:340px}.ops-table th{background:#E7EFEA;white-space:nowrap}.ops-table small{display:block;color:var(--muted);font-size:11px}.ops-table .button{font-size:12px;padding:6px 10px;min-height:36px;margin:2px}.ops-wide{grid-column:1/-1}fieldset{border:1px solid var(--line);border-radius:10px;padding:15px}.checkbox-row{display:flex;gap:8px;align-items:flex-start;font-size:13px;margin:8px 0}.checkbox-row input{flex:0 0 auto;margin-top:5px;width:18px;height:18px}.ops-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ops-editor details{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}.ops-editor summary{cursor:pointer;font-weight:700;margin-bottom:15px}hr{border:0;border-top:1px solid var(--line);margin:24px 0}@media(max-width:700px){.ops-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ops-nav .button{font-size:12px;padding:8px;min-height:44px}.ops-checks{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-wide{grid-column:auto}.ops-editor{padding:16px}.sidebar nav{overflow-x:auto;justify-content:flex-start}.sidebar nav .nav-button{min-width:65px}}@media print{.sidebar,.topbar,.ops-nav,.toolbar,.ops>h2,.ops>.button,.ops>.ops-table-wrap,.ops-editor form,.ops-editor button,.ops-editor details,.status,.form-actions{display:none!important}.shell{display:block}.content{padding:0}.ops-editor{border:0}.ops-editor .ops-table-wrap{display:block!important}.ops-table{min-width:0;font-size:11px}body{background:white}.ops>.section-heading{display:none}}

/* Dense desktop operations layout: inspired by the verified workflow hierarchy,
   but kept in the Queen visual system and without copying SayDou assets. */
.ops-dense-workspace{--ops-line:#D7E0D8;--ops-subtle:#F7F3EC}.ops-breadcrumb{display:flex;align-items:center;gap:8px;margin:0 0 13px;color:#5C6B63;font-size:12px}.ops-breadcrumb strong{color:#1F2B26;font-weight:700}.ops-page-heading{padding-bottom:18px;margin-bottom:0;border-bottom:1px solid var(--ops-line)}.ops-page-heading h1{font-size:25px;letter-spacing:.01em}.ops-page-heading .button{min-height:37px;padding:7px 12px;font-size:12px}.ops-section-title{font-size:18px;margin:23px 0 0;color:#1F2B26}.ops-dense-workspace .ops-nav{align-items:stretch;flex-wrap:nowrap;gap:0;margin:0;border-bottom:1px solid var(--ops-line);overflow-x:auto;background:#fff}.ops-dense-workspace .ops-nav .button{position:relative;flex:0 0 auto;min-height:49px;padding:14px 18px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#5C6B63;font-size:13px;font-weight:500;white-space:nowrap}.ops-dense-workspace .ops-nav .button:hover{background:#F7F3EC;color:var(--brand)}.ops-dense-workspace .ops-nav .button:not(.secondary),.ops-dense-workspace .ops-nav .button[aria-current="page"]{border-bottom-color:var(--brand);background:#fff;color:var(--brand);font-weight:700}.ops-dense-workspace .toolbar{align-items:flex-end;gap:10px;margin:16px 0;padding:12px 14px;border:1px solid var(--ops-line);border-radius:4px;background:var(--ops-subtle)}.ops-dense-workspace .toolbar .field{gap:4px;min-width:155px;font-size:11px}.ops-dense-workspace .toolbar .field input,.ops-dense-workspace .toolbar .field select{min-height:36px;border-color:#C9D5CC;border-radius:3px;padding:7px 9px;font-size:12px}.ops-dense-workspace .toolbar .button{min-height:36px;border-radius:3px;padding:7px 11px;font-size:12px}.ops-dense-workspace>.button{margin:0 8px 14px 0;min-height:36px;border-radius:3px;padding:7px 12px;font-size:12px}.ops-dense-workspace .ops-table-wrap{margin:0;border:1px solid var(--ops-line);border-radius:0}.ops-dense-workspace .ops-table{font-size:12px}.ops-dense-workspace .ops-table th{padding:11px 14px;background:#E7EFEA;color:#3E5248;font-size:11px;font-weight:700}.ops-dense-workspace .ops-table td{padding:12px 14px}.ops-dense-workspace .ops-table tbody tr:hover{background:#fffdf8}.ops-dense-workspace .ops-table .button{min-height:30px;margin:0 3px 2px 0;padding:4px 8px;border-radius:3px;font-size:11px}.ops-dense-workspace .ops-editor{margin:14px 0;border:1px solid #C9D5CC;border-radius:4px;padding:20px}.ops-dense-workspace .notice{border-radius:4px}.ops-dense-workspace .member-columns{border-radius:4px;background:var(--ops-subtle)}
.ops-dense-workspace .finance-nav{display:block;margin:0;border:0;border-bottom:1px solid var(--ops-line);border-radius:0;background:#fff}.ops-dense-workspace .finance-nav section{padding:0;border:0;border-radius:0;background:transparent}.ops-dense-workspace .finance-nav h3{display:none}.ops-dense-workspace .finance-nav section>div{display:flex;flex-wrap:nowrap;gap:0;overflow-x:auto}.ops-dense-workspace .finance-nav .button{flex:0 0 auto;min-height:49px;padding:14px 18px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#5C6B63;font-size:13px;font-weight:500;white-space:nowrap}.ops-dense-workspace .finance-nav .button:hover{background:#F7F3EC;color:var(--brand)}.ops-dense-workspace .finance-nav .button:not(.secondary),.ops-dense-workspace .finance-nav .button[aria-current="page"]{border-bottom-color:var(--brand);background:#fff;color:var(--brand);font-weight:700}
.ops-dense-workspace .ticket-subnav{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:10px 14px;border:1px solid var(--ops-line);border-top:0;background:#fff}.ops-dense-workspace .ticket-subnav .button{min-height:32px;padding:5px 10px;border-radius:3px;font-size:12px}
.ops-dense-workspace .ticket-toolbar{display:flex;flex-wrap:nowrap;align-items:center;gap:6px 8px;margin:0 0 6px}
.ops-dense-workspace .ticket-nav{display:flex;flex:1 1 auto;flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;margin:0;padding:0;overflow-x:auto;border:0;background:transparent}
.ops-dense-workspace .ticket-toolbar-actions{display:flex;flex:0 0 auto;flex-wrap:nowrap;align-items:center;gap:6px;margin-left:auto}
.ops-dense-workspace .ticket-nav .button,.ops-dense-workspace .ticket-toolbar-actions .button{height:30px;min-height:30px;margin:0;padding:0 12px;border-radius:999px;font-size:13px;line-height:28px}
.ops-dense-workspace .ticket-toolbar+.toolbar{margin-top:0}
.ops-mobile-nav{display:none}.ops-line-form:not([data-mode="service"]) label:has([name="serviceId"]),.ops-line-form:not([data-mode="service"]) label:has([name="teacherId"]),.ops-line-form:not([data-mode="service"]) label:has([name="ticketId"]),.ops-line-form:not([data-mode="product"]) label:has([name="productId"]),.ops-line-form:is([data-mode="voucher"],[data-mode="topup"]) label:has([name="categoryId"]),.ops-line-form:not([data-mode="voucher"]) label:has([name="voucherId"]),.ops-line-form:not([data-mode="topup"]) label:has([name="amount"]),.ops-line-form:not([data-mode="topup"]) label:has([name="gift"]),.ops-line-form:not([data-mode="service"]) .cascade-for-services,.ops-line-form:not([data-mode="product"]) .cascade-for-products{display:none}
.cascade-picker{margin:0}
.cascade-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cascade-empty{display:none}
.cascade-picked{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.cascade-picked li{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cascade-picked .note{color:var(--muted,#6E7A72)}
@media(max-width:700px){.cascade-levels{grid-template-columns:1fr}}
.ops-payment-form:is([data-mode="wallet"],[data-mode="points"],[data-mode="cashVoucher"]) label:has([name="accountId"]),.ops-payment-form:not([data-mode="cashVoucher"]) label:has([name="ticketId"]){display:none}@media(max-width:700px){.ops .ops-nav{display:none}.ops-mobile-nav{display:flex;margin:20px 0}.ops-mobile-nav select{width:100%}}
.member-editor{max-width:1120px}.member-level-editor{max-width:960px}.member-editor .member-panel{border:1px solid var(--line);border-radius:13px;padding:0;margin:0;background:#fff;overflow:hidden}.member-editor .member-panel+.member-panel{margin-top:13px}.member-editor .member-panel summary{display:block;border:0;margin:0;padding:15px 18px;background:#F7F3EC;color:#2C4A3E;font-size:16px}.member-editor .member-panel summary::marker{color:var(--brand)}.member-editor .member-panel[open] summary{border-bottom:1px solid var(--line);background:#E7EFEA}.member-panel-body{padding:20px}.member-referrer-search{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.member-referrer-search .field{flex:1;min-width:240px}.member-link{display:inline;padding:0;min-height:0;vertical-align:baseline}.customer-note-editor{margin:22px 0}.member-columns{margin:10px 0 16px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px 13px}.member-columns summary{cursor:pointer;color:#2C4A3E;font-size:13px;font-weight:700}.member-columns form{padding-top:10px}.member-tag-chip{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap;border-radius:999px;background:var(--tag-bg);color:var(--tag-fg);padding:3px 8px;margin:1px 3px 1px 0;font-size:11px;font-weight:700}.member-cell-note{display:-webkit-box;overflow:hidden;max-width:260px;-webkit-box-orient:vertical;-webkit-line-clamp:2}.category-tree ol{list-style:none;margin:18px 0 0;padding:0}.category-tree li{align-items:center;border-top:1px solid var(--line);display:flex;gap:18px;justify-content:space-between;padding:13px 0 13px calc(8px + var(--category-depth)*28px)}.category-tree li:first-child{border-top:0}.category-tree li small{color:var(--muted);display:block;margin-top:4px}.category-tree .form-actions{gap:6px;margin:0;white-space:nowrap}@media(max-width:700px){.member-panel-body{padding:16px}.member-referrer-search .field{min-width:100%}.member-columns{padding:8px}.category-tree li{align-items:flex-start;flex-direction:column;gap:8px;padding-left:calc(4px + var(--category-depth)*18px)}}

/* Real table-header sorting keeps the member filter bar compact. */
.member-sort{display:inline-flex;align-items:center;gap:3px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;cursor:pointer}.member-sort:hover,.member-sort:focus-visible{color:var(--brand);text-decoration:underline;text-underline-offset:3px}.member-sort span{font-size:10px;color:var(--brand)}

/* Direct service selection for teachers, and a compact daily staff board. */
.teacher-service-options{margin:0;border-color:var(--olive-border,var(--line));background:#fbfcf8}.teacher-service-options legend{padding:0 6px;color:#566047;font-size:13px;font-weight:700}.teacher-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 18px}.teacher-service-grid .checkbox-field{min-height:32px;padding:3px 0;font-size:12px}.teacher-service-grid .checkbox-field input{accent-color:var(--brand)}.teacher-form-grid .teacher-basic-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}.teacher-form-grid .teacher-line-bound{margin-top:0}.teacher-form-grid .field{font-size:12px}.teacher-form-grid .field input{min-height:38px;border-radius:4px;padding:8px 10px;font-size:13px}.scheduler-column header{border-bottom:1px solid var(--olive-border,var(--line))}.scheduler-event{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;margin:8px;padding:8px 9px;border:1px solid var(--olive-border,var(--line));border-left:3px solid var(--olive-mid,var(--brand));border-radius:3px;background:#f7f9f0;color:#4e5a38;font-size:11px}.scheduler-event strong{font-size:12px}.scheduler-event span{font-size:11px;font-weight:700}.scheduler-event small{grid-column:1/-1;color:var(--muted)}.scheduler-event.store_closed,.scheduler-event.booking_closed{border-left-color:#8d6d4c;background:#fbf7ed;color:#6e573e}.scheduler-event.store_open{border-left-color:#4f7a63;background:#eef7f1;color:#355847}.scheduler-event.unassigned_closed{border-left-color:#8a5f79;background:#f7eef4;color:#5d4054}.scheduler-event.teacher_extra{border-left-color:#657f86;background:#f1f7f8;color:#46616a}@media(max-width:760px){.teacher-service-grid,.teacher-form-grid .teacher-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}.scheduler-event{margin:7px}}@media(max-width:520px){.teacher-form-grid .teacher-basic-grid{grid-template-columns:1fr}}

/* Member CRM aligned to SayDou workflow hierarchy (Queen olive branding). */
.member-crm-workspace{padding-bottom:88px}.member-crm-toolbar{margin:14px 0 0}.member-crm-search{display:grid;gap:10px;margin:0;padding:12px 14px;border:1px solid var(--ops-line,#D7E0D8);border-radius:4px;background:#fff}.member-crm-primary{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.member-crm-primary>.field{flex:1 1 240px;min-width:180px;margin:0}.member-crm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto}.member-crm-actions .button[disabled]{opacity:.45;cursor:not-allowed}.member-advanced-panel{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;padding-top:10px;border-top:1px solid var(--ops-line,#D7E0D8)}.member-advanced-panel[hidden]{display:none!important}.member-columns-form{margin:8px 0 0}.member-columns-row{display:flex;align-items:flex-start;gap:8px;margin:8px 0 0}.member-columns-row .member-columns-form{flex:1;margin:0}.member-columns-side{display:flex;gap:8px;margin-left:auto}.tag-board{display:flex;flex-wrap:wrap;gap:8px;align-content:flex-start}.tag-board-tools{display:flex;justify-content:flex-end;min-height:36px;margin:8px 0}.tag-pick{display:inline-flex;align-items:center;gap:6px}.tag-pick.on .tag-tile{outline:2px solid #3D4A24}.tag-check{display:inline-flex;align-items:center}.tag-check input{width:18px;height:18px}.tag-tile{display:inline-flex;align-items:center;justify-content:center;min-width:84px;max-width:180px;min-height:40px;padding:6px 12px;border:0;border-radius:6px;font:inherit;font-size:13px;font-weight:700;line-height:1.2;text-align:center;cursor:pointer}.tag-tile.add{border:1px dashed #8EAA9C;background:#fff;color:#3D4A24}.tag-tile.off{opacity:.45}.member-other-actions{position:relative}.member-other-actions>summary{list-style:none;min-height:36px;display:inline-flex;align-items:center;padding:7px 11px;border:1px solid #8EAA9C;border-radius:3px;background:#fff;color:#2C4A3E;font-size:12px;font-weight:700;cursor:pointer}.member-other-actions>summary::-webkit-details-marker{display:none}.member-other-actions-list{position:absolute;z-index:12;top:38px;right:0;min-width:200px;display:grid;gap:4px;padding:8px;border:1px solid #8EAA9C;border-radius:4px;background:#fff;box-shadow:0 10px 24px rgba(44,74,62,.12)}.member-other-actions-list .button{justify-content:flex-start;width:100%;margin:0}.member-select-cell{display:inline-flex;align-items:center;justify-content:center;margin:0}.member-select-cell input{width:18px;height:18px}.member-batch-targets{margin:0 0 12px;padding:0 0 0 18px;display:grid;gap:4px}.member-batch-targets small{display:block;color:var(--muted,#6E7A72)}.member-table-saydou{min-width:1280px}.member-table-saydou td strong+small{margin-top:3px}.member-list-count{margin:10px 0 0}.member-editor-page{margin:12px 0 0}.member-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:18px;align-items:start}.member-editor-main{min-width:0}.member-editor-anchors{position:sticky;top:16px;display:grid;gap:8px;padding:10px;border:1px solid var(--ops-line,#D7E0D8);border-radius:4px;background:#fff}.member-editor-anchors a{color:#3E5248;font-size:13px;text-decoration:none;padding:6px 8px;border-radius:3px}.member-editor-anchors a:hover,.member-editor-anchors a:focus-visible{background:#E7EFEA;color:var(--brand)}.member-editor-footer{position:sticky;bottom:0;z-index:8;grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;margin:0;padding:12px 0;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 28%);border-top:1px solid var(--ops-line,#D7E0D8)}.member-radio-row{display:flex;flex-wrap:wrap;gap:14px;padding-top:6px}.member-radio{display:inline-flex;align-items:center;gap:6px;font-size:13px}.member-gender-field{border:0;padding:0;margin:0}.member-gender-field legend{padding:0;font-size:12px;color:inherit}.member-tag-block .member-tag-options{border-color:#C9D5CC}.member-avatar-field{display:grid;gap:8px}.member-avatar-label{font-size:12px;color:#3E5248}.member-avatar-drop{position:relative;display:grid;place-items:center;min-height:120px;max-width:180px;border:1px dashed #C9D5CC;border-radius:50%;aspect-ratio:1;background:#Fafafa;color:#6E7A72;font-size:12px;text-align:center;cursor:pointer;overflow:hidden}.member-avatar-drop input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}.member-avatar-preview{width:100%;height:100%;object-fit:cover}.member-relation-card{border:1px solid #C9D5CC;border-radius:6px;padding:12px;background:#fff}.member-relation-card h4{margin:0 0 10px;font-size:14px}@media(max-width:900px){.member-editor-layout{grid-template-columns:1fr}.member-editor-anchors{position:static;grid-auto-flow:column;overflow:auto}.member-avatar-card{grid-template-columns:1fr}}

/* Catalog CRM aligned to SayDou service/product workspace. */
.catalog-crm-workspace{padding-bottom:24px}.catalog-crm-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}.catalog-crm-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.catalog-crm-toolbar .note{margin:0}.catalog-stock-tabs{margin:12px 0 0}.catalog-editor{max-width:920px}.catalog-empty-state{display:grid;place-items:center;gap:16px;min-height:280px;padding:48px 24px;text-align:center;color:var(--ops-muted,#6b7280)}.catalog-empty-state p{margin:0;font-size:1rem}
.catalog-row-actions{display:inline-flex;align-items:center;gap:6px;justify-content:flex-end}
.member-list-person{display:flex;align-items:center;gap:8px;min-width:0}
.member-list-person small{display:block;color:#667}
.member-list-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;flex:0 0 auto;background:#E7E2D8}
.member-list-avatar-empty{display:inline-block}
.tag-picker details{position:relative}
.tag-picker summary{cursor:pointer;min-height:36px;display:flex;align-items:center;padding:6px 10px;border:1px solid #D7D7D7;border-radius:6px;background:#fff;list-style:none}
.tag-picker summary::-webkit-details-marker{display:none}
.tag-picker-panel{display:grid;gap:4px;margin-top:6px;padding:8px;border:1px solid #E4E0D6;border-radius:8px;background:#fff;max-height:240px;overflow:auto;box-shadow:0 8px 24px rgba(40,36,28,.12)}
.tag-picker-panel input[type="search"]{width:100%;min-height:32px;margin:0 0 4px}
.tag-picker-option{display:flex;align-items:center;gap:8px;min-height:32px}
.catalog-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #C9D5CC;border-radius:4px;background:#fff;color:#2C4A3E;font:inherit;font-size:15px;cursor:pointer}
.catalog-icon-btn:hover{border-color:#6E8B7B;background:#F7F3EC}
.catalog-icon-danger{color:#8B3A3A}
.catalog-icon-danger:hover{border-color:#B45A5A;background:#FBF4F4}
.catalog-row-more{position:relative}
.catalog-row-more>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #C9D5CC;border-radius:4px;background:#fff;color:#2C4A3E;font:inherit;font-size:16px;letter-spacing:1px;cursor:pointer}
.catalog-row-more>summary::-webkit-details-marker{display:none}
.catalog-row-more[open]>summary{border-color:#6E8B7B;background:#F7F3EC}
.catalog-row-more-list{position:absolute;z-index:24;top:calc(100% + 4px);right:0;display:grid;gap:4px;min-width:180px;padding:8px;border:1px solid #C9D5CC;border-radius:4px;background:#fff;box-shadow:0 12px 28px rgba(44,74,62,.14)}
.catalog-row-more[open]>.catalog-row-more-list,.member-other-actions[open]>.member-other-actions-list{position:fixed;z-index:80;overflow:auto}
.member-other-actions{position:relative}
.member-other-actions>summary{list-style:none;cursor:pointer}
.member-other-actions>summary::-webkit-details-marker{display:none}
.member-other-actions-list{display:grid;gap:4px;min-width:180px;padding:8px;border:1px solid #C9D5CC;border-radius:4px;background:#fff;box-shadow:0 12px 28px rgba(44,74,62,.14)}
.member-other-actions-list .button{justify-content:flex-start;width:100%}
.catalog-row-more-list .button{justify-content:flex-start;width:100%;min-height:34px;border-radius:4px;font-size:12px}
.catalog-tool-more>summary{width:auto;min-width:38px;padding:0 10px}
.category-tree ol{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.category-tree li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #E4EBE6;border-radius:4px;background:#fff;margin-left:calc(var(--category-depth,0) * 18px)}
.category-tree li.selected{border-color:#2C4A3E;background:#E7EFEA}
.category-select{display:grid;gap:2px;border:0;background:transparent;text-align:left;padding:0;font:inherit;cursor:pointer;color:inherit}
.category-select small{color:#6E7A72}

/* Admin ops skin: olive accent, underline tabs, compact toolbar. */
.ops-dense-workspace,.catalog-crm-workspace,.member-crm-workspace{
  --ops-accent:#5C6B2E;
  --ops-accent-soft:#F3F5E8;
  --ops-accent-line:#D7DEB8;
  --ops-page:#F7F6F1;
  --ops-ink:#2C2C2C;
  --ops-muted:#6B6B6B;
  --ops-line:#E4E6DC;
  --brand:var(--ops-accent);
  --brand-dark:#3D4A24;
  color:var(--ops-ink);
}
.ops-dense-workspace .ops-nav .button:hover,
.ops-dense-workspace .finance-nav .button:hover,
.ops-dense-workspace .ops-nav .button:not(.secondary),
.ops-dense-workspace .ops-nav .button[aria-current="page"],
.ops-dense-workspace .finance-nav .button:not(.secondary),
.ops-dense-workspace .finance-nav .button[aria-current="page"]{color:var(--ops-accent);background:#fff}
.ops-dense-workspace .ops-nav .button:not(.secondary),
.ops-dense-workspace .ops-nav .button[aria-current="page"],
.ops-dense-workspace .finance-nav .button:not(.secondary),
.ops-dense-workspace .finance-nav .button[aria-current="page"]{border-bottom-color:var(--ops-accent)}
.ops-dense-workspace .ops-table th{background:#F7F7F7;color:#555;border-bottom:1px solid var(--ops-line)}
.ops-dense-workspace .ops-table td{border-bottom:1px solid var(--ops-line)}
.ops-dense-workspace .ops-table tbody tr:hover{background:#F7F8F1}
.ops-dense-workspace .ops-table-wrap{border-color:var(--ops-line);background:#fff}
.desk-search{margin:0 0 12px}.desk-search .field{max-width:280px}
.desk-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:start}
.desk-card{display:grid;gap:4px;align-content:center;min-height:84px;padding:12px 14px;border:1px solid #E4EBE6;border-radius:12px;background:#fff;color:#1F2B26;font:inherit;text-align:left;cursor:pointer}
.desk-card b,.desk-card strong{font-size:15px}
.desk-card span,.desk-card small{color:#5C6B63;font-size:12px}
.desk-chip{justify-self:start;padding:4px 10px;border-radius:999px;font-size:13px}
.desk-card-add{place-items:center;border-style:dashed;color:#3D4A24;font-weight:700}
.desk-pop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:24px;background:rgba(44,74,62,.28)}
.desk-sheet{width:min(440px,92vw);padding:16px;border-radius:12px;background:#fff;box-shadow:0 18px 48px rgba(30,52,43,.22)}
.desk-sheet h2{margin:0 0 12px;font-size:16px}
.desk-sheet .form-grid{grid-template-columns:1fr 1fr}
.desk-pop-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
.desk-mark{display:grid;place-items:center;width:42px;height:42px;border:1px solid #C9D5CC;border-radius:50%;background:#fff;color:#1F2B26;font:inherit;font-size:20px;cursor:pointer}
.desk-mark.yes{border-color:#3D4A24;background:#3D4A24;color:#fff}
@media(max-width:700px){.desk-grid,.desk-sheet .form-grid{grid-template-columns:1fr}}
.ops-dense-workspace .button:not(.secondary):not(.danger){background:var(--ops-accent);border-color:var(--ops-accent);color:#fff;border-radius:999px}
.ops-dense-workspace .button.secondary{border-radius:999px;border-color:var(--ops-accent-line);color:var(--ops-accent);background:#fff}
.ops-dense-workspace .button.secondary:hover{background:var(--ops-accent-soft);border-color:var(--ops-accent)}
.ops-dense-workspace .button.danger{border-radius:999px}
.ops-dense-workspace .form-actions .button.secondary{border-color:var(--ops-accent);color:var(--ops-accent)}
.ops-dense-workspace .form-actions .button:not(.secondary){background:var(--ops-accent);border-color:var(--ops-accent)}

.order-record-tabs,.catalog-item-tabs{
  display:flex;flex-wrap:nowrap;gap:0;margin:0 0 12px;padding:0;
  border-bottom:1px solid var(--ops-line,#E6E6E6);background:#fff;overflow-x:auto
}
.order-record-tabs button,.catalog-item-tabs button{
  flex:0 0 auto;min-height:46px;padding:12px 18px;border:0;border-bottom:3px solid transparent;
  border-radius:0;background:transparent;color:#666;font:inherit;font-size:13px;font-weight:500;
  white-space:nowrap;cursor:pointer
}
.order-record-tabs button:hover,.catalog-item-tabs button:hover{color:var(--ops-accent,#5C6B2E);background:#F7F8F1}
.order-record-tabs button.active,.catalog-item-tabs button.active,
.order-record-tabs button[aria-current="page"],.catalog-item-tabs button[aria-current="page"]{
  border-bottom-color:var(--ops-accent,#5C6B2E);color:var(--ops-accent,#5C6B2E);font-weight:700
}
.catalog-top-nav{display:grid;gap:12px;margin:0 0 16px}
.catalog-kind-seg{
  display:inline-flex;gap:2px;width:fit-content;max-width:100%;padding:4px;border-radius:12px;background:#E8E8ED;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)
}
.catalog-kind-seg button{
  min-width:96px;min-height:40px;padding:8px 22px;border:0;border-radius:10px;background:transparent;
  color:#1C1C1E;font:inherit;font-size:15px;font-weight:700;cursor:pointer;-webkit-tap-highlight-color:transparent
}
.catalog-kind-seg button.is-on{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.14),0 0 0 .5px rgba(0,0,0,.04)}
.catalog-stock-nav{display:flex;flex-wrap:wrap;gap:8px}
.catalog-stock-nav button{
  min-height:34px;padding:6px 12px;border:1px solid #D7E0D8;border-radius:999px;background:#fff;
  color:#5C6B63;font:inherit;font-size:13px;cursor:pointer
}
.catalog-stock-nav button.is-on,.catalog-stock-nav button[aria-current="page"]{
  border-color:#5C6B2E;background:#F3F5E8;color:#3E5248;font-weight:700
}
.catalog-board,.ops-card-board{display:grid;gap:12px;margin:8px 0 16px}
.catalog-board-tools,.ops-card-board-tools{display:flex;justify-content:flex-end;margin:6px 0}
.catalog-board-cards,.ops-card-board{gap:10px}
.catalog-category-grid,.ops-card-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px
}
.catalog-category-card,.ops-card{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:10px;
  min-height:84px;padding:12px 12px;border:1px solid #D7E0D8;border-radius:12px;background:#fff;
  color:#1F2B26;font:inherit;text-align:left;cursor:pointer;
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease
}
.catalog-category-card:hover,.ops-card:hover{
  border-color:#5C6B2E;box-shadow:0 6px 16px rgba(44,74,62,.08);transform:translateY(-1px)
}
.catalog-category-card strong,.ops-card strong{font-size:14px;line-height:1.3;font-weight:700}
.catalog-category-card span,.ops-card span{color:#6E7A72;font-size:12px}
.ops-card em{font-style:normal;color:#8A817C;font-size:11px}
.ops-card.is-off{opacity:.72}
.catalog-drill-panel,.ops-drill-panel{margin:0}
.catalog-drill-head,.ops-drill-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;min-width:0}
.catalog-drill-head h3,.ops-drill-head h3{margin:0;font-size:16px}
.catalog-back,.ops-card-back{min-height:32px;padding:4px 12px}
.ops-card-add{
  place-content:center;align-items:center;justify-content:center;border-style:dashed;color:#3E5248;font-weight:700;min-height:84px
}
.ops-card-item{position:relative;padding:0;gap:0;overflow:hidden}
.ops-card-main{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:10px;
  width:100%;min-height:72px;padding:12px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer
}
.ops-card-main strong{font-size:14px;line-height:1.3;font-weight:700}
.ops-card-main span{color:#6E7A72;font-size:12px}
.ops-card-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 12px 12px}
.ops-card-actions .button{min-height:32px;padding:4px 10px;font-size:12px}
.ops-card-check{position:absolute;top:10px;right:10px;z-index:1;display:flex;margin:0}
.ops-card-item.is-picked{border-color:#5C6B2E;box-shadow:inset 0 0 0 1px #5C6B2E}
.ops-card-swatch{display:inline-block;width:12px;height:12px;margin-right:6px;border-radius:3px;border:1px solid #D7E0D8;vertical-align:-1px}
.catalog-group{padding:14px 16px 16px;border:1px solid #D7E0D8;border-radius:16px;background:#fff}
.catalog-group header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:0}
.catalog-group.is-open>header{margin-bottom:12px}
.catalog-group h3{margin:0;font-size:18px}
.catalog-group header small{color:#6E7A72}
.catalog-toggle{display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.catalog-toggle::before{content:"▸";flex:none;color:#6E7A72;font-size:14px}
.catalog-group.is-open>.catalog-toggle::before,.catalog-group.is-open>header .catalog-toggle::before{content:"▾"}
.catalog-group:not(.is-open)>.catalog-mids,
.catalog-group:not(.is-open)>.catalog-minis,
.catalog-group:not(.is-open)>.catalog-group-empty{display:none}
.catalog-search{max-width:360px;margin:0 0 12px}
.birthday-cue{display:inline-flex;margin-left:6px;padding:1px 7px;border-radius:999px;background:#F3F5E8;color:#5C6B2E;font-size:11px;font-style:normal;font-weight:700;vertical-align:middle}
.birthday-cue.today{background:#FFF1D6;color:#8A5A12}
.teacher-home{display:grid;gap:18px;max-width:720px}
.teacher-home-greet{margin:0;color:#5C6B63;font-size:18px;font-weight:700}
.teacher-home-card{padding:28px 26px;border:1px solid #D7E0D8;border-radius:20px;background:linear-gradient(160deg,#fffdf8,#E7EFEA);box-shadow:0 12px 32px rgba(44,74,62,.08)}
.teacher-home-name{margin:0 0 8px;color:#6E8B7B;font-size:13px}
.teacher-home-card h1{margin:0 0 10px;color:#1F2B26;font-size:28px;line-height:1.35}
.teacher-home-card p{margin:0;color:#5C6B63;font-size:15px;line-height:1.6}
.catalog-card-actions{display:flex;flex-wrap:wrap;gap:8px}
.catalog-card-actions button{min-height:32px;padding:4px 10px;border:1px solid #D7E0D8;border-radius:999px;background:#fff;color:#3E5248;cursor:pointer}
.catalog-mids{display:grid;gap:12px;margin-bottom:12px}
.catalog-mid{padding:12px;border:1px solid #E4EBE6;border-radius:14px;background:#FBFCF8}
.catalog-mid header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.catalog-mid h4{margin:0;font-size:15px}
.sales-cat-title{border:0;background:transparent;padding:0;font:inherit;font-weight:700;cursor:pointer}
.catalog-mid-pick{min-height:64px;padding:12px 14px;border:1px solid #D7E0D8;border-radius:12px;background:#fff;text-align:left;cursor:pointer}
.catalog-mid-pick.is-current,.catalog-group.is-current{border-color:#5C6B2E;box-shadow:inset 0 0 0 1px #5C6B2E}
.sales-cat-board .catalog-mids{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
.catalog-minis{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:10px}
.catalog-mini{display:flex;flex-direction:column;gap:6px;min-height:112px;padding:10px;border:1px solid #D7E0D8;border-radius:12px;background:#F7F8F1}
.catalog-mini-open{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}
.catalog-mini-open strong{font-size:15px}
.catalog-mini-open span,.catalog-mini-open em{color:#5C6B63;font-size:12px;font-style:normal}
.catalog-mini-tools{display:flex;align-items:center;justify-content:space-between;gap:8px}
.catalog-mini-add{min-height:112px;border:1px dashed #C9D5CC;border-radius:12px;background:#fff;color:#3E5248;cursor:pointer}

.catalog-crm-toolbar{align-items:stretch;margin:8px 0 12px}
.catalog-crm-toolbar .member-crm-search{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;
  margin:0;padding:10px 0;border:0;border-radius:0;background:transparent
}
.catalog-crm-toolbar .member-crm-primary{
  display:flex;flex:1 1 420px;flex-wrap:wrap;align-items:center;gap:8px 12px
}
.catalog-crm-toolbar .member-crm-primary>.field{flex:1 1 220px;min-width:180px;margin:0}
.catalog-crm-toolbar .member-crm-primary>.field input{min-height:36px;border-radius:4px;border-color:#D0D0D0}
.catalog-crm-toolbar .catalog-search-links{display:inline-flex;align-items:center;gap:12px}
.catalog-crm-toolbar .catalog-search-links .button{
  min-height:0;padding:0;border:0;border-radius:0;background:transparent;
  color:var(--ops-accent,#5C6B2E);font-size:13px;font-weight:600;box-shadow:none
}
.catalog-crm-toolbar .catalog-search-links .button::after{content:" ›";font-weight:700}
.catalog-crm-toolbar .member-crm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto}
.catalog-crm-toolbar .member-crm-actions .button[disabled]{opacity:.4;cursor:not-allowed}
.catalog-crm-toolbar .member-crm-actions .button:not(.secondary){min-width:88px}
.catalog-crm-toolbar .catalog-search-submit{display:none}

.catalog-icon-btn,.catalog-row-more>summary{
  width:32px;height:32px;border:0;background:transparent;color:var(--ops-accent,#5C6B2E);border-radius:4px
}
.catalog-icon-btn:hover,.catalog-row-more>summary:hover{background:var(--ops-accent-soft,#F3F5E8);border-color:transparent}
.catalog-icon-danger{color:#C44747}
.catalog-row-more[open]>summary{background:var(--ops-accent-soft,#F3F5E8);color:var(--ops-accent,#5C6B2E)}
.catalog-row-more-list{border-color:var(--ops-accent-line,#D7DEB8);box-shadow:0 12px 28px rgba(92,107,46,.14)}

.catalog-editor,.ops-editor.order-builder-saydou{
  max-width:960px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none
}
.catalog-editor>h2,.order-builder-saydou>h2{margin:0 0 8px;font-size:18px}
.catalog-editor .member-panel,.order-builder-saydou .member-panel{
  border:1px solid #E6E6E6;border-radius:4px;margin:0 0 12px;background:#fff;overflow:hidden
}
.catalog-editor .member-panel-heading,.order-builder-saydou .member-panel-heading{
  position:relative;margin:0;padding:10px 14px 10px 18px;border-bottom:1px solid #E6E6E6;
  background:#fff;color:#2C2C2C;font-size:14px;font-weight:700
}
.catalog-editor .member-panel-heading::before,.order-builder-saydou .member-panel-heading::before{
  content:"";position:absolute;top:10px;bottom:10px;left:8px;width:3px;border-radius:2px;background:var(--ops-accent,#5C6B2E)
}
.catalog-editor .member-panel-body,.order-builder-saydou .member-panel-body{padding:14px 16px}
.catalog-editor .form-actions,.order-builder-saydou .form-actions,
.ops-dense-workspace .ops-editor .form-actions{
  position:sticky;bottom:0;z-index:6;display:flex;justify-content:flex-end;gap:10px;
  margin:0;padding:12px 0;background:linear-gradient(180deg,rgba(245,245,245,0),#F5F5F5 28%);
  border-top:1px solid #E6E6E6
}
.catalog-editor .form-actions .button,.order-builder-saydou .form-actions .button{min-width:88px;min-height:36px;border-radius:999px}

.order-builder-saydou .order-mode-tabs{display:flex;gap:0;margin:0 0 12px;border-bottom:1px solid #E6E6E6;background:#fff}
.order-builder-saydou .order-mode-tabs .button{
  flex:0 0 auto;min-height:42px;padding:10px 16px;border:0;border-bottom:3px solid transparent;
  border-radius:0;background:transparent;color:#666;font-weight:500
}
.order-builder-saydou .order-mode-tabs .button:not(.secondary){
  border-bottom-color:var(--ops-accent,#5C6B2E);color:var(--ops-accent,#5C6B2E);font-weight:700;background:#fff
}
.order-builder-saydou .ops-table{min-width:0}
.order-builder-saydou .order-line-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 10px}
.ops-editor.order-builder-desk{max-width:1180px}
.order-desk-topbar{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:end;margin:0 0 14px;padding:12px 14px;border:1px solid #E6E6E6;border-radius:4px;background:#fff}
.order-desk-topbar .field{min-width:140px;margin:0}
.order-desk-tools{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
.order-desk-tools .catalog-row-more>summary{width:auto;height:auto;min-height:34px;padding:0 12px;border:1px solid #E6E6E6;border-radius:4px;background:#fff;color:#2C4A3E;font-size:13px;letter-spacing:0;white-space:nowrap}
.order-desk-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:14px;align-items:start}
.order-desk-main,.order-desk-side{border:1px solid #E6E6E6;border-radius:4px;background:#fff;padding:14px}
.order-member-search{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin:0 0 12px}
.order-member-search .field{flex:1 1 240px;margin:0}
.order-meta-compact{margin:0 0 12px}
.order-empty-add{display:flex;align-items:center;justify-content:center;width:100%;min-height:180px;border:1px dashed #D2D2D2;border-radius:4px;background:#FAFAFA;color:var(--ops-accent,#5C6B2E);font:inherit;font-size:16px;font-weight:700;cursor:pointer}
.order-empty-add:hover{background:#F7F8F1;border-color:var(--ops-accent,#5C6B2E)}
.order-add-more{margin-top:10px}
.order-advanced-line{margin-top:14px}
.order-advanced-line>summary{cursor:pointer;color:#666;font-size:13px}
.order-line-card{margin:0 0 12px;padding:14px;border:1px solid #E8E0E4;border-radius:6px;background:#FBF8F6}
.order-line-card>header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.order-line-card>header strong{display:block;font-size:15px}
.order-line-card>header em{display:block;margin-top:4px;color:var(--ops-accent,#5C6B2E);font-style:normal;font-size:18px;font-weight:700}
.order-line-remove{width:28px;height:28px;border:0;border-radius:999px;background:transparent;color:#999;font-size:20px;cursor:pointer}
.order-line-meta{margin:6px 0 10px;color:#888;font-size:12px}
.order-line-staff{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin:0 0 8px}
.order-line-staff-field{display:grid;gap:4px;font-size:12px;color:#666}
.order-line-staff-field select{min-width:140px;min-height:32px}
.order-line-links{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 8px}
.order-text-link{border:0;background:transparent;color:var(--ops-accent,#5C6B2E);font:inherit;font-size:13px;cursor:pointer;padding:0}
.order-line-panel{margin-top:8px;border:1px solid #E6E6E6;border-radius:4px;background:#fff}
.order-line-panel>summary{padding:10px 12px;cursor:pointer;font-size:13px;color:#444}
.order-line-panel form,.order-line-pay-grid{padding:0 12px 12px}
.order-line-pay-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.order-desk-side h3{margin:0;font-size:14px}
.order-side-block{margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid #EFEFEF}
.order-side-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.order-side-row{display:flex;justify-content:space-between;gap:12px;margin:4px 0;color:#444;font-size:14px}
.order-side-tools{display:flex;gap:8px;margin:0 0 12px}
.order-choice-panel{margin:0 0 12px;padding:12px}
.order-choice-list{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
.order-held-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.order-held-list button{width:100%;border:1px solid #E6E6E6;border-radius:4px;background:#fff;padding:10px 12px;text-align:left;font:inherit;cursor:pointer}
.order-held-list button:hover{border-color:var(--ops-accent,#5C6B2E)}
.order-side-totals{display:grid;gap:8px;margin:0 0 12px}
.order-side-totals div{display:flex;justify-content:space-between;gap:12px;color:#444;font-size:14px}
.order-side-totals .grand{padding-top:8px;border-top:1px solid #E6E6E6;font-weight:700;color:var(--ops-accent,#5C6B2E);font-size:16px}
.order-side-actions{display:grid;gap:8px;margin-top:12px}
.order-side-actions .button{width:100%}
.order-picker-backdrop{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(28,24,30,.42)}
.order-picker-scrim{position:absolute;inset:0;border:0;background:transparent;cursor:pointer}
.order-picker-modal{position:relative;z-index:1;display:flex;flex-direction:column;width:min(720px,100%);max-height:min(820px,92vh);border-radius:8px;background:#fff;box-shadow:0 24px 48px rgba(28,24,30,.22);overflow:hidden}
.order-picker-modal>header{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 18px;border-bottom:1px solid #E6E6E6;position:relative}
.order-picker-modal h2{margin:0;font-size:18px;font-weight:700}
.order-picker-modal .close-button{position:absolute;right:12px;top:12px}
.order-picker-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:10px;padding:12px 18px;border-bottom:1px solid #F0F0F0}
.order-picker-search input{border-color:var(--ops-accent,#5C6B2E)}
.order-picker-categories{display:grid;gap:2px;max-height:180px;overflow:auto;margin:12px 18px;padding:8px;border:1px solid var(--ops-accent,#5C6B2E);border-radius:4px}
.order-picker-category{display:block;width:100%;padding:8px 10px;border:0;border-radius:4px;background:transparent;color:#333;text-align:left;font:inherit;cursor:pointer}
.order-picker-category:hover{background:#F3F3F3}
.order-picker-category.selected{background:transparent;color:var(--ops-accent,#5C6B2E);font-weight:700}
.order-picker-list{overflow:auto;padding:0 18px 18px}
.order-picker-item{display:flex;align-items:center;gap:10px;width:100%;padding:12px 4px;border:0;border-bottom:1px solid #F0F0F0;background:transparent;color:#2C2C2C;text-align:left;font:inherit;cursor:pointer}
.order-picker-item span{flex:1}
.order-picker-item:hover{background:#F7F8F1}
.order-picker-item strong{color:#444;font-weight:700}
.order-picker-icon{width:22px;height:22px;flex:none;border-radius:4px;background:linear-gradient(135deg,#5C6B2E,#D7DEB8)}
.order-picker-icon.product{background:linear-gradient(135deg,#8E7CC3,#D9D2EC)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.order-desk-layout{grid-template-columns:1fr}.order-picker-toolbar{grid-template-columns:1fr}.order-line-pay-grid{grid-template-columns:1fr}}
.badge-off-shelf{display:inline-block;padding:2px 8px;border-radius:999px;background:#EEF2E2;color:#5C6B2E;font-size:11px;font-weight:700}
.category-select{display:flex;align-items:flex-start;gap:10px;width:100%;border:0;background:transparent;text-align:left;font:inherit;cursor:pointer;padding:0}
.category-select span{display:grid;gap:2px}
.category-type-icon{width:18px;height:18px;margin-top:2px;flex:none;border-radius:3px;background:#5C6B2E}
.category-icon-product{background:linear-gradient(135deg,#5C6B2E 55%,#fff 55%);box-shadow:inset 0 0 0 1px #5C6B2E}
.category-icon-voucher{background:#8E7CC3}
.category-icon-service{clip-path:polygon(20% 0,80% 0,100% 35%,55% 100%,45% 100%,0 35%)}
.category-tree li.selected{border-color:#5C6B2E;background:#F3F5E8}
.product-sheet{max-width:none;padding:8px 10px}
.product-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}
.product-sheet-head h2{margin:0;font-size:16px}
.product-sheet .form-actions{position:static;margin:0;padding:0;border:0;background:none}
.product-sheet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:start}
.product-sheet .member-panel{margin:0}
.product-sheet .member-panel-heading{padding:6px 10px;font-size:13px}
.product-sheet .member-panel-body{padding:8px 10px}
.product-sheet .form-grid{gap:6px 8px}
.product-sheet .field textarea{min-height:44px}
.product-sheet .note{margin:0;font-size:11px;line-height:1.4}
.category-sheet,.staff-sheet{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
.member-editor-layout{grid-template-columns:minmax(0,1fr)}
.member-editor-main.stack{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(220px,.75fr) minmax(220px,.75fr);gap:8px;align-items:start}
#member-basic .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#member-basic .wide,#member-basic .field.wide{grid-column:span 2}
.member-editor-anchors{display:none}
.member-editor-footer{position:static;margin:8px 0 0;padding:0;background:none;border:0}
.member-avatar-drop{min-height:56px;max-width:72px}
.member-editor-saydou .member-panel-body{padding:6px 8px}
.member-editor-saydou .field{gap:2px}
.member-editor-saydou .field input,.member-editor-saydou .field select{min-height:30px;padding:4px 8px}
.member-editor-saydou .field textarea{min-height:36px}
@media(max-width:1100px){.product-sheet-grid,.member-editor-main.stack{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.product-sheet-grid{grid-template-columns:1fr}}
.catalog-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 148px;gap:18px;align-items:start}
.catalog-editor-anchors{position:sticky;top:16px;display:grid;gap:8px;padding:10px 0}
.catalog-editor-anchors a{color:#5C6B63;text-decoration:none;font-size:13px;padding-left:8px;border-left:3px solid transparent}
.catalog-editor-anchors a:hover,.catalog-editor-anchors a:focus{color:#5C6B2E;border-left-color:#5C6B2E}
.staff-exclusive-list{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}
.staff-exclusive-list li{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:8px 10px;border:1px solid #E6E6E6;border-radius:4px}
.sales-overview-saydou{display:grid;gap:14px}
.sales-category-focus{display:grid;gap:12px;margin:12px 0}
.sales-category-focus h3{margin:0}
.sales-category-focus .sales-overview-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.sales-overview-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px 18px;border:1px solid #E6E6E6;border-radius:8px;background:#fff}
.sales-overview-summary span{display:block;color:#6B7280;font-size:12px}
.sales-overview-summary strong{display:block;margin-top:4px;color:#5C6B2E;font-size:28px;line-height:1.1}
.sales-overview-summary em{display:block;margin-top:4px;font-style:normal;font-size:18px;color:#1F2B26}
.sales-overview-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
@media(max-width:900px){
  .catalog-editor-layout{grid-template-columns:1fr}
  .catalog-editor-anchors{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .sales-overview-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.ops-dense-workspace .card{border-radius:4px;box-shadow:none;border:1px solid #E6E6E6}
.ops-dense-workspace .button,.ops-dense-workspace .catalog-icon-btn{box-shadow:none}
@media(max-width:700px){
  .catalog-crm-toolbar .member-crm-actions{margin-left:0;width:100%}
  .order-record-tabs button,.catalog-item-tabs button{padding:12px 14px}
}
.org-access-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.org-role-filter{display:grid;gap:8px;margin:12px 0}
.org-role-filter>span{font-size:12px;font-weight:700;color:#5C6B63}
.org-role-filter-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.org-role-chip{min-height:32px;padding:6px 12px;border:1px solid #C9D5CC;border-radius:999px;background:#fff;color:#5C6B63;font-size:12px;cursor:pointer}
.org-role-chip.on{border-color:#5C6B2E;background:#F7F8F1;color:#3E5248;font-weight:700}
.org-role-editor,.org-role-sort{margin:12px 0;padding:14px;border:1px solid #D7E0D8;border-radius:8px;background:#fff}
.org-role-sort-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid #E4EBE6}
.org-role-head{display:inline-flex;align-items:center;gap:6px}
.org-role-edit{min-width:28px;min-height:28px;padding:0;border:0;background:transparent;color:#5C6B63;cursor:pointer}
.org-perm-wrap{margin-top:8px}
.org-perm-matrix th,.org-perm-matrix td{text-align:center;vertical-align:middle}
.org-perm-matrix th:first-child,.org-perm-matrix td:first-child,.org-perm-matrix .org-perm-toggle{text-align:left}
.org-perm-toggle{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:#1F2B26;font:inherit;font-weight:700;cursor:pointer}
.org-perm-mark{min-width:40px;min-height:40px;padding:0;border:0;background:transparent;cursor:pointer}
.org-perm-yes{color:#C62828;font-size:20px;font-weight:800}
.org-perm-no{color:#C62828;font-size:18px;font-weight:700}
.org-perm-partial{color:#8A6412;font-size:18px;font-weight:700}
.org-perm-sub th,.org-perm-sub td{background:#F7F8F1;font-weight:500}
.org-perm-check{display:inline-flex;align-items:center;gap:6px;font-size:12px}

/* Teacher: magnetic day paint + thumb dock */
.teacher-filter-bar{display:grid;grid-template-columns:1fr;gap:8px;flex:none;position:relative;z-index:5}
.teacher-filter-bar.single{max-width:160px}
.teacher-filter-btn{width:100%;min-height:40px;margin:0;padding:8px 12px;border:0;border-radius:12px;background:#fff;color:#1F2B26;font-size:13px;font-weight:700;text-align:center;box-shadow:0 1px 0 rgba(44,74,62,.06);cursor:pointer}
.teacher-filter-btn.active,.teacher-filter-btn.open{background:#2C4A3E;color:#fff}
.teacher-filter-backdrop{align-items:stretch;justify-content:stretch;padding:0}
.teacher-filter-backdrop.compact{align-items:flex-start;justify-content:center;padding:10px;background:rgba(31,43,38,.28)}
.teacher-filter-sheet{position:relative;width:100%;max-width:none;height:100%;max-height:100%;margin:0;border-radius:0;display:flex;flex-direction:column;background:#F3F3F3;padding:0}
.teacher-confirm-layer{position:absolute;inset:0;z-index:40;display:grid;place-items:center;padding:24px;background:rgba(31,43,38,.45)}
.teacher-confirm-card{width:min(300px,100%);padding:22px 16px 12px;border-radius:16px;background:#fff;text-align:center}
.teacher-confirm-card p{margin:0 0 18px;color:#1F2B26;font-size:17px;font-weight:800;line-height:1.45}
.teacher-confirm-card div{display:grid;grid-template-columns:1fr 1fr}
.teacher-confirm-card button{min-height:44px;border:0;background:transparent;font-size:17px;font-weight:800;color:#6E7A72}
.teacher-confirm-card button.yes{color:#2F7D4A}
.form-error{margin:0 0 10px;color:#8A4A4A;font-size:16px;font-weight:800;line-height:1.4}
.teacher-filter-sheet.compact{width:min(100%,440px);height:auto;max-height:none;margin:8px auto 0;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 16px 40px rgba(31,43,38,.18)}
.teacher-filter-sheet-body{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:14px;padding:0 0 24px}
.teacher-filter-sheet-body.compact{gap:0;padding:0;overflow:visible}
.teacher-filter-compact{display:flex;flex-wrap:nowrap;align-items:flex-end;gap:8px;padding:10px 12px 14px;overflow-x:auto}
.teacher-filter-compact .field{margin:0;min-width:118px;flex:1 1 118px}
.teacher-filter-compact .field span{font-size:11px}
.teacher-filter-compact .field select{min-height:36px;font-size:14px}
.teacher-filter-compact .teacher-chip{flex:none;min-height:36px;padding:0 12px;font-size:13px}
.teacher-filter-head{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;min-height:52px;padding:8px 10px;background:#fff;border-bottom:1px solid #E6E6E6}
.teacher-filter-head h2{margin:0;text-align:center;font-size:17px;font-weight:800}
.teacher-filter-x,.teacher-filter-ok{min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:12px;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:#222}
.teacher-filter-ok{color:#5C6B2E;font-size:26px;font-weight:800}
.teacher-filter-block{display:grid;gap:8px;padding:0 12px}
.teacher-filter-cap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;color:#8B8B8B;font-size:12px;font-weight:700}
.teacher-filter-cap::before,.teacher-filter-cap::after{content:"";height:1px;background:#D9D9D9}
.teacher-filter-cap span{white-space:nowrap}
.teacher-filter-card{display:grid;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.teacher-filter-row{display:grid;grid-template-columns:22px 40px minmax(0,1fr);gap:12px;align-items:center;min-height:54px;margin:0;padding:10px 14px;border-bottom:1px solid #F0F0F0;font-size:15px;font-weight:600;color:#222;cursor:pointer}
.teacher-filter-row:last-child{border-bottom:0}
.teacher-filter-row input{width:18px;height:18px;accent-color:#5C6B2E}
.teacher-filter-pic{width:40px;height:40px;border-radius:10px;display:block;background:#EEE center/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.teacher-filter-pic.all{background:linear-gradient(135deg,#F3F3F3,#E5E5E5)}
.teacher-filter-pic.leave{background:linear-gradient(135deg,#F8D4D4,#E57373)}
.teacher-filter-pic.rental{background:linear-gradient(135deg,#D6E6F5,#64B5F6)}
.teacher-filter-pic.booking{background:linear-gradient(135deg,#D9F0D4,#81C784)}
.teacher-filter-pic.pending{background:linear-gradient(135deg,#FFE6B0,#FFB74D)}
.teacher-filter-pic.completed{background:linear-gradient(135deg,#DDE3E0,#90A4AE)}
.teacher-filter-pic.cancelled,.teacher-filter-pic.deleted{background:linear-gradient(135deg,#F0D0D0,#E57373)}
.teacher-filter-card.extras{display:grid;gap:0}
.teacher-filter-extra{width:100%;min-height:52px;margin:0;padding:12px 14px;border:0;border-bottom:1px solid #F0F0F0;background:#fff;color:#222;font-size:15px;font-weight:700;text-align:left;cursor:pointer}
.teacher-filter-extra:last-child{border-bottom:0}
.teacher-saydou-bar.agenda-tools{flex-wrap:nowrap;overflow-x:auto}
.teacher-week-heads.saydou{background:#fff;border-radius:10px;padding:2px;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.teacher-week-heads.saydou .teacher-week-head span{margin-top:0;min-width:14px;padding:0 3px;border-radius:999px;background:#F3F5E8;color:#5C6B2E;font-size:9px;font-weight:800}
.teacher-week-heads.saydou .teacher-week-head.on{background:#5C6B2E}
.teacher-week-heads.saydou .teacher-week-head.on span{background:rgba(255,255,255,.22);color:#fff}
.teacher-week-chip.on{background:#5C6B2E}
.teacher-page-sheet-main{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:10px;padding:10px 12px 24px}
.teacher-page-form{gap:12px}
.teacher-filter-card.pad{padding:12px 14px}
.teacher-filter-ok.spacer{visibility:hidden;pointer-events:none}
.form-actions.sheet-foot{padding:4px 0 0;justify-content:flex-end}
.teacher-day-sheet-hero{display:flex;align-items:center;gap:12px;padding:4px 2px 8px}
.teacher-day-sheet-hero.compact{padding:0 2px 10px;flex:none}
.teacher-day-sheet-hero.centered{justify-content:center;text-align:center}
.teacher-day-sheet-hero strong{display:block;font-size:22px;font-weight:800;line-height:1.2}
.teacher-day-sheet-hero.compact strong{font-size:20px}
.teacher-day-sheet-hero small{display:block;margin-top:4px;color:#8B8B8B;font-size:12px}
.teacher-agenda-list{flex:none;min-height:0;overflow:visible;display:grid;align-content:start;gap:8px;padding:4px 0 8px}
.teacher-agenda-list.compact{flex:none;gap:0;padding:0;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 1px 0 rgba(0,0,0,.04);align-content:start;grid-auto-rows:min-content}
.teacher-agenda-row{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:start;align-content:start;justify-items:start;margin:0;padding:10px 14px;min-height:0;height:auto;border:0;border-radius:0;background:#fff;color:inherit;text-align:left;box-shadow:none;border-bottom:1px solid #F3F3F3;cursor:pointer}
.teacher-agenda-row:last-child{border-bottom:0}
.teacher-agenda-row.static{cursor:default}
.teacher-agenda-time,.teacher-agenda-bar,.teacher-agenda-avatar{display:none}
.teacher-agenda-copy{display:grid;gap:2px;align-content:start;justify-items:start;min-width:0;width:100%;font-size:14px;font-weight:700;line-height:1.25}
.teacher-agenda-copy strong{font-size:15px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.25}
.teacher-agenda-copy em{font-style:normal;color:#8B95A3;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3}
.teacher-agenda-cal{display:grid;gap:0;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.teacher-agenda-cal-row{display:grid;grid-template-columns:3px minmax(0,1fr);gap:12px;align-items:center;margin:0;padding:14px 16px;border:0;border-bottom:1px solid #F0F0F0;border-radius:0;background:#fff;color:inherit;text-align:left;cursor:pointer}
.teacher-agenda-cal-row:last-child{border-bottom:0}
.teacher-agenda-cal-row.static{cursor:default}
.teacher-agenda-cal-bar{align-self:stretch;width:3px;min-height:24px;border-radius:2px;background:#F0B429}
.teacher-agenda-cal-bar.confirmed,.teacher-agenda-cal-bar.arrived,.teacher-agenda-cal-bar.accepted{background:#2FA4A0}
.teacher-agenda-cal-bar.pending{background:#F0B429}
.teacher-agenda-cal-bar.completed{background:#9AA7B2}
.teacher-agenda-cal-bar.cancelled,.teacher-agenda-cal-bar.deleted,.teacher-agenda-cal-bar.leave{background:rgba(198,40,40,.35)}
.teacher-agenda-cal-bar.rental{background:#64B5F6}
.teacher-agenda-cal-bar.own{background:#FFB74D}
.teacher-agenda-cal-copy{display:grid;gap:0;min-width:0}
.teacher-agenda-cal-copy strong{font-size:15px;font-weight:800;color:#222;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.teacher-day-sheet-hero.compact{justify-content:flex-start;text-align:left}
.teacher-hours-note{margin:0;color:#666;font-size:13px;line-height:1.45}
.teacher-hours-day{display:grid;gap:8px;padding:12px;border-radius:14px;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.teacher-hours-day.on{outline:2px solid #5C6B2E}
.teacher-hours-day-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.teacher-hours-day-head strong{font-size:16px}
.teacher-hours-day-head em{font-style:normal;font-weight:800;color:#2C6B4A}
.teacher-hours-day.off .teacher-hours-day-head em,.teacher-hours-day.leave .teacher-hours-day-head em{color:#8B8B8B}
.teacher-hours-presets{display:flex;flex-wrap:wrap;gap:6px}
.teacher-hours-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1 1 calc(20% - 6px);min-width:56px;min-height:52px;padding:4px 6px;border:1px solid #C9D4CC;border-radius:14px;background:transparent;color:#222;font-weight:700;line-height:1.15}
.teacher-hours-chip small{font-size:10px;font-weight:650;color:#5C6B63}
.teacher-hours-chip.on small{color:#fff}
.teacher-hours-chip.on{background:#5C6B2E;border-color:#5C6B2E;color:#fff}
.teacher-hours-times{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:end}
.teacher-hours-span{grid-column:1 / -1;margin:0;color:#5C6B63;font-size:13px;font-weight:700}
.teacher-hours-to{padding-bottom:10px;color:#5C6B63;font-weight:800}
.teacher-hours-picks{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.teacher-hours-picks .teacher-mark-day:disabled{opacity:.4;cursor:default;background:#F6F6F6}
.teacher-hours-summary{display:grid;gap:6px}
.teacher-filter-sheet-body:has(.teacher-hours-scroll){overflow:hidden}
.teacher-page-sheet-main:has(.teacher-hours-scroll){overflow:hidden}
.teacher-hours-scroll{flex:1;min-height:0;overflow:auto;display:grid;gap:10px;align-content:start}
.teacher-hours-actions{display:grid;gap:8px;flex:none;margin-top:12px;padding:12px 0 calc(24px + env(safe-area-inset-bottom,0px));background:transparent}
.teacher-hours-actions .button{width:100%;min-height:46px}
.teacher-hours-actions.month{grid-template-columns:1fr 2fr;gap:8px;align-items:end}
.teacher-hours-actions.month .button{width:100%;min-height:52px}
.teacher-hours-cancel-wrap{position:relative;display:grid}
.teacher-hours-cancel-btn{font-size:14px;font-weight:800}
.teacher-hours-cancel-menu{position:absolute;left:0;right:0;bottom:calc(100% + 6px);display:grid;gap:0;padding:4px;border:1px solid #E4EBE6;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(31,43,38,.12);z-index:5}
.teacher-hours-cancel-menu button{min-height:44px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:#1F2B26;font-size:14px;font-weight:800;text-align:left}
.teacher-hours-cancel-menu button:active{background:#F3F6F2}
.teacher-hours-quick-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.teacher-hours-quick{grid-column:span 2;min-height:44px;padding:6px 4px;border:1px solid #E4EBE6;border-radius:10px;background:#fff;color:#333;font-size:13px;font-weight:700;line-height:1.2}
.teacher-hours-quick.clear-picked{grid-column:span 6}
.teacher-hours-month-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 2px}
.teacher-hours-month-nav strong{flex:1;text-align:center;font-size:16px;font-weight:800;color:#1F2B26}
.teacher-hours-month-nav button{width:40px;min-height:40px;border:1px solid #E4EBE6;border-radius:10px;background:#fff;color:#2C4A3E;font-size:22px;line-height:1;font-weight:700}
.teacher-hours-picked-block{display:grid;gap:6px}
.teacher-hours-picked-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.teacher-hours-picked-label{margin:0;color:#5C6B63;font-size:13px;font-weight:800}
.teacher-hours-unpick-all{border:0;background:transparent;color:#8A4A4A;font-size:13px;font-weight:800;cursor:pointer;padding:0}
.teacher-hours-picked{display:flex;flex-wrap:wrap;gap:8px;min-height:32px}
.teacher-hours-picked-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px 4px 12px;border-radius:999px;background:#E7EBE6;color:#2C4A3E;font-size:13px;font-weight:700}
.teacher-hours-picked-chip button{border:0;background:transparent;color:#6E6E73;cursor:pointer;font-size:16px;line-height:1;padding:0 2px}
.teacher-hours-month-head,.teacher-hours-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.teacher-hours-month-head span{text-align:center;color:#8B8B8B;font-size:12px;font-weight:700}
.teacher-hours-month-day{min-height:36px;border:1px solid #E5E5E5;border-radius:10px;background:#fff;color:#222;font-weight:800}
.teacher-hours-month-day.on{border-color:#5C6B2E;background:#5C6B2E;color:#fff}
.teacher-hours-count{margin:0;color:#5C6B63;font-size:13px;font-weight:700}
.teacher-hours-confirm{display:grid;gap:10px;margin:0 0 8px;padding:12px;border-radius:14px;background:#fff;border:1px solid #E4EBE6}
.teacher-hours-confirm p{margin:0;color:#1F2B26;font-size:14px;line-height:1.45}
.teacher-hours-confirm div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.teacher-hours-editor{display:grid;gap:8px;overflow:visible}
.teacher-hours-slot{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 40px;gap:8px;align-items:end;overflow:visible}
.teacher-hours-remove{width:40px;min-width:40px;min-height:42px;padding:0;border:0;background:transparent;color:#8A4A4A;font-size:22px;line-height:1;font-weight:800;z-index:1}
.teacher-hours-add{min-height:42px;border:1px dashed #C9D4CC;border-radius:12px;background:transparent;color:#2C4A3E;font-weight:800}
.teacher-day-hours{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;margin:0 1px;overflow:hidden;color:#2C6B4A;font-size:10px;font-weight:700;line-height:1.15;text-align:center;white-space:normal;text-overflow:clip}
.teacher-day-hours.open{font-size:10px;line-height:1.15}
.teacher-day-hours.open span{display:block;max-width:100%;line-height:1.15}
.teacher-day-hours.leave{display:block;color:#1B3A1F;white-space:nowrap}
.teacher-day-count{align-self:center;min-width:24px;height:24px;margin-top:2px;padding:0 6px;border-radius:999px;background:#C8DDB4;color:#3E5640;font-size:15px;font-weight:800;line-height:24px;text-align:center}
.teacher-day-status{display:flex;justify-content:space-between;gap:8px;margin:0 0 8px;padding:10px 12px;border-radius:12px;background:#F6F6F6}
.teacher-day-status span{font-size:13px;font-weight:800}
.teacher-day-status strong{font-size:13px}
.teacher-day-status.open{background:#E7F2EA;color:#1B3A1F}
.teacher-day-status.rest{background:#F3F3F3;color:#6E7A72}
.teacher-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 10px;padding:2px 8px 8px}
.teacher-legend span{display:inline-flex;align-items:center;gap:4px;color:#5C6B63;font-size:11px;font-weight:700}
.teacher-legend .day-strip{width:14px;height:10px;min-height:10px;max-height:10px;padding:0}
.teacher-legend .day-strip.open{background:#A5D6A7}
.teacher-legend .day-strip.rest{background:#E0E0E0}
.teacher-week-setup{display:grid;gap:0;margin:0 0 4px;padding:4px;border-radius:12px;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.teacher-week-setup-option{display:flex;align-items:center;gap:10px;min-height:40px;margin:0;padding:8px 12px;border-radius:10px;font-size:14px;font-weight:700;color:#222;cursor:pointer}
.teacher-week-setup-option:hover{background:#F7F7F7}
.teacher-week-setup-option input{width:18px;height:18px;accent-color:#5C6B2E}
.teacher-booking-card.compact{margin:0;padding:14px 16px;border-radius:14px;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.04);display:grid;gap:4px}
.teacher-booking-card.compact .teacher-booking-service{margin:0;font-size:15px;font-weight:700;color:#222}
.teacher-booking-card.compact .teacher-booking-time{margin:2px 0 0;font-size:22px;font-weight:800;color:#2C6B4A;letter-spacing:.02em}
.teacher-booking-card.compact .teacher-booking-date{margin:0;font-size:13px;color:#8B8B8B}
.teacher-booking-card.compact .teacher-booking-customer{margin:2px 0 0;font-size:14px;font-weight:700;color:#222}
.teacher-saydou-bar .teacher-chip.accent{border-color:#5C6B2E;color:#5C6B2E;background:#F3F5E8}
.teacher-month-tools .teacher-chip[data-action="teacher-hours-open"]:active{border-color:#5C6B2E;color:#5C6B2E;background:#F3F5E8}
.teacher-saydou-bar.paint{gap:8px;justify-content:flex-end}
.teacher-board.week-grid .teacher-saydou-bar{min-height:0;gap:6px}
.teacher-saydou-bar.week-actions{display:grid;gap:8px;justify-items:stretch;width:100%}
.teacher-week-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
.teacher-week-actions .teacher-chip{width:100%;min-height:40px}
.teacher-week-actions .teacher-chip:active{border-color:#5C6B2E;color:#5C6B2E;background:#F3F5E8}
.teacher-week-actions.side{display:flex;justify-content:flex-end;gap:8px}
.teacher-week-actions.side .teacher-chip{width:auto}
.teacher-week-hint{margin:0;color:#5C6B63;font-size:12px;font-weight:700;line-height:1.4;text-align:center}
.teacher-mark-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.teacher-mark-day{display:grid;justify-items:center;gap:1px;min-height:46px;margin:0;padding:4px 0;border:1px solid #E5E5E5;border-radius:10px;background:#fff;color:#333;cursor:pointer}
.teacher-mark-day em{font-style:normal;font-size:10px;font-weight:700;color:#8B8B8B}
.teacher-mark-day strong{font-size:14px;line-height:1}
.teacher-mark-day.on{border-color:#5C6B2E;background:#F3F5E8;color:#5C6B2E}
.teacher-mark-day.on em{color:#5C6B2E}
.teacher-board.week-grid .teacher-chip{min-height:32px;padding:0 10px;font-size:13px}
.teacher-board.week-grid .teacher-week-actions:not(.side) .teacher-chip{min-height:42px;font-size:14px}
.teacher-paint-status{min-width:1em;color:#5C6B2E;font-size:16px;font-weight:800}
.teacher-paint-status[data-status="dirty"]::before{content:"●"}
.teacher-paint-status[data-status="saving"]::before{content:"…"}
.teacher-paint-status[data-status="saved"]::before{content:"✓"}
.teacher-week-heads.saydou{display:grid;grid-template-columns:42px repeat(7,minmax(0,1fr));gap:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-x;scrollbar-width:none;flex:none}
.teacher-week-heads.saydou::-webkit-scrollbar{display:none}
.teacher-week-heads.saydou .teacher-week-head{min-width:0}
.teacher-week-rail-head{display:block}
.settings-panel-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.settings-panel-tabs button{min-height:36px;padding:0 14px;border:1px solid #D7E0D8;border-radius:999px;background:#fff;color:#5C6B63;font:inherit;font-size:13px;font-weight:650;cursor:pointer}
.settings-panel-tabs button.on,.settings-panel-tabs button[aria-current="page"]{border-color:#5C6B2E;background:#E7EFEA;color:#2C4A3E}
.teacher-board.month-board{position:relative}
.teacher-fab-wrap{position:fixed;right:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:40;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.teacher-fab{width:56px;height:56px;border:0;border-radius:50%;background:#2C4A3E;color:#fff;font-size:32px;line-height:1;font-weight:500;box-shadow:0 8px 20px rgba(31,43,38,.28);cursor:pointer}
.teacher-fab-menu{display:grid;gap:6px;min-width:148px;padding:8px;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(31,43,38,.18)}
.teacher-fab-menu button{min-height:44px;margin:0;padding:0 14px;border:0;border-radius:12px;background:#F4F7F2;color:#1F2B26;font:inherit;font-size:15px;font-weight:800;text-align:left;cursor:pointer}
.teacher-week-popup{display:flex;flex-direction:column;height:calc(100dvh - 8px);min-height:0}
.teacher-week-popup .teacher-board.week-grid{flex:1;min-height:0}
.teacher-board.week-grid,.teacher-board.week-grid.compact.fill{background:#fff}
/* 未選服務時段＝白底；只有已選／已存可服務區間才橄欖綠 */
.teacher-week-paint-slot:not(.on){background:transparent}
.teacher-week-board{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.teacher-week-board.fit{display:grid;grid-template-columns:42px minmax(0,1fr);overflow:hidden}
.teacher-week-rail{position:relative;z-index:6;display:grid;grid-template-rows:repeat(var(--teacher-hour-rows, 11),minmax(0,1fr));background:#fff;border-right:1px solid #E4EBE6;pointer-events:none}
.teacher-week-rail span{display:flex;align-items:flex-start;justify-content:flex-end;padding:1px 4px 0 0;color:#1A1A1A;font-size:11px;line-height:1;font-variant-numeric:tabular-nums;font-weight:800}
.teacher-week-cols{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));height:100%;min-height:0;position:relative;touch-action:none;background:#fff;border:1px solid #E4EBE6}
/* 週行事曆底色一律白；只有 .teacher-week-open（可服務時段）才上淺橄欖綠 */
.teacher-week-col{position:relative;min-width:0;height:100%;border-left:1px solid #E4EBE6;background:#fff;cursor:pointer;box-shadow:none}
.teacher-week-col:first-child{border-left:0}
.teacher-week-col.on,.teacher-week-col.painting,.teacher-week-col.paint-band{background:#fff;box-shadow:none;outline:none}
.teacher-week-col.painting{cursor:crosshair;touch-action:none}
.teacher-week-time-labels{position:absolute;inset:0;z-index:5;display:grid;grid-template-rows:repeat(12,minmax(0,1fr));pointer-events:none}
.teacher-week-time-labels span{display:flex;align-items:flex-start;justify-content:flex-start;padding:1px 0 0 2px;color:#1A1A1A;font-size:11px;line-height:1;font-variant-numeric:tabular-nums;font-weight:900;-webkit-text-stroke:0;text-shadow:none}
.teacher-week-col.has-time .teacher-week-open,.teacher-week-col.has-time .teacher-week-paint-slot,.teacher-week-col.has-time .teacher-week-block{left:1px;right:1px}
.teacher-week-lines{position:absolute;inset:0;display:grid;grid-template-rows:repeat(var(--teacher-hour-rows, 11),minmax(0,1fr));pointer-events:none;z-index:0}
.teacher-week-lines i{border-bottom:1px solid #E4EBE6;box-sizing:border-box}
.teacher-week-lines i:last-child{border-bottom:0}
.teacher-open-host{position:absolute;inset:0;pointer-events:none;z-index:1}
.teacher-week-open{position:absolute;left:0;right:0;border-radius:0;background:#C9D9B8;border:0;box-shadow:none;z-index:1}
.teacher-week-open.draft{background:#BDD0AA;box-shadow:none;z-index:2}
.teacher-board.week-grid.open-paint:not(.closed-paint) .teacher-week-paint-slot.on{background:#C9D9B8;box-shadow:none}
.teacher-board.week-grid.closed-paint .teacher-week-paint-slot.on{background:#E8D4D4;box-shadow:none}
.teacher-board.week-grid.booked-paint .teacher-week-paint-slot.on{background:#D6E4F2;box-shadow:none}
.teacher-board.week-grid.venue-paint .teacher-week-paint-slot.on{background:#EAD9C8;box-shadow:none}
.teacher-paint-layer{position:absolute;inset:0;z-index:4;touch-action:none}
.teacher-paint-layer:focus,.teacher-week-col.painting:focus,.teacher-week-paint-slot:focus{outline:none}
.teacher-week-paint-slot{position:absolute;left:0;right:0;border-radius:0;pointer-events:none;box-sizing:border-box;background:transparent}
.teacher-week-paint-slot.on{background:#C9D9B8;box-shadow:none}
.teacher-week-col.painting .teacher-paint-hud{z-index:6}
.teacher-week-col.painting .teacher-open-host{z-index:2}
.teacher-week-block{position:absolute;left:3px;right:3px;z-index:2;display:grid;align-content:start;gap:1px;margin:0;padding:3px 4px;border:0;border-radius:8px;overflow:hidden;color:#222;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.teacher-week-block strong{font-size:12px;font-weight:800;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.teacher-week-block em{font-style:normal;font-size:11px;font-weight:700;opacity:.9}
.teacher-week-block span{font-size:11px;line-height:1.25;opacity:.85;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.teacher-week-block.pending{background:#FFE082}
.teacher-week-block.confirmed,.teacher-week-block.arrived{background:#C8DDB4}
.teacher-week-block.completed{background:#CFD8DC}
.teacher-week-block.cancelled,.teacher-week-block.deleted{background:#F3D4D4}
.teacher-week-block.leave{background:rgba(198,40,40,.12)}
.teacher-week-block.rental{background:#90CAF9}
.teacher-week-block.own{background:#FFCC80}
.teacher-week-heads.saydou .teacher-week-head.wknd em,.teacher-week-heads.saydou .teacher-week-head.wknd strong{color:#5C6B2E}
.teacher-week-heads.saydou .teacher-week-head.on.wknd em,.teacher-week-heads.saydou .teacher-week-head.on.wknd strong{color:#fff}
.teacher-board.week-grid{gap:4px}
.teacher-paint-modes{display:flex;flex-wrap:wrap;gap:8px;flex:none}
.teacher-mode{display:inline-flex;gap:6px;align-items:center;min-height:36px;padding:4px 10px;border-radius:999px;background:#fff;font-size:12px;font-weight:700}
.teacher-mode.on{background:#E8F2E4;box-shadow:inset 0 0 0 1px #5C6B2E}
.teacher-mode input{position:absolute;opacity:0;pointer-events:none}
.teacher-mode .swatch{width:12px;height:12px;border-radius:3px}
.teacher-mode .swatch.open{background:rgba(44,74,62,.1)}
.teacher-mode .swatch.own{background:#E7D0A4}
.teacher-override-note{margin:0;color:#8A6A3A;font-size:11px}
.teacher-week-heads{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;flex:none}
.teacher-week-head{display:grid;justify-items:center;gap:0;min-height:0;margin:0;padding:2px 1px;border:0;border-radius:8px;background:#fff;color:#5C6B63;cursor:pointer}
.teacher-week-head em{font-style:normal;font-size:10px;line-height:1.1;font-weight:800}
.teacher-week-head strong{font-size:13px;font-weight:800;color:#1F2B26;line-height:1.15}
.teacher-week-head.on{background:#2C4A3E;color:#fff}
.teacher-week-head.on strong,.teacher-week-head.on em{color:#fff}
.teacher-week-head.today strong{color:#2C6B4A}
.teacher-week-head.on.today strong{color:#fff}
.teacher-board .teacher-day-board{flex:1;min-height:0}
.teacher-board .teacher-day-board.agenda{display:flex;flex-direction:column;gap:6px;flex:1;min-height:0}
.teacher-album-grid{flex:1;min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:4px 0 8px;align-content:start}
.teacher-album-grid figure{position:relative;margin:0;display:grid;gap:6px;border-radius:12px;background:#fff;padding:0 0 8px;overflow:hidden;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.teacher-album-grid img{width:100%;aspect-ratio:1;object-fit:cover;display:block;background:#ddd}
.teacher-album-caption{display:grid;gap:4px;margin:0 8px;color:#5C6B63;font-size:12px;font-weight:700}
.teacher-album-caption input{width:100%;min-height:36px;padding:6px 8px;border:1px solid #E4EBE6;border-radius:10px;font:inherit;font-size:13px;font-weight:650;color:#1F2B26}
.teacher-album-del{position:absolute;top:4px;right:4px;width:28px;height:28px;border:0;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font-size:16px;cursor:pointer;z-index:1}
.teacher-admin-works{display:grid;gap:10px;margin:0 0 10px}
.teacher-admin-work{display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:10px;align-items:end;padding:10px;border:1px solid #E4EBE6;border-radius:12px;background:#fff}
.teacher-admin-work img{width:88px;height:88px;object-fit:cover;border-radius:10px;background:#ddd}
.teacher-admin-upload{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.teacher-upload-btn{display:grid;place-items:center;cursor:pointer}
.teacher-crop-panel{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;padding:4px 0}
.teacher-crop-stage{position:relative;flex:1;min-height:240px;border-radius:16px;overflow:hidden;background:#111;display:grid;place-items:center}
.teacher-crop-stage img{max-width:100%;max-height:100%;display:block}
.teacher-crop-frame{position:absolute;left:12%;top:12%;width:76%;height:76%;border:2px solid #fff;box-shadow:0 0 0 999px rgba(0,0,0,.45);border-radius:8px;pointer-events:none}
.teacher-shell{display:flex;flex-direction:column;height:100dvh;max-height:100dvh;min-height:0;overflow:hidden;padding:0;background:#F7F7F7}
.teacher-shell .teacher-content{flex:1;min-height:0;display:flex;flex-direction:column;padding:8px 10px calc(10px + env(safe-area-inset-bottom));max-width:none;margin:0}
.teacher-board.saydou{gap:10px;background:transparent}
.teacher-saydou-bar{display:flex;align-items:center;gap:8px;flex:none;flex-wrap:wrap;min-height:44px}
.teacher-saydou-bar.leave{justify-content:flex-end}
.teacher-saydou-bar.month-nav{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:56px;position:relative;z-index:3}
.teacher-month-cluster{display:inline-flex;align-items:center;gap:2px;margin-right:auto;min-width:0}
.teacher-month-cluster.centered{margin:0 auto;justify-content:center;width:100%}
.teacher-month-tools{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;width:100%}
.teacher-month-label{font-size:18px;font-weight:800;color:#222;letter-spacing:.01em;white-space:nowrap;text-align:center}
.teacher-month-step{min-width:76px;min-height:48px;margin:0;padding:0 16px;border:1px solid #C9D4CC;border-radius:12px;background:#fff;color:#1F2B26;font-size:16px;font-weight:800;line-height:1;cursor:pointer}
.teacher-month-step:active{background:#E7EFEA}
.teacher-chip{min-height:34px;margin:0;padding:0 12px;border:1px solid #E5E5E5;border-radius:10px;background:#fff;color:#333;font-size:13px;font-weight:700;cursor:pointer;box-shadow:0 1px 0 rgba(0,0,0,.03)}
.teacher-chip.on{border-color:#5C6B2E;color:#5C6B2E;background:#F3F5E8}
.teacher-board.month-board{position:relative}
.teacher-paint-hint{flex:1;min-width:0;color:#5C6B63;font-size:13px;font-weight:700}
.teacher-mark-plain{gap:12px;padding:8px 4px 0}
.teacher-mark-plain .teacher-mark-when{margin:0 0 4px;color:#5C6B63;font-size:14px;font-weight:700}
.teacher-mark-plain .teacher-mark-times{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}
.teacher-mark-plain .field{margin:0}
.teacher-mark-plain .field input,
.teacher-mark-plain .field select,
.teacher-mark-plain .field textarea{width:100%;min-height:46px;padding:12px 14px;border:1px solid #E4EBE6;border-radius:10px;background:#fff;font:inherit;font-size:16px}
.teacher-mark-plain .field textarea{min-height:96px;resize:vertical}
.teacher-mode .swatch.venue{background:#9BC7E8}
.teacher-calendar.saydou{display:flex;flex-direction:column;background:#fff;border-radius:16px;padding:0;box-shadow:0 1px 0 rgba(0,0,0,.04);flex:1;min-height:0;overflow:auto;border:1px solid #E6E0D6}
.teacher-calendar.saydou .calendar-head{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;flex:none;padding:0;border:0;border-bottom:1px solid #E6E0D6;background:#F3EFE6}
.teacher-calendar.saydou .calendar-head span{display:grid;place-items:center;padding:8px 0;color:#8B8B8B;font-size:12px;font-weight:700;text-align:center;border-right:1px solid #E6E0D6}
.teacher-calendar.saydou .calendar-head span:last-child{border-right:0}
.teacher-calendar.saydou .calendar-head span.wknd{color:#5C6B2E}
.teacher-calendar.saydou .calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));align-items:stretch;flex:none;grid-auto-rows:96px}
.teacher-calendar.saydou .day{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;-webkit-appearance:none;appearance:none;min-height:96px;height:96px;border:0;border-right:1px solid #E6E0D6;border-bottom:1px solid #E6E0D6;border-radius:0;-webkit-border-radius:0;background:#fff;box-shadow:none;padding:0;overflow:hidden;text-align:center;color:#222;outline:none;-webkit-tap-highlight-color:transparent}
.teacher-calendar.saydou .day:focus,.teacher-calendar.saydou .day:focus-visible{outline:none}
.teacher-calendar.saydou .day.is-bare{background:#fff;box-shadow:none}
.teacher-calendar.saydou .teacher-day-face{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:0;padding:6px 2px 8px;overflow:hidden;pointer-events:none}
.teacher-calendar.saydou .day:nth-child(7n){border-right:0}
.teacher-calendar.saydou .day.pad{visibility:hidden;background:#FAF8F4;pointer-events:none}
.teacher-calendar.saydou .day-number{display:block;flex:none;width:auto;height:22px;min-height:22px;margin:0 0 2px;padding:0;border-radius:0;background:transparent;font-size:16px;font-weight:800;line-height:22px;color:#222;text-align:center;font-variant-numeric:tabular-nums}
.teacher-calendar.saydou .teacher-day-hours{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;width:100%;height:26px;min-height:26px;max-height:26px;margin:0;padding:0;overflow:hidden;border:0;outline:0;background:transparent;box-shadow:none;font-size:10px;line-height:1.15;text-align:center;color:#2C6B4A;white-space:normal;text-overflow:clip}
.teacher-calendar.saydou .teacher-day-hours.open span{display:block;height:auto;max-width:100%;line-height:1.15;overflow:visible;text-overflow:clip}
.teacher-calendar.saydou .teacher-day-hours.leave,.teacher-calendar.saydou .teacher-day-hours.closed{font-size:12px;font-weight:800;line-height:26px}
.teacher-calendar.saydou .teacher-day-hours.closed{color:#8A4A4A}
.teacher-calendar.saydou .teacher-day-hours.is-empty{visibility:hidden}
.teacher-calendar.saydou .teacher-day-foot{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:none;width:100%;margin-top:auto;min-height:24px}
.teacher-calendar.saydou .teacher-day-count{display:grid;place-items:center;flex:none;align-self:center;min-width:22px;height:22px;margin:0;padding:0 6px;border-radius:999px;background:#C8DDB4;color:#3E5640;font-size:14px;font-weight:800;line-height:22px}
.teacher-calendar.saydou .teacher-day-count.is-empty{visibility:hidden;background:transparent;min-width:22px}
.teacher-calendar.saydou .day.wknd .day-number{color:#5C6B2E}
.teacher-calendar.saydou .day.selected:not(.today){box-shadow:inset 0 0 0 2px #5C6B2E;background:#F7F8F1}
.teacher-calendar.saydou .day.selected:not(.today):not(.has-leave) .day-number{background:transparent;color:#5C6B2E}
.teacher-calendar.saydou .day.selected.wknd:not(.today):not(.has-leave) .day-number{color:#5C6B2E}
.teacher-calendar.saydou .day-sum,.teacher-calendar.saydou .day-tip{display:none}
.teacher-calendar.saydou .day.has-leave{background:#fff}
.teacher-calendar.saydou .day.has-leave .day-number{color:#222}
.teacher-calendar.saydou .day.today,
.teacher-calendar.saydou .day.today.has-leave,
.teacher-calendar.saydou .day.today.selected,
.teacher-calendar.saydou .day.today.is-bare{background:#fff;box-shadow:inset 0 0 0 2px #5C6B2E}
.teacher-calendar.saydou .day.today .day-number{background:transparent;color:#222}
.teacher-calendar.saydou .day.today.wknd .day-number{background:transparent;color:#5C6B2E}
.teacher-calendar.saydou .day-leave-tag{display:none}
.teacher-calendar.saydou .day-open-dot{display:none}
.teacher-calendar.saydou .day-strips{display:flex;flex-direction:column;gap:2px;margin-top:2px;max-height:58px;overflow:hidden;width:100%;min-width:0}
.teacher-calendar.saydou .day-strip{display:block;min-height:16px;max-height:16px;padding:0 4px;border-radius:3px;font-size:10px;font-weight:700;line-height:16px;color:#3A2F14;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.teacher-calendar.saydou .day-strip.pending{background:#FFE082}
.teacher-calendar.saydou .day-strip.confirmed,.teacher-calendar.saydou .day-strip.arrived{background:#C8DDB4}
.teacher-calendar.saydou .day-strip.completed{background:#CE93D8;color:#3A2440}
.teacher-calendar.saydou .day-strip.cancelled,.teacher-calendar.saydou .day-strip.deleted{background:#EF9A9A}
.teacher-calendar.saydou .day-strip.leave{background:#A5D6A7;color:#1B3A1F}
.teacher-calendar.saydou .day-strip.rental{background:#90CAF9;color:#0D2F4A}
.teacher-calendar.saydou .day-strip.own{background:#FFCC80}
.teacher-dock.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.teacher-dock.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.teacher-shell .teacher-loading{margin:0 0 6px;padding:6px 10px;font-size:12px}
.teacher-shell .status,.teacher-filter-sheet>.status{display:none}
.teacher-board.compact{margin:0}
.teacher-board.fill{flex:1;min-height:0;display:flex;flex-direction:column;gap:6px}
.teacher-day-board{flex:1;min-height:0;display:flex;flex-direction:column;gap:6px;position:relative}
.teacher-day-board.premium{gap:5px}
.teacher-toolbar{display:flex;align-items:center;gap:4px;flex:none;min-height:40px;padding:0;margin:0}
.teacher-toolbar.month{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px}
.teacher-month-title{flex:1;text-align:center;font-size:15px}
.teacher-day-nav{flex:none;min-width:40px;min-height:40px;margin:0;padding:0;border:0;border-radius:12px;background:#fff;color:#2C4A3E;font-size:22px;line-height:1;box-shadow:0 1px 0 rgba(44,74,62,.06);cursor:pointer}
.teacher-day-title{display:grid;gap:0;flex:1 1 auto;min-width:0;min-height:40px;padding:4px 8px;border:0;border-radius:12px;background:#fff;color:inherit;text-align:center;box-shadow:0 1px 0 rgba(44,74,62,.06);cursor:pointer}
.teacher-day-title strong{font-size:14px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.teacher-day-title small{color:#5C6B63;font-size:11px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.teacher-toolbar-actions{display:flex;flex:none;gap:3px;align-items:center;margin-left:2px;max-width:58%;overflow-x:auto}
.teacher-toolbar-actions .button{min-width:40px;min-height:40px;padding:6px 10px;font-size:14px;font-weight:700;white-space:nowrap}
.teacher-week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;flex:none}
.teacher-week-chip{display:grid;justify-items:center;gap:1px;min-height:46px;margin:0;padding:5px 2px 4px;border:0;border-radius:12px;background:#fff;color:#5C6B63;box-shadow:0 1px 0 rgba(44,74,62,.05);cursor:pointer}
.teacher-week-chip em{font-style:normal;font-size:10px;line-height:1;opacity:.85}
.teacher-week-chip strong{font-size:14px;line-height:1;font-weight:800;color:#1F2B26}
.teacher-week-chip span{min-width:14px;padding:0 4px;border-radius:999px;background:#E8F2E4;color:#2C4A3E;font-size:9px;font-weight:700;line-height:1.4}
.teacher-week-chip.today strong{color:#2C6B4A}
.teacher-week-chip.on{background:#2C4A3E;color:#F4F7F2;box-shadow:none}
.teacher-week-chip.on strong,.teacher-week-chip.on em{color:#fff}
.teacher-week-chip.on span{background:rgba(255,255,255,.18);color:#fff}
.teacher-week-chip.leave:not(.on){background:rgba(92,107,46,.08)}
.teacher-week-chip.open:not(.on){box-shadow:inset 0 -2px 0 #6EAF5A}
.teacher-calendar{flex:1;min-height:0;overflow:auto}
.teacher-calendar .day{position:relative;min-height:72px;align-content:start}
.teacher-calendar .day-number{display:block;font-weight:800}
.teacher-calendar .day-sum{display:block;margin-top:4px;color:#8B95A3;font-size:10px;font-weight:700;line-height:1.2}
.teacher-calendar .day-tip{display:block;margin-top:2px;color:#4A7FB5;font-size:10px;font-weight:700;line-height:1.2}
.teacher-calendar .day-count{position:absolute;right:6px;bottom:4px;color:#5C6B63;font-size:11px}
.teacher-calendar .day-open-dot{position:absolute;right:8px;top:8px;width:7px;height:7px;border-radius:50%;background:#5C6B2E}
.teacher-calendar .day.has-open{background:#F7FBF6}
.teacher-calendar .day.has-leave{background:#fff}
.teacher-calendar .day.leave-pick-on{box-shadow:inset 0 0 0 2px rgba(198,40,40,.35);background:rgba(198,40,40,.08)}
.teacher-calendar .day.leave-cancel-on{box-shadow:inset 0 0 0 2px #5C6B2E;background:#EEF2E0}
.teacher-calendar.leave-cancel .day.has-leave:not(.leave-cancel-on){outline:1px dashed rgba(92,107,46,.45);outline-offset:-2px}
.teacher-booking-detail{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}
.teacher-booking-note-btn{min-width:64px;min-height:64px;padding:10px 12px;border:1px solid #D7E0D8;border-radius:14px;background:#fff;color:#2C4A3E;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
.teacher-booking-brief{margin:6px 0 0;color:#1F2B26;font-size:13px;line-height:1.45}
.teacher-booking-brief span{display:block;margin-bottom:2px;color:#5C6B63;font-size:12px;font-weight:800}
.teacher-commission-total{margin:0 0 10px;font-size:22px;font-weight:800}
.teacher-booking-note-preview{margin:6px 0 0;padding:8px 10px;border-radius:10px;background:#F7F8F1;color:#3E5248;font-size:13px;white-space:pre-wrap}
.teacher-calendar .day-leave-tag{position:absolute;left:6px;top:6px;color:#C62828;font-size:11px;font-weight:800}
.teacher-calendar .day.today .day-number,.teacher-calendar .day.selected .day-number{color:#5C6B2E}
.teacher-dock.month-tools{margin-top:auto}
.teacher-month-list{flex:1;min-height:0;overflow:auto;display:grid;gap:8px;padding:2px 0 8px}
.teacher-month-row{display:grid;grid-template-columns:minmax(0,1.1fr) max-content;gap:2px 10px;margin:0;padding:10px 12px;border:1px solid #D7E0D8;border-radius:10px;background:#fff;color:inherit;text-align:left;cursor:pointer}
.teacher-month-row strong{font-size:13px}
.teacher-month-row span{justify-self:end;font-size:13px;font-weight:700;color:#2C4A3E}
.teacher-month-row em{grid-column:1/-1;font-style:normal;color:#5C6B63;font-size:12px}
.teacher-month-empty{margin:18px 8px;text-align:center}
.teacher-booking-card{display:grid;gap:8px;padding:8px 2px 4px}
.teacher-booking-service{margin:0;font-size:16px;font-weight:700;color:#1F2B26}
.teacher-booking-time{margin:0;font-size:28px;line-height:1.15;font-weight:800;color:#2C4A3E}
.teacher-booking-date{margin:0;color:#5C6B63;font-size:13px}
.teacher-lane .floor-block.booking{z-index:6}
.teacher-lane .floor-block.booking strong{font-size:11px;font-weight:800}
.teacher-lane .floor-block.booking span{font-size:11px}
.teacher-floor{flex:1;min-height:0;display:grid;grid-template-columns:54px minmax(0,1fr);gap:0;overflow:hidden;border:0;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(44,74,62,.06)}
.teacher-floor .floor-columns{display:block;min-width:0;min-height:0;height:100%}
.teacher-hour-col{position:relative;min-height:0;height:100%;border-right:1px solid #E8EEE9;background:linear-gradient(180deg,#F7F3EC,#F3EFE6)}
.teacher-hour-rail{position:absolute;inset:0;width:100%}
.teacher-hour-pad{width:100%;background:repeating-linear-gradient(-45deg,#EFE8DC,#EFE8DC 4px,#E8E0D2 4px,#E8E0D2 8px);border-bottom:1px dashed #C9D5CC;opacity:.9}
.teacher-hour-mark{position:absolute;left:0;right:0;height:0;border-top:1px dashed #D7E0D8}
.teacher-hour-mark.labeled{border-top-color:#8EAA9C}
.teacher-hour-mark span{position:absolute;left:0;right:0;top:-11px;color:#1F2B26;font-size:13px;font-weight:800;text-align:center;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.teacher-day-column,.teacher-floor .floor-column{width:100%!important;min-width:0!important;min-height:0!important;height:100%!important;border:0;display:block}
.teacher-lane{position:relative;height:100%;min-height:0;background:linear-gradient(#fff,#FBFCFB)}
.teacher-floor .floor-columns,.teacher-floor .floor-columns > *{height:100%;min-height:0}
.teacher-open-host{position:absolute;inset:0;z-index:1;pointer-events:none}
.teacher-open{position:absolute;left:6px;right:6px;display:flex;align-items:flex-start;padding:4px 8px;border:0;border-radius:12px;background:linear-gradient(180deg,#B7E3A8,#8FCF7A);box-shadow:0 4px 14px rgba(92,154,74,.22);overflow:hidden}
.teacher-open span{color:#163224;font-size:12px;font-weight:800;line-height:1.2;font-variant-numeric:tabular-nums;text-shadow:0 1px 0 rgba(255,255,255,.35)}
.teacher-paint-layer{position:absolute;inset:0;z-index:4;touch-action:none;user-select:none;-webkit-user-select:none;border:0;padding:0;margin:0;width:100%;height:100%;background:transparent;cursor:crosshair}
.teacher-slot{position:absolute;left:0;right:0;margin:0;padding:0;border:0;border-bottom:1px solid rgba(228,235,230,.55);border-radius:0;background:transparent;opacity:.35;pointer-events:none}
.teacher-slot.on{opacity:.35}
.teacher-lane .floor-block{position:absolute;left:8px;right:8px;padding:4px 8px;overflow:hidden;z-index:2;border-radius:10px}
.teacher-lane .floor-block.leave{z-index:3;background:rgba(198,40,40,.1)}
.teacher-lane .floor-block strong,.teacher-lane .floor-block span{font-size:11px;line-height:1.15}
.teacher-paint-hud{position:absolute;left:50%;top:52%;z-index:12;transform:translate(-50%,-50%);min-width:7.5rem;padding:10px 16px;border-radius:999px;background:rgba(31,43,38,.92);color:#fff;font-size:20px;font-weight:800;letter-spacing:.02em;font-variant-numeric:tabular-nums;text-align:center;box-shadow:0 12px 28px rgba(31,43,38,.28);pointer-events:none;backdrop-filter:blur(8px)}
.teacher-paint-hud[hidden]{display:none!important}
.teacher-dock{display:grid;grid-template-columns:1fr 1.2fr 1fr auto;gap:6px;align-items:center;flex:none;padding:2px 0 0}
.teacher-dock.wide{grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:4px}
.teacher-dock.leave{grid-template-columns:1fr 1fr}
.teacher-lane .floor-block.teacher-mark{z-index:5;background:linear-gradient(180deg,#F3E4C8,#E7D0A4);border:0;color:#4A3720}
.teacher-lane .floor-block.teacher-mark.venue{background:linear-gradient(180deg,#D9E7F4,#B9D0E8);color:#1E3348}
.teacher-lane .floor-block.booking em{display:block;font-style:normal;font-size:10px;opacity:.9}
.teacher-guest-list{flex:1;min-height:0;overflow:auto;display:grid;gap:8px;padding:2px 0 8px}
.teacher-guest-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0;padding:12px 14px;border:0;border-radius:12px;background:#fff;color:inherit;text-align:left;box-shadow:0 1px 0 rgba(44,74,62,.06);cursor:pointer}
.teacher-guest-row strong{font-size:15px}
.teacher-guest-row span{color:#5C6B63;font-size:13px;font-variant-numeric:tabular-nums}
.teacher-history-list{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.teacher-history-list li{display:grid;gap:2px;padding:10px 12px;border-radius:10px;background:#F7FBF6}
.teacher-history-list strong{font-size:13px}
.teacher-history-list span{color:#5C6B63;font-size:12px}
.teacher-guest-phone{margin:0;font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
.teacher-booking-customer{margin:0;font-size:15px;font-weight:700;color:#2C4A3E}
.teacher-calendar .day.has-mark{box-shadow:none}
.teacher-calendar .day-mark-tag{position:absolute;left:6px;bottom:4px;color:#8A6A3A;font-size:10px;font-weight:800}
.teacher-dock-btn{min-height:46px;margin:0;padding:0 10px;border:0;border-radius:14px;background:#fff;color:#1F2B26;font-size:14px;font-weight:800;box-shadow:0 1px 0 rgba(44,74,62,.06);cursor:pointer}
.teacher-dock-btn.danger{color:#B71C1C;background:#F8ECEC}
.teacher-paint-status{min-width:28px;height:28px;display:inline-grid;place-items:center;border-radius:999px;background:transparent;color:#5C9A4A;font-size:16px;font-weight:800;line-height:1}
.teacher-paint-status[data-status="dirty"]{color:#C47A12}
.teacher-paint-status[data-status="saving"]{color:#5C6B63}
.teacher-paint-status[data-status="saved"]{color:#2E7D32;animation:teacher-saved-pop .45s ease}
@keyframes teacher-saved-pop{0%{transform:scale(.7);opacity:.4}60%{transform:scale(1.12)}100%{transform:scale(1);opacity:1}}
@media(max-width:420px){
  .teacher-day-title strong{font-size:13px}
  .teacher-hour-mark span{font-size:12px}
  .teacher-dock-btn{font-size:13px;min-height:44px}
  .teacher-paint-hud{font-size:16px;padding:9px 14px}
}


.member-detail-compact{max-width:1500px}.member-detail-grid{display:grid;grid-template-columns:minmax(270px,330px) minmax(0,1fr);gap:18px;align-items:start}.member-summary{position:sticky;top:20px;padding:18px}.member-summary-head{display:flex;gap:12px;align-items:center;margin-bottom:12px}.member-summary-head strong{display:block;font-size:18px}.member-summary-head small{color:var(--muted)}.member-detail-avatar{width:56px;height:56px;border-radius:50%;object-fit:cover;background:#eee;flex:0 0 auto}.member-detail-avatar-empty{border:1px dashed #C9D5CC}.member-level-card{display:grid;gap:4px;margin:0 0 12px;padding:12px 14px;border-radius:12px;background:linear-gradient(135deg,#6B7A38,#3D4A24);color:#fff}.member-level-card strong{font-size:16px}.member-level-card span,.member-level-card small{opacity:.92;font-size:12px}.member-balance{display:grid;gap:5px;padding:13px 14px;margin-bottom:15px;border-radius:11px;background:#E7EFEA;color:#3D4A24}.member-balance span{font-size:12px}.member-balance strong{font-size:22px;color:var(--brand)}.member-summary dl{margin:0}.member-summary dl>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}.member-summary dl>div:last-child{border-bottom:0}.member-summary dt{color:var(--muted)}.member-summary dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.member-records{padding:0;overflow:hidden}.member-record-tabs{display:flex;overflow:auto;gap:0;border-bottom:1px solid var(--line);background:#F7F3EC}.member-record-tabs button{appearance:none;white-space:nowrap;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:14px 17px;font:inherit;font-size:13px;cursor:pointer}.member-record-tabs button:hover,.member-record-tabs button.active{color:var(--brand);border-bottom-color:var(--brand);background:#fff}.member-record-content{padding:8px 18px 6px}.member-record-block{padding:4px 0 8px;border-bottom:1px solid var(--line)}.member-record-block:last-child{border-bottom:0}.member-name-open{padding:0;font:inherit;font-weight:700;color:inherit;text-align:left}.member-record-content h3{font-size:16px;margin:17px 0 0}.member-record-content .ops-table-wrap{margin:12px 0}.member-record-content .ops-table{font-size:12px}.member-record-content .ops-table th,.member-record-content .ops-table td{padding:9px 11px}.member-appointment-status-strip{display:flex;flex-wrap:wrap;gap:8px 14px;margin:12px 0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:12px;color:var(--muted)}.member-appointment-status-strip strong{color:var(--brand);margin-left:4px}.member-record-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:13px 0}.member-record-metrics>div{border:1px solid var(--line);border-radius:9px;padding:10px 12px;background:#F7F3EC}.member-record-metrics span{display:block;color:var(--muted);font-size:12px}.member-record-metrics strong{display:block;color:var(--brand);font-size:18px;margin-top:4px}.member-tools{margin:0 18px 18px;border-top:1px solid var(--line);padding-top:14px}.member-tools summary{cursor:pointer;font-weight:700;color:#2C4A3E}.member-tools form{margin-top:13px}@media(max-width:900px){.member-detail-grid{grid-template-columns:1fr}.member-summary{position:static}.member-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}.member-summary dl>div{grid-template-columns:88px minmax(0,1fr)}}@media(max-width:600px){.member-detail-compact .section-heading{align-items:flex-start;flex-direction:column}.member-summary dl{display:block}.member-record-content{padding:2px 12px 5px}.member-tools{margin:0 12px 14px}.member-record-tabs button{padding:12px 13px;font-size:12px}.member-balance strong{font-size:20px}}
@media(min-width:701px){.member-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}.member-summary dl>div{display:grid;grid-template-columns:1fr;gap:2px;padding:0;border-bottom:0}}
.member-fact-line{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}
.member-fact-line strong{font-weight:700}
@media(max-width:700px){.member-fact-line{grid-template-columns:1fr 1fr}}
.member-summary-head .button{margin-left:auto;flex:none}
.member-note-editor{display:grid;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.member-note-editor textarea{min-height:72px;resize:vertical}
.member-detail-saydou .form-actions .button,
.member-note-editor .form-actions .button,
.member-detail-saydou .section-heading .form-actions .button{
  display:inline-flex;align-items:center;justify-content:center;
  height:36px;min-height:36px;padding:0 16px;border-radius:8px;border:1px solid #5C6B2E;
  background:#5C6B2E;color:#fff;font-size:14px;font-weight:400;line-height:1;box-shadow:none
}
.member-detail-saydou .form-actions .button.secondary,
.member-detail-saydou .section-heading .form-actions .button.secondary{
  background:#5C6B2E;border-color:#5C6B2E;color:#fff
}
.member-dossiers{display:flex;overflow:auto;gap:8px;padding:12px 14px 0;background:#fff}
.member-dossiers button{appearance:none;white-space:nowrap;border:1px solid var(--line);border-bottom:0;border-radius:10px 10px 0 0;background:#F7F3EC;color:var(--muted);padding:10px 14px;font:inherit;font-size:14px;cursor:pointer}
.member-dossiers button.active{background:#fff;color:var(--brand);font-weight:700}
.member-profile-sheet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:12px 0}
.member-profile-sheet>div{display:grid;gap:2px;padding:8px 0;border-bottom:1px solid var(--line)}
.member-profile-sheet dt{color:var(--muted);font-size:12px}
.member-profile-sheet dd{margin:0}
.member-value-grade{display:grid;gap:4px;margin:12px 0;padding:14px;border-radius:12px;background:#E7EFEA;color:#2C4A3E}
.member-value-grade strong{font-size:22px}
.member-value-grade small{color:#5C6B63}
@media(max-width:700px){.member-profile-sheet{grid-template-columns:1fr}.member-dossiers button{padding:10px 12px;font-size:13px}}
.member-note-editor small{display:block;margin-top:4px;color:var(--muted);font-size:12px}
.member-note-readonly{margin-top:12px}

.finance-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 26px}.finance-nav section{border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff}.finance-nav h3{font-size:12px;color:#3E5248;margin:0 0 9px}.finance-nav section>div{display:flex;flex-wrap:wrap;gap:7px}.finance-nav .button{font-size:12px;padding:7px 10px}.business-overview{max-width:1480px}.business-overview-topline{display:flex;gap:20px;justify-content:space-between;align-items:flex-start;margin:0 0 14px}.business-overview-topline h2{margin:2px 0 4px;font-size:28px}.business-overview-topline p{margin:0;color:var(--muted)}.business-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.business-period{display:flex;align-items:center;gap:17px;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0;color:var(--muted);font-size:13px}.business-month-control{display:flex;gap:7px;align-items:center;color:var(--ink)}.business-month-control strong{min-width:110px;text-align:center}.business-month-control .button{min-height:34px;padding:5px 10px}.business-custom-range{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:14px 0}.business-custom-range .field{min-width:155px}.business-hero{display:grid;justify-items:center;gap:5px;text-align:center;padding:22px 20px;margin:17px 0;border:1px solid #C9D5CC;border-radius:15px;background:linear-gradient(135deg,#fffdf8,#E7EFEA)}.business-hero span{font-size:13px;color:#2C4A3E}.business-hero strong{font-size:34px;color:var(--brand)}.business-hero small{color:var(--muted)}.business-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.business-card{min-width:0;border:1px solid var(--line);border-radius:14px;background:#fff;padding:18px}.business-card h3{font-size:15px;margin:0 0 7px}.business-card>strong{display:block;font-size:25px;color:var(--brand);margin-bottom:7px}.business-card>p{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 13px;min-height:54px}.business-card dl{margin:0}.business-card dl>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--line);font-size:12px}.business-card dt{color:var(--muted)}.business-card dd{margin:0;text-align:right;font-weight:600;white-space:nowrap}.business-performance,.business-daily{margin-top:16px}.business-performance h3,.business-daily h3{margin:0;font-size:18px}.order-record-tabs{display:flex;overflow:auto;margin:0 0 15px;border-bottom:1px solid var(--line);background:#F7F3EC}.order-record-tabs button{appearance:none;border:0;border-bottom:2px solid transparent;background:transparent;padding:12px 18px;font:inherit;font-size:13px;color:var(--muted);white-space:nowrap;cursor:pointer}.order-record-tabs button:hover,.order-record-tabs button.active{color:var(--brand);border-bottom-color:var(--brand);background:#fff}@media(max-width:1120px){.finance-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.business-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.finance-nav{display:none}.business-overview-topline{flex-direction:column}.business-actions{justify-content:flex-start}.business-summary-grid{grid-template-columns:1fr}.business-card>p{min-height:0}.business-period{align-items:flex-start;flex-direction:column;gap:8px}.business-custom-range .field{flex:1}.business-hero strong{font-size:28px}.order-record-tabs button{padding:11px 13px;font-size:12px}}@media print{.finance-nav,.business-actions,.business-period,.business-custom-range,.order-record-tabs{display:none!important}.business-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.business-card{break-inside:avoid}.business-overview-topline{display:block}.business-overview-topline p{display:none}}

.finance-nav {
  grid-template-columns: minmax(0, 1fr);
}

.future-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px dashed #C9D5CC;
  border-radius: 8px;
  color: #6E7A72;
  background: #F7F3EC;
  font-size: 12px;
  cursor: not-allowed;
}

.future-nav-item small {
  color: #6E7A72;
  font-size: 11px;
}

.test-environment-banner{display:flex;gap:16px;flex-wrap:wrap;padding:13px 24px;background:#fff0c8;border-bottom:1px solid #ddbd67;color:#5d451c;font-size:13px;line-height:1.7}.test-environment-banner strong{color:#684c14}.brand>span:last-child{overflow-wrap:anywhere}@media(max-width:700px){.test-environment-banner{display:block;padding:10px 18px;font-size:12px}.test-environment-banner span{display:block}.hero h1{overflow-wrap:anywhere}}

/* Queen's olive-green visual system.  Status colours stay semantic (warning,
   error and completed) while navigation and all ordinary interaction surfaces
   share one olive family. */
:root{--brand:#2C4A3E;--brand-dark:#1E342B;--muted:#6E7A72;--line:#D7E0D8;--surface:#fffdf8;--pale:#E7EFEA;--olive-ink:#1F2B26;--olive-soft:#F7F3EC;--olive-border:#C9D5CC;--olive-mid:#6E8B7B;--green:#2C4A3E;color:var(--olive-ink);background:var(--olive-soft)}
.card,.appointment,.deposit-card,.deposit-lock-card,.schedule-card,.member-summary,.calendar-day-panel{border-radius:16px;box-shadow:0 10px 28px rgba(44,74,62,.08)}
body{background:#F7F3EC}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#8EAA9C}.brand,.hero h1,.auth-story h1{color:var(--olive-ink)}.eyebrow{color:var(--brand)}.entry-card{box-shadow:0 9px 35px #2C4A3E14}.entry-card:hover{border-color:#8EAA9C}.record-link{border-color:#C9D5CC}.footer{color:#6E7A72}.auth-tabs{background:#E7EFEA}.auth-tabs button.active{box-shadow:0 2px 9px #2C4A3E0a}.field{color:#3E5248}.field input,.field select,.field textarea{border-color:#C9D5CC;color:var(--olive-ink)}.field input[readonly]{background:#F7F3EC}.button.secondary{border-color:#C9D5CC}.button.secondary:hover{background:#F7F3EC}.divider{color:#6E7A72}.notice{background:#E7EFEA;border-color:#C9D5CC;color:#2C4A3E}.status{color:#5C6B63}.status:not(:empty){background:#E7EFEA}.nav-button{color:#5C6B63}.nav-button.active{background:#E7EFEA;color:var(--brand)}.topbar{background:#fffdf8}.role-badge{background:#E7EFEA;border-color:#C9D5CC}.calendar-head,.scheduler-column header{background:#F7F3EC}.day{border-color:#D7E0D8;color:#3E5248}.day:hover{background:#F4F0E8}.day.other{background:#FBF8F3;color:#A8B5AD}.day.selected{background:#E7EFEA;box-shadow:inset 0 0 0 2px #6E8B7B}.day-count,.day-status{color:#5C6B63}.appointment-time{color:#3E5248}.badge{background:#E7EFEA;color:#2C4A3E}.badge.cancelled{background:#f3f1ee;color:#7f756d}.empty{border-color:#C9D5CC;background:#fff;color:var(--muted)}.empty strong{color:#2C4A3E}th{color:#5C6B63;background:#F7F3EC}td{border-color:#D7E0D8}.booking-steps span{background:#D7E0D8;color:#6E7A72}.booking-steps span.done{background:var(--brand)}.service-option,.slot-option{color:#2C4A3E}.service-option.selected,.slot-option.selected{border-color:var(--brand);background:#E7EFEA;box-shadow:inset 0 0 0 1px var(--brand)}.modal-backdrop{background:#1E342B68}.modal{box-shadow:0 20px 100px #1E342B35}.close-button{background:#E7EFEA;color:#5C6B63}.week-column.selected{box-shadow:inset 0 0 0 2px #6E8B7B;background:#fffdf8}.week-date{background:#E7EFEA;color:#2C4A3E}.schedule-card{border-color:#C9D5CC;color:#2C4A3E}.schedule-card:hover{background:#F7F3EC;border-color:#6E8B7B}.scheduler-booking{border-color:#C9D5CC;background:#fff;color:#2C4A3E}.scheduler-booking:hover{background:#F7F3EC}.repeat-days legend{color:#3E5248}

/* Dense administrative screens use the same neutral work surface across
   members, tags, ticketing, catalogue, bookkeeping and finance. */
.ops-dense-workspace{--ops-line:#D7E0D8;--ops-subtle:#F7F3EC}.ops-breadcrumb{color:#5C6B63}.ops-breadcrumb strong,.ops-section-title{color:var(--olive-ink)}.ops-dense-workspace .ops-nav .button,.ops-dense-workspace .finance-nav .button{color:#5C6B63}.ops-dense-workspace .ops-nav .button:hover,.ops-dense-workspace .finance-nav .button:hover{background:#F7F3EC}.ops-dense-workspace .toolbar{border-color:#D7E0D8;background:#F7F3EC}.ops-dense-workspace .toolbar .field input,.ops-dense-workspace .toolbar .field select{border-color:#C9D5CC}.ops-dense-workspace .ops-table th{background:#E7EFEA;color:#3E5248}.ops-dense-workspace .ops-table tbody tr:hover{background:#F7F3EC}.ops-dense-workspace .ops-editor{border-color:#C9D5CC}.member-summary{border-color:#D7E0D8}.member-balance{background:#E7EFEA;color:#2C4A3E}.member-record-tabs,.member-record-metrics>div{background:#F7F3EC}.member-tools summary{color:#2C4A3E}.finance-nav h3,.business-hero span{color:#2C4A3E}.business-hero{border-color:#C9D5CC;background:linear-gradient(135deg,#fffdf8,#E7EFEA)}.order-record-tabs{background:#F7F3EC}.future-nav-item{border-color:#C9D5CC;background:#F7F3EC;color:#5C6B63}.future-nav-item small{color:#6E7A72}

/* SayDou-inspired member data entry: a compact framed form, section headers,
   two data columns, and a three-column checkbox field for member tags. */
.member-editor.member-editor-saydou{max-width:960px;padding:12px;border:1px solid var(--olive-border);border-radius:3px;background:#fff;box-shadow:none}.member-editor-saydou>h2{margin:0 0 4px;font-size:18px;color:var(--olive-ink)}.member-editor-saydou>.note{margin:0 0 10px}.member-editor-saydou .stack{gap:10px}.member-editor-saydou .member-panel{border:1px solid var(--olive-border);border-radius:0;margin:0;overflow:visible}.member-editor-saydou .member-panel+.member-panel{margin-top:10px}.member-editor-saydou .member-panel-heading{margin:0;padding:9px 12px;border-bottom:1px solid var(--olive-border);background:#E7EFEA;color:#2C4A3E;font-size:13px;font-weight:700}.member-editor-saydou .member-panel-body{padding:12px}.member-editor-saydou .form-grid{gap:8px 12px}.member-editor-saydou .field{font-size:12px}.member-editor-saydou .field input,.member-editor-saydou .field select,.member-editor-saydou .field textarea{min-height:34px;border-radius:4px;padding:6px 9px;font-size:13px}.member-editor-saydou .field textarea{min-height:58px}.member-editor-saydou .member-tag-options{border:1px solid var(--olive-border);border-radius:4px;padding:14px}.member-editor-saydou .member-tag-options legend{padding:0 6px;color:#3E5248;font-size:12px;font-weight:700}.member-editor-saydou .member-tag-options-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 34px}.member-editor-saydou .member-tag-options-grid .checkbox-row{min-height:28px;margin:0;padding:4px 0;font-size:12px;align-items:center}.member-editor-saydou .member-tag-options-grid .checkbox-row input{accent-color:var(--brand);margin:0;width:15px;height:15px}.member-editor-saydou .form-actions{margin-top:4px}.member-editor-saydou .form-actions .button{min-height:38px;border-radius:4px}
@media(max-width:700px){.member-editor.member-editor-saydou{padding:12px}.member-editor-saydou .member-panel-body{padding:14px 12px}.member-editor-saydou .member-tag-options-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 16px}}

/* Booking overview follows the SayDou month board: legend, filters, centered month, status dots. */
.booking-status-metrics{display:flex;grid-template-columns:none;gap:0;margin:10px 0 12px;border:1px solid var(--olive-border);border-radius:4px;background:#fff;overflow:hidden}.booking-status-metrics .metric{display:flex;align-items:baseline;gap:9px;min-width:108px;padding:7px 14px;border:0;border-right:1px solid var(--olive-border);border-radius:0;background:transparent}.booking-status-metrics .metric:last-child{border-right:0}.booking-status-metrics .metric span{font-size:11px;color:#5C6B63}.booking-status-metrics .metric strong{font-size:20px;line-height:1;color:var(--brand)}.calendar-overview-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;align-items:start}.day-side-booking{display:grid;grid-template-columns:minmax(0,1fr) 124px;gap:8px;padding:12px 0;border-bottom:1px solid #E4EBE6}.day-side-booking>div{display:grid;gap:2px;min-width:0}.day-side-name{justify-self:start;padding:0;border:0;background:transparent;color:#3D4A24;font:inherit;font-weight:700;text-align:left;cursor:pointer;text-decoration:underline}.day-side-booking span,.day-side-booking .button{font-size:12px;color:#5C6B63}.day-side-status select{width:100%;min-height:34px;border:1px solid #D7DEB8;border-radius:4px;background:#fff;color:#1F2B26}.day-side-status.pending select{background:#FFF8E8}.day-side-status.confirmed select{background:#E7F6EE}.day-side-status.arrived select{background:#E7F3EF}.day-side-history{justify-self:start;padding:0;border:0;background:transparent;color:#5C6B2E;font:inherit;font-size:13px;text-decoration:underline;cursor:pointer}.day-side-status.done select,.day-side-status.completed select{background:#EEF2E2}.day-side-status.cancelled select,.day-side-status.deleted select{background:#F8ECEC}.calendar-overview-layout .calendar{border-radius:4px}.calendar-overview-layout .day{min-height:92px}.calendar-day-panel{position:sticky;top:16px;overflow:hidden;border:1px solid var(--olive-border);border-radius:4px;background:#fff}.calendar-day-panel header{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:13px 14px;border-bottom:1px solid var(--olive-border);background:#E7EFEA}.calendar-day-panel header span{display:block;font-size:11px;color:#5C6B63}.calendar-day-panel h2{margin:1px 0 0;font-size:16px;color:var(--olive-ink)}.calendar-day-panel header>strong{display:grid;place-items:center;min-width:28px;height:28px;border-radius:50%;background:var(--brand);color:#fff;font-size:13px}.calendar-day-booking{display:grid;grid-template-columns:43px minmax(0,1fr) auto;align-items:start;gap:8px;width:100%;border:0;border-bottom:1px solid #D7E0D8;background:#fff;padding:11px 12px;text-align:left;color:var(--olive-ink)}.calendar-day-booking:hover{background:#F7F3EC}.calendar-day-time{font-size:12px;font-weight:700;color:var(--brand)}.calendar-day-booking-main{display:flex;min-width:0;flex-direction:column;gap:1px}.calendar-day-booking-main strong{font-size:13px}.calendar-day-booking-main small{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.calendar-day-booking .badge{margin-top:1px;padding:3px 7px;font-size:9px}.calendar-day-empty{margin:0;padding:25px 14px;color:var(--muted);font-size:12px;text-align:center}.calendar-day-help{margin:0;padding:9px 12px;background:#FBF8F3;color:var(--muted);font-size:10px;line-height:1.5}.calendar-detail-heading{margin-top:19px}
.booking-overview-actions{align-items:center;gap:8px}.booking-ops-menu{position:relative}.booking-ops-menu>summary{list-style:none;display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;border:1px solid #C9D5CC;border-radius:4px;background:#fff;color:#2C4A3E;font:inherit;font-size:13px;font-weight:600;cursor:pointer}.booking-ops-menu>summary::-webkit-details-marker{display:none}.booking-ops-menu>summary::after{content:"▾";margin-left:8px;font-size:11px;color:#6E7A72}.booking-ops-menu[open]>summary{border-color:#6E8B7B;background:#F7F3EC}.booking-ops-menu-list{position:absolute;z-index:30;top:calc(100% + 4px);right:0;display:grid;gap:4px;min-width:220px;padding:8px;border:1px solid #C9D5CC;border-radius:4px;background:#fff;box-shadow:0 12px 28px rgba(44,74,62,.14)}
.booking-ops-menu[open]>.booking-ops-menu-list,.desk-menu.open>.desk-menu-panel,.desk-menu.open>.desk-alert-panel{position:fixed;z-index:80;overflow:auto}.booking-ops-menu-list .button{justify-content:flex-start;width:100%;min-height:36px;border-radius:4px;font-size:12px}.booking-filter-toolbar{align-items:end}.booking-modal-saydou{display:flex;flex-direction:column;width:min(1120px,96vw);max-width:1120px;max-height:min(94vh,920px);padding:0!important;overflow:hidden;border-radius:8px;box-shadow:0 18px 48px rgba(30,52,43,.22)}.booking-modal-saydou .modal-head{flex:none;justify-content:center;padding:12px 16px;border-bottom:1px solid #E8E8E8;background:#F5F5F5}.booking-modal-saydou .modal-head h2{margin:0;font-size:16px;font-weight:700;text-align:center}.booking-modal-saydou>#modal-status,.booking-modal-saydou .status{flex:none;margin:0;padding:0 16px}.booking-editor-saydou{display:flex;flex:1;flex-direction:column;gap:0;min-height:0;padding:0}.booking-editor-saydou .booking-editor-body{display:grid;flex:1;align-content:start;gap:12px;min-height:0;overflow:auto;padding:14px 16px 10px;background:#F3F3F3}.booking-section{display:grid;gap:12px;padding:14px 16px 16px;border:1px solid #E6E6E6;border-radius:4px;background:#fff}.booking-section-title{position:relative;margin:0;padding-left:10px;color:#2C2C2C;font-size:14px;font-weight:700}.booking-section-title::before{content:"";position:absolute;top:2px;bottom:2px;left:0;width:3px;border-radius:2px;background:#5C6B2E}.booking-section-body{display:grid;gap:12px}.booking-editor-saydou .form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 12px}.booking-editor-saydou .booking-date-time-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.booking-editor-saydou .booking-store-grid,.booking-editor-saydou .booking-member-grid,.booking-editor-saydou .booking-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.booking-editor-saydou .field{position:relative;display:grid;gap:4px;font-size:12px;line-height:1.3}.booking-editor-saydou .field input,.booking-editor-saydou .field select,.booking-editor-saydou .field textarea{min-height:38px;border:1px solid #D0D0D0;border-radius:4px;padding:8px 10px;font-size:13px;line-height:1.3;background:#fff}.booking-editor-saydou .field textarea{min-height:72px;resize:vertical}.booking-editor-saydou .booking-member-grid .field:first-child{position:relative}.booking-editor-saydou .booking-member-add{position:absolute;top:24px;right:8px;display:grid;place-items:center;width:26px;height:26px;border:0;border-radius:50%;background:#5C6B2E;color:#fff;font:inherit;font-size:16px;line-height:1;cursor:pointer}.booking-editor-saydou .booking-member-grid .field:first-child input{padding-right:40px}.booking-editor-saydou .booking-member-grid .field:first-child small{color:#8A8A8A;font-size:11px}.booking-editor-saydou .member-match-list{display:grid;gap:0;max-height:110px;overflow:auto;border:1px solid #D7E0D8;border-radius:4px;background:#fff;box-shadow:none}.booking-editor-saydou .member-match{display:flex;justify-content:space-between;gap:8px;width:100%;padding:7px 10px;border:0;border-bottom:1px solid #E4EBE6;border-radius:0;background:#fff;text-align:left;font:inherit;cursor:pointer}.booking-editor-saydou .member-match:last-child{border-bottom:0}.booking-editor-saydou .member-match:hover{background:#F7F3EC}.booking-editor-saydou .booking-flag-row{display:flex;flex-wrap:wrap;gap:18px;align-items:center;min-height:34px}.booking-switch{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#333;cursor:pointer}.booking-switch input{appearance:none;width:40px;height:22px;margin:0;border-radius:999px;background:#C9C9C9;position:relative;transition:background .15s ease}.booking-switch input::after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .15s ease}.booking-switch input:checked{background:#5C6B2E}.booking-switch input:checked::after{transform:translateX(18px)}.booking-editor-saydou .repeat-days{display:flex;flex-wrap:wrap;gap:4px 10px;margin:0;padding:6px 8px;border-radius:4px}.booking-editor-saydou .form-actions.modal-foot{display:flex;flex:none;justify-content:flex-end;gap:10px;margin:0;padding:12px 18px;border-top:1px solid #E8E8E8;background:#fff}.booking-editor-saydou .form-actions .button{min-height:36px;min-width:88px;border-radius:4px;padding:6px 16px}.booking-editor-saydou .form-actions .button.secondary{border-color:#5C6B2E;color:#5C6B2E;background:#fff}
@media(max-width:700px){.booking-modal-saydou{max-height:94vh}.booking-editor-saydou .form-grid,.booking-editor-saydou .booking-date-time-grid,.booking-editor-saydou .booking-store-grid,.booking-editor-saydou .booking-member-grid,.booking-editor-saydou .booking-service-grid{grid-template-columns:1fr}}.booking-detail-compact{width:min(420px,92vw)}.booking-detail-brief{display:grid;margin:0 0 8px}.booking-detail-brief div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:6px 0;border-bottom:1px solid #E4EBE6}.booking-detail-brief span{flex:none;color:#6E7A72;font-size:13px}.booking-detail-brief strong{font-size:15px;text-align:right}.booking-accept{display:flex;align-items:center;gap:8px;margin:10px 0 0;font-size:14px;font-weight:700}.booking-detail-compact .form-actions{margin-top:8px}.booking-detail-saydou{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;padding:4px 2px 8px}.booking-detail-saydou>div{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid #D7E0D8;border-radius:4px;background:#fff}.booking-detail-saydou>div.wide{grid-column:1/-1}.booking-detail-saydou span{font-size:11px;color:#5C6B63}.booking-detail-saydou strong{font-size:13px;color:var(--olive-ink);overflow-wrap:anywhere}
@media(max-width:1050px){.calendar-overview-layout{grid-template-columns:minmax(0,1fr) 270px}.calendar-overview-layout .day{min-height:84px}}@media(max-width:760px){.booking-status-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.booking-status-metrics .metric{min-width:0;border-right:1px solid var(--olive-border);border-bottom:1px solid var(--olive-border)}.booking-status-metrics .metric:nth-child(2n){border-right:0}.booking-status-metrics .metric:nth-last-child(-n+2){border-bottom:0}.calendar-overview-layout{display:block}.calendar-overview-layout .day{min-height:76px}.calendar-day-panel{position:static;margin-top:12px}.calendar-day-panel header{padding:11px 12px}.booking-ops-menu-list{right:auto;left:0}.booking-detail-saydou{grid-template-columns:1fr}.booking-overview .day-status{display:flex}.booking-cal-nav{grid-template-columns:1fr;justify-items:center;gap:8px}.booking-cal-nav h2{text-align:center}.booking-cal-pager{justify-content:center}}
.page-refresh{display:flex;justify-content:flex-start;margin:0 0 8px}.page-refresh .button{min-height:32px}.admin-shell .page-refresh{position:sticky;top:0;z-index:6;padding:4px 0;background:#F7F3EC}.booking-crumb{margin:0 0 10px;color:#6E7A72;font-size:13px}.booking-crumb strong{color:var(--olive-ink)}.booking-overview{border:1px solid var(--olive-border);border-radius:8px;background:#fff;padding:16px 18px 8px}.booking-legend{display:grid;grid-template-columns:max-content max-content;gap:6px 36px;margin:0 0 14px;font-size:13px;color:#1F2B26}.booking-legend-item,.booking-overview .day-status{display:flex;align-items:center;gap:6px}.booking-legend-item i,.booking-overview .day-status i{width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}.booking-legend-item.accepted,.booking-legend-item.confirmed,.booking-overview .day-status.accepted,.booking-overview .day-status.confirmed{color:#2F7D4A}.booking-legend-item.arrived,.booking-overview .day-status.arrived{color:#2F6F9F}.booking-legend-item.done,.booking-overview .day-status.done{color:#7B5CA8}.booking-legend-item.absent,.booking-overview .day-status.absent{color:#C4A035}.booking-legend-item.cancelled,.booking-overview .day-status.cancelled{color:#8B5A3C}.booking-overview .day-status.leave,.booking-overview .day-status.closed{color:#8A8A8A}.booking-overview .day-status.extra{color:#5C6B63}.booking-overview .day.selected{box-shadow:inset 0 0 0 2px #5C6B2E;background:#F3F5E8}.booking-overview .day.today{background:#EEF2E2}.booking-toolbar-actions>.button{background:#5C6B2E;border-color:#5C6B2E}.saydou-status.completed{color:#7B5CA8}.saydou-day-drawer-actions{display:flex;gap:8px;align-items:center}.saydou-day-drawer-actions .button:not(.secondary){background:#5C6B2E;border-color:#5C6B2E}.booking-ops-form-saydou{padding:14px 18px 0}.booking-ops-form-saydou .saydou-form-warning{margin:0 0 10px;color:#5C6B2E;font-size:12px;line-height:1.5}.booking-ops-form-saydou .saydou-form-switch{margin-bottom:8px}.booking-ops-form-saydou .modal-foot{margin:16px -18px 0;padding:12px 18px;border-top:1px solid #E8E8E8;background:#fff}.booking-service-picker{position:relative;display:grid;gap:6px}.booking-service-picker .booking-service-selected{display:block;margin-top:4px;color:#5C6B63;font-size:12px}.booking-service-menu{max-height:180px;overflow:auto;border:1px solid #D0D0D0;border-radius:4px;background:#fff;box-shadow:0 10px 24px rgba(44,74,62,.12)}.booking-service-group{padding:8px 10px 4px;border-bottom:1px solid #EEE}.booking-service-group p{margin:0 0 6px;color:#8A8A8A;font-size:12px}.booking-service-option{display:flex;gap:8px;align-items:flex-start;padding:6px 4px;border-radius:4px;font-size:13px;cursor:pointer}.booking-service-option.selected,.booking-service-option:hover{background:#F5F5F5}.booking-service-option input{accent-color:#5C6B2E;margin-top:2px}.booking-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}.booking-toolbar-filters{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-end}.booking-toolbar .field{min-width:168px;margin:0;font-size:12px}.booking-switch{display:inline-flex;align-items:center;gap:8px;min-height:40px;font-size:13px}.booking-switch input{width:36px;height:20px;accent-color:var(--brand)}.booking-toolbar-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.booking-toolbar-actions>.button{border-radius:999px;min-height:40px;padding-inline:16px}.booking-overview .booking-ops-menu>summary{width:40px;min-height:40px;padding:0;justify-content:center;border-radius:999px;font-size:18px;letter-spacing:1px}.booking-overview .booking-ops-menu>summary::after{content:none;margin:0}.booking-cal-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin:6px 0 10px}.booking-cal-nav h2{margin:0;text-align:center;font-size:16px}.booking-cal-pager{display:flex;justify-content:flex-end;gap:6px}.booking-cal-pager .button{min-width:40px;border-radius:8px}.booking-overview .view-switch{justify-self:start;border-radius:8px;background:#F7F3EC}.booking-overview .calendar{border:0;border-radius:0;background:transparent;box-shadow:none}.booking-overview .calendar-head,.booking-overview .calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.booking-overview .calendar-head{gap:0;padding:8px 0;border-bottom:1px solid #E4EBE6;color:#5C6B63;font-size:13px;text-align:center}.booking-overview .calendar-head span{padding:0}.booking-overview .day{position:relative;display:flex;min-height:112px;align-items:flex-start;border:0;border-right:1px solid #E4EBE6;border-bottom:1px solid #E4EBE6;border-radius:0;background:#fff;padding:26px 8px 8px;text-align:left}.booking-overview .day-number{position:absolute;top:6px;right:8px;font-size:13px;font-weight:650}.booking-overview .day.today{background:#EEF2E2}.booking-overview .day.selected{box-shadow:inset 0 0 0 2px #5C6B2E;background:#F3F5E8}.booking-overview .day.other{background:#FBF8F3;color:#9AA69F}.booking-overview .day-status-list{display:flex;width:100%;flex-direction:column;gap:2px}.booking-overview .day-status{font-size:11px;line-height:1.35;white-space:nowrap}.booking-overview .calendar-day-panel{position:static;margin-top:14px}
@media(max-width:760px){.booking-overview{padding:12px}.booking-legend{grid-template-columns:1fr}.booking-cal-nav{grid-template-columns:1fr;justify-items:center;gap:8px}.booking-cal-nav h2{text-align:center;font-size:18px}.booking-cal-pager{justify-content:center}.booking-overview .day{min-height:84px}.booking-overview .day-status{font-size:10px}}

/* Desktop back-office mode: reserve only the navigation column, not a second
   top account row or artificial right margins. */
.workspace .content{max-width:none;margin:0;padding:26px 30px 48px}.sidebar-bottom{padding-top:14px}.sidebar-account{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding-bottom:14px}.sidebar-account strong{font-size:12px;color:var(--olive-ink);overflow-wrap:anywhere}.sidebar-account small{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.sidebar-account .role-badge{font-size:10px;padding:3px 8px}.sidebar-account-actions{display:flex;gap:6px;width:100%;margin-top:4px}.sidebar-account .sidebar-account-actions .button{width:auto;flex:1;min-height:34px;margin:0;padding:6px 7px;font-size:11px}.sidebar-meta{border-top:1px solid var(--line);padding-top:12px}@media(max-width:1050px){.workspace .content{padding:22px 24px 44px}}@media(max-width:760px){.workspace .content{padding:23px 18px 30px}.sidebar-account{display:none}}
.sidebar-title{margin:4px 0 8px;font-size:20px;font-weight:700;color:#3D4A24;display:flex;align-items:center;gap:8px}.sidebar .page-refresh{margin:0 0 10px}.sidebar .page-refresh .button{width:100%;min-height:32px}.brand-mark{background:transparent}.brand-mark img,.app-mark{width:48px;height:48px;object-fit:contain;border-radius:10px;display:block;flex:none}.app-mark{width:48px;height:48px}.admin-shell .nav-group-button{display:flex;width:100%;align-items:center;justify-content:space-between;margin:4px 0 0;padding:14px 12px;border:0;border-radius:10px;background:transparent;color:#3D4A24;font:inherit;font-size:18px;font-weight:700;text-align:left;cursor:pointer}.admin-shell .nav-group-button:hover,.admin-shell .nav-group-button.open{background:#F3F5E8}.admin-shell .nav-group-button::after{content:"▸";font-size:13px;font-weight:700;color:#6B7344}.admin-shell .nav-group-button.open::after{content:"▾"}.admin-shell .nav-children{display:grid;gap:2px;margin:2px 0 8px 10px}.admin-shell .nav-children .nav-button{min-height:40px;padding:8px 12px;font-size:14px}.status-checks{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin:0;padding:8px 12px;border:1px solid #D7DEB8;border-radius:10px;background:#F7F8F1}.status-checks legend{padding:0 6px;color:#3D4A24;font-size:13px;font-weight:700}.status-check{display:inline-flex;align-items:center;gap:6px;color:#3D4A24;font-size:13px;white-space:nowrap}.status-check input{width:16px;height:16px;accent-color:#5C6B2E}.admin-plain{padding:18px 24px}.admin-plain strong{color:#3D4A24;font-size:18px}.nav-submenu{display:none;margin:-3px 0 7px 12px;padding:5px 0 5px 10px;border-left:1px solid #D7DEB8}.nav-submenu.open{display:grid;gap:2px}.nav-subbutton{border:0;background:transparent;color:#5C6B63;text-align:left;padding:7px 9px;border-radius:4px;font:inherit;font-size:12px;cursor:pointer}.nav-subbutton:hover,.nav-subbutton.active{background:#E7EFEA;color:var(--brand);font-weight:700}.settings-hub{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:18px}.settings-hub-card{display:flex;flex-direction:column;gap:7px;min-height:112px;padding:17px;border:1px solid #D7E0D8;border-radius:5px;background:#fff;text-align:left;color:var(--olive-ink);font:inherit;cursor:pointer}.settings-hub-card:hover{border-color:#6E8B7B;background:#F7F3EC}.settings-hub-card strong{font-size:15px}.settings-hub-card span{color:#5C6B63;font-size:12px;line-height:1.55}.catalog-nav{display:flex;gap:0;overflow-x:auto;margin:0 0 16px;border-bottom:1px solid #D7E0D8;background:#fff}.catalog-nav .button,.catalog-nav-item{flex:0 0 auto;min-height:45px;padding:12px 16px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#5C6B63;font:inherit;font-size:13px;white-space:nowrap}.catalog-nav .button:hover,.catalog-nav-item:hover{background:#F7F3EC;color:var(--brand)}.catalog-nav .button.secondary{border-top:0;border-left:0;border-right:0}.catalog-nav-item.active{border-bottom-color:var(--brand);color:var(--brand);font-weight:700}@media(max-width:760px){.nav-submenu{display:none}.nav-submenu.open{display:none}.settings-hub{grid-template-columns:1fr}.catalog-nav{margin-left:-18px;margin-right:-18px}.catalog-nav .button,.catalog-nav-item{padding:12px 14px}}
/* Compact SayDou-style checkbox selector for member tags in the filter bar. */
.ops-dense-workspace .toolbar .member-tag-filter{position:relative;align-self:flex-end;min-width:0}.ops-dense-workspace .toolbar .member-tag-filter>summary{min-height:36px;display:flex;align-items:center;padding:7px 10px;border:1px solid #8EAA9C;border-radius:3px;background:#fff;color:#2C4A3E;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}.ops-dense-workspace .toolbar .member-tag-filter[open]>summary{border-bottom-left-radius:0;border-bottom-right-radius:0}.ops-dense-workspace .toolbar .member-tag-filter fieldset{position:absolute;z-index:20;top:35px;left:0;width:min(620px,calc(100vw - 48px));padding:12px 14px;border:1px solid #8EAA9C;border-radius:0 4px 4px 4px;background:#fff;box-shadow:0 10px 24px rgba(44,74,62,.14)}.ops-dense-workspace .toolbar .member-tag-filter legend{padding:0 5px;color:#3E5248;font-size:11px;font-weight:700}.ops-dense-workspace .toolbar .member-tag-filter .member-tag-options-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 24px}.ops-dense-workspace .toolbar .member-tag-filter .checkbox-row{min-height:26px;margin:0;padding:3px 0;align-items:center;font-size:12px}.ops-dense-workspace .toolbar .member-tag-filter .checkbox-row input{accent-color:var(--brand);margin:0;width:15px;height:15px}.member-summary,.member-records,.appointment,.deposit-card,.deposit-lock-card,.deposit-desk{border-radius:16px;background:var(--surface);box-shadow:0 10px 28px rgba(44,74,62,.08)}
.saydou-day-drawer{position:fixed;z-index:40;top:0;right:0;display:flex;width:min(440px,100vw);height:100vh;flex-direction:column;border-left:1px solid #E4EBE6;background:#fff;box-shadow:-16px 0 40px rgba(31,43,38,.16)}.saydou-day-drawer>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #E4EBE6}.saydou-day-drawer-title{display:flex;align-items:center;gap:10px;min-width:0}.saydou-day-drawer h2{margin:0;font-size:18px}.saydou-day-drawer-actions{display:flex;align-items:center;gap:8px}.saydou-day-drawer-close{width:32px;height:32px;border:0;border-radius:999px;background:transparent;color:#5C6B2E;font-size:22px;line-height:1;cursor:pointer}.saydou-temp-setting>summary{min-height:28px;padding:0;border:0;background:transparent;color:#5C6B2E;font-size:13px;font-weight:600;box-shadow:none}.saydou-temp-setting>summary::after{content:"";margin:0}.saydou-day-list{overflow:auto;padding:8px 16px 18px}.saydou-day-booking{padding:14px 0;border-bottom:1px solid #E4EBE6}.saydou-day-booking header{display:flex;justify-content:space-between;gap:12px}.saydou-day-booking strong,.saydou-day-booking span{display:block}.saydou-day-booking span{color:#5C6B63;font-size:13px}.saydou-day-member{display:inline-flex!important;align-items:center;gap:6px;color:#1F2B26!important;font-weight:600}.saydou-day-member i{width:14px;height:14px;border:1.5px solid #8EAA9C;border-radius:50%;box-shadow:inset 0 0 0 2px #fff}.saydou-day-phone{font-size:12px!important}.saydou-status,.saydou-status-menu>summary{display:inline-flex;align-items:center;gap:6px;color:#2F7D4A;font-style:normal;font-size:13px;font-weight:600;white-space:nowrap}.saydou-status i,.saydou-status-menu>summary i{width:8px;height:8px;border-radius:50%;background:currentColor}.saydou-status.arrived,.saydou-status-menu>summary.arrived{color:#2F6F9F}.saydou-status.completed,.saydou-status-menu>summary.completed{color:#7B5CA8}.saydou-status.cancelled,.saydou-status.no_show,.saydou-status-menu>summary.cancelled,.saydou-status-menu>summary.no_show{color:#C44747}.saydou-status-menu{position:relative}.saydou-status-menu>summary{list-style:none;padding:0;border:0;background:transparent;cursor:pointer}.saydou-status-menu>summary::-webkit-details-marker{display:none}.saydou-status-menu>summary span{font-size:14px;color:#6E7A72}.saydou-status-menu-list{position:absolute;z-index:35;top:calc(100% + 6px);right:0;display:grid;gap:4px;min-width:168px;padding:8px;border:1px solid #E4EBE6;border-radius:8px;background:#fff;box-shadow:0 12px 28px rgba(31,43,38,.14)}.saydou-status-menu-list .button{justify-content:flex-start;width:100%;min-height:34px;border-radius:6px;font-size:12px}.saydou-status-menu-list .note{margin:4px 2px 0;font-size:11px;line-height:1.4}.saydou-day-booking small{display:block;margin-top:6px;color:#6E7A72;font-size:12px}.saydou-day-actions{display:flex;gap:8px;align-items:center;margin-top:10px}.saydou-day-actions .button{min-height:34px;border-radius:8px}.saydou-more>summary{width:auto;min-height:34px;padding:0 12px;border-radius:8px;font-size:13px}.saydou-more>summary::after{content:"▾";margin-left:6px}.saydou-day-leave{display:flex;align-items:center;gap:8px;margin-top:10px;padding:8px 0;color:#5C6B63;font-size:13px}.saydou-day-leave i{width:8px;height:8px;border-radius:50%;background:#8A8A8A;flex:none}.saydou-day-leave span{flex:1}.saydou-day-leave-close{width:24px;height:24px;border:0;border-radius:999px;background:transparent;color:#8A8A8A;font-size:16px;cursor:pointer}.saydou-staff-hours{display:flex;gap:8px;align-items:center;margin:0;padding:8px 18px;color:#5C6B63;font-size:13px}.saydou-staff-hours i{width:8px;height:8px;border-radius:50%;background:#6E8B7B}.booking-history-timeline{padding:4px 2px 0}.booking-history-entry{position:relative;padding:0 0 8px 22px}.booking-history-entry::before{content:"";position:absolute;top:8px;left:5px;width:10px;height:10px;border-radius:50%;background:#5C6B2E}.booking-history-entry::after{content:"";position:absolute;top:22px;bottom:0;left:9px;width:2px;background:#D7DEB8}.booking-history-entry>header{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-bottom:10px;color:#5C6B63;font-size:13px}.booking-history-tag{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;background:#5C6B2E;color:#fff;font-size:12px;font-weight:700}.booking-history-origin{display:inline-flex;margin:0 0 8px;padding:2px 8px;border:1px solid #D7DEDA;border-radius:4px;color:#5C6B63;font-size:12px}.booking-history-staff{margin:0 0 10px;color:#1F2B26;font-size:13px}.booking-history-fields{border-top:1px dotted #D7DEDA}
/* Final brand compliance: keep forest cards/buttons even when denser layouts tighten radii.
   Dense ops / catalog stay SayDou-compact (overridden below). */
.card,.appointment,.deposit-card,.deposit-lock-card,.schedule-card,.member-summary,.member-records,.calendar-day-panel,.deposit-desk,.member-editor.member-editor-saydou{border-radius:16px;box-shadow:0 10px 28px rgba(44,74,62,.08)}
.button,.scheduler-booking,.schedule-card,.settings-hub-card,.member-match-list{border-radius:16px}
.ops-dense-workspace .card,.catalog-crm-workspace .card,.ops-dense-workspace .ops-editor,.catalog-editor{border-radius:4px;box-shadow:none}
.ops-dense-workspace .button,.catalog-crm-workspace .button{border-radius:999px}
.member-balance{color:#2C4A3E}
.floor-toolbar{display:flex;flex-wrap:wrap;gap:10px 12px;align-items:center;margin:12px 0;padding:8px 10px;border:1px solid #E4EBE6;border-radius:4px;background:#fff;overflow:visible}
.floor-toolbar .field{display:flex;flex-direction:row;align-items:center;gap:6px;margin:0;flex:0 1 auto;min-width:0;position:relative;z-index:0;white-space:nowrap;font-size:13px}
.floor-toolbar .field input,.floor-toolbar .field select{width:auto;min-width:120px;max-width:min(220px,42vw);min-height:30px;margin:0;flex:0 1 auto}
.floor-toolbar .checkbox-field{flex:0 0 auto;margin:0;white-space:nowrap}
.floor-toolbar .status-checks,.floor-toolbar .desk-pop{flex:0 0 auto;position:relative;z-index:1}
.floor-toolbar .status-checks{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:0 8px;border:0}
.floor-toolbar .status-checks legend{padding:0}
.floor-tail{display:flex;align-items:center;gap:8px;margin-left:auto;flex:1 1 auto;flex-wrap:wrap;justify-content:flex-end;min-width:0}
.floor-tail h2{margin:0;font-size:16px;white-space:nowrap}
.floor-toolbar .booking-toolbar-actions{margin-left:0;display:flex;flex-wrap:wrap;gap:8px}
.floor-controls{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:0 0 10px;min-height:40px}
.floor-controls h2{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;text-align:center;font-size:18px;max-width:min(52vw,420px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}
.floor-controls .floor-pager{margin-left:auto}
.floor-controls .booking-toolbar-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.floor-zoom,.floor-pager{display:inline-flex;align-items:center;gap:6px}
.floor-zoom span{font-size:12px;color:#5C6B63}
.floor-zoom em{min-width:42px;text-align:center;font-style:normal;font-size:12px;font-weight:700}
.floor-zoom .button,.floor-pager .button{min-width:34px;min-height:34px;padding:0 8px}
.floor-board{display:grid;grid-template-columns:64px minmax(0,1fr);gap:0;overflow:auto;border:1px solid #E4EBE6;border-radius:4px;background:#fff;max-height:calc(100vh - 220px)}
.floor-hours{position:sticky;left:0;z-index:2;background:#F7F3EC;border-right:1px solid #E4EBE6}
.floor-hour{box-sizing:border-box;border-bottom:1px dashed #E4EBE6;color:#6E7A72;font-size:11px}
.floor-hour span{display:block;transform:translateY(-7px);padding-left:6px}
.floor-columns{display:flex;min-width:min-content}
.floor-column{border-right:1px solid #E4EBE6}
.floor-column header{position:sticky;top:0;z-index:1;display:grid;gap:2px;padding:10px 12px;border-bottom:1px solid #E4EBE6;background:#fff}
.floor-column header strong{font-size:13px}
.floor-column header small{color:#6E7A72;font-size:11px}
.floor-lane{position:relative;background:repeating-linear-gradient(to bottom,#fff 0,#fff calc(50% - .5px),#EEF3EF calc(50% - .5px),#EEF3EF 50%,#fff 50%,#fff calc(100% - .5px),#E4EBE6 calc(100% - .5px),#E4EBE6 100%)}
.floor-lane>i{display:none}
.floor-block{position:absolute;left:6px;right:6px;z-index:1;overflow:hidden;padding:6px 8px;border:1px solid #C9D5CC;border-radius:4px;background:#E7EFEA;color:#2C4A3E;text-align:left;font:inherit;cursor:pointer;box-shadow:0 4px 12px rgba(44,74,62,.08)}
.floor-block strong,.floor-block span,.floor-block small{display:block;line-height:1.25}
.floor-block span,.floor-block small{font-size:11px;color:#5C6B63}
.consult-board{display:flex;flex-direction:column;gap:6px}.consult-row{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px;align-items:center;min-height:36px}.consult-row.quiet{min-height:28px}.consult-time{padding:0;color:#3D4A24;font-size:14px;font-weight:700}.consult-cards{display:flex;flex-wrap:wrap;gap:8px}.consult-card{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:168px;max-width:100%;min-height:0;padding:8px 10px;border:1px solid #D7DEB8;border-radius:12px;background:#fff;color:#1F2B26;text-align:left;cursor:pointer}.consult-card:hover,.consult-card.on{border-color:#5C6B2E;background:#F7FBF6}.consult-card strong,.consult-card span,.consult-card em{overflow:hidden;font-size:13px;font-style:normal;color:#3E5248;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.consult-card strong{color:#1F2B26;font-size:14px}.consult-card em{color:#5C6B2E;font-weight:700}
.duty-board{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0 0}.duty-board h3{margin:0 0 6px;font-size:15px}.duty-board article:first-child h3{color:#2C4A3E}.duty-board article:last-child h3{color:#8A5A4A}.duty-board ul{margin:0;padding:0;list-style:none;max-height:180px;overflow:auto}.duty-board li{display:flex;gap:8px;align-items:baseline;padding:4px 0;border-bottom:1px solid #E4E8E2;font-size:14px}.duty-board li span{color:#4E5B54}.floor-open{position:absolute;left:0;right:0;z-index:0;background:#F7FBF6;pointer-events:none}.floor-block.booking.pending{background:#FFF8E8;border-color:#E4D7A8}.floor-block.booking.arrived{background:#D7EBD8;border-color:#6E9A74}.floor-block.booking.confirmed{background:#E7F6EE;border-color:#8EAA9C}.floor-block.booking.deleted{background:#F3F0F0;border-color:#D0C8C8;color:#8A817C}
.floor-block.booking.completed{background:#EEF2E2;border-color:#C5CBA0}
.floor-block.booking strong,.floor-block.booking span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.floor-block.booking strong{font-size:13px;font-weight:700;line-height:1.3}
.floor-block.booking span{font-size:12px;font-weight:400;line-height:1.35}
.teacher-hours-who{display:grid;gap:4px;margin:0 0 10px;font-size:14px;font-weight:700}
.teacher-hours-who select{font-weight:400}
.floor-block.booking.cancelled,.floor-block.booking.no_show{background:#F8ECEC;border-color:#E0B4B4}
.floor-block.leave,.floor-block.event{background:#ECEFF1;border-color:#C5CED3;cursor:default}
.floor-block.rental{background:#F4F0E6;border-color:#C9B896;cursor:default}
.floor-column.space-column header{background:#F7F3EC}
.admin-shell .content:has(.space-screen){display:flex;flex-direction:column;height:100dvh;overflow:hidden}
.space-screen{display:flex;flex-direction:column;flex:1;min-height:0}
.space-fit-controls{grid-template-columns:minmax(0,1fr) auto}
.floor-board.space-fit{flex:1;height:auto;max-height:none;min-height:0;overflow:hidden;grid-template-rows:auto minmax(0,1fr)}
.space-fit-corner{background:#F7F3EC;border-bottom:1px solid #E4EBE6;border-right:1px solid #E4EBE6}
.space-fit-labels{display:flex;min-width:0;background:#F7F3EC;border-bottom:1px solid #E4EBE6}
.space-fit-label{flex:1 1 0;display:flex;align-items:center;justify-content:center;min-width:0;padding:8px 2px;border-right:1px solid #E4EBE6;text-align:center}
.space-fit-label strong{display:block;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.space-fit .floor-hours{display:flex;flex-direction:column;height:100%;min-height:0}
.space-fit .floor-hour{flex:1 1 0;min-height:0}
.space-fit .floor-columns{height:100%;min-width:0}
.space-fit .floor-column{flex:1 1 0;width:auto;min-width:0;display:flex}
.space-fit .floor-lane{flex:1;height:100%;min-height:0}
.space-screen .share-detail{flex:0 0 auto;max-height:72px;overflow:auto;margin-top:8px}
.floor-empty{position:absolute;left:10px;top:12px;margin:0;font-size:12px}
.floor-merge-board{border-color:#D7C9A8}
.floor-block.event.store_closed,.floor-block.event.booking_closed{background:#F6EEE6}
.floor-block.event.store_open{background:#E7F6EE;border-color:#8EAA9C}
.floor-block.event.unassigned_closed{background:#EEF2E2;border-color:#C5CBA0}
.floor-block.event.teacher_extra{background:#EAF3F6;border-color:#8EAEB8}
.floor-now{position:absolute;left:0;right:0;z-index:3;height:2px;background:#C44747;pointer-events:none}
.floor-now::before{content:"";position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:#C44747}
@media(max-width:1100px){
  .floor-controls{flex-direction:column;align-items:stretch;gap:8px}
  .floor-controls h2{position:static;left:auto;top:auto;transform:none;max-width:none;text-align:left;pointer-events:auto}
  .floor-controls .floor-pager{margin-left:0}
  .floor-controls .booking-toolbar-actions{justify-content:flex-start}
  .floor-toolbar .booking-toolbar-actions{margin-left:0}
  .floor-tail{margin-left:0;justify-content:flex-start;width:100%}
}
.booking-filter-stack{display:grid;gap:8px;min-width:min(100%,520px)}
.share-field{display:flex;align-items:center;gap:10px;margin:0;padding:8px 12px;border:1px solid #D7DEB8;border-radius:10px;background:#F7F8F1}
.share-field legend{padding:0 6px;color:#3D4A24;font-size:13px;font-weight:700}
.share-jump{border:0;background:transparent;padding:0;color:#3D4A24;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.day-share{display:block;margin:2px 0;color:#6B5A2E;font-size:11px;line-height:1.35;text-align:left}
.day-kind-label{margin:10px 0 0;color:#6B5A2E;font-size:12px;font-weight:700}
.booking-legend-item.rejected,.booking-overview .day-status.rejected,.day-side-status.rejected select{color:#A15C38}
.desk-notices{display:grid;gap:8px;margin:0 0 12px;padding:12px 14px;border:1px solid #E2C98A;border-radius:10px;background:#FFF8E8}
.desk-notices strong{color:#6B4E12}
.desk-notices p{margin:0;color:#6E7A72;font-size:13px}
.desk-notices button{justify-self:start;border:0;background:transparent;padding:0;color:#1F2B26;font:inherit;text-align:left;text-decoration:underline;cursor:pointer}
.share-side-detail{margin:12px 0 0;padding-top:10px;border-top:1px solid #E4E0D4}
.share-page-fraction{display:flex;justify-content:flex-end;align-items:baseline;gap:10px;margin:16px 0 0;padding:12px 8px 0;border-top:1px solid #E4E0D4;color:#6B5A2E;font-size:13px}
.share-page-fraction strong{max-width:42vw;overflow:hidden;font-size:16px;font-weight:700;line-height:1.3;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}
.booking-top-line{display:flex;align-items:center;gap:8px;margin:0 0 6px;overflow:visible}
.booking-top-line .booking-desk-row,.booking-top-line .booking-toolbar{flex:1;margin:0;min-width:0}
.booking-overview .booking-cal-nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;width:100%;margin:4px 0 8px}
.booking-overview .booking-cal-nav h2{margin:0;font-size:18px;font-weight:800;white-space:nowrap;text-align:center;justify-self:center}
.booking-overview .booking-cal-nav .view-switch{justify-self:start}
.booking-overview .booking-cal-nav .booking-cal-pager{justify-self:end;justify-content:flex-end}
.booking-overview .day-number{left:50%;right:auto;transform:translateX(-50%);text-align:center}
.booking-overview .calendar-overview-layout .day-number{left:50%;right:auto;transform:translateX(-50%)}
.share-detail h3{margin:0 0 6px;color:#3D4A24}
.share-detail-list{display:grid;gap:8px}
.share-detail-list article{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;padding:10px 12px;border:1px solid #E4E0D4;border-radius:10px;background:#fff}
.share-detail-list em{font-style:normal;font-weight:700}
.share-detail-list em.share-pending{color:#A15C38}
.share-detail-list em.share-confirmed{color:#2F7D4A}
.share-detail-list em.share-rejected{color:#8A4B4B}
.floor-block.rental{cursor:pointer}
.booking-desk-row{display:flex;align-items:center;gap:8px;min-width:0;margin:0 0 12px;overflow:visible}
.booking-overview{overflow:visible}
.desk-chips{display:flex;gap:6px;flex:0 1 auto;overflow:visible}
.desk-chip,.desk-menu-button,.booking-overview .booking-desk-row>.button,.booking-overview .booking-desk-row .booking-toolbar-actions>.button{flex:none;height:30px;min-height:30px;padding:0 12px;border:1px solid #D7D7D7;border-radius:6px;background:#fff;color:#1C1C1E;font:inherit;font-size:13px;font-weight:560;line-height:28px;white-space:nowrap;cursor:pointer}
.desk-menu-button{display:inline-flex;align-items:center;gap:6px}
.desk-menu-button span{color:#8A8A8A;font-size:11px}
.desk-chip:hover,.desk-menu-button:hover,.desk-menu.open .desk-menu-button{background:#F7F7F7}
.desk-bell{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px 0 8px;border:1px solid #C44747;border-radius:999px;background:#FFF4F2;color:#A12626;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.desk-bell strong{min-width:1.2em;font-size:15px;text-align:center}
.desk-bell em{font-style:normal;white-space:nowrap}
.desk-alert-panel{position:absolute;z-index:60;top:calc(100% + 4px);left:0;width:min(320px,70vw);max-height:320px;overflow:auto;padding:10px 12px 12px;border:1px solid #E6E6E6;border-radius:10px;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.14);color:#1C1C1E}
.desk-alert-lead{margin:0 0 8px;font-size:13px;font-weight:650;line-height:1.45}
.desk-alert-list{display:grid;gap:6px;margin:0 0 10px;padding:0;list-style:none}
.desk-alert-list li{display:grid;gap:2px;font-size:13px;font-weight:560}
.desk-alert-list span{color:#5C6570;font-size:12px}
.desk-alert-panel button{height:32px;margin-top:4px;padding:0 12px;border:0;border-radius:8px;background:#5C6B2E;color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.desk-alert-panel button.desk-alert-stock{display:grid;width:100%;height:auto;margin:0;padding:6px 8px;border-radius:6px;background:transparent;color:#1C1C1E;text-align:left;font-weight:650}
.desk-bell-icon{display:inline-flex;width:18px;height:18px;align-items:center;justify-content:center;border-radius:50%;background:#C44747;color:#fff;font-size:13px;font-weight:800;animation:desk-bell 1.05s ease-in-out infinite}
@keyframes desk-bell{0%,100%{transform:rotate(0)}18%{transform:rotate(-16deg)}36%{transform:rotate(14deg)}54%{transform:rotate(-10deg)}72%{transform:rotate(6deg)}}
@media(prefers-reduced-motion:reduce){.desk-bell-icon{animation:none}}
.day-side-card{position:relative}
.day-side-card:has(.day-confirm){padding-bottom:26px}
.day-side-card>button{display:grid;gap:2px;width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.day-confirm{position:absolute;right:8px;bottom:8px;display:inline-flex;align-items:center;gap:4px;color:#2F7D4A;font-size:12px;font-weight:700}
.day-confirm input{width:16px;height:16px;accent-color:#2F7D4A}
.desk-chip.alert{border-color:#E2B08A;background:#FFF6EE;color:#8A3B12}
.desk-chip.alert:hover{background:#FDE8D8}
.booking-overview .booking-desk-row .booking-toolbar-actions>.button{background:#5C6B2E;border-color:#5C6B2E;color:#fff}
.desk-menu{position:relative;flex:none}
.desk-menu-panel{position:absolute;z-index:60;top:calc(100% + 4px);left:0;display:grid;gap:0;min-width:168px;max-height:320px;overflow:auto;padding:6px 0;border:1px solid #E6E6E6;border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.14)}
.desk-menu[data-menu="more"],.booking-desk-row .booking-toolbar-actions .desk-menu .desk-menu-panel{left:auto;right:0}
.desk-legend{grid-template-columns:1fr;gap:2px;margin:0;padding:4px 0}
.desk-menu-panel .booking-legend-item{padding:6px 14px}
.desk-menu-panel .share-jump,.desk-menu-panel button{justify-content:flex-start;width:100%;min-height:34px;padding:6px 14px;border:0;border-radius:0;background:transparent;color:#1C1C1E;font:inherit;font-size:14px;text-align:left;text-decoration:none;cursor:pointer}
.desk-menu-panel button:hover,.desk-menu-panel button[aria-current="true"],.desk-menu-panel .share-jump:hover{background:#F4F4F4}
.desk-menu-panel .status-checks{display:flex;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.desk-menu-panel .status-checks legend{display:none}
.desk-menu-panel .status-check{padding:7px 14px;font-size:14px}
.desk-menu-panel .status-check input{accent-color:#5C6B2E}
.booking-desk-row .booking-switch{flex:none;min-height:30px;white-space:nowrap}
.booking-desk-row .booking-toolbar-actions{flex:none;margin-left:0}
.booking-overview .booking-desk-row .desk-menu-button{width:auto;min-width:30px;padding:0 10px}
.calendar-overview-layout{grid-template-columns:minmax(0,1fr) 300px}
.day-side-booking{grid-template-columns:minmax(0,1fr) 108px;gap:4px 8px;align-items:center;padding:8px 0}
.day-side-main{display:grid;gap:2px;min-width:0}
.day-side-name{font-size:13px;font-weight:650;line-height:1.3;text-decoration:none}
.day-side-line{overflow:hidden;color:#5C6B63;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.day-side-actions{display:grid;gap:4px;justify-items:stretch}
.day-status-pop{position:relative;justify-self:end}
.day-status-pop>summary{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:0;border:0;background:transparent;color:#C4A035;font:inherit;font-size:13px;font-weight:650;cursor:pointer;list-style:none}
.day-status-pop>summary::-webkit-details-marker{display:none}
.day-status-pop>summary::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.day-status-pop>summary::after{content:"›";font-size:14px;line-height:1}
.day-status-pop.confirmed>summary{color:#2F7D4A}
.day-status-pop.completed>summary,.day-status-pop.done>summary{color:#5C6B2E}
.day-status-pop.cancelled>summary{color:#C43838}
.day-status-pop.arrived>summary{color:#2F6F9F}
.day-status-pop.rejected>summary,.day-status-pop.deleted>summary{color:#8A817C}
.day-status-pop-list{position:absolute;z-index:70;top:calc(100% + 4px);right:0;display:grid;min-width:112px;padding:6px 0;border:1px solid #E6E6E6;border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.14)}
.day-status-pop-list button{min-height:34px;padding:6px 16px;border:0;background:transparent;color:#1C1C1E;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.day-status-pop-list button:hover,.day-status-pop-list button[aria-current="true"]{background:#F4F4F4}
.calendar-day-panel,.calendar-day-list,.day-side-booking,.day-side-actions{overflow:visible}
.day-side-actions .day-side-history{justify-self:center;font-size:12px}
@media(min-width:761px){.admin-shell.shell{grid-template-columns:148px minmax(0,1fr)}.admin-shell .sidebar{width:148px;padding:14px 8px}.admin-shell .nav-group-button{padding:8px;font-size:15px;border-radius:8px}.admin-shell .nav-children{margin-left:4px}.admin-shell .nav-children .nav-button{min-height:32px;height:auto;padding:6px 8px;font-size:13px;line-height:1.35;white-space:normal;text-align:left}.admin-shell .sidebar-title{font-size:16px}}
.floor-column header{min-width:0;padding:8px 6px}
.floor-column header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cascade-picker{margin:0}
.cascade-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cascade-empty{display:none}
.cascade-picked{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.cascade-picked li{display:flex;align-items:center;justify-content:space-between;gap:8px}
@media(max-width:700px){.cascade-levels{grid-template-columns:1fr}}
.booking-overview .day-status.leave,.booking-overview .day-status.extra,.booking-overview .day-status.share{white-space:normal;overflow:visible;text-overflow:clip;font-size:13px;line-height:1.35}
.booking-overview .day-status.leave{color:#5C5C5C}
.booking-overview .day-status.pending{color:#C4A035}
.booking-overview .day-status.done{color:#7B5CA8}
.booking-overview .day-status.share{color:#8A6A12}
.leave-date-field{display:grid;gap:8px}
.leave-picked-label{margin:0;color:#6E6E73;font-size:13px}
.leave-picked{display:flex;flex-wrap:wrap;gap:8px;min-height:32px}
.leave-picked-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px 4px 12px;border-radius:999px;background:#E7E7EA;color:#3A3A3C;font-size:13px}
.leave-picked-chip button{border:0;background:transparent;color:#6E6E73;cursor:pointer;font-size:16px;line-height:1}
.leave-date-board{width:min(100%,280px);border:1px solid #E4E4E7;border-radius:12px;padding:8px 10px 12px;background:#fff}
.leave-date-nav{display:flex;align-items:center;justify-content:space-between}
.leave-date-nav strong{font-size:14px}
.leave-date-nav button{border:0;background:transparent;min-width:32px;min-height:32px;cursor:pointer;font-size:18px}
.leave-date-week,.leave-date-grid{display:grid;grid-template-columns:repeat(7,1fr);text-align:center}
.leave-date-week span{color:#8E8E93;font-size:12px;padding:4px 0}
.leave-date-grid button{border:0;background:transparent;min-height:32px;border-radius:999px;cursor:pointer;font:inherit}
.leave-date-grid button.other{color:#C7C7CC}
.leave-date-grid button.on{background:#1C1C1E;color:#fff}
.leave-date-grid button.today:not(.on){box-shadow:inset 0 0 0 1px #5C6B2E}
.booking-overview .calendar-overview-layout{grid-template-columns:minmax(520px,1.7fr) minmax(300px,0.78fr);align-items:stretch}
.calendar-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.booking-overview .calendar-overview-layout .day{display:flex;flex-direction:column;align-items:flex-start;min-height:148px;padding:8px 8px 10px}
.booking-overview .calendar-overview-layout .day.pad{background:#fafbf8;pointer-events:none}
.booking-overview .calendar-overview-layout .day-number{top:1px;right:2px;width:auto;height:auto;padding:0;font-size:11px;line-height:1;background:transparent;color:#5c6b63;border-radius:0}
.booking-overview .day.selected,.booking-overview .day.today{background:transparent}
.booking-overview .day.closed,.booking-overview .day.closed.today,.booking-overview .day.closed.selected{background:#EEF2E2}
.booking-overview .day.closed.selected{box-shadow:inset 0 0 0 2px #5C6B2E}
.booking-overview .day-status.closed{color:#8A4B5A}
button.day-side-card{font:inherit;color:inherit;text-align:left;cursor:pointer}
.booking-alert-reason{display:flex;gap:8px;align-items:flex-start;margin:8px 28px 0;padding:10px 12px;border:1px solid #E4D7A8;border-radius:8px;background:#FFF6D8;color:#5C4A12}.booking-alert-reason strong{display:block;font-size:13px;line-height:1.4}.booking-alert-reason p{margin:2px 0 0;font-size:13px;line-height:1.45}.booking-delete-note{margin:4px 0 12px;color:#1F2B26;font-size:20px;font-weight:800;line-height:1.45}
.booking-detail-history{margin:8px 2px 0;padding:0;border-top:1px solid #E4EBE6}
.booking-detail-history>summary{display:flex;align-items:center;gap:6px;padding:10px 4px;color:#243024;font-size:15px;font-weight:700;cursor:pointer;list-style:none}
.booking-detail-history>summary::-webkit-details-marker{display:none}
.booking-detail-history>summary::before{content:"▸";color:#5C6B2E}
.booking-detail-history[open]>summary::before{content:"▾"}
.booking-history-timeline{display:grid;gap:8px}
.booking-history-entry{position:static;padding:8px 0;border:0;background:transparent}
.booking-history-entry::before,.booking-history-entry::after{content:none;display:none}
.booking-history-entry,.booking-history-entry header,.booking-history-entry p,.booking-history-entry time{font-size:15px;font-weight:400}
.booking-history-entry header{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;color:#243024}
.booking-history-tag{display:inline-flex;align-items:center;min-height:22px;padding:0 10px;border:1px solid #5C6B2E;border-radius:999px;background:transparent;color:#243024;font-size:15px;font-weight:700;line-height:1.4}
.booking-history-entry p{margin:4px 0 0;color:#243024}
.booking-modal-saydou:not(.booking-detail-compact) > form.stack:not(.booking-editor-saydou):not(.booking-ops-form-saydou),
.booking-modal-saydou:not(.booking-detail-compact) > .booking-history-timeline,
.booking-modal-saydou:not(.booking-detail-compact) > .notice,
.booking-modal-saydou:not(.booking-detail-compact) > p{padding:22px 24px 6px}
.booking-modal-saydou:not(.booking-detail-compact) > .form-actions{margin:0;padding:14px 24px 18px}
.booking-modal-saydou:not(.booking-detail-compact) > form.stack:not(.booking-editor-saydou):not(.booking-ops-form-saydou) > .form-actions{margin:4px -24px 0;padding:16px 24px 18px;border-top:1px solid #E8E8E8}
.booking-editor-saydou .booking-editor-body{padding:10px 14px 8px}
.booking-editor-saydou .booking-section{gap:8px;padding:10px 12px}
.booking-editor-saydou .field textarea{min-height:34px;max-height:34px;resize:none}
.booking-ops-form-saydou{padding:28px 32px 12px;box-sizing:border-box}
.booking-ops-form-saydou .modal-foot{margin:16px -32px 0;padding:14px 32px}
.booking-overview .calendar-overview-layout .day-status{font-size:13px;line-height:1.35;white-space:normal;overflow:visible;text-overflow:clip}
.booking-overview .calendar-overview-layout .day-status-list{width:100%;max-height:none;overflow:visible}
.calendar-month-bar{display:flex;align-items:center;justify-content:center;gap:8px;flex:none;margin:0 0 6px}
.calendar-month-bar strong{min-width:7.5em;text-align:center;font-size:18px;font-weight:800}
.calendar-month-bar .button{min-height:34px;padding:4px 12px}
.day-side-card.tone-full{background:#fff;border-color:#d7e0d8}
.day-side-card.tone-part{background:#D5E4C4;border-color:#b7c9a4}
.day-side-card.tone-rental,.day-side-card.share.tone-rental{background:#F8D3DC;border-color:#e7b4c0}
.modal.booking-detail-compact>.desk-sheet,.modal.booking-detail-compact>form.booking-detail-edit{display:flex;flex:1;flex-direction:column;min-height:0}
.modal.booking-detail-compact form .desk-sheet{display:flex;flex:1;flex-direction:column;min-height:0}
.desk-sheet{display:flex;flex-direction:column;gap:12px;min-height:0}
.desk-sheet-scroll{overflow:auto;min-height:0;padding:18px 28px 12px}
.desk-sheet-lead{display:grid;gap:4px;margin:0;padding:2px 2px 12px}
.desk-sheet-lead strong,.desk-sheet-lead .booking-member-jump{font-size:15px;font-weight:700;line-height:1.4;justify-content:flex-start}
.desk-sheet-lead span,.desk-sheet-lead em{color:#5C6B63;font-size:13px;font-style:normal}
.desk-sheet-rows{display:flex;flex-direction:column;gap:0;margin:0;border:1px solid #E4EBE6;border-radius:10px;overflow:hidden;background:#fff}
.desk-sheet-line{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-top:1px solid #E4EBE6}
.desk-sheet-line:first-child{border-top:0}
.desk-sheet-line>div{grid-column:span var(--span,2);display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center;min-height:42px;padding:8px 12px;border-left:1px solid #E4EBE6}
.desk-sheet-line>div:first-child{border-left:0}
.desk-sheet-line>div:only-child{grid-column:1 / -1}
.desk-sheet-rows dt{margin:0;color:#243024;font-size:15px;font-weight:700}
.desk-sheet-rows dd,.desk-sheet-rows .booking-member-jump{margin:0;color:#243024;font-size:15px;font-weight:400;text-align:right;white-space:nowrap}
.desk-sheet-rows dd .button{min-height:28px;padding:0 10px}
.desk-sheet-line>div[style*="--span:6"] dd{white-space:normal;overflow-wrap:anywhere}
.modal.booking-detail-compact .desk-sheet{width:100%;max-width:none;padding:0;border-radius:0;box-shadow:none}
.desk-sheet .notice-send{display:inline-flex;align-items:center;gap:6px;width:auto;min-height:36px;padding:0 16px}
.desk-sheet .notice-send input{width:16px;height:16px;margin:0;accent-color:#fff}
.desk-sheet .notice-send>button{width:auto;height:auto;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font:inherit;font-weight:400;line-height:1.2;cursor:pointer}
.desk-sheet .notice-send>button:disabled{opacity:.72;cursor:default}
.notice-sent,.notice-offline{display:inline-flex;align-items:center;height:36px;min-height:36px;padding:0 16px;border-radius:8px;font-size:15px;font-weight:400;box-sizing:border-box}
.notice-sent,.notice-offline{background:#5C6B2E;border:1px solid #5C6B2E;color:#fff}
.desk-sheet-rows .tone-full{background:#fff}
.desk-sheet-rows .tone-part{background:#D5E4C4}
.desk-sheet-rows .tone-rental{background:#F8D3DC}
.desk-sheet-actions{display:flex;flex:none;justify-content:space-between;gap:8px;align-items:center;margin:4px 28px 18px;padding:16px 0 0;border-top:1px solid #E4EBE6;background:#fff}
/* 明細下方按鈕：高度／圓角／橄欖色一次統一（含危險／次要／已發送）。 */
.desk-sheet-actions .button,
.desk-sheet-actions .button.secondary,
.desk-sheet-actions .button.danger,
.desk-sheet-actions .notice-send,
.desk-sheet-actions .notice-sent,
.desk-sheet-actions .notice-offline{
  display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;
  height:36px;min-height:36px;padding:0 16px;border-radius:8px;border:1px solid #5C6B2E;
  background:#5C6B2E;color:#fff;font-size:15px;font-weight:400;line-height:1;box-shadow:none
}
.desk-sheet-actions .notice-send{gap:6px}
.desk-sheet-actions .notice-send.on{background:#5C6B2E;border-color:#5C6B2E;color:#fff}
.desk-sheet-actions .notice-send.on>button{color:#fff}
.desk-status{display:inline-flex;align-items:center;min-height:26px;padding:0 8px;border-radius:999px;background:#E7EFEA;color:#2C4A3E;font-style:normal;font-size:15px;font-weight:400}
.desk-status.is-pending{background:#F8E7C4;color:#7A4E00}
.desk-status.is-confirmed{background:#D5E4C4;color:#245C38}
.desk-status.is-cancelled,.desk-status.is-rejected,.desk-status.is-deleted{background:#F8D3DC;color:#8A3040}
.desk-status-line{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;align-items:center}
.desk-status-line .button{min-height:30px;padding:2px 10px}
.desk-sheet .booking-accept{display:inline-flex;align-items:center;gap:6px;width:auto;margin:0;justify-content:flex-start}
.day-side-status{justify-self:start;font-style:normal;font-size:11px;font-weight:800}
.day-side-status.is-pending{color:#7A4E00}
.day-side-status.is-confirmed{color:#2F7D4A}
.day-side-status.is-cancelled,.day-side-status.is-rejected,.day-side-status.is-deleted{color:#8A3040}
.desk-sheet-danger,.desk-sheet-main{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.desk-sheet .detail-edit{display:flex;flex-wrap:nowrap;gap:6px;justify-content:flex-end;align-items:center;min-width:0}
.desk-sheet .detail-edit input,.desk-sheet .detail-edit select{width:auto;min-width:0;flex:1 1 6.5em}
.desk-sheet-rows dd select,.desk-sheet-rows dd input,.desk-sheet-rows dd textarea{width:auto;max-width:100%;min-height:32px;border:1px solid #C9D5CC;border-radius:4px;padding:4px 6px;font:inherit;background:#fff}
.desk-sheet-rows dd textarea{width:100%}
.day-side-card.share{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px}
.day-side-card.share .day-side-actions{flex-direction:row;flex-wrap:nowrap;justify-content:flex-end;margin:0}
.visit-chip{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:auto;height:22px;min-height:22px;margin:0;padding:0 8px;border:1px solid #5C6B2E;border-radius:999px;background:#fff;color:#5C6B2E;font-size:12px;font-weight:400;line-height:1;white-space:nowrap;cursor:pointer}
.visit-chip[disabled]{border-color:#C9D5CC;background:#fff;color:#8A968E;cursor:default}
.day-side-open{display:grid;gap:2px;min-width:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.calendar-day-panel{display:flex;flex-direction:column;min-height:100%}
.calendar-day-panel header h2{margin:0}
.day-side-stats{display:flex;flex-wrap:wrap;gap:4px 10px;margin:6px 0 0;max-width:100%}
.day-side-stats span{max-width:100%;overflow:visible;color:#3D4A24;font-size:13px;font-weight:750;text-overflow:clip;white-space:normal}
.calendar-day-list{display:flex;flex-direction:column;gap:10px;padding:8px 12px 16px}
.day-side-slot{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;align-items:start}
.day-side-slot-time{margin:10px 0 0;font-size:13px;font-weight:750;color:#2C4A3E}
.day-side-slot-row{display:flex;flex-wrap:wrap;gap:8px}
.day-side-card{flex:0 0 calc(50% - 4px);width:calc(50% - 4px);max-width:calc(50% - 4px);min-width:0;display:grid;gap:2px;padding:6px 8px;border:1px solid #d7e0d8;border-radius:10px;background:linear-gradient(180deg,#fff 0%,#f3f7f2 100%);box-shadow:none}
.day-side-card .day-side-name{font-size:12px}
.day-side-card .day-side-line{font-size:11px}
.day-side-card .day-status-pop>summary{min-height:20px;font-size:11px}
.day-side-card .day-side-history{font-size:11px}
.day-side-card.leave{background:linear-gradient(180deg,#f7faf6,#e7efe8)}
.day-side-card.share{background:linear-gradient(180deg,#fff6e4 0%,#f3e2b6 100%);border-color:#e2c98a}
.day-side-card .day-side-actions{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin-top:2px}
.day-side-card.unsent{padding-right:26px}
.day-side-alert{position:absolute;top:6px;right:6px;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid #C4A035;border-radius:3px;background:#FFF6D8;color:#8A6412;font-size:12px;font-weight:800;line-height:1}
@media(max-width:1050px){.booking-overview .calendar-overview-layout{grid-template-columns:minmax(0,1fr)}.booking-overview .calendar-overview-layout .day{min-height:148px}}
.booking-editor-saydou .booking-info-rows{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px;align-items:end}
.booking-editor-saydou .booking-staff-rows{grid-template-columns:minmax(0,1.4fr) auto;align-items:end}
.booking-editor-saydou .booking-service-picker>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.booking-editor-saydou .booking-info-rows .booking-switch{min-height:42px;margin:0}
.booking-time-field{grid-column:1 / -1}
.booking-time-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:6px;max-height:220px;overflow:auto;padding:2px}
.booking-time-slot{min-height:40px;padding:8px 10px;border:1px solid #D7E0D8;border-radius:8px;background:#fff;color:#1F2B26;font-size:14px;font-weight:600;cursor:pointer}
.booking-time-slot.on{border-color:#5C6B2E;background:#5C6B2E;color:#fff}
.booking-other-hours{margin-top:10px;border:1px solid #D7E0D8;border-radius:8px;background:#fff;padding:0 10px}
.booking-other-hours>summary{list-style:none;cursor:pointer;min-height:40px;display:flex;align-items:center;justify-content:space-between;font-weight:600;color:#1F2B26}
.booking-other-hours>summary::-webkit-details-marker{display:none}
.booking-other-hours>summary::after{content:'▾';color:#7A8796;font-weight:400}
.booking-other-hours[open]>summary::after{content:'▴'}
.booking-other-hours .booking-time-grid{max-height:180px;margin-bottom:10px}
.booking-modal-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px 12px}
.booking-modal-foot .booking-switch{margin:0;min-height:40px}
.booking-duration-hint{margin:8px 0 0}
.booking-editor-saydou .teacher-day-board{margin-top:10px;padding:10px 12px;border:1px solid #D7E0D8;border-radius:8px;background:#F7F3EC}
.booking-editor-saydou .teacher-day-board p{margin:0;font-size:14px}
.booking-editor-saydou .teacher-day-board ul{margin:6px 0 0;padding-left:18px}
.booking-editor-saydou .teacher-day-board li{margin:2px 0;font-size:13px}
@media(max-width:700px){.booking-editor-saydou .booking-info-rows,.booking-service-layout,.booking-service-side,.booking-editor-saydou .booking-service-picker .cascade-levels{grid-template-columns:1fr}}

/* Admin desks stay on one screen: titles, filters and amounts share rows. */
.admin-shell .content{padding:8px 12px 10px}
.admin-shell .ops-breadcrumb{margin:0 0 2px;font-size:11px}
.admin-shell .ops-page-heading{display:flex;align-items:center;gap:10px;padding:0 0 4px;margin:0;border-bottom:0}
.admin-shell .ops-page-heading>div{display:flex;align-items:baseline;gap:8px;min-width:0}
.admin-shell .ops-page-heading h1{margin:0;font-size:18px}
.admin-shell .ops-page-heading p{margin:0;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.admin-shell .ops-section-title{margin:4px 0 0;font-size:15px}
.admin-shell .ops-dense-workspace .ops-nav .button,
.admin-shell .ops-dense-workspace .finance-nav .button,
.admin-shell .order-record-tabs button,
.admin-shell .catalog-item-tabs button{min-height:32px;padding:4px 12px}
.admin-shell .ops-dense-workspace .toolbar{margin:6px 0;padding:6px 8px}
.admin-shell .ops-dense-workspace .ops-table th,
.admin-shell .ops-dense-workspace .ops-table td{padding:4px 8px}
.admin-shell .business-overview{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.admin-shell .business-overview>.business-overview-topline,
.admin-shell .business-overview>.business-overview-bar,
.admin-shell .business-overview>.business-period,
.admin-shell .business-overview>.business-custom-range,
.admin-shell .business-overview>.toolbar{flex:0 1 auto;width:auto;margin:0;padding:0;border:0;background:transparent}
.admin-shell .business-overview>.business-hero,
.admin-shell .business-overview>.business-summary-grid,
.admin-shell .business-overview>.card,
.admin-shell .business-overview>.ops-table-wrap,
.admin-shell .business-overview>h3,
.admin-shell .business-overview>.note,
.admin-shell .business-overview>section{flex:1 1 100%;min-width:0}
.admin-shell .business-overview-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
.admin-shell .business-overview-bar h2,.admin-shell .business-overview-topline h2{margin:0;font-size:16px;white-space:nowrap}
.admin-shell .business-overview-topline{align-items:center;gap:8px}
.admin-shell .business-overview-topline>div{display:flex;align-items:center;gap:8px;min-width:0}
.admin-shell .business-overview-topline .eyebrow,.admin-shell .business-overview-topline p{display:none}
.admin-shell .business-custom-range{align-items:center;margin:0}
.admin-shell .business-custom-range .field{min-width:0;gap:2px}
.admin-shell .business-custom-range .field input{min-height:30px}
.admin-shell .business-month-control .button,.admin-shell .business-actions .button,.admin-shell .business-custom-range .button{min-height:30px;padding:4px 10px}
.admin-shell .business-hero{display:flex;align-items:baseline;justify-content:flex-start;gap:10px;margin:0;padding:6px 12px;text-align:left}
.admin-shell .business-hero strong{font-size:22px}
.admin-shell .business-summary-grid{gap:8px}
.admin-shell .business-card{padding:8px 10px}
.admin-shell .business-card h3{margin:0 0 2px;font-size:13px}
.admin-shell .business-card>strong{margin-bottom:2px;font-size:18px}
.admin-shell .business-card>p{display:-webkit-box;min-height:0;margin:0 0 4px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}
.admin-shell .business-card dl>div{padding:2px 0}
.admin-shell .business-overview .card{padding:8px 10px}
.admin-shell .business-overview .section-heading{display:flex;align-items:baseline;gap:8px;margin:0 0 6px}
.admin-shell .business-overview .section-heading h3,.admin-shell .business-overview .section-heading p{margin:0}
.admin-shell .business-overview .section-heading p{font-size:12px}
.admin-shell .content:has(.booking-overview),
.admin-shell .content:has(.space-screen),
.admin-shell .content:has(.schedule-screen){display:flex;flex-direction:column;height:100dvh;overflow:hidden;padding:6px 10px 8px}
.admin-shell .booking-crumb{margin:0 0 4px}
.admin-shell .booking-desk-row{margin:0 0 4px}
.admin-shell .booking-overview{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden;padding:6px 8px}
.admin-shell .booking-cal-nav{margin:0 0 4px}
.admin-shell .calendar-overview-layout{flex:1;min-height:0;overflow:hidden}
.admin-shell .calendar-side{display:flex;min-height:0;flex-direction:column;gap:4px}
.admin-shell .booking-overview .calendar{display:flex;flex:1;min-height:0;flex-direction:column}
.admin-shell .booking-overview .calendar-grid{flex:1;min-height:0;grid-auto-rows:minmax(0,1fr)}
.admin-shell .booking-overview .calendar-overview-layout .day{min-height:0;height:100%;overflow:hidden;padding:14px 4px 2px}
.admin-shell .booking-overview .calendar-overview-layout .day{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}
.admin-shell .booking-overview .calendar-overview-layout .day-number{align-self:flex-start}
.admin-shell .booking-overview .calendar-overview-layout .day-status-list{flex:1 1 auto;min-height:0;max-height:none;overflow:auto}
.admin-shell .booking-overview .day-leave-line{display:flex;flex:none;flex-direction:column;align-items:flex-start;gap:1px;width:100%;margin-top:auto;padding:2px 0;text-align:left}
.admin-shell .booking-overview .day-leave-line .day-status{width:100%;justify-content:flex-start;font-size:11px;line-height:1.35;text-align:left}
.admin-shell .calendar-day-panel{min-height:0;overflow:auto}
.schedule-screen,.admin-shell .space-screen{display:flex;flex:1;min-height:0;flex-direction:column}
.scheduler-view-switch{display:flex;gap:6px;align-items:center}
.scheduler-view-switch .teacher-chip{min-height:32px;padding:0 12px}
.admin-shell .schedule-screen .teacher-board.month-board{flex:1;min-height:0}
.admin-shell .schedule-screen .teacher-calendar.saydou{min-height:0}
.admin-shell .schedule-screen .floor-toolbar,.admin-shell .space-screen .floor-toolbar{margin:4px 0;padding:4px 8px}
.admin-shell .schedule-screen .floor-controls,.admin-shell .space-screen .floor-controls{margin:0 0 4px}
.admin-shell .schedule-screen .floor-board{flex:1;max-height:none;min-height:0;overflow:hidden}@media(max-width:1180px){.admin-shell .schedule-screen .floor-board,.admin-shell .space-screen .floor-board{overflow:auto}}
.schedule-screen .floor-hours{display:flex;flex-direction:column;height:100%;min-height:0}
.schedule-screen .floor-hour-spacer{flex:0 0 54px}
.schedule-screen .floor-hour-scale{position:relative;display:flex;flex:1;flex-direction:column;min-height:0}
.schedule-screen .floor-hour{flex:1 1 0;min-height:0}
.floor-hour-end{position:absolute;left:6px;bottom:0;color:#6E7A72;font-size:11px;transform:translateY(40%)}
.schedule-screen .floor-columns{height:100%;overflow-x:auto;overflow-y:hidden}
.schedule-screen .floor-column{display:flex;height:100%;flex-direction:column}
.schedule-screen .floor-column header{flex:0 0 54px;box-sizing:border-box;overflow:hidden}
.schedule-screen .floor-lane{flex:1;height:auto;min-height:0;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(100% / 12 - 1px),#E4EBE6 calc(100% / 12 - 1px),#E4EBE6 calc(100% / 12))}
.space-fit .floor-hours{position:relative}
.space-fit .floor-lane{background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(100% / 12 - 1px),#E4EBE6 calc(100% / 12 - 1px),#E4EBE6 calc(100% / 12))}
.admin-shell.shell:has(.space-screen),
.admin-shell.shell:has(.booking-overview){height:100dvh;max-height:100dvh;min-height:0;overflow:hidden;grid-template-rows:minmax(0,1fr)}
.admin-shell .workspace:has(.space-screen),
.admin-shell .workspace:has(.booking-overview){display:flex;flex-direction:column;height:100%;max-height:100%;min-height:0;overflow:hidden}
.admin-shell .content:has(.space-screen),
.admin-shell .content:has(.booking-overview){display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch;width:100%;height:100%;max-width:none;max-height:100%;min-height:0;margin:0;overflow:hidden}
.admin-shell .content:has(.space-screen)>.page-refresh,
.admin-shell .content:has(.booking-overview)>.page-refresh{flex:0 0 auto;margin:0}
.admin-shell .space-screen{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;flex:1 1 auto;height:100%;min-height:0;overflow:hidden}
.admin-shell .space-screen .ops-breadcrumb,
.admin-shell .space-screen .floor-toolbar,
.admin-shell .space-screen .share-detail,
.admin-shell .space-screen .share-page-fraction{min-height:0}
.admin-shell .space-screen .share-page-fraction{margin:4px 0 0;padding:4px 0 0}
.admin-shell .space-screen .floor-board.space-fit{display:grid;grid-template-columns:56px minmax(0,1fr);grid-template-rows:48px minmax(0,1fr);align-self:stretch;width:100%;height:100%;min-height:0;max-height:none;margin:0;overflow:hidden;position:relative}
.admin-shell .space-screen .space-fit-corner{position:static;width:auto;height:auto}
.admin-shell .space-screen .space-fit-labels{position:static;top:auto;right:auto;left:auto;height:auto;min-height:0}
.admin-shell .space-screen .floor-hours{position:relative;top:auto;right:auto;bottom:auto;left:auto;display:flex;flex-direction:column;width:auto;height:auto;min-height:0;overflow:hidden}
.admin-shell .space-screen .floor-columns{position:relative;top:auto;right:auto;bottom:auto;left:auto;display:flex;width:auto;height:auto;min-width:0;min-height:0;overflow:hidden}
.admin-shell .space-screen .floor-column{display:flex;flex:1 1 0;flex-direction:column;min-width:0;min-height:0;height:auto;align-self:stretch}
.admin-shell .space-screen .floor-lane{position:relative;flex:1 1 auto;height:auto;min-height:0}
.admin-shell .space-screen .floor-hour{flex:1 1 0;min-height:0}
.admin-shell .space-screen .share-detail{max-height:48px;margin-top:4px}
.modal.booking-modal-saydou.booking-detail-compact{width:min(640px,94vw);max-width:640px;padding:16px 18px 14px}.booking-detail-compact .modal-head{position:relative;margin-bottom:0}.booking-detail-compact .close-button{position:absolute;top:50%;right:12px;transform:translateY(-50%)}.booking-detail-compact .booking-detail-brief,.booking-detail-compact .form-actions,.booking-detail-compact .booking-accept{padding-left:16px;padding-right:16px}.booking-detail-compact .booking-detail-brief{padding-top:14px}.booking-detail-compact .form-actions{padding-bottom:14px}.booking-detail-compact .booking-detail-brief{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;margin:0;padding:8px 28px 4px}.booking-detail-compact .form-actions{padding-left:28px;padding-right:28px}.booking-detail-compact .booking-detail-brief div{display:grid;align-content:start;gap:2px;min-width:0;padding:0;border:0}.booking-detail-compact .booking-detail-brief span{font-size:12px;color:#6E7A72}.booking-detail-compact .booking-detail-brief strong{display:block;font-size:14px;font-weight:700;line-height:1.35;text-align:left;overflow-wrap:anywhere}.booking-detail-compact .form-actions{margin-top:14px}.booking-member-jump{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:#243024;font:inherit;font-size:15px;font-weight:400;line-height:1.4;text-align:right;cursor:pointer}.booking-member-jump .member-glass{width:15px;height:15px;flex:none;color:#5C6B2E}.desk-sheet .birthday-cue{margin-left:8px;font-size:15px;font-weight:400}.day-side-card>.day-side-name{justify-self:start;width:auto;padding:0;border:0;background:transparent;color:#2F6F5E;font:inherit;font-size:13px;font-weight:700;line-height:1.3;text-align:left;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.day-side-card>.day-side-rest{display:grid;gap:2px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.fact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px;margin:0 0 12px}.fact-grid>div{display:grid;gap:2px;min-width:0}.fact-grid span{color:#6E7A72;font-size:12px}.fact-grid strong{font-size:14px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.profile-review{display:grid;gap:8px;margin:0 0 12px;padding:14px 16px;border:1px solid #E6E6E6;border-radius:8px;background:#fff}.profile-review h2{margin:0;font-size:16px}@media(max-width:700px){.fact-grid{grid-template-columns:1fr 1fr}}
@media(min-width:701px){
  .booking-modal-saydou:not(.booking-detail-compact){width:min(1120px,96vw);max-width:1120px}
  .booking-editor-saydou .booking-editor-body{grid-template-columns:minmax(0,1.45fr) minmax(280px,.72fr);grid-template-rows:auto auto;gap:8px;align-items:stretch}
  .booking-editor-saydou .booking-editor-body>.booking-section:nth-child(1){grid-column:1;grid-row:1}
  .booking-editor-saydou .booking-editor-body>.booking-section:nth-child(2){grid-column:2;grid-row:1}
  .booking-editor-saydou .booking-editor-body>.booking-section:nth-child(3){grid-column:1;grid-row:2}
  .booking-editor-saydou .booking-editor-body>.booking-section:nth-child(4){grid-column:2;grid-row:2}
  .booking-editor-saydou .booking-info-rows{grid-template-columns:repeat(3,minmax(0,1fr))}
  .booking-editor-saydou .booking-editor-body>.booking-section:nth-child(2) .booking-member-grid,
  .booking-editor-saydou .booking-editor-body>.booking-section:nth-child(4) .booking-info-rows{grid-template-columns:1fr}
  .booking-service-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(180px,.7fr);gap:8px;align-items:start}
  .booking-editor-saydou .booking-service-picker .cascade-levels{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .booking-editor-saydou .booking-service-picker select,
  .booking-editor-saydou .field input,
  .booking-editor-saydou .field select{min-height:34px;padding:4px 8px;font-size:14px}
  .booking-service-side{display:grid;grid-template-columns:minmax(0,1fr) minmax(72px,.5fr);gap:8px;align-items:start}
  .booking-service-side .field:last-child{grid-column:1 / -1}
  .booking-editor-saydou .teacher-day-board{max-height:64px;margin-top:6px;overflow:auto}
}
.teacher-service-groups{display:grid;gap:12px}
.teacher-service-group{padding:0;border:1px solid #E4EBE6;border-radius:12px;background:#fff;overflow:hidden}
.teacher-service-group h4{margin:0 0 8px;font-size:14px}
.teacher-service-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:14px 16px;border:0;background:#F7F8F1;color:#1F2B26;text-align:left;cursor:pointer}
.teacher-service-toggle strong{font-size:14px}
.teacher-service-toggle span{color:#5C6B63;font-size:12px}
.teacher-service-body{display:none;padding:12px 16px 16px}
.teacher-service-group.is-open .teacher-service-body{display:grid;gap:12px}
.teacher-service-mid h5{margin:0 0 8px;font-size:13px;color:#5C6B63}
.teacher-service-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.teacher-service-card{display:flex;align-items:flex-start;gap:8px;min-height:64px;padding:10px;border:1px solid #D7E0D8;border-radius:10px;background:#F7F8F1}
.teacher-service-card.on,.teacher-service-card:has(input:checked){border-color:#5C6B2E;background:#fff}
.line-bound-tag,.line-unbound-tag{display:inline-block;margin-top:4px;padding:2px 8px;border-radius:999px;font-size:11px;font-style:normal;font-weight:700}
.line-bound-tag{background:#E7F2E3;color:#3E6B2E}
.line-unbound-tag{background:#F7F3EC;color:#8A6412}
.teacher-line-bound{margin:8px 0 0}
.share-price-card{display:grid;gap:6px;padding:12px 14px;border:1px solid #E4EBE6;border-radius:10px;background:#F7F3EC}
.share-price-card p{margin:0;font-size:13px;line-height:1.45}
.booking-ops-form-saydou .field,.booking-ops-form-saydou .form-grid,.booking-ops-form-saydou select,.booking-ops-form-saydou input,.booking-ops-form-saydou textarea{max-width:100%;box-sizing:border-box}
.booking-settings-hub{display:flex;flex:1;flex-direction:column;gap:18px;min-height:0;padding:22px 28px 8px;overflow:auto}
.booking-settings-lead{margin:0;color:#5C6B63;font-size:13px;line-height:1.5}
.booking-settings-group{display:grid;gap:10px}
.booking-settings-group h3{margin:0;color:#2C4A3E;font-size:12px;font-weight:700;letter-spacing:.04em}
.booking-settings-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.booking-settings-card{display:grid;gap:4px;align-content:start;min-height:88px;padding:14px 16px;border:1px solid #D7E0D8;border-radius:12px;background:linear-gradient(180deg,#FFFEFB 0%,#F7F8F1 100%);color:#1F2B26;text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.booking-settings-card:hover{border-color:#8EAA9C;box-shadow:0 8px 20px rgba(44,74,62,.08);transform:translateY(-1px)}
.booking-settings-card:focus-visible{outline:2px solid #8EAA9C;outline-offset:2px}
.booking-settings-card strong{font-size:14px;font-weight:700;line-height:1.35}
.booking-settings-card span{color:#6E7A72;font-size:12px;line-height:1.45}
.booking-settings-form{display:flex;flex:1;flex-direction:column;gap:14px;min-height:0;overflow:auto}
.booking-settings-panel{border:1px solid #E4EBE6;border-radius:12px;background:#fff;overflow:hidden}
.booking-settings-panel-head{display:grid;gap:2px;padding:12px 16px;border-bottom:1px solid #E4EBE6;background:#F7F8F1}
.booking-settings-panel-head h3{margin:0;color:#2C4A3E;font-size:13px;font-weight:700}
.booking-settings-panel-head p{margin:0;color:#6E7A72;font-size:12px;line-height:1.45}
.booking-settings-panel-body{padding:14px 16px 16px}
.booking-settings-toggles{display:flex;flex-wrap:wrap;gap:10px 18px;margin:0 0 12px}
.booking-settings-toggles .booking-switch{min-height:36px}
.booking-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px;align-items:start}
.booking-settings-grid>.field,.booking-settings-grid>.form-grid{margin:0}
.booking-settings-span-2{grid-column:span 2;min-width:0}
.booking-settings-span-all{grid-column:1 / -1;min-width:0}
.booking-settings-label{margin:0 0 8px;color:#3E5248;font-size:12px;font-weight:700}
.booking-settings-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.booking-settings-check{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 10px;border:1px solid #D7E0D8;border-radius:10px;background:#F7F8F1}
.booking-settings-check:has(input:checked){border-color:#5C6B2E;background:#fff}
.booking-settings-form .leave-date-field{width:100%}
.booking-settings-form .leave-date-board{width:100%;max-width:320px}
.booking-settings-foot{margin-top:auto}
.timeoff-editor{gap:0;padding:0!important}
.timeoff-editor-layout{display:grid;grid-template-columns:minmax(280px,.92fr) minmax(320px,1.2fr);gap:0;flex:1;min-height:0;overflow:hidden}
.timeoff-editor-dates,.timeoff-editor-fields{display:flex;flex-direction:column;gap:12px;min-height:0;padding:20px 22px 12px;overflow:auto}
.timeoff-editor-dates{border-right:1px solid #E8EEE9;background:linear-gradient(180deg,#FBFCF8 0%,#F7F8F1 100%)}
.timeoff-editor-block-head{display:grid;gap:2px}
.timeoff-editor-block-head strong{color:#2C4A3E;font-size:13px;font-weight:700}
.timeoff-editor-block-head span{color:#6E7A72;font-size:12px;line-height:1.45}
.timeoff-editor-toggles{margin:0;padding:10px 12px;border:1px solid #E4EBE6;border-radius:12px;background:#F7F8F1}
.timeoff-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.timeoff-editor .leave-date-field{gap:10px}
.timeoff-editor .leave-picked-label{margin:0;color:#3E5248;font-size:12px;font-weight:700}
.timeoff-editor .leave-picked{display:flex;flex-wrap:wrap;gap:6px;min-height:34px}
.timeoff-editor .leave-picked-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid #D7E0D8;border-radius:999px;background:#fff;color:#2C4A3E;font-size:12px}
.timeoff-editor .leave-picked-chip button{border:0;background:transparent;color:#6E7A72;cursor:pointer;font-size:14px;line-height:1}
.timeoff-editor .leave-date-board{width:100%;max-width:none;border-color:#D7E0D8;border-radius:14px;padding:12px 12px 14px;background:#fff;box-shadow:0 1px 0 rgba(44,74,62,.04)}
.timeoff-editor .leave-date-grid button.on{background:#5C6B2E}
.timeoff-editor .field{gap:4px;font-size:12px;color:#3E5248}
.timeoff-editor .field input,.timeoff-editor .field select,.timeoff-editor .field textarea{min-height:40px;border-radius:10px;border-color:#C9D5CC;background:#fff;font-size:14px}
.timeoff-editor .field textarea{min-height:84px;resize:vertical}
.timeoff-editor .booking-settings-foot{margin:0;padding:14px 22px;border-top:1px solid #E8EEE9;background:#FFFEFB}
@media(max-width:900px){
  .booking-settings-cards,.booking-settings-grid,.booking-settings-checks{grid-template-columns:repeat(2,minmax(0,1fr))}
  .booking-settings-span-2{grid-column:span 2}
  .timeoff-editor-layout{grid-template-columns:1fr;overflow:auto}
  .timeoff-editor-dates{border-right:0;border-bottom:1px solid #E8EEE9}
}
@media(max-width:560px){
  .booking-settings-hub{padding:16px 16px 8px}
  .booking-settings-cards,.booking-settings-grid,.booking-settings-checks,.timeoff-editor-grid{grid-template-columns:1fr}
  .booking-settings-span-2,.booking-settings-span-all{grid-column:1 / -1}
  .timeoff-editor-dates,.timeoff-editor-fields{padding:16px}
}
.week-schedule{display:grid;gap:8px}
.cross-alert{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-right:6px;border:1px solid #C4A035;border-radius:3px;background:#FFF6D8;color:#8A6412;font-size:12px;font-weight:800;line-height:1;vertical-align:middle}
.own-hours-day{display:grid;gap:8px;padding:14px 0;border-bottom:1px solid #E4EBE6}
.own-hours-day .checkbox-field{min-height:44px;align-items:center}
.own-service-pills{display:flex;flex-wrap:wrap;gap:8px}
.own-service-pills span{padding:8px 12px;border:1px solid #D7E0D8;border-radius:999px;background:#F7F8F1}
.own-extra-list{display:grid;gap:8px}
.phone-office-bar{display:none}
@media(max-width:760px){
  .admin-shell.shell{display:block;padding-bottom:0}
  .admin-shell .phone-office-bar{display:flex;position:sticky;top:0;z-index:30;align-items:center;gap:8px;min-height:56px;padding:8px 12px;border-bottom:1px solid var(--line);background:#fff}
  .admin-shell .phone-office-bar strong{font-size:16px}
  .admin-shell .phone-office-menu,.admin-shell .phone-office-bar .button{min-height:44px}
  .admin-shell .phone-office-bar .role-badge{margin-left:auto}
  .admin-shell .sidebar{display:none}
  .admin-shell.phone-nav-open .sidebar{display:flex;position:fixed;z-index:28;top:56px;right:0;bottom:0;left:0;width:auto;height:auto;overflow:auto;border-right:0;background:#fff}
  .admin-shell .sidebar nav{position:static;display:flex;flex-direction:column;align-items:stretch;margin:8px 0 0;padding:0;border:0;background:transparent;gap:4px}
  .admin-shell .nav-group-button,.admin-shell .nav-children .nav-button{max-width:none;min-height:44px;flex-direction:row;justify-content:space-between;font-size:16px;text-align:left}
  .admin-shell .sidebar-bottom{display:block}
  .admin-shell .workspace .content{padding:16px 14px 32px}
  .admin-shell.phone-simple .sidebar{display:none}
  .admin-shell.phone-simple .workspace .content{padding:12px 12px 96px}
  .phone-desk-tabs{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;z-index:32;right:0;bottom:0;left:0;gap:6px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}
  .phone-desk-tabs button{min-height:48px;border:1px solid #D7E0D8;border-radius:12px;background:#F7F8F1;color:#1F2B26;font-size:16px}
  .phone-desk-tabs button[aria-current="page"]{border-color:#5C6B2E;background:#5C6B2E;color:#fff}
  .phone-list{display:grid;gap:10px}
  .phone-card{display:grid;gap:8px;padding:12px;border:1px solid #E4EBE6;border-radius:14px;background:#fff}
  .phone-card-open{display:grid;gap:4px;width:100%;min-height:44px;padding:0;border:0;background:transparent;color:#1F2B26;text-align:left}
  .phone-card-actions{display:flex;gap:8px}
  .phone-card-actions .button{flex:1;min-height:44px}
  .phone-day{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px}
  .phone-day strong{font-size:16px}
  .phone-focus h1{margin:12px 0 4px;font-size:22px}
  .phone-focus p{margin:0 0 8px}
  .phone-search{display:grid;gap:8px;margin-bottom:12px}
  .phone-search .button{min-height:44px}
  .phone-simple .ops-mobile-nav,.phone-simple .ops-nav,.phone-simple .member-editor-anchors{display:none}
  .phone-simple .member-editor-footer{position:sticky;bottom:72px;z-index:2;background:#fff}
}


.deposit-amount{display:block;margin:8px 0 12px;color:var(--brand);font-size:40px;font-weight:700;letter-spacing:.02em;line-height:1.2}
.deposit-account,.deposit-lock-card{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 10px 28px rgba(44,74,62,.08)}
.deposit-lock-card{flex-direction:column;align-items:flex-start;background:linear-gradient(180deg,#fffdf8,#E7EFEA)}
.deposit-account code{font-size:20px;letter-spacing:.08em;word-break:break-all}
.deposit-list,.deposit-desk{display:grid;gap:14px}
.deposit-card{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px;background:var(--surface)}
.deposit-send-list{margin:0;padding-left:18px}
.service-group{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
.service-group h3{margin:0}
.deposit-workspace{margin-top:4px}
.deposit-tabs{display:flex;gap:0;margin:0 0 6px;border-bottom:1px solid #D7E0D8;background:#fff}
.deposit-tab{min-height:32px;padding:4px 12px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#5C6B63;font:inherit;font-size:13px;font-weight:500;cursor:pointer}
.deposit-tab:hover{background:#F7F3EC;color:var(--brand)}
.deposit-tab.on{border-bottom-color:var(--brand);color:var(--brand);font-weight:700}
.deposit-money-strip{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 8px;padding:6px 10px;border:1px solid #D7E0D8;border-radius:4px;background:#fff}
.deposit-money-total{display:flex;align-items:baseline;gap:8px}
.deposit-money-total span{color:#5C6B63;font-size:12px}
.deposit-money-total strong{margin:0;color:var(--olive-ink);font-size:18px;line-height:1}
.deposit-money-side{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.deposit-money-side>div{display:flex;align-items:baseline;gap:6px;padding:0;border:0;background:transparent;color:#5C6B63;font-size:12px}
.deposit-money-side strong{margin:0;color:var(--olive-ink);font-size:14px}
.deposit-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 8px;padding:6px 8px;border:1px solid #E4EBE6;border-radius:4px;background:#fff}
.deposit-filters .grow{flex:1 1 220px;min-width:180px}
.deposit-range{display:flex;align-items:center;gap:6px}
.deposit-range input{min-width:0}
.deposit-advanced{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:-4px 0 12px;padding:0 14px 12px}
.deposit-table{min-width:1100px}
.deposit-table td small{display:block;color:#6E7A72}
.deposit-empty{padding:48px 20px;text-align:center;border:1px solid #E4EBE6;border-radius:4px;background:#fff}
.deposit-empty .linkish{display:inline-block;margin-top:12px;border:0;background:transparent;color:var(--brand);font:inherit;font-weight:700;cursor:pointer;text-decoration:underline}
.deposit-policy-fold{margin-top:18px;padding:12px 14px;border:1px solid #D7E0D8;border-radius:4px;background:#fff}
.deposit-policy-fold>summary{cursor:pointer;color:var(--olive-ink);font-weight:700}
.deposit-policy-fold[open]>summary{margin-bottom:12px}
.deposit-edit-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:0}
.deposit-edit-meta div{margin:0;padding:10px 12px;border:1px solid #E4EBE6;border-radius:4px;background:#F7F3EC}
.deposit-edit-meta dt{color:#6E7A72;font-size:12px}
.deposit-edit-meta dd{margin:4px 0 0;color:var(--olive-ink);font-weight:700}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){
  .deposit-money-strip{align-items:flex-start}
  .deposit-edit-meta{grid-template-columns:1fr}
}
@media(max-width:760px){.deposit-amount{font-size:32px}.deposit-card,.deposit-account{flex-direction:column;align-items:stretch}}

.guest-app{min-height:100vh;background:#F5F8FB;color:#1C2430}
.guest-screen{min-height:100vh;display:flex;flex-direction:column;max-width:480px;margin:0 auto;background:#F5F8FB}
.guest-top{padding:16px 18px 8px}.guest-top-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.guest-top h1{margin:0;font-size:22px;font-weight:700}.guest-top-links{display:flex;gap:8px}.guest-top-links a{display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border-radius:999px;background:#fff;color:#1C2430;text-decoration:none;font-size:12px;font-weight:700;box-shadow:0 4px 12px rgba(28,48,68,.06)}.guest-id{margin-top:12px;align-items:flex-start}.guest-id b{font-size:16px}.guest-id span{display:flex;flex-direction:column;align-items:flex-end;color:#2F6F5E;font-size:12px}.guest-id em{font-style:normal;font-weight:700}.guest-id small{color:#6E7A72}.guest-id strong{font-weight:600}.guest-promos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.guest-promo{display:flex;flex-direction:column;gap:8px;padding:0;border:0;border-radius:16px;background:#fff;overflow:hidden;text-align:left}.guest-promo img,.guest-promo-face{width:100%;height:92px;object-fit:cover;background:#E7F3EF}.guest-promo-face{display:grid;place-items:center;color:#2F6F5E;font-weight:700}.guest-promo b{padding:0 10px 10px;font-size:13px}.guest-shade{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:rgba(28,36,48,.45);padding:18px 18px calc(28px + env(safe-area-inset-bottom,0px))}.guest-dialog{width:min(420px,100%);max-height:min(80dvh,calc(100dvh - 56px - env(safe-area-inset-bottom,0px)));overflow:auto;padding:18px 18px 16px;border-radius:18px;background:#fff;position:relative}.guest-dialog .form-actions{position:sticky;bottom:0;background:#fff;padding-top:10px}.guest-dialog img{width:100%;height:160px;object-fit:cover;border-radius:12px}.guest-dialog h2{margin:12px 0 6px;font-size:18px}.guest-dialog p{margin:0 0 14px;color:#5C6B63}.guest-dialog-x{position:absolute;top:8px;right:8px;width:36px;height:36px;border:0;border-radius:50%;background:#fff;font-size:22px}
.guest-head{display:flex;align-items:center;gap:10px;padding:10px 18px 0}.guest-head h1{margin:0;font-size:22px;font-weight:600;flex:1;min-width:0}
.guest-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;min-height:48px;padding:8px 12px 0;column-gap:8px}
.guest-bar h1{margin:0;text-align:center;font-size:17px;font-weight:600}
.guest-bar-side{display:flex;align-items:center;gap:8px;min-height:48px}
.guest-bar-end{justify-content:flex-end}
.guest-back{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;border:0;border-radius:14px;background:#fff;color:#1F2B26;box-shadow:0 4px 14px rgba(28,48,68,.08);font:inherit;font-size:15px;font-weight:700;line-height:1}
.guest-back-icon{width:22px;height:22px;display:block;flex:none}
.guest-leave{box-sizing:border-box;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;font-size:22px;font-weight:500;line-height:1}
.guest-body{flex:1;padding:0 16px 88px}
.guest-panel{margin:8px 0 14px;padding:14px 12px 16px;border:1px solid #E3E8EF;border-radius:24px;background:#fff;box-shadow:0 8px 22px rgba(28,48,68,.04)}
.guest-panel>.guest-label,.guest-panel>h2{margin:0 4px 12px}
/* 所有 Step（01／02／03…、care／services／schedule／獨立選時間）共用同一套醒目標題 */
.guest-label:has(.guest-step){display:flex;align-items:baseline;gap:12px;flex-wrap:nowrap;margin:2px 4px 16px;padding:2px 0 4px}
.guest-step{flex:none;font-size:18px;font-weight:800;letter-spacing:.04em;color:#5C6B2E;line-height:1.2}
.guest-step-ask{min-width:0;font-size:22px;font-weight:800;color:#1C1C1E;letter-spacing:.01em;line-height:1.25}
.guest-schedule-panel>.guest-label:has(.guest-step),.guest-when>.guest-label:has(.guest-step){margin:2px 4px 14px;padding:2px 0 4px}
.guest-schedule-panel>.guest-block{margin-top:0}
.guest-schedule-panel>.guest-rule{margin-top:10px}
.guest-schedule-panel .guest-when>.guest-label{margin-top:0}
.guest-panel .guest-menu,.guest-panel .guest-home,.guest-panel .guest-ios{margin:0}
.guest-who{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.guest-who span{color:#2F6F5E;font-size:13px;font-weight:600}
.guest-soon,.guest-row,.guest-card{display:flex;width:100%;text-align:left;background:#fff;border:0;border-radius:16px;padding:14px 16px;margin:0 0 12px;box-shadow:0 6px 16px rgba(28,48,68,.05);font:inherit;color:inherit}
.guest-soon{flex-direction:column}
.guest-soon small,.guest-ticket b{color:#2F6F5E;font-weight:600}
.guest-soon span,.guest-card span,.guest-row em{color:#8B95A3;font-style:normal;font-size:13px}
.guest-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px 8px;margin-top:8px}
.guest-cat{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:transparent;font-size:12px}
.guest-cat span{width:52px;height:52px;border-radius:16px;background:#fff;display:grid;place-items:center;color:#2F6F5E;font-weight:600;box-shadow:0 6px 16px rgba(28,48,68,.05)}
.guest-section,.guest-label{margin:16px 0 8px;font-size:18px;font-weight:750;color:#1C1C1E;line-height:1.35}
.guest-row{align-items:center;justify-content:space-between;gap:12px}
.guest-row span{display:flex;flex-direction:column;min-width:0}
.guest-row strong,.guest-picked strong{color:#2F6F5E;white-space:nowrap}
.guest-tickets{display:flex;gap:8px;overflow:auto}
.guest-ticket{position:relative;flex:1;min-width:108px;display:flex;flex-direction:column;align-items:flex-start;background:#fff;border:0;border-radius:14px;padding:10px 8px 10px 12px;text-align:left}
.guest-ticket.on{background:#E7F3EF}
.guest-ticket small{color:#8B95A3}
.guest-people{display:flex;gap:14px;overflow:auto;padding-bottom:8px}
.guest-person{width:92px;display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:transparent;font-size:12px}
.guest-person small,.guest-person em{font-style:normal;font-size:11px;color:#5E6B64}
.guest-person.on small,.guest-person.on em{color:#2F6F5E}
.guest-person span{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 0 0 1px #E6EBF1}
.guest-person.on span{box-shadow:0 0 0 2px #2F6F5E;color:#2F6F5E}
.guest-chips{display:flex;gap:8px;flex-wrap:wrap}
.guest-chip,.guest-hour{height:40px;border-radius:12px;border:1px solid #E6EBF1;background:#fff}
.guest-chip{padding:0 12px}
.guest-chip.on{background:#E7F3EF;color:#2F6F5E;border-color:transparent;font-weight:600}
.guest-hours{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.guest-hour{padding:0 4px;font-size:14px;font-weight:650}
.guest-hour.on{background:#2F6F5E;color:#fff;border-color:#2F6F5E}
.guest-hour.off,.guest-hour:disabled{color:#C5CDD6;background:#F4F6F8;border-color:#E6EBF1;cursor:not-allowed}
.guest-other-hours{margin-top:12px;border:1px solid #E6EBF1;border-radius:12px;background:#fff;padding:0 12px}
.guest-other-hours>summary{list-style:none;cursor:pointer;height:44px;display:flex;align-items:center;justify-content:space-between;font-weight:600;color:#2A3441}
.guest-other-hours>summary::-webkit-details-marker{display:none}
.guest-other-hours>summary::after{content:'▾';color:#7A8796;font-weight:400}
.guest-other-hours[open]>summary::after{content:'▴'}
.guest-other-hours .guest-hours{margin:0 0 12px}
.guest-other-fill{display:grid;gap:8px;padding:0 0 12px}
.guest-other-hint{margin:0;color:#8B95A3;font-size:12px;line-height:1.4}
.guest-other-pick{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center}
.guest-other-select{box-sizing:border-box;width:100%;height:44px;min-height:44px;margin:0;border:1px solid #E6EBF1;border-radius:12px;background:#F7F9FB;padding:0 12px;font:inherit;font-size:16px;font-weight:650;line-height:1;color:#1C2430;text-align:center;text-align-last:center;appearance:none;-webkit-appearance:none}
.guest-other-select:focus{outline:0;border-color:#2F6F5E;background:#fff;box-shadow:0 0 0 3px rgba(47,111,94,.12)}
.guest-other-colon{display:inline-flex;align-items:center;justify-content:center;width:12px;color:#8B95A3;font-size:18px;font-weight:700;line-height:1}
.guest-other-line{display:inline-flex;align-items:center;justify-content:center;height:44px;min-height:44px;padding:0 16px;border-radius:12px;background:#06C755;color:#fff;font-size:15px;font-weight:750;text-decoration:none;border:0}
.guest-block{margin-top:16px}
.guest-rule{border:0;border-top:1px solid #E3E8EF;margin:14px 0 0}
.guest-teacher-line{display:flex;align-items:center;justify-content:space-between;width:100%;margin:12px 0 0;padding:12px 16px;border:0;border-radius:16px;background:#fff;box-shadow:0 6px 16px rgba(28,48,68,.05);font:inherit;color:inherit;text-align:left}
.guest-teacher-line span{color:#8B95A3;font-size:13px}
.guest-teacher-line b{font-size:16px}
.guest-when .guest-chips+.guest-chips{margin-top:8px}
.guest-dialog h3{margin:12px 0 6px;font-size:15px}
.guest-dialog figure{margin:0 0 8px}
.guest-dialog figcaption{margin-top:4px;color:#5C6B63;font-size:13px}
.guest-pay{display:grid;grid-template-columns:1fr 2fr;align-items:center;gap:10px;padding:10px 16px calc(14px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #E6EBF1;position:sticky;bottom:0;z-index:6}
.guest-pay small{display:block;color:#8B95A3}
.guest-pay b{font-size:18px}
.guest-cta{flex:1;height:52px;border:0;border-radius:14px;background:#1B2B3A;color:#fff;font-weight:600;touch-action:manipulation}
.guest-cta:disabled{background:#E6E8EC;color:#6E7580}.guest-news,.guest-promo{color:#1C1C1E}
.guest-nav{display:grid;grid-template-columns:repeat(2,1fr);background:#fff;border-top:1px solid #E6EBF1;padding:8px 0 12px;position:sticky;bottom:0}
.guest-nav button{border:0;background:transparent;color:#8B95A3}
.guest-nav button.here{color:#2F6F5E;font-weight:600}
.guest-tabs{display:flex;gap:18px;margin-bottom:12px}
.guest-tabs button{border:0;background:transparent;color:#8B95A3;padding-bottom:6px}
.guest-tabs button.on{color:#2F6F5E;font-weight:600;box-shadow:inset 0 -2px 0 #2F6F5E}
.guest-card{flex-direction:column;align-items:flex-start}
.guest-card button{margin-top:8px}
.guest-text{border:0;background:transparent;color:#8B95A3;padding:12px 0}
.guest-sub .section-heading h1,.guest-sub h1{font-size:20px}
.guest-empty{color:#8B95A3}
.entry-splash{position:relative;min-height:100dvh;overflow:hidden;display:flex;align-items:flex-end;padding:28px 22px 36px;background:linear-gradient(165deg,#1E342B 0%,#2C4A3E 42%,#6E8B7B 100%);color:#F7F3EC}
.entry-splash-stage{position:absolute;inset:0;pointer-events:none}
.entry-glow{position:absolute;border-radius:50%;filter:blur(2px);opacity:.55}
.entry-glow.one{width:220px;height:220px;left:-40px;top:8%;background:radial-gradient(circle,#E7EFEA 0%,transparent 70%);animation:entry-drift 9s ease-in-out infinite}
.entry-glow.two{width:180px;height:180px;right:-30px;top:28%;background:radial-gradient(circle,#C9D5CC 0%,transparent 68%);animation:entry-drift 11s ease-in-out infinite reverse}
.entry-glow.three{width:260px;height:260px;left:20%;bottom:-80px;background:radial-gradient(circle,#F7F3EC 0%,transparent 70%);opacity:.28}
.entry-float{position:absolute;margin:0;color:#F7F3EC;font-size:13px;letter-spacing:.12em;opacity:.0;animation:entry-rise 7s ease-in-out infinite}
.entry-float:first-of-type{top:18%;left:12%}
.entry-float.late{top:34%;right:14%;animation-delay:-2.4s}
.entry-float.later{top:50%;left:22%;animation-delay:-4.6s}
.entry-splash-copy{position:relative;z-index:1;max-width:420px}
.entry-kicker{margin:0 0 8px;letter-spacing:.18em;font-size:12px;color:#E7EFEA}
.entry-splash h1{margin:0;font-size:40px;line-height:1.1;color:#fffdf8}
.entry-caption{margin:14px 0 0;font-size:16px}
.entry-marquee{margin:22px -22px 0;overflow:hidden}
.entry-marquee p{display:flex;width:max-content;margin:0;animation:entry-marquee 16s linear infinite}
.entry-marquee span{padding:8px 0;font-size:14px;letter-spacing:.08em;white-space:nowrap}
.guest-top{position:relative;z-index:2}
.guest-top-row{flex-wrap:nowrap}
.guest-top h1,.guest-brand-line{min-width:0}
.guest-brand-line{margin:0;color:#3E4A32;font-size:13px;font-weight:700;line-height:1.25}
.guest-top-links{margin-left:auto;flex:none;gap:8px}
.guest-top-links a.guest-mark{width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border-radius:0;background:transparent;box-shadow:none;justify-content:center;overflow:visible;flex:none}
/* 顧客首頁首屏：柔和米白＋橄欖主標；僅主標／副標一次進場，導覽／課程／FAB 立即可點 */
.guest-home-screen{
  --guest-home-olive:#4F5B3A;
  --guest-home-bg:#F7F6F1;
  --guest-home-accent:#B3A17A;
  background:var(--guest-home-bg,var(--ops-page,#F7F6F1));
  color:var(--olive-ink,#1F2B26)
}
.guest-home-screen .guest-top{padding:20px 20px 12px}
.guest-home-screen .guest-top h1{
  color:var(--guest-home-olive,var(--brand,#2C4A3E));
  font-size:24px;letter-spacing:.04em;
  /* 保留版位，避免進場時文字跳位 */
  will-change:opacity,transform
}
.guest-home-screen .guest-brand-line{
  color:var(--guest-home-olive,var(--brand,#2C4A3E));
  opacity:.88;
  will-change:opacity,transform
}
.guest-home-screen .guest-top-links,
.guest-home-screen .guest-top-links a,
.guest-home-screen .guest-body,
.guest-home-screen .guest-fab{opacity:1;transform:none}
.guest-home-screen .guest-body{padding-top:4px}
.guest-home-screen .guest-home-panel{margin-top:4px;border-color:rgba(79,91,58,.12);box-shadow:none}
.guest-home-screen .guest-home button{color:var(--guest-home-olive,var(--brand,#2C4A3E))}
.guest-home-screen .guest-home .guest-shot svg,
.guest-home-screen .guest-home .guest-folder svg{color:var(--guest-home-olive,#4F5B3A)}
.guest-home-screen .guest-fab-btn{background:var(--guest-home-olive,#4F5B3A);box-shadow:0 10px 24px rgba(79,91,58,.28)}
.guest-home-screen .guest-offer-banner,
.guest-home-screen .guest-offer-banner-art{animation:none;opacity:1;transform:none}
@keyframes guest-home-rise{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}
/* 首幀先藏起，避免 fill-mode 尚未生效時已是 opacity:1；500ms ease-out；副標晚 100ms */
.guest-home-entering .guest-top h1,
.guest-home-entering .guest-brand-line{
  opacity:0;
  transform:translateY(8px);
  animation:guest-home-rise 500ms ease-out both
}
.guest-home-entering .guest-brand-line{animation-delay:100ms}
@media(prefers-reduced-motion:reduce){
  .guest-home-screen .guest-top h1,
  .guest-home-screen .guest-brand-line{will-change:auto}
  .guest-home-entering .guest-top h1,
  .guest-home-entering .guest-brand-line{animation:none;opacity:1;transform:none}
}
.guest-mark svg{width:36px;height:36px;display:block}
.guest-feed-list{display:grid;gap:8px}
.guest-feed-list .guest-news{flex:none;flex-direction:row;align-items:center;width:100%;min-height:46px;box-sizing:border-box;white-space:nowrap}
.guest-feed-list .guest-news b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:650}
.guest-id{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:10px}
.guest-id b{font-size:16px;color:#1F2B26}
.guest-id em{font-style:normal;font-weight:700;color:#2F6F5E;font-size:13px}
.guest-id small{display:block;margin-top:2px;color:#6E7A72;font-size:12px;font-weight:650;word-break:break-all}
.entry-film{position:absolute;left:0;right:0;top:24px;overflow:hidden}
.entry-film-track{display:flex;width:max-content;gap:10px;padding:0 16px;animation:entry-marquee 28s linear infinite}
.entry-film img{width:168px;height:112px;object-fit:cover;border-radius:16px;background:rgba(247,243,236,.2)}
.guest-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 18px;margin:18px 0 28px}
.guest-home-title{margin:0 0 10px;font-size:18px}
.guest-store .guest-home-title{margin-top:16px}
.guest-store-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 4px}
.guest-store-head .guest-home-title{margin:0;flex:1 1 auto;min-width:0}
.guest-store .guest-home-title:first-child,.guest-store-head:first-child + .guest-store-lead,.guest-store-head:first-child{margin-top:0}
.guest-store-head .guest-store-photos-btn{flex:0 0 auto;margin:0}
.guest-store-lead{margin:0 4px 10px;color:#1F2B26;font-size:16px;font-weight:750;line-height:1.45}
.guest-store-copy,.guest-store-address{margin:0 4px 10px;color:#3A4450;font-size:14px;line-height:1.7}
.guest-store-copy:last-of-type,.guest-store-address{margin-bottom:0}
.guest-store-rules{margin:0 4px;padding-left:1.15em;color:#3A4450;font-size:14px;line-height:1.55}
.guest-store-rules li{margin:0 0 6px}
.guest-store-phone{display:inline-block;margin:0 4px;color:#5C6B2E;font-size:16px;font-weight:700;text-decoration:none}
.guest-mine{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.guest-mine button{min-height:48px;border:0;border-radius:14px;background:#5C6B2E;color:#fff;font-size:16px;font-weight:700}.guest-records{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.guest-records button{display:grid;align-content:center;justify-items:center;gap:6px;min-height:96px;padding:14px 8px;font-size:17px;line-height:1.25;border-radius:18px}.guest-records button strong{font-size:17px;font-weight:750}.guest-records button small{font-size:12px;font-weight:600;opacity:.88;letter-spacing:.02em}.guest-records button:nth-child(1){background:#5C6B2E}.guest-records button:nth-child(2){background:#8A6B2E}.guest-records button:nth-child(3){background:#2E5C6B}.guest-records-detail{display:grid;gap:14px}
.guest-assets-brief{grid-template-columns:repeat(auto-fit,minmax(96px,1fr));margin:12px 0 16px;gap:10px}
.guest-assets-brief button{min-height:88px}
.guest-teacher-board{margin:0 0 8px}
.guest-teacher-roster{display:grid;gap:10px}
.guest-teacher-pill{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.guest-teacher-pill .guest-chip{width:100%;justify-content:center}
.guest-teacher-info{min-height:40px;padding:0 14px;border:1px solid #D7E0D2;border-radius:999px;background:#fff;color:#2F4A3A;font-size:13px;font-weight:700;white-space:nowrap}
.guest-teacher-pill.on .guest-teacher-info{border-color:#5C6B2E;color:#5C6B2E}
.guest-store-closed{margin-top:8px}
.guest-store-closed strong{font-weight:700}
.guest-fab{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:40;display:grid;justify-items:end;gap:8px;pointer-events:none}
.guest-fab>*{pointer-events:auto}
.guest-fab-head{display:grid;gap:8px;padding:2px 2px 6px;border-bottom:1px solid #E6EBF1;margin-bottom:2px}
.guest-fab-name{margin:0;max-width:100%;padding:4px 4px 2px;color:#1F2B26;font-size:15px;font-weight:750;line-height:1.3;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.guest-fab-member{justify-self:start;min-height:30px;padding:0 12px;border:0;border-radius:999px;background:#2F6F5E;color:#fff;font-size:12px;font-weight:750;line-height:1}
.guest-member-period h2{margin:0 0 10px;font-size:22px}
.guest-member-level{margin:0 0 6px;color:#2F6F5E;font-size:15px;font-weight:700}
.guest-member-range{margin:0;color:#1F2B26;font-size:17px;font-weight:700;line-height:1.45}
.guest-store-photos-btn{display:inline-flex;align-items:center;min-height:36px;margin:0;padding:0 14px;border:1px solid #C9D6C4;border-radius:999px;background:#F4F7F1;color:#2F6F5E;font-size:13px;font-weight:750;white-space:nowrap}
.guest-store-photos{max-width:min(92vw,420px)}
.guest-store-photos h2{margin:0 0 12px;font-size:22px}
.guest-store-photos .form-actions .button.guest-store-photos-close,
.guest-store-photos .guest-store-photos-close{
  width:100%;
  min-height:44px;
  border:1px solid #C9D6C4;
  border-radius:12px;
  background:#E8F0D8;
  color:#5C6B2E;
  font-weight:700;
  box-shadow:none
}
.guest-store-photos .form-actions .button.guest-store-photos-close:hover,
.guest-store-photos .guest-store-photos-close:hover{
  background:#DDE8C8;
  color:#4A5830;
  border-color:#B7C8A4
}
.guest-store-shots{display:grid;gap:12px;max-height:min(58vh,460px);overflow:auto;padding-right:2px}
.guest-store-shot{margin:0;border-radius:16px;overflow:hidden;background:#EEF2EA}
.guest-store-shot img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.guest-store-shot figcaption{padding:8px 12px;font-size:13px;font-weight:700;color:#3E4F12}
.guest-fab-btn{width:56px;height:56px;border:0;border-radius:50%;background:#5C6B2E;color:#fff;font-size:32px;font-weight:500;line-height:1;box-shadow:0 10px 24px rgba(44,74,62,.28)}
.guest-fab.is-open .guest-fab-btn{background:#2A3441}
.guest-fab-menu{display:grid;gap:8px;min-width:168px;padding:10px;border-radius:18px;background:#fff;box-shadow:0 12px 28px rgba(32,48,40,.18);border:1px solid #E6EBF1}
.guest-fab-menu button[role="menuitem"]{min-height:42px;border:0;border-radius:12px;background:#F4F7F1;color:#1F2B26;font-size:15px;font-weight:700;text-align:left;padding:0 14px}
.guest-fab-scrim{position:fixed;inset:0;background:rgba(20,28,24,.18);z-index:-1}.guest-claim-board{display:grid;gap:14px}.guest-claim-card{display:grid;gap:0;margin:0;padding:0;border:1px solid #E2D4B8;border-radius:20px;background:#fff;overflow:hidden;text-align:left;cursor:pointer;font:inherit;color:inherit;box-shadow:0 10px 24px rgba(44,74,62,.1)}.guest-claim-card-art{display:block;width:100%;height:168px;background:linear-gradient(145deg,#F6E7C1,#E7F0D4)}.guest-claim-card-art img{display:block;width:100%;height:168px;object-fit:cover}.guest-claim-card-copy{display:grid;gap:6px;padding:14px 16px 16px}.guest-claim-card-copy b{font-size:20px;font-weight:750;color:#1F2B26;line-height:1.3}.guest-claim-card-copy em{font-style:normal;font-size:16px;font-weight:750;color:#5C6B2E}.guest-claim-card-copy i{font-style:normal;font-size:15px;line-height:1.55;color:#4A5560;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.guest-drops{display:grid;gap:8px}.guest-drop{display:grid;gap:4px;padding:12px 14px;border:0;border-radius:16px;background:#fff;text-align:left}.guest-drop b{font-size:16px}.guest-drop em{font-style:normal;color:#5C6B2E;font-weight:700}.guest-home{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 6px;margin:8px 0 16px;justify-items:center}
.guest-home button{gap:6px;font-size:12px;font-weight:650}
.guest-home .guest-shot,.guest-home .guest-folder{width:min(18vw,72px);height:auto;aspect-ratio:1;border-radius:18px;overflow:hidden;background:#F2F2F7}
.guest-home .guest-shot{display:block}
.guest-home .guest-shot img,.guest-home .guest-shot svg{width:100%;height:100%;object-fit:cover;display:block}
.guest-home .guest-shot svg{width:58%;height:58%;margin:21%;object-fit:contain;color:#5C6B2E}
.guest-home .guest-folder{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));align-content:stretch;gap:3px;padding:5px;box-sizing:border-box;background:linear-gradient(165deg,#D7E48A 0%,#6B8E23 100%);box-shadow:inset 0 0 0 2px rgba(255,255,255,.7)}
.guest-home .guest-folder i{display:block;width:auto;height:auto;aspect-ratio:auto;min-width:0;min-height:0;border-radius:4px;overflow:hidden;background:#fff}
.guest-home .guest-folder img,.guest-home .guest-folder svg{width:100%;height:100%;object-fit:cover;display:block}
.guest-home .guest-folder svg{object-fit:contain;padding:1px;box-sizing:border-box;color:#5C6B2E}
.guest-home .guest-mini-mark{display:grid;place-items:center;color:#fff;font-style:normal;font-size:10px;font-weight:700}
.guest-menu button{display:flex;flex-direction:column;align-items:center;gap:10px;padding:0;border:0;background:transparent;color:#1C2430;font-size:16px;font-weight:700}
.guest-menu span{width:84px;height:84px;border-radius:22px;background:#EEF2F6;display:grid;place-items:center;color:#243140}
.guest-menu svg{width:36px;height:36px;display:block}
.guest-ios{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 8px;margin:12px 0 20px}
.guest-ios button{aspect-ratio:auto;justify-content:flex-start;gap:8px;padding:0;border-radius:0;background:transparent;color:#1C1C1E;font-size:12px;font-weight:650;line-height:1.3;-webkit-tap-highlight-color:transparent}
.guest-ios button.on .guest-mini-mark{box-shadow:0 0 0 2px #2F6F5E}
.guest-ios button.on b{color:#2F6F5E}
.guest-ios button:active .guest-mini-mark,.guest-ios button:active span{background:#E5E5EA}
.guest-ios span{width:56px;height:56px;border-radius:16px;background:#EEF2F6}
.guest-ios .guest-mini-mark{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;color:#fff;font-style:normal;font-size:16px;font-weight:700}
.guest-ios svg{width:28px;height:28px}
.guest-ios b{font-size:12px;font-weight:650;text-align:center}
.guest-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px}
.guest-cards .guest-shot{width:min(24vw,88px);height:auto;aspect-ratio:1;border-radius:22px;overflow:hidden;background:#F2F2F7}
.guest-cards img,.guest-cards svg{width:100%;height:100%;object-fit:cover}
.guest-choices,.guest-cares,.guest-concerns{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:14px 10px;justify-items:stretch}
.guest-choices.bars{display:flex;flex-direction:column;gap:8px}
.guest-choices.bars .guest-care,.guest-choices.bars .guest-concern{flex-direction:row;align-items:center;width:100%;min-height:64px;padding:12px 14px;border-radius:16px;background:#F4F7EF;text-align:left}
.guest-choices.bars .guest-care.on,.guest-choices.bars .guest-concern.on{background:#E7F0D4;box-shadow:inset 0 0 0 1.5px #8EA44A}
.guest-bar-copy{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0;text-align:left}
.guest-bar-copy b{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:16px;font-weight:750;text-align:left}
.guest-bar-copy b i{font-style:normal;font-weight:650;font-size:13px;color:#5C6B3A}
.guest-course-shade{position:fixed;inset:0;z-index:40;border:0;background:rgba(28,36,32,.45)}
.guest-course-card{position:fixed;left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:min(420px,calc(100% - 36px));z-index:41;max-height:min(78dvh,640px);overflow:auto;background:#fff;border:2px solid #5C6B2E;border-radius:22px;padding:22px 18px 16px;box-shadow:0 18px 42px rgba(61,74,36,.2)}
.guest-course-inline{position:static;left:auto;top:auto;right:auto;bottom:auto;transform:none;width:auto;z-index:auto;max-height:none;margin:0 0 12px;overflow:visible;border:0;box-shadow:none}
.guest-course-note{margin:8px 0 0;color:#5E6B64;font-size:13px;line-height:1.45}
.guest-revise{flex:none;height:32px;padding:0 10px;border:0;border-radius:10px;background:#F2F2F7;color:#1C1C1E;font-size:13px;font-weight:700}
.guest-course-card h2{margin:0 0 14px;font-size:22px}
.guest-course-card dl{display:grid;gap:14px;margin:0}
.guest-course-card dt{color:#5C6B2E;font-size:14px;font-weight:700}
.guest-course-card dd{margin:4px 0 0;font-size:17px;font-weight:650;line-height:1.5}
.guest-course-price{margin:14px 0 0;font-size:20px;font-weight:750;color:#3D4A24}
.guest-course-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.guest-course-actions button{height:48px;border:0;border-radius:14px;font-size:17px;font-weight:700}
.guest-course-cancel,.guest-course-ok{background:#5C6B2E;color:#fff}
.guest-bar-copy small{display:block;margin:0;font-size:12px;font-weight:600;line-height:1.4;text-align:left;color:#5C6B3A}.guest-bar-fee{flex:none;margin-left:12px;color:#3D4A24;font-style:normal;font-size:16px;font-weight:750;white-space:nowrap}
.guest-choices.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.guest-choices.cols-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 6px}
.guest-care,.guest-concern{box-sizing:border-box;width:100%;height:auto;min-height:0;padding:0;border:0;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;text-align:center;color:#1C1C1E;font-size:13px;font-weight:650;line-height:1.3;background:transparent;box-shadow:none}
.guest-glyph{position:relative;width:56px;height:56px;border-radius:16px;background:#EEF2F6;display:grid;place-items:center;color:#3E4A32;font-size:18px;font-weight:750}
.guest-glyph svg{width:28px;height:28px;display:block}
.guest-choices.cols-3 .guest-glyph,.guest-choices.cols-4 .guest-glyph{width:48px;height:48px;border-radius:14px}
.guest-choices.cols-4 .guest-glyph{width:44px;height:44px}
.guest-choices.cols-3 b,.guest-choices.cols-4 b{font-size:12px}
.guest-choices.shade-b .guest-glyph{background:#F4F7EF}
.guest-choices.shade-c .guest-glyph{background:#F7F4EC}
.guest-care b,.guest-concern b{font-size:13px;font-weight:650;line-height:1.35}
.guest-care small,.guest-concern small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0;font-size:11px;font-weight:600;line-height:1.3;text-align:center;color:#6E7A72}
.guest-hint{margin:0 4px 8px;color:#5E6B64;font-size:13px}
.guest-concern:disabled:not(.locked){opacity:.45}
.guest-concern.locked{cursor:default}
.guest-choices .guest-care.on .guest-glyph,.guest-choices .guest-concern.on .guest-glyph{background:#E7F0D4;box-shadow:inset 0 0 0 1.5px #8EA44A}
.guest-choices .guest-concern.on .guest-glyph::after,.guest-choices .guest-care.on .guest-glyph::after{content:"";position:absolute;top:6px;right:6px;width:8px;height:8px;border-radius:50%;background:#7D9440;box-shadow:0 0 6px rgba(125,148,64,.75)}
.guest-choices .guest-concern.on small,.guest-choices .guest-care.on small{color:#5C6B3A}
.guest-care-fee{display:flex;align-items:baseline;gap:8px;margin:8px 0 4px}
.guest-care-fee b{font-size:20px}
.guest-care-fee small{color:#2F6F5E}
.guest-body .guest-cta{width:100%;height:44px;margin-top:6px;border-radius:12px}
.guest-calendar{width:min(100%,360px);padding:16px}
.guest-cal-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.guest-cal-nav button{width:36px;height:36px;border:0;border-radius:10px;background:#F2F2F7;font-size:20px}
.guest-cal-week,.guest-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.guest-cal-week span{color:#6E7A72;font-size:12px}
.guest-cal-grid button,.guest-cal-grid .pad{min-height:44px;height:auto;border:0;border-radius:10px;background:transparent;padding:4px 0}
.guest-cal-grid button.on{background:#2C4A3E;color:#fff}
.guest-cal-grid button.other{color:#A0AAA4}
.guest-cal-grid button:disabled{color:#D5DBD8}
.guest-cal-grid button.guest-cal-holiday{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:#8A6A5A;background:#F7F1ED}
.guest-cal-grid .guest-cal-num{font-size:14px;line-height:1.1}
.guest-cal-grid .guest-cal-tag{font-size:10px;line-height:1.1;letter-spacing:.02em}
.guest-closed-day{max-width:280px;text-align:center;padding:22px 20px 18px}
.guest-closed-day h2{margin:0 0 8px;font-size:18px;color:#2C4A3E}
.guest-closed-day p{margin:0 0 16px;color:#5A675F;font-size:14px}
.guest-closed-day .guest-cta{width:100%}
.guest-closed-shade{z-index:40}
.guest-scenes,.guest-news-row{display:flex;gap:10px;overflow:auto;padding:4px 0 8px;scroll-snap-type:x mandatory}
.guest-scene{flex:0 0 132px;scroll-snap-align:start;display:flex;flex-direction:column;gap:6px;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}
.guest-scene img{width:132px;height:88px;object-fit:cover;border-radius:14px;background:#E7F3EF}
.guest-scene b{font-size:13px;color:#3A4450;font-weight:650}
.guest-works .guest-scenes{margin:0 0 2px}
.guest-work-shade{padding:0;place-items:stretch;background:#000}
.guest-work-dialog{width:100%;max-width:none;height:100%;min-height:100%;margin:0;padding:0;border-radius:0;background:#000;display:flex;flex-direction:column;box-shadow:none}
.guest-work-dialog .guest-dialog-x{position:absolute;top:calc(10px + env(safe-area-inset-top,0px));right:12px;z-index:2;background:rgba(255,255,255,.16);color:#fff}
.guest-work-dialog img{display:block;flex:1 1 auto;width:100%;min-height:0;max-height:none;object-fit:contain;border-radius:0;background:#000}
.guest-work-dialog p{flex:none;margin:0;padding:14px 16px calc(18px + env(safe-area-inset-bottom,0px));font-size:15px;font-weight:650;line-height:1.45;color:#fff;text-align:left;background:rgba(0,0,0,.72)}
.guest-work-dialog p.guest-work-empty{color:rgba(255,255,255,.55);font-weight:500}
.guest-teacher-work{display:grid;gap:6px;width:100%;margin:0 0 10px;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}
.guest-teacher-work img{display:block;width:100%;max-height:220px;object-fit:cover;border-radius:14px;background:#F2F2F7}
.guest-teacher-work span{color:#5C6B63;font-size:13px;font-weight:650}
.guest-news{flex:0 0 180px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px;border:0;border-radius:14px;background:#fff;text-align:left;box-shadow:0 6px 16px rgba(28,48,68,.05)}
.guest-news b{font-size:16px;line-height:1.35}
.guest-news span{color:#5C6B63;font-size:14px}
.guest-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin-top:14px}
.guest-actions button{height:44px;margin:0;border:0;border-radius:12px;background:#F2F2F7;color:#1C1C1E;font-size:15px;font-weight:650}
.guest-actions button[data-status="cancelled"]{background:#1B2B3A;color:#fff}
.guest-feed{display:flex;flex-direction:column;gap:10px;margin-top:0;background:linear-gradient(180deg,#fffaf0,#f6ecd4);border-color:#e2c98a}
.guest-offer-row em{font-style:normal;font-weight:800;color:#5C6B2E;font-size:18px}
.guest-feed h2{margin:0 4px 2px;font-size:18px;font-weight:750}
.guest-feed .guest-news,.guest-feed .guest-promo{flex:none;width:100%;box-shadow:none;background:#F4F7FB}
.guest-late{color:#A15C38;font-style:normal;font-weight:750}.guest-cancelled,.guest-rejected{color:#8A3E3E}
.guest-booking-page{display:flex;flex-direction:column;gap:14px;padding:8px 16px calc(28px + env(safe-area-inset-bottom,0px))}
.guest-booking-detail{margin:0;padding:18px 16px 8px;border:1px solid rgba(92,107,46,.14);border-radius:22px;background:linear-gradient(165deg,#FFFEFA 0%,#F5F7F1 100%);box-shadow:0 14px 32px rgba(28,48,68,.06)}
.guest-booking-hero{display:grid;gap:8px;padding:2px 2px 14px;border-bottom:1px solid rgba(92,107,46,.12)}
.guest-booking-hero-top{display:flex;align-items:center;justify-content:flex-start}
.guest-booking-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#E8EFD8;color:#3D4A24;font-size:12px;font-weight:750;letter-spacing:.02em}
.guest-booking-badge.guest-cancelled,.guest-booking-badge.guest-rejected{background:#F3E4E4;color:#8A3E3E}
.guest-booking-badge-ok{background:#E8EFD8;color:#3D4A24}
.guest-booking-title{margin:0;color:#1F2B26;font-size:22px;font-weight:750;line-height:1.35;letter-spacing:.01em;word-break:break-word}
.guest-booking-when{margin:0;color:#5C6B2E;font-size:15px;font-weight:650}
.guest-booking-facts{display:grid;gap:0;margin:0;padding:4px 0 8px}
.guest-booking-facts>div{display:grid;grid-template-columns:3.2em minmax(0,1fr);gap:10px 14px;align-items:baseline;padding:14px 2px;border-bottom:1px solid rgba(28,48,68,.06)}
.guest-booking-facts>div:last-child{border-bottom:0}
.guest-booking-facts dt{margin:0;color:#6E7A72;font-size:13px;font-weight:650;letter-spacing:.02em}
.guest-booking-facts dd{margin:0;color:#1C2430;font-size:16px;font-weight:700;line-height:1.45;word-break:break-word}
.guest-booking-facts dd em{font-style:normal}
.guest-booking-actions{display:grid;gap:10px;margin:0;padding:2px 0 0}
.guest-booking-btn{box-sizing:border-box;width:100%;min-height:52px;height:52px;margin:0;padding:0 16px;border:0;border-radius:16px;font:inherit;font-size:16px;font-weight:750;line-height:1;display:inline-flex;align-items:center;justify-content:center;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.guest-booking-btn-primary{background:#5C6B2E;color:#fff;box-shadow:0 10px 22px rgba(92,107,46,.22)}
.guest-booking-btn-secondary{background:#1F2B26;color:#fff}
.guest-booking-btn-ghost{background:#F2F2F7;color:#5C6B63}
.guest-move{width:100%;min-height:52px;font-size:18px}
.guest-cancel-quiet{border:0;background:transparent;color:#8E8E93;font-size:14px;font-weight:500;min-height:36px;padding:8px 0}
.guest-pay-move{display:block}
.guest-pay-move .guest-cta{width:100%}
.modal.guest-sheet{width:min(420px,calc(100% - 36px));border-radius:22px;padding:22px 22px 18px}
.modal.guest-sheet .modal-head{margin-bottom:8px}
.modal.guest-sheet .modal-head h2{font-size:18px;font-weight:700}
.guest-cancel-line{margin:4px 0 0;font-size:20px;font-weight:700}
.guest-cancel-when{margin:6px 0 18px;font-size:16px;color:#5C6B63}
.modal.guest-sheet .form-actions.guest-cancel-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px;justify-content:stretch}
.modal.guest-sheet .guest-cancel-actions .button{height:48px;min-height:48px;border-radius:14px;font-size:16px;justify-content:center}
.modal.guest-sheet .guest-cancel-actions .button.secondary{background:#F2F2F7;color:#1C1C1E;border-color:transparent}
.modal.guest-sheet .guest-cancel-actions .button.danger{background:#1B2B3A;color:#fff;border-color:#1B2B3A}
.birthday-card{text-align:center;background:linear-gradient(180deg,#fffdf8,#f8f1dc)}
.birthday-card h2{margin:8px 0 16px;font-size:28px}
.guest-kicker{margin:0 0 6px;color:#2F6F5E;font-size:12px;font-weight:700}
/* 置中於可見區：safe-area + svh，避免 notch／狀態列／LINE chrome／鍵盤裁切進場字。 */
/* 橄欖品牌底：多層 radial／linear 持續位移，水波紋光影（純 CSS，無影片／粒子）。 */
.arrival-screen{position:relative;box-sizing:border-box;min-height:100dvh;min-height:100svh;height:100dvh;height:100svh;max-height:100dvh;max-height:100svh;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:max(32px,calc(env(safe-area-inset-top,0px) + 28px)) max(22px,calc(env(safe-area-inset-right,0px) + 16px)) max(40px,calc(env(safe-area-inset-bottom,0px) + 32px)) max(22px,calc(env(safe-area-inset-left,0px) + 16px));background:radial-gradient(ellipse 55% 48% at 18% 18%,rgba(244,250,220,.72),transparent 62%),radial-gradient(ellipse 50% 42% at 86% 12%,rgba(142,174,69,.5),transparent 58%),radial-gradient(ellipse 62% 52% at 72% 82%,rgba(58,78,14,.58),transparent 60%),radial-gradient(ellipse 48% 40% at 24% 78%,rgba(232,244,186,.42),transparent 55%),linear-gradient(165deg,#8EAE45 0%,#6B8E23 46%,#567216 100%);background-size:150% 150%,160% 160%,170% 170%,155% 155%,100% 100%;animation:arrival-ripple-base 4.2s ease-in-out infinite}
/* 格線 + 柔光斑：隨波紋輕移（不用 soft-light，OLED 才看得見）。 */
.arrival-screen::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:1;background:linear-gradient(rgba(255,254,248,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(255,254,248,.14) 1px,transparent 1px),radial-gradient(circle at 32% 38%,rgba(255,252,226,.4),transparent 36%),radial-gradient(circle at 74% 64%,rgba(232,244,186,.3),transparent 40%);background-size:40px 40px,40px 40px,120% 120%,130% 130%;animation:arrival-atmos-ripple 2.8s ease-in-out infinite}
/* 軟光帶：~0.45s 循環，與橫向掃描同拍。 */
.arrival-screen::after{content:"";position:absolute;left:-10%;right:-10%;top:-30%;height:42%;z-index:0;pointer-events:none;background:linear-gradient(180deg,transparent 0%,rgba(255,254,248,.26) 42%,rgba(232,244,186,.36) 50%,rgba(255,254,248,.2) 58%,transparent 100%);animation:arrival-scan-soft .45s linear infinite}
/* 第二層水波紋光暈（live markup .arrival-ripple）。 */
.arrival-ripple{position:absolute;z-index:1;inset:-14%;pointer-events:none;background:radial-gradient(circle at 38% 32%,rgba(255,254,248,.26),transparent 42%),radial-gradient(circle at 70% 58%,rgba(232,244,186,.32),transparent 40%),radial-gradient(circle at 20% 72%,rgba(107,142,35,.38),transparent 46%),radial-gradient(circle at 88% 28%,rgba(255,252,226,.2),transparent 42%);background-size:125% 125%,135% 135%,130% 130%,145% 145%;filter:blur(16px);opacity:.88;will-change:transform,background-position,opacity;animation:arrival-ripple-morph 3.2s ease-in-out infinite alternate}
/* 橫向掃描光束：0.4s 一圈；hold ~1.1s 約可見 2–3 圈（live markup .arrival-scan）。 */
.arrival-scan{position:absolute;z-index:2;top:0;bottom:0;left:0;width:min(34vw,160px);pointer-events:none;background:linear-gradient(90deg,transparent 0%,rgba(255,254,248,.12) 28%,rgba(244,250,220,.62) 50%,rgba(232,244,186,.38) 62%,transparent 100%);box-shadow:0 0 28px rgba(244,250,220,.28);animation:arrival-scan .4s linear infinite}
.arrival-waiting{animation:none}
.arrival-square{position:relative;z-index:3;width:min(92vw,420px);max-width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;overflow:visible;border:0;border-radius:0;background:transparent;color:#FFFEF8;box-shadow:none}
.arrival-title{display:flex;align-items:center;justify-content:center;margin:0;padding:0;border:0;text-align:center}
.arrival-title b{display:inline-block;font-size:clamp(34px,9.5vw,56px);font-weight:750;letter-spacing:.14em;color:#FFFEF8;white-space:nowrap;text-shadow:0 10px 28px rgba(47,64,12,.28)}
/* 品牌下方細線：進場展開；加高加亮以便手機辨識。 */
.arrival-accent{display:block;width:min(48%,148px);height:2px;margin:10px auto 4px;border:0;border-radius:2px;background:linear-gradient(90deg,transparent,rgba(255,254,248,.95),rgba(232,244,186,.9),transparent);box-shadow:0 0 10px rgba(244,250,220,.45);transform:scaleX(1);transform-origin:center;opacity:1;pointer-events:none}
.arrival-grid{position:relative;z-index:1;display:block;width:min(100%,68dvh);aspect-ratio:1;margin-inline:auto;overflow:hidden;background:#1e342b;isolation:isolate}
.arrival-grid::after{content:"";position:absolute;z-index:2;top:0;bottom:0;left:0;width:28%;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(244,250,241,.55),transparent);animation:arrival-scan .4s linear infinite}
.arrival-reel{display:flex;height:100%;width:calc(var(--slides) * 100%);animation:arrival-slides 18s linear infinite}
.arrival-frame{position:relative;flex:0 0 calc(100% / var(--slides));height:100%;overflow:hidden}
.arrival-grid img{width:100%;height:100%;min-height:0;object-fit:cover;display:block}
.arrival-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:36px;margin:0;padding:0 8px;border:0;background:transparent;text-align:center}
.arrival-text-only .arrival-square{min-height:0;gap:14px}
.arrival-text-only .arrival-copy{padding:0 8px;gap:36px;text-align:center}
.arrival-text-only .arrival-line{margin:0;padding:0;border:0;box-shadow:none}
.arrival-waiting .arrival-copy{animation:none}
.arrival-kicker{margin:0;letter-spacing:.12em;font-size:11px;color:#c9dcc4}
.arrival-square h1{margin:0;font-size:22px;line-height:1.15;color:#f3f7f1}
.arrival-services,.arrival-promise,.arrival-note{margin:0;line-height:1.35}
.arrival-services{display:flex;align-items:center;justify-content:center;gap:14px;margin:14px 0 0;font-size:15px;font-weight:650;color:rgba(255,254,248,.9);letter-spacing:.18em}
.arrival-services span{white-space:nowrap}
.arrival-promise{margin:0;padding:0;border:0;font-size:15px;color:rgba(255,254,248,.78);letter-spacing:.04em}
.arrival-line,.arrival-invest{margin:0;padding:0;border:0;box-shadow:none;font-size:clamp(20px,5.4vw,32px);line-height:1.4;font-weight:750;letter-spacing:.05em;color:#FFFEF8;background:none;-webkit-text-fill-color:#FFFEF8;text-shadow:0 8px 24px rgba(47,64,12,.22)}
.arrival-note{font-size:14px;color:rgba(255,254,248,.72)}
/*
 * LIFF 安全：wrapper 仍做淡入上移（WAAPI 雙保險）；子層 stagger 為強化，預設可見以免被略過時卡透明。
 * 時長須與 ARRIVAL_ANIM_MS（400）／ARRIVAL_ENTER_MIN_MS（1400）對齊；口號延遲約 60ms、承諾約 120ms。
 */
.arrival-enter{display:flex;flex-direction:column;align-items:center;will-change:opacity,transform}
.arrival-enter.arrival-will-enter{
  opacity:0;
  transform:translate3d(0,44px,0)
}
.arrival-enter.arrival-will-enter.is-playing{
  animation:arrival-rise 400ms cubic-bezier(.22,.61,.36,1) both
}
.arrival-enter.arrival-will-enter.is-playing .arrival-title b{
  animation:arrival-brand-in 360ms cubic-bezier(.22,.61,.36,1) both
}
.arrival-enter.arrival-will-enter.is-playing .arrival-accent{
  animation:arrival-accent-draw 320ms cubic-bezier(.22,.61,.36,1) 40ms both
}
.arrival-enter.arrival-will-enter.is-playing .arrival-line{
  animation:arrival-line-in 340ms cubic-bezier(.22,.61,.36,1) 60ms both
}
.arrival-enter.arrival-will-enter.is-playing .arrival-promise{
  animation:arrival-promise-in 320ms cubic-bezier(.22,.61,.36,1) 120ms both
}
/* prefers-reduced-motion → 定格終態（無進場動態）；格線仍保留可見。 */
@media(prefers-reduced-motion:reduce){
  .arrival-enter.arrival-will-enter,
  .arrival-enter.arrival-will-enter.is-playing{
    opacity:1;
    transform:none;
    animation:none
  }
  .arrival-enter.arrival-will-enter.is-playing .arrival-title b,
  .arrival-enter.arrival-will-enter.is-playing .arrival-accent,
  .arrival-enter.arrival-will-enter.is-playing .arrival-line,
  .arrival-enter.arrival-will-enter.is-playing .arrival-promise{
    animation:none;
    opacity:1;
    transform:none;
    letter-spacing:inherit
  }
  .arrival-accent{transform:scaleX(1);opacity:1}
  .arrival-screen,
  .arrival-screen::before,
  .arrival-screen::after,
  .arrival-ripple,
  .arrival-scan{animation:none;opacity:.85}
}
.arrival-stack{width:min(92vw,78dvh,440px);display:flex;flex-direction:column;gap:10px}
.arrival-guest{display:flex;flex-direction:column;gap:3px;animation:arrival-rise .7s ease .85s both}
.arrival-id{display:flex;gap:8px;align-items:baseline;margin:0}
.arrival-id span{font-size:11px;letter-spacing:.08em;color:#E7EFEA}
.arrival-id b{font-size:12px;font-weight:700;word-break:break-all}
.arrival-hello,.arrival-thanks{margin:0;font-size:13px}
.arrival-quals{display:flex;gap:4px;margin:0;padding:0;list-style:none}
.arrival-quals li{flex:1;min-width:0;padding:4px 2px;border-radius:999px;background:rgba(255,255,255,.14);color:#F7F3EC;font-size:11px;text-align:center}
.arrival-quals li.on{background:#F7F3EC;color:#1E342B;font-weight:800}
.arrival-member-mark{position:absolute;z-index:2;right:0;top:18%;writing-mode:vertical-rl;padding:12px 7px;border-radius:12px 0 0 12px;background:#F3D27A;color:#1E342B;font-weight:800;letter-spacing:.22em}
.arrival-progress{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.arrival-progress span{display:block;height:100%;width:100%;animation:none}
.arrival-waiting .arrival-progress span{width:40%;animation:arrival-wait 1.2s ease-in-out infinite}
.guest-member-mark{font-style:normal;font-weight:800;color:#8A6A12;background:#F3D27A;border-radius:999px;padding:2px 8px;font-size:12px}
@keyframes arrival-ripple-base{0%,100%{background-position:8% 18%,92% 8%,78% 92%,14% 82%,0 0}25%{background-position:32% 42%,68% 28%,58% 68%,36% 52%,0 0}50%{background-position:62% 12%,38% 62%,28% 38%,72% 28%,0 0}75%{background-position:22% 58%,88% 42%,48% 22%,42% 88%,0 0}}
@keyframes arrival-atmos-ripple{0%,100%{opacity:.78;transform:translate3d(0,0,0) scale(1);background-position:0 0,0 0,28% 34%,72% 66%}40%{opacity:1;transform:translate3d(2.4%,-1.4%,0) scale(1.05);background-position:0 0,0 0,52% 22%,48% 54%}70%{opacity:.9;transform:translate3d(-1.8%,2%,0) scale(1.03);background-position:0 0,0 0,18% 62%,86% 32%}}
@keyframes arrival-ripple-morph{0%{transform:translate3d(-3.4%,2.2%,0) scale(1) rotate(0deg);background-position:18% 28%,72% 38%,28% 72%,82% 18%;opacity:.72}35%{transform:translate3d(4.8%,-3.2%,0) scale(1.12) rotate(1deg);background-position:52% 18%,42% 68%,58% 42%,22% 52%;opacity:.95}70%{transform:translate3d(-2.6%,4.2%,0) scale(1.06) rotate(-.9deg);background-position:34% 58%,78% 24%,18% 38%,64% 72%;opacity:.82}100%{transform:translate3d(3.6%,-1.6%,0) scale(1.14) rotate(.55deg);background-position:68% 42%,24% 54%,74% 28%,38% 78%;opacity:1}}
@keyframes arrival-scan-soft{0%{transform:translate3d(0,-22%,0)}100%{transform:translate3d(0,250%,0)}}
@keyframes arrival-scan{0%{transform:translateX(-130%)}100%{transform:translateX(480%)}}
@keyframes arrival-pop{from{opacity:0;transform:scale(.78) rotate(-3deg)}to{opacity:1;transform:none}}
@keyframes arrival-rise{from{opacity:0;transform:translate3d(0,44px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes arrival-brand-in{from{opacity:0;transform:translate3d(0,18px,0);letter-spacing:.42em}to{opacity:1;transform:translate3d(0,0,0);letter-spacing:.14em}}
@keyframes arrival-accent-draw{from{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}
@keyframes arrival-line-in{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes arrival-promise-in{from{opacity:0;transform:translate3d(0,14px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes arrival-bar{to{width:100%}}
@keyframes arrival-wait{0%{transform:translateX(-120%)}100%{transform:translateX(280%)}}
@keyframes arrival-slides{0%,14%{transform:translateX(0)}20%,34%{transform:translateX(calc(-100% / var(--slides)))}40%,54%{transform:translateX(calc(-200% / var(--slides)))}60%,74%{transform:translateX(calc(-300% / var(--slides)))}80%,94%{transform:translateX(calc(-400% / var(--slides)))}100%{transform:translateX(calc(-500% / var(--slides)))}}
@keyframes arrival-leave{0%,78%{opacity:1}100%{opacity:0;transform:scale(.96)}}
@keyframes entry-drift{50%{transform:translate3d(12px,-16px,0)}}
@keyframes entry-rise{0%,100%{opacity:0;transform:translateY(8px)}18%,70%{opacity:.85;transform:translateY(0)}}
@keyframes entry-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.guest-booking-notice{margin:14px 0 0;color:#3E5248;font-size:16px;line-height:1.5}
.guest-checkout h2{font-size:20px;line-height:1.45;margin:0 0 14px}
.guest-checkout .field{display:flex;flex-direction:column;width:100%;max-width:100%;font-size:16px;min-width:0}
.guest-checkout .guest-phone-lead{margin:4px 0 12px;color:#1F2B26;font-size:16px;line-height:1.5}
.guest-checkout .guest-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:stretch}
.guest-checkout .guest-pair+.guest-pair{margin-top:12px}
.guest-checkout .guest-pair .field{min-width:0;max-width:100%;overflow:hidden}
.guest-checkout .guest-pair input,.guest-checkout .guest-pair select{display:block;width:100%;max-width:100%;min-width:0;min-inline-size:0;box-sizing:border-box}
.guest-checkout input[type="date"]{-webkit-appearance:none;appearance:none;text-align:left}
.guest-checkout input[type="date"]::-webkit-date-and-time-value{text-align:left;margin:0}
.guest-checkout input[type="date"]::-webkit-datetime-edit{padding:0;min-width:0}
.guest-checkout input[type="date"]::-webkit-calendar-picker-indicator{margin:0;padding:0}
.guest-checkout .guest-verify-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px;justify-content:stretch;margin-top:16px}
.guest-checkout .guest-verify-actions .button{width:100%;min-width:0;padding-left:8px;padding-right:8px;font-size:15px}
.guest-checkout .guest-phone-note{margin:0 0 12px;color:#1F2B26;font-size:15px;line-height:1.5}
.guest-checkout .guest-phone-note.is-error{color:#8C3A32}
.guest-checkout .phone-recaptcha,.grecaptcha-badge{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.guest-checkout .guest-deposit-note{margin:4px 0 0;color:#5C6B63;font-size:15px;line-height:1.5}
.guest-deposit-preview,.guest-booking-review{max-height:min(92vh,760px);overflow:auto}
.guest-deposit-preview h2{margin:0 0 8px}
.guest-deposit-lead{margin:0 0 14px;color:#5C6B63;font-size:14px;line-height:1.5}
.guest-deposit-pay{margin:0 0 12px;padding:14px 14px 12px;border:1px solid #D7E0D8;border-radius:14px;background:#F7FAF7}
.guest-deposit-amount{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid #D7E0D8}
.guest-deposit-amount span{color:#5C6B63;font-size:14px;font-weight:650}
.guest-deposit-amount strong{font-size:28px;line-height:1;color:#1F2B26;letter-spacing:.02em}
.guest-deposit-facts{margin:0}
.guest-deposit-facts > div{display:grid;grid-template-columns:3.2em minmax(0,1fr);gap:8px;align-items:center;padding:4px 0}
.guest-deposit-facts dt{color:#5C6B63;font-size:14px}
.guest-deposit-facts dd{margin:0;font-weight:700;color:#1F2B26;word-break:break-all}
.guest-deposit-account dd{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.guest-deposit-facts code{font-size:18px;letter-spacing:.04em;font-weight:750}
.guest-copy-account{min-height:32px;padding:0 12px;font-size:13px}
.guest-deposit-rules{margin:0 0 14px;padding:12px 14px;border:1px solid #E4EBE4;border-radius:12px;background:#fff}
.guest-deposit-rules-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 6px}
.guest-deposit-rules-title{margin:0;font-size:14px;font-weight:750;color:#2C4A3E}
.guest-deposit-rules .guest-rules{margin:0;padding-left:1.15em;color:#3E5248;font-size:13px;line-height:1.55}
.guest-deposit-rules .guest-rules li{margin:3px 0}
.guest-deposit-rules-head .guest-rules-read{margin:0;padding:0;border:0;background:transparent;align-items:center;font-size:13px;font-weight:650;color:#2C4A3E;white-space:nowrap}
.guest-deposit-rules-head .guest-rules-read input{margin-top:0}
.guest-deposit-fields{display:grid;gap:12px;margin:0 0 4px}
.guest-review-sum{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:4px 0 14px;padding:12px 0;border-top:1px solid #D7E0D8;border-bottom:1px solid #D7E0D8}
.guest-review-sum small{color:#5C6B63;font-size:14px}
.guest-review-sum b{font-size:22px;color:#1F2B26}
.guest-need{display:grid;gap:8px;margin:0 0 14px}
.guest-need-when{display:grid;grid-template-columns:4.5em minmax(0,1fr);gap:8px;align-items:baseline}
.guest-need-when dd{white-space:nowrap}
.guest-need-course{display:grid;grid-template-columns:3em minmax(0,1fr);gap:8px;align-items:baseline}
.guest-need-course dd{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;margin:0;font-weight:700}
.guest-need-course dd em{font-style:normal;font-weight:650;color:#3E5248}
.guest-need-total dd{font-weight:750}
.guest-need dt{color:#5C6B63}
.guest-need dd{margin:0;font-weight:700}
.guest-confirm-card{margin:0 0 12px;padding:14px 16px;border:1px solid #C5D2B0;border-radius:16px;background:#F3F5E8}
.guest-confirm-card ul{margin:8px 0;padding:0;list-style:none}
.guest-confirm-card li{margin:4px 0;color:#3D4A24;line-height:1.55}
.guest-rules-card{margin:14px 0 12px;padding:12px 14px;border:1px solid #C5D2B0;border-radius:12px;background:#F3F5E8}
.guest-rules-card h3{margin:0 0 8px;color:#3D4A24;font-size:16px}
.guest-rules-fold{margin:14px 0 12px;border:1px solid #D7E0D8;border-radius:12px;background:#fff}
.guest-rules-fold summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;cursor:pointer;list-style:none;font-weight:700;color:#2C4A3E}
.guest-rules-fold summary::-webkit-details-marker{display:none}
.guest-rules-fold .guest-rules{margin:0;padding:0 16px 12px 1.15em;color:#1F2B26;line-height:1.55}
.guest-rules-fold .guest-rules li{margin:4px 0}
.guest-rules-read{display:flex;align-items:flex-start;gap:10px;font-weight:700;color:#1F2B26;line-height:1.4;cursor:pointer}
.guest-rules-read input{width:22px;height:22px;flex:none;margin-top:1px}
.guest-five-label{font-weight:700}
.guest-confirm-lines{margin:0 0 12px}
.guest-confirm-lines p{margin:0;padding:3px 0;border-bottom:0;font-size:16px;line-height:1.6;color:#1C2430}
.guest-confirm-hello{margin:0;font-weight:700;color:#3D4A24}
.guest-confirm-thanks{margin:8px 0 0;color:#5C6B2E;font-weight:700}
.guest-five-label input::placeholder{color:#6E7A72}
.guest-birth{display:grid;grid-template-columns:1.35fr .85fr .85fr;gap:4px}
.guest-birth select{min-width:0;width:100%}
.guest-news-panel .guest-offer-banner-rail{margin-top:12px}
.guest-offer-banners{padding-top:16px;background:linear-gradient(180deg,#FFFCF4,#F7F3EC);border-color:#E2D4B8}
.guest-offer-stage-note{margin:0 4px 12px;color:#5C6B63;font-size:13px;line-height:1.45}
.guest-offer-banner-rail{display:grid;gap:10px}
.guest-offer-banner{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(112px,.9fr);align-items:center;gap:10px;width:100%;min-height:92px;margin:0;padding:8px;border:1px solid #E8DFC8;border-radius:16px;background:#fff;box-shadow:0 8px 20px rgba(44,74,62,.08);text-align:left;cursor:pointer;font:inherit;color:inherit;overflow:hidden;animation:guest-offer-stage-in .55s ease both;animation-delay:calc(var(--i,0) * .08s)}
.guest-offer-banner-art{position:relative;display:block;width:100%;height:76px;border-radius:12px;overflow:hidden;background:linear-gradient(145deg,#F6E7C1,#E7F0D4);animation:guest-offer-float 2.8s ease-in-out infinite}
.guest-offer-banner-art img{display:block;width:100%;height:76px;object-fit:cover}
.guest-offer-banner-copy{display:grid;gap:2px;min-width:0;padding-right:2px}
.guest-offer-banner-copy b{font-size:15px;font-weight:750;color:#1F2B26;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.guest-offer-banner-copy em{font-style:normal;font-size:14px;font-weight:750;color:#5C6B2E}
.guest-offer-banner-copy i{font-style:normal;font-size:12px;font-weight:650;color:#6E7A72}
.guest-offer-banner:focus-visible{outline:2px solid #5C6B2E;outline-offset:3px}
.guest-claim-row{align-items:center;gap:10px}
.guest-claim-row .button{flex:none;min-height:36px;padding:0 12px;font-size:13px}
.guest-claim-mark{display:inline-block;margin-top:4px;padding:2px 8px;border-radius:999px;background:#E7EFEA;color:#2C4A3E;font-size:12px;font-weight:750;font-style:normal}
.guest-claim-mark.redeemed{background:#F1E4E4;color:#8A3B3B}
.guest-offer-shade{place-items:center}
.guest-offer-dialog{width:min(340px,calc(100% - 36px));padding:22px 20px 18px;text-align:center;box-shadow:0 24px 64px rgba(28,36,48,.35);animation:guest-offer-pop .32s cubic-bezier(.16,.84,.32,1)}
.guest-offer-dialog h2{margin:14px 0 8px;font-size:22px;line-height:1.35}
.guest-offer-body{margin:0 0 12px;font-size:15px;line-height:1.5;color:#3A4450}
.guest-offer-art{position:relative;width:280px;max-width:100%;height:168px;margin:8px auto 0;border-radius:18px;overflow:hidden;background:linear-gradient(145deg,#F6E7C1,#E7F0D4);box-shadow:0 10px 28px rgba(44,74,62,.16);animation:guest-offer-float 2.8s ease-in-out infinite}
.guest-offer-art img{display:block;width:280px;height:168px;max-width:100%;object-fit:cover}
.guest-offer-spark{position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.55) 48%,transparent 62%);transform:translateX(-120%);animation:guest-offer-shine 2.6s ease-in-out infinite}
.guest-offer-art.is-claiming{animation:guest-offer-claim .9s ease-out}
.guest-offer-art.is-claiming .guest-offer-spark{animation:guest-offer-shine .55s ease-out 2}
.guest-offer-art.is-claimed{animation:none;box-shadow:0 0 0 2px #5C6B2E inset}
.guest-offer-parking{margin-top:14px;padding-top:12px;border-top:1px solid #E8EBE6;text-align:left}
.guest-offer-parking strong{display:block;margin:0 0 4px;font-size:13px;color:#5C6B2E}
.guest-offer-parking p{margin:0;font-size:13px;line-height:1.5;color:#3A4450}
.guest-claim{width:100%;height:58px;margin-top:6px;border-radius:16px;font-size:20px;font-weight:750}
@keyframes guest-offer-stage-in{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
@keyframes guest-offer-pop{from{opacity:0;transform:scale(.86) translateY(12px)}to{opacity:1;transform:none}}
@keyframes guest-offer-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes guest-offer-shine{0%{transform:translateX(-130%)}55%,100%{transform:translateX(130%)}}
@keyframes guest-offer-claim{0%{transform:scale(1)}35%{transform:scale(1.08) rotate(-1.5deg)}70%{transform:scale(.96) rotate(1deg)}100%{transform:scale(1)}}
.guest-ios .guest-mini-mark{background:#F7F4EC}
.guest-mini-mark.guest-photo{padding:0;overflow:hidden;background:#F2F2F7}
.guest-mini-mark.guest-photo img{width:100%;height:100%;object-fit:cover;display:block}
.guest-person span svg{width:36px;height:36px}
.guest-promo-face{display:grid;place-items:center;background:linear-gradient(160deg,#F6D5DC,#F6E7C1)}
.guest-promo-face svg{width:42%;height:42%}
.guest-review-deposit{margin:12px 0 4px;padding:12px 14px;border-radius:14px;background:#F4F7EF;border:1px solid rgba(92,107,46,.22);color:#1F2B26;font-size:14px;line-height:1.5}
.guest-review-deposit p{margin:0}
.guest-review-deposit-note{margin:8px 0 0;color:#5C6B63;font-size:13px}
.guest-deposit-deadline{margin:8px 0 0;color:#5C6B2E;font-size:14px}
.guest-sending-shade{z-index:60;background:rgba(18,28,24,.46);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.guest-sending{width:min(100%,300px);padding:28px 24px 24px;border:1px solid rgba(92,107,46,.22);border-radius:22px;background:linear-gradient(165deg,#FFFEFA 0%,#F4F7F1 100%);box-shadow:0 22px 48px rgba(20,36,28,.28);text-align:center}
.guest-sending-orbit{position:relative;width:54px;height:54px;margin:0 auto 16px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#E8EFD8,#C9D6A8 55%,#5C6B2E);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
.guest-sending-orbit::before{content:"";position:absolute;inset:-5px;border-radius:50%;border:1px solid rgba(92,107,46,.28);border-top-color:#5C6B2E;animation:guest-sending-spin 1.1s linear infinite}
.guest-sending-orbit span{position:absolute;inset:10px;border-radius:50%;background:linear-gradient(160deg,#FFFDF8,#F0F4E8);box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.guest-sending-brand{margin:0 0 6px;color:#5C6B2E;font-size:12px;font-weight:750;letter-spacing:.28em;text-indent:.28em}
.guest-sending h2{margin:0;color:#1F2B26;font-size:20px;font-weight:750;letter-spacing:.04em}
.guest-sending>p{margin:8px 0 0;color:#5C6B63;font-size:14px;line-height:1.5}
.guest-sending-bar{position:relative;height:2px;margin:18px 8px 2px;overflow:hidden;border-radius:999px;background:rgba(92,107,46,.14)}
.guest-sending-bar i{position:absolute;top:0;bottom:0;left:0;width:42%;border-radius:inherit;background:linear-gradient(90deg,transparent,#5C6B2E,#C6A15B,transparent);animation:guest-sending-bar 1.35s ease-in-out infinite}
@keyframes guest-sending-spin{to{transform:rotate(360deg)}}
@keyframes guest-sending-bar{0%{transform:translateX(-120%)}100%{transform:translateX(280%)}}
@media(prefers-reduced-motion:reduce){.entry-glow,.entry-float,.entry-marquee p,.arrival-film img,.arrival-square,.arrival-copy,.arrival-progress span,.arrival-screen::before,.arrival-screen::after,.arrival-ripple,.arrival-scan,.arrival-screen,.arrival-grid::after,.arrival-reel,.arrival-grid img,.arrival-frame,.guest-offer-dialog,.guest-offer-art,.guest-offer-spark,.guest-offer-art.is-claiming,.guest-offer-banner,.guest-offer-banner-art,.guest-sending-orbit::before,.guest-sending-bar i,.guest-home-entering .guest-top h1,.guest-home-entering .guest-brand-line{animation:none;opacity:1;transform:none}.arrival-progress span{width:100%}.guest-sending-bar i{width:100%;transform:none;background:#5C6B2E}}

/* 愛美女王：乾淨、現代、手機優先。既有變數改指到這裡，全站按鈕與欄位跟著同一套。 */
:root {
  --color-bg: #F7F3EC;
  --color-surface: #fffdf8;
  --color-ink: #1F2B26;
  --color-muted: #6E7A72;
  --color-line: #D7E0D8;
  --color-brand: #2C4A3E;
  --color-brand-dark: #1E342B;
  --color-accent: #5C6B2E;
  --color-error: #a33353;
  --color-ok: #2C6B4A;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --font-xs: 12px;
  --font-sm: 14px;
  --font-md: 16px;
  --font-lg: 20px;
  --font-xl: 28px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-card: 0 8px 24px rgba(44, 74, 62, .06);
  --shadow-pop: 0 16px 40px rgba(31, 43, 38, .16);
  --control-h: 48px;
  --brand: var(--color-brand);
  --brand-dark: var(--color-brand-dark);
  --muted: var(--color-muted);
  --line: var(--color-line);
  --surface: var(--color-surface);
  --error: var(--color-error);
  --green: var(--color-brand);
}

.button.ui-btn,
.teacher-shell .button,
.teacher-filter-sheet .button {
  min-height: var(--control-h);
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
}

.teacher-shell .field input,
.teacher-shell .field select,
.teacher-shell .field textarea,
.teacher-filter-sheet .field input,
.teacher-filter-sheet .field select,
.teacher-filter-sheet .field textarea {
  min-height: var(--control-h);
  border-radius: var(--radius-sm);
  border-color: var(--color-line);
  font-size: var(--font-md);
}

.card.ui-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

.ui-dialog {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
}

.ui-toast {
  margin: 0 0 var(--space-2);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--color-brand);
  color: #fff;
  font-size: var(--font-sm);
  font-weight: 700;
  line-height: 1.45;
}

.ui-toast.is-error { background: var(--color-error); }

.ui-loading,
.ui-offline,
.ui-error {
  margin: 0 0 var(--space-2);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  font-weight: 700;
  line-height: 1.45;
}

.ui-loading { background: #E7EFEA; color: var(--color-brand); }
.ui-offline,
.ui-error { background: #fff0f4; color: var(--color-error); border: 1px solid #edccda; }

.empty.ui-empty {
  padding: 28px 16px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.teacher-shell.is-busy [data-submit],
.teacher-filter-sheet.is-busy [data-submit] { pointer-events: none; }

.teacher-hours-actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  margin-top: 16px;
  padding: 16px 0 calc(28px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(247, 243, 236, 0), var(--color-bg) 28%);
}

.teacher-hours-actions .button {
  width: 100%;
  min-height: 52px;
  font-size: var(--font-md);
}

.teacher-hours-actions.month {
  grid-template-columns: 1fr 2fr;
}

.teacher-filter-sheet .form-actions.sheet-foot,
.teacher-page-sheet-main .form-actions {
  position: sticky;
  bottom: 0;
  padding-top: 8px;
  background: var(--color-surface);
}

.teacher-filter-sheet .form-actions .button,
.teacher-page-sheet-main .form-actions .button { flex: 1; min-height: 52px; }
