*{box-sizing:border-box}:root{color-scheme:light;--brand: #ff6b00;--brand-strong: #d55300;--bg: #f7f7f4;--bg-soft: #efefea;--surface: #ffffff;--surface-soft: #fafaf7;--surface-tint: #fff4ec;--text: #1f1f1f;--muted: #64645f;--muted-strong: #4f4f49;--border: #e6e5df;--border-soft: #eeeeea;--control: #ecece6;--shadow: rgba(31, 31, 31, .08)}@media(prefers-color-scheme:dark){:root{color-scheme:dark;--brand: #ff7a1a;--brand-strong: #ff9a4d;--bg: #11110f;--bg-soft: #181815;--surface: #20201c;--surface-soft: #181815;--surface-tint: #302219;--text: #f5f2ec;--muted: #b8b2a8;--muted-strong: #d4cec4;--border: #3a3933;--border-soft: #2d2c27;--control: #2a2924;--shadow: rgba(0, 0, 0, .42)}}html,body,#root{width:100%;min-height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;-webkit-font-smoothing:antialiased;overscroll-behavior-y:contain}button,input,textarea,select{font:inherit}button{-webkit-tap-highlight-color:rgba(255,107,0,.12)}:focus-visible{outline:2px solid #ff6b00;outline-offset:2px}.appLoading,.loginPage,.tenantPage{min-height:100dvh;padding:max(20px,env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom))}.appLoading{display:grid;place-items:center}.loginPage{display:flex;align-items:center;justify-content:center;background:#fff}.loginPanel{width:min(100%,420px);display:flex;flex-direction:column;gap:24px}.loginBrand{display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:12px;text-align:center}.brandMark{width:88px;height:88px;border-radius:22px;display:grid;place-items:center;background:#ff6b00;color:#fff;box-shadow:0 18px 36px #ff6b003d}.brandMark svg{width:44px;height:44px}.loginTitle,.screenTitle{margin:0!important;display:block!important;font-size:30px!important;line-height:1.08!important;font-weight:900!important;letter-spacing:0!important}.screenTitle{color:var(--brand)!important}.loginForm{display:flex;flex-direction:column;gap:18px}.primaryAction{background:#ff6b00!important;color:#fff!important}.mutedText{color:#64645f}.tenantPage,.calendarShell{width:min(100%,1120px);margin:0 auto}.tenantHeader,.appHeaderTop,.calendarToolbar,.agendaHeader,.appointmentTopline{display:flex;align-items:center;justify-content:space-between;gap:12px}.tenantList{display:grid;gap:12px;margin-top:28px}.tenantCard{display:flex;flex-direction:row;align-items:center;gap:14px;padding:18px;border-radius:8px;cursor:pointer}.tenantIcon{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:#fff0e7;color:#c94f00;overflow:hidden}.tenantIcon img{width:100%;height:100%;object-fit:cover}.tenantName{display:block;font-size:17px;font-weight:700}.calendarShell{min-height:100dvh;padding:max(14px,env(safe-area-inset-top)) 14px calc(88px + env(safe-area-inset-bottom))}.appHeader{position:sticky;top:0;z-index:5;margin:-14px -14px 12px;padding:max(14px,env(safe-area-inset-top)) 14px 12px;background:#f7f7f4f0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid rgba(0,0,0,.06)}.headerActions{position:relative;display:flex;align-items:center;gap:8px}.tenantSelect,.nativeSelect{min-height:32px;border:1px solid #d1d1cb;border-radius:6px;background:#fff;color:#1f1f1f;padding:6px 34px 6px 10px}.tenantIdentity{min-width:0;display:flex;align-items:center;gap:12px}.tenantLogo{width:48px;height:48px;flex:0 0 48px;border-radius:14px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#fff0e7,#fff);color:#d55300;font-weight:800;box-shadow:0 8px 18px #1f1f1f14}.tenantLogo img,.menuTenantLogo img{width:100%;height:100%;object-fit:cover}.avatarButton{width:42px;height:42px;border:1px solid color-mix(in srgb,var(--brand) 78%,#ffffff 22%);border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#fff;font-size:13px;font-weight:800;box-shadow:0 10px 22px #ff6b0047}.avatarButton.large{width:46px;height:46px;flex:0 0 46px;border:0;background:#ff6b00;color:#fff}.menuBackdrop{position:fixed;inset:0;z-index:18;border:0;background:transparent}.userMenu{position:absolute;top:calc(100% + 10px);right:0;z-index:19;width:min(360px,calc(100vw - 28px));display:flex;flex-direction:column;gap:12px;padding:14px;border:1px solid #e6e5df;border-radius:14px;background:#fff;box-shadow:0 22px 54px #1f1f1f29}.userMenuHeader{display:flex;align-items:center;gap:12px;padding-bottom:10px;border-bottom:1px solid #eeeeea;min-width:0}.userMenuIdentity{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.userMenuName,.userMenuEmail{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.userMenuName{color:var(--text);font-size:16px;font-weight:800}.userMenuEmail{color:var(--muted);font-size:13px;font-weight:500}.tenantMenuList{display:grid;gap:6px}.menuLabel{color:#77766f;font-size:12px;font-weight:700;text-transform:uppercase}.tenantMenuItem{width:100%;min-height:46px;border:0;border-radius:10px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;padding:6px 8px;background:transparent;color:#1f1f1f;text-align:left}.tenantMenuItem.active,.tenantMenuItem:hover{background:#fff4ec}.menuTenantLogo{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;overflow:hidden;background:#f1f1ec;color:#d55300;font-weight:800}.calendarToolbar{margin-top:16px;align-items:stretch}.dateNavigator{min-width:0;flex:1;display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:4px}.dateTitleButton{min-width:0;min-height:36px;border:0;background:transparent;color:#1f1f1f;font-weight:700;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.segmentedControl,.filterRow{display:flex;align-items:center;gap:4px;padding:3px;border-radius:8px;background:#ecece6}.segmentedControl button,.filterRow button{min-height:34px;min-width:38px;border:0;border-radius:6px;background:transparent;color:#4f4f49;display:grid;place-items:center}.segmentedControl svg{width:20px;height:20px}.segmentedControl .active,.filterRow .active{background:#fff;color:#d55300;box-shadow:0 1px 3px #0000001f}.filterRow{width:max-content;max-width:100%;margin-top:12px}.filterRow button{padding:0 12px;font-size:13px;font-weight:650}.inlineMessage{margin:12px 0}.loadingOverlay{padding:18px;display:grid;place-items:center}.weekLayout,.agendaSection{display:flex;flex-direction:column;gap:12px}.weekStrip{display:grid;grid-template-columns:repeat(7,minmax(58px,1fr));gap:8px;overflow-x:auto;padding:2px 0 4px}.weekDay{min-width:58px;min-height:76px;border:1px solid transparent;border-radius:8px;background:#fff;color:#1f1f1f;display:grid;grid-template-rows:18px 1fr 18px;justify-items:center;align-items:center;box-shadow:0 1px 2px #0000000f}.weekDay span{color:#64645f;font-size:12px}.weekDay strong{font-size:22px}.weekDay em{min-width:20px;height:18px;border-radius:9px;background:#f0f0ea;color:#64645f;font-style:normal;font-size:12px;line-height:18px}.weekDay.active{border-color:#ff6b00;box-shadow:0 0 0 2px #ff6b0024}.weekDay.today strong{color:#d55300}.agendaSection{background:#fff;border-radius:8px;padding:12px;box-shadow:0 1px 3px #00000014}.appointmentList{display:flex;flex-direction:column;gap:10px}.appointmentCard{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;padding:12px;border:1px solid #ededeb;border-radius:8px;background:#fff;cursor:pointer}.appointmentCard:active{background:#fff7f1}.appointmentTime{display:flex;flex-direction:column;gap:2px;padding-top:2px}.appointmentMain{min-width:0;display:flex;flex-direction:column;gap:4px}.appointmentName{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.appointmentNote{color:#3c3c37;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.emptyDayButton{width:100%;min-height:88px;border:1px dashed #cbc9c1;border-radius:8px;background:#fafaf7;color:#686860}.monthGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;background:#fff;border-radius:8px;padding:10px;box-shadow:0 1px 3px #00000014}.monthWeekday{text-align:center;font-size:12px;font-weight:700;color:#686860;padding:4px 0}.monthCell{min-height:54px;border:1px solid #ededeb;border-radius:8px;background:#fff;color:#1f1f1f;display:grid;grid-template-columns:repeat(3,7px);grid-template-rows:22px 7px 13px;justify-content:center;align-content:center;gap:3px}.monthCell span,.monthCell small{grid-column:1 / -1;text-align:center}.monthCell.outside{opacity:.42}.monthCell.today{border-color:#ff6b00}.dot{width:7px;height:7px;border-radius:50%;background:#3b82f6}.dot.confirmed{background:#10b981}.dot.pending,.dot.pending_payment{background:#f59e0b}.dot.cancelled,.dot.noShow{background:#ef4444}.dot.completed{background:#3b82f6}.fab{position:fixed!important;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));width:58px;height:58px;min-width:58px!important;border-radius:50%!important;box-shadow:0 14px 32px #ff6b0052!important}.installPrompt{position:fixed;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(86px,calc(76px + env(safe-area-inset-bottom)));z-index:16;display:grid;grid-template-columns:42px minmax(0,1fr) auto 38px;align-items:center;gap:10px;width:min(620px,calc(100vw - 24px));margin:0 auto;padding:12px;border:1px solid var(--border);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 18px 48px var(--shadow)}.installPromptIcon,.installHelpIcon{display:grid;place-items:center;background:var(--surface-tint);color:var(--brand)}.installPromptIcon{width:42px;height:42px;border-radius:12px}.installPromptIcon svg,.installHelpIcon svg{width:24px;height:24px}.installPromptText{min-width:0;display:flex;flex-direction:column;gap:2px}.installPromptText .mutedText{font-size:12px}.installHelpDialog{width:min(calc(100vw - 28px),420px)!important;border-radius:18px!important;padding:0!important}.installHelpContent{padding:22px;display:flex;flex-direction:column;gap:16px}.installHelpIcon{width:52px;height:52px;border-radius:16px}.installHelpTitle{margin:0;color:var(--text);font-size:22px;font-weight:850}.installSteps{margin:0;padding-left:22px;color:var(--muted-strong);line-height:1.6}.installHelpActions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dialogSurface,.detailDialog{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important;padding:0!important}.editorDialog{background:#f6f6f2!important}.editorForm{height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.detailForm{height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#f6f6f2}.editorHeader{padding:max(22px,env(safe-area-inset-top)) 20px 16px;background:#fff;border-bottom:1px solid #ecece7}.editorHeaderText{display:flex;flex-direction:column;gap:4px}.editorHeaderText span{color:#20201d;font-size:28px;line-height:1.12;font-weight:800;letter-spacing:0}.editorHeaderText small{color:#75746d;font-size:14px}.editorScrollContent,.detailScrollContent{min-height:0;overflow-y:auto;padding:18px 16px 24px}.editorSection,.detailSection{width:min(100%,680px);margin:0 auto;display:flex;flex-direction:column;gap:18px}.editorSection .fui-Field{gap:7px}.editorSection input,.editorSection textarea,.editorSection .nativeSelect{min-height:48px;border-color:#d9d8d2;border-radius:10px;background:#fff;box-shadow:0 1px #1f1f1f0a}.editorSection textarea{min-height:92px}.dialogFullBody{height:100dvh;display:flex;flex-direction:column}.dialogContent{display:flex;flex-direction:column;gap:14px;flex:1;min-height:0;overflow-y:auto;padding-bottom:18px}.formGrid{display:grid;gap:12px}.formGrid.two,.formGrid.three{grid-template-columns:1fr}.nativeSelect{width:100%;min-height:34px}.detailHeader{display:flex;align-items:center;justify-content:space-between;gap:12px}.detailRows{display:grid;gap:12px}.detailRow{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:center;color:inherit;text-decoration:none}.detailRow svg{color:#d55300}.linkRow{min-height:34px}.depositNotice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:8px;background:#fff7ed}.dialogActionsWrap{flex-wrap:wrap}.fullDialogActions,.editorActions{position:sticky;bottom:0;z-index:2;display:grid!important;grid-template-columns:1fr 1fr;gap:10px;padding:14px 16px;padding-bottom:max(14px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eeeeea;box-shadow:0 -12px 28px #1f1f1f0f}.detailActions{grid-template-columns:repeat(auto-fit,minmax(142px,1fr))}.fullDialogActions button,.editorActions button{width:100%;min-height:46px}.emptyState{margin-top:32px;padding:28px;border-radius:8px;background:#fff;text-align:center}.identityBlock{min-width:0}.sheetHandle{display:none}@media(max-width:719px){body{background:#f5f5f1}.calendarShell{padding:max(10px,env(safe-area-inset-top)) 12px calc(84px + env(safe-area-inset-bottom))}.appHeader{margin:-10px -12px 12px;padding:max(12px,env(safe-area-inset-top)) 12px 12px;background:#f5f5f1f5}.appHeaderTop{align-items:flex-start}.screenTitle{font-size:25px!important;line-height:1.1!important;font-weight:900!important;max-width:calc(100vw - 116px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tenantLogo{width:42px;height:42px;flex-basis:42px;border-radius:12px}.headerActions{flex:0 0 auto}.calendarToolbar{flex-wrap:wrap;gap:10px;margin-top:12px}.dateNavigator{flex:1 1 100%;width:100%;grid-template-columns:40px minmax(0,1fr) 40px}.dateTitleButton{font-size:18px;min-height:40px}.segmentedControl{margin-left:auto;padding:4px}.segmentedControl button{min-width:46px;min-height:38px}.filterRow{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:4px;margin-top:10px}.filterRow button{min-width:0;min-height:40px;font-size:14px}.weekStrip{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;overflow:visible;padding:0}.weekDay{min-width:0;min-height:66px;border-radius:10px;grid-template-rows:18px 24px 18px}.weekDay strong{font-size:22px}.weekDay em{min-width:18px;height:18px;font-size:11px}.agendaSection{border:1px solid #eeeeea;box-shadow:0 10px 28px #1f1f1f0d}.emptyDayButton{min-height:116px;background:#fffefa}.nativeSelect,input,textarea{font-size:16px}.installPrompt{grid-template-columns:38px minmax(0,1fr) 38px}.installPrompt .primaryAction{grid-column:1 / -1;min-height:42px}}@media(min-width:720px){.editorHeader{padding-left:28px;padding-right:28px}.editorScrollContent,.detailScrollContent{padding:24px 28px 32px}.editorActions,.detailActions{padding-left:max(28px,calc((100vw - 680px)/2));padding-right:max(28px,calc((100vw - 680px)/2))}}@media(min-width:720px){body{background:#efefea}.loginPage{background:linear-gradient(135deg,#fbfbf8,#ecece6)}.loginPanel{padding:42px;border-radius:8px;background:#fff;box-shadow:0 24px 64px #0000001f}.calendarShell{padding-left:22px;padding-right:22px}.appHeader{margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px}.calendarToolbar{align-items:center}.formGrid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.formGrid.three{grid-template-columns:1fr .8fr .8fr}.agendaSection{padding:16px}.appointmentCard{grid-template-columns:86px minmax(0,1fr)}.monthCell{min-height:82px}}@media(prefers-color-scheme:dark){body,body.fui-FluentProvider{background:var(--bg);color:var(--text)}.loginPage,.appHeader,.editorHeader,.fullDialogActions,.editorActions{background:var(--surface)}.appHeader{border-bottom-color:var(--border-soft)}.loginPanel,.tenantCard,.userMenu,.weekDay,.agendaSection,.appointmentCard,.monthGrid,.monthCell,.avatarButton,.nativeSelect,.editorSection input,.editorSection textarea,.editorSection .nativeSelect{background:var(--surface);color:var(--text);border-color:var(--border)}.editorDialog,.detailForm,.editorScrollContent,.detailScrollContent,.calendarShell,.tenantPage{background:var(--bg);color:var(--text)}.tenantIcon,.tenantLogo,.tenantMenuItem.active,.tenantMenuItem:hover,.appointmentCard:active,.depositNotice{background:var(--surface-tint)}.segmentedControl,.filterRow,.weekDay em,.menuTenantLogo{background:var(--control)}.segmentedControl .active,.filterRow .active{background:var(--surface);color:var(--brand-strong)}.dateTitleButton,.tenantMenuItem,.editorHeaderText span,.monthCell,.weekDay{color:var(--text)}.mutedText,.weekDay span,.weekDay em,.monthWeekday,.emptyDayButton,.editorHeaderText small,.menuLabel{color:var(--muted)}.emptyDayButton{background:var(--surface-soft);border-color:var(--border)}.appointmentNote{color:var(--muted-strong)}.weekDay.active,.monthCell.today{border-color:var(--brand)}.weekDay.today strong,.tenantLogo,.menuTenantLogo,.detailRow svg{color:var(--brand-strong)}.userMenuHeader,.editorHeader,.fullDialogActions,.editorActions{border-color:var(--border-soft)}.loginPage{background:var(--bg)}.loginPanel,.userMenu,.tenantLogo,.agendaSection,.installPrompt{box-shadow:0 18px 42px var(--shadow)}}.avatarButton,[data-theme=dark] .avatarButton{border-color:color-mix(in srgb,var(--brand) 78%,#ffffff 22%)!important;background:var(--brand)!important;color:#fff!important;box-shadow:0 10px 22px #ff6b0047!important}
