:root{color-scheme:light;--bg:#f8fafc;--surface:#ffffff;--surface-soft:#f1f5f9;--surface-muted:#f8fafc;--ink:#0f172a;--muted:#64748b;--subtle:#94a3b8;--line:#e2e8f0;--line-strong:#cbd5e1;--accent:#2563eb;--accent-rgb:37,99,235;--accent-dark:#1d4ed8;--accent-soft:#dbeafe;--accent-muted:#eff6ff;--danger:#ef4444;--danger-soft:#fee2e2;--danger-muted:#fca5a5;--danger-text:#991b1b;--sidebar:#111827;--sidebar-soft:#1e293b;--green:#16a34a;--success-soft:#dcfce7;--success-text:#166534;--warning:#f59e0b;--warning-soft:#fef3c7;--warning-text:#92400e;--blue:#2563eb;--status-new-bg:#dbeafe;--status-new-text:#1d4ed8;--status-progress-bg:#ede9fe;--status-progress-text:#7c3aed;--status-wait-bg:#fef3c7;--status-wait-text:#92400e;--status-vip-bg:#ede9fe;--status-vip-text:#7c3aed;--status-gray-bg:#f1f5f9;--status-gray-text:#64748b;--shadow:0 18px 50px rgba(15,23,42,0.06)}*{box-sizing:border-box}html{min-width:320px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body:has(.navigation-progress--visible){cursor:progress}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(280px,.9fr) minmax(360px,520px);align-items:stretch;background:var(--bg)}.login-brand{display:flex;align-items:center;gap:24px;min-width:0;padding:56px;color:#ffffff;background:linear-gradient(rgba(12,16,21,.74),rgba(12,16,21,.74)),url(https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1600&q=80) 50%/cover}.login-brand>div,.login-panel{min-width:0}.brand-mark,.sidebar-logo{width:54px;height:54px;display:grid;place-items:center;border:1px solid rgba(var(--accent-rgb),.58);border-radius:8px;color:var(--accent-soft);font-weight:800}.login-kicker,.section-kicker{margin:0;color:var(--accent);font-size:13px;font-weight:700;letter-spacing:0;line-height:1.25;text-transform:uppercase}.login-brand h1,.workspace h1{margin:8px 0 0;font-size:38px;line-height:1.08}.login-copy{max-width:520px;margin:18px 0 0;color:rgba(255,255,255,.82);font-size:17px;line-height:1.6}.login-panel{display:flex;flex-direction:column;justify-content:center;padding:56px;background:var(--surface)}.login-panel__header h2{margin:8px 0 0;font-size:30px}.login-form{display:grid;grid-gap:18px;gap:18px;margin-top:34px}.login-form label{display:grid;grid-gap:8px;gap:8px;color:var(--ink);font-size:14px;font-weight:700}.global-search input,.login-form input{width:100%;height:52px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);outline:none}.login-form input{padding:0 15px}.global-search:focus-within,.login-form input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.14)}.login-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:2px}.checkbox-line{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:9px!important;color:var(--muted)!important;font-weight:600!important}.checkbox-line input{width:16px;height:16px;accent-color:var(--accent)}.ghost-button,.text-action{border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:700}.primary-button{height:52px;border:0;border-radius:8px;background:var(--accent);color:#ffffff;font-weight:800;box-shadow:0 14px 28px rgba(var(--accent-rgb),.22)}.primary-button:disabled{cursor:not-allowed;opacity:.68}.form-error{border:1px solid var(--danger-muted);border-radius:8px;background:var(--danger-soft);color:var(--danger-text)}.form-error,.form-success{margin:0;font-size:13px;font-weight:700;line-height:1.4;padding:11px 12px}.form-success{border:1px solid #86efac;border-radius:8px;background:var(--success-soft);color:var(--success-text)}.form-warning{margin:0;border:1px solid #fde68a;border-radius:8px;background:var(--warning-soft);color:var(--warning-text);font-size:13px;font-weight:700;line-height:1.4;padding:11px 12px}.navigation-progress{position:fixed;z-index:1000;top:0;right:0;left:0;height:3px;pointer-events:none;opacity:0;transition:opacity .18s ease}.navigation-progress--visible{opacity:1}.navigation-progress__bar{height:100%;border-radius:0 999px 999px 0;background:linear-gradient(90deg,var(--accent),#60a5fa);box-shadow:0 0 18px rgba(var(--accent-rgb),.28);transition:width .26s ease-out}.skeleton-action,.skeleton-bar,.skeleton-dot,.skeleton-input,.skeleton-line,.skeleton-nav-icon,.skeleton-pill,.skeleton-profile,.skeleton-search,.skeleton-time{position:relative;display:block;overflow:hidden;border-radius:8px;background:var(--line)}.skeleton-action:after,.skeleton-bar:after,.skeleton-dot:after,.skeleton-input:after,.skeleton-line:after,.skeleton-nav-icon:after,.skeleton-pill:after,.skeleton-profile:after,.skeleton-search:after,.skeleton-time:after{position:absolute;inset:0;content:"";transform:translateX(-100%);animation:skeleton-shimmer 1.35s ease-in-out infinite;background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent)}.skeleton-line{width:min(100%,180px);height:12px}.skeleton-line--kicker{width:120px;height:13px}.skeleton-line--heading{width:230px;height:38px;margin-top:8px}.skeleton-line--title{width:min(100%,220px);height:15px}.skeleton-line--text{width:min(100%,320px);height:11px}.skeleton-line--label{width:90px;height:11px}.skeleton-line--value{width:130px;height:26px}.skeleton-line--icon{width:24px;height:24px;justify-self:end}.skeleton-pill{width:86px;height:28px;border-radius:999px}.skeleton-dot,.skeleton-nav-icon{width:38px;height:38px;flex:0 0 auto}.skeleton-nav-icon{width:18px;height:18px;border-radius:6px}.skeleton-copy,.skeleton-field{display:grid;grid-gap:8px;gap:8px;min-width:0}.skeleton-input{width:100%;height:48px}.skeleton-search{width:min(42vw,420px);height:52px}.skeleton-action{width:52px;height:52px}.skeleton-profile{width:170px;height:52px}.skeleton-table-row td{height:62px}.skeleton-list,.skeleton-schedule{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line)}.skeleton-list-row,.skeleton-schedule-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:14px;gap:14px;min-height:68px;border-bottom:1px solid var(--line);padding:12px 0}.skeleton-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.skeleton-chart{display:grid;grid-template-columns:repeat(10,minmax(12px,1fr));align-items:end;grid-gap:10px;gap:10px;min-height:220px;padding-top:18px}.skeleton-bar{width:100%;min-height:36px;border-radius:8px 8px 4px 4px}.skeleton-time{width:56px;height:28px}.nav-item--skeleton,.skeleton-metric-card{pointer-events:none}.nav-item--skeleton .skeleton-line{width:110px;background:rgba(255,255,255,.16)}.nav-item--skeleton .skeleton-nav-icon{background:rgba(255,255,255,.16)}.schedule-week-card--skeleton{pointer-events:none}@keyframes skeleton-shimmer{to{transform:translateX(100%)}}.crm-shell{min-height:100vh;display:grid;grid-template-columns:248px 1fr;background:var(--bg)}.mobile-bottom-nav,.mobile-topbar{display:none}.sidebar{position:-webkit-sticky;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:22px;padding:26px 16px;background:var(--sidebar);color:#f8fafc;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(var(--accent-rgb),.55) transparent}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(var(--accent-rgb),.55)}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0 10px 10px;color:#f8fafc;font-size:18px;font-weight:700;letter-spacing:0}.sidebar-logo{width:38px;height:38px;font-size:12px}.sidebar-nav{display:grid;grid-gap:6px;gap:6px;min-height:0}.sidebar-nav-group{display:grid;grid-gap:8px;gap:8px}.nav-item{height:46px;display:flex;align-items:center;gap:12px;padding:0 14px;border-radius:8px;color:rgba(237,240,244,.72);font-size:15px;font-weight:650;line-height:1}.nav-item svg{width:19px;height:19px;flex:0 0 auto;color:rgba(237,240,244,.78)}.nav-item--active{color:#ffffff;background:var(--accent);box-shadow:0 12px 28px rgba(var(--accent-rgb),.22)}.nav-item--active svg{color:#ffffff}.sidebar-nav-slot{min-width:0}.sidebar-calendar{border:1px solid rgba(237,240,244,.1);border-radius:8px;background:rgba(255,255,255,.035);padding:14px 12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}.sidebar-calendar__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.sidebar-calendar__head strong{color:rgba(237,240,244,.88);font-size:13px;font-weight:650;line-height:1;text-transform:capitalize}.sidebar-calendar__head div{display:inline-flex;gap:4px}.sidebar-calendar__head button{width:26px;height:26px;border:0;border-radius:7px;background:transparent;color:rgba(237,240,244,.82);font-size:24px;line-height:1}.sidebar-calendar__head button:focus-visible,.sidebar-calendar__head button:hover{background:rgba(255,255,255,.08);color:#ffffff;outline:none}.sidebar-calendar__days,.sidebar-calendar__weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.sidebar-calendar__weekdays{margin-bottom:6px}.sidebar-calendar__weekdays span{color:rgba(237,240,244,.62);font-size:11px;font-weight:600;text-align:center}.sidebar-calendar__days{row-gap:5px}.sidebar-calendar__day{width:28px;height:28px;justify-self:center;border:1px solid transparent;border-radius:8px;background:transparent;color:rgba(237,240,244,.82);font-size:12px;font-weight:600;line-height:1}.sidebar-calendar__day:focus-visible,.sidebar-calendar__day:hover{background:rgba(255,255,255,.08);color:#ffffff;outline:none}.sidebar-calendar__day--muted{color:rgba(237,240,244,.38)}.sidebar-calendar__day--today{border-color:rgba(237,240,244,.42)}.sidebar-calendar__day--selected{border-color:var(--accent);background:var(--accent);color:#ffffff}.workspace{min-width:0;padding:28px 30px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:28px}.topbar-title{min-width:220px}.topbar-title h1{margin-top:6px;font-size:30px;line-height:1}.topbar-title--compact .section-kicker{font-size:11px;font-weight:650}.topbar-title--compact h1{font-size:26px;font-weight:650}.topbar-actions{flex:1 1;justify-content:flex-end;gap:10px;min-width:0}.global-search,.topbar-actions{display:flex;align-items:center}.global-search{width:clamp(320px,34vw,520px);height:48px;gap:12px;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:0 15px;box-shadow:0 10px 26px rgba(15,23,42,.04)}.global-search svg{width:19px;height:19px;flex:0 0 auto;color:var(--muted)}.global-search input{height:100%;border:0;padding:0;color:var(--ink);font-size:15px}.icon-button{position:relative;width:48px;height:48px;display:grid;place-items:center;border:0;border-radius:8px;background:#ffffff;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}.icon-button svg{width:20px;height:20px;color:#3d4656}.icon-button span{position:absolute;top:-6px;right:-6px;min-width:21px;height:21px;display:grid;place-items:center;border-radius:999px;background:var(--accent);color:#ffffff;font-size:11px;font-weight:800}.profile-chip{position:relative;display:flex;align-items:center;gap:11px;min-height:48px;padding-left:4px}.profile-chip span,.profile-chip strong{display:block}.profile-chip span{color:var(--muted);font-size:12px}.mobile-brand{min-width:0;display:flex;align-items:center;gap:10px}.mobile-brand>div:last-child{min-width:0}.mobile-brand span,.mobile-brand strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-brand span{color:var(--muted);font-size:11px;font-weight:700}.mobile-brand strong{margin-top:2px;color:var(--ink);font-size:17px;line-height:1.1}.logout-button{height:48px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--muted);padding:0 15px;font:inherit;font-size:13px;font-weight:800}.logout-button:hover{color:var(--danger)}.avatar{width:30px;height:30px;display:inline-grid;flex:0 0 auto;place-items:center;border-radius:8px;background:var(--accent-soft);color:var(--accent-dark);font-size:11px;font-weight:800}.avatar--photo{width:40px;height:40px;border-radius:999px;background:#1c242d;color:#cfe0ff}.profile-menu{position:relative}.profile-menu__trigger{display:block;border:0;border-radius:999px;background:transparent;cursor:pointer;padding:0}.profile-menu__trigger:focus-visible{outline:3px solid rgba(var(--accent-rgb),.18);outline-offset:3px}.profile-menu__panel{position:absolute;z-index:70;top:calc(100% + 10px);right:0;width:210px;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:10px;box-shadow:0 18px 40px rgba(15,23,42,.14)}.profile-menu__user{border-bottom:1px solid var(--line);padding:2px 2px 9px}.profile-menu__user span,.profile-menu__user strong{display:block}.profile-menu__user strong{color:var(--ink);font-size:14px;font-weight:800}.profile-menu__logout{width:100%;height:40px;margin-top:8px;border:0;border-radius:8px;background:#fff5f5;color:var(--danger);font:inherit;font-size:13px;font-weight:800;text-align:left;padding:0 10px}.profile-menu__logout:hover{background:#ffecec}.avatar--soft{width:50px;height:50px;font-size:13px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:16px;gap:16px;margin-top:28px}.metric-card,.panel{border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.metric-card{min-height:124px;display:flex;align-items:center;gap:18px;padding:20px}.metric-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:8px;background:var(--accent-soft);color:var(--accent-dark)}.metric-icon svg{width:24px;height:24px}.metric-icon--muted{background:var(--surface-soft);color:var(--muted)}.metric-card small,.metric-card span{display:block}.metric-card span{color:var(--ink);font-size:13px;font-weight:700}.metric-value{display:block;margin-top:6px;font-size:25px;line-height:1.1;white-space:nowrap}.metric-value em{margin-left:6px;color:var(--ink);font-size:16px;font-style:normal;font-weight:800}.metric-card small{margin-top:8px;color:var(--green);font-size:12px}.dashboard-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;color:var(--muted);font-size:13px;font-weight:700}.dashboard-context strong{color:var(--ink);font-size:13px}.organization-switcher{display:flex;align-items:center;gap:10px;min-width:0}.organization-switcher span{color:var(--muted);white-space:nowrap}.organization-switcher select{min-width:220px;max-width:min(360px,56vw);height:42px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);padding:0 12px;font:inherit;font-size:13px;font-weight:800}.dashboard-error{margin-top:14px}.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;margin-top:16px}.panel{min-width:0;padding:20px}.panel--wide{grid-column:1/-1}.panel--chart{min-height:286px}.panel--list{min-height:320px}.dashboard-attention-card{min-height:auto}.dashboard-attention-list{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line)}.dashboard-attention-row{min-width:0;display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;grid-gap:18px;gap:18px;min-height:74px;border-bottom:1px solid var(--line);padding:14px 0;transition:background-color .15s ease}.dashboard-attention-row:hover{background:var(--surface-muted)}.dashboard-attention-row .row-copy{gap:5px}.dashboard-attention-row .row-copy span,.dashboard-attention-row .row-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-attention-time{width:max-content;display:inline-flex;align-items:center;border-radius:6px;background:var(--surface-soft);color:var(--muted);padding:5px 9px;font-size:12px;font-weight:800}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.panel h2{margin:0;font-size:17px}.panel-number{margin:8px 0 0;font-size:25px;font-weight:800}.table-wrap{overflow-x:auto;padding-bottom:4px;scrollbar-width:thin;scrollbar-color:rgba(104,112,130,.42) transparent}.table-wrap:has(.columns-config__menu){overflow:visible}.table-wrap::-webkit-scrollbar{height:8px}.table-wrap::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(104,112,130,.34)}table{width:100%;border-collapse:collapse;min-width:820px}.appointments-table{table-layout:fixed;min-width:1080px}.appointments-table td:first-child,.appointments-table th:first-child{width:76px}.appointments-table td:nth-child(2),.appointments-table th:nth-child(2){width:250px}.appointments-table td:nth-child(3),.appointments-table th:nth-child(3){width:230px}.appointments-table td:nth-child(5),.appointments-table th:nth-child(5){width:150px}.appointments-table td:nth-child(6),.appointments-table th:nth-child(6){width:58px}.appointments-table td:nth-child(4){overflow:hidden;text-overflow:ellipsis}td,th{border-bottom:1px solid #ece7df;padding:12px 8px;text-align:left;white-space:nowrap;font-size:13px}.appointments-table td{height:76px}.appointments-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}.appointments-table tbody tr:hover{background:var(--surface-muted);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.08)}.appointments-table .person{gap:14px}.appointments-table .avatar{width:50px;height:50px;font-size:13px;font-weight:700}th{color:var(--muted)}.person,th{font-weight:700}.person{display:inline-flex;align-items:center;gap:9px;max-width:100%}.person>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:800}.status--green{background:var(--success-soft);color:var(--success-text)}.status--amber{background:var(--status-wait-bg);color:var(--status-wait-text)}.status--blue{background:var(--status-new-bg);color:var(--status-new-text)}.status--indigo{background:var(--status-progress-bg);color:var(--status-progress-text)}.status--violet{background:var(--status-vip-bg);color:var(--status-vip-text)}.status--gray{background:var(--status-gray-bg);color:var(--status-gray-text)}.status--archive{background:var(--surface-soft);color:var(--muted)}.row-action{color:var(--muted);font-weight:800;text-align:center}.action-button{width:34px;height:34px;display:inline-grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--muted);outline:none;overflow:hidden}.action-button:hover{background:var(--surface-soft);color:var(--ink)}.action-button:focus-visible{background:var(--surface-soft);box-shadow:inset 0 0 0 2px rgba(var(--accent-rgb),.34);color:var(--ink)}.action-button svg{width:20px;height:20px}.action-button__dots{display:inline-flex;align-items:center;justify-content:center;gap:3px}.action-button__dots span{width:4px;height:4px;display:block;border-radius:999px;background:currentColor}.row-menu{position:relative;display:inline-block}.row-menu .action-button[aria-expanded=true]{background:var(--surface-soft);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}.row-menu__content{position:fixed;z-index:30;width:164px;display:grid;grid-gap:1px;gap:1px;border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:5px;box-shadow:0 14px 34px rgba(15,23,42,.12);text-align:left}.row-menu__content a,.row-menu__content button{min-height:30px;display:flex;align-items:center;border-radius:6px;border:0;background:transparent;color:var(--ink);padding:0 9px;font-size:12px;font-weight:650;text-align:left}.row-menu__content a:focus-visible,.row-menu__content a:hover,.row-menu__content button:focus-visible,.row-menu__content button:hover{background:var(--accent-soft);color:var(--accent-dark);outline:none}.ghost-button{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.ghost-button:focus-visible,.ghost-button:hover{color:var(--accent-dark);outline:none}.ghost-button svg{width:16px;height:16px}.activity-list,.staff-list{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line)}.list-row{display:grid;grid-template-columns:50px 1fr auto;align-items:center;grid-gap:14px;gap:14px;min-height:68px;padding:10px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.list-row:hover{background:var(--surface-muted)}.row-copy{min-width:0}.row-copy span,.row-copy strong{display:block}.row-copy strong{overflow:hidden;color:var(--ink);font-size:14px;font-weight:750;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.row-copy span,.row-meta{color:var(--muted);font-size:12px;line-height:1.4}.row-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-row{grid-template-columns:50px 1fr auto}.row-meta,.row-status{justify-self:end;white-space:nowrap}.row-status{min-height:26px;display:inline-flex;align-items:center;border-radius:6px;background:#f0f1f3;color:var(--muted);padding:0 9px;font-size:12px;font-weight:800}.row-status--green{background:#e9f4e5;color:var(--green)}.dot{color:var(--muted);font-size:12px}.dot--green{color:var(--green)}.chart-card{display:grid;align-content:start;grid-gap:16px;gap:16px;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.chart-card:hover{border-color:var(--line-strong);box-shadow:0 20px 54px rgba(15,23,42,.11);transform:translateY(-1px)}.chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.chart-head h2{margin:0}.chart-value{margin:8px 0 0;font-size:26px;font-weight:800;line-height:1;white-space:nowrap}.chart-value span{margin-left:6px;font-size:16px}.chart-period{min-height:30px;display:inline-flex;align-items:center;border-radius:6px;background:var(--surface-soft);padding:0 10px;font-weight:800;white-space:nowrap}.chart-period,.chart-summary{color:var(--muted);font-size:12px}.chart-summary{display:flex;flex-wrap:wrap;gap:8px;font-weight:700}.chart-summary span{min-height:28px;display:inline-flex;align-items:center;border-radius:6px;background:var(--surface-soft);padding:0 10px}.chart-summary .chart-trend{background:#edf6e9;color:var(--green)}.chart-bars{height:128px;grid-template-columns:repeat(auto-fit,minmax(42px,1fr));grid-gap:12px;gap:12px;margin-top:4px;border-top:1px solid var(--line);padding-top:18px}.chart-bar-item,.chart-bars{display:grid;align-items:end}.chart-bar-item{position:relative;height:100%;grid-template-rows:1fr auto;grid-gap:8px;gap:8px;cursor:default}.chart-bar{width:100%;min-height:14px;border-radius:6px 6px 2px 2px;background:var(--accent);transition:filter .15s ease,transform .15s ease;transform-origin:bottom}.chart-bar-item:hover .chart-bar{filter:brightness(1.08);transform:translateY(-4px)}.chart-tooltip{top:-2px;z-index:2;min-width:max-content;transform:translate(-50%,-4px);border:1px solid var(--line);border-radius:6px;color:var(--ink);padding:6px 8px;font-size:12px;font-weight:800;line-height:1;opacity:0;pointer-events:none;box-shadow:0 12px 28px rgba(15,23,42,.14);transition:opacity .15s ease,transform .15s ease}.chart-tooltip,.chart-tooltip:after{position:absolute;left:50%;background:#ffffff}.chart-tooltip:after{content:"";bottom:-5px;width:8px;height:8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:translateX(-50%) rotate(45deg)}.chart-bar-item:hover .chart-tooltip{opacity:1;transform:translate(-50%)}.chart-bars--appointments .chart-bar{background:#8a94a6}.chart-bar-item small{color:var(--muted);font-size:11px;font-weight:700;text-align:center;transition:color .15s ease}.chart-bar-item:hover small{color:var(--ink)}.clients-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.48fr);grid-gap:16px;gap:16px;margin-top:16px}.clients-layout--single{grid-template-columns:1fr}.clients-chart-panel,.clients-table-panel{min-width:0}.clients-table-panel{grid-column:1/-1}.clients-toolbar{display:grid;grid-gap:12px;gap:12px;margin-bottom:16px}.clients-toolbar__main{display:grid;grid-template-columns:minmax(320px,1fr) auto;grid-gap:12px;gap:12px;align-items:center}.clients-toolbar__filters{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));grid-gap:10px;gap:10px;align-items:center}.clients-toolbar .filter-select,.clients-toolbar .local-search{width:100%}.clients-toolbar .primary-action{min-width:232px}.filter-button,.local-search,.primary-action{height:48px;display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);padding:0 12px;font-size:13px;font-weight:700;line-height:1.15}.local-search{gap:10px;min-width:0}.local-search svg{width:18px;height:18px;color:var(--muted)}.local-search input{min-width:0;width:100%;border:0;outline:none;color:var(--ink)}.filter-select{position:relative;height:48px;display:block;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);box-shadow:0 8px 20px rgba(15,23,42,.03)}.filter-select:after{content:"";position:absolute;right:13px;top:50%;width:7px;height:7px;border-right:1.6px solid var(--muted);border-bottom:1.6px solid var(--muted);pointer-events:none;transform:translateY(-65%) rotate(45deg)}.filter-select__button{height:100%;width:100%;border:0;border-radius:8px;background:transparent;color:var(--ink);font:inherit;padding:0 36px 0 13px;text-align:left}.filter-select__button span{display:block;overflow:hidden;color:var(--ink);font-size:14px;font-weight:500;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.filter-select--disabled{background:var(--surface-soft);color:var(--muted)}.filter-select--disabled:after{opacity:.45}.filter-select__button:disabled{cursor:not-allowed}.filter-select__button:disabled span{color:var(--muted)}.filter-select__button:focus-visible{outline:none}.filter-select__menu{position:absolute;top:calc(100% + 6px);left:0;z-index:20;width:100%;display:grid;grid-gap:3px;gap:3px;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:6px;box-shadow:0 16px 36px rgba(15,23,42,.13)}.filter-select--up .filter-select__menu{top:auto;bottom:calc(100% + 6px)}.filter-select__option{min-height:40px;border:0;border-radius:6px;background:transparent;color:var(--ink);padding:0 11px;text-align:left;font-size:14px;font-weight:500;line-height:1.25}.filter-select__option:focus-visible,.filter-select__option:hover,.filter-select__option[aria-selected=true]{background:var(--accent-soft);color:var(--accent-dark);outline:none}.filter-button:focus-visible,.filter-button:hover,.filter-select:focus-within,.local-search:focus-within{border-color:var(--accent-muted);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.1);outline:none}.filter-button{justify-content:space-between;min-width:138px}.filter-button:after{content:"";width:7px;height:7px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg) translateY(-2px)}.primary-action{justify-content:center;gap:8px;border-color:transparent;background:var(--accent);color:#ffffff;box-shadow:0 12px 24px rgba(var(--accent-rgb),.18);white-space:nowrap}.primary-action svg{width:17px;height:17px}.primary-action:focus-visible,.primary-action:hover{background:var(--accent-dark);outline:none}.primary-action:disabled,.primary-action[aria-disabled=true]{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-dark);box-shadow:none;cursor:not-allowed;opacity:1}.clients-table{table-layout:fixed}.clients-table td{height:54px}.clients-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}.clients-table tbody tr:hover{background:var(--surface-muted);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.08)}.clients-table .avatar{width:34px;height:34px;font-size:11px}.clients-table .person{gap:10px}.clients-table__muted{color:var(--muted)}.mobile-appointments-list,.mobile-client-card-main,.mobile-client-history-list,.mobile-client-master,.mobile-client-phone,.mobile-client-stats,.mobile-payments-list,.mobile-service-category-list,.mobile-services-list,.mobile-staff-card-details,.mobile-staff-card-main,.mobile-staff-profile-list{display:none}.desktop-client-person,.sortable-th{display:inline-flex}.sortable-th{align-items:center;gap:5px;border:0;background:transparent;color:inherit;padding:0;font:inherit;font-weight:800}.sortable-th span{color:var(--subtle);font-size:12px;line-height:1}.sortable-th:focus-visible,.sortable-th:hover{color:var(--accent-dark);outline:none}.table-footer{min-height:44px;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;color:var(--muted);font-size:12px}.pagination{display:inline-flex;align-items:center;gap:6px}.pagination button{width:30px;height:30px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ink);font-size:12px;font-weight:700}.pagination .pagination-active{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-dark)}.pagination button:focus-visible,.pagination button:hover{border-color:var(--line-strong);background:var(--surface-soft);outline:none}.pagination button:disabled{color:var(--muted);cursor:not-allowed;opacity:.45}.clients-aside{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;grid-gap:16px;gap:16px;min-width:0}.panel--side{min-height:340px;display:flex;flex-direction:column}.action-feed,.segment-list{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line);padding-top:4px}.segment-item{display:grid;grid-gap:8px;gap:8px;min-height:66px;padding:12px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.segment-item:hover{background:var(--surface-muted)}.segment-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;grid-gap:12px;gap:12px;color:var(--muted);font-size:12px;font-weight:700}.segment-row span{display:inline-flex;align-items:center;gap:8px;color:var(--ink)}.segment-row em,.segment-row strong{font-style:normal;font-weight:800}.segment-track{height:7px;overflow:hidden;border-radius:6px;background:#eceff3}.segment-track span{display:block;height:100%;border-radius:6px;background:var(--green)}.segment-item:first-child .segment-track span{background:var(--status-vip-text)}.segment-item:nth-child(3) .segment-track span{background:var(--status-new-text)}.segment-item:nth-child(4) .segment-track span{background:#9aa1ad}.segment-dot--blue,.segment-dot--gray,.segment-dot--green,.segment-dot--violet{width:8px;height:8px;display:inline-block;border-radius:3px;background:var(--status-vip-text)}.segment-dot--green{background:var(--green)}.segment-dot--blue{background:var(--status-new-text)}.segment-dot--gray{background:#9aa1ad}.segment-link{margin-top:auto;padding-top:14px}.feed-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;min-height:66px;padding:12px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.feed-row:hover{background:var(--surface-muted)}.feed-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:8px;background:var(--accent-soft);color:var(--accent-dark)}.feed-icon svg{width:21px;height:21px}.analytics-card{display:grid;align-content:start;min-height:292px}.analytics-value{margin:8px 0 0;font-size:26px;font-weight:800;line-height:1}.analytics-summary{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.analytics-summary span{min-height:28px;display:inline-flex;align-items:center;border-radius:6px;background:var(--surface-soft);color:var(--muted);padding:0 10px;font-size:12px;font-weight:800}.analytics-summary .chart-trend{background:#edf6e9;color:var(--green)}.client-growth-chart{height:128px;display:grid;grid-template-columns:repeat(7,minmax(32px,1fr));align-items:end;grid-gap:12px;gap:12px;margin-top:18px;border-top:1px solid var(--line);padding-top:18px}.growth-point{position:relative;height:100%;display:grid;grid-template-rows:1fr auto;align-items:end;grid-gap:8px;gap:8px;cursor:default}.growth-bar{width:100%;min-height:16px;border-radius:6px 6px 2px 2px;background:var(--accent);transition:filter .15s ease,transform .15s ease;transform-origin:bottom}.growth-point:hover .growth-bar{filter:brightness(1.08);transform:translateY(-4px)}.growth-tooltip{top:-2px;z-index:2;min-width:max-content;transform:translate(-50%,-4px);border:1px solid var(--line);border-radius:6px;color:var(--ink);padding:6px 8px;font-size:12px;font-weight:800;line-height:1;opacity:0;pointer-events:none;box-shadow:0 12px 28px rgba(15,23,42,.14);transition:opacity .15s ease,transform .15s ease}.growth-tooltip,.growth-tooltip:after{position:absolute;left:50%;background:#ffffff}.growth-tooltip:after{content:"";bottom:-5px;width:8px;height:8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:translateX(-50%) rotate(45deg)}.growth-point:hover .growth-tooltip{opacity:1;transform:translate(-50%)}.growth-point small{color:var(--muted);font-size:11px;font-weight:700;text-align:center;transition:color .15s ease}.growth-point:hover small{color:var(--ink)}.retention-list{display:grid;grid-gap:14px;gap:14px;margin-top:18px;border-top:1px solid var(--line);padding-top:18px}.retention-row{display:grid;grid-template-columns:1fr auto;align-items:center;grid-gap:10px;gap:10px}.retention-row span,.retention-row strong{display:block}.retention-row strong{color:var(--ink);font-size:14px;font-weight:800}.retention-row em,.retention-row span{color:var(--muted);font-size:12px;font-style:normal;font-weight:800}.retention-track{grid-column:1/-1;height:9px;overflow:hidden;border-radius:6px;background:#edf0f4}.retention-track span{display:block;height:100%;border-radius:6px;background:var(--accent)}.retention-track--muted span{background:#9aa1ad}.retention-footer{min-height:42px;display:flex;align-items:center;justify-content:space-between;margin-top:18px;border-radius:8px;background:var(--surface-soft);padding:0 12px;color:var(--muted);font-size:12px;font-weight:800}.retention-footer strong{color:var(--ink)}.appointments-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);grid-gap:16px;gap:16px;margin-top:16px}.appointments-layout--single{grid-template-columns:1fr}.appointments-board{grid-column:1/-1;min-width:0}.appointments-toolbar{display:grid;grid-gap:12px;gap:12px;margin-bottom:16px}.appointments-toolbar__main{display:grid;grid-template-columns:minmax(320px,1fr) auto;grid-gap:12px;gap:12px;align-items:center}.appointments-toolbar__filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));grid-gap:10px;gap:10px;align-items:center}.appointments-toolbar .primary-action{min-width:168px}.appointments-date-input{width:100%;height:48px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);font:inherit;font-size:14px;font-weight:650;outline:none;padding:0 14px}.appointments-date-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.12)}.columns-config{position:relative}.columns-config__button{width:48px;height:48px}.columns-config__menu{position:absolute;top:calc(100% + 8px);right:0;z-index:80;width:260px;display:grid;grid-gap:6px;gap:6px;border:1px solid var(--line);border-radius:8px;background:#ffffff;box-shadow:0 18px 40px rgba(15,23,42,.14);padding:12px}.columns-config__header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.columns-config__header strong{color:var(--muted);font-size:12px;font-weight:600;text-transform:uppercase}.columns-config__header button{border:0;background:transparent;color:var(--accent-dark);cursor:pointer;font-size:12px;font-weight:500}.columns-config__row{min-height:38px;display:flex;align-items:center;gap:10px;border-radius:8px;color:var(--ink);cursor:pointer;font-size:13px;font-weight:500;padding:0 10px}.columns-config__row:hover{background:var(--surface-soft)}.columns-config__row input{width:17px;height:17px;accent-color:var(--accent)}.columns-config__row--locked{color:var(--muted);cursor:not-allowed}.columns-config__row--locked:hover{background:transparent}.appointments-date-strip{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;grid-gap:8px;gap:8px;align-items:stretch;margin-bottom:16px}.day-strip{display:grid;grid-template-columns:repeat(7,minmax(94px,1fr));grid-gap:8px;gap:8px;min-width:0;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.appointments-date-arrow{width:42px;min-height:76px;display:grid;place-items:center;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--muted);cursor:pointer}.appointments-date-arrow:focus-visible,.appointments-date-arrow:hover{border-color:var(--accent-muted);background:var(--surface-muted);color:var(--ink);outline:none}.appointments-date-arrow svg{width:18px;height:18px}.day-card{min-height:76px;display:grid;align-content:center;justify-items:start;grid-gap:2px;gap:2px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--muted);padding:10px 12px;text-align:left;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.day-card:focus-visible,.day-card:hover{border-color:var(--accent-muted);background:var(--surface-muted);outline:none}.day-card strong{color:var(--ink);font-size:18px;line-height:1}.day-card small,.day-card span{font-size:12px;font-weight:800}.day-card--active{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-dark)}.bookings-table{table-layout:fixed}.table-selection-bar{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:0 14px}.table-selection-bar__actions,.table-selection-bar__summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.table-selection-bar__summary{min-width:0;align-items:center;color:var(--ink);font-size:13px;font-weight:700;line-height:1}.table-selection-clear{width:16px;height:16px;flex:0 0 16px;display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;background:#ffffff;color:var(--accent-dark);cursor:pointer;font:inherit;font-size:13px;font-weight:800;line-height:0;padding:0}.table-selection-action{min-height:34px;border:0;border-radius:8px;background:transparent;color:var(--ink);cursor:pointer;font:inherit;font-size:13px;font-weight:700;padding:0 10px}.table-selection-action:focus-visible,.table-selection-action:hover{background:var(--surface-soft);outline:none}.table-selection-action--danger{color:var(--danger)}.table-selection-action--danger:focus-visible,.table-selection-action--danger:hover{background:#fff1f0}.table-selection-action:disabled{cursor:not-allowed;opacity:.55}.table-selection-cell{text-align:center}.table-checkbox{width:15px;height:15px;accent-color:var(--accent);cursor:pointer}.bookings-table td{height:66px}.bookings-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}.bookings-table tbody tr:hover{background:var(--surface-muted);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.08)}.clickable-table-row{cursor:pointer}.clickable-table-row:focus-visible{background:var(--surface-muted);box-shadow:inset 0 0 0 2px rgba(var(--accent-rgb),.22);outline:none}.clickable-table-row--archived{background:var(--surface-muted)}.clickable-table-row--archived td{color:var(--muted)}.bookings-table td{overflow:hidden;text-overflow:ellipsis}.bookings-table .row-action{overflow:visible;padding-left:6px;padding-right:6px;text-overflow:clip}.bookings-table .row-action .status{min-height:24px;padding:3px 8px;font-size:11px}.time-cell{color:var(--ink);font-size:14px}.time-cell--muted{color:var(--subtle);font-weight:700}.appointment-form{gap:14px}.appointment-hero{min-height:0;align-items:flex-start;padding-bottom:12px}.appointment-hero p{margin:0}.appointment-form .access-permissions-header{margin-top:2px}.appointment-form .access-permissions-header h3{font-size:15px}.appointment-create-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:none}.access-role-fields.appointment-create-fields{max-width:none}.appointment-create-fields .filter-select{width:100%}.appointment-create-fields .filter-select__button,.appointment-create-fields .filter-select__button span{color:var(--ink);font-size:14px;font-weight:500}.appointment-create-fields .searchable-select{width:100%}.appointment-main-section{min-width:0}.appointment-detail-overview,.appointment-main-section{display:grid;grid-gap:12px;gap:12px}.appointment-detail-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;min-height:40px}.appointment-detail-actions .status{margin-right:auto}.appointment-detail-menu{position:relative}.appointment-detail-menu .secondary-action svg{width:15px;height:15px}.appointment-detail-menu__list{position:absolute;top:calc(100% + 6px);right:0;z-index:60;width:190px;display:grid;grid-gap:3px;gap:3px;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:6px;box-shadow:0 16px 36px rgba(15,23,42,.13)}.appointment-detail-menu__list a,.appointment-detail-menu__list button{min-height:38px;display:flex;align-items:center;border:0;border-radius:6px;background:transparent;color:var(--ink);cursor:pointer;font:inherit;font-size:13px;font-weight:600;padding:0 10px;text-align:left}.appointment-detail-menu__list a:focus-visible,.appointment-detail-menu__list a:hover,.appointment-detail-menu__list button:focus-visible,.appointment-detail-menu__list button:hover{background:var(--surface-soft);outline:none}.appointment-detail-menu__list button:disabled{cursor:not-allowed;opacity:.55}.appointment-detail-menu__list .appointment-detail-menu__danger{color:var(--danger)}.appointment-summary-card{display:grid;grid-gap:16px;gap:16px;border:1px solid var(--line);border-radius:12px;background:#ffffff;padding:16px}.appointment-summary-card__head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}.appointment-summary-statuses{display:flex;flex-wrap:wrap;gap:12px 28px}.appointment-summary-status{display:grid;grid-gap:6px;gap:6px;align-content:start}.appointment-summary-status>span:first-child{color:var(--muted);font-size:12px;font-weight:600}.appointment-summary-status .status{justify-self:start}.appointment-summary-card .appointment-detail-actions{justify-content:flex-end;min-height:0}.appointment-summary-card__payment{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding-top:16px}.appointment-payment-card__icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex:0 0 auto;border-radius:14px;background:var(--surface-muted);color:var(--muted)}.appointment-payment-card__icon svg{width:22px;height:22px}.appointment-payment-card__info{min-width:0;display:grid;grid-gap:3px;gap:3px}.appointment-payment-card__info strong{color:var(--ink);font-size:20px;font-weight:750;line-height:1.1}.appointment-payment-card__info small{color:var(--muted);font-size:13px;font-weight:500;line-height:1.3}.appointment-summary-payment-action{margin-left:auto;display:flex;align-items:center;gap:10px}.appointment-time-section{padding-top:2px;overflow-anchor:none}.appointment-date-field{max-width:360px}.appointment-date-field .filter-select__button,.appointment-date-field .filter-select__button span{color:var(--ink);font-size:14px;font-weight:500}.appointment-service-list{max-width:none}.appointment-service-list .access-permission-flat-row{min-height:58px;padding:0 16px}.appointment-form--readonly .appointment-date-button,.appointment-form--readonly .appointment-service-list .access-permission-flat-row,.appointment-form--readonly .appointment-slot{border-color:var(--line);background:var(--surface-soft);color:var(--muted);cursor:default}.appointment-form--readonly .appointment-date-button strong,.appointment-form--readonly .appointment-service-list .access-permission-flat-row strong,.appointment-form--readonly .appointment-slot{color:var(--ink)}.appointment-form--readonly .appointment-date-button small,.appointment-form--readonly .appointment-date-button span,.appointment-form--readonly .appointment-service-list .access-permission-flat-row small{color:var(--muted)}.appointment-form--readonly .appointment-date-button--active{border-color:var(--accent);background:var(--accent-muted);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.18)}.appointment-form--readonly .appointment-date-button--active small,.appointment-form--readonly .appointment-date-button--active span,.appointment-form--readonly .appointment-date-button--active strong{color:var(--accent-dark)}.appointment-date-picker{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;grid-gap:8px;gap:8px;align-items:stretch;max-width:1120px}.appointment-date-strip{display:grid;grid-template-columns:repeat(7,minmax(84px,1fr));grid-gap:6px;gap:6px;min-width:0}.appointment-date-button{min-height:54px;display:grid;align-content:center;justify-items:start;grid-gap:2px;gap:2px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--muted);cursor:pointer;padding:8px 10px;text-align:left}.appointment-date-button:focus-visible,.appointment-date-button:hover{border-color:var(--accent-muted);background:var(--surface-muted);outline:none}.appointment-date-button small,.appointment-date-button span{font-size:11px;font-weight:500}.appointment-date-button strong{color:var(--ink);font-size:16px;font-weight:650;line-height:1}.appointment-date-button--active{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-dark)}.appointment-date-button--original{border-color:var(--accent-soft);background:var(--accent-muted);color:var(--accent-dark)}.appointment-date-button--original small,.appointment-date-button--original span,.appointment-date-button--original strong{color:var(--accent-dark)}.appointment-date-arrow{width:34px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--muted);cursor:pointer}.appointment-date-arrow:focus-visible,.appointment-date-arrow:hover{border-color:var(--accent-muted);background:var(--surface-muted);color:var(--ink);outline:none}.appointment-date-arrow svg{width:18px;height:18px}.appointment-date-arrow--next svg{transform:rotate(180deg)}.appointment-manual-date{display:grid;grid-gap:7px;gap:7px;width:min(260px,100%)}.appointment-manual-date--top{width:100%}.appointment-manual-date span{color:var(--muted);font-size:12px;font-weight:500}.appointment-manual-date input{width:100%;height:48px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);font:inherit;font-size:14px;font-weight:500;outline:none;padding:0 13px}.appointment-manual-date input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.12)}.appointment-date-footer{display:flex;align-items:flex-end;justify-content:flex-start;gap:14px}.appointment-slot-grid{display:flex;flex-wrap:wrap;gap:8px;min-height:130px;align-content:flex-start;transition:opacity .12s ease}.appointment-slot-grid--loading{opacity:.55;pointer-events:none}.appointment-slots-status{min-height:20px;color:var(--muted);font-size:13px;line-height:20px}.appointment-slot{min-width:74px;height:38px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);cursor:pointer;font-size:13px;font-weight:500}.appointment-slot:focus-visible,.appointment-slot:hover{border-color:var(--accent-muted);background:var(--surface-muted);outline:none}.appointment-slot:disabled{cursor:default;opacity:1}.appointment-slot--active{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-dark)}.appointment-slot--original,.appointment-slot--original:disabled{border-color:var(--accent-soft);background:var(--accent-muted);color:var(--accent-dark)}.appointment-review-actions{display:flex;justify-content:flex-end;border-top:1px solid var(--line);padding-top:14px}.appointment-review-actions .primary-action:disabled{color:var(--muted);cursor:not-allowed;opacity:.58}.appointment-review-modal{width:min(680px,100%)}.appointment-review-content{overflow-y:auto;padding:18px 22px 20px}.appointment-review-modal .appointment-summary-grid{margin-top:0}.searchable-select{position:relative}.searchable-select__button{width:100%;height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:8px;background:#ffffff;cursor:pointer;font:inherit;padding:0 13px;text-align:left}.appointment-create-fields .searchable-select__button,.appointment-create-fields .searchable-select__button span,.searchable-select__button{color:var(--ink);font-size:14px;font-weight:500}.searchable-select--open .searchable-select__button,.searchable-select__button:focus-visible,.searchable-select__button:hover{border-color:var(--accent-muted);outline:none;box-shadow:0 0 0 3px rgba(var(--accent-rgb),.1)}.searchable-select__button:disabled{background:var(--surface-soft);color:var(--muted);cursor:not-allowed;box-shadow:none}.searchable-select__button:disabled svg{opacity:.45}.searchable-select__button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchable-select__button svg{width:18px;height:18px;flex:0 0 auto;color:var(--muted)}.searchable-select__menu{position:absolute;top:calc(100% + 6px);left:0;z-index:24;width:100%;display:grid;grid-gap:8px;gap:8px;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:8px;box-shadow:0 16px 36px rgba(15,23,42,.13)}.searchable-select__menu input{width:100%;height:42px;border:1px solid var(--line);border-radius:7px;color:var(--ink);font:inherit;font-size:14px;font-weight:500;outline:none;padding:0 12px}.searchable-select__menu input:focus{border-color:var(--accent-muted);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.1)}.searchable-select__options{display:grid;grid-gap:3px;gap:3px;max-height:260px;overflow-y:auto}.searchable-select__option{min-height:52px;display:grid;align-content:center;grid-gap:3px;gap:3px;border:0;border-radius:7px;background:transparent;color:var(--ink);cursor:pointer;padding:8px 12px;text-align:left}.searchable-select__option:focus-visible,.searchable-select__option:hover,.searchable-select__option[aria-selected=true]{background:var(--accent-soft);color:var(--accent-dark);outline:none}.searchable-select__option span{font-size:14px;font-weight:500;line-height:1.25}.searchable-select__empty,.searchable-select__option small{color:var(--muted);font-size:13px;font-weight:450;line-height:1.25}.searchable-select__empty{padding:10px}.appointment-mode-row{display:inline-flex;gap:2px;width:-moz-fit-content;width:fit-content;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:4px}.appointment-form-note{align-self:end;margin:0;color:var(--muted);font-size:13px;font-weight:450;line-height:1.4}.appointment-notes-field{display:grid;grid-gap:7px;gap:7px;max-width:760px}.appointment-notes-field>span{color:var(--muted);font-size:12px;font-weight:500}.appointment-notes-field textarea{width:100%;min-height:96px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);font:inherit;font-size:14px;font-weight:500;outline:none;padding:12px 14px;resize:vertical}.appointment-notes-field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.12)}.appointment-summary-grid{max-width:960px}.client-cell{display:inline-grid;grid-template-columns:minmax(0,1fr);align-items:center;min-width:0}.client-cell>div{display:grid;grid-gap:3px;gap:3px;min-width:0}.client-cell span,.client-cell strong{white-space:normal}.client-cell strong{color:var(--ink);font-size:13px;font-weight:700}.client-cell div>span{color:var(--muted);font-size:12px}.feed-row--compact{grid-template-columns:52px minmax(0,1fr) minmax(150px,auto)}.appointments-task-row{grid-template-columns:52px minmax(0,1fr) auto}.appointments-task-row .row-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-action{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:700;white-space:nowrap}.task-action:focus-visible,.task-action:hover{color:var(--accent-dark);outline:none}.task-action svg{width:15px;height:15px}.queue-time{width:46px;height:34px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);font-size:12px;font-weight:800}.load-list{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line);padding-top:4px}.load-row{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;grid-gap:10px;gap:10px;min-height:66px;padding:12px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.load-row:hover{background:var(--surface-muted)}.load-row>span{color:var(--muted);font-size:12px;font-weight:800}.load-row>strong{color:var(--ink);font-size:12px}.load-track{grid-column:1/-1;height:8px;overflow:hidden;border-radius:6px;background:#edf0f4}.load-track i{display:block;height:100%;border-radius:6px;background:var(--accent)}.staff-page-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;margin-top:16px}.staff-table-panel{grid-column:1/-1;min-width:0}.staff-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.staff-toolbar .local-search{flex:1 1 320px;min-width:280px}.staff-toolbar .filter-select{flex:0 1 154px}.staff-toolbar .primary-action{flex:0 0 210px}.staff-profile-actions{gap:10px}.staff-profile-card{display:grid;grid-gap:16px;gap:16px}.staff-profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:14px;gap:14px;border-bottom:1px solid var(--line);padding-bottom:16px}.staff-profile-avatar{width:56px;height:56px;display:grid;place-items:center;border-radius:8px;background:var(--accent-soft);color:var(--accent-dark);font-size:18px;font-weight:750}.staff-profile-hero h2{color:var(--ink);font-size:22px;font-weight:750}.staff-profile-hero p{margin-top:4px;color:var(--muted);font-size:14px;font-weight:600}.staff-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid var(--line);border-radius:8px}.staff-profile-grid div,.staff-profile-master div{min-width:0;background:#ffffff;padding:14px}.staff-profile-grid div{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.staff-profile-grid div:nth-child(3n){border-right:0}.staff-profile-grid div:nth-last-child(-n+3){border-bottom:0}.staff-profile-grid span,.staff-profile-master span{display:block;color:var(--muted);font-size:12px;font-weight:650}.staff-profile-grid strong,.staff-profile-master strong{display:block;overflow:hidden;margin-top:6px;color:var(--ink);font-size:14px;font-weight:700;line-height:1.3;text-overflow:ellipsis}.staff-profile-master{display:grid;grid-template-columns:260px minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:8px}.staff-profile-master div:first-child{border-right:1px solid var(--line)}.staff-profile-master p{margin-top:6px;color:var(--ink);font-size:14px;font-weight:550;line-height:1.45}.staff-profile-service-list{max-width:920px}.staff-profile-service-row{grid-template-columns:minmax(0,1fr) 120px}.staff-profile-service-row>strong{justify-self:end;color:var(--ink);font-size:14px;font-weight:700}.staff-profile-detail-fields{max-width:760px}.staff-form-shell{margin-top:16px}.staff-form-shell--tabs,.staff-form-shell--wizard{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:start;grid-gap:16px;gap:16px}.staff-form-shell .access-detail-page-card{margin-top:0}.staff-side-tabs,.staff-stepper{position:-webkit-sticky;position:sticky;top:20px;display:grid;grid-gap:8px;gap:8px}.staff-stepper__item{min-height:46px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--muted);padding:0 12px}.staff-stepper__item span{width:20px;height:20px;display:grid;place-items:center;border-radius:999px;background:var(--surface-soft);color:var(--muted);font-size:11px;font-weight:700}.staff-stepper__item strong{color:inherit;font-size:13px;font-weight:600}.staff-stepper__item--active{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-dark)}.staff-stepper__item--active span,.staff-stepper__item--done span{background:var(--accent);color:#ffffff}.staff-side-tabs__item{min-height:46px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--muted);cursor:pointer;padding:0 12px;text-align:left;font-size:13px;font-weight:600}.staff-side-tabs__item:focus-visible,.staff-side-tabs__item:hover{border-color:var(--accent-muted);color:var(--ink);outline:none}.staff-side-tabs__item--active{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-dark)}.staff-form-actions{display:flex;justify-content:flex-end;gap:10px}.staff-form-detail-fields{max-width:760px}.staff-readonly-area,.staff-readonly-field{display:flex;align-items:center;min-height:48px;width:100%;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);font-size:14px;font-weight:500;line-height:1.35;padding:0 14px}.staff-readonly-area{align-items:flex-start;min-height:110px;margin:0;padding:12px 14px}.staff-profile-services-table{min-width:640px}.staff-profile-services-table td:first-child,.staff-profile-services-table th:first-child{width:46%}.staff-profile-services-table td:nth-child(2),.staff-profile-services-table td:nth-child(3),.staff-profile-services-table th:nth-child(2),.staff-profile-services-table th:nth-child(3){width:27%}.staff-profile-appointments-table{min-width:860px}.staff-profile-appointments-table td:first-child,.staff-profile-appointments-table th:first-child{width:90px}.staff-profile-appointments-table td:nth-child(2),.staff-profile-appointments-table td:nth-child(3),.staff-profile-appointments-table th:nth-child(2),.staff-profile-appointments-table th:nth-child(3){width:190px}.staff-profile-appointments-table td:nth-child(4),.staff-profile-appointments-table th:nth-child(4){width:150px}.staff-profile-appointments-table td:nth-child(5),.staff-profile-appointments-table td:nth-child(6),.staff-profile-appointments-table th:nth-child(5),.staff-profile-appointments-table th:nth-child(6){width:120px}.staff-profile-bookings-table{min-width:1160px}.staff-profile-appointments-toolbar{margin-bottom:12px}.staff-profile-appointments-toolbar .appointments-toolbar__filters{grid-template-columns:minmax(180px,260px);justify-content:start}.staff-profile-schedule-table{min-width:720px}.staff-profile-schedule-table td:first-child,.staff-profile-schedule-table th:first-child{width:88px}.staff-profile-schedule-table td:nth-child(2),.staff-profile-schedule-table td:nth-child(3),.staff-profile-schedule-table th:nth-child(2),.staff-profile-schedule-table th:nth-child(3){width:150px}.staff-profile-schedule-table td:nth-child(4),.staff-profile-schedule-table th:nth-child(4){width:210px}.staff-profile-schedule-table td:nth-child(5),.staff-profile-schedule-table th:nth-child(5){width:120px}.staff-table{table-layout:fixed;min-width:980px}.staff-table td:first-child,.staff-table th:first-child{width:200px}.staff-table td:nth-child(2),.staff-table th:nth-child(2){width:132px}.staff-table td:nth-child(3),.staff-table th:nth-child(3){width:150px}.staff-table td:nth-child(4),.staff-table th:nth-child(4){width:128px}.staff-table td:nth-child(5),.staff-table th:nth-child(5){width:82px}.staff-table td:nth-child(6),.staff-table th:nth-child(6){width:146px}.staff-table td:nth-child(7),.staff-table th:nth-child(7){width:112px}.staff-table td:nth-child(8),.staff-table th:nth-child(8){width:42px}.staff-table td{height:62px}.staff-table__action-header,.table-action-header{text-align:right}.staff-table__action-header .columns-config,.table-action-header .columns-config{display:flex;justify-content:flex-end}.staff-table__action-header .columns-config__menu,.table-action-header .columns-config__menu{text-align:left}.staff-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}.staff-table tbody tr:hover{background:var(--surface-muted);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.08)}.staff-off-row td{background:var(--surface-soft)}.staff-off-row .person,.staff-off-row .status,.staff-off-row td{color:var(--muted)}.staff-off-row .staff-load-cell span{background:var(--line)}.staff-off-row .staff-load-cell i{background:var(--subtle)}.staff-table td:nth-child(2),.staff-table td:nth-child(3),.staff-table td:nth-child(4){overflow:hidden;color:var(--muted);text-overflow:ellipsis}.staff-name-link{color:inherit;text-decoration:none}.staff-name-link:focus-visible,.staff-name-link:hover{color:var(--accent-dark);outline:none}.staff-load-cell{display:grid;grid-gap:6px;gap:6px}.staff-load-cell strong{color:var(--ink);font-size:12px}.staff-load-cell span{height:7px;overflow:hidden;border-radius:6px;background:var(--line)}.staff-load-cell i{display:block;height:100%;border-radius:6px;background:var(--accent)}.access-role-fields.staff-create-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;max-width:920px}.staff-create-fields .filter-select,.staff-master-fields .filter-select{width:100%}.staff-branch-list,.staff-service-list{max-width:920px;margin-top:0}.access-role-fields input.staff-username-input:disabled{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-dark)}.required-mark{color:var(--accent-dark);font-style:normal;font-weight:700}.form-validation-summary{max-width:920px;border:1px solid var(--danger-muted);border-radius:8px;background:var(--danger-soft);color:var(--danger);padding:12px 14px;font-size:13px;font-weight:600}.form-validation-summary strong{display:block;margin-bottom:6px;color:var(--danger);font-weight:700}.form-validation-summary ul{display:grid;grid-gap:4px;gap:4px;margin:0;padding-left:18px}.form-validation-summary li{line-height:1.35}.access-role-fields input[aria-invalid=true],.staff-service-row .staff-service-config input[aria-invalid=true]{border-color:var(--danger);box-shadow:none}.staff-master-fields{grid-template-columns:minmax(0,1fr) 220px;max-width:920px}.staff-bio-field{grid-column:1/-1}.staff-service-list-head{display:grid;grid-template-columns:minmax(0,1fr) 132px 132px;grid-gap:12px;gap:12px;align-items:center;min-height:40px;border-bottom:1px solid var(--line);background:var(--accent-soft);color:var(--accent-dark);padding:0 14px;font-size:12px;font-weight:650}.staff-service-row{grid-template-columns:minmax(0,1fr) 276px;min-height:72px}.staff-service-row--selected{background:#fbfdff}.staff-service-row--invalid{background:var(--danger-soft)}.staff-service-check{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px}.staff-service-check input{width:17px;height:17px;accent-color:var(--accent)}.staff-service-config{display:grid;grid-template-columns:repeat(2,132px);grid-gap:12px;gap:12px;justify-self:end}.staff-service-row .staff-service-config input{width:100%;height:42px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);font:inherit;font-size:14px;font-weight:500;outline:none;padding:0 12px}.staff-service-row .staff-service-config input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.12)}.staff-service-row .staff-service-config input[aria-invalid=true]{border-color:var(--danger);box-shadow:none}.staff-service-muted{justify-self:end;color:var(--subtle);font-size:13px;font-weight:600}.role-list{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line);padding-top:4px}.role-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;min-height:66px;padding:12px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.role-row:hover{background:var(--surface-muted)}.role-row>strong{color:var(--muted);font-size:12px;white-space:nowrap}.services-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;margin-top:16px}.services-tabs-page{display:grid;grid-gap:12px;gap:12px}.services-table-panel{grid-column:1/-1;min-width:0}.service-categories-card{grid-column:1/-1}.service-categories-header{align-items:flex-start}.service-categories-header p{margin:5px 0 0;color:var(--muted);font-size:13px;font-weight:450;line-height:1.35}.services-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.services-toolbar .local-search{flex:1 1 360px}.services-toolbar .filter-select,.services-toolbar .primary-action{flex:0 0 176px}.services-table{table-layout:fixed}.services-table td{height:62px}.services-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}.services-table tbody tr:hover{background:var(--surface-muted);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.08)}.services-table__muted{color:var(--muted)}.service-name-cell{display:inline-flex;align-items:center;gap:10px;min-width:0;max-width:100%}.service-name-cell a,.service-name-cell strong{overflow:hidden;color:var(--ink);font-size:13px;font-weight:800;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.service-name-cell a:focus-visible,.service-name-cell a:hover{color:var(--accent-dark);outline:none}.mobile-service-card__head--selectable{grid-template-columns:max-content minmax(0,1fr);align-items:start}.service-icon{width:34px;height:34px;display:inline-grid;flex:0 0 auto;place-items:center;border-radius:8px;background:var(--accent-soft);color:var(--accent-dark)}.service-icon svg{width:18px;height:18px}.service-form-card{max-width:1180px}.service-form-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.service-archive-toggle-field{display:grid;grid-gap:7px;gap:7px;align-content:start}.service-archive-toggle-field>span{color:var(--muted);font-size:12px;font-weight:650}.service-form-fields .client-notes-field{grid-column:1/-1}.service-master-table-wrap{margin-top:12px;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding-bottom:0}.service-master-table{min-width:900px;table-layout:fixed}.service-master-table td,.service-master-table th{border-bottom:1px solid var(--line);padding:12px 14px;font-size:13px;white-space:nowrap}.service-master-table th{height:46px;background:var(--surface-muted);color:var(--muted);font-weight:750}.service-master-table td{height:68px;color:var(--ink);font-weight:500;vertical-align:middle}.service-master-table tbody tr:last-child td{border-bottom:0}.service-master-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}.service-master-table tbody tr:hover{background:var(--surface-muted);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.08)}.service-master-table td:first-child,.service-master-table th:first-child{width:300px}.service-master-table td:nth-child(2),.service-master-table th:nth-child(2){width:420px}.service-master-table td:nth-child(3),.service-master-table th:nth-child(3){width:180px}.service-master-row--selected{background:#fbfdff}.service-master-row--invalid{box-shadow:inset 3px 0 0 var(--danger)}.service-master-check{display:flex;align-items:center;gap:12px;min-width:0;cursor:pointer}.service-master-checkbox{width:17px;height:17px;flex:0 0 auto;accent-color:var(--accent)}.service-master-checkbox:focus-visible{outline:3px solid rgba(var(--accent-rgb),.14);outline-offset:2px}.service-master-copy{min-width:0;display:block}.service-master-check strong{display:block;color:var(--ink);font-size:14px;font-weight:750;line-height:1.2}.service-master-config{display:grid;grid-template-columns:repeat(2,minmax(0,156px));grid-gap:12px;gap:12px;align-items:center}.service-master-config label{display:grid;grid-gap:6px;gap:6px}.service-master-config label>span{color:var(--muted);font-size:11px;font-weight:650;line-height:1.2}.service-master-input{width:100%;height:38px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);font:inherit;font-size:13px;font-weight:650;padding:0 12px}.service-master-input:focus{border-color:var(--accent);outline:3px solid rgba(var(--accent-rgb),.14)}.service-master-input[aria-invalid=true]{border-color:var(--danger);outline:3px solid rgba(186,36,36,.12)}.service-master-active{display:inline-flex;align-items:center;gap:10px;min-height:32px;cursor:pointer}.service-master-active .status{min-width:72px;justify-content:center}.service-master-placeholder,.service-master-status{color:var(--muted);font-size:13px;font-weight:650}.service-master-status{width:-moz-fit-content;width:fit-content;min-height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#f1f3f6;padding:0 12px}.service-category-create{display:grid;grid-template-columns:minmax(260px,1fr) 150px auto;grid-gap:10px;gap:10px;margin-bottom:8px}.service-category-create__button,.service-category-input{width:100%}.service-category-cancel{height:48px}.service-category-error{margin:0 0 8px;color:var(--danger);font-size:13px;font-weight:600}.service-category-editor{display:grid;grid-template-columns:minmax(260px,1fr) 120px auto;align-items:end;grid-gap:10px;gap:10px;margin-top:14px}.service-category-editor label{min-width:0;display:grid;grid-gap:7px;gap:7px}.service-category-editor label>span{color:var(--muted);font-size:11px;font-weight:700;letter-spacing:0}.service-category-editor input{width:100%;height:48px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);font:inherit;font-size:13px;font-weight:650;padding:0 12px}.service-category-editor input:disabled{cursor:not-allowed;opacity:.68}.service-category-editor input:focus{border-color:var(--accent);outline:3px solid rgba(var(--accent-rgb),.14)}.service-category-editor__actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.service-category-editor .service-category-cancel-action,.service-category-editor .service-category-submit-action{height:48px;white-space:nowrap}.service-category-editor .service-category-submit-action{min-width:92px;padding:0 14px}.service-category-editor .service-category-cancel-action{padding:0 12px}.service-category-table-wrap{margin-top:16px}.service-category-table{min-width:620px;table-layout:fixed}.service-category-table td:first-child,.service-category-table th:first-child{width:44px}.service-category-table td:nth-child(2),.service-category-table th:nth-child(2){width:72%}.service-category-table td:nth-child(3),.service-category-table th:nth-child(3){width:28%}.service-category-table td{height:54px}.service-category-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}.service-category-table tbody tr:hover{background:var(--surface-muted);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.08)}.service-category-name-button,.service-category-table td strong{overflow:hidden;display:block;color:var(--ink);font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.service-category-name-button{max-width:100%;border:0;background:transparent;cursor:pointer;font:inherit;padding:0;text-align:left}.service-category-name-button:focus-visible,.service-category-name-button:hover{color:var(--accent-dark);outline:none}.service-category-name-cell{display:flex;align-items:center;gap:8px;min-width:0}.service-category-name-cell .service-category-name-button,.service-category-name-cell strong{min-width:0}.service-category-name-cell .status{flex:0 0 auto}.service-category-table td small{overflow:hidden;display:block;margin-top:4px;color:var(--muted);font-size:12px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.service-category-muted{color:var(--muted)}.service-category-actions{display:inline-flex;justify-content:flex-end;gap:8px;width:100%;text-align:right}.category-list{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line);padding-top:4px}.category-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;min-height:70px;padding:12px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.category-row:hover{background:var(--surface-muted)}.category-row>strong{color:var(--muted);font-size:12px}.category-row .load-track{grid-column:1/-1}.master-service-list{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line);padding-top:4px}.master-service-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;min-height:66px;padding:12px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.master-service-row:hover{background:var(--surface-muted)}.master-service-row>strong{color:var(--muted);font-size:12px;white-space:nowrap}.schedule-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;margin-top:16px}.schedule-workspace{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr);grid-gap:16px;gap:16px;min-width:0}.schedule-board{grid-column:1/-1;min-width:0}.schedule-month{display:grid;grid-gap:12px;gap:12px;margin-top:14px}.schedule-month--bulk{grid-template-columns:minmax(0,1fr) 350px;align-items:start}.schedule-month-panel{display:grid;grid-gap:14px;gap:14px;padding:16px;box-shadow:none}.schedule-month-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:14px;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--line)}.schedule-month-header h2{color:var(--ink);font-size:18px;font-weight:600;line-height:1.1;text-transform:capitalize}.schedule-month-actions{display:inline-flex;align-items:center;gap:8px;order:-1}.schedule-month-header__controls{display:flex;align-items:flex-end;justify-content:flex-end;gap:10px}.schedule-month-actions .icon-button{width:36px;height:36px}.schedule-month-actions .ghost-button{min-height:36px;color:var(--ink);padding:0 12px;font-size:12px;font-weight:600}.schedule-month-actions .ghost-button,.schedule-month-grid{border:1px solid var(--line);border-radius:8px;background:#ffffff}.schedule-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));overflow:hidden}.schedule-month-grid--loading{opacity:.72}.schedule-month-weekday{min-height:38px;display:flex;align-items:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface-muted);color:var(--muted);padding:0 11px;font-size:11px;font-weight:600}.schedule-month-weekday:nth-child(7){border-right:0}.schedule-month-day{position:relative;min-height:108px;display:grid;align-content:start;grid-gap:12px;gap:12px;width:100%;border-top:0;border-left:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#ffffff;padding:11px;text-align:left;cursor:pointer}.schedule-month-day:focus-visible,.schedule-month-day:hover{background:var(--surface-muted);outline:none}.schedule-month-day--working:before{display:none}.schedule-month-day:nth-child(7n){border-right:0}.schedule-month-day:nth-last-child(-n+7){border-bottom:0}.schedule-month-day--muted{background:var(--surface-muted)}.schedule-month-day--weekend{background:#ffffff}.schedule-month-day--muted.schedule-month-day--working{background:var(--surface-muted)}.schedule-month-day--weekend.schedule-month-day--working{background:#ffffff}.schedule-month-day--muted .schedule-month-day__head strong,.schedule-month-day--muted .schedule-month-empty{color:#a2a9b6}.schedule-month-day--today{box-shadow:inset 0 0 0 2px rgba(var(--accent-rgb),.18)}.schedule-month-day--selected{z-index:1;background:#f4f8ff;box-shadow:inset 0 0 0 2px var(--accent)}.schedule-month-day__head{display:flex;align-items:center;justify-content:space-between;gap:8px}.schedule-month-day__head strong{display:inline-flex;align-items:center;gap:7px;color:var(--ink);font-size:15px;font-weight:650;line-height:1}.schedule-month-day__head span{border-radius:999px;background:#eef5ff;color:var(--accent-dark);padding:3px 6px;font-size:9px;font-weight:650}.schedule-month-day__content{display:grid;grid-gap:6px;gap:6px}.schedule-month-master-dots{display:flex;align-items:center;gap:9px;min-height:12px}.schedule-month-master-dots span{width:10px;height:10px;flex:0 0 auto;border-radius:999px;box-shadow:none}.schedule-month-day__content small{color:var(--muted);font-size:10px;font-weight:550}.schedule-month-badge,.schedule-month-empty{min-height:26px;display:inline-flex;align-items:center;border-radius:7px;padding:0 9px;font-size:12px;font-weight:700;line-height:1}.schedule-month-badge--appointments{background:#eef5ff;color:var(--accent-dark)}.schedule-month-badge--blocked{background:#f0f1f3;color:#6b7280}.schedule-month-empty{min-height:20px;color:var(--muted);font-size:10px;font-weight:550;padding:0}.schedule-master-select{position:relative;min-width:240px;display:grid;grid-gap:6px;gap:6px;justify-self:end}.schedule-branch-select{min-width:180px;display:grid;grid-gap:6px;gap:6px}.schedule-branch-select>span,.schedule-bulk-drawer label>span,.schedule-bulk-state legend{color:var(--muted);font-size:11px;font-weight:600}.schedule-branch-select select,.schedule-bulk-drawer select,.schedule-bulk-drawer textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);font:inherit;font-size:13px;outline:none}.schedule-branch-select select,.schedule-bulk-drawer select{height:40px;padding:0 34px 0 12px}.schedule-bulk-trigger{min-height:40px;white-space:nowrap}.schedule-bulk-trigger--active{border-color:rgba(var(--accent-rgb),.45);background:#eef5ff;color:var(--accent-dark)}.schedule-bulk-hint{border:1px solid #d9e7fb;border-radius:8px;background:#f5f9ff;color:var(--accent-dark);padding:10px 12px;font-size:12px;font-weight:550}.schedule-master-select__label{color:var(--muted);font-size:11px;font-weight:600}.schedule-master-select__button{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);padding:0 14px;font-size:13px;font-weight:600}.schedule-master-select__button:focus-visible,.schedule-master-select__button:hover{border-color:rgba(var(--accent-rgb),.45);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.1);outline:none}.schedule-master-select__button svg{width:18px;height:18px;color:var(--muted)}.schedule-master-select__menu{position:absolute;z-index:30;top:calc(100% + 8px);right:0;width:min(320px,82vw);overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#ffffff;box-shadow:0 18px 40px rgba(15,23,42,.16)}.schedule-master-select__option{min-height:40px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);color:var(--ink);padding:0 14px;font-size:13px;font-weight:550;cursor:pointer}.schedule-master-select__option:last-child{border-bottom:0}.schedule-master-select__option:hover{background:var(--surface-muted)}.schedule-master-select__option input{width:16px;height:16px;accent-color:var(--accent);cursor:pointer}.schedule-master-select__option input:disabled{cursor:not-allowed}.schedule-master-select__option i{width:11px;height:11px;flex:0 0 auto;border-radius:999px;box-shadow:0 3px 8px rgba(15,23,42,.12)}.modal-close-button{width:36px;height:36px;flex:0 0 auto}.modal-eyebrow{display:block;margin-bottom:5px;color:var(--accent);font-size:10px;font-weight:700;text-transform:uppercase}.schedule-day-modal{width:min(620px,100%)}.schedule-bulk-drawer h2,.schedule-day-modal .modal-header h2{margin:0;color:var(--ink);font-size:19px;font-weight:650}.schedule-day-modal .modal-header p{margin:7px 0 0;color:var(--muted);font-size:12px}.schedule-day-modal__body{overflow:auto;padding:18px 22px}.schedule-day-master-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.schedule-day-master{min-height:76px;display:grid;grid-template-columns:18px 34px minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:12px;cursor:pointer;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.schedule-day-master:focus-within,.schedule-day-master:hover{border-color:#b8cbea}.schedule-day-master--active{border-color:var(--accent);background:#f4f8ff;box-shadow:inset 0 0 0 1px var(--accent)}.schedule-day-master input{width:17px;height:17px;accent-color:var(--accent)}.schedule-day-master__avatar{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;color:#ffffff;font-size:10px;font-weight:700}.schedule-day-master small,.schedule-day-master strong{display:block}.schedule-day-master strong{font-size:13px;font-weight:600}.schedule-day-master small{margin-top:3px;color:var(--muted);font-size:10px}.schedule-day-master--disabled{opacity:.58;background:var(--surface-muted);cursor:not-allowed}.schedule-individual-day-editor{display:grid;grid-gap:16px;gap:16px}.schedule-individual-day-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.schedule-individual-day-option{min-height:76px;display:grid;align-content:center;grid-gap:5px;gap:5px;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:14px;text-align:left}.schedule-individual-day-option:focus-visible,.schedule-individual-day-option:hover{border-color:#b8cbea;outline:none}.schedule-individual-day-option--active{border-color:var(--accent);background:#f4f8ff;box-shadow:inset 0 0 0 1px var(--accent)}.schedule-individual-day-option span{color:var(--ink);font-size:13px;font-weight:600}.schedule-individual-day-notice,.schedule-individual-day-option small{color:var(--muted);font-size:11px;line-height:1.4}.schedule-individual-day-notice{margin:0;border:1px solid var(--line);border-radius:8px;background:var(--surface-muted);padding:13px 14px}.schedule-day-quick-actions{display:flex;gap:8px;border-top:1px solid var(--line);margin-top:12px;padding-top:14px}.schedule-day-quick-actions--cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.schedule-day-quick-actions button{min-height:36px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);padding:0 12px;font-size:12px;font-weight:600}.schedule-day-quick-actions--cards button{min-height:76px;display:grid;align-content:center;grid-gap:5px;gap:5px;padding:14px;text-align:left}.schedule-day-quick-actions--cards button:focus-visible,.schedule-day-quick-actions--cards button:hover{border-color:#b8cbea;outline:none}.schedule-day-quick-actions--cards span{color:var(--ink);font-size:13px;font-weight:600}.schedule-day-quick-actions--cards small{color:var(--muted);font-size:11px;line-height:1.4}.schedule-day-open-button{margin-right:auto}.schedule-bulk-drawer{position:-webkit-sticky;position:sticky;z-index:10;top:16px;width:100%;max-height:calc(100vh - 32px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#ffffff;box-shadow:0 24px 70px rgba(16,19,26,.2)}.schedule-bulk-drawer>footer,.schedule-bulk-drawer>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px}.schedule-bulk-drawer>header{border-bottom:1px solid var(--line)}.schedule-bulk-drawer>footer{justify-content:flex-end;border-top:1px solid var(--line)}.schedule-bulk-drawer>footer .primary-action{min-width:120px;height:42px}.schedule-bulk-drawer__body{display:grid;align-content:start;grid-gap:18px;gap:18px;overflow:auto;padding:18px}.schedule-bulk-drawer__body>label{display:grid;grid-gap:7px;gap:7px}.schedule-bulk-drawer textarea{min-height:82px;resize:vertical;padding:11px 12px}.schedule-bulk-dates{display:grid;grid-gap:9px;gap:9px}.schedule-bulk-dates>span{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px;font-weight:600}.schedule-bulk-dates>div{display:flex;flex-wrap:wrap;gap:6px}.schedule-bulk-dates button{min-height:30px;display:inline-flex;align-items:center;gap:5px;border:1px solid #d9e7fb;border-radius:7px;background:#f4f8ff;color:var(--accent-dark);padding:0 8px;font-size:11px;font-weight:600}.schedule-bulk-dates button svg{width:13px;height:13px}.schedule-bulk-state{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;margin:0;border:0;padding:0}.schedule-bulk-state legend{grid-column:1/-1;margin-bottom:7px}.schedule-bulk-state__option{min-height:80px;display:grid;grid-template-columns:16px minmax(0,1fr);align-items:start;grid-gap:8px;gap:8px;border:1px solid var(--line);border-radius:8px;padding:11px;cursor:pointer}.schedule-bulk-state__option--selected{border-color:rgba(var(--accent-rgb),.5);background:#f4f8ff}.schedule-bulk-state__option input{margin-top:2px;accent-color:var(--accent)}.schedule-bulk-state__option small,.schedule-bulk-state__option strong{display:block}.schedule-bulk-state__option strong{font-size:12px;font-weight:650}.schedule-bulk-state__option small{margin-top:5px;color:var(--muted);font-size:10px;line-height:1.35}.schedule-control-panel,.schedule-grid-panel,.schedule-week-panel{grid-column:1}.schedule-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.schedule-control-panel .schedule-toolbar{display:grid;grid-template-columns:auto 170px minmax(180px,1fr) minmax(190px,1fr) 150px;align-items:center;margin-bottom:14px}.schedule-mode-switch{display:inline-flex;gap:2px;width:-moz-fit-content;width:fit-content;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:4px}.schedule-mode{min-height:38px;border:0;border-radius:6px;background:transparent;color:var(--muted);padding:0 14px;font-size:13px;font-weight:600}.schedule-mode:focus-visible,.schedule-mode:hover{color:var(--ink);outline:none}.schedule-mode--active{background:var(--accent-soft);color:var(--accent-dark)}.schedule-date-input{height:48px}.schedule-create-action{width:100%}.schedule-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px}.schedule-summary-grid div{min-height:62px;border:1px solid var(--line);border-radius:8px;background:var(--surface-muted);padding:11px 14px}.schedule-summary-grid span,.schedule-summary-grid strong{display:block}.schedule-summary-grid span{color:var(--muted);font-size:12px;font-weight:600}.schedule-summary-grid strong{margin-top:6px;color:var(--ink);font-size:19px;font-weight:750;line-height:1}.schedule-grid-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.schedule-grid-header h2{margin:0;font-size:17px}.schedule-grid-header p{margin:5px 0 0;color:var(--muted);font-size:13px;font-weight:450}.schedule-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.schedule-grid-header--appointments{align-items:center;justify-content:space-between;margin-bottom:14px}.appointments-calendar-nav{display:inline-grid;grid-template-columns:48px auto 48px;align-items:center;gap:10px;width:-moz-fit-content;width:fit-content;margin-bottom:0}.appointments-calendar-nav .icon-button{width:48px;height:48px;border-radius:8px}.appointments-calendar-nav__date{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);padding:0 18px;font-size:15px;font-weight:750;text-transform:lowercase}.appointments-calendar-nav__date svg{width:19px;height:19px;color:var(--muted)}.schedule-legend span{min-height:28px;display:inline-flex;align-items:center;gap:7px;border-radius:6px;background:var(--surface-soft);color:var(--muted);padding:0 9px;font-size:12px;font-weight:600}.legend-dot{width:8px;height:8px;border-radius:3px;background:var(--muted)}.legend-dot--completed{background:var(--green)}.legend-dot--progress{background:var(--status-progress-text)}.legend-dot--break,.legend-dot--pending{background:var(--status-wait-text)}.legend-dot--blocked{background:#6b7280}.schedule-timeline-head{grid-gap:4px;gap:4px}.schedule-timeline-head span{color:var(--muted);font-size:12px;font-weight:500}.schedule-master-head{display:flex;align-items:center;gap:9px}.schedule-master-head>span:last-child{color:var(--ink);font-size:13px;font-weight:650}.schedule-master-avatar{width:28px;height:28px;display:inline-grid;flex:0 0 auto;place-items:center;border:1px solid #dfe4ec;border-radius:999px;background:#f3f5f8;color:#6b7280;font-size:10px;font-weight:700;letter-spacing:0}.schedule-timeline-head.schedule-master-head{display:flex;align-items:center;justify-content:flex-start;align-content:normal}.schedule-master-head--empty{background:#ffffff}.schedule-slot-cell,.schedule-time-cell{border-bottom:1px dashed var(--line)}.schedule-time-cell{padding:5px 12px 0;font-weight:650}.schedule-slot-cell{display:grid;place-items:center}.schedule-slot-cell--free:hover{background:var(--surface-muted)}.schedule-event{position:relative;grid-template-columns:minmax(0,1fr) auto;align-items:start;grid-gap:8px;gap:8px;border:1px solid var(--accent-muted);background:var(--accent-soft);padding:8px 10px}.schedule-event--span{align-self:stretch;margin:5px 6px}.schedule-event--completed{border-color:#d7ead2;background:#eef8eb;color:#3f7a32}.schedule-event--pending{background:var(--status-wait-bg)}.schedule-event--progress{border-color:#d7d4ff}.schedule-event-copy strong{font-weight:700}.schedule-time-cell--active{background:#f3f7fd;color:var(--accent-dark)}.schedule-event-copy span{font-weight:500;line-height:1.3}.schedule-chip{width:100%;min-height:28px;display:inline-flex;align-items:center;border-radius:6px;padding:0 9px;font-size:12px;font-weight:600}.schedule-chip--break{background:var(--status-wait-bg);color:var(--status-wait-text)}.schedule-chip--blocked{background:#f0f1f3;color:#6b7280}.schedule-block-event{align-self:stretch;margin:5px 6px;align-content:start;grid-gap:4px;gap:4px;padding:8px 10px;cursor:pointer}.schedule-block-event:focus-visible,.schedule-block-event:hover{outline:2px solid rgba(107,114,128,.18);outline-offset:-2px}.schedule-block-event .schedule-resize-handle,.schedule-event .schedule-resize-handle{position:absolute;display:block;overflow:visible;white-space:normal}.schedule-week-grid{display:grid;grid-template-columns:repeat(7,minmax(128px,1fr));grid-gap:7px;gap:7px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.schedule-week-card{min-height:150px;display:grid;align-content:start;justify-items:start;grid-gap:7px;gap:7px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--muted);padding:14px;text-align:left}.schedule-week-card:focus-visible,.schedule-week-card:hover{border-color:var(--accent-muted);background:var(--surface-muted);outline:none}.schedule-week-card strong{color:var(--ink);font-size:24px;line-height:1}.schedule-week-card b,.schedule-week-card em,.schedule-week-card small,.schedule-week-card span{font-size:12px;font-style:normal;font-weight:650;line-height:1.2}.schedule-week-card b{border-radius:6px;background:var(--status-wait-bg);color:var(--status-wait-text);padding:5px 7px}.schedule-week-card--active{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-dark)}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(132px,1fr));grid-gap:10px;gap:10px;margin-bottom:18px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.week-card{min-height:112px;display:grid;align-content:start;justify-items:start;grid-gap:6px;gap:6px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--muted);padding:14px 14px 13px;text-align:left;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.week-card:focus-visible,.week-card:hover{border-color:var(--accent-muted);background:var(--surface-muted);outline:none}.week-card strong{color:var(--ink);font-size:20px;line-height:1}.week-card em,.week-card small,.week-card span{font-size:12px;font-style:normal;font-weight:800;line-height:1.15}.week-card small{margin-top:2px}.week-card em{color:var(--muted)}.week-card--active{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-dark)}.schedule-table{table-layout:fixed}.schedule-table td{height:62px}.schedule-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}.schedule-table tbody tr:hover{box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.08)}.schedule-off-row td,.schedule-table tbody tr:hover{background:var(--surface-muted)}.schedule-off-row .person,.schedule-off-row .schedule-table__muted{color:var(--muted)}.schedule-table__muted{overflow:hidden;color:var(--muted);text-overflow:ellipsis}.schedule-timeline-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:8px;background:#ffffff;scrollbar-width:thin}.schedule-timeline{position:relative;display:grid}.schedule-timeline-head{position:-webkit-sticky;position:sticky;top:0;z-index:4;min-height:52px;display:grid;align-content:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#ffffff;padding:8px 12px}.schedule-timeline-head .person{min-width:0}.schedule-timeline-head .avatar{width:34px;height:34px;font-size:11px}.schedule-time-head{color:var(--muted);font-size:12px;font-weight:700}.schedule-slot-cell,.schedule-time-cell{min-height:20px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.schedule-time-cell{display:flex;align-items:flex-start;background:#ffffff;color:var(--muted);padding:4px 10px 0;font-size:12px;font-weight:700}.schedule-slot-cell{position:relative;min-width:0;border-top:0;border-left:0;background:#ffffff;color:var(--accent-dark);font:inherit;padding:0}.schedule-slot-cell--hour{border-bottom-color:var(--line-strong)}.schedule-slot-cell--free{cursor:pointer}.schedule-slot-cell--free:focus-visible,.schedule-slot-cell--free:hover{background:var(--surface-muted);outline:none}.schedule-slot-cell--closed{border-bottom-color:transparent;background:repeating-linear-gradient(135deg,rgba(148,163,184,.08) 0 2px,transparent 2px 8px),var(--surface-muted);cursor:not-allowed}.schedule-slot-cell__closed-label{position:absolute;z-index:2;top:14px;left:22px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-gap:3px 10px;gap:3px 10px;min-width:170px;color:var(--muted);pointer-events:none}.schedule-slot-cell__closed-label svg{grid-row:span 2;width:22px;height:22px;color:var(--subtle)}.schedule-slot-cell__closed-label span,.schedule-slot-cell__closed-label strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-slot-cell__closed-label strong{color:var(--muted);font-size:12px;font-weight:750;line-height:1}.schedule-slot-cell__closed-label span{color:var(--subtle);font-size:11px;font-weight:600;line-height:1}.schedule-slot-cell__actions{position:absolute;z-index:7;left:50%;top:50%;min-height:34px;display:flex;align-items:center;justify-content:center;gap:4px;border:1px solid var(--line);border-radius:8px;background:#ffffff;box-shadow:0 10px 28px rgba(16,19,26,.12);opacity:0;padding:4px;pointer-events:none;transform:translate(-50%,calc(-50% - 2px));transition:opacity .15s ease,transform .15s ease;visibility:hidden}.schedule-slot-cell__actions button{height:28px;display:inline-flex;align-items:center;gap:5px;border:0;border-radius:6px;background:transparent;color:var(--ink);padding:0 9px;font-size:11px;font-weight:650;line-height:1;white-space:nowrap;cursor:pointer}.schedule-slot-cell__actions button:first-child{color:var(--accent-dark)}.schedule-slot-cell__actions button:focus-visible,.schedule-slot-cell__actions button:hover{background:var(--surface-soft);outline:none}.schedule-slot-cell__actions button:first-child:focus-visible,.schedule-slot-cell__actions button:first-child:hover{background:var(--accent-muted)}.schedule-slot-cell__actions svg{width:14px;height:14px}.schedule-slot-cell--free:focus-visible .schedule-slot-cell__actions,.schedule-slot-cell--free:focus-within .schedule-slot-cell__actions,.schedule-slot-cell--free:hover .schedule-slot-cell__actions{opacity:1;pointer-events:auto;transform:translate(-50%,-50%);visibility:visible}.schedule-slot-cell--drop-target{background:rgba(var(--accent-rgb),.05);box-shadow:inset 0 0 0 2px rgba(var(--accent-rgb),.18)}.schedule-slot-cell--blocked-target{background:rgba(185,28,28,.04);box-shadow:inset 0 0 0 2px rgba(185,28,28,.18)}.schedule-drop-preview{z-index:6;display:flex;align-items:center;gap:8px;justify-content:center;margin:5px 6px;border:1px solid rgba(var(--accent-rgb),.32);border-radius:8px;background:rgba(239,246,255,.9);color:var(--accent-dark);font-size:12px;font-weight:750;pointer-events:none}.schedule-timeline--dragging{cursor:-webkit-grabbing;cursor:grabbing}.schedule-event--dragging-source{opacity:.45;filter:saturate(.75)}.schedule-event--resizing{outline:2px solid rgba(var(--accent-rgb),.18);outline-offset:-2px}.schedule-drop-preview span{color:#6b7280;font-weight:650}.schedule-drop-preview--blocked{border-color:rgba(185,28,28,.3);background:rgba(254,242,242,.94);color:#b91c1c}.schedule-drop-preview--blocked span{color:#991b1b}.schedule-event{min-height:0;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;grid-gap:5px;gap:5px;margin:6px 8px;border:1px solid var(--accent-soft);border-left-width:3px;border-radius:8px;background:var(--accent-muted);color:var(--accent-dark);padding:8px 11px;text-align:left;cursor:pointer;z-index:3;overflow:hidden;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:-webkit-grab;cursor:grab}.schedule-block-event:active,.schedule-event:active{cursor:-webkit-grabbing;cursor:grabbing}.schedule-event:focus-visible,.schedule-event:hover{outline:2px solid rgba(var(--accent-rgb),.18);outline-offset:-2px}.schedule-block-event,.schedule-event--span{align-self:stretch;margin:6px 8px}.schedule-event--completed{border-color:#bbf7d0;border-left-color:var(--green);background:var(--success-soft);color:var(--success-text)}.schedule-event--confirmed{border-color:var(--accent-soft);border-left-color:var(--accent);background:var(--accent-muted);color:var(--accent-dark)}.schedule-event--pending{border-color:#fde68a;border-left-color:var(--warning);background:var(--warning-soft);color:var(--status-wait-text)}.schedule-event--progress{border-color:#c4b5fd #c4b5fd #c4b5fd #7c3aed;background:var(--status-progress-bg);color:var(--status-progress-text)}.schedule-event--blocked{border-color:var(--line);border-left-color:var(--muted);background:var(--status-gray-bg);color:var(--status-gray-text)}.schedule-event--compact{display:flex;align-items:center;gap:8px;margin-block:2px;overflow:hidden;padding:0 9px}.schedule-event--tiny{padding:0 9px}.schedule-event--tiny .schedule-event-time{line-height:1}.schedule-event-time{display:inline-flex;align-items:center;gap:7px;min-width:0;color:currentColor;font-size:11px;font-weight:650;line-height:1.15;white-space:nowrap}.schedule-event-time:before{width:7px;height:7px;flex:0 0 auto;border-radius:999px;background:currentColor;content:""}.schedule-event-copy{grid-column:1;min-width:0}.schedule-event--compact .schedule-event-time{flex:0 0 auto}.schedule-event--compact .schedule-event-copy{display:flex;align-items:center;flex:1 1 auto;min-width:0;gap:6px}.schedule-event-copy span,.schedule-event-copy strong{display:block}.schedule-event-copy strong{color:var(--ink);display:-webkit-box;overflow:hidden;font-size:12px;font-weight:650;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}.schedule-event--compact .schedule-event-time{line-height:1.1}.schedule-event--compact .schedule-event-copy strong{display:block;min-width:0;flex:1 1 auto;overflow:hidden;font-size:11px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.schedule-event--compact .schedule-event-copy span{display:block;min-width:0;flex:0 1 46%;margin-top:0;line-height:1.1}.schedule-event-copy span{overflow:hidden;margin-top:3px;color:currentColor;font-size:11px;font-weight:550;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.schedule-block-event{position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr);align-content:center;align-items:center;grid-gap:3px 10px;gap:3px 10px;border:1px dashed var(--line-strong);border-radius:8px;background:repeating-linear-gradient(135deg,rgba(148,163,184,.08) 0 2px,transparent 2px 8px),var(--surface-muted);color:var(--muted);padding:8px 12px;font-size:12px;font-weight:700;overflow:hidden;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:-webkit-grab;cursor:grab}.schedule-resize-handle{position:absolute;right:12px;bottom:4px;left:12px;height:8px;cursor:ns-resize}.schedule-resize-handle:after{position:absolute;right:38%;bottom:2px;left:38%;height:3px;border-radius:999px;background:currentColor;content:"";opacity:0;transition:opacity .15s ease}.schedule-block-event:focus-visible .schedule-resize-handle:after,.schedule-block-event:hover .schedule-resize-handle:after,.schedule-event--resizing .schedule-resize-handle:after,.schedule-event:focus-visible .schedule-resize-handle:after,.schedule-event:hover .schedule-resize-handle:after{opacity:.42}.schedule-block-event em,.schedule-block-event span,.schedule-block-event strong{display:block;grid-column:2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-block-event>svg{grid-row:1/span 3;width:18px;height:18px;align-self:center;color:var(--subtle)}.schedule-block-event em,.schedule-block-event span{font-size:11px;font-weight:600}.schedule-block-event em{color:currentColor;font-style:normal;opacity:.78}.schedule-block-event--compact{display:flex;align-items:center;gap:8px;margin-block:2px;padding:2px 10px}.schedule-block-event--compact .schedule-block-event__time{grid-column:auto;flex:0 0 auto;font-size:11px;line-height:1.1;white-space:nowrap}.schedule-block-event--compact strong{grid-column:auto;flex:1 1 auto;min-width:0;overflow:hidden;font-size:11px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.schedule-block-event--compact em{display:none}.schedule-block-event--compact .schedule-resize-handle{right:8px;bottom:0;left:8px;height:5px}.schedule-block-event--break,.schedule-block-event--time-off{background:repeating-linear-gradient(135deg,rgba(148,163,184,.08) 0 2px,transparent 2px 8px),var(--surface-muted);color:var(--muted)}.schedule-block-event--time-off{z-index:1;align-content:center;justify-items:center;gap:6px;border:1px dashed var(--line-strong);cursor:default;pointer-events:none}.schedule-event-list{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line);padding-top:4px}.schedule-event-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;grid-gap:14px;gap:14px;min-height:76px;padding:13px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.schedule-event-row:hover{background:var(--surface-muted)}.schedule-row-actions{justify-content:flex-end;gap:8px}.event-chip,.schedule-row-actions{display:inline-flex;align-items:center}.event-chip{min-width:72px;min-height:28px;justify-content:center;border-radius:6px;padding:0 10px;font-size:12px;font-weight:800;white-space:nowrap}.event-chip--break{background:var(--status-wait-bg);color:var(--status-wait-text)}.event-chip--blocked{background:#f0f1f3;color:#6b7280}.event-chip--open{background:var(--status-new-bg);color:var(--status-new-text)}.branch-load-list{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line);padding-top:4px}.branch-load-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;grid-gap:12px;gap:12px;min-height:78px;padding:14px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.branch-load-row:hover{background:var(--surface-muted)}.branch-load-row>em,.branch-load-row>strong{color:var(--muted);font-size:12px;font-style:normal;font-weight:800;white-space:nowrap}.branch-load-row .load-track{grid-column:1/-1}.payments-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;margin-top:16px}.payments-layout--single{grid-template-columns:1fr}.payments-metrics{margin-bottom:16px}.payments-table-panel{grid-column:1/-1;min-width:0}.payments-toolbar{display:grid;grid-gap:12px;gap:12px;margin-bottom:16px}.payments-toolbar__main{display:grid;grid-template-columns:minmax(320px,1fr);grid-gap:12px;gap:12px;align-items:center}.payments-toolbar__filters{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));grid-gap:10px;gap:10px;align-items:center}.payments-toolbar .primary-action{min-width:168px}.payments-table{table-layout:fixed}.payments-table td.row-action,.payments-table th.table-action-header{position:-webkit-sticky;position:sticky;right:0;z-index:3;background:#ffffff}.payments-table th.table-action-header{z-index:5}.payments-table tbody tr:hover td.row-action{background:var(--surface-muted)}.payments-table td{height:62px}.payments-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}.payments-table__row{cursor:pointer}.payments-table tbody tr:hover{background:var(--surface-muted);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.08)}.payments-table__row:focus-visible{outline:2px solid rgba(var(--accent-rgb),.28);outline-offset:-2px}.payments-table td{overflow:hidden;text-overflow:ellipsis}.amount-cell,.payment-id{color:var(--ink);font-size:13px}.payment-method-list,.reconciliation-list{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line);padding-top:4px}.payment-method-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;grid-gap:12px;gap:12px;min-height:76px;padding:13px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.payment-method-row:hover{background:var(--surface-muted)}.payment-method-row>em,.payment-method-row>strong{color:var(--muted);font-size:12px;font-style:normal;font-weight:800;white-space:nowrap}.payment-method-row .load-track{grid-column:1/-1}.reconciliation-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:12px;gap:12px;min-height:66px;padding:12px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.reconciliation-row:hover{background:var(--surface-muted)}.reconciliation-row>em{color:var(--muted);font-size:12px;font-style:normal;font-weight:600;white-space:nowrap}.payment-modal{width:min(620px,100%)}.payment-modal__body{max-width:none}.payment-form-stack{display:grid;grid-gap:14px;gap:14px}.payment-modal-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px;overflow:hidden;border:1px solid var(--line);border-radius:8px}.payment-modal-summary div{min-width:0;min-height:62px;background:#ffffff;padding:12px}.payment-modal-summary div:nth-child(odd){border-right:1px solid var(--line)}.payment-modal-summary div:not(:nth-last-child(-n+2)){border-bottom:1px solid var(--line)}.payment-modal-summary span,.payment-modal-summary strong{display:block}.payment-modal-summary span{color:var(--muted);font-size:12px;font-weight:500}.payment-modal-summary strong{overflow:hidden;margin-top:5px;color:var(--ink);font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.analytics-page-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;margin-top:16px}.analytics-filter-bar{display:flex;justify-content:flex-end;gap:10px;margin-top:28px;margin-bottom:16px}.analytics-filter-bar .filter-select{width:196px}.analytics-filter-bar+.metric-grid{margin-top:0}.analytics-main-card{min-width:0}.analytics-wide-panel{grid-column:1/-1}.analytics-master-list,.analytics-rank-list{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line);padding-top:4px}.analytics-rank-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;grid-gap:12px;gap:12px;min-height:72px;padding:12px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.analytics-rank-row:hover{background:var(--surface-muted)}.analytics-rank-row>em{color:var(--muted);font-size:12px;font-style:normal;font-weight:800}.analytics-rank-row>span{color:var(--muted);font-size:12px;font-weight:650;white-space:nowrap}.analytics-rank-row .load-track{grid-column:1/-1}.analytics-master-row{display:grid;grid-template-columns:minmax(150px,1fr) auto auto auto;align-items:center;grid-gap:12px;gap:12px;min-height:72px;padding:12px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.analytics-master-row:hover{background:var(--surface-muted)}.analytics-master-row>span,.analytics-master-row>strong{color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap}.analytics-master-row .load-track{grid-column:1/-1}.channel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px;border-top:1px solid var(--line);padding-top:16px}.channel-card{min-height:112px;display:grid;align-content:start;grid-gap:8px;gap:8px;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:14px;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.channel-card:hover{border-color:var(--line-strong);background:var(--surface-muted);box-shadow:0 12px 30px rgba(15,23,42,.07)}.channel-card strong{color:var(--ink);font-size:13px}.channel-card em,.channel-card span{color:var(--muted);font-size:12px;font-style:normal;font-weight:800}.settings-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;margin-top:16px}.settings-card{min-width:0}.settings-branch-list,.settings-list{display:grid;grid-gap:0;gap:0;border-top:1px solid var(--line);padding-top:4px}.settings-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:14px;gap:14px;min-height:58px;padding:12px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.settings-row:hover{background:var(--surface-muted)}.settings-row small,.settings-row span{display:block}.settings-row span{color:var(--ink);font-size:13px;font-weight:800}.settings-row small{margin-top:3px;color:var(--muted);font-size:12px;font-weight:700}.settings-row>strong{color:var(--muted);font-size:12px;font-weight:800;white-space:nowrap}.settings-row--stacked{min-height:70px}.settings-branch-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;grid-gap:12px;gap:12px;min-height:66px;padding:12px 0;border-bottom:1px solid var(--line);transition:background-color .15s ease}.settings-branch-row:hover{background:var(--surface-muted)}.settings-branch-row>strong{color:var(--muted);font-size:12px;white-space:nowrap}.settings-branch-row--link{color:inherit;text-decoration:none}.settings-branch-row--link svg{width:17px;height:17px;color:var(--muted)}.modal-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;background:rgba(16,19,26,.34);padding:24px}.settings-modal{width:min(560px,100%);max-height:calc(100vh - 48px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:visible;border:1px solid var(--line);border-radius:8px;background:#ffffff;box-shadow:0 28px 80px rgba(16,19,26,.22)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding:22px 22px 18px}.modal-header h2{margin:10px 0 0;font-size:18px;line-height:1.1}.modal-close{width:38px;height:38px;flex:0 0 38px;border-radius:8px}.modal-close svg{width:18px;height:18px}.settings-form{display:grid;grid-gap:14px;gap:14px;overflow-y:auto;padding:20px 22px 22px}.settings-field{display:grid;grid-gap:8px;gap:8px}.settings-field>span{color:var(--muted);font-size:12px;font-weight:500}.settings-field input,.settings-field textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);padding:0 13px;outline:none;font-size:14px;font-weight:500}.settings-field input{height:48px}.settings-field textarea{min-height:96px;padding:12px 13px;resize:vertical}.settings-field input:focus,.settings-field textarea:focus{border-color:var(--accent-muted);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.1)}.settings-field small{color:var(--muted);font-size:12px;font-weight:550;line-height:1.4}.settings-field .filter-select{width:100%}.settings-field .filter-select__button span,.settings-field .filter-select__option{font-weight:500}.appointment-cancellation-note{display:grid;grid-gap:5px;gap:5px;border:1px solid var(--line);border-radius:8px;background:var(--surface-muted);padding:12px 14px}.appointment-cancellation-note span{color:var(--muted);font-size:12px;font-weight:650}.appointment-cancellation-note strong{color:var(--ink);font-size:14px;font-weight:650}.appointment-cancellation-note p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.appointment-action-modal{width:min(520px,100%)}.appointment-action-modal__body{display:grid;grid-gap:16px;gap:16px;padding:18px 22px 22px}.appointment-action-modal__text{margin:0;padding:18px 22px 22px;color:var(--muted);font-size:14px;font-weight:550;line-height:1.5}.appointment-cancel-reasons{display:grid;grid-gap:8px;gap:8px}.appointment-cancel-reason{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-gap:10px;gap:10px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:0 12px;color:var(--ink);font-size:14px;font-weight:650;cursor:pointer}.appointment-cancel-reason:has(input:checked){border-color:var(--accent);background:var(--accent-muted)}.appointment-cancel-reason input{width:16px;height:16px;accent-color:var(--accent)}.danger-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #f0c6bf;border-radius:8px;background:#ffffff;color:#b42318;padding:0 18px;font:inherit;font-size:14px;font-weight:750;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}.danger-action:hover:not(:disabled){border-color:#e7a39a;background:#fff5f3}.danger-action:disabled{cursor:not-allowed;opacity:.55}.settings-toggle{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px;min-height:58px;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:12px}.settings-toggle input{width:18px;height:18px;accent-color:var(--accent)}.settings-toggle small,.settings-toggle strong{display:block}.settings-toggle strong{color:var(--ink);font-size:14px;font-weight:650}.settings-toggle small{margin-top:3px;color:var(--muted);font-size:12px;font-weight:550}.settings-readonly-value{display:flex;align-items:center;min-height:48px;border:1px solid var(--line);border-radius:8px;background:var(--surface-muted);color:var(--ink);padding:0 13px;font-size:14px;font-weight:650}.booking-rules-page-card{min-width:0;margin-top:16px}.booking-rules-form{display:grid;grid-gap:18px;gap:18px}.booking-rules-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding-bottom:16px}.booking-rules-actions p{max-width:640px;color:var(--muted);font-size:13px;font-weight:550;line-height:1.45}.booking-rule-section{display:grid;grid-gap:14px;gap:14px;border-bottom:1px solid var(--line);padding-bottom:18px}.booking-rule-section:last-child{border-bottom:0;padding-bottom:0}.booking-rule-section__head{display:flex;align-items:center;justify-content:space-between;gap:14px}.booking-rule-section__head h3{color:var(--ink);font-size:15px;font-weight:750}.booking-rule-section__head span{border-radius:6px;background:#f0f1f3;color:var(--muted);padding:5px 8px;font-size:11px;font-weight:750}.booking-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px;max-width:980px}.booking-rule-toggle-list,.notification-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;max-width:980px}.notification-status-card{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:78px;border:1px solid var(--line);border-radius:8px;background:var(--surface-muted);padding:14px}.notification-status-card small,.notification-status-card strong{display:block}.notification-status-card strong{color:var(--ink);font-size:14px;font-weight:750}.notification-status-card small{margin-top:4px;color:var(--muted);font-size:12px;font-weight:550;line-height:1.4}.settings-toggle input:disabled{cursor:not-allowed;opacity:.55}.settings-toggle:has(input:disabled){background:var(--surface-muted)}.service-archive-switch{display:inline-flex;align-items:center;width:-moz-fit-content;width:fit-content;min-height:48px}.service-archive-switch input{display:block;box-sizing:border-box;position:relative;width:50px!important;height:28px!important;appearance:none;-webkit-appearance:none;-moz-appearance:none;border:0!important;border-radius:14px!important;background:#d9dee7!important;box-shadow:inset 0 0 0 1px rgba(111,119,135,.12);cursor:pointer;padding:0!important;transition:background .15s ease}.service-archive-switch input:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:999px;background:#ffffff;box-shadow:0 2px 6px rgba(15,23,42,.18);transition:transform .15s ease}.service-archive-switch input:checked{background:var(--accent)!important;box-shadow:none}.service-archive-switch input:checked:after{transform:translateX(22px)}.service-archive-switch input:focus-visible{box-shadow:0 0 0 4px rgba(var(--accent-rgb),.18);outline:none}.service-archive-switch input:disabled{cursor:not-allowed;opacity:.62}.page-action-row{display:flex;justify-content:flex-start;margin-top:20px}.access-detail-page-card,.access-list-card{min-width:0;margin-top:16px}.access-list-header{align-items:flex-start}.access-list-header p{max-width:680px;color:var(--muted);font-size:13px;font-weight:550;line-height:1.45}.primary-action--small,.secondary-action--small{height:38px;padding:0 14px;font-size:13px;white-space:nowrap}.secondary-action--back{gap:8px;font-weight:700}.secondary-action--back svg{width:17px;height:17px}.access-role-list{display:grid;border:1px solid var(--line);border-radius:8px;overflow:hidden}.access-role-list-row{display:grid;grid-template-columns:190px minmax(0,1fr) 120px 110px 28px;align-items:center;grid-gap:16px;gap:16px;min-height:72px;border-bottom:1px solid var(--line);background:#ffffff;color:var(--muted);padding:12px 14px;font-size:13px;font-weight:600;transition:background-color .15s ease,color .15s ease}.access-role-list-row:last-child{border-bottom:0}.access-role-list-row:focus-visible,.access-role-list-row:hover{background:var(--surface-muted);color:var(--ink);outline:none}.access-role-list-row small,.access-role-list-row strong{display:block}.access-role-list-row strong{color:var(--ink);font-size:14px;font-weight:750}.access-role-list-row small{margin-top:3px;color:var(--muted);font-size:11px;font-weight:650}.access-role-list-row span:nth-child(3),.access-role-list-row span:nth-child(4){text-align:right}.access-role-list-row svg{justify-self:end;width:17px;height:17px}.access-detail-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line);padding-bottom:16px}.access-detail-page-card--schedule .access-detail-hero{border-bottom:0;padding-bottom:0}.access-detail-hero h2{color:var(--ink);font-size:20px;font-weight:750}.access-detail-hero p{margin-top:6px;color:var(--muted);font-size:14px;font-weight:550}.access-role-form{display:grid;grid-gap:16px;gap:16px}.access-role-fields{display:grid;grid-gap:14px;gap:14px;max-width:760px}.access-role-fields label{display:grid;grid-gap:7px;gap:7px}.access-role-fields label span{color:var(--muted);font-size:12px;font-weight:650}.access-role-fields input,.access-role-fields textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);font:inherit;font-size:14px;font-weight:500;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.access-role-fields input{height:48px;padding:0 14px}.access-role-fields textarea{min-height:110px;padding:12px 14px;resize:vertical}.access-role-fields input:focus,.access-role-fields textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.12)}.access-role-fields input:disabled,.access-role-fields textarea:disabled{background:var(--surface-soft);color:var(--muted);cursor:not-allowed}.access-role-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:0;gap:0;margin-top:16px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.access-role-meta-grid div{min-height:64px;border-right:1px solid var(--line);background:#ffffff;padding:12px}.access-role-meta-grid div:last-child{border-right:0}.access-role-meta-grid span,.access-role-meta-grid strong{display:block}.access-role-meta-grid span{color:var(--muted);font-size:12px;font-weight:550}.access-role-meta-grid strong{margin-top:5px;color:var(--ink);font-size:13px;font-weight:700}.access-permissions-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;border-top:1px solid var(--line);padding-top:18px}.access-permissions-header h3{color:var(--ink);font-size:16px;font-weight:750}.access-permissions-header span{color:var(--muted);font-size:13px;font-weight:650}.access-permission-flat-list{display:grid;margin-top:12px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.access-permission-group{display:grid;grid-gap:8px;gap:8px}.access-permission-group-title{color:var(--muted);font-size:12px;font-weight:800;letter-spacing:0}.access-permission-flat-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:18px;gap:18px;min-height:64px;border-bottom:1px solid var(--line);background:#ffffff;padding:12px 14px;transition:background-color .15s ease}.access-permission-flat-row:last-child{border-bottom:0}.access-permission-flat-row:hover{background:var(--surface-muted)}.access-permission-flat-row small,.access-permission-flat-row strong{display:block}.access-permission-flat-row strong{color:var(--ink);font-size:14px;font-weight:700}.access-permission-flat-row small{margin-top:3px;color:var(--muted);font-size:12px;font-weight:550;line-height:1.35}.access-permission-flat-row input{width:17px;height:17px;accent-color:var(--accent)}.access-permission-flat-row input:disabled{opacity:.55;cursor:not-allowed}.branch-list-row{grid-template-columns:190px minmax(0,1fr) 120px auto 28px}.branch-list-row>span:nth-child(3){text-align:right}.branch-list-row>.status{justify-self:end;text-align:left}.branch-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}.branch-detail-fields .filter-select{width:100%}.client-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.client-detail-fields .filter-select{width:100%}.client-detail-fields .filter-select__button,.client-detail-fields .filter-select__button span{color:var(--ink);font-size:14px;font-weight:500}.client-page-tabs{display:inline-flex;gap:2px;width:-moz-fit-content;width:fit-content;margin-top:12px;margin-bottom:4px;border:1px solid var(--line);border-radius:8px;background:#ffffff;padding:4px}.client-card-tab{min-height:34px;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;font-size:13px;font-weight:600;padding:0 14px;transition:background-color .15s ease,color .15s ease}.client-card-tab:focus-visible,.client-card-tab:hover{color:var(--ink);outline:none}.client-card-tab--active{background:var(--surface-soft);color:var(--ink)}.client-history-table-wrap{margin-top:12px}.client-history-toolbar{display:grid;grid-template-columns:minmax(280px,1.35fr) repeat(3,minmax(150px,.75fr));grid-gap:8px;gap:8px;margin:12px 0 14px}.client-history-toolbar .filter-select,.client-history-toolbar .local-search{min-width:0;width:100%}.client-history-table{min-width:860px;table-layout:fixed}.client-history-table td:first-child,.client-history-table th:first-child{width:220px}.client-history-table td:nth-child(2),.client-history-table td:nth-child(3),.client-history-table th:nth-child(2),.client-history-table th:nth-child(3){width:150px}.client-history-table td:nth-child(4),.client-history-table th:nth-child(4){width:130px}.client-history-table td:nth-child(5),.client-history-table td:nth-child(6),.client-history-table th:nth-child(5),.client-history-table th:nth-child(6){width:120px}.client-history-table .sortable-th{width:100%}.client-history-table td{height:58px;color:var(--ink);font-size:13px;font-weight:500}.client-history-table td>small,.client-history-table td>span:not(.status),.client-history-table td>strong{display:block}.client-history-table td>strong{color:var(--ink);display:-webkit-box;overflow:hidden;font-size:13px;font-weight:650;line-height:1.3;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.client-history-table td>span:not(.status){margin-top:3px;color:var(--muted);font-size:12px;font-weight:450}.client-history-table td>small{margin-top:5px;color:var(--muted);font-size:12px;font-weight:450}.client-history-table tbody tr{transition:background-color .15s ease,box-shadow .15s ease}.client-history-row{cursor:pointer}.client-history-table tbody tr:hover{background:var(--surface-muted);box-shadow:inset 0 0 0 1px rgba(var(--accent-rgb),.08)}.client-history-table .status{width:auto}.client-history-muted{color:var(--muted);font-size:13px;font-weight:450}.client-history-footer{margin-top:12px}.client-notes-field{grid-column:1/-1}.client-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;width:100%}.client-summary-card{min-height:92px;display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:#ffffff}.client-summary-card__icon{width:44px;height:44px;display:grid;flex:0 0 auto;place-items:center;border-radius:8px;background:#f1f3f5;color:var(--muted)}.client-summary-card__icon svg{width:21px;height:21px}.client-summary-card small,.client-summary-card span{display:block}.client-summary-card span{color:var(--muted);font-size:12px;font-weight:650;line-height:1.25}.client-summary-card strong{display:block;margin-top:5px;color:var(--ink);font-size:18px;font-weight:750;line-height:1.2}.client-summary-card small{margin-top:5px;color:var(--muted);font-size:11px;font-weight:550;line-height:1.25}.client-warning-modal{width:min(520px,100%)}.client-warning-body{padding:20px 22px}.client-warning-body p{max-width:44rem;color:var(--muted);font-size:14px;font-weight:450;line-height:1.5}.client-history-row{grid-template-columns:minmax(0,1fr) 150px}.client-history-side{display:grid;justify-items:end;grid-gap:6px;gap:6px}.client-history-statuses{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.client-history-side strong{color:var(--ink);font-size:13px;font-weight:650}.client-empty-state{min-height:54px;padding:16px 14px;color:var(--muted);font-size:13px;font-weight:450}.branch-schedule-controls{display:grid;grid-template-columns:18px 112px 112px;align-items:center;grid-gap:10px;gap:10px}.branch-schedule-controls .filter-select{width:112px;height:40px;box-shadow:none}.branch-working-hours-panel,.staff-schedule-section,.staff-schedule-stack{display:grid;grid-gap:14px;gap:14px}.branch-working-hours-panel,.staff-schedule-section{padding-top:4px}.branch-schedule-editor{display:grid;grid-template-columns:minmax(160px,1fr) 132px 132px auto;align-items:end;grid-gap:12px;gap:12px}.branch-schedule-editor label{display:grid;grid-gap:7px;gap:7px}.branch-schedule-editor label>span{color:var(--muted);font-size:12px;font-weight:650}.branch-schedule-editor input{width:100%;height:42px;border:1px solid #e3dbd1;border-radius:8px;background:#ffffff;color:var(--ink);font:inherit;font-size:14px;padding:0 12px}.branch-schedule-editor input:focus{border-color:rgba(var(--accent-rgb),.55);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.1);outline:none}.branch-schedule-editor .filter-select{width:100%}.branch-working-hours-list,.staff-schedule-list{margin-top:0}.branch-working-hours-row{grid-template-columns:72px minmax(0,1fr) auto auto}.staff-schedule-editor{grid-template-columns:minmax(180px,1.2fr) minmax(160px,1fr) 132px 132px auto}.staff-schedule-editor--block,.staff-schedule-editor--time-off{grid-template-columns:minmax(170px,1fr) minmax(175px,1fr) minmax(175px,1fr) minmax(180px,1fr) auto}.staff-schedule-row{grid-template-columns:72px minmax(160px,1fr) minmax(120px,.7fr) auto auto}.staff-schedule-row--period{grid-template-columns:minmax(130px,.8fr) minmax(220px,1.2fr) minmax(160px,1fr) auto auto}.staff-schedule-hint{margin:10px 0 0;color:var(--muted);font-size:13px;font-weight:700}.staff-schedule-hint--warning{color:var(--danger)}.access-permissions-table{display:grid;margin-top:14px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.access-permission-section{display:grid;grid-template-columns:180px minmax(0,1fr);border-bottom:1px solid var(--line)}.access-permission-section:last-child{border-bottom:0}.access-permission-section h3{border-right:1px solid var(--line);background:var(--surface-muted);color:var(--ink);padding:16px 14px;font-size:13px;font-weight:700}.access-permission-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-gap:14px;gap:14px;min-height:58px;border-bottom:1px solid var(--line);background:#ffffff;padding:11px 14px;transition:background-color .15s ease}.access-permission-line:last-child{border-bottom:0}.access-permission-line:hover{background:var(--surface-muted)}.access-permission-line small,.access-permission-line strong{display:block}.access-permission-line strong{color:var(--ink);font-size:13px;font-weight:700}.access-permission-line small{margin-top:3px;color:var(--muted);font-size:12px;font-weight:550;line-height:1.35}.access-permission-line input{width:17px;height:17px;accent-color:var(--accent)}.access-permission-line input:disabled{opacity:.55;cursor:not-allowed}.settings-modal .section-kicker{font-weight:600}.settings-modal h2{font-weight:650}.modal-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:16px 22px 22px}.secondary-action{height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);padding:0 16px;font-size:13px;font-weight:600}.secondary-action:focus-visible,.secondary-action:hover{border-color:var(--line-strong);background:var(--surface-soft);outline:none}.modal-actions .primary-action{min-width:130px;height:42px}.secondary-action--danger{border-color:#f1c7c2;color:var(--danger)}.secondary-action--danger:focus-visible,.secondary-action--danger:hover{border-color:#e7aaa3;background:#fff4f2}.schedule-block-modal{width:min(640px,100%)}.schedule-block-modal__body{overflow:auto;padding:20px 22px 22px}.schedule-block-form-error{margin-bottom:14px}.schedule-block-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.schedule-block-form-grid label{display:grid;grid-gap:7px;gap:7px}.schedule-block-form-grid label>span{color:var(--muted);font-size:12px;font-weight:650}.schedule-block-form-grid input,.schedule-block-form-grid select{width:100%;height:48px;border:1px solid var(--line);border-radius:8px;background:#ffffff;color:var(--ink);padding:0 14px;font:inherit;font-size:14px;font-weight:500;outline:none}.schedule-block-form-grid input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.12)}.schedule-block-form-grid input:disabled{background:var(--surface-soft);color:var(--muted);cursor:not-allowed}.schedule-block-time-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.schedule-block-form-grid select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.12)}.schedule-block-reason-field{grid-column:1/-1}.schedule-block-form-hint{margin:12px 0 0;color:var(--muted);font-size:12px;font-weight:600}.schedule-block-form-hint--danger{color:var(--danger)}.schedule-block-modal__actions{align-items:center}.schedule-block-modal__actions .secondary-action--danger{margin-right:auto}.login-brand h1,.login-panel__header h2,.workspace h1{font-weight:700}.access-detail-hero h2,.access-permissions-header h3,.booking-rule-section__head h3,.panel h2,.sidebar-brand{font-weight:650}.filter-button,.filter-select__option,.ghost-button,.local-search,.login-form label,.nav-item,.primary-action,.primary-button,.row-menu__content a,.secondary-action,.text-action{font-weight:600}.access-permission-flat-row strong,.access-permission-line strong,.access-role-list-row strong,.channel-card strong,.client-cell strong,.metric-card span,.notification-status-card strong,.retention-row strong,.row-copy strong,.service-name-cell strong,.settings-row span,.settings-toggle strong{font-weight:650}.analytics-value,.chart-value,.metric-value,.panel-number{font-weight:700}.analytics-master-row>span,.analytics-master-row>strong,.analytics-rank-row>em,.analytics-summary span,.branch-load-row>em,.branch-load-row>strong,.channel-card em,.channel-card span,.chart-period,.day-card small,.day-card span,.event-chip,.load-row>span,.metric-value em,.payment-method-row>em,.payment-method-row>strong,.queue-time,.retention-footer,.retention-row em,.retention-row span,.row-status,.segment-row em,.segment-row strong,.sortable-th,.status,.week-card em,.week-card small,.week-card span{font-weight:600}.access-permissions-header span,.access-role-fields label span,.access-role-list-row small,.branch-schedule-controls .filter-select__button span,.category-row>strong,.chart-bar-item small,.chart-summary,.growth-point small,.master-service-row>strong,.role-row>strong,.segment-row,.settings-field>span,.settings-row small,.settings-row>strong,th{font-weight:500}.access-detail-hero p,.access-list-header p,.access-permission-flat-row small,.access-permission-line small,.access-role-meta-grid span,.booking-rules-actions p,.client-cell div>span,.notification-status-card small,.row-copy span,.row-meta,.settings-field small,.settings-toggle small{font-weight:450}.row-status,.status{min-height:24px;padding:3px 9px}.primary-action,.primary-button{box-shadow:0 10px 20px rgba(var(--accent-rgb),.16)}.filter-select,.global-search{box-shadow:none}@media (max-width:1180px){.crm-shell{grid-template-columns:76px 1fr}.sidebar{padding:22px 10px}.nav-item--active,.nav-item:not(.nav-item--active),.sidebar-brand span{font-size:0}.sidebar-nav-slot{display:none}.nav-item{justify-content:center;padding:0;height:44px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-attention-row,.dashboard-grid{grid-template-columns:1fr}.dashboard-attention-row{gap:8px}.dashboard-attention-row .task-action{justify-content:flex-start}.clients-layout{grid-template-columns:1fr}.clients-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.appointments-layout,.appointments-toolbar__filters,.appointments-toolbar__main{grid-template-columns:1fr}.appointments-toolbar .primary-action,.columns-config__button{width:100%}.staff-form-shell--tabs,.staff-form-shell--wizard,.staff-page-layout{grid-template-columns:1fr}.staff-side-tabs,.staff-stepper{position:static;grid-template-columns:repeat(4,minmax(0,1fr))}.service-category-editor,.services-layout{grid-template-columns:1fr}.service-category-editor__actions{justify-content:flex-start}.schedule-workspace{grid-template-columns:1fr}.schedule-control-panel,.schedule-grid-panel,.schedule-week-panel{grid-column:1}.schedule-control-panel .schedule-toolbar{grid-template-columns:1fr}.schedule-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-block-form-grid,.schedule-layout{grid-template-columns:1fr}.schedule-month-day{min-height:120px;padding:12px}.schedule-month-header{grid-template-columns:auto minmax(0,1fr)}.schedule-month--bulk{grid-template-columns:minmax(0,1fr) 320px}.schedule-month-header__controls{grid-column:1/-1}.analytics-filter-bar,.analytics-page-layout,.payments-layout{grid-template-columns:1fr}.analytics-filter-bar{display:grid}.channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.access-permission-section,.access-role-fields,.access-role-list-row,.access-role-meta-grid,.appointment-create-fields,.booking-rule-grid,.booking-rule-toggle-list,.branch-detail-fields,.branch-schedule-editor,.branch-working-hours-row,.client-detail-fields,.client-history-row,.client-summary-grid,.notification-status-grid,.settings-layout,.staff-master-fields,.staff-profile-grid,.staff-profile-master,.staff-schedule-editor,.staff-schedule-editor--block,.staff-schedule-editor--time-off,.staff-schedule-row,.staff-schedule-row--period,.staff-service-row{grid-template-columns:1fr}.booking-rules-actions{align-items:flex-start;flex-direction:column}.appointment-date-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.access-role-list-row{gap:6px}.access-role-list-row span:nth-child(3),.access-role-list-row span:nth-child(4),.access-role-list-row svg{justify-self:start;text-align:left}.branch-working-hours-row,.staff-schedule-row,.staff-schedule-row--period{gap:8px}.branch-working-hours-row .secondary-action,.staff-schedule-row .secondary-action,.staff-schedule-row--period .secondary-action{justify-content:center;width:100%}.staff-service-list-head{display:none}.service-master-config,.staff-service-config{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-service-config{justify-self:stretch}.client-history-side{justify-items:start}.client-history-statuses{justify-content:flex-start}.client-history-toolbar{grid-template-columns:1fr}.access-permissions-header{align-items:flex-start;flex-direction:column;gap:6px}.branch-schedule-controls{grid-template-columns:18px minmax(0,1fr) minmax(0,1fr);width:100%}.branch-schedule-controls .filter-select{width:100%}.access-permission-section h3,.access-role-meta-grid div{border-right:0}.access-role-meta-grid div{border-bottom:1px solid var(--line)}.staff-profile-grid div,.staff-profile-master div:first-child{border-right:0;border-bottom:1px solid var(--line)}.access-role-meta-grid div:last-child,.staff-profile-grid div:last-child,.staff-profile-master div:last-child{border-bottom:0}}@media (max-width:760px){.schedule-month{margin-top:12px}.schedule-month-panel{border-radius:0}.schedule-month-header{align-items:flex-start;grid-template-columns:1fr}.schedule-month-header__controls{display:grid;grid-template-columns:1fr;width:100%}.schedule-branch-select,.schedule-bulk-trigger,.schedule-master-select{width:100%}.schedule-month-actions{display:grid;grid-template-columns:42px auto 42px;width:100%;order:0}.schedule-master-select{justify-self:stretch;width:100%}.schedule-month-grid{grid-template-columns:repeat(7,minmax(128px,1fr));overflow-x:auto}.schedule-month-day,.schedule-month-weekday{min-width:128px}.schedule-month-day{min-height:118px}.schedule-bulk-drawer{position:static;max-height:none;grid-row:1}.schedule-month--bulk{grid-template-columns:1fr}.schedule-day-modal .modal-actions{display:grid;grid-template-columns:1fr}.schedule-day-master-list,.schedule-individual-day-options{grid-template-columns:1fr}.schedule-day-open-button{margin-right:0}.login-shell{grid-template-columns:1fr;overflow-x:hidden}.login-brand{min-height:320px;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:16px;padding:32px 24px}.login-brand,.login-panel{width:100%;max-width:100vw}.login-brand{align-items:flex-start}.login-brand h1,.workspace h1{font-size:30px}.login-copy{max-width:100%;font-size:16px}.login-panel{padding:32px 24px}.login-panel__header h2{font-size:30px}.login-row{min-width:0;align-items:flex-start;flex-direction:column;gap:12px}.primary-button{width:100%}.staff-side-tabs,.staff-stepper{grid-template-columns:1fr}.crm-shell{display:block}.sidebar{display:none}.workspace{padding:0 0 calc(82px + env(safe-area-inset-bottom))}.topbar{display:none}.mobile-topbar{position:-webkit-sticky;position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;margin:0 0 12px;border-bottom:1px solid rgba(228,222,213,.82);background:rgba(255,255,255,.94);padding:calc(8px + env(safe-area-inset-top)) 14px 8px;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.mobile-brand .sidebar-logo{display:none}.mobile-brand strong{font-size:24px}.mobile-topbar .icon-button{width:40px;height:40px;border-radius:999px;box-shadow:inset 0 0 0 1px var(--line)}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:50;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:0;gap:0;border-top:1px solid rgba(216,205,191,.9);background:#ffffff;padding:7px 0 calc(7px + env(safe-area-inset-bottom));box-shadow:0 -10px 30px rgba(15,23,42,.1)}.mobile-nav-item{min-width:0;width:100%;min-height:54px;display:grid;justify-self:stretch;place-items:center;align-content:center;grid-gap:3px;gap:3px;border:0;background:transparent;color:var(--muted);font-size:9px;font-weight:750;line-height:1;padding:0 2px;outline:none}}@media (max-width:760px){.mobile-nav-item:focus-visible{color:var(--accent-dark)}.mobile-nav-item svg{width:19px;height:19px}.mobile-nav-item span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-nav-item--active{color:var(--accent-dark);font-weight:850}.mobile-more-nav{min-width:0;position:static}.mobile-more-nav summary{list-style:none;outline:none}.mobile-more-nav summary::-webkit-details-marker{display:none}.mobile-more-menu{position:fixed;left:0;right:0;bottom:calc(69px + env(safe-area-inset-bottom));z-index:49;display:grid;grid-gap:6px;gap:6px;border-top:1px solid rgba(216,205,191,.9);background:rgba(255,255,255,.98);padding:14px 14px 16px;box-shadow:0 -18px 44px rgba(15,23,42,.14);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-more-menu__header{justify-content:space-between;margin-bottom:2px;font-size:15px}.mobile-more-link,.mobile-more-menu__header{display:flex;align-items:center;color:var(--ink)}.mobile-more-link{min-height:46px;gap:12px;border-radius:12px;padding:0 12px;font-size:14px;font-weight:750}.mobile-more-link svg{width:19px;height:19px;color:var(--muted)}.mobile-more-link--active{background:#eef5ff;color:var(--accent-dark)}.mobile-more-link--active svg{color:var(--accent-dark)}.skeleton-profile,.skeleton-search{width:100%}.skeleton-form,.skeleton-list-row,.skeleton-schedule-row{grid-template-columns:1fr}.dashboard-context,.organization-switcher{align-items:stretch;flex-direction:column}.organization-switcher select{width:100%;max-width:100%}.metric-grid,.staff-row{grid-template-columns:1fr}.clients-aside,.clients-toolbar__filters,.clients-toolbar__main,.repeat-content{display:grid;grid-template-columns:1fr}.clients-table-panel,.payments-table-panel,.service-categories-card,.services-table-panel,.staff-table-panel{border-right:0;border-left:0;border-radius:0;box-shadow:none;padding:14px}.clients-toolbar,.payments-toolbar,.services-toolbar,.staff-toolbar{gap:8px;margin-bottom:14px}.payments-toolbar__filters,.payments-toolbar__main,.services-toolbar,.staff-toolbar{display:grid;grid-template-columns:1fr}.clients-toolbar .filter-select,.clients-toolbar .local-search,.clients-toolbar .primary-action,.payments-toolbar .filter-select,.payments-toolbar .local-search,.services-toolbar .filter-select,.services-toolbar .local-search,.services-toolbar .primary-action,.staff-toolbar .filter-select,.staff-toolbar .local-search,.staff-toolbar .primary-action{width:100%;flex:none}.clients-toolbar .primary-action,.services-toolbar .primary-action,.staff-toolbar .primary-action{height:46px;border-radius:10px}.clients-table,.staff-table{min-width:0!important}.clients-table colgroup,.clients-table thead,.payments-table,.service-category-table,.services-table,.staff-table thead{display:none}.mobile-payments-list,.mobile-service-category-list,.mobile-services-list{display:grid;grid-gap:10px;gap:10px}.mobile-payment-card,.mobile-service-card,.mobile-service-category-card{display:grid;grid-gap:10px;gap:10px;border:1px solid var(--line);border-radius:14px;background:#ffffff;padding:14px}.mobile-payment-card--clickable{cursor:pointer}.mobile-payment-card__head,.mobile-service-card__head,.mobile-service-category-card{grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:10px}.mobile-payment-card__head,.mobile-service-card__head{display:grid}.mobile-payment-card__head h3,.mobile-service-card__head h3,.mobile-service-category-card .service-category-name-button,.mobile-service-category-card h3{margin:0;color:var(--ink);font-size:15px;font-weight:750;line-height:1.15}.mobile-payment-card__head span,.mobile-service-card__head span,.mobile-service-category-card span:not(.status){display:block;margin-top:5px;color:var(--muted);font-size:12px;font-weight:550;line-height:1.2}.mobile-payment-card__head .row-menu,.mobile-service-card__head .row-menu{justify-content:flex-end}.mobile-payment-card__head .action-button,.mobile-service-card__head .action-button{width:34px;height:34px}.mobile-service-card__meta{display:flex;flex-wrap:wrap;gap:6px}.mobile-payment-card__meta,.mobile-payment-card__service,.mobile-service-card__meta span{color:var(--muted);font-size:12px;font-weight:650;line-height:1.2}.mobile-service-card__meta span{min-height:24px;display:inline-flex;align-items:center;border-radius:8px;background:var(--surface-soft);padding:4px 9px;font-size:11px}.mobile-payment-card__badges .status,.mobile-service-card>.status,.mobile-service-category-card .status{width:max-content;max-width:100%;min-height:24px;padding:4px 9px;font-size:11px;font-weight:650}.mobile-service-category-card .secondary-action{width:auto;min-width:104px;height:36px;align-self:start}.mobile-service-category-card--selectable{grid-template-columns:max-content minmax(0,1fr);align-items:start}.mobile-payment-card__amount{color:var(--ink);font-size:14px;font-weight:750;line-height:1.2}.mobile-payment-card__badges{display:flex;flex-wrap:wrap;gap:6px}.clients-table,.clients-table tbody,.clients-table td,.clients-table tr,.staff-table,.staff-table tbody,.staff-table td,.staff-table tr{display:block;width:100%}.clients-table tbody,.staff-table tbody{display:grid;grid-gap:10px;gap:10px}.clients-table tr,.staff-table tr{position:relative;border:1px solid var(--line);border-radius:14px;background:#ffffff;padding:14px 42px 14px 14px}.clients-table td,.staff-table td{height:auto;border-bottom:0;padding:0;white-space:normal}.clients-table td:not(.client-main-cell):not(.table-selection-cell):not(.row-action),.staff-table td:not(:first-child):not(.row-action):not(.mobile-staff-card-details){display:none}.clients-table .mobile-client-card-main,.mobile-staff-card-main{display:grid;grid-gap:0;gap:0;min-width:0}.clients-table .desktop-client-person,.staff-table .staff-name-link>.person{display:none}.clients-table .person{gap:0}.clients-table .person span,.mobile-staff-card-main strong{color:var(--ink);font-size:15px;font-weight:800;line-height:1.15}.clients-table .mobile-client-master,.clients-table .mobile-client-phone,.clients-table .mobile-client-stats{display:block}.clients-table .mobile-client-phone,.mobile-staff-card-main span{margin-top:5px;color:var(--muted);font-size:12px;font-weight:550}.clients-table .mobile-client-master,.mobile-staff-card-main em{margin-top:10px;color:var(--ink);font-size:13px;font-style:normal;font-weight:700}.clients-table .mobile-client-stats{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.clients-table .mobile-client-stats span{min-height:24px;display:inline-flex;align-items:center;border-radius:999px;background:var(--surface-soft);color:var(--muted);padding:0 9px;font-size:11px;font-weight:700}.clients-table .mobile-client-card-main>.status{width:max-content;max-width:100%;margin-top:10px}.mobile-staff-card-details{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px 12px;gap:10px 12px;margin-top:12px}.mobile-staff-card-details div{min-width:0}.mobile-staff-card-details div span{display:block;color:var(--muted);font-size:10px;font-weight:700;line-height:1.15;text-transform:uppercase}.mobile-staff-card-details div strong{display:block;margin-top:4px;color:var(--ink);font-size:13px;font-weight:650;line-height:1.2}.mobile-staff-card-details>.status{grid-column:1/-1;width:max-content;max-width:100%;min-height:24px;padding:4px 9px;font-size:11px;font-weight:650}.clients-table .table-selection-cell{position:absolute;top:16px;right:14px;width:auto;display:block}.clients-table thead .table-selection-cell{display:none}.clients-table .row-action,.staff-table .row-action{position:absolute;top:10px;right:10px;width:34px}.clients-table .row-action .row-menu,.staff-table .row-action .row-menu{justify-content:flex-end}.clients-table .row-action .action-button,.staff-table .row-action .action-button{width:34px;height:34px}.staff-table .staff-name-link{display:block}.staff-off-row td{background:transparent}.appointment-date-picker,.appointment-date-strip{grid-template-columns:1fr}.appointments-task-row{grid-template-columns:52px minmax(0,1fr)}.appointments-task-row .task-action{grid-column:2;justify-self:start}.appointments-board{border-right:0;border-left:0;border-radius:0;box-shadow:none;padding:14px}.appointments-toolbar,.appointments-toolbar__filters,.appointments-toolbar__main{display:grid;grid-template-columns:1fr;grid-gap:8px;gap:8px}.appointments-date-input,.appointments-toolbar .filter-select,.appointments-toolbar .local-search,.appointments-toolbar .primary-action{width:100%}.appointments-toolbar .primary-action{height:46px;border-radius:10px}.bookings-table{display:none}.mobile-appointments-list{display:grid;grid-gap:10px;gap:10px}.mobile-appointment-card{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr);grid-gap:12px;gap:12px;border:1px solid var(--line);border-radius:14px;background:#ffffff;cursor:pointer;padding:14px}.mobile-appointment-card:focus-visible{border-color:var(--accent-muted);box-shadow:0 0 0 3px rgba(var(--accent-rgb),.1);outline:none}.mobile-appointment-card--archived{background:var(--surface-muted)}.mobile-appointment-card__time{color:var(--ink);font-size:15px;font-weight:800;line-height:1.15}.mobile-appointment-card__checkbox{position:absolute;top:12px;right:12px}.mobile-appointment-card__body{display:grid;grid-gap:10px;gap:10px;min-width:0}.mobile-appointment-card__head{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start;grid-gap:10px;gap:10px}.mobile-appointment-card__head h3{margin:0;color:var(--ink);font-size:15px;font-weight:750;line-height:1.15}.mobile-appointment-card__head span,.mobile-appointment-card__meta span{color:var(--muted);font-size:12px;font-weight:650;line-height:1.2}.mobile-appointment-card__head span{display:block;margin-top:5px}.mobile-appointment-card__head .action-button{width:34px;height:34px}.mobile-appointment-card__badges,.mobile-appointment-card__meta{display:flex;flex-wrap:wrap;gap:6px}.mobile-appointment-card__meta span{min-height:24px;display:inline-flex;align-items:center;border-radius:8px;background:var(--surface-soft);padding:4px 9px;font-size:11px}.mobile-appointment-card__badges .status{width:max-content;max-width:100%;min-height:24px;padding:4px 9px;font-size:11px;font-weight:650}}