:root{color:#0f172a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f5f7fb;font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}html,body,#root{max-width:100%;min-height:100%}html,body{overflow-x:hidden}body{background:#f5f7fb;margin:0}body.ui-locked{overflow:hidden}button,input,select,textarea{font:inherit}a{color:inherit}img,svg,video,canvas{max-width:100%}.custom-select{min-width:140px;max-width:100%;display:inline-flex;position:relative}.custom-select__trigger{color:#0f172a;width:100%;min-height:44px;font:inherit;cursor:pointer;text-align:left;background:linear-gradient(#fff 0%,#fbfcfd 100%);border:1px solid #d6dee8;border-radius:12px;outline:none;justify-content:space-between;align-items:center;gap:10px;padding:0 14px;font-size:.9rem;font-weight:500;transition:border-color .18s,box-shadow .18s,background .18s,transform .12s;display:inline-flex;box-shadow:0 1px 2px #0f172a0a,inset 0 1px #ffffffb3}.custom-select__label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.custom-select__trigger:hover{background:#fafbfc;border-color:#b8c4d4}.custom-select__trigger:active:not(:disabled){transform:translateY(1px)}.custom-select--open .custom-select__trigger,.custom-select__trigger:focus-visible{background:#fff;border-color:#1f7aff8c;box-shadow:0 0 0 3px #1f7aff1f,0 1px 2px #0f172a0a}.custom-select__placeholder{color:#94a3b8;font-weight:400}.custom-select__chevron{color:#94a3b8;flex-shrink:0;transition:transform .22s cubic-bezier(.4,0,.2,1),color .15s}.custom-select--open .custom-select__chevron{color:#1f7aff;transform:rotate(180deg)}.custom-select__menu{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;background:#fffffffa;border:1px solid #e2e8f0f2;border-radius:14px;margin:0;padding:6px;list-style:none;animation:.16s cubic-bezier(.4,0,.2,1) selectSlideIn;overflow:auto;box-shadow:0 4px 6px #0f172a0a,0 16px 40px #0f172a24}.custom-select__menu--up{animation-name:selectSlideInUp}.custom-select__menu::-webkit-scrollbar{width:6px}.custom-select__menu::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}@keyframes selectSlideIn{0%{opacity:0;transform:translateY(-6px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes selectSlideInUp{0%{opacity:0;transform:translateY(6px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.custom-select__option{color:#334155;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:.9rem;transition:background .12s,color .12s;display:flex}.custom-select__option-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.custom-select__option:hover,.custom-select__option--active{color:#0f172a;background:#f1f5f9}.custom-select__option--selected{color:#1f7aff;background:#1f7aff14;font-weight:600}.custom-select__option--selected:hover,.custom-select__option--selected.custom-select__option--active{color:#1766d9;background:#1f7aff24}.custom-select__check{color:#1f7aff;flex-shrink:0}.custom-select--sm{min-width:120px}.custom-select--sm .custom-select__trigger{border-radius:10px;min-height:36px;padding:0 12px;font-size:.84rem}.custom-select--sm .custom-select__menu{border-radius:12px;padding:4px}.custom-select--sm .custom-select__option{border-radius:8px;padding:8px 10px;font-size:.84rem}.custom-select--lg .custom-select__trigger{min-height:48px;padding:0 18px;font-size:.95rem}.custom-select--ghost .custom-select__trigger{box-shadow:none;background:0 0;border-color:#0000}.custom-select--ghost .custom-select__trigger:hover{background:#f1f5f9;border-color:#0000}.custom-select--ghost.custom-select--open .custom-select__trigger{box-shadow:none;background:#f1f5f9;border-color:#0000}.custom-select--pill .custom-select__trigger{color:#475569;min-height:38px;box-shadow:none;background:#f8fafc;border-color:#e2e8f0;border-radius:999px;padding:0 14px 0 16px;font-size:.86rem;font-weight:600}.custom-select--pill .custom-select__trigger:hover{color:#334155;background:#f1f5f9;border-color:#cbd5e1}.custom-select--pill.custom-select--open .custom-select__trigger{color:#1f7aff;background:#fff;border-color:#1f7aff73;box-shadow:0 0 0 3px #1f7aff1a}.custom-select--pill .custom-select__chevron{width:14px;height:14px}.custom-select--status{min-width:108px}.custom-select--status .custom-select__trigger{text-transform:capitalize;min-height:32px;box-shadow:none;color:#475569;background:#eef2f7;border:1px solid #0000;border-radius:999px;padding:0 10px 0 12px;font-size:.82rem;font-weight:700}.custom-select--status .custom-select__trigger:hover{filter:brightness(.97)}.custom-select--status.custom-select--open .custom-select__trigger{box-shadow:0 0 0 3px #0f172a14}.custom-select--status .custom-select__chevron{opacity:.7;width:14px;height:14px}.custom-select--tone-green .custom-select__trigger{color:#15803d;background:#16a34a1f;border-color:#16a34a2e}.custom-select--tone-blue .custom-select__trigger{color:#1f7aff;background:#1f7aff1f;border-color:#1f7aff2e}.custom-select--tone-red .custom-select__trigger{color:#b91c1c;background:#ef44441f;border-color:#ef44442e}.custom-select--tone-gray .custom-select__trigger{color:#475569;background:#eef2f7;border-color:#e2e8f0}.custom-select--disabled{opacity:.55;pointer-events:none}.field .custom-select,.detail-grid .custom-select{width:100%}.panel-head .custom-select--pill,.cell-with-status .custom-select--status{flex-shrink:0}.page-loader{color:#0f172a}.page-loader--full{background:radial-gradient(circle at 0 0,#1f7aff1f,#0000 34%),radial-gradient(circle at 100% 100%,#6366f11a,#0000 30%),#f5f7fb;place-items:center;min-height:100vh;padding:24px;display:grid}.page-loader__card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);text-align:center;background:#ffffffeb;border:1px solid #e2e8f0f2;border-radius:20px;width:min(100%,360px);padding:32px 28px;animation:.35s loaderCardIn;box-shadow:0 10px 30px #0f172a14,0 2px 8px #0f172a0a}.page-loader__brand{flex-direction:column;align-items:center;gap:14px;margin-bottom:22px;display:flex}.page-loader__logo-wrap{width:72px;height:72px;position:relative}.page-loader__logo{object-fit:cover;z-index:1;border-radius:18px;width:72px;height:72px;display:block;position:relative;box-shadow:0 8px 20px #1f7aff2e}.page-loader__ring{border:2px solid #1f7aff24;border-top-color:#1f7aff;border-radius:22px;animation:.9s linear infinite loaderSpin;position:absolute;inset:-6px}.page-loader__brand-text{gap:4px;display:grid}.page-loader__brand-text strong{color:#0f172a;font-size:1.25rem}.page-loader__brand-text span{color:#64748b;font-size:.92rem}.page-loader__bar{background:#e8eef5;border-radius:999px;height:4px;margin-bottom:14px;overflow:hidden}.page-loader__bar span{border-radius:inherit;background:linear-gradient(90deg,#1f7aff,#60a5fa);width:42%;height:100%;animation:1.2s ease-in-out infinite loaderBar;display:block}.page-loader__message{color:#64748b;margin:0;font-size:.92rem}.page-loader__dots:after{content:"";text-align:left;width:1.2em;animation:1.2s steps(4,end) infinite loaderDots;display:inline-block}@keyframes loaderCardIn{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes loaderSpin{to{transform:rotate(360deg)}}@keyframes loaderBar{0%{transform:translate(-120%)}to{transform:translate(260%)}}@keyframes loaderDots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.page-loader--content{background:#fff;border:1px solid #e5e7eb;border-radius:16px;place-items:center;gap:14px;min-height:320px;padding:48px 24px;display:grid;box-shadow:0 1px 3px #0f172a0f}.page-loader--content .page-loader__spinner{border:3px solid #1f7aff24;border-top-color:#1f7aff;border-radius:50%;width:40px;height:40px;animation:.8s linear infinite loaderSpin}.page-loader--content .page-loader__message{margin:0}.modal-card .page-loader--content{min-height:220px;box-shadow:none;background:0 0;border:0;padding:32px 16px}.activity-heatmap{gap:12px;display:grid}.activity-heatmap--empty{color:#64748b;padding:8px 0 4px;font-size:.92rem}.activity-heatmap__meta{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;min-height:1.4em;display:flex}.activity-heatmap__summary{color:#334155;font-size:.92rem}.activity-heatmap__range{color:#94a3b8;font-size:.82rem}.activity-heatmap__scroll{-webkit-overflow-scrolling:touch;padding-bottom:2px;overflow-x:auto}.activity-heatmap__grid{align-items:flex-start;gap:8px;width:max-content;min-width:100%;display:flex}.activity-heatmap__weekday-col{color:#94a3b8;flex:none;grid-template-rows:repeat(7,12px);gap:3px;padding-top:0;font-size:.68rem;line-height:12px;display:grid}.activity-heatmap__weekday-col span{visibility:hidden;height:12px}.activity-heatmap__weekday-col span.is-visible{visibility:visible}.activity-heatmap__weeks{gap:3px;display:flex}.activity-heatmap__week{grid-template-rows:repeat(7,12px);gap:3px;display:grid}.activity-heatmap__cell{cursor:default;background:#e8eef5;border:0;border-radius:2px;width:12px;height:12px;padding:0}button.activity-heatmap__cell{cursor:pointer}button.activity-heatmap__cell:disabled,.activity-heatmap__cell.is-outside{visibility:hidden;pointer-events:none}.activity-heatmap__cell.level-0{background:#e8eef5}.activity-heatmap__cell.level-1{background:#b7d4f8}.activity-heatmap__cell.level-2{background:#6ea8f0}.activity-heatmap__cell.level-3{background:#3b82db}.activity-heatmap__cell.level-4{background:#1f5fad}.activity-heatmap__cell.is-active{outline-offset:1px;outline:2px solid #0f172a}.activity-heatmap__legend{color:#94a3b8;justify-content:flex-end;align-items:center;gap:4px;font-size:.72rem;display:flex}.activity-heatmap__legend .activity-heatmap__cell{cursor:default}@media (width<=760px){.activity-heatmap__cell,.activity-heatmap__weekday-col,.activity-heatmap__week{--cell:11px}.activity-heatmap__weekday-col{grid-template-rows:repeat(7, var(--cell));font-size:.64rem;line-height:var(--cell)}.activity-heatmap__weekday-col span{height:var(--cell)}.activity-heatmap__week{grid-template-rows:repeat(7, var(--cell))}.activity-heatmap__cell{width:var(--cell);height:var(--cell)}}.appt-calendar{gap:12px;margin-bottom:18px;display:grid}.appt-calendar__head{justify-content:space-between;align-items:center;gap:12px;display:flex}.appt-calendar__head strong{color:#0f172a;font-size:1rem;font-weight:600}.appt-calendar__nav{color:#0f172a;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;width:36px;height:36px;font-size:1.25rem;line-height:1}.appt-calendar__nav:hover{background:#f8fafc}.appt-calendar__weekdays{color:#94a3b8;text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;font-size:.72rem;display:grid}.appt-calendar__grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.appt-calendar__cell{color:#0f172a;cursor:pointer;background:#f8fafc;border:1px solid #0000;border-radius:10px;flex-direction:column;justify-content:flex-start;align-items:center;gap:4px;min-height:48px;padding:6px 4px 8px;display:flex;position:relative}.appt-calendar__cell.is-empty{cursor:default;background:0 0;min-height:48px}.appt-calendar__cell.has-appts{background:#1f7aff14;border-color:#1f7aff2e}.appt-calendar__cell.is-today{box-shadow:inset 0 0 0 1px #1f7aff}.appt-calendar__cell.is-selected{color:#fff;background:#1f7aff;border-color:#1f7aff}.appt-calendar__day{font-size:.86rem;font-weight:600;line-height:1.2}.appt-calendar__badge{color:#fff;background:#1f7aff;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:.68rem;font-weight:600;display:inline-flex}.appt-calendar__cell.is-selected .appt-calendar__badge{color:#fff;background:#ffffff38}.appt-calendar__dot{background:0 0;border-radius:999px;width:4px;height:4px}.appt-calendar__filter-hint{color:#64748b;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:.84rem;display:flex}.appt-calendar__clear{color:#1f7aff;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}@media (width<=760px){.appt-calendar__cell{min-height:44px;padding:5px 2px 6px}.appt-calendar__day{font-size:.8rem}}.auth-shell,.dashboard-shell{min-height:100vh}.auth-shell{background:radial-gradient(1200px 600px at 10% -10%,#2563eb1f,#0000 55%),radial-gradient(900px 500px at 100% 0,#0ea5e91a,#0000 50%),#f5f7fb;place-items:center;padding:24px;display:grid}.auth-card,.panel,.hero-card,.stat-card,.modal-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 3px #0f172a0f,0 8px 24px #0f172a0a}.auth-card,.panel,.hero-card,.modal-card{padding:24px}.auth-card{width:min(100%,440px)}.brand-row{align-items:center;gap:14px;display:flex}.brand-row img,.brand-row .brand-logo{object-fit:cover;border-radius:12px;flex-shrink:0;width:48px;height:48px;display:block;box-shadow:0 4px 12px #1565e038}.brand-title{color:#0f172a;font-weight:700}.brand-sub,.cell-sub,.lede.small,.panel-head span{color:#64748b;font-size:.92rem}.auth-card h1,.hero-card h2,.panel h3,.modal-card h3{color:#0f172a;align-items:center;gap:8px;margin:0;display:flex}.panel-head__icon{color:#64748b;flex-shrink:0}.icon{flex-shrink:0;display:block}.lede{color:#475569;margin:12px 0 0}.form-stack,.stack-gap{gap:16px;display:grid}.field{color:#334155;gap:8px;font-size:.95rem;display:grid}.field-hint{color:#64748b;font-size:.82rem;line-height:1.35}.field input,.field textarea,.topbar-search input,.chat-compose input{box-sizing:border-box;color:#0f172a;background:#fff;border:1px solid #dbe1ea;border-radius:12px;outline:none;width:100%;min-height:46px;padding:.8rem .95rem;box-shadow:0 1px 2px #0f172a0a}.field textarea{resize:vertical;min-height:120px}.field input:focus,.field textarea:focus,.topbar-search input:focus,.chat-compose input:focus{border-color:#1f7aff66;box-shadow:0 0 0 3px #1f7aff1a}.password-field{display:block;position:relative}.password-field input{padding-right:2.85rem}.password-field__toggle{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:2.2rem;height:2.2rem;padding:0;display:inline-flex;position:absolute;top:50%;right:.45rem;transform:translateY(-50%)}.password-field__toggle:hover,.password-field__toggle:focus-visible{color:#0f172a;background:#0f172a0f;outline:none}.btn{cursor:pointer;white-space:nowrap;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;max-width:100%;min-height:42px;padding:0 18px;font-size:.9rem;font-weight:600;text-decoration:none;transition:background .15s,border-color .15s,box-shadow .15s;display:inline-flex}.btn-primary{color:#fff;background:#1f7aff}.btn-primary:hover:not(:disabled){background:#1766d9}.auth-divider{color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;align-items:center;gap:12px;margin:2px 0;font-size:.78rem;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:#e2e8f0;flex:1;height:1px}.btn-facebook{color:#fff;background:#1877f2;border:1px solid #1877f2}.btn-facebook:hover:not(:disabled){background:#166fe5}.btn-facebook__icon{color:#1877f2;background:#fff;border-radius:4px;place-items:center;width:20px;height:20px;font-family:Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;line-height:1;display:inline-grid}.btn-secondary{color:#334155;background:#fff;border:1px solid #dbe1ea}.btn-xs{border-radius:8px;padding:4px 8px;font-size:12px;line-height:1.2}.queue-add-form{border-bottom:1px solid #e5e7eb;margin-bottom:12px;padding:0 4px 16px}.queue-num{font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-weight:700;display:inline-block}.queue-row-actions{flex-wrap:wrap;gap:6px;display:flex}.queue-row--called{background:#3b82f60a}.queue-row--in_service{background:#10b9810f}.btn-secondary:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1}.btn-danger{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.btn-danger:hover:not(:disabled){background:#fdd}.btn:disabled{opacity:.5;cursor:not-allowed}.switch-link{color:#1f7aff;cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.error-message{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:12px 14px}.success-message{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:12px 14px}.eyebrow{color:#1f7aff;letter-spacing:.08em;text-transform:uppercase;font-size:.82rem;font-weight:700}.dashboard-shell{background:#f5f7fb;grid-template-columns:1fr;display:grid}.sidebar{width:min(86vw,300px);padding:calc(20px + env(safe-area-inset-top,0px)) 14px calc(20px + env(safe-area-inset-bottom,0px));z-index:20;background:#fff;border-right:1px solid #e5e7eb;grid-template-rows:auto 1fr auto;align-content:start;gap:20px;transition:transform .24s;display:grid;position:fixed;inset:0 auto 0 0;overflow-y:auto;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-backdrop,.modal-backdrop{opacity:0;pointer-events:none;background:#0f172a73;transition:opacity .2s;position:fixed;inset:0}.sidebar-backdrop.visible{opacity:1;pointer-events:auto;z-index:18}.nav-stack{align-content:start;gap:4px;display:grid}.nav-item{color:#475569;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;min-height:48px;padding:10px 12px;font-size:.95rem;font-weight:600;line-height:1.2;transition:background .15s,color .15s;display:flex}.nav-item>span:not(.nav-item__badge):not(.nav-item__icon){flex:1;min-width:0}.nav-item__badge{color:#fff;background:#b91c1c;border-radius:999px;justify-content:center;align-items:center;min-width:22px;height:22px;padding:0 7px;font-size:.75rem;font-weight:700;line-height:1;display:inline-flex}.nav-item__icon{color:#94a3b8;flex-shrink:0;transition:color .15s;display:block}.nav-item:hover:not(.active) .nav-item__icon{color:#64748b}.nav-item.active .nav-item__icon{color:#1f7aff}.sidebar-logout{width:100%;margin-top:auto}.nav-item:hover:not(.active){color:#0f172a;background:#f8fafc}.nav-item.active{color:#1f7aff;background:#1f7aff14}.main-panel{min-width:0}.topbar{z-index:5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);padding:calc(12px + env(safe-area-inset-top,0px)) 16px 14px;background:#f5f7fbeb;border-bottom:1px solid #e5e7ebb3;gap:12px;display:grid;position:sticky;top:0}.topbar-left{align-items:center;gap:12px;display:flex}.mobile-menu-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe1ea;border-radius:10px;justify-content:center;align-items:center;width:42px;height:42px;transition:background .15s;display:inline-flex}.topbar-heading{align-items:center;gap:10px;display:flex}.topbar-heading__icon{color:#1f7aff;background:#1f7aff1a;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex}.mobile-menu-btn:hover{background:#f1f5f9}.topbar-title{color:#0f172a;font-size:1.2rem;font-weight:700}.topbar-search{background:#fff;border:1px solid #dbe1ea;border-radius:12px;align-items:center;gap:8px;width:100%;padding:0 12px;transition:border-color .15s,box-shadow .15s;display:flex}.topbar-search__icon{color:#94a3b8;flex-shrink:0}.topbar-search:focus-within{border-color:#1f7aff66;box-shadow:0 0 0 3px #1f7aff1a}.topbar-search input{box-shadow:none;border:0;min-height:42px;padding:0}.page-content{padding:16px 16px calc(20px + env(safe-area-inset-bottom,0px));gap:16px;min-width:0;max-width:100%;display:grid;overflow-x:clip}.mobile-bottom-nav,.mobile-more-sheet,.mobile-more-backdrop{display:none}.mobile-bottom-nav{z-index:18;min-height:56px;padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e5e7eb;justify-content:space-around;align-items:stretch;gap:2px;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 20px #0f172a0a}.mobile-bottom-nav__item{color:#94a3b8;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:44px;padding:4px 2px;transition:color .15s;display:flex}.mobile-bottom-nav__item.active{color:#1f7aff}.mobile-bottom-nav__icon-wrap{justify-content:center;align-items:center;width:28px;height:24px;display:inline-flex;position:relative}.mobile-bottom-nav__icon{color:currentColor;display:block}.mobile-bottom-nav__label{letter-spacing:.01em;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:.68rem;font-weight:600;line-height:1.1;overflow:hidden}.mobile-bottom-nav__badge{color:#fff;background:#b91c1c;border:1.5px solid #fff;border-radius:999px;justify-content:center;align-items:center;min-width:16px;height:16px;padding:0 4px;font-size:.62rem;font-weight:700;line-height:1;display:inline-flex;position:absolute;top:-6px;right:-10px}.mobile-more-backdrop{inset:0 0 calc(56px + env(safe-area-inset-bottom,0px)) 0;opacity:0;pointer-events:none;z-index:16;background:#0f172a66;transition:opacity .2s;position:fixed}.mobile-more-backdrop.visible{opacity:1;pointer-events:auto}.mobile-more-sheet{left:0;right:0;bottom:calc(56px + env(safe-area-inset-bottom,0px));z-index:17;transform:translateY(calc(100% + 72px + env(safe-area-inset-bottom,0px)));pointer-events:none;visibility:hidden;background:#fff;border:1px solid #e5e7eb;border-bottom:0;border-radius:16px 16px 0 0;padding:10px 14px 16px;transition:transform .24s,visibility .24s;position:fixed;box-shadow:0 -8px 28px #0f172a1a}.mobile-more-sheet.open{pointer-events:auto;visibility:visible;transform:translateY(0)}.mobile-more-sheet__handle{background:#dbe1ea;border-radius:999px;width:36px;height:4px;margin:0 auto 12px}.mobile-more-sheet__nav{gap:4px;display:grid}.mobile-more-sheet__item{color:#475569;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 12px;font-size:.95rem;font-weight:600;transition:background .15s,color .15s;display:flex}.mobile-more-sheet__item:hover:not(.active){color:#0f172a;background:#f8fafc}.mobile-more-sheet__item.active{color:#1f7aff;background:#1f7aff14}.mobile-more-sheet__icon{color:#94a3b8;flex-shrink:0}.mobile-more-sheet__item.active .mobile-more-sheet__icon{color:#1f7aff}.mobile-more-sheet__logout{width:100%;margin-top:10px}.hero-card p,.panel p{color:#475569}.stats-grid,.settings-grid{gap:16px;display:grid}.stat-card{padding:18px}.stat-card__head{color:#64748b;align-items:center;gap:10px;display:flex}.stat-card__icon{border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.stat-card__icon--blue{color:#1f7aff;background:#1f7aff1f}.stat-card__icon--green{color:#15803d;background:#16a34a1f}.stat-card__icon--amber{color:#b45309;background:#f59e0b24}.stat-card__icon--purple{color:#6d28d9;background:#7c3aed1f}.stat-card span,.stat-card small{color:#64748b;display:block}.stat-card strong{color:#0f172a;margin:8px 0 4px;font-size:2rem;line-height:1.1;display:block}.panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;margin-bottom:18px;display:flex}.panel-head__title{gap:4px;min-width:0;display:grid}.panel-head__meta{color:#64748b;padding-left:26px;font-size:.92rem;line-height:1.3}.panel-head__title:not(:has(.panel-head__icon)) .panel-head__meta{padding-left:0}.panel-head.wrap{flex-wrap:wrap;align-items:center}.panel-head__actions{flex-wrap:wrap;align-items:center;gap:10px;margin-left:auto;display:flex}.panel-head.wrap>.custom-select,.panel-head.wrap>.btn,.panel-head.wrap>label.btn{margin-left:auto}.panel-head__actions>.custom-select{margin-left:0}.subscription-banner{background:#2563eb14;border:1px solid #2563eb2e;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;padding:14px 16px;display:flex}.subscription-banner strong{color:#1d4ed8;margin-bottom:4px;display:block}.subscription-banner p{color:#1e3a8a;margin:0;font-size:.92rem}.subscription-banner a{color:#1d4ed8}.subscription-banner--locked{background:#b91c1c14;border-color:#b91c1c2e}.subscription-banner--locked strong{color:#991b1b}.subscription-banner--locked p,.subscription-banner--locked a{color:#7f1d1d}.billing-status{margin-bottom:14px}.billing-plans{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px;display:grid}.billing-plan{text-align:left;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:12px;gap:4px;padding:12px;display:grid}.billing-plan.is-selected,.billing-plan.is-featured.is-selected{border-color:#1f7aff8c;box-shadow:0 0 0 3px #1f7aff1f}.billing-plan__name{color:#64748b;font-size:.85rem}.billing-plan__price{color:#0f172a;font-size:1.05rem}.billing-plan__blurb{color:#64748b;font-size:.8rem}.billing-reference,.billing-methods{gap:10px;margin-bottom:14px;display:grid}.billing-reference__row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.billing-reference code,.billing-method code{color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px;font-size:.92rem;display:inline-block}.billing-method{border:1px solid #e5e7eb;border-radius:12px;gap:6px;padding:12px 14px;display:grid}.billing-method--empty{background:#f8fafc}.billing-steps{color:#475569;gap:6px;margin:0 0 16px;padding-left:1.2rem;font-size:.92rem;display:grid}@media (width<=900px){.billing-plans{grid-template-columns:1fr}}.admin-plans__layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;display:grid}.admin-plans__search{gap:8px;margin-bottom:12px;display:flex}.admin-plans__search input{border:1px solid #dbe1ea;border-radius:10px;flex:1;min-height:42px;padding:.65rem .85rem}.admin-plans__actions{gap:10px;display:grid}.admin-plans__inline{align-items:center;gap:8px;display:flex}.admin-plans__inline input{border:1px solid #dbe1ea;border-radius:10px;width:88px;min-height:42px;padding:.55rem .7rem}.admin-plans__events{gap:10px;margin:8px 0 0;padding:0;list-style:none;display:grid}.admin-plans table tr.is-selected td{background:#2563eb14}@media (width<=900px){.admin-plans__layout{grid-template-columns:1fr}}.handoff-banner{background:#b91c1c14;border:1px solid #b91c1c2e;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px;display:flex}.handoff-banner strong{color:#991b1b;margin-bottom:4px;display:block}.handoff-banner p{color:#7f1d1d;margin:0 0 6px;font-size:.92rem}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:720px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #edf2f7;padding:14px 12px}th{color:#64748b;text-transform:uppercase;letter-spacing:.04em;font-size:.86rem;font-weight:700}td{color:#0f172a}.lead-contact{gap:2px;min-width:0;display:grid}.lead-contact strong{color:#0f172a;word-break:break-word;font-weight:600}.lead-contact__phone{color:#1f7aff;word-break:break-all;font-size:.92rem;text-decoration:none}.lead-contact__phone:hover{text-decoration:underline}.cell-with-status{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.cell-with-status>span{flex:1;min-width:0}.clickable-row{cursor:pointer;transition:background .12s}.clickable-row:hover{background:#f8fafc}.clickable-row:active{background:#f1f5f9}.badge{text-transform:capitalize;border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:0 12px;font-size:.82rem;font-weight:700;display:inline-flex}.badge-blue{color:#1f7aff;background:#1f7aff1f}.badge-green{color:#15803d;background:#16a34a1f}.badge-red{color:#b91c1c;background:#ef44441f}.badge-gray{color:#475569;background:#eef2f7}.empty-cell{color:#64748b;text-align:center;padding:28px 12px}.empty-cell.block{background:#f8fafc;border-radius:12px}.chat-thread{gap:12px;max-height:460px;padding:4px 0;display:grid;overflow:auto}.chat-row{display:flex}.chat-row.user{justify-content:flex-end}.chat-bubble{color:#0f172a;background:#f1f5f9;border-radius:16px 16px 16px 4px;max-width:min(100%,640px);padding:14px 16px}.chat-row.user .chat-bubble{color:#fff;background:#1f7aff;border-radius:16px 16px 4px}.chat-compose,.inline-actions{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;max-width:100%;display:flex}.chat-compose input{flex:160px;min-width:0}.chat-compose .btn{flex:none}.inline-actions>.btn,.inline-actions>a.btn,.inline-actions>label.btn{min-width:0;max-width:100%}.inline-actions.compact{flex-wrap:nowrap}.banner-success,.mono-box{border-radius:12px;padding:14px 16px}.lead-chat-panel{flex-direction:column;min-height:0;display:flex;overflow:hidden}.lead-chat-panel>.panel-head{flex:none}.lead-chat{background:linear-gradient(#f8fafcf2,#f1f5f9e6);border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;flex:auto;min-height:280px;max-height:min(52vh,520px);display:flex;overflow:hidden}.lead-chat__thread{scroll-behavior:smooth;flex-direction:column;flex:auto;gap:10px;min-height:0;padding:14px 12px;display:flex;overflow-y:auto}.lead-chat__row{width:100%;display:flex}.lead-chat__row--in{justify-content:flex-start}.lead-chat__row--out{justify-content:flex-end}.lead-chat__bubble{word-break:break-word;color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:16px;max-width:min(82%,420px);padding:10px 12px 8px;box-shadow:0 1px 2px #0f172a0f}.lead-chat__row--in .lead-chat__bubble{color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-bottom-left-radius:5px}.lead-chat__row--out .lead-chat__bubble{color:#fff;background:#1f7aff;border:1px solid #0000;border-bottom-right-radius:5px}.lead-chat__row--customer .lead-chat__bubble{color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-bottom-left-radius:5px}.lead-chat__row--you .lead-chat__bubble{color:#fff;background:#1f7aff;border:1px solid #0000;border-bottom-right-radius:5px}.lead-chat__row--ai .lead-chat__bubble{color:#f8fafc;background:#334155;border:1px solid #0000;border-bottom-right-radius:5px}.lead-chat__row--system .lead-chat__bubble{color:#334155;background:#e2e8f0;border:1px solid #0000;border-bottom-right-radius:5px}.lead-chat__body{white-space:pre-wrap;font-size:.95rem;line-height:1.45}.lead-chat__meta{opacity:.78;flex-wrap:wrap;gap:5px;margin-top:6px;font-size:.72rem;line-height:1.3;display:flex}.lead-chat__row--you .lead-chat__meta,.lead-chat__row--ai .lead-chat__meta{opacity:.85}.lead-chat__empty{text-align:center;color:#64748b;margin:auto;padding:24px 12px;font-size:.92rem}.lead-chat__empty--footer{background:#ffffffb3;border-top:1px solid #e2e8f0;margin:0;padding:12px}.lead-reply-compose{background:#ffffffeb;border-top:1px solid #e2e8f0;flex:none;margin:0;padding:10px 12px}.banner-success{color:#166534;background:#ecfdf5;margin-bottom:14px}.mono-box{color:#0f172a;word-break:break-all;background:#f8fafc;border:1px solid #dbe1ea;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.form-grid,.detail-grid{gap:16px;display:grid}.field-full{grid-column:1/-1}.detail-grid>div{background:#f8fafc;border-radius:12px;gap:8px;padding:14px 16px;display:grid}.detail-grid span{color:#64748b;font-size:.85rem}.detail-grid strong{color:#0f172a}.knowledge-note{background:#fff;border:1px solid #e2e8f0;border-radius:12px;gap:12px;padding:14px 16px;display:grid}.knowledge-note__head{gap:4px;display:grid}.knowledge-note__head strong{color:#0f172a;font-size:.98rem}.knowledge-note__head span{color:#64748b;font-size:.86rem;line-height:1.4}.doc-list{gap:4px;min-width:0;display:grid}.doc-row{background:#f8fafc;border:1px solid #e8edf3;border-radius:8px;justify-content:space-between;align-items:center;gap:8px 12px;min-width:0;padding:6px 10px;display:flex}.doc-row__main{flex-wrap:wrap;flex:auto;align-items:baseline;gap:2px 8px;min-width:0;display:flex}.status-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;padding:14px 16px;display:flex}.status-card>div:first-child{flex:180px;min-width:0}.doc-row__actions{flex:none;align-items:center;gap:6px;display:flex}.doc-title{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:100%;font-size:.9rem;font-weight:600;line-height:1.3;overflow:hidden}.doc-meta{color:#64748b;white-space:nowrap;text-overflow:ellipsis;font-size:.78rem;line-height:1.3;overflow:hidden}.btn-compact{border-radius:8px;width:40px;min-width:40px;min-height:40px;padding:0}.toggle-row{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.toggle-row input{width:20px;height:20px}.diagnostics-box{white-space:pre-wrap;max-height:320px;margin-top:16px;overflow:auto}.modal-backdrop{opacity:1;pointer-events:auto;padding:max(12px, env(safe-area-inset-top,0px)) max(12px, env(safe-area-inset-right,0px)) max(12px, env(safe-area-inset-bottom,0px)) max(12px, env(safe-area-inset-left,0px));z-index:30;place-items:center;display:grid}.modal-card{width:min(100%,920px);max-height:min(100dvh,100vh);max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);overflow:hidden auto}.modal-card--lead{flex-direction:column;min-height:0;display:flex}.modal-card--lead>.panel-head{flex:none}.modal-card--lead>.stack-gap{flex-direction:column;flex:auto;min-height:0;display:flex}.modal-card--lead .lead-chat-panel{flex:auto;min-height:0}.toast{right:max(12px, env(safe-area-inset-right,0px));bottom:max(12px, env(safe-area-inset-bottom,0px));min-width:0;width:min(calc(100vw - 24px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px)), 360px);color:#fff;z-index:40;border-radius:12px;align-items:flex-start;gap:12px;max-width:min(92vw,360px);padding:14px 16px;animation:.2s toastIn;display:flex;position:fixed;left:auto;box-shadow:0 12px 32px #0f172a3d}.toast__icon{opacity:.95;flex-shrink:0;margin-top:1px}.toast__content{gap:4px;min-width:0;display:grid}.toast__content strong,.toast__content span{display:block}@keyframes toastIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.toast.ok{background:#15803d}.toast.err{background:#b91c1c}@media (width>=900px){.auth-shell{padding:40px}.dashboard-shell{grid-template-columns:280px minmax(0,1fr)}.sidebar{width:auto;height:100vh;position:sticky;top:0;transform:none}.sidebar-backdrop,.mobile-menu-btn{display:none}.mobile-bottom-nav,.mobile-more-sheet,.mobile-more-backdrop{display:none!important}.main-panel{min-height:100vh}.topbar{grid-template-columns:1fr auto;align-items:center;padding:24px 28px}.topbar-search{width:min(320px,100%)}.page-content{padding:24px 28px 32px}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-grid,.form-grid,.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=899px){.sidebar,.sidebar-backdrop,.mobile-menu-btn{display:none!important}.mobile-bottom-nav{display:flex}.mobile-more-backdrop,.mobile-more-sheet{display:block}.page-content{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}.toast{bottom:calc(72px + env(safe-area-inset-bottom,0px))}}@media (width<=760px){.auth-shell{padding:calc(16px + env(safe-area-inset-top,0px)) 16px calc(16px + env(safe-area-inset-bottom,0px))}.auth-card,.panel,.hero-card,.modal-card{padding:16px}.modal-backdrop:has(.modal-card--lead){place-items:stretch stretch;padding:0}.modal-card--lead{width:100%;height:100dvh;max-height:none;padding:calc(12px + env(safe-area-inset-top,0px)) calc(12px + env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) calc(12px + env(safe-area-inset-left,0px));border-radius:0;overflow:hidden}.modal-card--lead>.stack-gap{-webkit-overflow-scrolling:touch;overflow-y:auto}.modal-card--lead .lead-chat-panel{min-height:calc(100vh - 160px);min-height:calc(100dvh - 160px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));flex:auto}.modal-card--lead .lead-chat{min-height:calc(100vh - 220px);min-height:calc(100dvh - 220px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));flex:auto;height:100%;max-height:none}.auth-card .btn,.auth-card .btn-primary{width:100%}.main-panel,.panel,.hero-card,.stat-card,.settings-grid,.content-stack,.stack-gap{min-width:0;max-width:100%}.panel-head{align-items:flex-start}.panel-head>h3,.panel-head>.panel-head__title{flex:100%;min-width:0}.panel-head>.btn,.panel-head>label.btn,.panel-head>.custom-select,.panel-head>.panel-head__actions,.panel-head__actions,.panel-head__actions>.btn,.panel-head__actions>label.btn,.panel-head__actions>.custom-select,.panel-head.wrap>.custom-select,.panel-head.wrap>.btn,.panel-head.wrap>label.btn{width:100%;margin-left:0}.custom-select{width:100%;min-width:0}.topbar-search,.topbar-search input{width:100%;max-width:100%}.handoff-banner{flex-direction:column;align-items:stretch}.handoff-banner .btn{width:100%}.chat-compose{flex-direction:column;align-items:stretch}.chat-compose input,.chat-compose .btn{flex:none;width:100%}.inline-actions{width:100%}.inline-actions>.btn,.inline-actions>a.btn,.inline-actions>label.btn{white-space:normal;text-align:center;flex:100%;justify-content:center;width:100%}.inline-actions.compact{flex-wrap:wrap}.inline-actions.compact>.btn,.inline-actions.compact>a.btn{flex:calc(50% - 10px);width:auto}.doc-row{flex-wrap:nowrap;align-items:center}.status-card,.toggle-row{flex-direction:column;align-items:stretch}.doc-row__actions{flex-shrink:0;width:auto}.doc-row__actions .btn{width:auto}.cell-with-status{flex-direction:column;align-items:flex-start}th{display:none}table,tbody,tr,td{width:100%;min-width:0;display:block}tr{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:12px;padding:6px 0}td{word-break:break-word;border:0;padding:10px 14px}.mono-box{overflow-wrap:anywhere}.toast{left:max(12px, env(safe-area-inset-left,0px));right:max(12px, env(safe-area-inset-right,0px));width:auto;max-width:none}}
