:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#0f172a;background:#f0fdf4}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,sans-serif;-webkit-font-smoothing:antialiased}#root{width:100%;min-height:100svh}button,input,select,textarea{font:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #6ee7b766;outline-offset:2px}.mobile-topbar,.mobile-nav-overlay,.mobile-nav-close{display:none}.app-shell{min-height:100vh;display:flex;background:#f0fdf4}aside{width:252px;height:100vh;min-height:0;padding:0;overflow:hidden;border-right:1px solid #e2e8f0;background:#fff;display:flex;flex-direction:column;position:sticky;top:0;transition:width .2s ease}.brand{min-height:88px;padding:14px 18px;gap:12px;display:flex;align-items:center;border-bottom:1px solid #e2e8f0}.brand-mark{width:44px;height:44px;flex:0 0 auto;display:grid;place-items:center;border-radius:13px;color:#fff;background:linear-gradient(135deg,#059669,#10b981);box-shadow:0 5px 14px #05966933}.brand-mark svg{width:21px;height:21px}.brand b{display:block;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.brand small{display:block;margin-top:3px;color:#64748b;font-size:10px}.brand-copy,.user-copy{min-width:0}nav{flex:1;display:grid;align-content:start;gap:3px;padding:12px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dcfce7 transparent}.nav-label{margin:13px 12px 3px;color:#172033;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.09em}nav button{min-height:42px;padding:9px 12px;display:flex;align-items:center;gap:12px;color:#64748b;border:0;border-radius:10px;background:transparent;text-align:left;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s ease,color .15s ease}nav button svg{flex:0 0 auto;width:19px;height:19px;stroke-width:2}nav button:hover{color:#047857;background:#dcfce7}nav button.active{color:#047857;background:#dcfce7;font-weight:650}nav button.active svg{color:#059669}.sidebar-footer{margin-top:auto;padding:12px 16px 13px;border-top:1px solid #e2e8f0;background:#fff}.current-user{display:flex;align-items:center;gap:10px;padding:0 0 9px}.user-avatar{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;color:#059669;background:#dcfce7;border-radius:50%;font-size:11px;font-weight:800}.current-user b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.current-user small{display:block;margin-top:2px;overflow:hidden;color:#94a3b8;text-overflow:ellipsis;white-space:nowrap;font-size:8px;text-transform:uppercase}.connect,.sidebar-collapse{width:100%;min-height:36px;display:flex;align-items:center;gap:12px;padding:7px 5px;color:#687b96;background:transparent;border:0;border-radius:10px;font-size:13px;cursor:pointer}.connect svg,.sidebar-collapse svg{width:18px;height:18px}.connect:hover,.sidebar-collapse:hover{color:#047857;background:#f0fdf4}.sidebar-collapse{margin-top:3px}.app-shell[data-sidebar=collapsed] aside{width:78px}.app-shell[data-sidebar=collapsed] .brand{justify-content:center;padding-inline:16px}.app-shell[data-sidebar=collapsed] .brand-copy,.app-shell[data-sidebar=collapsed] .nav-text,.app-shell[data-sidebar=collapsed] .nav-label,.app-shell[data-sidebar=collapsed] .user-copy{display:none}.app-shell[data-sidebar=collapsed] nav{padding-inline:13px}.app-shell[data-sidebar=collapsed] nav button,.app-shell[data-sidebar=collapsed] .connect,.app-shell[data-sidebar=collapsed] .sidebar-collapse{justify-content:center;padding-inline:0}.app-shell[data-sidebar=collapsed] .sidebar-footer{padding-inline:14px}.app-shell[data-sidebar=collapsed] .current-user{justify-content:center}.app-shell[data-sidebar=collapsed] .initial-loader{left:78px}.initial-loader{position:fixed;top:0;right:0;bottom:0;left:252px;z-index:45;display:flex;align-items:center;justify-content:center;background:#f0fdf4}.loader-spinner{width:36px;height:36px;border:3px solid #e2e8f0;border-top-color:#059669;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}main{flex:1;min-width:0;padding:22px 26px 32px}header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}h1,h2,p{margin:0}h1{font-size:25px;color:#102038;letter-spacing:-.04em}header>div>p{margin-top:3px;color:#64748b;font-size:13px}.header-actions{display:flex;gap:6px}.primary,.secondary,.text-btn{border:0;cursor:pointer}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 12px;border-radius:9px;font-size:12px;font-weight:600}.primary{color:#fff;background:#059669;box-shadow:0 4px 10px #05966925}.primary:hover{background:#047857}.primary:disabled{opacity:.6;cursor:wait}.secondary{color:#047857;background:#fff;border:1px solid #e2e8f0;border-radius:9px}.secondary:hover{background:#f0fdf4}.danger-button{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;min-height:36px;color:#fff;background:#dc2626;border:0;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer}.danger-button:disabled{opacity:.6;cursor:wait}.text-btn{padding:5px;color:#047857;background:transparent;font-size:12px;font-weight:600}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px;margin:16px 0}.stat{min-height:104px;padding:13px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.stat>div{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;margin-bottom:10px}.stat>div svg{width:18px;height:18px}.stat small{display:block;color:#64748b;font-size:11px}.stat b{display:block;margin-top:2px;font-size:18px}.blue>div{color:#059669;background:#dcfce7}.green>div{color:#059669;background:#dcfce7}.amber>div{color:#d97706;background:#fef3c7}.violet>div{color:#7c3aed;background:#ede9fe}.red>div{color:#dc2626;background:#fee2e2}.section{margin-top:16px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.section-head p{margin-top:0;color:#64748b;font-size:13px}.panel,.table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:12px}.panel{padding:14px}.panel h2,.section h2{font-size:14px;margin:0 0 10px}.table-wrap{overflow:auto;border-radius:12px;box-shadow:0 3px 12px #18334a08}table{width:100%;border-collapse:collapse;font-size:12px}th{color:#64748b;background:#f0fdf9;font-size:10px;text-align:left;text-transform:uppercase;letter-spacing:.03em;padding:10px 12px;border-bottom:1px solid #e2e8f0}td{padding:10px 12px;border-bottom:1px solid #f0fdf4;color:#3f536e}td b{font-size:12px}td small{display:block;margin-top:3px;color:#64748b;font-size:11px}tbody tr:hover{background:#f0fdf9}tbody tr:last-child td{border-bottom:0}.table-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:9px}.table-toolbar input,.table-toolbar select{min-height:38px;padding:7px 10px;color:#0f172a;border:1px solid #e2e8f0;border-radius:9px;background:#fff;font-size:12px}.table-toolbar input{flex:1}.search-input-wrap{position:relative;flex:1;display:flex;align-items:center}.search-input-wrap svg{position:absolute;left:11px;color:#94a3b8;pointer-events:none}.search-input-wrap input{width:100%;padding-left:34px!important}.empty{min-height:90px;display:grid;place-content:center;justify-items:center;gap:8px;color:#64748b;text-align:center;font-size:12px}.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));background:#0f172a66;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{width:min(520px,100%);max-height:calc(100dvh - 32px);overflow-y:auto;padding:16px;background:#fff;border-radius:14px;box-shadow:0 20px 50px #0003}.modal-head{position:sticky;top:-16px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-16px -16px 14px;padding:15px 16px 11px;background:inherit;border-bottom:1px solid #e2e8f0}.modal h2{font-size:15px;margin:0}.icon-button{min-width:36px;min-height:36px;border:0;color:#64748b;background:#f1f5f9;border-radius:8px;font-size:23px;line-height:23px;cursor:pointer;display:inline-grid;place-items:center}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.form-section{grid-column:1 / -1;padding-top:14px;margin-top:2px;border-top:1px solid #edf2f7;color:#475569;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.form-section:first-child{margin-top:0;padding-top:0;border-top:0}.field{display:grid;gap:4px;color:#475569;font-size:11px;font-weight:600}.field input,.field select,.field textarea{width:100%;padding:8px;color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:7px;font-size:12px}.field textarea{min-height:65px;resize:vertical}.field-help{margin-top:2px;color:#71839d;font-size:10px;font-weight:500;line-height:1.35}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0;border-top:1px solid #f0fdf4;font-size:13px}.row b{font-size:13px}.row small{display:block;margin-top:3px;color:#64748b;font-size:11px}.row-end{display:flex;align-items:center;gap:5px}.row-menu{position:relative;display:inline-flex}.row-menu-dropdown{position:absolute;top:calc(100% + 4px);right:0;z-index:25;min-width:168px;padding:6px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 14px 35px #0f172a18}.row-menu-item{display:flex;align-items:center;gap:9px;width:100%;padding:9px 10px;color:#334155;background:transparent;border:0;border-radius:8px;font-size:13px;font-weight:500;text-align:left;cursor:pointer}.row-menu-item:hover{color:#047857;background:#f0fdf4}.row-menu-item.danger{color:#dc2626}.row-menu-item.danger:hover{background:#fef2f2}.delete-confirm{display:grid;justify-items:center;gap:12px;padding:12px 4px 4px;text-align:center}.delete-confirm>svg{color:#dc2626}.delete-confirm small{max-width:440px;color:#64748b;line-height:1.55;font-size:13px}.toast-stack{position:fixed;top:18px;right:18px;z-index:90;display:flex;flex-direction:column;gap:10px;max-width:380px}.toast{padding:13px 15px;color:#065f46;background:#f0fdf4;border:1px solid #6ee7b7;border-radius:12px;box-shadow:0 12px 35px #0f172a18;font-size:13px;font-weight:600}.toast.error{color:#991b1b;background:#fef2f2;border-color:#fecaca}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#f0fdf4,#f8fafc)}.login-card{width:min(390px,100%);padding:30px;display:grid;gap:16px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 20px 55px #1e3a8a18}.login-brand{text-align:center}.login-brand .brand-mark{margin:0 auto 13px}.login-brand h1{font-size:21px}.login-brand p{margin-top:6px;color:#64748b;font-size:13px}.login-error{padding:9px;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:7px;font-size:13px}.login-submit{width:100%;margin-top:3px}.status-pill{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-size:11px;font-weight:700}.status-pill.scheduled,.status-pill.completed{color:#047857;background:#dcfce7}.status-pill.cancelled{color:#6b7280;background:#f3f4f6}.slot-type-pill{display:inline-flex;padding:3px 8px;border-radius:6px;font-size:11px;font-weight:700}.slot-type-pill.s30{color:#7c3aed;background:#ede9fe}.slot-type-pill.s45{color:#d97706;background:#fef3c7}.slot-type-pill.s75{color:#dc2626;background:#fee2e2}.cal-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.cal-nav h2{font-size:16px;margin:0}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:1px;background:#e2e8f0;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.cal-day-header{padding:8px 4px;background:#f0fdf4;text-align:center;font-size:10px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.cal-cell{min-height:80px;padding:6px;background:#fff;cursor:pointer;transition:background .1s ease;display:flex;flex-direction:column;gap:3px}.cal-cell:hover{background:#f0fdf9}.cal-cell.other-month{background:#fafcff}.cal-cell.other-month .cal-date{color:#c7d5e8}.cal-cell.today .cal-date{color:#fff;background:#059669;border-radius:50%}.cal-cell.selected{background:#f0fdf4;outline:2px solid #059669;outline-offset:-2px}.cal-date{width:26px;height:26px;display:grid;place-items:center;font-size:12px;font-weight:600;color:#102038;border-radius:50%}.cal-event{padding:2px 5px;border-radius:4px;font-size:10px;font-weight:600;color:#fff;background:#059669;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-event.completed{background:#059669}.cal-event.cancelled{background:#9ca3af}.cal-more{font-size:10px;color:#64748b;padding:0 3px}.two-col{display:grid;grid-template-columns:1.4fr 1fr;gap:11px}.day-sessions{display:grid;gap:8px}.day-session{display:flex;gap:12px;padding:10px 12px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:flex-start;cursor:pointer}.day-session:hover{background:#f0fdf9}.day-session-time{min-width:60px;font-size:12px;font-weight:700;color:#047857}.day-session-body{flex:1;min-width:0}.day-session-body b{font-size:13px;color:#102038;display:block}.day-session-body small{display:block;margin-top:2px;color:#64748b;font-size:11px}.notice{display:flex;justify-content:space-between;padding:11px 13px;margin:14px 0;color:#047857;background:#f0fdf4;border:1px solid #e2e8f0;border-radius:9px;font-size:13px}input[type=date]{cursor:pointer;color-scheme:light}input[type=date]::-webkit-calendar-picker-indicator{padding:4px;margin-left:4px;border-radius:5px;cursor:pointer;filter:invert(38%) sepia(93%) saturate(380%) hue-rotate(116deg) brightness(95%) contrast(92%)}.slot-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:4px}.slot-btn{padding:8px 4px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#047857;font-size:12px;font-weight:600;cursor:pointer;text-align:center;transition:background .1s,border-color .1s}.slot-btn:hover{background:#dcfce7}.slot-btn.selected{background:#059669;color:#fff;border-color:#059669}.theme-dark{color:#e5eefb;background:#07111f}.theme-dark aside,.theme-dark .panel,.theme-dark .table-wrap,.theme-dark .modal,.theme-dark .stat{background:#0f1b2d;border-color:#1a3a2a}.theme-dark .brand,.theme-dark .sidebar-footer{border-color:#1a3a2a;background:#0f1b2d}.theme-dark h1,.theme-dark h2,.theme-dark td b,.theme-dark .brand b,.theme-dark .current-user b{color:#f8fafc}.theme-dark header>div>p,.theme-dark .field,.theme-dark td,.theme-dark .brand small,.theme-dark .current-user small{color:#9fb0c6}.theme-dark nav button{color:#9fb0c6}.theme-dark nav button:hover,.theme-dark nav button.active{color:#6ee7b7;background:#1a3a2a}.theme-dark nav button.active svg{color:#34d399}.theme-dark .nav-label{color:#d8e4f3}.theme-dark main{background:#07111f}.theme-dark th{color:#a9bad0;background:#102030;border-color:#1a3a2a}.theme-dark td{border-color:#142030}.theme-dark tbody tr:hover{background:#132238}.theme-dark .table-toolbar input,.theme-dark .table-toolbar select,.theme-dark .field input,.theme-dark .field select,.theme-dark .field textarea{color:#f8fafc;background:#0b1626;border-color:#304158}.theme-dark .secondary{color:#6ee7b7;background:#0b1626;border-color:#304158}.theme-dark .secondary:hover{background:#12382f}.theme-dark .icon-button{color:#d8e4f3;background:#1a2a40}.theme-dark .modal-head{border-color:#1a3a2a}.theme-dark .row{border-color:#142030}.theme-dark .row-menu-dropdown{background:#0f1b2d;border-color:#304158}.theme-dark .row-menu-item{color:#d8e4f3}.theme-dark .row-menu-item:hover{color:#6ee7b7;background:#12382f}.theme-dark .cal-grid{background:#1a3a2a;border-color:#1a3a2a}.theme-dark .cal-cell{background:#0f1b2d}.theme-dark .cal-cell:hover{background:#132238}.theme-dark .cal-cell.other-month{background:#0a1523}.theme-dark .cal-day-header{background:#102030;color:#9fb0c6}.theme-dark .cal-date{color:#d8e4f3}.theme-dark .cal-cell.other-month .cal-date{color:#304158}.theme-dark .cal-cell.selected{background:#12382f}.theme-dark .day-session{background:#0f1b2d;border-color:#1a3a2a}.theme-dark .day-session:hover{background:#132238}.theme-dark .day-session-body b{color:#f8fafc}.theme-dark .toast{color:#6ee7b7;background:#12382f;border-color:#1f5c4b}.theme-dark .empty,.theme-dark .cal-more{color:#9fb0c6}.theme-dark .user-avatar{color:#6ee7b7;background:#1a3a2a}.theme-dark .connect,.theme-dark .sidebar-collapse{color:#9fb0c6}.theme-dark .connect:hover,.theme-dark .sidebar-collapse:hover{color:#6ee7b7;background:#1a3a2a}.theme-dark .initial-loader{background:#07111f}.theme-dark input[type=date]{color-scheme:dark}.theme-dark .slot-btn{background:#0b1626;border-color:#304158;color:#6ee7b7}.theme-dark .slot-btn:hover{background:#1a3a2a}.theme-dark .slot-btn.selected{background:#059669;color:#fff;border-color:#059669}.theme-dark .notice{color:#6ee7b7;background:#12382f;border-color:#1f5c4b}.theme-dark .status-pill.cancelled{color:#9fb0c6;background:#1a2a40}.theme-dark .section-head p{color:#9fb0c6}@media (max-width: 800px){aside{display:none}main{padding:20px}.two-col{grid-template-columns:1fr}header{align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}.slot-grid{grid-template-columns:repeat(3,1fr)}.app-shell{position:relative}.app-shell aside{position:fixed;inset:0 auto 0 0;z-index:60;display:flex;width:min(300px,86vw);height:100dvh;min-height:0;overflow-y:auto;transform:translate(-105%);transition:transform .22s ease;box-shadow:14px 0 35px #0f172a2b}.app-shell[data-mobile-nav=open] aside{transform:translate(0)}.app-shell[data-sidebar=collapsed] aside,.app-shell aside{width:min(300px,86vw)}.app-shell[data-sidebar=collapsed] .brand{justify-content:flex-start;padding-inline:18px}.app-shell[data-sidebar=collapsed] .brand-copy,.app-shell[data-sidebar=collapsed] .nav-text,.app-shell[data-sidebar=collapsed] .nav-label,.app-shell[data-sidebar=collapsed] .user-copy{display:block}.app-shell[data-sidebar=collapsed] nav{padding-inline:12px}.app-shell[data-sidebar=collapsed] nav button,.app-shell[data-sidebar=collapsed] .connect{justify-content:flex-start;padding-inline:12px}.app-shell[data-sidebar=collapsed] .current-user{justify-content:flex-start}.sidebar-collapse{display:none}.mobile-nav-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:block;padding:0;border:0;background:#0f172a73}.mobile-nav-close{position:fixed;top:18px;left:min(250px,calc(86vw - 50px));z-index:70;display:grid;width:36px;height:36px;place-items:center;padding:0;color:#475569;background:#f1f5f9;border:0;border-radius:10px}.mobile-topbar{position:sticky;top:0;z-index:35;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:9px;min-height:calc(54px + env(safe-area-inset-top));margin:-20px -20px 20px;padding:calc(7px + env(safe-area-inset-top)) 20px 7px;background:#f0fdf4f2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-topbar>b{overflow:hidden;color:#102038;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.mobile-menu-button{display:grid;width:44px;height:44px;place-items:center;padding:0;color:#42546f;background:#fff;border:1px solid #e2e8f0;border-radius:11px}.mobile-topbar-spacer{width:44px}.theme-dark .mobile-topbar{background:#07111ff2}.theme-dark .mobile-topbar>b{color:#f8fafc}.theme-dark .mobile-menu-button{color:#d8e4f3;background:#0f1b2d;border-color:#304158}.toast-stack{top:calc(12px + env(safe-area-inset-top));left:12px;right:12px;max-width:none}.initial-loader{top:0;right:0;bottom:0;left:0}.modal{max-height:calc(100dvh - max(24px,env(safe-area-inset-top)) - max(24px,env(safe-area-inset-bottom)))}.form-actions{position:sticky;bottom:-16px;z-index:4;margin:18px -16px -16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:inherit;border-top:1px solid #e2e8f0}.header-actions{width:100%;flex-wrap:wrap}.header-actions button{min-height:44px}.cal-cell{min-height:54px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
