:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#17263a;--ink:#17263a;--muted:#4d6178;--line:#dbe5ef;--line-soft:#e4ebf3;--accent:#2ea9df;--accent-text:#0b526f;--focus:#14789e;--danger:#962638;--control-height:44px;background:#edf4fa;font:14px/1.5 -apple-system,BlinkMacSystemFont,PingFang SC,Segoe UI,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{color:inherit;font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.56}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}svg{flex:none;display:block}h1,h2,h3,h4,p,dl{margin:0}.app,.auth-shell{background:linear-gradient(125deg,#f2f7fb,#eaf3fa 58%,#edf4fa);min-height:100dvh}.app-header{-webkit-backdrop-filter:blur(22px)saturate(120%);backdrop-filter:blur(22px)saturate(120%);background:#f8fcffd6;border-bottom:1px solid #d8e6f1;box-shadow:0 2px 8px #36557309}.app-header-content{justify-content:space-between;align-items:center;gap:16px;max-width:1650px;min-height:67px;margin:0 auto;padding:8px 32px;display:flex}.brand,.header-actions,.environment,.main-nav{align-items:center;display:flex}.brand{white-space:nowrap;gap:12px;line-height:1.3}.brand strong{font-size:18px;display:block}.brand div>span{font-size:13px}.brand-mark{color:#09698e;background:linear-gradient(145deg,#fff9,#0000 60%),#2ea9df33;border-radius:13px;place-items:center;width:47px;height:46px;display:grid;box-shadow:inset 1px 1px #fff9}.main-nav{gap:4px}.main-nav button,.view-toggle button{min-height:var(--control-height);color:#304b67;white-space:nowrap;background:0 0;border:0;border-radius:9px;padding:0 13px;font-weight:650}.main-nav button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.main-nav button[aria-current],.view-toggle button[aria-pressed=true]{color:#0b5b80;background:#2ea9df24}.main-nav button:hover,.view-toggle button:hover{background:#2ea9df1f}.header-actions{gap:14px}.environment{color:#3c526b;white-space:nowrap;gap:6px;font-size:12px;font-weight:650}.environment i{background:#167cab;border-radius:50%;flex:none;width:7px;height:7px}.account-button{align-items:center;gap:7px;max-width:152px;padding:0 10px;display:inline-flex}.account-button>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.primary-button,.secondary-button,.glass-control{min-height:var(--control-height);background:linear-gradient(140deg,#fffffff0,#f8fbffb8);border:1px solid #d2e1ed;border-radius:10px;box-shadow:inset 0 1px #fff,0 2px 6px #263d5510}.primary-button,.secondary-button,.text-button,.icon-button{white-space:nowrap;justify-content:center;align-items:center;gap:7px;display:inline-flex}.primary-button{color:var(--accent-text);-webkit-backdrop-filter:blur(18px)saturate(115%);backdrop-filter:blur(18px)saturate(115%);background:linear-gradient(148deg,#fff9,#0000 56%,#2ea9df0d),#2ea9df2e;border-color:#c5e6f3;padding:0 17px;font-weight:680;box-shadow:inset 0 1px #fffe,inset 0 -1px #2ea9df1a,0 3px 10px #27557413}.primary-button:hover:not(:disabled){background-color:#2ea9df40}.secondary-button{padding:0 15px}.secondary-button:hover:not(:disabled),button.glass-control:hover{background:#f0f7fc}.primary-button:active:not(:disabled),.secondary-button:active:not(:disabled),button.glass-control:active{transform:translateY(1px)}.text-button{min-height:40px;color:var(--accent-text);background:0 0;border:0;border-radius:7px;padding:0 7px;font-weight:600}.text-button:hover:not(:disabled){background:#2ea9df12}.icon-button{width:var(--control-height);padding:0}.danger-text{color:var(--danger)}.danger-text:hover:not(:disabled){background:#fcf0f2}.workspace{max-width:1650px;margin:0 auto;padding:27px 32px 26px}.page-heading,.toolbar,.list-toolbar{margin-inline:10px}.page-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.page-heading h1{font-size:clamp(29px,3.2vw,38px);font-weight:750;line-height:1.22}.page-heading h1:focus{outline:none}.page-heading p{color:var(--muted);margin-top:6px;font-size:15px}.page-action{margin-top:6px}.view-toggle{align-items:center;gap:5px;margin-top:7px;display:flex}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:24px;display:flex}.date-controls,.date-group,.filters{align-items:center;gap:10px;display:flex}.date-controls{gap:12px}.date-group{gap:0}.date-group .icon-button{flex:0 0 var(--control-height)}.date-group .glass-control:first-child{border-radius:9px 0 0 9px}.date-group .glass-control:last-child{border-radius:0 9px 9px 0}.date-field{white-space:nowrap;border-inline:0;border-radius:0;justify-content:center;align-items:center;gap:8px;min-width:187px;padding:0 12px;font-weight:650;display:flex;position:relative}.date-field:focus-within,.select-control:focus-within,.search-control:focus-within{outline:2px solid var(--focus);outline-offset:2px}.date-field input{opacity:0;cursor:pointer;border:0;width:100%;padding:0;position:absolute;inset:0}.date-field input::-webkit-calendar-picker-indicator{cursor:pointer;width:auto;height:auto;position:absolute;inset:0}.today-control{white-space:nowrap;padding:0 13px}.filters{min-width:0}.select-control,.search-control{align-items:center;display:flex;position:relative}.select-control{min-width:145px}.select-control select{appearance:none;border-radius:inherit;cursor:pointer;background:0 0;border:0;width:100%;min-height:42px;padding:0 33px 0 12px;font-weight:600}.select-control>svg{pointer-events:none;position:absolute;right:12px}.search-control{color:#455d76;gap:8px;width:clamp(226px,27vw,382px);padding:0 10px}.search-control input{width:100%;min-width:0;min-height:42px;color:var(--ink);background:0 0;border:0;outline:none;padding:0}.search-control input::placeholder{color:#586c82}.search-control input::-webkit-search-cancel-button{display:none}.search-control .icon-button,.close-button{color:#455d76;background:0 0;border:0;border-radius:8px}.search-control .icon-button{flex:none;width:34px;height:40px}.search-control .icon-button:hover,.close-button:hover{background:#eaf2f8}.schedule,.content-panel{background:#fcfdff;border:1px solid #d9e7f1;border-radius:15px;min-width:0;box-shadow:0 4px 16px #29476512}.schedule{padding:0 10px 18px}.schedule-head{justify-content:space-between;align-items:center;gap:10px;min-height:53px;padding:12px;display:flex}.schedule-head h2{font-size:16px;font-weight:680}.schedule-head h2 span{color:var(--muted);margin:0 3px}.status{color:#39566e;white-space:nowrap;align-items:center;gap:6px;font-size:12px;display:inline-flex}.status i{background:#277f9f;border-radius:50%;flex:none;width:8px;height:8px}.status-enabled i{background:#2d8264}.status-disabled i,.status-cancelled i,.status-voided i{background:#718096}.status-firstLogin i,.status-partial i{background:#9b651d}.schedule-empty,.loading,.error-notice,.success-notice{color:#345571;overflow-wrap:anywhere;background:#edf6fc;border-radius:8px;margin-bottom:10px;padding:10px 13px}.schedule-empty .text-button{min-height:34px;margin-left:7px}.error-notice{color:var(--danger);background:#fff0f2}.error-notice ul{margin-block:6px;padding-left:22px}.error-notice .text-button{color:inherit;margin-top:4px}.success-notice{color:#245e49;background:#eefaf4}.panel-empty{color:var(--muted);padding:18px}.studio-color-legend{color:#405162;flex-wrap:wrap;gap:7px 15px;padding:0 12px 14px;font-size:12px;display:flex}.studio-color-legend>span{align-items:center;gap:6px;display:inline-flex}.studio-color-legend i,.studio-swatch{background:var(--studio-background);border:2px solid var(--studio-border);border-radius:4px;flex:none;width:12px;height:12px}.timeline-viewport,.week-overview-scroll{border:1px solid var(--line);border-radius:10px;overflow:auto}.timeline{--studio-width:136px;min-width:1020px}.timeline-row{grid-template-columns:var(--studio-width) minmax(0, 1fr);background:#fbfdff;min-height:50px;display:grid}.timeline-row:nth-child(odd){background:#f6f9fc}.timeline-row:not(:last-child){border-bottom:1px solid var(--line-soft)}.timeline-row.timeline-head{background:#f1f6fb;min-height:44px}.studio-name{border-right:1px solid var(--line);z-index:3;background:inherit;overflow-wrap:anywhere;flex-direction:column;justify-content:center;align-items:flex-start;padding:4px 12px;font-size:15px;font-weight:660;display:flex;position:sticky;left:0}.studio-name small{color:var(--muted);font-size:11px;font-weight:500}.timeline-head .studio-name{font-size:14px}.hour-axis,.day-track{background-image:linear-gradient(to right, transparent calc(100% - 1px), var(--line-soft) calc(100% - 1px));background-size:8.33333% 100%}.hour-axis{font-variant-numeric:tabular-nums;grid-template-columns:repeat(12,minmax(0,1fr));align-items:center;display:grid}.hour-axis span{padding-left:10px;font-size:13px}.day-track{position:relative}.free-slot{color:var(--accent-text);background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:0;bottom:0;overflow:hidden}.free-slot svg{opacity:0}.free-slot:hover,.free-slot:focus-visible{background:#2ea9df14}.free-slot:focus-visible{outline-offset:-3px}.free-slot:hover svg,.free-slot:focus-visible svg{opacity:1}.event-block,.list-event,.week-overview-card{border:0;border-left:3px solid var(--studio-border,#229dd0);background:var(--studio-background,#d9effb);color:#243747;text-align:left;border-radius:7px}.event-block{z-index:1;flex-direction:column;justify-content:center;align-items:stretch;min-width:3px;padding:2px 5px;line-height:1.25;display:flex;position:absolute;top:4px;bottom:4px;overflow:hidden}.event-block:hover,.list-event:hover,.week-overview-card:hover{filter:brightness(.97)}.event-block:focus-visible{z-index:2}.event-block.occupancy{color:#415871;background:repeating-linear-gradient(135deg,#e9eef4,#e9eef4 4px,#f1f4f7 4px 8px);border-color:#aab8c6;font-size:11px}.event-block>strong,.event-block>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.event-block>strong{font-size:12px;font-weight:680}.event-block>span{font-variant-numeric:tabular-nums;font-size:11px}.mobile-day{display:none}.list-event{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;width:100%;min-width:0;min-height:47px;margin-bottom:5px;padding:6px 9px;display:flex}.list-event-main{flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0;display:flex}.list-event-main strong{overflow-wrap:anywhere}.list-event-main>span{font-size:12px}.quiet{color:var(--muted);font-size:13px}.week-overview-note{color:var(--muted);margin:0 12px 12px;font-size:13px}.week-overview-scroll{background:#fbfdff;max-height:72vh}.week-overview{border-spacing:0;table-layout:fixed;width:100%;min-width:850px}.week-overview-time-col{width:78px}.week-overview th,.week-overview td{border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.week-overview tr>:last-child{border-right:0}.week-overview thead th{z-index:3;background:#f3f8fc;padding:0;position:sticky;top:0}.week-overview thead .week-overview-corner{z-index:4;color:var(--muted);font-size:12px;left:0}.week-overview-heading{background:0 0;border:0;flex-direction:column;align-items:center;gap:2px;width:100%;min-height:58px;padding:10px 4px;display:flex}.week-overview-heading:hover{background:#2ea9df10}.week-overview-heading strong{font-size:14px}.week-overview-heading>span{color:var(--muted);font-size:12px}.week-overview .selected-day{background:#edf7fc}.week-overview td{vertical-align:top;padding:5px}.week-overview-time{z-index:2;vertical-align:top;text-align:left;color:#4b6277;font-variant-numeric:tabular-nums;background:#f5f8fb;padding:7px;font-size:12px;font-weight:500;position:sticky;left:0}.week-overview-time>span{white-space:nowrap}.week-overview-time small{margin-top:2px;font-size:11px;line-height:1.5;display:block}.week-overview .empty-hour th{padding-block:4px}.week-overview .empty-hour td{padding-block:0}.week-overview-stack{flex-direction:column;gap:6px;display:flex}.week-overview-card{overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:2px;width:100%;min-height:91px;padding:8px 7px;line-height:1.4;display:flex}.week-overview-card>strong,.overview-customer{font-size:13px;font-weight:680}.overview-time{font-variant-numeric:tabular-nums;font-size:12px}.week-overview-card>small{color:#405264;font-size:11px}.week-overview .business-marker>*{border-top:2px solid #77b6d0}.week-overview .fee-marker>*{border-top:2px dashed #a67034}.week-overview .fee-marker>th{color:#774714;background:#fff5e8}.list-toolbar{gap:8px;margin-bottom:16px;display:flex}.order-list,.settings-list,.detail-list,.slot-history{margin:0;padding:0;list-style:none}.order-list-row,.settings-row{border-bottom:1px solid var(--line-soft);overflow-wrap:anywhere;align-items:center;gap:12px 16px;padding:12px 18px;display:grid}.order-list-row{grid-template-columns:minmax(160px,1.6fr) minmax(110px,1.2fr) minmax(92px,.85fr) auto}.order-list-row:last-child,.settings-row:last-child{border-bottom:0}.order-list-identity,.order-list-contact,.order-list-money,.detail-list-main{flex-direction:column;align-items:flex-start;min-width:0;display:flex}.order-list-identity>span,.order-list-contact>span,.order-list-money>span,.employee-name>span,.detail-list-main>span,.detail-list-main>small{color:var(--muted);font-size:12px}.order-list-identity>.order-title{white-space:normal;text-align:left;min-height:28px;margin-left:-7px;font-size:16px}.order-list-contact strong,.order-list-money strong,.finance-summary dd{font-variant-numeric:tabular-nums}.order-list-actions,.employee-roles{align-items:center;gap:10px;display:flex}.pagination{color:var(--muted);justify-content:flex-end;align-items:center;gap:12px;margin:14px 0 0;display:flex}.settings-row{grid-template-columns:minmax(0,1fr) auto auto}.settings-name{align-items:center;gap:8px;display:flex}.settings-name strong{font-size:15px}.employee-name{flex-direction:column;align-items:flex-start;gap:2px}.studio-swatch{width:15px;height:15px}html:has(dialog[open]){overflow:hidden}.session-protected[hidden],.session-protected[hidden] .modal[open]{display:none!important}.session-protected[hidden] .modal[open]::backdrop{display:none!important}.modal{color:var(--ink);background:#fbfdff;border:1px solid #d7e4ed;padding:0;box-shadow:0 15px 45px #1a344537}.modal[open]{flex-direction:column;display:flex;overflow:hidden}.modal::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#223b5960}.booking-drawer{border-width:0 0 0 1px;border-radius:17px 0 0 17px;width:min(570px,100vw);max-width:none;height:100dvh;max-height:none;margin:0;position:fixed;inset:0 0 0 auto}.modal-compact{border-radius:17px;width:min(450px,100vw - 24px);max-width:none;max-height:calc(100dvh - 24px)}.drawer-heading{border-bottom:1px solid var(--line);background:#f5faff;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 24px 15px;display:flex}.drawer-heading h2{font-size:23px;line-height:1.3}.drawer-heading h2:focus{outline:none}.drawer-heading p{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;font-size:13px}.close-button{min-height:var(--control-height);flex:none}.drawer-scroll{overscroll-behavior:contain;flex:1;min-height:0;padding:18px 24px;overflow:auto}.drawer-footer{padding:12px 24px max(12px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#f8fbfe}.dialog-actions,.detail-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;display:flex}.detail-actions{justify-content:flex-start;margin-top:10px}.stack-form{flex-direction:column;gap:12px;display:flex}.stack-form .error-notice{margin-bottom:0}.form-fields{border:0;min-width:0;margin:0;padding:0}.fields-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px;display:grid}.field{flex-direction:column;gap:4px;min-width:0;display:flex}.field-wide{grid-column:1/-1}.field>label{color:#354c64;font-size:13px;font-weight:630}.field>small{color:var(--muted);font-size:12px}.field input,.field select,.field textarea{background:#fff;border:1px solid #ccdbe8;border-radius:8px;width:100%;min-width:0;min-height:42px;padding:7px 9px;display:block}.field input::-webkit-date-and-time-value{text-align:left}.field input::placeholder,.field textarea::placeholder{color:#5c6e82}.field textarea{resize:vertical;min-height:66px}.form-section,.detail-section{border-top:1px solid var(--line);margin-top:15px;padding-top:13px}.form-section h3,.detail-section h3{font-size:15px;line-height:1.35}.form-section-heading{justify-content:space-between;align-items:center;gap:7px;display:flex}.form-section-heading h4{font-size:14px}.slot-stack{flex-direction:column;gap:11px;margin-top:8px;display:flex}.slot-editor{border:1px solid var(--line);background:#f7faff;border-radius:9px;padding:9px 12px 12px}.slot-editor .fields-grid,.slot-editor>.field{margin-top:5px}.slot-history li{border-bottom:1px solid var(--line-soft);color:var(--muted);overflow-wrap:anywhere;justify-content:space-between;align-items:flex-start;gap:7px;padding:9px 1px;display:flex}.conflict-reload{white-space:normal;justify-content:flex-start;margin-bottom:7px}.detail-summary{background:#edf7fc;border-radius:11px;justify-content:space-between;align-items:center;gap:10px;padding:13px 15px;display:flex}.detail-summary h3{overflow-wrap:anywhere;font-size:23px;line-height:1.3}.detail-summary p{color:#36556f;overflow-wrap:anywhere;margin-top:4px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 14px;margin-block:15px;display:grid}.detail-grid dt,.finance-summary dt{color:var(--muted);font-size:12px}.detail-grid dd,.finance-summary dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:3px 0 0;font-weight:630}.account-detail{margin:0 0 4px}.detail-list{margin-top:6px}.detail-list li{border-bottom:1px solid var(--line-soft);overflow-wrap:anywhere;justify-content:space-between;align-items:flex-start;gap:9px;padding:9px 0;display:flex}.detail-list .status{margin-top:3px}.detail-list-main{gap:3px}.detail-list-main small{white-space:pre-wrap}.detail-list .text-button{min-height:36px}.finance-summary{background:#eff6fc;border-radius:9px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-block:9px;padding:11px 9px;display:grid}.finance-summary dd{font-size:15px}.review-message{color:#714516;overflow-wrap:anywhere;background:#fff4e1;border-radius:7px;margin-bottom:9px;padding:8px 9px}.action-context{color:var(--muted);overflow-wrap:anywhere}.auth-shell{align-content:center;justify-items:center;gap:16px;padding:20px 14px;display:grid}.auth-header{justify-content:space-between;align-items:center;gap:10px;width:min(440px,100%);display:flex}.auth-card{background:#fbfdff;border:1px solid #d9e7f1;border-radius:16px;width:min(440px,100%);padding:25px;box-shadow:0 5px 24px #29476514}.auth-card h1{font-size:28px;line-height:1.25}.auth-card h1+form,.auth-message+form{margin-top:15px}.auth-message{color:var(--muted);margin-top:8px}.auth-sign-out{margin-top:10px}@media (max-width:860px){.app-header-content{padding-inline:18px}.main-nav button{padding-inline:9px}.header-actions{gap:8px}.workspace{padding-inline:18px}}@media (max-width:736px){.app-header-content{grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:8px 12px 5px;display:grid}.header-actions{grid-area:1/2}.main-nav{grid-column:1/-1;width:100%}.main-nav button{flex:1 1 0}.brand{gap:8px}.brand-mark{border-radius:11px;width:39px;height:39px}.brand strong{font-size:16px}.brand div>span{font-size:12px}.account-button{justify-content:center;width:44px;padding:0}.account-button span{display:none}.workspace{padding:18px 12px}.page-heading,.toolbar,.list-toolbar{margin-inline:2px}.page-heading{flex-direction:column;gap:9px;margin-bottom:13px}.page-heading p{font-size:14px}.page-action{width:100%;margin:0}.view-toggle{margin-top:0}.toolbar{gap:9px;margin-bottom:14px;display:grid}.date-controls{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.schedule-add{grid-column:1/-1;width:100%;min-height:46px}.date-field{flex:1;gap:5px;min-width:0;padding-inline:5px;font-size:13px}.today-control{padding-inline:10px}.filters{grid-template-columns:minmax(98px,.72fr) minmax(0,1.5fr);gap:8px;display:grid}.select-control{min-width:0}.select-control select{text-overflow:ellipsis;padding-left:9px;padding-right:24px;overflow:hidden}.select-control>svg{right:8px}.search-control{gap:5px;width:100%;min-width:0;padding-inline:8px}.search-control input{font-size:16px}.search-control input::placeholder{font-size:13px}.search-control .icon-button{width:36px;min-height:42px}.schedule{padding:0 8px 10px}.schedule-head{padding:9px 4px}.studio-color-legend,.week-overview-note{margin-inline:0;padding-inline:4px}.studio-color-legend{gap:7px 10px}.timeline-viewport{display:none}.mobile-day{display:block}.studio-list{border-top:1px solid var(--line-soft);padding:4px 4px 8px}.studio-list-head{justify-content:space-between;align-items:center;gap:8px;min-height:44px;display:flex}.studio-list-head h3{overflow-wrap:anywhere;font-size:15px}.studio-list-head>.text-button{min-height:44px;font-size:13px}.week-overview{min-width:1000px}.week-overview-scroll{max-height:66dvh}.order-list-row{grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:7px 12px;padding:10px 12px}.order-list-actions{justify-content:flex-end}.order-list-identity>.order-title,.order-list-actions .text-button,.settings-row>.text-button{min-height:44px}.settings-row{gap:8px;padding-inline:12px}.employee-roles{flex-direction:column;align-items:flex-start;gap:3px}.booking-drawer{border:0;border-radius:0}.drawer-heading,.drawer-scroll,.drawer-footer{padding-inline:14px}.field input,.field select,.field textarea{min-height:44px;font-size:16px}.text-button{min-height:44px}}@media (max-width:360px){.brand div>span,.date-field>svg:first-child{display:none}.auth-card{padding:20px 16px}.slot-editor{padding-inline:8px}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.app-header{-webkit-backdrop-filter:none;backdrop-filter:none;background:#f8fbfd}.primary-button{-webkit-backdrop-filter:none;backdrop-filter:none;background:#e2f3fb;border-color:#a7ccdf}.modal::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.app-header{background:#f8fbfd}.primary-button{background:#e2f3fb;border-color:#a7ccdf}}
