:root{--bg-primary:#0f1117;--bg-secondary:#1a1d29;--bg-card:#1e2130;--bg-sidebar:#161822;--bg-hover:#252840;--bg-input:#252840;--border-color:#2d3148;--border-active:#6366f1;--text-primary:#e8eaed;--text-secondary:#9ca3af;--text-muted:#6b7280;--accent-primary:#6366f1;--accent-secondary:#818cf8;--accent-gradient:linear-gradient(135deg, #6366f1, #8b5cf6);--brand-accent:#c4825c;--success:#22c55e;--warning:#f59e0b;--error:#ef4444;--info:#3b82f6;--chart-1:#6366f1;--chart-2:#22c55e;--chart-3:#f59e0b;--chart-4:#ef4444;--chart-5:#ec4899;--chart-6:#14b8a6;--chart-7:#f97316;--chart-8:#8b5cf6;--chart-target:#22c55e;--global-sidebar-width:80px;--sidebar-width:260px;--header-height:64px;--transition-fast:.15s ease;--transition-normal:.25s ease;--shadow-sm:0 1px 3px #0000004d;--shadow-md:0 4px 12px #0006;--shadow-lg:0 8px 24px #00000080;--glow:0 0 20px #6366f126}*{box-sizing:border-box;margin:0;padding:0}html,body{background:var(--bg-primary);height:100%;color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}.brand-mark{color:var(--text-primary);letter-spacing:0;align-items:baseline;font-weight:400;line-height:1;display:inline-flex}.brand-mark-accent{color:var(--brand-accent,#c4825c)}.brand-mark-large{font-size:64px}.brand-mark-sidebar{font-size:24px}.auth-brand{margin-bottom:24px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-primary)}::-webkit-scrollbar-thumb{background:var(--border-color);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.login-wrapper{background:var(--bg-primary);background-image:radial-gradient(at 20%,#6366f114 0%,#0000 50%),radial-gradient(at 80% 20%,#8b5cf60f 0%,#0000 50%);justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{background:var(--bg-card);border:1px solid var(--border-color);text-align:center;width:90%;max-width:420px;box-shadow:var(--shadow-lg), var(--glow);border-radius:16px;padding:48px 40px;animation:.5s forwards fadeInUp}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.login-card h1{color:var(--text-primary);background:var(--accent-gradient);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:8px;font-size:26px;font-weight:700}.login-card h2{color:var(--text-primary);margin-bottom:8px;font-size:20px;font-weight:400}.login-card p{color:var(--text-secondary);margin-bottom:32px;font-size:14px}.google-btn{background:var(--bg-input);border:1px solid var(--border-color);color:var(--text-primary);cursor:pointer;width:100%;height:44px;transition:all var(--transition-fast);border-radius:8px;justify-content:center;align-items:center;gap:12px;padding:0 20px;font-size:14px;font-weight:500;text-decoration:none;display:flex}.google-btn:hover{background:var(--bg-hover);border-color:var(--accent-primary);box-shadow:var(--glow)}.google-btn img{width:20px;height:20px}.auth-card{text-align:left}.auth-form{flex-direction:column;gap:10px;display:flex}.auth-input{margin-bottom:6px}.auth-submit{width:100%;margin-top:8px}.auth-divider{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.1em;text-align:center;margin:20px 0 16px;font-size:12px}.auth-links{justify-content:space-between;gap:12px;margin-top:18px;font-size:13px;display:flex}.auth-links a{color:var(--accent-secondary);text-decoration:none}.auth-links a:hover{color:var(--text-primary)}.auth-error{margin-top:4px}.success-message{color:var(--success);background:#22c55e14;border:1px solid #22c55e59;border-radius:10px;padding:10px 12px;font-size:13px}.auth-success{margin-top:16px}.app-shell{width:100vw;height:100vh;min-height:100vh;display:flex;overflow:hidden}.global-sidebar{width:var(--global-sidebar-width);background:var(--bg-card);border-right:1px solid var(--border-color);z-index:200;flex-direction:column;flex-shrink:0;align-items:center;height:100vh;display:flex;overflow-y:auto}.global-sidebar-header{height:var(--header-height);border-bottom:1px solid var(--border-color);justify-content:center;align-items:center;width:100%;display:flex}.global-sidebar-brand{color:var(--text-primary)}.global-nav{flex-direction:column;align-items:center;gap:16px;width:100%;padding:24px 0;display:flex}.global-nav-bottom{border-top:1px solid var(--border-color);margin-top:auto;padding-top:16px;padding-bottom:24px}.global-nav-row{flex-direction:column;align-items:center;width:100%;display:flex}.global-nav-item{color:var(--text-secondary);width:60px;height:60px;transition:all var(--transition-fast);border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:6px;text-decoration:none;display:flex}.global-nav-item:hover{background:var(--bg-hover);color:var(--text-primary)}.global-nav-item.active{color:var(--accent-primary);background:#6366f11f;border:1px solid #6366f140}.nav-icon{width:24px;height:24px}.nav-label{font-size:10px;font-weight:500}.app-shell-main{flex-direction:column;flex:1;min-width:0;height:100vh;min-height:0;display:flex;overflow:hidden}.app-header{height:var(--header-height);background:var(--bg-primary);border-bottom:1px solid var(--border-color);z-index:150;flex-shrink:0;justify-content:space-between;align-items:center;padding:0 24px;display:flex}.header-spacer{flex:1}.header-actions{align-items:center;display:flex}.profile-menu{position:relative}.profile-btn{cursor:pointer;transition:transform var(--transition-fast);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;display:flex}.profile-btn:hover{transform:scale(1.05)}.profile-avatar{border:2px solid var(--border-color);border-radius:50%;width:36px;height:36px}.dropdown-menu{background:var(--bg-card);border:1px solid var(--border-color);width:220px;box-shadow:var(--shadow-lg);z-index:300;border-radius:12px;padding:8px 0;animation:.2s forwards fadeInDown;position:absolute;top:calc(100% + 8px);right:0}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown-header{padding:12px 16px}.dropdown-name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}.dropdown-email{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:12px;overflow:hidden}.dropdown-divider{background:var(--border-color);height:1px;margin:4px 0}.dropdown-item{text-align:left;width:100%;color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast);background:0 0;border:none;align-items:center;padding:10px 16px;font-size:13px;text-decoration:none;display:flex}.dropdown-item:hover{background:var(--bg-hover);color:var(--text-primary)}.dropdown-item.signout:hover{color:var(--error);background:#ef44441a}.app-shell-content{flex:1;min-height:0;position:relative;overflow:hidden}.mobile-nav-toggle,.mobile-nav-layer{display:none}.mobile-nav-toggle{z-index:360;border:1px solid var(--border-color);background:var(--bg-card);width:40px;height:40px;color:var(--text-primary);box-shadow:var(--shadow-sm);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;position:fixed;top:14px;left:14px}.mobile-nav-layer{z-index:500;position:fixed;inset:0}.mobile-nav-backdrop{background:#0000007a;border:0;position:absolute;inset:0}.mobile-nav-drawer{background:var(--bg-sidebar);border-right:1px solid var(--border-color);width:min(320px,100vw - 44px);height:100%;box-shadow:var(--shadow-lg);position:relative;overflow-y:auto}.mobile-nav-drawer-header{border-bottom:1px solid var(--border-color);height:56px;color:var(--text-primary);justify-content:space-between;align-items:center;gap:12px;padding:0 16px;font-weight:700;display:flex}.mobile-nav-drawer-header button{width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:7px}.mobile-nav-drawer-header button:hover{background:var(--bg-hover);color:var(--text-primary)}.dashboard-layout{height:100%;min-height:100%;display:flex;overflow:hidden}.sidebar{width:var(--sidebar-width);background:var(--bg-sidebar);border-right:1px solid var(--border-color);z-index:100;flex-direction:column;flex-shrink:0;height:100%;min-height:0;display:flex;overflow-y:auto}.sidebar-header{border-bottom:1px solid var(--border-color);padding:20px}.sidebar-brand{background:var(--accent-gradient);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:16px;font-weight:700}.sidebar-user{border-bottom:1px solid var(--border-color);align-items:center;gap:12px;padding:16px 20px;display:flex}.sidebar-user img{border:2px solid var(--border-color);border-radius:50%;width:36px;height:36px}.sidebar-user-info{flex:1;min-width:0}.sidebar-user-name{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.sidebar-user-email{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.signout-btn{border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast);white-space:nowrap;background:0 0;border-radius:6px;padding:6px 12px;font-size:12px}.signout-btn:hover{border-color:var(--error);color:var(--error)}.sidebar-section{padding:16px 20px}.sidebar-section-title{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:12px;font-size:11px;font-weight:600}.category-list{flex-direction:column;gap:4px;list-style:none;display:flex}.category-item{cursor:pointer;color:var(--text-secondary);transition:all var(--transition-fast);border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;padding:9px 12px;font-size:13px;text-decoration:none;display:flex}.category-item:hover{background:var(--bg-hover);color:var(--text-primary)}.category-item.active{color:var(--accent-secondary);background:#6366f11f;border-color:#6366f140}.category-dot{border:2px solid var(--text-muted);width:8px;height:8px;transition:all var(--transition-fast);border-radius:50%}.category-item.active .category-dot{border-color:var(--accent-primary);background:var(--accent-primary)}.filter-section{border-top:1px solid var(--border-color);padding:16px 20px}.filter-group{margin-bottom:16px}.filter-label{color:var(--text-secondary);margin-bottom:6px;font-size:12px;font-weight:500;display:block}.filter-select{background:var(--bg-input);border:1px solid var(--border-color);width:100%;color:var(--text-primary);cursor:pointer;appearance:none;transition:border-color var(--transition-fast);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;border-radius:8px;padding:8px 12px;font-family:inherit;font-size:13px}.filter-select:focus{border-color:var(--accent-primary);outline:none}.filter-date-input{background:var(--bg-input);border:1px solid var(--border-color);width:100%;color:var(--text-primary);transition:border-color var(--transition-fast);border-radius:8px;padding:8px 12px;font-family:inherit;font-size:13px}.filter-date-input:focus{border-color:var(--accent-primary);outline:none}.filter-date-field{position:relative}.filter-date-field .filter-date-input{padding-right:42px}.filter-date-button{width:30px;height:30px;color:var(--text-secondary);cursor:pointer;transition:background-color var(--transition-fast), color var(--transition-fast);background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.filter-date-button:hover{color:var(--text-primary);background:#ffffff0f}.filter-date-button:focus-visible{outline:1px solid var(--accent-primary);outline-offset:1px}.filter-date-button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.clinician-checkboxes{flex-direction:column;gap:6px;max-height:200px;margin-bottom:10px;display:flex;overflow-y:auto}.clinician-checkbox-label{color:var(--text-secondary);cursor:pointer;transition:color var(--transition-fast);align-items:center;gap:8px;padding:4px 0;font-size:13px;display:flex}.clinician-checkbox-label:hover{color:var(--text-primary)}.clinician-checkbox-all{border-bottom:1px solid var(--border-color);color:var(--text-primary);margin-bottom:4px;padding-bottom:8px;font-weight:700}.clinician-checkbox-label input[type=checkbox]{accent-color:var(--accent-primary);cursor:pointer;width:16px;height:16px}.apply-btn{background:var(--accent-gradient);color:#fff;cursor:pointer;width:100%;transition:opacity var(--transition-fast);border:none;border-radius:8px;padding:8px 16px;font-size:13px;font-weight:500}.apply-btn:hover{opacity:.9}.apply-btn:disabled,.apply-btn[aria-disabled=true]{color:var(--text-muted);cursor:not-allowed;opacity:.58;box-shadow:none;background:#94a3b82e;border:1px solid #94a3b838}.apply-btn:disabled:hover,.apply-btn[aria-disabled=true]:hover{opacity:.58}.main-content{flex:1;min-width:0;height:100%;min-height:0;padding:32px 40px;overflow-y:auto}.page-title{background:var(--accent-gradient);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:8px;font-size:24px;font-weight:700}.page-subtitle{color:var(--text-muted);margin-bottom:32px;font-size:14px}.page-header-row{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;display:flex}.chart-card{background:var(--bg-card);border:1px solid var(--border-color);box-shadow:var(--shadow-sm);transition:box-shadow var(--transition-normal);border-radius:12px;min-width:0;margin-bottom:24px;padding:24px}.chart-card:hover{box-shadow:var(--shadow-md)}.chart-title{color:var(--text-primary);margin-bottom:4px;font-size:16px;font-weight:600}.chart-subtitle{color:var(--text-muted);margin-bottom:20px;font-size:12px}.chart-header-row{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.chart-header-row .chart-subtitle{margin-bottom:0}.chart-control{flex-direction:column;gap:6px;min-width:190px;display:flex}.chart-control span{color:var(--text-secondary);font-size:12px;font-weight:500}.chart-container{width:100%;min-width:0;height:380px;min-height:380px}.chart-container-sm{width:100%;min-width:0;height:280px;min-height:280px}.projection-metrics{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.projection-metric{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:10px;padding:14px 16px}.projection-metric-label{color:var(--text-secondary);margin-bottom:6px;font-size:12px}.projection-metric-value{color:var(--text-primary);font-size:22px;font-weight:700}.out-of-band-explanation{color:var(--text-secondary);margin-bottom:18px;font-size:14px;line-height:1.5}.out-of-band-helper{color:var(--text-secondary);margin-top:14px;font-size:12px;line-height:1.6}.out-of-band-helper div{flex-wrap:wrap;align-items:baseline;gap:4px;display:flex}.out-of-band-helper strong{color:var(--text-primary);font-weight:600}.out-of-band-details-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.out-of-band-table-toggle{background:var(--bg-input);border:1px solid var(--border-color);color:var(--text-primary);cursor:pointer;transition:all var(--transition-fast);border-radius:7px;flex-shrink:0;padding:8px 12px;font-size:12px;font-weight:600}.out-of-band-table-toggle:hover{background:var(--bg-hover);border-color:var(--accent-primary)}.out-of-band-detail-btn{background:var(--bg-input);border:1px solid var(--border-color);color:var(--text-primary);cursor:pointer;transition:all var(--transition-fast);border-radius:7px;padding:6px 10px;font-size:12px;font-weight:600}.out-of-band-detail-btn:hover{background:var(--bg-hover);border-color:var(--accent-primary)}.out-of-band-detail-panel{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;padding:12px}.out-of-band-detail-title{color:var(--text-primary);margin-bottom:10px;font-size:13px;font-weight:600}.out-of-band-detail-note{color:var(--text-secondary);margin-bottom:12px;font-size:12px;line-height:1.5}.out-of-band-tooltip{background:var(--bg-card);border:1px solid var(--border-color);color:var(--text-secondary);border-radius:8px;padding:10px 12px;font-size:12px;line-height:1.5}.out-of-band-tooltip-title{color:var(--text-primary);margin-bottom:4px;font-weight:700}.data-table tbody tr.out-of-band-flagged-row td{background:color-mix(in srgb, var(--error) 12%, transparent)}.data-table tbody tr.out-of-band-flagged-row:hover td{background:color-mix(in srgb, var(--error) 20%, transparent)}.data-table tbody tr.out-of-band-flagged-row td:first-child{box-shadow:inset 3px 0 0 var(--error)}@media (max-width:760px){.out-of-band-details-header{flex-direction:column;align-items:stretch}}.data-table-wrapper{border:1px solid var(--border-color);border-radius:8px;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:13px}.data-table thead th{background:var(--bg-secondary);color:var(--text-secondary);text-align:left;border-bottom:1px solid var(--border-color);white-space:nowrap;text-transform:uppercase;letter-spacing:.04em;padding:12px 16px;font-size:12px;font-weight:600}.data-table tbody td{border-bottom:1px solid var(--border-color);color:var(--text-primary);padding:10px 16px}.data-table tbody tr:hover{background:var(--bg-hover)}.data-table tbody tr:last-child td{border-bottom:none}.data-table .total-row td{border-top:2px solid var(--accent-primary);background:#6366f114;font-weight:700}.collapsible-header{background:var(--bg-secondary);border:1px solid var(--border-color);cursor:pointer;color:var(--text-primary);transition:all var(--transition-fast);border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:8px;padding:12px 16px;font-size:14px;font-weight:500;display:flex}.collapsible-header:hover{background:var(--bg-hover);border-color:var(--accent-primary)}.collapsible-arrow{transition:transform var(--transition-fast);color:var(--text-muted);justify-content:center;align-items:center;display:inline-flex}.collapsible-arrow.open{transform:rotate(180deg)}.collapsible-body{margin-bottom:12px}.calculator-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px;display:grid}.calc-input-group{flex-direction:column;gap:6px;display:flex}.calc-label{color:var(--text-secondary);font-size:12px;font-weight:500}.calc-input{background:var(--bg-input);border:1px solid var(--border-color);color:var(--text-primary);transition:border-color var(--transition-fast);border-radius:8px;padding:10px 14px;font-family:inherit;font-size:14px}.calc-input:focus{border-color:var(--accent-primary);outline:none;box-shadow:0 0 0 3px #6366f11a}.constants-toggle{cursor:pointer;color:var(--accent-secondary);transition:color var(--transition-fast);background:0 0;border:none;align-items:center;gap:8px;padding:10px 0;font-size:13px;font-weight:500;display:flex}.constants-toggle:hover{color:var(--accent-primary)}.pie-grid{grid-template-columns:repeat(2,1fr);gap:24px;display:grid}.pie-card{background:var(--bg-secondary);border:1px solid var(--border-color);text-align:center;border-radius:8px;padding:16px}.pie-card-title{color:var(--text-primary);margin-bottom:4px;font-size:14px;font-weight:600}.pie-card-subtitle{color:var(--text-muted);margin-bottom:12px;font-size:11px}.loading-wrapper{flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:400px;display:flex}.spinner{border:3px solid var(--border-color);border-top-color:var(--accent-primary);border-radius:50%;width:40px;height:40px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.loading-text{color:var(--text-muted);font-size:14px}.error-message{color:var(--error);background:#ef44441a;border:1px solid #ef44444d;border-radius:8px;margin:16px 0;padding:16px;font-size:14px}.settings-form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-top:16px;display:grid}.settings-organization-form{gap:24px;margin-top:16px;display:grid}.settings-org-fields{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.settings-webhook-panel{gap:16px;min-width:0;padding-top:4px;display:grid}.settings-incoming-webhooks{gap:12px;min-width:0;display:grid}.settings-webhook-accordion{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:12px;overflow:hidden}.settings-webhook-accordion-summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;list-style:none;display:flex}.settings-webhook-accordion-summary::-webkit-details-marker{display:none}.settings-webhook-accordion-summary:after{content:"+";font-size:1.25rem;font-weight:700}.settings-webhook-accordion[open] .settings-webhook-accordion-summary:after{content:"-"}.settings-webhook-accordion-summary>span:first-child{gap:4px;display:grid}.settings-webhook-accordion-title{font-weight:700}.settings-webhook-accordion-content{border-top:1px solid var(--border-color);gap:16px;padding:0 18px 18px;display:grid}.settings-webhook-accordion-content>:first-child{margin-top:18px}.settings-webhook-header,.settings-webhook-status{grid-template-columns:minmax(240px,1fr) minmax(280px,460px);align-items:start;gap:16px;display:grid}.settings-webhook-note,.settings-webhook-empty-sample{margin:0}.settings-webhook-status{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:12px;padding:18px}.settings-webhook-mapping-layout{grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;display:grid}.settings-webhook-subsection{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:12px;min-width:0;overflow:hidden}.settings-webhook-subsection-summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;font-weight:700;list-style:none;display:flex}.settings-webhook-subsection-summary::-webkit-details-marker{display:none}.settings-webhook-subsection-summary:after{content:"+";font-size:1.1rem}.settings-webhook-subsection[open] .settings-webhook-subsection-summary:after{content:"-"}.settings-webhook-subsection-summary .settings-summary-hint{margin-left:auto;font-weight:400}.settings-webhook-subsection-content{border-top:1px solid var(--border-color);gap:16px;min-width:0;padding:16px;display:grid}.settings-webhook-sample,.settings-webhook-rules{min-width:0}.settings-webhook-rules .data-table{table-layout:fixed;min-width:840px}.settings-webhook-rules th:first-child,.settings-webhook-rules td:first-child{width:150px}.settings-webhook-rules th:nth-child(2),.settings-webhook-rules td:nth-child(2){width:330px}.settings-webhook-rules th:nth-child(3),.settings-webhook-rules td:nth-child(3){width:150px}.settings-webhook-rules th:nth-child(4),.settings-webhook-rules td:nth-child(4){width:210px}.settings-webhook-rules td{vertical-align:top}.settings-mapping-source-chips{flex-wrap:wrap;justify-content:flex-start;gap:8px;margin-top:8px;display:flex}.settings-mapping-source-chip{white-space:normal;text-align:left;max-width:100%}.settings-permission-group{grid-column:1/-1}.settings-form-divider{border-top:1px solid var(--border-color);color:var(--text-primary);grid-column:1/-1;margin-top:8px;padding-top:18px;font-size:14px;font-weight:700}.settings-payment-note{grid-column:1/-1;margin:0}.settings-stripe-status{border:1px solid var(--border-color);background:var(--card-background);border-radius:8px;grid-column:1/-1;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.settings-stripe-status>div:first-child{min-width:0}.settings-stripe-details{color:var(--text-muted);overflow-wrap:anywhere;flex-wrap:wrap;gap:8px 16px;margin-top:10px;font-size:12px;line-height:1.4;display:flex}.settings-stripe-status-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;display:flex}.settings-insurance-card{flex-direction:column;gap:18px;display:flex}.settings-location-list{gap:18px;margin-top:22px;display:grid}.settings-service-list{gap:14px;margin-top:20px;display:grid}.settings-service-card{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:8px;gap:14px;min-width:0;padding:16px;display:grid}.settings-service-summary{grid-template-columns:minmax(240px,1fr) minmax(220px,auto) auto;align-items:start;gap:14px;min-width:0;display:grid}.settings-service-summary.compact{grid-template-columns:minmax(180px,1fr) minmax(180px,auto) auto;gap:10px}.settings-service-main{gap:5px;min-width:0;display:grid}.settings-service-title-row{flex-wrap:wrap;align-items:center;gap:7px 10px;display:flex}.settings-service-code{color:var(--text-secondary);font-variant-numeric:tabular-nums;flex:none;font-size:12px;font-weight:800}.settings-service-addon-marker{width:18px;height:18px;color:var(--accent-primary);background:#6366f12e;border-radius:999px;justify-content:center;align-items:center;font-size:14px;font-weight:900;display:inline-flex}.settings-service-name{min-width:0;color:var(--text-primary);overflow-wrap:anywhere;font-size:15px;font-weight:750}.settings-service-facts{color:var(--text-muted);flex-wrap:wrap;justify-content:flex-end;gap:6px;font-size:12px;display:flex}.settings-service-facts span{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:999px;align-items:center;min-width:0;min-height:26px;padding:4px 8px;display:inline-flex}.settings-service-statuses{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.settings-service-description{color:var(--text-secondary);overflow-wrap:anywhere;font-size:12px;line-height:1.45}.settings-service-edit-panel{border-top:1px solid var(--border-color);padding-top:10px}.settings-service-edit-panel>summary{cursor:pointer;width:fit-content;color:var(--accent-primary);font-size:13px;font-weight:700;list-style:none}.settings-service-edit-panel>summary::-webkit-details-marker{display:none}.settings-service-edit-panel[open]>summary{margin-bottom:14px}.settings-service-edit-panel.compact{border-top:0;padding-top:0}.settings-service-addon-section{border-top:1px solid var(--border-color);gap:8px;padding-top:12px;display:grid}.settings-service-addon-heading{color:var(--text-muted);letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:800}.settings-service-addon-list{gap:8px;display:grid}.settings-service-addon-item{border:1px solid var(--border-color);background:var(--bg-primary);border-radius:8px;gap:8px;min-width:0;padding:12px;display:grid}.settings-service-editor{gap:16px;display:grid}.settings-service-editor-grid{grid-template-columns:minmax(220px,1.4fr) minmax(120px,.6fr) repeat(4,minmax(130px,1fr));align-items:end;gap:14px;display:grid}.settings-service-description-input{resize:vertical;min-height:74px}.settings-service-toggle-row{flex-wrap:wrap;gap:12px 24px;display:flex}.settings-service-toggle-row .settings-toggle{grid-column:auto}.settings-service-disabled-list{border:1px solid var(--border-color);background:var(--bg-primary);border-radius:8px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px 14px;max-height:220px;padding:10px;display:grid;overflow:auto}.settings-service-disabled-list .settings-toggle{grid-column:auto;min-width:0}.settings-location-card{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:8px;gap:16px;padding:18px;display:grid}.settings-room-add-row{grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:12px;display:grid}.settings-insurance-tabs{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;align-self:center;padding:4px;display:inline-flex}.settings-insurance-tab{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:8px 14px;font-weight:600}.settings-insurance-tab.active{background:var(--bg-card);color:var(--text-primary);box-shadow:var(--shadow-sm)}.settings-insurance-table td{vertical-align:top}.settings-insurance-payer-name{color:var(--text-primary);margin-bottom:6px;font-weight:700}.settings-service-line{flex-wrap:wrap;gap:8px 12px;margin-bottom:8px;display:flex}.settings-service-flag{color:var(--text-muted);font-size:13px}.settings-service-flag.active{color:#4ade80}.settings-service-flag.inactive{color:var(--text-secondary)}.settings-payer-modal{width:min(520px,100%);max-height:calc(100vh - 48px);overflow:auto}.settings-modal-close{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;font-size:24px;font-weight:700;line-height:1}.settings-modal-close:hover{color:var(--text-primary)}.settings-payer-form{grid-template-columns:minmax(0,1fr);gap:14px;display:grid}.settings-payer-section-title{color:var(--text-primary);margin-top:4px;font-weight:700}.settings-payer-two-column{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.settings-lookup-field{position:relative}.settings-user-permissions{max-height:180px;overflow:auto}.info-message{color:var(--info);background:#3b82f61a;border:1px solid #3b82f64d;border-radius:8px;margin:16px 0;padding:16px;font-size:14px}.no-data-message{text-align:center;color:var(--text-muted);padding:40px;font-size:14px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.workspace-nav-link,.email-nav-link{justify-content:flex-start;width:100%;text-decoration:none}.workspace-filter-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.settings-workspace{flex-direction:column;gap:24px;display:flex}.settings-success-message{margin:0}.settings-summary-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;display:grid}.settings-summary-card,.settings-stat-card{border:1px solid var(--border-color);background:linear-gradient(#ffffff05,#6366f10f);border-radius:16px;padding:18px}.settings-summary-label,.settings-stat-label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;font-size:12px}.settings-summary-value,.settings-stat-value{color:var(--text-primary);font-size:28px;font-weight:700}.settings-summary-hint{color:var(--text-muted);margin-top:6px;font-size:13px}.settings-section-tabs{flex-wrap:wrap;gap:10px;display:flex}.settings-section-tab{border:1px solid var(--border-color);background:var(--bg-secondary);color:var(--text-secondary);cursor:pointer;text-transform:capitalize;border-radius:999px;padding:10px 16px;font-size:13px}.settings-section-tab.active,.settings-section-tab:hover{color:var(--text-primary);background:#6366f124;border-color:#6366f159}.settings-panel-grid,.settings-clinician-layout{gap:24px;display:grid}.settings-panel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-clinician-layout{grid-template-columns:minmax(280px,320px) minmax(0,1fr)}.settings-clinician-detail{gap:24px;display:grid}.settings-split-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.settings-clinician-list{flex-direction:column;gap:10px;display:flex}.settings-clinician-list-item{border:1px solid var(--border-color);background:var(--bg-secondary);width:100%;color:var(--text-primary);cursor:pointer;text-align:left;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.settings-clinician-list-item:hover,.settings-clinician-list-item.active{background:#6366f11f;border-color:#6366f159}.settings-clinician-name{font-size:14px;font-weight:600}.settings-clinician-meta{color:var(--text-muted);margin-top:4px;font-size:12px}.settings-status-pill,.settings-role-badge{text-transform:uppercase;letter-spacing:.04em;border-radius:999px;justify-content:center;align-items:center;padding:6px 10px;font-size:11px;font-weight:700;display:inline-flex}.settings-status-pill.active,.settings-status-pill.editable,.settings-role-badge.admin{color:#4ade80;background:#22c55e29}.settings-status-pill.inactive,.settings-status-pill.locked,.settings-role-badge.clinician{color:#fbbf24;background:#f59e0b29}.settings-stat-strip{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-bottom:18px;display:grid}.settings-history-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.settings-form-actions{grid-column:1/-1;justify-content:flex-end;gap:12px;display:flex}.settings-account-form{gap:16px;display:grid}.settings-account-actions{justify-content:flex-start}.settings-account-message{margin-bottom:16px}.settings-history-actions{justify-content:flex-start;align-items:flex-end}.settings-action-btn,.settings-row-save{width:auto}.settings-toggle{color:var(--text-primary);cursor:pointer;grid-column:1/-1;align-items:center;gap:10px;display:inline-flex}.settings-toggle input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent-primary)}.settings-row-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.settings-user-email-input{min-width:220px}.settings-empty-message{padding:24px 0}.settings-kv-list{flex-direction:column;gap:12px;display:flex}.settings-kv-item{border-top:1px solid var(--border-color);justify-content:space-between;gap:16px;padding:12px 0;display:flex}.settings-kv-item:first-child{border-top:0;padding-top:0}.settings-kv-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;font-size:12px}.settings-kv-value{color:var(--text-primary);text-align:right;word-break:break-word;font-size:14px}.email-page-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.email-page-header-card{background:var(--bg-card);border:1px solid var(--border-color);box-shadow:var(--shadow-sm);border-radius:16px;padding:24px 28px}.email-header-summary{align-items:flex-start;gap:14px;display:flex}.email-header-icon{width:40px;height:40px;color:var(--accent-secondary);background:#6366f124;border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.email-surface-title{color:var(--text-primary);margin-bottom:4px;font-size:18px;font-weight:700}.email-surface-subtitle{color:var(--text-muted);font-size:14px}.email-page-header .apply-btn,.email-toolbar .apply-btn,.modal-actions .apply-btn,.email-editor-save-btn,.asset-upload-button{width:auto}.email-toolbar{flex-wrap:wrap;gap:12px;display:flex}.email-toolbar-link{align-items:center;gap:8px;width:auto;text-decoration:none;display:inline-flex}.secondary-btn,.danger-btn{border:1px solid var(--border-color);background:var(--bg-secondary);color:var(--text-primary);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:13px;text-decoration:none;display:inline-flex}.secondary-btn:hover{background:var(--bg-hover)}.danger-btn{color:var(--error);background:#ef444414;border-color:#ef444459}.danger-btn:hover{background:#ef444424}.inline-action-btn{min-width:0;padding:8px 10px}.clinician-income-verifications{gap:8px;margin-top:12px;display:grid}.clinician-income-verification-line{border-radius:8px}.table-actions-cell{flex-wrap:wrap;gap:8px;display:flex}.secondary-link-btn{color:var(--accent-secondary);font-size:13px;font-weight:500;text-decoration:none}.secondary-link-btn:hover{color:var(--accent-primary)}.email-stat-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:24px;display:grid}.email-stat-card{flex-direction:column;gap:10px;display:flex}.email-stat-icon{width:40px;height:40px;color:var(--accent-primary);background:#6366f11f;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.email-section-header .chart-subtitle{margin-bottom:0}.email-section-divider{background:var(--border-color);height:1px;margin-bottom:16px}.email-filters{grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(180px,1fr));gap:12px;margin-bottom:16px;display:grid}.email-search{align-items:center;gap:8px;display:flex}.email-pagination{justify-content:space-between;align-items:center;gap:16px;margin-top:16px;display:flex}.status-pill{text-transform:capitalize;color:#fbbf24;background:#f59e0b2e;border-radius:999px;justify-content:center;align-items:center;padding:4px 10px;font-size:11px;font-weight:600;display:inline-flex}.status-pill-subscribed,.status-pill-sent{color:#4ade80;background:#22c55e29}.status-pill-unsubscribed,.status-pill-failed{color:#f87171;background:#ef444429}.status-pill-bounced{color:#fbbf24;background:#f59e0b29}.status-pill-sending{color:#60a5fa;background:#3b82f629}.status-pill-queued{color:#a78bfa;background:#8b5cf629}.email-table-empty{text-align:center;color:var(--text-muted);padding:56px 24px;font-size:14px}.email-tag-create,.email-import-grid,.email-import-mapping,.email-campaign-grid,.email-campaign-actions{gap:16px;display:grid}.email-tag-create{grid-template-columns:minmax(220px,1fr) 100px 180px;margin-bottom:20px}.email-color-input{min-height:44px;padding:6px}.email-tag-swatch{border-radius:999px;width:18px;height:18px;display:inline-block}.email-import-grid{grid-template-columns:repeat(2,minmax(220px,1fr));margin-bottom:20px}.email-import-mapping{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-bottom:20px}.email-campaign-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.email-campaign-tags{flex-wrap:wrap;gap:10px 14px;display:flex}.email-editor-page{flex-direction:column;gap:18px;min-height:calc(100vh - 120px);display:flex}.email-editor-page-label{color:var(--text-primary);font-size:14px;font-weight:700}.email-editor-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:16px;padding-bottom:10px;display:flex}.email-editor-header-right,.email-editor-header-left{align-items:center;gap:16px;display:flex}.email-editor-back-link{color:var(--text-primary);align-items:center;gap:10px;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex}.email-editor-back-link:hover{color:var(--accent-secondary)}.email-editor-save-hint{color:var(--text-muted);font-size:12px}.email-editor-save-btn{align-items:center;gap:8px;display:inline-flex}.email-editor-workspace{flex:1;min-height:0}.email-editor-frame{background:var(--bg-card);border:1px solid var(--border-color);border-radius:16px;grid-template-columns:276px minmax(0,1fr);min-height:calc(100vh - 220px);display:grid;overflow:hidden}.email-editor-sidebar{background:var(--bg-card);border-right:1px solid var(--border-color);flex-direction:column;min-width:0;display:flex}.email-editor-sidebar-tabs{border-bottom:1px solid var(--border-color);background:var(--bg-secondary);align-items:center;gap:8px;padding:10px 12px;display:flex}.email-editor-tab{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:10px;padding:10px 12px;font-size:14px;font-weight:600}.email-editor-tab.active,.email-editor-tab:hover{color:var(--accent-secondary);background:#6366f124}.email-editor-sidebar-body{background:var(--bg-card);flex:1;min-height:0;overflow:auto}.email-editor-pane{min-height:100%;display:none}.email-editor-pane.active{display:block}.email-editor-pane-content{min-height:100%}.email-editor-pane-content-secondary{border-top:1px solid var(--border-color)}.email-editor-shell{background:#eef3f9;flex-direction:column;min-height:0;display:flex}.email-editor-canvas-toolbar{border-bottom:1px solid var(--border-color);background:var(--bg-card);justify-content:flex-start;align-items:center;gap:16px;padding:12px 16px;display:flex}.email-editor-device-toggle{align-items:center;gap:6px;display:inline-flex}.email-editor-device-btn{width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.email-editor-device-btn.active,.email-editor-device-btn:hover{color:var(--accent-secondary);background:#6366f124;border-color:#6366f140}.email-editor-canvas{flex:1;min-height:0}.email-editor-shell .gjs-editor{height:100%}.email-editor-shell .gjs-one-bg{background:var(--bg-card)}.email-editor-shell .gjs-two-color{color:var(--text-secondary)}.email-editor-shell .gjs-three-bg{background:var(--bg-hover);color:var(--text-primary)}.email-editor-shell .gjs-four-color,.email-editor-shell .gjs-four-color-h:hover{color:var(--accent-secondary)}.email-editor-shell .gjs-pn-panel{border-color:var(--border-color)}.email-editor-shell .gjs-pn-panels,.email-editor-shell .gjs-pn-views,.email-editor-shell .gjs-pn-options,.email-editor-shell .gjs-pn-buttons{display:none!important}.email-editor-shell .gjs-pn-btn{color:var(--text-secondary)}.email-editor-shell .gjs-pn-btn.gjs-pn-active,.email-editor-shell .gjs-pn-btn:hover{color:var(--accent-secondary);background:#6366f124}.email-editor-shell .gjs-blocks-c,#email-editor-blocks{background:var(--bg-card);padding:10px 10px 16px}#email-editor-blocks .gjs-block-category,#email-editor-styles .gjs-sm-sector,#email-editor-layers .gjs-layer{border-bottom:1px solid var(--border-color)}#email-editor-blocks .gjs-block-category-title,#email-editor-styles .gjs-sm-title,#email-editor-layers .gjs-layer-title,#email-editor-traits .gjs-trt-trait__label{color:var(--text-secondary);font-size:13px}.email-editor-shell .gjs-block,#email-editor-blocks .gjs-block{background:var(--bg-secondary);border:1px solid var(--border-color);color:var(--text-primary);box-shadow:none;border-radius:8px;width:calc(50% - 6px);min-height:72px;margin:0 6px 8px 0;padding:8px 6px;font-size:11px}.email-editor-shell .gjs-block:hover,#email-editor-blocks .gjs-block:hover{border-color:#6366f14d}#email-editor-blocks .gjs-block-label{font-size:11px;line-height:1.25}#email-editor-blocks .gjs-block__media{transform-origin:top;margin-bottom:2px;transform:scale(.85)}#email-editor-styles .gjs-sm-sector,#email-editor-layers .gjs-layer,#email-editor-traits .gjs-trt-trait{border-color:var(--border-color)}#email-editor-styles .gjs-sm-title,#email-editor-layers .gjs-layer-title,#email-editor-traits .gjs-trait-label,#email-editor-traits .gjs-label{color:var(--text-secondary)}#email-editor-styles .gjs-field,#email-editor-styles .gjs-input-holder input,#email-editor-styles .gjs-input-holder select,#email-editor-styles .gjs-input-holder textarea,#email-editor-traits .gjs-field,#email-editor-traits .gjs-input-holder input,#email-editor-traits .gjs-input-holder select,#email-editor-traits .gjs-input-holder textarea{background:var(--bg-hover);color:var(--text-primary);border-color:var(--border-color)}.email-editor-shell .gjs-cv-canvas{background:#edf2f9;width:100%;height:100%;top:0}.email-editor-shell .gjs-cv-canvas__frames{padding-top:0}.asset-library-shell{background:var(--bg-card);border:1px solid var(--border-color);box-shadow:var(--shadow-sm);border-radius:16px;overflow:hidden}.asset-library-toolbar,.asset-library-breadcrumb{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.asset-library-view-toggle{align-items:center;gap:8px;display:flex}.asset-view-btn{width:34px;height:34px;color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast);background:0 0;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.asset-view-btn:hover{background:var(--bg-hover);color:var(--text-primary)}.asset-view-btn.active{color:var(--accent-secondary);background:#6366f124;border-color:#6366f140}.asset-library-breadcrumb{background:var(--bg-secondary);flex-wrap:wrap;justify-content:flex-start}.asset-breadcrumb-group{align-items:center;gap:8px;display:inline-flex}.asset-breadcrumb-separator{color:var(--text-muted);align-items:center;display:inline-flex}.asset-breadcrumb{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:13px;font-weight:500;display:inline-flex}.asset-breadcrumb.active,.asset-breadcrumb:hover{color:var(--accent-secondary)}.asset-breadcrumb.drop-target{color:var(--accent-secondary);text-shadow:0 0 12px #6366f138}.asset-library-content{min-height:560px;padding:0 0 24px}.asset-library-section{padding:20px 24px 0}.asset-library-section-label{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:14px;font-size:12px;font-weight:700}.asset-folder-row{flex-wrap:wrap;gap:12px;display:flex}.asset-folder-item{cursor:grab;position:relative}.asset-folder-create-card,.asset-folder-chip{min-width:248px;min-height:48px;color:var(--text-secondary);background:#3b82f60f;border:1px dashed #60a5fa80;border-radius:12px;align-items:center;gap:10px;padding:0 14px;display:inline-flex}.asset-folder-create-input{color:var(--text-primary);background:0 0;border:0;outline:none;flex:1;font-size:14px}.asset-folder-chip{cursor:pointer;border-style:solid;border-color:var(--border-color);background:var(--bg-secondary)}.asset-folder-chip.active,.asset-folder-chip:hover{color:var(--text-primary);border-color:#6366f14d}.asset-folder-chip.drop-target{background:#6366f11f;border-color:#6366f18c}.asset-folder-actions{opacity:0;transition:opacity var(--transition-fast);align-items:center;gap:6px;display:inline-flex;position:absolute;top:7px;right:8px}.asset-folder-item:hover .asset-folder-actions{opacity:1}.asset-upload-button{align-items:center;gap:8px;width:fit-content;display:inline-flex}.asset-empty-state{border:1px dashed var(--border-color);text-align:center;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;max-width:460px;min-height:460px;margin:0 auto;padding:32px;display:flex}.asset-empty-icon{width:64px;height:64px;color:var(--text-muted);background:var(--bg-secondary);border-radius:16px;justify-content:center;align-items:center;margin-bottom:16px;display:inline-flex}.asset-empty-title{color:var(--text-primary);margin-bottom:10px;font-size:18px;font-weight:600}.asset-empty-copy{max-width:320px;color:var(--text-secondary);margin-bottom:20px;font-size:14px;line-height:1.5}.asset-library-grid{gap:16px;display:grid}.asset-library-grid-small{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.asset-library-grid-medium{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.asset-library-grid-large{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.email-asset-card{cursor:grab;max-width:250px;margin-bottom:0}.email-asset-preview{aspect-ratio:1;border:1px solid var(--border-color);background:var(--bg-secondary);width:100%;box-shadow:var(--shadow-sm);border-radius:12px 12px 0 0;position:relative;overflow:hidden}.email-asset-image{object-fit:cover}.email-asset-name{color:var(--text-primary);word-break:break-word;text-align:center;border:1px solid var(--border-color);background:var(--bg-card);border-top:0;border-radius:0 0 12px 12px;padding:12px 10px 14px;font-size:13px}.asset-list-preview{border:1px solid var(--border-color);border-radius:10px;width:62px;height:62px;position:relative;overflow:hidden}.campaign-card{flex-direction:column;gap:18px;min-height:220px;display:flex}.campaign-card-header,.campaign-card-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.campaign-card-body{flex-direction:column;gap:10px;display:flex}.campaign-card-meta{color:var(--text-muted);font-size:13px}.campaign-card-divider{background:var(--border-color);height:1px;margin-top:auto}.campaign-settings-btn{width:30px;height:30px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.campaign-settings-btn:hover{color:var(--text-primary);background:#ffffff0f}.campaign-send-btn{border:1px solid var(--border-color);background:var(--bg-secondary);color:var(--text-primary);cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:8px 14px;font-size:13px;font-weight:600;display:inline-flex}.campaign-send-btn:hover{background:var(--bg-hover)}.campaign-list{flex-direction:column;gap:12px;display:flex}.campaign-list-item{border-bottom:1px solid var(--border-color);justify-content:space-between;gap:16px;padding:12px 0;display:flex}.campaign-list-item:last-child{border-bottom:none}.campaign-list-title{color:var(--text-primary);font-size:14px;font-weight:600}.email-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.email-empty-state-card{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:320px;display:flex}.email-empty-state-icon{width:56px;height:56px;color:var(--text-muted);background:var(--bg-secondary);border-radius:16px;justify-content:center;align-items:center;margin-bottom:16px;display:inline-flex}.asset-list-view{flex-direction:column;gap:16px;display:flex}.asset-list-row{border:1px solid var(--border-color);background:var(--bg-card);cursor:grab;border-radius:12px;align-items:center;gap:18px;padding:16px;display:flex}.asset-list-name{color:var(--text-primary);flex:1;font-size:15px;font-weight:600}.asset-list-actions{opacity:0;transition:opacity var(--transition-fast);align-items:center;gap:8px;display:inline-flex}.asset-list-row:hover .asset-list-actions{opacity:1}.email-asset-overlay{opacity:0;transition:opacity var(--transition-fast);align-items:center;gap:6px;display:inline-flex;position:absolute;top:10px;right:10px}.email-asset-card:hover .email-asset-overlay{opacity:1}.asset-overlay-action{border:1px solid var(--border-color);width:34px;height:34px;color:var(--text-primary);cursor:pointer;background:#0f1117eb;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.asset-overlay-action:hover{color:var(--accent-secondary);border-color:#6366f159}.asset-overlay-action-danger:hover{color:#f87171;border-color:#ef444459}.asset-dragging{opacity:.45}.modal-backdrop{z-index:500;background:#0f1117b8;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-card{background:var(--bg-card);border:1px solid var(--border-color);width:min(720px,100%);box-shadow:var(--shadow-lg);border-radius:16px;padding:24px}.modal-card-sm{width:min(480px,100%)}.modal-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px;display:grid}.modal-actions{justify-content:flex-end;gap:12px;margin-top:20px;display:flex}.intake-record-row{cursor:pointer}.intake-consult-soon{color:#f97316;font-weight:600}.website-analytics-filter{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.website-bot-chart-header{position:relative}.website-bot-chart-header .chart-subtitle{margin-bottom:0}.website-bot-filter-wrap{flex:none;position:relative}.website-bot-filter-btn{border:1px solid var(--border-color);background:var(--bg-secondary);min-height:36px;color:var(--text-primary);cursor:pointer;transition:background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:8px 13px;font-family:inherit;font-size:13px;font-weight:500;display:inline-flex}.website-bot-filter-btn:hover,.website-bot-filter-btn:focus-visible,.website-bot-filter-btn.active{color:var(--accent-secondary);background:#6366f124;border-color:#6366f180;outline:none}.website-bot-filter-count{background:var(--accent-primary);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;line-height:1;display:inline-flex}.website-bot-filter-flyout{z-index:20;border:1px solid var(--border-color);background:var(--bg-card);width:min(360px,100vw - 64px);box-shadow:var(--shadow-lg);border-radius:8px;gap:0;display:grid;position:absolute;top:calc(100% + 10px);right:0;overflow:hidden}.website-bot-filter-heading{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:14px 16px;display:flex}.website-bot-filter-heading strong{color:var(--text-primary);font-size:15px}.website-bot-filter-heading button{width:30px;height:30px;color:var(--text-secondary);cursor:pointer;transition:background-color var(--transition-fast), color var(--transition-fast);background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;display:inline-flex}.website-bot-filter-heading button:hover,.website-bot-filter-heading button:focus-visible{background:var(--bg-hover);color:var(--text-primary);outline:none}.website-bot-filter-section{border-bottom:1px solid var(--border-color);gap:7px;padding:14px 16px;display:grid}.website-bot-filter-section .filter-label{margin-bottom:0}.website-bot-filter-section .filter-select{min-width:0}.website-bot-filter-stack{gap:14px}.website-bot-search-filter{gap:7px;min-width:0;display:grid;position:relative}.website-bot-search-filter .filter-label{margin-bottom:0}.website-bot-search-trigger{border:1px solid var(--border-color);background:var(--bg-input);width:100%;min-height:36px;color:var(--text-primary);text-align:left;cursor:pointer;transition:border-color var(--transition-fast), background-color var(--transition-fast);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px 8px 12px;font-family:inherit;font-size:13px;display:flex}.website-bot-search-trigger:hover,.website-bot-search-trigger:focus-visible,.website-bot-search-trigger[aria-expanded=true]{border-color:var(--accent-primary);outline:none}.website-bot-search-trigger span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.website-bot-search-trigger svg{color:var(--text-secondary);flex:none}.website-bot-search-menu{border:1px solid var(--border-color);background:var(--bg-secondary);box-shadow:var(--shadow-sm);border-radius:8px;gap:8px;padding:8px;display:grid}.website-bot-search-input{border:1px solid var(--border-color);background:var(--bg-input);min-height:34px;color:var(--text-secondary);border-radius:8px;align-items:center;gap:8px;padding:0 8px;display:flex}.website-bot-search-input:focus-within{border-color:var(--accent-primary)}.website-bot-search-input input{width:100%;min-width:0;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0;font-size:13px}.website-bot-search-input input::placeholder{color:var(--text-muted)}.website-bot-search-input button{width:22px;height:22px;color:var(--text-secondary);cursor:pointer;background:#94a3b81f;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;display:inline-flex}.website-bot-search-input button:hover,.website-bot-search-input button:focus-visible{background:var(--bg-hover);color:var(--text-primary);outline:none}.website-bot-search-options{gap:2px;max-height:180px;display:grid;overflow-y:auto}.website-bot-search-option{width:100%;min-height:32px;color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;padding:7px 8px;font-family:inherit;font-size:13px;display:flex}.website-bot-search-option:hover,.website-bot-search-option:focus-visible,.website-bot-search-option.selected{background:#6366f124;outline:none}.website-bot-search-option span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.website-bot-search-option svg{color:var(--accent-secondary);flex:none}.website-bot-search-empty{color:var(--text-muted);padding:8px;font-size:13px}.website-bot-filter-footer{background:var(--bg-secondary);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.website-bot-filter-footer .secondary-btn{border-radius:8px;min-height:32px;padding:7px 12px}.website-bot-filter-footer .secondary-btn:disabled{cursor:not-allowed;opacity:.55}.intake-record-row:hover,.intake-record-row:focus-visible{background:#6366f114;outline:none}.intake-edit-modal{width:min(960px,100%);max-height:calc(100vh - 48px);overflow-y:auto}.intake-edit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.intake-appointment-row{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.intake-edit-field-wide{grid-column:1/-1}.intake-edit-textarea{resize:vertical;min-height:110px}.intake-lead-matches{gap:8px;margin-top:14px;display:grid}.intake-lead-match{border:1px solid var(--border-color);background:var(--bg-secondary);width:100%;color:var(--text-primary);text-align:left;cursor:pointer;border-radius:8px;justify-content:space-between;gap:12px;padding:10px 12px;display:flex}.intake-lead-match:hover,.intake-lead-match:focus-visible{border-color:var(--accent-color);outline:none}.intake-lead-match-main,.intake-lead-match-contact{gap:2px;min-width:0;display:grid}.intake-lead-match-contact{color:var(--text-secondary);text-align:right;justify-items:end;font-size:12px}.intake-payer-combo{position:relative}.intake-payer-dropdown{z-index:30;border:1px solid var(--border-color);background:var(--bg-card);border-radius:8px;gap:4px;max-height:240px;padding:6px;display:grid;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #0000002e}.intake-payer-option{text-align:left;background:var(--bg-secondary);width:100%;color:var(--text-primary);cursor:pointer;border:1px solid #0000;border-radius:6px;gap:2px;padding:8px 10px;display:grid}.intake-payer-option span{color:var(--text-secondary);font-size:12px}.intake-payer-option:hover,.intake-payer-option:focus-visible{border-color:var(--accent-color);outline:none}.intake-payer-empty{color:var(--text-secondary);padding:8px 10px;font-size:12px}.intake-waitlist-section{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:8px;margin:6px 0 18px;padding:16px}.intake-waitlist-list{gap:12px;margin-top:12px;display:grid}.intake-waitlist-form{border:1px solid var(--border-color);background:var(--bg-card);border-radius:8px;gap:12px;margin-top:14px;padding:12px;display:grid}.intake-waitlist-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.intake-waitlist-form-actions{justify-content:flex-end;gap:8px;display:flex}.intake-waitlist-error,.intake-waitlist-empty{margin-top:12px}.intake-waitlist-record{border:1px solid var(--border-color);background:var(--bg-card);border-radius:8px;gap:12px;padding:12px;display:grid}.intake-waitlist-record-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.intake-waitlist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.intake-waitlist-field.wide{grid-column:1/-1}.intake-waitlist-value{color:var(--text-primary);white-space:pre-wrap;font-size:13px;line-height:1.5}.intake-edit-checkbox{min-height:42px;color:var(--text-secondary);align-self:end;align-items:center;gap:10px;display:flex}.intake-readonly-checkbox{opacity:.75}.intake-page-header{align-items:flex-start;margin-bottom:24px}.intake-header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.intake-header-btn{white-space:nowrap;width:auto;padding:6px 14px;font-size:13px}.intake-find-panel{margin-bottom:20px}.intake-find-filters{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:12px;display:flex}.intake-find-field{flex:160px;min-width:160px}.intake-find-actions{gap:8px;margin-top:12px;display:flex}.intake-find-results{margin-top:16px}.intake-find-pager{justify-content:flex-end;align-items:center;gap:12px;margin-top:12px;display:flex}.intake-row-actions{flex-wrap:wrap;gap:8px;display:flex}.intake-delete-lead-btn{margin-right:auto}.intake-insurance-modal{width:min(1040px,100%);max-height:calc(100vh - 48px);overflow-y:auto}.intake-insurance-section{border:1px solid var(--border-color);border-radius:12px;margin-bottom:20px;padding:16px}.intake-insurance-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.intake-session-candidates{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.intake-session-candidates .calc-label{width:100%}.intake-policy-summary{color:var(--text-secondary);gap:6px;margin-top:16px;font-size:14px;display:grid}.tag-chip-row{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.tag-chip{color:var(--text-primary);background:#6366f129;border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:12px;display:inline-flex}.tag-chip-remove{color:inherit;cursor:pointer;background:0 0;border:0;display:inline-flex}.tag-search-results{border:1px solid var(--border-color);border-radius:10px;margin-top:8px;overflow:hidden}.tag-search-item{text-align:left;background:var(--bg-secondary);width:100%;color:var(--text-primary);cursor:pointer;border:0;padding:10px 12px}.tag-search-item+.tag-search-item{border-top:1px solid var(--border-color)}.tag-search-item:hover{background:var(--bg-hover)}.tag-search-item-create{color:var(--accent-secondary)}.send-options{flex-direction:column;gap:10px;display:flex}.modal-tag-list{max-height:240px;margin-top:16px;overflow-y:auto}.email-search-block{margin:18px 0}.ehr-clients-page{color:var(--text-primary)}.ehr-clients-layout{width:min(640px,100%);margin:0 auto}.ehr-clients-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:26px;display:flex}.ehr-clients-header h1{background:var(--accent-gradient);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:24px;font-weight:700;line-height:1.25}.ehr-clients-add-btn{border:1px solid var(--border-color);background:var(--bg-card);height:32px;color:var(--text-primary);font:inherit;cursor:pointer;border-radius:4px;align-items:center;gap:5px;padding:0 12px;font-size:14px;text-decoration:none;display:inline-flex}.ehr-clients-add-btn:hover,.ehr-clients-filter-btn:hover{background:var(--bg-hover)}.ehr-clients-message{margin:0 0 18px}.ehr-clients-registry{background:0 0}.ehr-clients-toolbar{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:16px;min-height:70px;display:flex;position:relative}.ehr-clients-search-field{min-width:0;color:var(--text-secondary);flex:1;align-items:center;gap:12px;display:flex}.ehr-clients-search-field input{width:100%;min-width:0;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0;font-size:16px}.ehr-clients-search-field input::placeholder{color:var(--text-secondary);opacity:1}.ehr-clients-filter-wrap{justify-content:flex-end;display:inline-flex;position:relative}.ehr-clients-filter-btn{width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;display:inline-flex}.ehr-clients-filter-btn.active{color:var(--accent-secondary)}.ehr-clients-filter-select{z-index:5;border:1px solid var(--border-color);background:var(--bg-card);width:170px;color:var(--text-primary);font:inherit;box-shadow:var(--shadow-md);border-radius:4px;padding:8px 10px;font-size:14px;position:absolute;top:38px;right:0}.ehr-clients-table-wrap{overflow-x:auto}.ehr-clients-table{border-collapse:collapse;width:100%;color:var(--text-primary);font-size:16px}.ehr-clients-table th,.ehr-clients-table td{border-bottom:1px solid var(--border-color);text-align:left;vertical-align:middle;height:49px;padding:0 12px}.ehr-clients-table th{font-weight:600}.ehr-clients-table th:first-child,.ehr-clients-table td:first-child{width:52%}.ehr-clients-table th:last-child,.ehr-clients-table td:last-child{text-align:right;width:64px}.ehr-clients-date-cell,.ehr-clients-view-link{color:var(--accent-secondary)}.ehr-clients-view-link{text-decoration:none}.ehr-clients-view-link:hover{text-decoration:underline}.ehr-clients-empty{color:var(--text-secondary);text-align:center;padding:22px 0}.ehr-calendar-workspace{border:1px solid var(--border-color);background:var(--bg-card);border-radius:8px;min-width:0;position:relative;overflow:hidden}.ehr-calendar-toolbar{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:12px 14px;display:flex}.ehr-calendar-toolbar-left,.ehr-calendar-toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ehr-calendar-toolbar h1{color:var(--text-primary);letter-spacing:0;margin:0 12px 0 6px;font-size:20px;font-weight:700}.ehr-calendar-today-btn,.ehr-icon-btn,.ehr-compact-btn{border:1px solid var(--border-color);min-height:32px;color:var(--text-secondary);font:inherit;cursor:pointer;transition:border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);background:0 0;border-radius:6px;font-size:13px}.ehr-calendar-today-btn{padding:0 12px}.ehr-icon-btn{justify-content:center;align-items:center;width:34px;display:inline-flex}.ehr-icon-btn.primary{color:var(--text-primary);background:#6366f129;border-color:#6366f17a}.ehr-icon-btn.active,.ehr-compact-btn.active,.ehr-calendar-today-btn:hover,.ehr-icon-btn:hover,.ehr-compact-btn:hover{border-color:var(--accent-primary);background:var(--bg-hover);color:var(--text-primary)}.ehr-compact-btn{align-items:center;gap:7px;padding:0 10px;display:inline-flex}.ehr-compact-btn strong{background:var(--success);color:#07120a;border-radius:999px;justify-content:center;align-items:center;min-width:18px;height:18px;font-size:12px;display:inline-flex}.ehr-calendar-view-select{height:32px;color:var(--text-primary);font:inherit;cursor:pointer;background:0 0;border:0;font-size:14px;font-weight:600}.ehr-calendar-timezone{border-bottom:1px solid var(--border-color);color:var(--text-muted);text-align:right;padding:8px 14px;font-size:12px}.ehr-calendar-timezone.compact{text-align:left;border-bottom:0;padding:0}.ehr-calendar-filter-panel{z-index:12;border:1px solid var(--border-color);background:var(--bg-card);width:min(330px,100% - 24px);max-height:min(700px,100vh - 160px);box-shadow:var(--shadow-lg);border-radius:8px;gap:0;padding:16px;display:grid;position:absolute;top:55px;right:56px;overflow-y:auto}.ehr-calendar-filter-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.ehr-calendar-filter-heading strong{color:var(--text-primary);font-size:16px}.ehr-calendar-filter-heading button{color:var(--accent-secondary);font:inherit;cursor:pointer;background:0 0;border:0;font-size:13px}.ehr-calendar-filter-section{border-top:1px solid var(--border-color);gap:8px;padding:14px 0;display:grid}.ehr-calendar-filter-heading+.ehr-calendar-filter-section{border-top:0;padding-top:0}.ehr-calendar-filter-section-title{color:#7f8fab;font-size:14px}.ehr-calendar-filter-list{gap:5px;max-height:190px;display:grid;overflow-y:auto}.ehr-calendar-check-row,.ehr-calendar-radio-row label{min-height:22px;color:var(--text-primary);align-items:center;gap:7px;font-size:14px;line-height:1.25;display:flex}.ehr-calendar-radio-row{flex-wrap:wrap;gap:10px 14px;display:flex}.ehr-calendar-check-row input,.ehr-calendar-radio-row input{accent-color:var(--accent-primary)}.ehr-settings-menu{z-index:13;border:1px solid var(--border-color);background:var(--bg-card);width:256px;box-shadow:var(--shadow-lg);border-radius:8px;position:absolute;top:55px;right:14px;overflow:hidden}.ehr-settings-menu>button,.ehr-settings-privacy-row{width:100%;min-height:42px;color:var(--text-primary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:0 14px;font-size:14px;display:flex}.ehr-settings-menu>button:hover,.ehr-settings-privacy-row:hover{background:var(--bg-hover)}.ehr-settings-privacy-row{justify-content:space-between;border-top:1px solid var(--border-color)!important}.ehr-settings-privacy-row>span:first-child{align-items:center;gap:10px;display:flex}.ehr-settings-privacy-row strong,.ehr-settings-privacy-row small{display:block}.ehr-settings-privacy-row small{color:var(--text-muted);font-size:12px;font-weight:400}.ehr-switch{width:34px;height:20px;transition:background-color var(--transition-fast);background:#2f3748;border-radius:999px;flex-shrink:0;position:relative}.ehr-switch:after{content:"";width:14px;height:14px;transition:transform var(--transition-fast);background:#e5e7eb;border-radius:999px;position:absolute;top:3px;left:3px}.ehr-switch.on{background:var(--accent-primary)}.ehr-switch.on:after{transform:translate(14px)}.ehr-calendar-side-panel{z-index:14;border-left:1px solid var(--border-color);background:var(--bg-card);width:min(420px,100%);box-shadow:var(--shadow-lg);flex-direction:column;display:flex;position:absolute;top:0;bottom:0;right:0}.ehr-calendar-side-panel.office-hours{width:min(720px,100%)}.ehr-side-panel-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:flex-start;gap:14px;min-height:72px;padding:20px 24px 16px;display:flex}.ehr-side-panel-header h2{color:var(--text-primary);margin:0 0 4px;font-size:20px;font-weight:700}.ehr-side-panel-header p{color:#7f8fab;margin:0;font-size:14px}.ehr-side-panel-header button,.ehr-mini-icon-btn{color:var(--text-secondary);cursor:pointer;background:0 0;border:0}.ehr-side-panel-header button{border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.ehr-side-panel-header button:hover,.ehr-mini-icon-btn:hover{background:var(--bg-hover);color:var(--text-primary)}.ehr-side-panel-body{flex:1;min-height:0;padding:24px;overflow-y:auto}.ehr-side-panel-actions{border-top:1px solid var(--border-color);background:var(--bg-card);justify-content:space-between;gap:12px;padding:16px 24px;display:flex}.ehr-side-panel-actions .apply-btn,.ehr-side-panel-actions .secondary-btn{width:auto;min-width:80px}.ehr-preference-section{gap:10px;display:grid}.ehr-preference-section h3{color:var(--text-primary);margin:0;font-size:16px;font-weight:700}.ehr-preference-section p{color:#7f8fab;margin:0 0 2px;font-size:14px;line-height:1.4}.ehr-preference-section label{color:var(--text-primary);align-items:center;gap:8px;font-size:14px;display:flex}.ehr-preference-section input{accent-color:var(--accent-primary)}.ehr-office-hours-breadcrumb{color:#7f8fab;align-items:center;gap:8px;padding:18px 24px 0;font-size:14px;display:flex}.ehr-office-hours-breadcrumb button{color:#7f8fab;font:inherit;cursor:pointer;background:0 0;border:0}.ehr-office-hours-breadcrumb strong{color:var(--text-primary);font-weight:600}.ehr-office-hours-days{border-top:1px solid var(--border-color);margin-top:22px;display:grid}.ehr-office-hours-day{border-bottom:1px solid var(--border-color);grid-template-columns:82px minmax(0,1fr) 74px;align-items:center;gap:10px;min-height:82px;padding:14px 0;display:grid}.ehr-office-hours-day-label{color:var(--text-primary);align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.ehr-office-hours-day-label input{accent-color:var(--accent-primary)}.ehr-office-hours-ranges{gap:8px;display:grid}.ehr-office-hours-range{grid-template-columns:minmax(90px,1fr) auto minmax(90px,1fr) 30px;align-items:center;gap:8px;display:grid}.ehr-office-hours-range>span,.ehr-office-unavailable{color:#7f8fab}.ehr-office-hours-actions{justify-content:flex-end;gap:8px;display:flex}.ehr-mini-icon-btn{border-radius:5px;justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex}.ehr-time-grid-calendar{width:100%;min-width:760px;overflow-x:auto}.ehr-time-grid-header,.ehr-time-grid-all-day,.ehr-time-grid-body{display:grid}.ehr-time-grid-header{z-index:3;background:var(--bg-card);border-bottom:1px solid var(--border-color);position:sticky;top:0}.ehr-time-grid-corner,.ehr-time-grid-day-heading{border-right:1px solid var(--border-color);min-height:44px}.ehr-time-grid-day-heading{color:var(--text-secondary);text-transform:uppercase;justify-content:center;align-items:center;gap:8px;font-size:12px;display:flex}.ehr-time-grid-day-heading strong{width:28px;height:28px;color:var(--text-primary);border-radius:999px;justify-content:center;align-items:center;font-size:15px;display:inline-flex}.ehr-time-grid-day-heading.today strong{background:var(--accent-primary);color:#fff}.ehr-time-grid-all-day{border-bottom:1px solid var(--border-color);min-height:50px}.ehr-time-grid-all-day>div{border-right:1px solid var(--border-color)}.ehr-time-grid-all-day>div:first-child{color:var(--text-muted);text-align:right;padding:14px 8px;font-size:12px}.ehr-time-grid-all-day-cell{min-height:50px;padding:8px;position:relative}.ehr-time-grid-all-day-cell.today{background:#ffffff09}.ehr-all-day-empty-target{z-index:1;cursor:pointer;background:0 0;border:0;position:absolute;inset:0}.ehr-all-day-empty-target:hover{background:#6366f10f}.ehr-all-day-event-list{z-index:2;pointer-events:none;gap:5px;display:grid;position:relative}.ehr-all-day-event{z-index:2;border:1px solid var(--event-border,#6366f18c);background:var(--event-bg,#4f46e5);width:auto;min-height:24px;color:var(--event-fg,white);font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;border-radius:4px;align-self:center;margin:2px 4px;padding:3px 7px;font-size:11px;font-weight:700;position:relative;overflow:hidden}.ehr-all-day-event.blocked{color:#fecaca;background:#ef444429;border-color:#ef444452}.ehr-all-day-event.available{color:#99f6e4;background:#14b8a629;border-color:#14b8a652}.ehr-all-day-event.event{border-color:var(--event-border,#6366f15c);background:var(--event-bg,#6366f12e);color:var(--event-fg,#c7d2fe)}.ehr-all-day-event.status-canceled,.ehr-all-day-event.status-no-show{background:#64748bd1;background:color-mix(in srgb, var(--event-bg,#4f46e5) 36%, #64748b);color:#f8fafc;border-color:#94a3b8cc}.ehr-all-day-event.status-no-show{border-color:color-mix(in srgb, var(--event-border,#94a3b8) 45%, #f59e0b)}.ehr-color-picker{width:fit-content;display:inline-flex;position:relative}.ehr-color-trigger{border:1px solid var(--border-color);background:var(--bg-input);min-width:60px;height:32px;color:var(--text-secondary);cursor:pointer;border-radius:5px;justify-content:center;align-items:center;gap:7px;display:inline-flex}.ehr-color-trigger:hover,.ehr-color-trigger[aria-expanded=true]{border-color:var(--accent-primary)}.ehr-color-trigger-dot{border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;width:18px;height:18px;display:inline-flex}.ehr-color-trigger-dot.none{border-color:var(--text-muted);color:var(--text-muted);background:0 0}.ehr-color-flyout{z-index:40;border:1px solid var(--border-color);background:var(--bg-card);border-radius:6px;gap:10px;width:max-content;max-width:220px;padding:9px;display:grid;position:absolute;bottom:calc(100% + 6px);left:0;box-shadow:0 14px 32px #00000052}.ehr-color-swatch-grid{grid-template-columns:repeat(4,28px);gap:8px;display:grid}.ehr-color-swatch{width:28px;height:28px;color:var(--text-muted);cursor:pointer;border:2px solid #0000;border-radius:5px;justify-content:center;align-items:center;display:inline-flex}.ehr-color-swatch.none{border-color:var(--border-color);background:0 0}.ehr-color-swatch.selected{border-color:var(--accent-primary);box-shadow:0 0 0 2px #6366f12e}.ehr-color-variant-list{gap:6px;display:grid}.ehr-color-variant{min-height:28px;font:inherit;text-align:left;cursor:pointer;border:1px solid #0000;border-radius:4px;align-items:center;gap:8px;padding:4px 9px;font-size:12px;font-weight:700;display:inline-flex}.ehr-color-variant span{border-radius:999px;width:14px;height:14px}.ehr-color-variant.selected{box-shadow:0 0 0 2px #6366f13d}.ehr-recurrence-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.ehr-recurrence-row label{color:var(--text-secondary);grid-template-columns:auto minmax(54px,1fr) auto;align-items:center;gap:6px;font-size:12px;display:grid}.ehr-recurrence-row label:last-child{grid-template-columns:auto minmax(120px,1fr)}.ehr-recurrence-static{color:var(--text-secondary);align-self:center;font-size:12px;font-weight:700}.ehr-recurrence-row .calc-input{min-width:0;height:32px;padding-inline:8px}.ehr-time-axis{border-right:1px solid var(--border-color)}.ehr-time-axis div{color:#6f7f9a;text-align:right;border-bottom:1px solid #2d31488c;padding:5px 7px 0 0;font-size:12px}.ehr-time-grid-day{border-right:1px solid var(--border-color);background:var(--bg-card);position:relative}.ehr-time-grid-day.today{background:#ffffff09}.ehr-time-grid-slot{cursor:pointer;background:0 0;border:0;border-bottom:1px solid #2d31489e;width:100%;display:block}.ehr-time-grid-slot:hover{background:#6366f10f}.ehr-calendar-background-block{z-index:1;pointer-events:none;position:absolute;left:0;right:0}.ehr-calendar-background-block.availability{background:#22c55e14;border-top:1px solid #22c55e24;border-bottom:1px solid #22c55e24}.ehr-current-time-line{z-index:6;pointer-events:none;background:#ef4444;height:2px;position:absolute;left:0;right:0;transform:translateY(-1px);box-shadow:0 0 0 1px #ef44441f}.ehr-current-time-dot{background:#ef4444;border-radius:999px;width:10px;height:10px;position:absolute;top:50%;left:-5px;transform:translateY(-50%)}.ehr-calendar-event{z-index:3;border:1px solid var(--event-border,#6366f18c);background:var(--event-bg,#4f46e5);color:var(--event-fg,white);text-align:left;cursor:pointer;border-radius:4px;align-content:start;gap:2px;padding:5px 7px;display:grid;position:absolute;left:4px;right:4px;overflow:hidden;box-shadow:0 4px 12px #00000038}.ehr-calendar-event strong,.ehr-calendar-event span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ehr-calendar-event strong{font-size:12px}.ehr-calendar-event span{color:var(--event-muted,#ffffffc7);font-size:11px}.ehr-calendar-event .event-time{color:var(--event-fg,white);font-weight:700}.ehr-calendar-event .event-time-row{align-items:center;gap:5px;min-width:0;display:flex}.ehr-calendar-event .event-time-row .event-time{flex:auto}.ehr-calendar-event .event-status-badge{color:currentColor;text-transform:uppercase;border:1px solid;border-radius:3px;flex:none;max-width:72px;padding:1px 4px;font-size:9px;font-weight:800}.ehr-calendar-event.status-canceled,.ehr-calendar-event.status-no-show{background:#64748be6;background:color-mix(in srgb, var(--event-bg,#4f46e5) 34%, #64748b);color:#f8fafc;--event-fg:#f8fafc;--event-muted:#f8fafcc7}.ehr-calendar-event.status-canceled{border-color:color-mix(in srgb, var(--event-border,#94a3b8) 42%, #94a3b8)}.ehr-calendar-event.status-no-show{border-color:color-mix(in srgb, var(--event-border,#94a3b8) 45%, #f59e0b)}.ehr-calendar-event.status-requested{border-style:dashed}.ehr-calendar-event.blocked{z-index:2;color:#fecaca;box-shadow:none;background:#ef444429;border-color:#ef444452 currentColor;border-left-style:none;border-left-width:0;border-right-style:none;border-right-width:0;border-radius:0;align-content:start;left:0;right:0}.ehr-calendar-event.available{z-index:2;color:#99f6e4;box-shadow:none;background:#14b8a629;border-color:#14b8a652 currentColor;border-left-style:none;border-left-width:0;border-right-style:none;border-right-width:0;border-radius:0;left:0;right:0}.ehr-calendar-event.event{border-color:var(--event-border,#6366f15c);background:var(--event-bg,#6366f12e);color:var(--event-fg,#c7d2fe);box-shadow:none}.ehr-calendar-event.blocked strong,.ehr-calendar-event.available strong,.ehr-calendar-event.event strong{font-size:11px;font-weight:700}.ehr-calendar-event.blocked .event-time,.ehr-calendar-event.available .event-time,.ehr-calendar-event.event .event-time{color:currentColor;opacity:.85}.ehr-month-calendar{border-top:1px solid var(--border-color);grid-template-columns:repeat(7,minmax(0,1fr));min-width:760px;display:grid}.ehr-month-heading,.ehr-month-day{border:0;border-right:1px solid var(--border-color);border-bottom:1px solid var(--border-color);background:var(--bg-card);min-height:92px;color:var(--text-primary);text-align:left;padding:10px}.ehr-month-heading{background:var(--bg-secondary);min-height:auto;color:var(--text-muted);text-align:center;text-transform:uppercase;font-size:12px;font-weight:700}.ehr-month-day{cursor:pointer;align-content:start;gap:5px;display:grid}.ehr-month-day:hover{background:var(--bg-hover)}.ehr-month-day>span{color:var(--text-secondary);font-size:12px}.ehr-month-day.muted{opacity:.5}.ehr-month-event-list{gap:4px;min-width:0;display:grid}.ehr-month-event{border:1px solid var(--event-border,#6366f18c);background:var(--event-bg,#4f46e5);min-height:19px;color:var(--event-fg,white);text-overflow:ellipsis;white-space:nowrap;border-radius:4px;padding:2px 5px;font-size:11px;font-weight:700;line-height:1.2;display:block;overflow:hidden}.ehr-month-event.event{border-color:var(--event-border,#6366f15c);background:var(--event-bg,#6366f12e);color:var(--event-fg,#c7d2fe)}.ehr-month-event.status-canceled,.ehr-month-event.status-no-show{background:#64748bd1;background:color-mix(in srgb, var(--event-bg,#4f46e5) 36%, #64748b);color:#f8fafc;border-color:#94a3b8cc}.ehr-month-event.status-no-show{border-color:color-mix(in srgb, var(--event-border,#94a3b8) 45%, #f59e0b)}.ehr-month-more,.ehr-month-empty{color:var(--text-secondary);font-size:12px}.ehr-calendar-modal{width:min(520px,100%);max-height:calc(100vh - 36px);overflow-y:auto}.ehr-event-modal{border-radius:8px;padding:0}.ehr-event-modal .modal-header{border-bottom:1px solid var(--border-color);align-items:center;min-height:64px;margin-bottom:0;padding:0 16px}.ehr-event-modal .modal-header h2{color:var(--text-primary);font-size:17px;font-weight:700}.ehr-event-modal .modal-close{width:32px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;font-size:22px;line-height:1}.ehr-event-modal .modal-close:hover{background:var(--bg-hover);color:var(--text-primary)}.ehr-event-modal .error-message{margin:16px 16px 0}.ehr-event-modal-body{gap:14px;padding:18px 16px;display:grid}.ehr-event-field{gap:7px;min-width:0;display:grid}.ehr-event-field .filter-label{color:var(--text-secondary);margin-bottom:0;font-size:14px}.ehr-event-field .calc-input,.ehr-event-field .filter-select{background-color:var(--bg-input);border-radius:5px;height:38px}.ehr-event-field textarea.calc-input{resize:vertical;height:38px;min-height:38px;padding-top:8px}.ehr-muted-inline-btn{width:fit-content;color:var(--text-muted);font:inherit;background:#94a3b812;border:0;border-radius:5px;padding:8px 10px;font-size:13px}.ehr-event-divider{background:var(--border-color);height:1px;margin:10px 0}.ehr-payment-override-panel{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:8px;gap:12px;padding:12px;display:grid}.ehr-payment-override-heading{color:var(--text-secondary);justify-content:space-between;gap:12px;font-size:13px;display:flex}.ehr-payment-override-heading span{color:var(--text-primary);font-weight:700}.ehr-payment-override-heading strong{font-size:12px;font-weight:700}.ehr-payment-override-grid{grid-template-columns:minmax(120px,.45fr) minmax(180px,1fr);align-items:end;gap:10px;display:grid}.ehr-payment-override-scope{gap:8px;padding-top:4px;display:grid}.ehr-event-time-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:10px;display:grid}.ehr-event-time-row>span{color:var(--text-secondary);padding-bottom:10px}.ehr-event-modal .modal-actions{border-top:1px solid var(--border-color);background:var(--bg-card);margin-top:0;padding:14px 16px;position:sticky;bottom:0}.ehr-client-search-results{border:1px solid var(--border-color);background:var(--bg-card);border-radius:8px;gap:4px;max-height:180px;margin-top:6px;display:grid;overflow-y:auto}.ehr-client-search-results button{border:0;border-bottom:1px solid var(--border-color);color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;padding:9px 10px}.ehr-client-search-results button:last-child{border-bottom:0}.ehr-create-panel{border:1px solid var(--border-color);background:var(--bg-card);border-radius:8px;margin-top:28px;padding:24px}.ehr-create-panel .chart-title{color:var(--text-primary)}.ehr-create-panel .chart-subtitle{color:var(--text-muted)}.ehr-new-client-panel{border:1px solid var(--border-color);background:var(--bg-card);box-shadow:var(--shadow-sm);border-radius:8px;margin-bottom:28px;overflow:hidden}.ehr-new-client-heading{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:16px;min-height:56px;padding:0 18px;display:flex}.ehr-new-client-heading h1,.ehr-new-client-heading h2{color:var(--text-primary);font-size:17px;font-weight:700}.ehr-new-client-close,.ehr-remove-person-btn{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.ehr-new-client-close{border-radius:6px;width:32px;height:32px}.ehr-new-client-close:hover,.ehr-remove-person-btn:hover{background:var(--bg-hover);color:var(--text-primary)}.ehr-new-client-form{flex-direction:column;display:flex}.ehr-client-type-row{border-bottom:1px solid var(--border-color);flex-wrap:wrap;gap:18px;padding:18px;display:flex}.ehr-radio-choice,.ehr-checkbox-choice{color:var(--text-primary);cursor:pointer;align-items:center;gap:7px;font-size:15px;line-height:1.35;display:inline-flex}.ehr-radio-choice input,.ehr-checkbox-choice input{width:14px;height:14px;accent-color:var(--accent-primary)}.ehr-new-client-section{flex-direction:column;gap:16px;padding:18px;display:flex}.ehr-new-client-grid{gap:16px;display:grid}.ehr-new-client-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.ehr-new-client-field{color:var(--text-primary);flex-direction:column;gap:8px;font-size:15px;display:flex}.ehr-new-client-field input,.ehr-new-client-field select{border:1px solid var(--border-color);background:var(--bg-input);width:100%;height:38px;color:var(--text-primary);font:inherit;transition:border-color var(--transition-fast), box-shadow var(--transition-fast);border-radius:6px;padding:0 10px}.ehr-new-client-field select{cursor:pointer}.ehr-new-client-field input:focus,.ehr-new-client-field select:focus{border-color:var(--accent-primary);outline:0;box-shadow:0 0 0 3px #6366f11f}.ehr-new-client-note{color:var(--text-secondary);font-size:14px;line-height:1.45}.ehr-payment-method-card{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:8px;gap:14px;padding:16px;display:grid}.ehr-stripe-element-wrap{border:1px solid var(--border-color);background:var(--bg-input);width:100%;min-height:38px;transition:border-color var(--transition-fast), box-shadow var(--transition-fast);border-radius:6px;align-items:center;padding:0 10px;display:flex}.ehr-stripe-element-wrap:focus-within{border-color:var(--accent-primary);box-shadow:0 0 0 3px #6366f11f}.ehr-stripe-element-wrap .StripeElement{flex:1;min-width:0}.ehr-card-number-field .ehr-stripe-element-wrap{gap:12px}.ehr-card-brand-row{flex-shrink:0;align-items:center;gap:4px;display:flex}.ehr-card-brand-row span{color:var(--text-primary);background:#6366f13d;border-radius:3px;padding:3px 5px;font-size:9px;font-weight:800;line-height:1}.ehr-payment-method-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.ehr-payment-muted,.ehr-payment-verified{color:var(--text-secondary);font-size:13px;line-height:1.4}.ehr-payment-verified{color:#4ade80;font-weight:700}.ehr-payment-message{margin:0}.ehr-new-client-section-title{border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color);padding:16px 0}.ehr-new-client-section-title h2,.ehr-new-client-section-title h3{color:var(--text-primary);font-size:16px;font-weight:700}.ehr-related-person{border-bottom:1px solid var(--border-color);flex-direction:column;gap:16px;padding-bottom:18px;display:flex}.ehr-related-person-top{justify-content:space-between;align-items:center;gap:14px;display:flex}.ehr-new-existing-toggle{border:1px solid var(--border-color);border-radius:5px;align-items:center;display:inline-flex;overflow:hidden}.ehr-new-existing-toggle button{border:0;border-right:1px solid var(--border-color);background:var(--bg-secondary);min-height:30px;color:var(--accent-secondary);font:inherit;cursor:pointer;padding:0 9px;font-size:13px}.ehr-new-existing-toggle button:last-child{border-right:0}.ehr-new-existing-toggle button.active{color:var(--text-primary);background:#6366f12e}.ehr-related-options{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.ehr-existing-person-combobox{position:relative}.ehr-existing-person-search{color:var(--text-secondary);align-items:center;gap:10px;display:flex}.ehr-existing-person-search input{border:1px solid var(--border-color);background:var(--bg-input);min-width:0;height:38px;color:var(--text-primary);font:inherit;border-radius:6px;flex:1;padding:0 10px}.ehr-existing-person-search input::placeholder{color:var(--text-secondary);opacity:1}.ehr-existing-person-search input:focus{border-color:var(--accent-primary);outline:0;box-shadow:0 0 0 3px #6366f11f}.ehr-existing-person-results{z-index:20;border:1px solid var(--border-color);background:var(--bg-card);max-height:220px;box-shadow:var(--shadow-md);border-radius:6px;position:absolute;top:calc(100% + 6px);left:27px;right:0;overflow-y:auto}.ehr-existing-person-results button{border:0;border-bottom:1px solid var(--border-color);width:100%;min-height:44px;color:var(--text-primary);text-align:left;font:inherit;cursor:pointer;background:0 0;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;padding:8px 11px;display:flex}.ehr-existing-person-results button:last-child{border-bottom:0}.ehr-existing-person-results button.active,.ehr-existing-person-results button:hover{background:#6366f129}.ehr-existing-person-results small{color:var(--text-secondary);font-size:12px}.ehr-existing-person-empty{color:var(--text-secondary);padding:11px;font-size:13px}.ehr-checkbox-choice svg{color:var(--text-muted)}.ehr-add-row-btn{width:fit-content}.ehr-new-client-actions{border-top:1px solid var(--border-color);background:var(--bg-secondary);justify-content:flex-end;align-items:center;gap:12px;padding:16px 18px;display:flex}.ehr-new-client-submit{width:auto;min-width:76px}.ehr-create-client-btn,.ehr-save-btn,.ehr-back-link,.ehr-client-name,.ehr-section-title-row,.ehr-chart-topbar,.ehr-chart-actions,.ehr-registry-toolbar,.ehr-search-field{align-items:center;display:flex}.ehr-create-client-btn,.ehr-save-btn{white-space:nowrap;gap:8px;width:auto}.ehr-notice{margin-bottom:18px}.ehr-registry-metrics{margin-bottom:24px}.ehr-client-form{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.ehr-editable-section{flex-direction:column;display:flex}.ehr-editable-field{border-bottom:1px solid var(--border-color);flex-direction:column;gap:4px;padding:12px 0;display:flex}.ehr-editable-field:last-child{border-bottom:none;padding-bottom:0}.ehr-editable-label{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-size:11px;font-weight:600}.ehr-editable-value{color:var(--text-primary);text-align:left;cursor:text;width:100%;transition:color var(--transition-fast);background:0 0;border:none;border-radius:4px;padding:2px 0;font-family:inherit;font-size:14px;line-height:1.5}.ehr-editable-value:hover{color:var(--accent-secondary)}.ehr-field-empty{color:var(--text-muted);font-style:normal}.ehr-edit-input{background:var(--bg-input);border:1px solid var(--border-active);width:100%;color:var(--text-primary);border-radius:6px;outline:none;padding:7px 10px;font-family:inherit;font-size:14px;line-height:1.5;box-shadow:0 0 0 3px #6366f11f}.ehr-edit-textarea{resize:vertical;min-height:80px}.ehr-person-tabs-bar{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:20px;display:flex}.ehr-person-tabs{flex-wrap:wrap;gap:0;display:flex}.ehr-person-tab{color:var(--text-secondary);cursor:pointer;transition:color var(--transition-fast);white-space:nowrap;background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-1px;padding:8px 18px;font-size:13px;font-weight:500}.ehr-person-tab:hover{color:var(--text-primary)}.ehr-person-tab.active{color:var(--accent-secondary);border-bottom-color:var(--accent-primary)}.ehr-add-contact-form{flex-direction:column;display:flex}.ehr-person-panel{flex-direction:column;gap:24px;display:flex}.ehr-person-panel-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:16px;display:flex}.ehr-person-panel-section{flex-direction:column;gap:10px;display:flex}.ehr-person-panel-label{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-size:11px;font-weight:600}.ehr-connection-identity{flex-direction:column;gap:3px;display:flex}.ehr-connection-name{color:var(--text-primary);font-size:15px;font-weight:600}.ehr-connection-email{color:var(--text-secondary);font-size:13px}.ehr-inline-edit-value{color:var(--text-secondary);text-align:left;cursor:text;transition:color var(--transition-fast);background:0 0;border:none;padding:0;font-family:inherit;font-size:13px;line-height:1.5}.ehr-inline-edit-value:hover{color:var(--accent-secondary)}.ehr-inline-edit-empty{color:var(--text-muted);font-style:italic}.ehr-inline-edit-input{background:var(--bg-input);border:1px solid var(--border-active);color:var(--text-primary);border-radius:4px;outline:none;width:220px;max-width:100%;padding:2px 8px;font-family:inherit;font-size:13px;box-shadow:0 0 0 2px #6366f126}.ehr-connection-badges{flex-shrink:0;gap:6px;display:flex}.ehr-connection-portal{align-items:center;gap:16px;display:flex}.ehr-portal-status{color:var(--text-muted);font-size:13px}.ehr-connection-options{flex-wrap:wrap;gap:24px;display:flex}.ehr-connection-toggle{color:var(--text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;font-size:13px;display:flex}.ehr-connection-toggle input[type=checkbox]{accent-color:var(--accent-primary);cursor:pointer;width:15px;height:15px}.ehr-permissions-note{color:var(--text-muted);font-size:12px;font-style:italic}.ehr-form-actions{grid-column:1/-1;align-items:flex-end;gap:12px;display:flex}.ehr-registry-toolbar{justify-content:space-between;gap:14px;margin-bottom:18px}.ehr-search-field{border:1px solid var(--border-color);background:var(--bg-input);min-width:260px;height:42px;color:var(--text-secondary);border-radius:8px;flex:1;gap:10px;padding:0 12px}.ehr-search-field input{min-width:0;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0;flex:1}.ehr-status-filter{width:180px}.ehr-client-name{gap:8px;font-weight:700}.ehr-status-pill{text-transform:capitalize;width:fit-content;color:var(--accent-secondary);background:#6366f124;border-radius:999px;align-items:center;gap:6px;padding:5px 9px;font-size:12px;font-weight:700;display:inline-flex}.ehr-status-pill.status-active{color:#4ade80;background:#22c55e24}.ehr-status-pill.status-inactive,.ehr-status-pill.status-discharged{color:var(--text-secondary);background:#9ca3af24}.ehr-status-pill.status-prospective{color:#60a5fa;background:#3b82f624}.ehr-chart-topbar{justify-content:space-between;gap:16px;margin-bottom:22px}.ehr-back-link{color:var(--text-secondary);gap:8px;font-size:13px;font-weight:700;text-decoration:none}.ehr-back-link:hover{color:var(--accent-secondary)}.ehr-chart-actions{gap:10px}.ehr-save-indicator{color:var(--text-muted);font-size:12px}.ehr-save-indicator.saved{color:var(--success)}.ehr-save-indicator.error{color:var(--error)}.ehr-chart-header{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:24px;display:grid}.ehr-chart-summary{grid-template-columns:repeat(3,minmax(110px,1fr));gap:10px;min-width:360px;display:grid}.ehr-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.ehr-chart-grid .chart-card{margin-bottom:0}.ehr-textarea{resize:vertical;min-height:86px}.ehr-section-title-row{justify-content:space-between;gap:16px;margin-bottom:16px}.ehr-section-title-row .chart-subtitle{margin-bottom:0}.ehr-checklist-card{grid-column:1/-1}.ehr-checklist-list{flex-direction:column;gap:12px;display:flex}.ehr-checklist-row{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:8px;grid-template-columns:minmax(220px,1.2fr) 150px 150px 150px minmax(180px,1fr) auto;align-items:end;gap:12px;padding:14px;display:grid}.ehr-checklist-row .filter-group,.ehr-checklist-remove{margin-bottom:0}.ehr-recent-list,.ehr-migration-list{gap:10px;display:grid}.ehr-recent-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.ehr-recent-item,.ehr-migration-item{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:8px;padding:12px 14px}.ehr-recent-item{color:var(--text-primary);transition:background-color var(--transition-fast), border-color var(--transition-fast);text-decoration:none}.ehr-recent-item:hover{background:var(--bg-hover);border-color:#6366f152}.ehr-migration-main{color:var(--text-primary);justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;font-size:13px;display:flex}.website-blog-message{margin-bottom:16px}.website-import-card,.website-blog-toolbar,.website-editor-topbar,.website-editor-actions,.website-editor-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.website-import-form{grid-template-columns:minmax(190px,1fr) minmax(190px,1fr) auto;align-items:end;gap:12px;min-width:min(680px,100%);display:grid}.website-file-input{color:var(--text-secondary);gap:7px;font-size:12px;font-weight:600;display:grid}.website-file-input input{width:100%;color:var(--text-secondary);font-size:12px}.website-import-submit,.website-action-btn,.website-row-link{white-space:nowrap;justify-content:center;align-items:center;gap:8px;width:auto;display:inline-flex}.website-row-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}button.website-row-link{cursor:pointer;background:0 0;border:0;padding:0}button.website-row-link:disabled{cursor:not-allowed;opacity:.65}.website-status-filter{width:170px}.website-status-pill{text-transform:capitalize;width:fit-content;color:var(--accent-secondary);background:#6366f124;border-radius:999px;align-items:center;padding:5px 9px;font-size:12px;font-weight:700;display:inline-flex}.website-status-pill.status-reviewed{color:#4ade80;background:#22c55e24}.website-status-pill.status-draft{color:var(--text-secondary);background:#9ca3af24}.website-live-pill{border-radius:999px;align-items:center;width:fit-content;padding:5px 9px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.website-live-pill.live{color:#4ade80;background:#22c55e29}.website-live-pill.offline{color:var(--text-secondary);background:#9ca3af24}.website-live-pill.checking{color:var(--text-muted);background:#6366f11f}.website-analytics-stats{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:20px;display:grid}.website-analytics-stat-value{margin-top:4px;font-size:28px;font-weight:700}.website-analytics-config-row{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.website-analytics-config-row .filter-date-input{flex:320px}.website-editor-page{flex-direction:column;gap:16px;display:flex}.website-editor-grid{grid-template-columns:minmax(0,1fr) 380px;align-items:start;gap:24px;display:grid}.website-editor-main,.website-editor-side{min-width:0}.website-editor-side{flex-direction:column;gap:16px;display:flex}.website-metadata-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0;display:grid}.website-body-label{color:var(--text-secondary);gap:8px;font-size:12px;font-weight:600;display:grid}.website-body-textarea{resize:vertical;background:var(--bg-input);border:1px solid var(--border-color);width:100%;min-height:64vh;color:var(--text-primary);border-radius:8px;padding:14px;font:14px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.website-body-textarea:focus{border-color:var(--accent-primary);outline:none;box-shadow:0 0 0 3px #6366f11f}.website-rich-editor,.website-rich-editor-loading{background:var(--bg-input);border:1px solid var(--border-color);width:100%;color:var(--text-primary);border-radius:8px}.website-rich-editor-shell{border-radius:8px;min-width:0;position:relative;overflow:hidden}.website-rich-editor-overlays{pointer-events:none;z-index:20;position:absolute;inset:0;overflow:hidden}.website-rich-editor-overlays>*{pointer-events:auto;max-width:calc(100% - 24px)}.website-contained-link-dialog{z-index:25;border:1px solid var(--border-color);background:var(--bg-secondary);max-width:calc(100% - 24px);color:var(--text-primary);border-radius:8px;align-items:center;gap:10px;max-height:220px;padding:10px;font-size:13px;display:flex;position:absolute;overflow:auto;box-shadow:0 18px 45px #00000059}.website-contained-link-form{flex-wrap:wrap;align-items:end}.website-contained-link-url{color:#93c5fd;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.website-contained-link-form label{min-width:min(280px,100%);color:var(--text-secondary);text-transform:uppercase;flex:1;gap:4px;font-size:11px;font-weight:700;display:grid}.website-contained-link-form input{border:1px solid var(--border-color);background:var(--bg-input);width:100%;color:var(--text-primary);text-transform:none;border-radius:6px;padding:8px 10px;font-size:13px}.website-contained-link-form input:focus{border-color:var(--accent-primary);outline:none;box-shadow:0 0 0 3px #6366f129}.website-contained-link-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}.website-contained-link-actions button{border:1px solid var(--border-color);background:var(--bg-input);color:var(--text-primary);cursor:pointer;border-radius:6px;padding:8px 10px;font-size:13px}.website-contained-link-actions button:hover{background:var(--bg-tertiary)}.website-contained-link-actions button[type=submit]{background:var(--accent-primary);color:#fff;border-color:#0000}.website-rich-editor{--basePageBg:var(--bg-secondary);--baseBase:var(--bg-input);--baseBg:var(--bg-tertiary);--baseBgHover:var(--bg-tertiary);--baseText:var(--text-primary);--baseTextContrast:var(--text-primary);--baseBorder:var(--border-color);--baseBorderHover:var(--text-secondary);--accentBase:var(--accent-primary);--accentBg:#6366f12e;--accentText:#c4b5fd}.website-rich-editor-loading{min-height:360px;color:var(--text-muted);place-items:center;font-size:13px;display:grid}.website-rich-editor .mdxeditor-toolbar{border-bottom:1px solid var(--border-color);background:var(--bg-secondary);border-radius:8px 8px 0 0}.website-rich-editor .mdxeditor-toolbar button,.website-rich-editor .mdxeditor-toolbar [role=button]{color:var(--text-primary)}.website-rich-editor .mdxeditor-toolbar svg{color:var(--text-primary);stroke:currentColor}.website-rich-editor .mdxeditor-toolbar button[disabled],.website-rich-editor .mdxeditor-toolbar [aria-disabled=true],.website-rich-editor .mdxeditor-toolbar [data-disabled]{color:var(--text-muted);opacity:.55}.website-rich-editor .mdxeditor-toolbar button:hover,.website-rich-editor .mdxeditor-toolbar [role=button]:hover{background:var(--bg-tertiary)}.website-rich-editor-content{min-height:64vh;color:var(--text-primary);padding:18px 20px;font-size:15px;line-height:1.65}.website-rich-editor-content:focus{outline:none}.website-rich-editor-content h1,.website-rich-editor-content h2,.website-rich-editor-content h3{color:var(--text-primary);line-height:1.25}.website-rich-editor-content p,.website-rich-editor-content ul,.website-rich-editor-content ol,.website-rich-editor-content blockquote{margin:0 0 14px}.website-rich-editor-content ul,.website-rich-editor-content ol{padding-left:24px}.website-rich-editor-content blockquote{border-left:3px solid var(--accent-secondary);color:var(--text-secondary);padding-left:14px}.website-rich-editor-content a{color:#93c5fd;text-underline-offset:2px;text-decoration:underline}.website-rich-editor-content a:hover{color:#bfdbfe}.website-rich-editor-content img{border-radius:8px;max-width:100%;height:auto;display:block}.website-rich-editor [class*=_imageWrapper_]{max-width:100%;cursor:default!important}.website-rich-editor [class*=_imageWrapper_] img{pointer-events:none}.website-rich-editor [class*=_editImageToolbar_]{display:none!important}body [class*=_toolbarNodeKindSelectContainer_],body [class*=_toolbarButtonDropdownContainer_],body [class*=_toolbarCodeBlockLanguageSelectContent_],body [class*=_selectContainer_],body [class*=_popoverContent_]{border:1px solid var(--border-color);box-shadow:0 18px 45px #00000059;background:var(--bg-secondary)!important;color:var(--text-primary)!important}body [class*=_toolbarNodeKindSelectItem_],body [class*=_selectItem_]{color:var(--text-primary)!important}body [class*=_toolbarNodeKindSelectItem_][data-highlighted],body [class*=_toolbarNodeKindSelectItem_][data-state=checked],body [class*=_selectItem_][data-highlighted],body [class*=_selectItem_][data-state=checked]{background:var(--bg-tertiary)!important;color:var(--text-primary)!important}body [class*=_toolbarNodeKindSelectTrigger_],body [class*=_toolbarButtonSelectTrigger_],body [class*=_selectTrigger_]{border:1px solid var(--border-color);background:var(--bg-input)!important;color:var(--text-primary)!important}.website-reimport-form{gap:12px;display:grid}.website-brief-summary{border-bottom:1px solid var(--border-color);gap:8px;margin-bottom:16px;padding-bottom:14px;display:grid}.website-brief-summary-row{gap:3px;display:grid}.website-brief-summary-label{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-size:11px;font-weight:700}.website-brief-summary-value{color:var(--text-primary);font-size:13px;line-height:1.4}.website-brief-chip-list{flex-wrap:wrap;gap:6px;display:flex}.website-brief-chip{border:1px solid var(--border-color);background:var(--bg-secondary);max-width:100%;color:var(--text-primary);border-radius:999px;align-items:center;padding:4px 8px;font-size:12px;line-height:1.25;display:inline-flex}.website-markdown-view{color:var(--text-secondary);gap:12px;font-size:13px;line-height:1.5;display:grid}.website-markdown-view h2,.website-markdown-view h3,.website-markdown-view h4{color:var(--text-primary);margin-top:4px;font-size:14px}.website-markdown-view ul{padding-left:18px}.website-markdown-view pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--bg-secondary);border:1px solid var(--border-color);color:var(--text-secondary);border-radius:8px;padding:10px}@media (max-width:1100px){.website-editor-grid,.website-import-form{grid-template-columns:1fr}}@media (max-width:900px){.website-import-card,.website-blog-toolbar,.website-editor-topbar,.website-editor-actions{flex-direction:column;align-items:stretch}.website-status-filter{width:100%;min-width:0}}@media (max-width:1100px){.ehr-chart-grid,.ehr-chart-header,.ehr-checklist-row,.website-editor-grid,.website-import-form{grid-template-columns:1fr}.ehr-chart-summary{width:100%;min-width:0}.ehr-calendar-toolbar{flex-direction:column;align-items:flex-start}.ehr-calendar-filter-panel{grid-template-columns:1fr}}.ehr-chart-header-compact{margin-bottom:18px}.ehr-chart-name{color:var(--text-primary);margin-bottom:6px;font-size:26px;font-weight:700;line-height:1.2}.ehr-chart-meta{color:var(--text-secondary);flex-wrap:wrap;gap:4px 0;font-size:13px;display:flex}.ehr-chart-meta span+span:before{content:"·";color:var(--text-muted);margin:0 10px}.ehr-chart-tabs-bar{border-bottom:1px solid var(--border-color);flex-wrap:wrap;gap:0;margin-bottom:24px;display:flex}.ehr-chart-tab{color:var(--text-secondary);cursor:pointer;transition:color var(--transition-fast);background:0 0;border:none;border-bottom:2px solid #0000;margin-bottom:-1px;padding:10px 20px;font-size:14px;font-weight:500}.ehr-chart-tab:hover{color:var(--text-primary)}.ehr-chart-tab.active{color:var(--accent-secondary);border-bottom-color:var(--accent-primary)}.ehr-chart-body{display:block}.ehr-chart-main{flex-direction:column;gap:24px;display:flex}.ehr-chart-two-col{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.ehr-chart-sidebar-v2{flex-direction:column;gap:14px;display:flex;position:sticky;top:80px}.ehr-sidebar-widget .chart-title{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:10px;font-size:12px}.ehr-sidebar-row{justify-content:space-between;align-items:baseline;padding:3px 0;font-size:13px;display:flex}.ehr-sidebar-row+.ehr-sidebar-row{border-top:1px solid var(--border-color);margin-top:3px;padding-top:6px}.ehr-sidebar-label{color:var(--text-muted)}.ehr-sidebar-value{color:var(--text-primary);text-align:right;word-break:break-word;max-width:60%;font-weight:500}.ehr-overview-grid{flex-direction:column;display:flex}.ehr-overview-row{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;gap:12px;padding:9px 0;font-size:13px;display:flex}.ehr-overview-row:last-child{border-bottom:none}.ehr-overview-label{color:var(--text-muted);flex-shrink:0}.ehr-overview-value{color:var(--text-primary);text-align:right;word-break:break-word;font-weight:500}@media (max-width:1100px){.ehr-chart-two-col{grid-template-columns:1fr}}@media (max-width:900px){.email-page-header{flex-direction:column;align-items:stretch}.email-filters,.email-tag-create,.email-import-grid,.modal-grid,.intake-appointment-row,.intake-waitlist-grid,.intake-waitlist-form-grid,.intake-insurance-grid,.email-dashboard-grid{grid-template-columns:1fr}.asset-library-toolbar,.email-editor-header,.email-editor-header-right,.email-editor-frame{flex-direction:column;align-items:stretch}.settings-grid,.settings-webhook-header,.settings-webhook-status,.settings-webhook-mapping-layout,.settings-panel-grid,.settings-clinician-layout,.settings-history-form,.settings-room-add-row,.settings-payer-two-column{grid-template-columns:1fr}.ehr-calendar-toolbar-left,.ehr-calendar-toolbar-actions{width:100%}.ehr-calendar-toolbar-actions{justify-content:flex-start}.ehr-calendar-toolbar h1{width:100%;margin:4px 0;font-size:18px}.ehr-calendar-filter-panel{width:100%;max-height:none;box-shadow:none;border-left:0;border-right:0;border-radius:0;position:static}.ehr-settings-menu{width:100%;box-shadow:none;border-left:0;border-right:0;border-radius:0;position:static}.ehr-calendar-side-panel{border-left:0;border-radius:0;width:100%;position:fixed;inset:0}.ehr-side-panel-header,.ehr-side-panel-body,.ehr-side-panel-actions,.ehr-office-hours-breadcrumb{padding-left:16px;padding-right:16px}.ehr-office-hours-day{grid-template-columns:74px minmax(0,1fr) 64px}.ehr-office-hours-range{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 30px}.ehr-event-time-row,.ehr-payment-override-grid{grid-template-columns:1fr}.ehr-payment-override-heading{flex-direction:column}.ehr-event-time-row>span{display:none}.settings-split-header,.settings-form-actions,.settings-row-actions{flex-direction:column;align-items:stretch}.settings-service-editor-grid{grid-template-columns:1fr 1fr}.settings-service-summary,.settings-service-summary.compact{grid-template-columns:1fr}.settings-service-facts,.settings-service-statuses{justify-content:flex-start}.email-editor-frame{display:flex}.email-editor-sidebar-tabs{border-right:0}.ehr-chart-topbar,.ehr-chart-actions,.ehr-registry-toolbar,.website-import-card,.website-blog-toolbar,.website-editor-topbar,.website-editor-actions,.ehr-form-actions{flex-direction:column;align-items:stretch}.ehr-status-filter,.ehr-search-field,.website-status-filter{width:100%;min-width:0}.ehr-chart-summary{grid-template-columns:1fr}}@media (max-width:760px){.app-shell>.global-sidebar,.dashboard-layout>.sidebar{display:none}.mobile-nav-toggle{display:inline-flex}.mobile-nav-layer{display:block}.settings-service-editor-grid,.settings-service-disabled-list{grid-template-columns:1fr}.settings-service-title-row{align-items:flex-start}.settings-service-meta-row{gap:6px 10px}.app-shell{overflow:hidden}.app-shell-main,.app-shell-content,.dashboard-layout{width:100%}.app-header{padding-left:68px;padding-right:14px}.dashboard-layout{min-width:0;overflow:auto}.main-content{width:100%;padding:20px 14px}.mobile-nav-drawer .global-sidebar,.mobile-nav-drawer .sidebar{background:0 0;border-right:0;width:100%;height:auto;min-height:0;display:flex;position:static;overflow:visible}.mobile-nav-drawer .global-sidebar{align-items:stretch}.mobile-nav-drawer .global-sidebar-header{display:none}.mobile-nav-drawer .global-nav,.mobile-nav-drawer .global-nav-bottom{border-top:0;align-items:stretch;gap:4px;padding:12px}.mobile-nav-drawer .global-nav-bottom{margin-top:0}.mobile-nav-drawer .global-nav+.global-nav-bottom{padding-top:0}.mobile-nav-drawer .global-nav-row{align-items:stretch}.mobile-nav-drawer .global-nav-item{border-radius:8px;flex-direction:row;justify-content:flex-start;width:100%;height:42px;padding:0 12px}.mobile-nav-drawer .nav-icon{width:18px;height:18px}.mobile-nav-drawer .nav-label{font-size:13px;font-weight:600}.mobile-nav-drawer .sidebar-header{padding:16px}.mobile-nav-drawer .sidebar-brand{color:var(--text-primary);-webkit-text-fill-color:currentColor;background:0 0}.mobile-nav-drawer .sidebar-section{padding:14px 12px 18px}.mobile-nav-drawer .category-list{gap:6px}.mobile-nav-drawer .category-item{min-height:42px}.mobile-nav-embedded-panel{border:1px solid var(--border-color);background:#ffffff06;border-radius:10px;margin:4px 0 8px;overflow:hidden}.mobile-nav-embedded-title{border-bottom:1px solid var(--border-color);color:var(--text-primary);padding:12px 14px;font-size:13px;font-weight:700}.mobile-nav-embedded-panel .sidebar-header{display:none}.mobile-nav-embedded-panel .filter-section,.mobile-nav-embedded-panel .sidebar-section{padding:14px}.ehr-chart-topbar,.ehr-chart-actions,.ehr-person-tabs-bar{flex-direction:column;align-items:stretch}.ehr-chart-tabs-bar{border-bottom:0;gap:6px}.ehr-chart-tab{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:8px;flex:calc(50% - 6px);min-width:118px;margin-bottom:0}.ehr-chart-tab.active{background:#6366f11f;border-color:#6366f170}.ehr-chart-meta span+span:before{content:none}.ehr-chart-meta{gap:6px 12px}}.settings-workspace .settings-section-tabs{scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;flex-shrink:0;align-items:center;width:100%;min-width:0;padding-bottom:4px;overflow-x:auto}.settings-workspace .settings-section-tabs::-webkit-scrollbar{display:none}.settings-workspace .settings-section-tab{white-space:nowrap;flex:none}.settings-subcards{gap:20px;display:grid}.settings-subcard{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:14px;gap:16px;min-width:0;padding:20px;display:grid}.settings-subcard .settings-form-grid{margin-top:0}.settings-subcard-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.settings-subcard-title{color:var(--text-primary);font-size:14px;font-weight:700}.settings-subcard-subtitle{color:var(--text-muted);margin-top:3px;font-size:12px}.settings-subcard .settings-form-divider{border-top:0;margin-top:0;padding-top:0}.settings-collapse{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:14px;min-width:0;overflow:hidden}.settings-collapse>summary{cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;list-style:none;display:flex}.settings-collapse>summary::-webkit-details-marker{display:none}.settings-collapse[open]>summary{border-bottom:1px solid var(--border-color)}.settings-collapse-heading{min-width:0}.settings-collapse-title{color:var(--text-primary);font-size:14px;font-weight:700}.settings-collapse-hint{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-top:3px;font-size:12px;overflow:hidden}.settings-collapse-side{flex-shrink:0;align-items:center;gap:12px;display:flex}.settings-collapse-chevron{color:var(--text-muted);transition:transform var(--transition-fast);flex-shrink:0;font-size:18px;line-height:1}.settings-collapse[open]>summary .settings-collapse-chevron{transform:rotate(90deg)}.settings-collapse-body{gap:16px;min-width:0;padding:18px;display:grid}.settings-collapse-body>.settings-form-grid{margin-top:0}.settings-workspace .settings-clinician-layout{align-items:start}.settings-workspace .settings-clinician-detail{align-content:start}.settings-workspace .settings-clinician-detail>.chart-card{margin-bottom:0}.settings-clinician-list-item>div{min-width:0}.settings-clinician-list-item .settings-clinician-name{overflow-wrap:anywhere}.settings-clinician-list-item .settings-clinician-meta{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.settings-clinician-controls{align-items:flex-end;gap:10px;display:flex}.settings-clinician-controls .filter-group{flex:auto;margin-bottom:0}.settings-filter{flex-shrink:0;position:relative}.settings-filter-trigger{border:1px solid var(--border-color);background:var(--bg-input);height:35px;color:var(--text-primary);cursor:pointer;transition:border-color var(--transition-fast);border-radius:8px;align-items:center;gap:8px;padding:0 12px;font-family:inherit;font-size:13px;display:inline-flex}.settings-filter-trigger:hover{border-color:#6366f159}.settings-filter-label{color:var(--text-muted)}.settings-filter-value{font-weight:600}.settings-filter-caret{color:var(--text-muted);font-size:10px}.settings-filter-menu{z-index:20;background:var(--bg-card);border:1px solid var(--border-color);min-width:170px;box-shadow:var(--shadow-md);border-radius:10px;gap:2px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0}.settings-filter-option{width:100%;color:var(--text-secondary);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:16px;padding:8px 10px;font-family:inherit;font-size:13px;display:flex}.settings-filter-option:hover{background:var(--bg-hover);color:var(--text-primary)}.settings-filter-option.active{color:var(--text-primary);background:#6366f124}.settings-filter-count{color:var(--text-muted);font-size:12px}.settings-add-collapse{background:0 0;border-style:dashed}.settings-add-collapse>summary .settings-collapse-title{color:var(--accent-secondary)}@media (max-width:600px){.settings-collapse>summary{flex-wrap:wrap}}.settings-form-footer{justify-content:flex-end;gap:12px;padding-top:4px;display:flex}.settings-workspace .settings-form-grid .filter-group,.settings-workspace .settings-org-fields .filter-group,.settings-workspace .settings-history-form .filter-group,.settings-workspace .settings-payer-form .filter-group,.settings-workspace .settings-payer-two-column .filter-group{margin-bottom:0}@media (max-width:720px){.settings-responsive-table{background:0 0;border:0;overflow:visible}.settings-responsive-table .data-table{min-width:0;font-size:13px}.settings-responsive-table .data-table,.settings-responsive-table .data-table tbody,.settings-responsive-table .data-table tr,.settings-responsive-table .data-table td{width:100%;display:block}.settings-responsive-table .data-table thead{display:none}.settings-responsive-table .data-table tr{border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:12px;margin-bottom:12px;padding:4px 2px}.settings-responsive-table .data-table tbody tr:hover{background:var(--bg-secondary)}.settings-responsive-table .data-table tbody tr:last-child{margin-bottom:0}.settings-responsive-table .data-table td{border:0;border-bottom:1px solid var(--border-color);padding:8px 14px}.settings-responsive-table .data-table tr td:last-child{border-bottom:0}.settings-responsive-table .data-table td:before{content:attr(data-label);text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin-bottom:5px;font-size:11px;font-weight:700;display:block}.settings-responsive-table .data-table td[data-label=""]:before,.settings-responsive-table .data-table td:not([data-label]):before{display:none}.settings-responsive-table .data-table td .settings-row-actions{justify-content:stretch}.settings-responsive-table .data-table td .settings-row-actions>*{flex:auto}}
