@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";*{box-sizing:border-box}:root{color-scheme:light;--font-body: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;--font-display: "SF Pro Display", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;--primary: #14b8a6;--primary-700: #0f8f81;--color-primary: #14b8a6;--secondary: #34C759;--success: #34C759;--danger: #FF3B30;--warning: #FF9500;--info: #5AC8FA;--text: #1e293b;--text-secondary: #334155;--muted: #64748b;--bg: #F2F2F7;--surface: #FFFFFF;--surface-alt: #F2F2F7;--border: #C6C6C8;--border-light: #E5E5EA;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--radius-xl: 20px;--shadow-sm: 0 2px 8px rgba(0, 0, 0, .04), 0 1px 3px rgba(0, 0, 0, .08);--shadow-md: 0 4px 16px rgba(0, 0, 0, .06), 0 2px 8px rgba(0, 0, 0, .08);--shadow-lg: 0 8px 32px rgba(0, 0, 0, .08), 0 4px 16px rgba(0, 0, 0, .1);--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-7: 32px;--space-8: 40px;--sidebar-width: 280px;--sidebar-collapsed-width: 64px;--header-height: 64px;--font-size-xs: 12px;--font-size-sm: 13px;--font-size-md: 14px;--font-size-lg: 16px;--font-size-xl: 20px;--font-weight-regular: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--radius-main: var(--radius-md);--shadow-soft: var(--shadow-sm);--app-safe-area-top: env(safe-area-inset-top, 0px);--app-safe-area-bottom: env(safe-area-inset-bottom, 0px)}body{margin:0;min-height:100vh;font-family:var(--font-body);font-size:var(--font-size-md);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.app-sidebar-lock,body.clinic-sidebar-lock{overflow:hidden}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 10% 20%,rgba(15,118,110,.12),transparent 45%),radial-gradient(circle at 90% 10%,rgba(16,185,129,.12),transparent 40%),linear-gradient(180deg,#f8fafce6,#f1f5f9b3);z-index:-1}h1,h2,h3,h4{font-family:var(--font-display);margin:0 0 var(--space-2)}p{margin:0 0 var(--space-2)}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}:focus-visible{outline:2px solid rgba(15,118,110,.45);outline-offset:2px}input,select,textarea{width:100%;padding:10px 12px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface);font-family:inherit;font-size:.95rem;color:var(--text)}input:focus,select:focus,textarea:focus{outline:2px solid rgba(15,118,110,.2);border-color:var(--primary)}button{font-family:inherit}button{border:none;border-radius:var(--radius-sm);padding:10px 16px;font-weight:600;cursor:pointer;transition:all .2s ease;background:linear-gradient(135deg,var(--primary),var(--primary-700));color:#fff}button:disabled{opacity:.6;cursor:not-allowed}button.ghost{background:transparent;color:var(--text);border:1px solid var(--border)}button.ghost.danger{background:#ef444426;color:#991b1b;border-color:#ef444459}.muted{color:var(--muted);font-size:.92rem}.notice{background:#fff7ed;border:1px solid #fed7aa;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);margin-bottom:var(--space-4)}.error{background:#fee2e2;border:1px solid #fecaca;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md)}.page{min-height:100vh;display:grid;place-items:center;padding:var(--space-8) var(--space-4)}.login-page{position:relative;overflow:hidden;background:radial-gradient(circle at top left,rgba(20,184,166,.1),transparent 34%),radial-gradient(circle at bottom right,rgba(148,163,184,.1),transparent 32%),linear-gradient(135deg,#fbfdfd,#f4f8f8 42%,#eef3f3);display:flex;align-items:center;justify-content:center;min-height:100vh}.login-page:before,.login-page:after{content:"";position:absolute;pointer-events:none;inset:auto;filter:blur(6px)}.login-page:before{width:58vw;height:58vw;min-width:360px;min-height:360px;max-width:760px;max-height:760px;top:-18%;right:-14%;border-radius:40% 60% 58% 42%;background:radial-gradient(circle at 30% 30%,rgba(15,118,110,.16),rgba(15,118,110,.05) 34%,transparent 68%),radial-gradient(circle at 70% 65%,rgba(255,255,255,.78),transparent 52%);animation:loginDriftA 24s ease-in-out infinite}.login-page:after{width:46vw;height:46vw;min-width:300px;min-height:300px;max-width:620px;max-height:620px;bottom:-14%;left:-10%;border-radius:58% 42% 45% 55%;background:radial-gradient(circle at 45% 35%,rgba(34,197,94,.1),rgba(20,184,166,.04) 36%,transparent 70%),radial-gradient(circle at 60% 65%,rgba(255,255,255,.72),transparent 50%);animation:loginDriftB 28s ease-in-out infinite}.login-card{position:relative;width:min(420px,90%);background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000001f,0 0 1px #0000000d;padding:48px 40px;border:1px solid #e5e7eb;z-index:10}.login-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:28px}.login-brand{min-width:0;width:100%;max-width:360px}.login-brand-logo{display:block;width:100%;height:auto;max-width:none}.login-brand .muted{margin:6px 0 0;color:#64748b;font-size:.95rem;line-height:1.4}.login-lang-inline{position:static;margin-top:2px;flex-shrink:0}.login-card .field{display:grid;gap:8px;margin-bottom:0}.login-card .field span{color:#334155;font-size:.9rem;font-weight:600;display:block}.login-input-wrap{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;padding:2px 10px;border:2px solid #e2e8f0;border-radius:12px;background:#f8fafc;transition:all .3s ease}.login-input-icon{color:#64748b;display:inline-flex;align-items:center;justify-content:center}.login-input-icon svg{width:18px;height:18px}.login-input-wrap:focus-within{border-color:#14b8a6;background:#fff;box-shadow:0 0 0 4px #0f766e14}.login-card .field input{padding:10px 0;border:0;border-radius:0;background:transparent;font:inherit;color:#334155;font-size:.95rem}.login-card .field input:focus{outline:none;box-shadow:none}.login-card .field input::placeholder{color:#94a3b8}.login-card .error{color:#dc2626;background:#dc26260d;border-left:3px solid #dc2626;padding:10px 12px;border-radius:8px;font-size:.9rem;margin-bottom:16px;line-height:1.4}.login-card .stack{gap:14px}.login-inline-actions{display:flex;justify-content:flex-end}.login-forgot-link{width:auto;background:transparent;box-shadow:none;border:0;margin:0;padding:0;color:#0f766e;font-size:.88rem;font-weight:600}.login-forgot-link:hover:not(:disabled){transform:none;box-shadow:none;background:transparent;color:#0a5c55}.login-card form.stack>button[type=submit]{width:100%;padding:12px 16px;background:linear-gradient(135deg,var(--primary),var(--primary-700));color:#fff;border:none;border-radius:12px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 15px #0f766e40;margin:0}.login-card form.stack>button[type=submit]:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #14b8a64d;background:linear-gradient(135deg,#19c7b5,#109787)}.login-card form.stack>button[type=submit]:active:not(:disabled){transform:translateY(0)}.login-card form.stack>button[type=submit]:disabled{opacity:.7;cursor:not-allowed}.login-google-block{display:grid;gap:16px;margin-top:14px}.login-google-divider{display:flex;align-items:center;gap:12px;color:#94a3b8;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.login-google-divider:before,.login-google-divider:after{content:"";flex:1;height:1px;background:linear-gradient(to right,#e2e8f0,transparent)}.login-google-divider:after{background:linear-gradient(to left,#e2e8f0,transparent)}.login-google-button{display:flex;justify-content:center}.login-legal-links{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px;color:#94a3b8}.login-legal-links a{color:#5f7d77;font-size:.8rem;font-weight:600;text-decoration:none;transition:color .18s ease,opacity .18s ease}.login-legal-links a:hover{color:#0f766e;text-decoration:none}.login-legal-separator{color:#cbd5e1;font-size:.78rem}.language-flags-switcher{position:static;display:flex;gap:6px;padding:0;background:transparent;border:none;box-shadow:none}.language-flag-btn{background:none;border:none;border-radius:0;padding:0;line-height:1;cursor:pointer;transition:opacity .18s ease;opacity:.55;display:flex;align-items:center;justify-content:center;min-width:18px;min-height:12px}.language-flag-btn:hover{opacity:1;transform:none;background:none}.language-flag-btn.active{opacity:1;border:none;background:none;box-shadow:none}.language-flag-svg{width:18px;height:12px;display:block}.language-flags-switcher.is-small{gap:4px;padding:0}.language-flags-switcher.is-small .language-flag-btn{min-width:16px;min-height:10px}.language-flags-switcher.is-small .language-flag-svg{width:16px;height:10px}.login-recovery-hint{margin:0}.login-reset-card .login-input-wrap{grid-template-columns:1fr;padding:2px 12px}.login-reset-meta{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:-2px}.login-back-link{display:inline-flex;align-items:center;color:#0f766e;font-weight:600;font-size:.88rem}@keyframes loginDriftA{0%,to{transform:translateZ(0) scale(1)}50%{transform:translate3d(-18px,20px,0) scale(1.05)}}@keyframes loginDriftB{0%,to{transform:translateZ(0) scale(1)}50%{transform:translate3d(16px,-18px,0) scale(1.04)}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.login-card{animation:slideUp .6s ease-out .1s both}@media (prefers-reduced-motion: reduce){.login-page:before,.login-page:after,.login-card{animation:none}}@media (max-width: 480px){.login-card{width:100%;margin:16px;padding:36px 24px;border-radius:16px}.login-topbar{margin-bottom:22px;align-items:center}.login-brand .muted{font-size:.9rem}.login-brand{max-width:280px}.login-input-wrap{grid-template-columns:24px minmax(0,1fr);gap:7px;padding:1px 10px}.login-input-icon svg{width:16px;height:16px}.login-card .field input{padding:11px 0;font-size:16px}.login-reset-meta{flex-direction:column;gap:3px}.language-flags-switcher.is-small .language-flag-btn{min-width:14px;min-height:9px}.language-flags-switcher.is-small .language-flag-svg{width:14px;height:9px}}.notice.notice-error{border-color:#dc262640;background:#fef2f2e6;color:#991b1b}.clinic-index-summary-grid .summary-card{min-height:92px}.clinic-card-upgraded{display:grid;gap:var(--space-3)}.clinic-card-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-2);margin-top:var(--space-2)}.clinic-card-meta>div{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-alt);padding:8px 10px;display:grid;gap:4px}.clinic-card-meta>div strong{font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clinic-card-actions-row{width:100%;justify-content:flex-start;border-top:1px solid var(--border);padding-top:var(--space-3);flex-wrap:wrap}.clinic-workspace-shell{gap:var(--space-5)}.clinic-workspace-hero{background:radial-gradient(1200px 220px at 5% -30%,rgba(15,118,110,.14),transparent 60%),radial-gradient(800px 220px at 95% -20%,rgba(14,165,233,.1),transparent 55%),#fffffff2;border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:var(--space-5);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--space-4)}.clinic-workspace-back{border:none;background:transparent;color:var(--muted);padding:0;font-weight:600;cursor:pointer;margin-bottom:var(--space-2)}.clinic-workspace-back:hover{color:var(--primary)}.clinic-workspace-title-row{display:flex;gap:var(--space-3);align-items:center}.clinic-workspace-title-row h1{margin:0;font-size:1.4rem}.clinic-workspace-logo{width:54px;height:54px;border-radius:14px;object-fit:cover;border:1px solid var(--border);background:#fff}.clinic-workspace-logo-fallback{display:grid;place-items:center;font-weight:700;color:#fff;background:linear-gradient(135deg,var(--primary),#0ea5e9);border:none}.clinic-workspace-badges{margin-top:var(--space-3);display:flex;flex-wrap:wrap;gap:var(--space-2)}.clinic-workspace-hero-actions{display:grid;align-content:start;gap:var(--space-2);min-width:180px}.clinic-workspace-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);gap:var(--space-4);align-items:start}.clinic-workspace-side{display:grid;gap:var(--space-4)}.clinic-workspace-panel{padding:var(--space-4);display:grid;gap:var(--space-4)}.clinic-workspace-section-header{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-3);flex-wrap:wrap}.clinic-workspace-section-header.compact{margin-bottom:calc(var(--space-2) * -1)}.clinic-workspace-section-header h2{margin:0;font-size:1rem}.clinic-workspace-section-header p{margin:4px 0 0}.clinic-workspace-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.clinic-workspace-field-span{grid-column:1 / -1}.clinic-workspace-form-grid .field input,.clinic-workspace-form-grid .field select,.clinic-workspace-form-grid .field textarea{width:100%;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;padding:10px 12px;font:inherit;color:var(--text)}.clinic-workspace-form-grid .field textarea{resize:vertical;min-height:84px}.clinic-workspace-form-grid .field input:focus,.clinic-workspace-form-grid .field select:focus,.clinic-workspace-form-grid .field textarea:focus{outline:none;border-color:#0f766e73;box-shadow:0 0 0 3px #0f766e14}.clinic-workspace-checklist{display:grid;gap:var(--space-2)}.clinic-workspace-check{border:1px solid var(--border);border-radius:var(--radius-sm);background:#ffffffbf;padding:10px 12px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}.clinic-workspace-check.ok{border-color:#16a34a33}.clinic-workspace-check.pending{border-color:#f59e0b33}.clinic-workspace-check-dot{width:9px;height:9px;border-radius:999px;background:#f59e0b}.clinic-workspace-check.ok .clinic-workspace-check-dot{background:#16a34a}.clinic-workspace-panel-muted{border:1px dashed var(--border);border-radius:var(--radius-md);padding:var(--space-3);background:#f8fafce6}.clinic-workspace-panel-muted ul{margin:8px 0 0;padding-left:18px}.clinic-workspace-meta-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}.clinic-workspace-meta-list>div{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-alt);padding:10px 12px;display:grid;gap:4px}.clinic-workspace-meta-list>div span{color:var(--muted);font-size:.8rem}.clinic-workspace-meta-list>div strong{font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clinic-workspace-side-actions,.clinic-workspace-side-list{display:grid;gap:var(--space-2)}.clinic-workspace-side-item{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 12px;background:#ffffffbf}.clinic-workspace-danger{border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-3);display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);background:#ffffffe6}.clinic-workspace-danger p{margin:4px 0 0}.clinic-workspace-danger-critical{border-color:#dc262633;background:#fef2f2e6}.sidebar-nav-group{display:grid;gap:6px}.sidebar-nav-group+.sidebar-nav-group{margin-top:2px}.sidebar-nav-group-title{font-size:.68rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);font-weight:700;padding:0 12px}.sidebar-nav-group-items{display:grid;gap:var(--space-2)}.nav-item-stack{display:grid;gap:4px}.nav-item-stack.has-children+.nav-item-stack{margin-top:2px}.nav-sublinks{display:grid;gap:4px;margin-left:16px;padding-left:10px;border-left:1px dashed rgba(148,163,184,.5)}.nav-sublink{display:flex;align-items:center;gap:8px;min-height:30px;padding:6px 10px;border-radius:10px;color:var(--muted);font-size:.8rem;font-weight:500;line-height:1.2;transition:all .2s ease}.nav-sublink:hover{color:var(--text);background:#f8fafce6;text-decoration:none}.nav-sublink.active{color:var(--primary);background:#0f766e14}.nav-sublink-dot{width:6px;height:6px;border-radius:999px;background:#94a3b8d9;flex-shrink:0}.nav-sublink.active .nav-sublink-dot{background:var(--primary)}.nav-sublink-text{min-width:0}.admin-context-chip{min-width:220px;border:1px solid var(--border);border-radius:var(--radius-md);background:#ffffffbf;padding:8px 12px;display:flex;align-items:center;gap:10px}.admin-context-chip>div{display:grid;gap:2px}.admin-context-chip strong{font-size:.85rem}.admin-context-chip .muted{font-size:.76rem}.admin-context-chip-dot{width:10px;height:10px;border-radius:999px;background:#64748b;flex-shrink:0}.admin-context-chip.clinic .admin-context-chip-dot{background:#16a34a}.admin-context-chip.global .admin-context-chip-dot{background:#0f766e}.dashboard-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}.dashboard-panel{padding:var(--space-4);display:grid;gap:var(--space-4)}.dashboard-panel-header{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-3);flex-wrap:wrap}.dashboard-panel-header h2{margin:0;font-size:1rem}.dashboard-panel-header p{margin:4px 0 0}.dashboard-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}.dashboard-health-item{border:1px solid var(--border);border-radius:var(--radius-md);background:#ffffffd9;padding:12px;display:grid;gap:5px}.dashboard-health-item strong{font-size:.95rem}.dashboard-selected-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.dashboard-checklist{display:grid;gap:var(--space-2)}.dashboard-check-row{border:1px solid var(--border);border-radius:var(--radius-sm);padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);background:#ffffffd9}.dashboard-mini-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-2)}.dashboard-mini-stat{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-alt);padding:10px 12px;display:grid;gap:4px}.dashboard-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}.dashboard-chip-list{display:flex;flex-wrap:wrap;gap:6px}.dashboard-note{border:1px dashed var(--border);border-radius:var(--radius-md);padding:var(--space-3);background:#f8fafce6}.dashboard-note p{margin:6px 0 0}.diag-page{gap:var(--space-5)}#diag-env,#diag-clinic,#diag-tests,#settings-global-ai,#settings-agendas,#settings-workspaces{scroll-margin-top:92px}.diag-hero{border:1px solid var(--border);border-radius:var(--radius-lg);background:radial-gradient(900px 260px at 0% -30%,rgba(15,118,110,.16),transparent 60%),radial-gradient(700px 240px at 100% -20%,rgba(14,165,233,.14),transparent 55%),#fffffff5;box-shadow:var(--shadow-sm);padding:var(--space-5);display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.9fr);gap:var(--space-4)}.diag-hero-main h1{margin:0;font-family:var(--font-display);font-size:1.45rem}.diag-hero-eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;color:var(--primary);font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:.09em}.diag-hero-eyebrow:before{content:"";width:8px;height:8px;border-radius:999px;background:linear-gradient(180deg,#16a34a,#22c55e);box-shadow:0 0 0 4px #22c55e1f}.diag-chip-row{margin-top:var(--space-3);display:flex;gap:8px;flex-wrap:wrap}.diag-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;border:1px solid var(--border);background:#ffffffd9;font-size:.78rem;font-weight:600;color:var(--text)}.diag-chip.ok{background:#16a34a1a;border-color:#16a34a33;color:#166534}.diag-chip.warn{background:#f59e0b1f;border-color:#f59e0b38;color:#92400e}.diag-chip.danger{background:#dc26261a;border-color:#dc262633;color:#991b1b}.diag-hero-actions{display:grid;align-content:start;gap:var(--space-3);background:#ffffffb3;border:1px solid rgba(198,198,200,.7);border-radius:var(--radius-md);padding:var(--space-3)}.diag-hero-actions .field{gap:6px}.diag-hero-actions .field input,.diag-hero-actions .field select{width:100%;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;padding:9px 10px;font:inherit}.diag-hero-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.diag-hero-buttons a.btn{text-decoration:none}.diag-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--space-3)}.diag-kpi{border:1px solid var(--border);border-radius:var(--radius-md);background:#fffffff2;box-shadow:var(--shadow-sm);padding:12px;display:grid;gap:4px}.diag-kpi.ok{border-color:#16a34a38}.diag-kpi.warn{border-color:#f59e0b40}.diag-kpi.danger{border-color:#dc262633}.diag-kpi-label{font-size:.76rem;color:var(--muted)}.diag-kpi-value{font-size:1rem}.diag-kpi-hint{font-size:.76rem;color:var(--muted);line-height:1.35}.diag-feedback{border-radius:var(--radius-md)}.diag-feedback-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.diag-feedback-pre{margin-top:8px;max-height:320px;overflow:auto;background:#0f172a0d;padding:10px;border-radius:8px;border:1px solid rgba(15,23,42,.06);font-size:.8rem}.diag-theme-card{border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);overflow:hidden}.diag-theme-card .card-header{background:linear-gradient(180deg,#f8fafcd9,#fffffff2);border-bottom:1px solid var(--border)}.diag-theme-card-body{display:grid;gap:var(--space-3)}.diag-runtime-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}.diag-signal-card{border:1px solid rgba(198,198,200,.65);border-radius:var(--radius-md);background:#ffffffc7;padding:12px;display:grid;gap:12px}.diag-signal-card.ok{border-color:#16a34a33}.diag-signal-card.warn{border-color:#f59e0b38}.diag-signal-card.danger{border-color:#dc262629}.diag-signal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.diag-signal-title{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--text)}.diag-icon{display:inline-flex;align-items:center;justify-content:center;width:1.2rem}.diag-signal-subtitle{margin:4px 0 0;color:var(--muted);font-size:.82rem;line-height:1.35}.diag-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.diag-metric-card{border:1px solid rgba(198,198,200,.55);border-radius:10px;background:#ffffffe6;padding:10px;display:grid;gap:4px}.diag-metric-label{font-size:.73rem;color:var(--muted);line-height:1.2}.diag-metric-value{font-size:.9rem;line-height:1.25;color:var(--text);word-break:break-word}.diag-metric-hint{font-size:.72rem;color:var(--muted);line-height:1.25}.diag-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.diag-detail-card{border:1px solid rgba(198,198,200,.55);border-radius:10px;background:#ffffffdb;padding:10px;display:grid;gap:8px}.diag-detail-title{display:inline-flex;align-items:center;gap:8px;font-size:.8rem;font-weight:700}.diag-detail-list{margin:0;padding:0;list-style:none;display:grid;gap:6px}.diag-detail-list li{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;font-size:.8rem}.diag-detail-list li span{color:var(--muted)}.diag-detail-list li strong{text-align:right;word-break:break-word}.diag-path-box{display:grid;gap:4px}.diag-path-box span{font-size:.72rem;color:var(--muted)}.diag-path-box code{display:block;font-family:var(--font-mono);font-size:.74rem;line-height:1.35;background:#0f172a0d;border:1px solid rgba(15,23,42,.08);border-radius:8px;padding:7px 8px;word-break:break-all}.diag-inline-alert{margin:0;border:1px solid rgba(198,198,200,.55);border-radius:10px;padding:10px;font-size:.82rem;line-height:1.35;background:#f8fafccc}.diag-inline-alert.danger{border-color:#dc262638;background:#fef2f2e6;color:#991b1b}.diag-explain-box{border:1px solid rgba(198,198,200,.55);border-radius:10px;background:#f8fafcb8;padding:10px;display:grid;gap:10px}.diag-legend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.diag-legend-item{border:1px solid rgba(198,198,200,.55);border-radius:10px;background:#ffffffe6;padding:10px;display:grid;gap:6px;font-size:.78rem;line-height:1.35}.diag-legend-item.ok{border-color:#16a34a33}.diag-legend-item.warn{border-color:#f59e0b38}.diag-legend-item.danger{border-color:#dc26262e}.diag-legend-head{display:inline-flex;align-items:center;gap:6px;font-size:.8rem}.diag-theme-card .table{width:100%;border-collapse:collapse;font-size:.9rem}.diag-theme-card .table th,.diag-theme-card .table td{padding:10px 12px;border-bottom:1px solid rgba(198,198,200,.5);text-align:left;vertical-align:top}.diag-theme-card .table thead th{font-size:.75rem;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);background:#f8fafc99}.diag-subheading{margin:4px 0 0;font-size:.86rem;font-weight:700;color:var(--text);display:flex;align-items:center;gap:8px}.diag-subheading:before{content:"";width:8px;height:8px;border-radius:999px;background:#0f766ea6}.diag-form-grid{margin-top:2px;border:1px solid rgba(198,198,200,.55);border-radius:var(--radius-md);background:#ffffffb8;padding:12px}.diag-form-grid .field input,.diag-form-grid .field select{width:100%;border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;padding:9px 10px;font:inherit}.diag-form-grid .field small{display:block;line-height:1.35}.diag-table-wrap{overflow-x:auto;border:1px solid rgba(198,198,200,.55);border-radius:var(--radius-md);background:#ffffffb8}.diag-table-wrap+.diag-subheading{margin-top:4px}@media (max-width: 1100px){.clinic-workspace-grid,.dashboard-grid-two,.dashboard-health-grid,.diag-runtime-grid,.diag-detail-grid{grid-template-columns:1fr}.diag-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.diag-legend-grid{grid-template-columns:1fr}}@media (max-width: 820px){.clinic-card-meta,.clinic-workspace-hero{grid-template-columns:1fr}.diag-metric-grid{grid-template-columns:1fr 1fr}.clinic-workspace-hero-actions{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}.clinic-workspace-form-grid,.clinic-workspace-meta-list{grid-template-columns:1fr}.clinic-workspace-danger{flex-direction:column;align-items:stretch}.admin-context-chip{min-width:0;width:100%;order:3}.dashboard-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-actions-grid,.diag-hero{grid-template-columns:1fr}.diag-hero-buttons{grid-template-columns:1fr 1fr}.diag-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.diag-feedback-header{flex-direction:column;align-items:stretch}}.page.wide{display:block;max-width:1280px;margin:0 auto}.page-stack{display:grid;gap:var(--space-6)}.page-header{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);flex-wrap:wrap}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--space-3)}.summary-card{background:#ffffffe6;border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-3);display:grid;gap:6px;box-shadow:var(--shadow-sm)}.summary-card strong{font-size:1.2rem}.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr)}.app-shell.app-sidebar-collapsed{grid-template-columns:var(--sidebar-collapsed-width) minmax(0,1fr)}.app-sidebar{background:#fffffff0;border-right:1px solid var(--border);padding:var(--space-6) var(--space-4);display:flex;flex-direction:column;gap:var(--space-6);position:sticky;top:0;height:100vh;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.sidebar-brand{display:flex;align-items:center;gap:var(--space-3);font-weight:600}.sidebar-brand-text{display:grid;gap:2px}.brand-mark{width:42px;height:42px;border-radius:var(--radius-md);background:linear-gradient(135deg,var(--primary),#0ea5e9);color:#fff;display:grid;place-items:center;font-weight:700;letter-spacing:.04em}.sidebar-collapse-btn{margin-left:auto;width:30px;height:30px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-alt);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;padding:0}.sidebar-collapse-btn:hover{color:var(--primary);border-color:#0f766e4d}.sidebar-collapse-btn svg{width:18px;height:18px}.sidebar-nav{display:grid;gap:var(--space-2)}.nav-link{display:flex;align-items:center;gap:var(--space-3);padding:10px 12px;border-radius:var(--radius-md);color:var(--muted);font-weight:600;transition:all .2s ease}.nav-text{min-width:0}.nav-link:hover{background:var(--surface-alt);color:var(--text)}.nav-link.active{background:#0f766e1f;color:var(--primary)}.nav-link:focus-visible,.nav-sublink:focus-visible,.clinic-nav-btn:focus-visible,.clinic-nav-subbtn:focus-visible,.settings-nav-item:focus-visible{outline:2px solid rgba(15,118,110,.45);outline-offset:2px;text-decoration:none}.nav-icon{width:20px;height:20px;display:grid;place-items:center}.nav-icon svg{width:20px;height:20px}.sidebar-footer{margin-top:auto}.app-sidebar-overlay{display:none}.status-card{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--surface-alt);border:1px solid var(--border)}.status-text{display:grid;gap:2px}.app-shell.app-sidebar-collapsed .app-sidebar{padding:var(--space-6) var(--space-2)}.app-shell.app-sidebar-collapsed .sidebar-brand{flex-direction:column;gap:var(--space-2)}.app-shell.app-sidebar-collapsed .sidebar-brand-text,.app-shell.app-sidebar-collapsed .nav-text,.app-shell.app-sidebar-collapsed .nav-sublinks,.app-shell.app-sidebar-collapsed .status-text,.app-shell.app-sidebar-collapsed .sidebar-nav-group-title{display:none}.app-shell.app-sidebar-collapsed .sidebar-nav,.app-shell.app-sidebar-collapsed .sidebar-footer{width:100%}.app-shell.app-sidebar-collapsed .nav-link,.app-shell.app-sidebar-collapsed .status-card{justify-content:center;padding:10px}.status-dot{width:10px;height:10px;border-radius:999px;background:var(--secondary)}.app-main{display:flex;flex-direction:column}.app-header{height:var(--header-height);padding:0 var(--space-6);display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);background:#ffffffd9;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);position:sticky;top:0;z-index:5}.header-brand{display:grid;gap:2px}.header-controls{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.select-wrap{position:relative;display:grid;gap:2px;min-width:200px}.select-wrap select{padding-right:28px}.select-wrap.wide{min-width:240px}.language-switcher{min-width:165px}.select-label{font-size:.72rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.avatar{width:36px;height:36px;border-radius:50%;background:var(--surface-alt);display:grid;place-items:center;font-weight:700}.mobile-toggle{display:none}.hamburger{width:18px;height:2px;background:currentColor;position:relative;display:inline-block}.hamburger:before,.hamburger:after{content:"";position:absolute;width:18px;height:2px;background:currentColor;left:0}.hamburger:before{top:-6px}.hamburger:after{top:6px}.app-content{padding:var(--space-6)}.btn{border:none;border-radius:var(--radius-sm);padding:10px 16px;font-weight:600;cursor:pointer;transition:all .2s ease;background:linear-gradient(135deg,var(--primary),var(--primary-700));color:#fff}.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary-700));color:#fff}.btn-secondary{background:#16a34a29;color:#0f5132;border:1px solid rgba(22,163,74,.25)}.btn-danger{background:#ef444426;color:#991b1b;border:1px solid rgba(239,68,68,.3)}.btn-ghost{background:transparent;color:var(--text);border:1px solid var(--border);box-shadow:none}.btn-ghost:hover{background:var(--surface-alt)}.btn-sm{padding:6px 12px;font-size:.85rem}.icon-button{width:36px;height:36px;padding:0;display:grid;place-items:center}.icon-button svg{width:18px;height:18px}.card{background:#fffffff2;border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:var(--space-5)}.card-header{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);margin-bottom:var(--space-4)}.card-title{margin:0}.card-subtitle{margin:0;color:var(--muted)}.card-body,.clinic-integration-stack{display:grid;gap:var(--space-4)}.clinic-integration-card{border:1px solid var(--border)}.clinic-integration-card.is-whatsapp{border-left:4px solid #25d366}.clinic-integration-card.is-google{border-left:4px solid #4285f4}.clinic-integration-card-title{display:inline-flex;align-items:center;gap:10px}.wa-provider-config{display:flex;flex-direction:column;gap:var(--space-3)}.wa-provider-config .clinic-config-grid{margin-top:0}.wa-provider-divider{border:none;border-top:1px solid var(--border);margin:var(--space-4) 0}.wa-templates-link{font-size:.82rem;color:var(--text-muted);text-decoration:none;margin-right:auto;background:transparent;border:0;padding:0;cursor:pointer}.wa-templates-link:hover{color:var(--text);text-decoration:underline}.clinic-integration-card-icon{width:24px;height:24px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.clinic-integration-card-icon.is-whatsapp{background:#25d3661f;color:#25d366}.clinic-integration-card-icon.is-google{background:#4285f414}.clinic-integration-card.is-drive{border-left:4px solid #34a853}.clinic-integration-card-icon.is-drive{background:#34a85314}.clinic-integration-card .whatsapp-integration-widget{margin-bottom:0}.stat-grid{display:grid;gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.stat-value{font-size:2rem;font-weight:700;margin-bottom:var(--space-2)}.stat-value.small{font-size:1.3rem}.action-grid{display:grid;gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.action-item{padding:var(--space-4);border-radius:var(--radius-md);background:var(--surface-alt);border:1px solid var(--border);display:grid;gap:var(--space-2);cursor:pointer;text-align:left;transition:border-color .2s ease,box-shadow .2s ease,transform .15s ease}.action-item:hover{border-color:#0f766e59;box-shadow:var(--shadow-sm);transform:translateY(-1px)}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);flex-wrap:wrap}.toolbar-actions{display:flex;gap:var(--space-2)}.legend{display:flex;gap:var(--space-4);flex-wrap:wrap;font-size:.85rem;color:var(--muted)}.legend-dot{width:10px;height:10px;border-radius:999px;display:inline-block;margin-right:6px}.dot-primary{background:var(--primary)}.dot-warning{background:var(--warning)}.dot-danger{background:var(--danger)}.info-grid{display:grid;gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(220px,1fr));padding:var(--space-3);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-alt);min-width:0}.info-item{display:grid;gap:4px;min-width:0}.info-item strong{display:block;word-break:break-all;overflow-wrap:anywhere;line-height:1.35}.input-search{max-width:360px}.badge{padding:4px 10px;border-radius:999px;font-size:.75rem;font-weight:600;border:0}.badge-success{background:#16a34a1f;color:#166534;border-color:#16a34a4d}.badge-neutral{background:#94a3b81f;color:#7b8d88}.badge-warning{background:#f59e0b24;color:#92400e;border-color:#f59e0b4d}.badge-danger{background:#ef444424;color:#991b1b;border-color:#ef44444d}.clinic-grid{display:grid;gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.clinic-card{background:#fffffffa;border-radius:var(--radius-lg);border:1px solid var(--border);padding:var(--space-4);display:grid;gap:var(--space-4);box-shadow:var(--shadow-sm)}.clinic-card-header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:var(--space-3)}.clinic-card-header img,.clinic-logo{width:48px;height:48px;border-radius:var(--radius-md);object-fit:cover}.clinic-logo{display:grid;place-items:center;background:var(--primary);color:#fff;font-weight:700}.clinic-card-body{display:grid;gap:var(--space-2)}.clinic-card-indicators,.clinic-card-actions{display:flex;gap:var(--space-2);flex-wrap:wrap}.clinic-card:hover{box-shadow:var(--shadow-md);transform:translateY(-1px);transition:box-shadow .2s ease,transform .15s ease}.key-panel{display:grid;gap:var(--space-3);margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--border)}.key-callout{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);background:var(--surface-alt);border:1px solid var(--border)}.key-list{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-2)}.key-list li{display:flex;justify-content:space-between;gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface);align-items:flex-start;flex-wrap:wrap}.key-meta{display:grid;gap:2px;flex:1;min-width:0}.key-value{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono;font-size:.92rem;word-break:break-all;overflow-wrap:anywhere;white-space:normal;display:block}.key-actions{display:grid;gap:var(--space-2);justify-items:end;flex-shrink:0}.key-actions .row{justify-content:flex-end}.empty-state{border:1px dashed var(--border);border-radius:var(--radius-lg);padding:var(--space-6);text-align:center;background:#fffc;display:grid;gap:var(--space-2)}.form-grid{display:grid;gap:var(--space-3)}.field{display:grid;gap:var(--space-2);font-size:.9rem}.field-value{padding:10px 12px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-alt)}.table-card{background:#fffffff2;border-radius:var(--radius-lg);border:1px solid var(--border);overflow:hidden}.data-table{width:100%;border-collapse:collapse;font-size:.92rem}.data-table th,.data-table td{padding:12px 16px;border-bottom:1px solid var(--border);text-align:left}.data-table th{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.segmented{display:inline-flex;border:1px solid var(--border);border-radius:999px;background:var(--surface);padding:4px;gap:4px}.segmented-item{border:none;background:transparent;padding:6px 14px;border-radius:999px;font-weight:600;color:var(--muted);cursor:pointer}.segmented-item.active{background:var(--primary);color:#fff}.admin-users-auth-provider{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.admin-users-auth-provider-item{border:1px solid var(--border);background:var(--surface-alt);color:var(--text);border-radius:10px;padding:8px 10px;font-weight:600;font-size:.84rem;cursor:pointer;min-height:40px;text-align:center}.admin-users-auth-provider-item:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--border))}.admin-users-auth-provider-item.active{background:color-mix(in srgb,var(--primary) 14%,#ffffff);border-color:color-mix(in srgb,var(--primary) 45%,var(--border));color:var(--primary)}.tabs{display:flex;gap:var(--space-2);flex-wrap:wrap}.tab-item{border:1px solid var(--border);background:var(--surface);padding:8px 16px;border-radius:999px;font-weight:600;color:var(--muted);cursor:pointer}.tab-item.active{background:#0f766e1f;color:var(--primary);border-color:#0f766e4d}.calendar-shell{background:#fffffff2;border-radius:var(--radius-lg);border:1px solid var(--border);padding:var(--space-4);box-shadow:var(--shadow-sm)}.fc{font-size:.92rem;min-height:720px}.fc .fc-toolbar-title{font-family:var(--font-display);font-size:1.2rem}.fc .fc-button{background:var(--surface-alt);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-sm)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background:var(--primary);color:#fff}.fc .fc-event{border:none;border-radius:8px;background:#0f766ee6}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;justify-content:center;align-items:flex-start;padding:var(--space-6);z-index:50;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.modal{background:#fff;border-radius:var(--radius-lg);border:1px solid var(--border);width:min(520px,100%);box-shadow:var(--shadow-md);padding:var(--space-5);max-height:calc(100dvh - (var(--space-6) * 2));overflow:auto;margin:auto 0}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4)}.modal-actions{display:flex;justify-content:flex-end;gap:var(--space-2);margin-top:var(--space-4);flex-wrap:wrap}.modal-body{display:grid;gap:var(--space-3)}@media (max-width: 900px){.modal-backdrop{padding:max(var(--space-3),env(safe-area-inset-top,0px)) var(--space-3) calc(var(--space-3) + env(safe-area-inset-bottom,0px))}.modal{width:min(100%,720px);max-height:calc(100dvh - max(var(--space-3),env(safe-area-inset-top,0px)) - (var(--space-3) + env(safe-area-inset-bottom,0px)));border-radius:var(--radius-md)}}.stack{display:grid;gap:var(--space-3)}.row{display:flex;gap:var(--space-3);flex-wrap:wrap}.pill{border:1px solid var(--border);padding:6px 12px;border-radius:999px;font-size:.82rem;background:var(--surface)}.pill.active{background:var(--primary);color:#fff;border-color:var(--primary)}.topbar{display:flex;justify-content:space-between;align-items:center;padding:var(--space-4);background:#ffffffd9;border-radius:var(--radius-lg);border:1px solid var(--border);margin-bottom:var(--space-4)}.events-list,.summary-list,.list{list-style:none;padding:0;margin:0;display:grid;gap:var(--space-2)}.events-list li,.summary-list li,.list li{background:var(--surface-alt);padding:var(--space-3);border-radius:var(--radius-md);display:flex;justify-content:space-between;gap:var(--space-3)}@media (max-width: 1024px){.app-shell,.app-shell.app-sidebar-collapsed{grid-template-columns:1fr}.app-sidebar{position:fixed;left:0;top:0;transform:translate(-100%);transition:transform .2s ease;z-index:12;width:min(84vw,var(--sidebar-width));box-shadow:12px 0 26px #0f172a33}.app-shell.sidebar-open .app-sidebar{transform:translate(0)}.app-shell.app-sidebar-collapsed .app-sidebar{padding:var(--space-6) var(--space-4)}.app-shell.app-sidebar-collapsed .sidebar-brand{flex-direction:row;gap:var(--space-3)}.app-shell.app-sidebar-collapsed .sidebar-brand-text,.app-shell.app-sidebar-collapsed .status-text{display:grid}.app-shell.app-sidebar-collapsed .nav-text{display:inline}.app-shell.app-sidebar-collapsed .nav-link,.app-shell.app-sidebar-collapsed .status-card{justify-content:flex-start;padding:10px 12px}.app-sidebar-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:block;border:none;margin:0;padding:0;border-radius:0;background:#0f172a61;z-index:11}.mobile-toggle{display:inline-flex}.sidebar-collapse-btn{display:none}}@media (max-width: 720px){.app-header{padding:0 var(--space-4);height:auto;flex-wrap:wrap;align-items:flex-start;gap:var(--space-3)}.header-controls{width:100%;justify-content:space-between}.data-table{display:block;overflow-x:auto}}.clinic-header{margin-bottom:var(--space-4)}.clinic-brand{display:flex;align-items:center;gap:var(--space-3)}.clinic-brand img{width:56px;height:56px;border-radius:var(--radius-md);object-fit:cover}.logo-placeholder{width:56px;height:56px;border-radius:var(--radius-md);background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:700}.calendar-frame{width:100%;min-height:520px;border-radius:var(--radius-lg);border:1px solid var(--border);overflow:hidden}.calendar-frame iframe{width:100%;height:100%;min-height:520px}.stat{display:flex;justify-content:space-between;align-items:center;background:var(--surface-alt);padding:var(--space-3);border-radius:var(--radius-md);border:1px solid var(--border)}.empty{padding:var(--space-4);background:var(--surface-alt);border-radius:var(--radius-md);border:1px dashed var(--border);text-align:center}.admin-card-header{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3)}.admin-subhead{display:flex;justify-content:space-between;align-items:baseline;gap:var(--space-2)}.admin-list li{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);cursor:pointer}.admin-chip{padding:4px 10px;border-radius:999px;border:1px solid var(--border);font-size:.75rem;color:var(--muted);background:var(--surface-alt)}.admin-chip.ok{background:#16a34a1f;color:#166534;border-color:#16a34a4d}.admin-actions{display:grid;gap:var(--space-2);justify-items:end}.admin-meta{display:grid;gap:2px}.rebook-grid{display:grid;gap:var(--space-4);grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.rebook-section{background:var(--surface-alt);border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-4)}.patient-portal{--portal-primary: #0f766e;--portal-success: #10b981;--portal-warning: #f59e0b;--portal-error: #ef4444;--portal-muted: #6b7280;--portal-surface: #ffffff;--portal-bg: #f9fafb;font-family:"Poppins","Inter",var(--font-body);color:#334155;background:radial-gradient(circle at top,rgba(15,118,110,.12),transparent 45%),linear-gradient(180deg,#f8fafc,#f0fdfa);min-height:100vh}.portal-shell{max-width:1200px;margin:0 auto;padding:48px 48px 120px;display:grid;gap:48px}.portal-header{background:var(--portal-surface);border-radius:18px;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:var(--shadow-sm);position:sticky;top:16px;z-index:10}.portal-brand{display:flex;align-items:center;gap:16px}.portal-logo{width:52px;height:52px;border-radius:16px;background:var(--portal-primary);color:#fff;display:grid;place-items:center;font-weight:700;object-fit:cover}.portal-kicker{margin:0;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--portal-muted)}.portal-actions{display:flex;align-items:center;gap:16px}.portal-badge{padding:6px 12px;border-radius:999px;font-size:.75rem;font-weight:600;border:1px solid transparent}.portal-badge.badge-ok{background:#10b9811f;color:#065f46;border-color:#10b9814d}.portal-badge.badge-warn{background:#f59e0b1f;color:#92400e;border-color:#f59e0b4d}.portal-badge.badge-neutral{background:#94a3b826;color:#475569;border-color:#94a3b840}.portal-bell{position:relative;background:var(--portal-surface);color:#1f2937;border:1px solid var(--border)}.portal-bell svg{width:18px;height:18px}.bell-dot{position:absolute;top:4px;right:4px;width:18px;height:18px;border-radius:50%;background:var(--portal-error);color:#fff;font-size:.65rem;display:grid;place-items:center}.portal-user{position:relative}.avatar-circle{width:32px;height:32px;border-radius:50%;background:#0f766e26;color:var(--primary);display:grid;place-items:center;font-weight:700}.portal-notice{background:#ecfeff;border:1px solid #a5f3fc;padding:12px 16px;border-radius:12px;color:#0e7490}.hero-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:32px;align-items:center}.hero-copy h2{font-size:2rem;margin-bottom:12px}.hero-copy p{color:var(--portal-muted);line-height:1.6}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.hero-card{background:var(--portal-surface);border-radius:20px;padding:24px;box-shadow:var(--shadow-sm)}.hero-time{font-size:1.6rem;font-weight:700;margin:8px 0}.hero-meta{display:grid;gap:4px;color:var(--portal-muted)}.appointment-empty{display:grid;gap:12px}.section-header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.stepper{display:flex;gap:12px;flex-wrap:wrap}.step{border:1px solid var(--border);background:var(--portal-surface);padding:8px 12px;border-radius:999px;font-weight:600;color:var(--portal-muted);display:flex;align-items:center;gap:6px}.step span{width:24px;height:24px;border-radius:50%;background:#0f766e1a;color:var(--portal-primary);display:grid;place-items:center}.step.active{border-color:#0f766e66;color:var(--portal-primary)}.step.done{background:#10b9811f;border-color:#10b9814d;color:#065f46}.schedule-card{background:var(--portal-surface);border-radius:20px;padding:24px;box-shadow:var(--shadow-sm);margin-top:24px;display:grid;gap:20px}.service-grid,.professional-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.service-card,.professional-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:16px;display:flex;gap:12px;text-align:left;transition:transform .2s ease,box-shadow .2s ease}.service-card:hover,.professional-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm)}.service-card.selected,.professional-card.selected{border-color:#0f766e66;box-shadow:0 10px 24px #0f766e1f}.service-icon{width:40px;height:40px;border-radius:12px;background:#0f766e1f;color:var(--portal-primary);display:grid;place-items:center;font-weight:700}.schedule-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.date-grid{display:grid;gap:20px;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}.calendar-card{border:1px solid var(--border);border-radius:16px;padding:12px;background:#fff}.portal-day-available .fc-daygrid-day-frame{background:#10b98114;border-radius:10px}.portal-day-unavailable{opacity:.4}.portal-day-selected .fc-daygrid-day-frame{outline:2px solid rgba(15,118,110,.5)}.slot-panel{background:var(--portal-bg);border-radius:16px;padding:16px;display:grid;gap:16px}.slot-group{display:grid;gap:8px}.slot-grid{display:flex;flex-wrap:wrap;gap:8px}.slot-chip{border:1px solid rgba(15,118,110,.2);border-radius:999px;padding:8px 12px;background:#fff;font-weight:600}.slot-chip.active{background:var(--portal-primary);color:#fff;border-color:var(--portal-primary)}.confirmation-card{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;background:var(--portal-bg);padding:16px;border-radius:16px}.checkbox-group{display:grid;gap:12px}.dashboard-section{display:grid;gap:24px}.dashboard-grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.dashboard-card{background:var(--portal-surface);border-radius:18px;padding:20px;box-shadow:var(--shadow-sm);display:grid;gap:16px}.appointment-card{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:16px;border-radius:14px;border:1px solid var(--border);background:#fff}.appointment-date{font-size:.85rem;color:var(--portal-muted)}.appointment-actions{display:flex;gap:8px;flex-wrap:wrap}.timeline{display:grid;gap:16px}.timeline-item{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.timeline-dot{width:10px;height:10px;border-radius:50%;background:var(--portal-primary)}.history-section{background:var(--portal-surface);border-radius:20px;padding:24px;box-shadow:var(--shadow-sm);display:grid;gap:20px}.history-filters{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:center}.history-list{display:grid;gap:12px}.history-card{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:16px;border-radius:14px;border:1px solid var(--border)}.skeleton-block{height:120px;border-radius:12px;background:linear-gradient(90deg,#e5e7eb,#f3f4f6,#e5e7eb);background-size:200% 100%;animation:shimmer 1.4s infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.portal-bottom-nav{display:none}@media (max-width: 900px){.portal-shell{padding:32px 24px 120px}.portal-header{flex-direction:column;align-items:flex-start}.date-grid{grid-template-columns:1fr}}@media (max-width: 720px){.portal-bottom-nav{display:flex;position:fixed;bottom:16px;left:16px;right:16px;background:#fff;border-radius:16px;box-shadow:var(--shadow-sm);justify-content:space-around;padding:12px;gap:8px;z-index:30}.portal-bottom-nav button{background:transparent;border:none;font-weight:600}}.reception-portal{min-height:100vh}.clinic-shell{min-height:100vh;display:grid;grid-template-columns:72px minmax(0,1fr);transition:grid-template-columns .28s cubic-bezier(.4,0,.2,1)}.clinic-shell.sidebar-collapsed,.clinic-shell.sidebar-expanded{grid-template-columns:72px minmax(0,1fr)}.nav-group{display:grid;gap:1px}.nav-chevron{opacity:.45;margin-left:auto;display:flex;align-items:center;transition:transform .22s ease,opacity .2s ease}.clinic-nav-btn:hover .nav-chevron{opacity:.7}.nav-submenus{display:grid;gap:2px;margin:2px 0 4px 12px;padding:3px 0 3px 10px;border-left:2px solid rgba(15,118,110,.18)}.clinic-nav-subbtn{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:9px;color:#475569;font-size:.8rem;font-weight:500;transition:all .18s ease;text-decoration:none;white-space:normal;min-width:0;letter-spacing:.01em;line-height:1.2}.clinic-nav-subbtn:hover{color:#0f766e;background:#0f766e12;text-decoration:none}.clinic-nav-subbtn.active{color:#0f766e;background:#0f766e1a;font-weight:600;text-decoration:none}.clinic-nav-subbtn svg{width:14px;height:14px;flex-shrink:0;opacity:.75}.clinic-nav-subbtn.active svg,.clinic-nav-subbtn:hover svg{opacity:1}.sidebar-collapsed .nav-submenus,.sidebar-collapsed .nav-chevron{display:none}.clinic-sidebar-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:transparent;z-index:22;-webkit-backdrop-filter:none;backdrop-filter:none}.clinic-shell.sidebar-expanded .clinic-sidebar-overlay{display:block}.clinic-sidebar{background:linear-gradient(180deg,#fff,#f8fafb);border-right:1px solid rgba(148,163,184,.22);padding:12px 8px;display:flex;flex-direction:column;gap:8px;position:sticky;top:0;height:100vh;width:72px;max-width:72px;overflow:hidden;transition:width .28s cubic-bezier(.4,0,.2,1),max-width .28s cubic-bezier(.4,0,.2,1),box-shadow .22s ease;z-index:24}.clinic-shell.sidebar-expanded .clinic-sidebar{width:268px;max-width:268px;background:linear-gradient(180deg,#fff,#f7fafa);box-shadow:12px 0 36px #0f172a1a}.clinic-sidebar-brand{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:2px 2px 10px;min-height:44px;overflow:hidden;border-bottom:1px solid rgba(148,163,184,.18)}.sidebar-collapsed .clinic-sidebar-brand{justify-content:center;padding:2px 0 10px}.sidebar-collapsed .clinic-sidebar-brand-main{display:none}.clinic-sidebar-brand-main{display:flex;align-items:center;gap:10px;min-width:0;overflow:hidden}.clinic-sidebar-logo{width:34px;height:34px;min-width:34px;border-radius:10px;object-fit:cover;border:1px solid rgba(148,163,184,.28);background:#fff;box-shadow:0 2px 6px #0f172a0f}.clinic-sidebar-avatar{width:34px;height:34px;min-width:34px;border-radius:10px;background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;display:grid;place-items:center;font-weight:700;font-size:.78rem;box-shadow:0 2px 8px #0f766e38}.clinic-sidebar-brand-text{display:grid;gap:1px;white-space:nowrap;overflow:hidden;transition:opacity .2s ease,width .2s ease}.clinic-sidebar-brand-text strong{font-size:.84rem;font-weight:700;color:#334155;text-overflow:ellipsis;overflow:hidden;letter-spacing:-.01em}.clinic-sidebar-brand-text .muted{font-size:.7rem;color:#94a3b8;font-weight:500;letter-spacing:.01em}.sidebar-collapsed .clinic-sidebar-brand-text{opacity:0;width:0}.clinic-sidebar-nav{display:grid;gap:1px;align-content:start;flex:1;overflow-y:auto;padding:2px 0 6px;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.3) transparent}.clinic-sidebar-nav .clinic-nav-btn{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:11px;color:#475569;font-weight:500;font-size:.83rem;letter-spacing:.01em;transition:all .18s ease;white-space:nowrap;overflow:hidden;min-height:38px;text-decoration:none;border:1px solid transparent;position:relative}.sidebar-collapsed .clinic-sidebar-nav .clinic-nav-btn{justify-content:center;padding:10px 6px}.clinic-sidebar-nav .clinic-nav-btn:hover{background:#0f766e12;border-color:#0f766e24;color:#0f766e}.clinic-sidebar-nav .clinic-nav-btn.active{background:#0f766e1a;border-color:#0f766e33;color:#0f766e;font-weight:600;box-shadow:inset 3px 0 #0f766e}.clinic-nav-btn svg{width:17px;height:17px;flex-shrink:0}.clinic-sidebar-nav .nav-label,.clinic-sidebar-footer .nav-label{transition:opacity .2s ease}.sidebar-collapsed .nav-label{opacity:0;width:0;overflow:hidden}.clinic-sidebar-footer{margin-top:auto;display:grid;gap:3px;border-top:1px solid rgba(148,163,184,.18);padding-top:8px}.clinic-nav-logout{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:11px;color:#64748b;font-weight:500;font-size:.83rem;background:transparent;border:1px solid transparent;width:100%;text-align:left;cursor:pointer;transition:all .18s ease;white-space:nowrap;overflow:hidden}.clinic-nav-logout:hover{background:#ef444412;border-color:#ef444426;color:#dc2626}.sidebar-collapsed .clinic-nav-logout{justify-content:center;padding:8px 6px}.clinic-sidebar-toggle{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:#0f766e14;border:1px solid rgba(15,118,110,.18);color:#0f766e;cursor:pointer;transition:all .18s ease;flex-shrink:0}.clinic-sidebar-toggle:hover{background:#0f766e24;border-color:#0f766e47}.clinic-sidebar-toggle .nav-icon{transition:transform .25s ease;display:grid;place-items:center}.clinic-shell.sidebar-expanded .clinic-sidebar-toggle .nav-icon{transform:rotate(180deg)}.sidebar-collapsed .clinic-sidebar-toggle .nav-icon{transform:none}.clinic-main{display:flex;flex-direction:column;min-height:100dvh;height:100dvh;background:radial-gradient(circle at top right,rgba(20,184,166,.06),transparent 38%),radial-gradient(circle at bottom left,rgba(14,165,233,.04),transparent 42%),linear-gradient(180deg,#f8fafb,#f1f5f9);overflow:hidden}.clinic-main-portal-only{width:100%;min-height:100dvh;height:100dvh;background:transparent}.clinic-content{flex:1;overflow-y:auto;min-height:0;min-width:0}.clinic-global-side-actions{display:none}.clinic-system-alert{margin:10px 24px 0;border:1px solid #fed7aa;background:linear-gradient(180deg,#fff7ed,#fffaf2);color:#9a3412;border-radius:10px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.clinic-system-alert-copy{min-width:0;display:grid;gap:2px}.clinic-system-alert-copy strong{font-size:.86rem;line-height:1.2}.clinic-system-alert-copy span{font-size:.79rem;line-height:1.25}.clinic-system-alert .btn{text-decoration:none}.clinic-content-portal-only{overflow-y:auto;overscroll-behavior-y:contain;scroll-padding-bottom:calc(var(--space-8) + env(safe-area-inset-bottom,0px))}@media (max-width: 1024px){.clinic-main-portal-only{min-height:calc(100dvh - var(--header-height))}.clinic-content-portal-only{overflow-y:auto}}.clinic-topbar{height:var(--header-height);padding:max(var(--space-2),var(--app-safe-area-top)) var(--space-6) 0;display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);background:#ffffffe0;border-bottom:1px solid rgba(148,163,184,.18);backdrop-filter:blur(20px) saturate(1.4);-webkit-backdrop-filter:blur(20px) saturate(1.4);position:sticky;top:0;z-index:200;box-shadow:0 1px 3px #0f172a0a}.clinic-topbar-left{display:flex;align-items:center;gap:var(--space-3)}.clinic-topbar-logo{height:auto;width:auto;max-height:36px;max-width:120px;display:block;border-radius:4px;flex-shrink:0}.clinic-topbar-title{font-weight:600;font-size:1.05rem}.clinic-mobile-toggle{display:none;width:36px;height:36px;border-radius:8px;border:none;background:transparent;cursor:pointer;color:var(--text);align-items:center;justify-content:center;padding:0;flex-shrink:0;transition:background .15s}.clinic-mobile-toggle:hover{background:var(--surface-alt)}.clinic-mobile-toggle svg{width:20px;height:20px}.clinic-topbar-right{display:flex;align-items:center;gap:var(--space-3);flex-shrink:0}.topbar-page-id{display:flex;align-items:center;gap:7px}.topbar-page-icon{display:flex;align-items:center;justify-content:center;color:#0f766e;flex-shrink:0}.topbar-page-icon svg{width:18px;height:18px}.topbar-page-name{font-size:.92rem;font-weight:600;color:var(--text);white-space:nowrap}.topbar-status-group{display:flex;align-items:center;gap:6px}.topbar-status-chip{display:flex;align-items:center;gap:5px;padding:0;color:var(--muted);cursor:default;-webkit-user-select:none;user-select:none;white-space:nowrap}.topbar-status-icon{width:22px;height:22px;display:block;object-fit:contain;flex-shrink:0}.topbar-status-chip.chip-ok{color:#15803d}.topbar-status-chip.chip-warn{color:#92400e}.topbar-status-chip.chip-off{color:var(--muted)}.topbar-status-chip.chip-off .topbar-status-icon{filter:grayscale(1) opacity(.7)}.chip-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}.chip-ok .chip-dot{background:#22c55e;box-shadow:0 0 0 2px #22c55e33}.chip-warn .chip-dot{background:#f59e0b;box-shadow:0 0 0 2px #f59e0b33}.chip-off .chip-dot{background:var(--border)}.topbar-sep{width:1px;height:22px;background:var(--border-light);flex-shrink:0}.topbar-alert-bell-wrap{position:relative}.topbar-alert-bell{position:relative;display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:8px;background:none;border:none;-moz-appearance:none;appearance:none;-webkit-appearance:none;color:var(--muted);cursor:pointer;flex-shrink:0;overflow:visible;transition:background .15s,color .15s}.topbar-alert-bell svg{width:18px;height:18px;display:block;flex:0 0 18px;overflow:visible}.topbar-alert-avatar{width:30px;height:30px;display:block;object-fit:cover;border-radius:999px}.topbar-alert-bell:hover{background:var(--hover-bg, rgba(0,0,0,.06));color:var(--text)}.topbar-alert-bell--active{color:var(--danger);animation:bell-shake .5s ease-in-out infinite alternate}@keyframes bell-shake{0%{transform:rotate(-8deg)}to{transform:rotate(8deg)}}.topbar-alert-badge{position:absolute;top:-5px;right:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--danger);color:#fff;font-size:.65rem;font-weight:700;line-height:16px;text-align:center;pointer-events:none;border:2px solid var(--card-bg, #fff)}.topbar-alert-panel{position:absolute;top:calc(100% + 8px);right:0;width:340px;max-height:480px;background:var(--card-bg, #fff);border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 32px #00000024;z-index:1100;display:flex;flex-direction:column;overflow:hidden}.tap-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px 10px;border-bottom:1px solid var(--border-light);flex-shrink:0}.tap-title{font-size:.85rem;font-weight:600;color:var(--text)}.tap-ack-all{font-size:.75rem;color:var(--primary, #007AFF);background:none;border:none;cursor:pointer;padding:0;white-space:nowrap;flex-shrink:0}.tap-ack-all:hover{text-decoration:underline}.tap-empty{padding:24px 16px;text-align:center;color:var(--muted);font-size:.85rem}.tap-list{overflow-y:auto;flex:1;list-style:none;margin:0;padding:6px 0}.tap-item{padding:12px 16px 12px 14px;border-bottom:1px solid var(--border-light);display:flex;flex-direction:column;gap:5px}.tap-item:last-child{border-bottom:none}.tap-item--emergency{border-left:4px solid var(--danger, #FF3B30)}.tap-item--handover{border-left:4px solid #f59e0b}.tap-item--no_response{border-left:4px solid var(--muted, #8e8e93)}.tap-item-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.tap-item-name{font-size:.875rem;font-weight:700;color:var(--text);line-height:1.3}.tap-item-name--link{cursor:pointer;color:var(--primary, #007AFF);text-decoration:underline;text-underline-offset:2px}.tap-item-name--link:hover{opacity:.75}.tap-item-phone{font-size:.75rem;color:var(--muted);margin-top:1px}.tap-item-type{font-size:.7rem;font-weight:600;white-space:nowrap;padding:2px 7px;border-radius:20px;flex-shrink:0}.tap-item--emergency .tap-item-type{background:#fff0f0;color:var(--danger, #FF3B30)}.tap-item--handover .tap-item-type{background:#fff8e1;color:#b45309}.tap-item--no_response .tap-item-type{background:#f4f4f6;color:var(--muted, #8e8e93)}.tap-item-msg{font-size:.78rem;color:var(--muted);margin:0;font-style:italic;line-height:1.35}.tap-item-footer{display:flex;align-items:center;justify-content:space-between;margin-top:3px}.tap-item-time{font-size:.72rem;color:var(--muted)}.tap-ack-btn{font-size:.75rem;padding:2px 10px;border-radius:6px;background:var(--surface, #f4f4f6);border:1px solid var(--border-light);color:var(--text);cursor:pointer;transition:background .12s}.tap-ack-btn:hover{background:var(--hover-bg, rgba(0,0,0,.06))}.topbar-alert-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1099}@media (max-width: 768px){.topbar-alert-panel{position:fixed;top:72px;left:12px;right:12px;width:auto;max-height:calc(100dvh - 92px);border-radius:16px}.tap-header{align-items:stretch;flex-direction:column;gap:8px}.tap-title{font-size:.95rem}.tap-ack-all{align-self:flex-start;font-size:.8rem}.tap-item{gap:8px;padding:14px 14px 14px 12px}.tap-item-header{flex-direction:column;gap:6px}.tap-item-name{font-size:.92rem}.tap-item-phone{font-size:.8rem;word-break:break-word}.tap-item-type{align-self:flex-start;white-space:normal}.tap-item-msg{font-size:.84rem;line-height:1.45}.tap-item-footer{align-items:flex-start;flex-direction:column;gap:8px}.tap-item-time{font-size:.78rem}.tap-ack-btn{min-height:34px;padding:6px 12px}}.topbar-clock{display:flex;align-items:baseline;gap:5px}.topbar-clock-date{font-size:.8rem;font-weight:500;color:var(--muted);white-space:nowrap}.topbar-clock-time{font-size:.88rem;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}.topbar-user{display:flex;align-items:center;gap:8px}.topbar-avatar{width:32px;height:32px;border-radius:9px;background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;display:grid;place-items:center;font-size:.8rem;font-weight:700;flex-shrink:0;box-shadow:0 2px 8px #0f766e33}.topbar-username{font-size:.85rem;font-weight:500;color:var(--text);white-space:nowrap}.reception-shell{max-width:1400px;margin:0 auto;padding:var(--space-4) var(--space-4) var(--space-6);display:grid;gap:var(--space-4);position:relative}.ew-scheduler-shell{grid-template-columns:minmax(0,1fr) 260px;grid-template-rows:auto minmax(0,1fr);grid-template-areas:"kpis kpis" "agenda month";align-items:stretch;gap:8px}.ew-scheduler-shell.is-day-view{grid-template-columns:minmax(0,1fr);grid-template-areas:"agenda"}.ew-scheduler-shell.is-list-view{grid-template-columns:minmax(0,1fr);grid-template-areas:"agenda" "month";justify-items:stretch}.ew-scheduler-shell.is-list-view .reception-main.ew-agenda-area,.ew-scheduler-shell.is-list-view .calendar-overview.ew-right-calendar,.ew-scheduler-shell.is-list-view .ew-toolbar-meta{width:100%}.ew-scheduler-shell.is-list-view .reception-main.ew-agenda-area{padding-right:0;overflow-y:visible;min-height:auto}.ew-scheduler-shell.is-list-view .calendar-overview.ew-right-calendar{position:static;top:auto}.ew-scheduler-shell.is-list-view .agenda-list{width:100%;margin-inline:auto}.ew-scheduler-shell.is-list-view .agenda-list-period-head h4,.ew-scheduler-shell.is-list-view .agenda-list-period-count{color:#334155}.ew-scheduler-shell.is-list-view .agenda-list-entry-title strong{color:#475569;font-weight:500}.ew-scheduler-shell.is-list-view .agenda-list-period-count{font-weight:600}.ew-scheduler-shell.is-list-view .agenda-list-entry-meta,.ew-scheduler-shell.is-list-view .agenda-list-entry-meta span,.ew-scheduler-shell.is-list-view .agenda-list-entry-notes-input,.ew-scheduler-shell.is-list-view .agenda-list-period-kicker{color:#64748b}.ew-scheduler-shell.is-list-view .agenda-list-entry-time{color:#0f766e;font-weight:500}.ew-scheduler-shell,.ew-scheduler-shell *{font-family:var(--font-body)}.ew-scheduler-shell .quick-bar.ew-toolbar,.ew-scheduler-shell .calendar-overview.ew-right-calendar,.ew-scheduler-shell .agenda-unassigned,.ew-scheduler-shell .agenda-column,.ew-scheduler-shell .agenda-month-cell,.ew-scheduler-shell .general-slot,.ew-scheduler-shell .table-card{border-radius:12px;border-color:#e3e8f1;background:#fff;box-shadow:0 2px 10px #0f172a0d}.ew-scheduler-shell>.notice{grid-column:1 / -1;margin:0}.ew-page-header{grid-area:header;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 14px;border-radius:12px;border:1px solid #e0e0e0;background:#fff;box-shadow:none}.ew-page-brand h1{margin:0;font-size:1.6rem;color:#1f2937}.ew-page-brand p{margin:2px 0 0;font-size:.85rem;color:#5b6573}.ew-page-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.ew-kpi-row{display:flex;align-items:center;gap:0;background:#ffffffeb;border:1px solid rgba(226,232,240,.9);border-radius:12px;padding:0 4px;overflow:hidden;min-width:0}@media (max-width: 640px){.ew-kpi-row{display:none}}.ew-kpi-strip{grid-area:kpis;background:#ffffffeb;border:1px solid #e3e8f1;border-radius:12px;padding:8px 10px;box-shadow:0 2px 10px #0f172a0a;display:grid;gap:8px}.ew-kpi-strip-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.ew-kpi-strip-copy{display:inline-flex;align-items:center;gap:8px;min-width:0}.ew-kpi-strip-copy strong{font-size:.92rem;line-height:1}.ew-kpi-strip-copy .muted{font-size:.75rem}.ew-kpi-strip-preview{display:none;min-width:0;font-size:.72rem;color:#64748b;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:2px}.ew-kpi-strip.is-collapsed .ew-kpi-strip-preview{display:inline-block;max-width:min(52vw,680px)}.ew-kpi-strip-toggle{width:30px;height:30px;border-radius:7px;border:1px solid #d7dfec;background:#fff;color:#64748b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease;flex-shrink:0}.ew-kpi-strip-toggle:hover{background:#f8fbff;border-color:#bfd0ea;color:#334155}.ew-kpi-strip-toggle svg{transition:transform .2s ease}.ew-kpi-strip.is-collapsed .ew-kpi-strip-toggle svg{transform:rotate(180deg)}.ew-kpi-strip-slider{overflow:hidden;transition:max-height .22s ease,opacity .18s ease,transform .22s ease;max-height:320px;opacity:1;transform:translateY(0)}.ew-kpi-strip.is-collapsed .ew-kpi-strip-slider{max-height:0;opacity:0;transform:translateY(-6px);pointer-events:none}.ew-kpi-strip.is-collapsed:hover .ew-kpi-strip-slider,.ew-kpi-strip.is-collapsed:focus-within .ew-kpi-strip-slider{max-height:320px;opacity:1;transform:translateY(0);pointer-events:auto}.ew-kpi-card{flex:1;display:flex;align-items:center;gap:8px;padding:8px 14px;min-width:0;position:relative}.ew-kpi-card+.ew-kpi-card{border-left:1px solid rgba(226,232,240,.8)}.ew-kpi-card:hover{background:#0f766e08}.ew-kpi-card:before{display:none}.kpi-icon{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#0f766e14;color:#0f766e;flex-shrink:0}.ew-kpi-card.appointments .kpi-icon{background:#34c7591a;color:#16a34a}.ew-kpi-card.cancellations .kpi-icon{background:#ef44441a;color:#dc2626}.ew-kpi-card.availability .kpi-icon{background:#0ea5e91a;color:#0284c7}.kpi-content{display:flex;align-items:baseline;gap:6px;min-width:0;flex-wrap:nowrap}.kpi-content span{font-size:.71rem;font-weight:400;color:#94a3b8;white-space:nowrap;order:2}.kpi-content strong{font-size:1rem;font-weight:600;color:#475569;white-space:nowrap;order:1;line-height:1}.kpi-value-row{display:flex;align-items:baseline;gap:5px;order:1}.kpi-value-row strong{line-height:1}.kpi-side-note{font-size:.7rem;color:#94a3b8;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;order:2}@media (max-width: 1400px){.ew-kpi-row.is-day-view{grid-template-columns:repeat(4,minmax(0,1fr))}.ew-kpi-strip.is-collapsed .ew-kpi-strip-preview{max-width:min(46vw,440px)}}.kpi-trend{font-size:.75rem;font-weight:500;color:var(--success);margin-top:var(--space-1);display:flex;align-items:center;gap:var(--space-1)}.kpi-trend.negative{color:var(--danger)}.ew-left-sidebar{grid-area:sidebar;background:var(--surface);border:1px solid var(--border-light);border-radius:var(--radius-xl);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3);position:sticky;top:var(--space-4);width:72px;min-width:72px;max-width:72px;height:calc(100vh - 120px);overflow:hidden;z-index:40;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:var(--shadow-lg);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.ew-left-sidebar.open{width:280px;max-width:280px;box-shadow:var(--shadow-xl)}.ew-left-sidebar.collapsed{width:72px;max-width:72px}.sidebar-toggle{position:absolute;top:var(--space-3);right:var(--space-3);width:32px;height:32px;border-radius:var(--radius-md);border:none;background:#007aff1a;color:var(--primary);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;z-index:10;font-size:14px}.sidebar-toggle:hover{background:var(--primary);color:#fff;transform:scale(1.05)}.sidebar-toggle svg{width:16px;height:16px;transition:transform .2s ease}.ew-left-sidebar.collapsed .sidebar-toggle svg{transform:rotate(180deg)}.ew-sidebar-overlay{display:none}.ew-sidebar-overlay.visible{display:block;position:fixed;top:0;right:0;bottom:0;left:0;border:none;background:#0f172a29;z-index:35}.ew-left-collapse{border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;height:30px;display:grid;place-items:center;font-weight:700;cursor:pointer;margin-bottom:4px}.ew-left-nav{display:flex;flex-direction:column;gap:var(--space-2);overflow-y:auto;min-height:0;padding-right:2px}.ew-left-item{border:none;border-radius:var(--radius-lg);background:transparent;color:var(--muted);padding:var(--space-3);display:flex;align-items:center;gap:var(--space-3);font-size:.875rem;font-weight:600;cursor:pointer;position:relative;min-height:48px;transition:all .2s cubic-bezier(.4,0,.2,1);border:1px solid transparent}.ew-left-item:hover{background:var(--surface-alt);color:var(--text);border-color:var(--border-light);transform:translateY(-1px);box-shadow:var(--shadow-sm)}.ew-left-item.active{background:#007aff14;color:var(--primary);border-color:#007aff33;box-shadow:0 4px 12px #007aff26}.ew-left-icon{width:40px;height:40px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;background:var(--surface);border:1px solid var(--border-light);transition:all .2s ease;flex-shrink:0}.ew-left-icon svg{width:20px;height:20px;color:var(--muted);transition:color .2s ease}.ew-left-item:hover .ew-left-icon{background:var(--primary);border-color:var(--primary)}.ew-left-item:hover .ew-left-icon svg{color:#fff}.ew-left-item.active .ew-left-icon{background:var(--primary);border-color:var(--primary)}.ew-left-item.active .ew-left-icon svg{color:#fff}.ew-left-label{flex:1;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:1;transition:opacity .3s ease;font-weight:500}.ew-left-indicator{width:4px;height:24px;border-radius:999px;background:transparent;transition:background .2s ease;flex-shrink:0}.ew-left-item.active .ew-left-indicator{background:var(--primary)}.ew-left-caret{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:.875rem;opacity:0;transition:all .2s ease;width:20px;height:20px}.ew-left-item.has-submenu .ew-left-caret{opacity:1}.ew-left-caret.open{transform:rotate(90deg)}.ew-left-sidebar.collapsed .ew-left-item{justify-content:center;padding:var(--space-3);min-height:48px;width:48px;margin:0 auto}.ew-left-sidebar.collapsed .ew-left-label,.ew-left-sidebar.collapsed .ew-left-caret{opacity:0;width:0;overflow:hidden;pointer-events:none;margin:0}.ew-left-sidebar.collapsed .ew-left-nav{align-items:center;overflow:visible}.ew-left-sidebar.collapsed .ew-left-item[data-tooltip]:before{content:"";position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%);border-width:6px;border-style:solid;border-color:transparent var(--surface) transparent transparent;opacity:0;transition:opacity .2s ease;pointer-events:none;z-index:40;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.ew-left-sidebar.collapsed .ew-left-item[data-tooltip]:after{content:attr(data-tooltip);position:absolute;left:calc(100% + 14px);top:50%;transform:translateY(-50%) translate(-8px);background:var(--surface);color:var(--text);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);font-size:.8125rem;font-weight:500;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;z-index:40;border:1px solid var(--border);box-shadow:var(--shadow-lg)}.ew-left-sidebar.collapsed .ew-left-item[data-tooltip]:hover:before,.ew-left-sidebar.collapsed .ew-left-item[data-tooltip]:hover:after{opacity:1}.ew-left-sidebar.collapsed .ew-left-item[data-tooltip]:hover:after{transform:translateY(-50%) translate(0)}.ew-left-item.agenda .ew-left-icon{background:#007aff1a;border-color:#007aff33}.ew-left-item.agenda .ew-left-icon svg{color:var(--primary)}.ew-left-item.dia .ew-left-icon{background:#22c55e1a;border-color:#22c55e33}.ew-left-item.dia .ew-left-icon svg{color:var(--success)}.ew-left-item.pacientes .ew-left-icon{background:#ef44441a;border-color:#ef444433}.ew-left-item.pacientes .ew-left-icon svg{color:var(--danger)}.ew-left-item.pessoas .ew-left-icon{background:#a855f71a;border-color:#a855f733}.ew-left-item.pessoas .ew-left-icon svg{color:var(--warning)}.ew-left-item.analitico .ew-left-icon{background:#f59e0b1a;border-color:#f59e0b33}.ew-left-item.analitico .ew-left-icon svg{color:var(--warning)}.ew-left-item.ajustes .ew-left-icon{background:#64748b1a;border-color:#64748b33}.ew-left-item.ajustes .ew-left-icon svg{color:var(--muted)}.ew-left-item.logout .ew-left-icon{background:#ef44441a;border-color:#ef444433}.ew-left-item.logout .ew-left-icon svg{color:var(--danger)}.ew-left-item.analitico.active{background:#f59e0b1f}.ew-left-item.ajustes.active{background:#4755691f}.ew-left-item.active .ew-left-indicator{background:var(--item-accent)}.ew-left-item.active .ew-left-icon{transform:translateY(-1px)}.ew-left-submenu{display:grid;gap:6px;margin:0 4px 2px 14px;max-height:0;opacity:0;overflow:hidden;transform:translateY(-4px);transition:max-height .25s ease,opacity .2s ease,transform .2s ease}.ew-left-submenu.open{max-height:320px;opacity:1;transform:translateY(0)}.ew-left-subitem{border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;color:#334155;min-height:34px;display:grid;grid-template-columns:18px 1fr;align-items:center;gap:8px;padding:6px 8px;text-align:left;font-size:.74rem;font-weight:600}.ew-left-subitem:hover{border-color:#99f6e4;background:#f0fdfa;color:#334155}.ew-left-subitem.active{border-color:#99f6e4;background:#ccfbf1;color:#0a5c55}.ew-left-subicon{width:18px;height:18px;display:grid;place-items:center}.ew-left-subicon svg{width:16px;height:16px}.ew-left-subitem.icon-building .ew-left-subicon{color:#0a5c55}.ew-left-subitem.icon-cloud .ew-left-subicon{color:#0891b2}.ew-left-subitem.icon-star .ew-left-subicon{color:#7c3aed}.ew-left-subitem.icon-users .ew-left-subicon{color:#0f766e}.ew-left-subitem.icon-briefcase .ew-left-subicon{color:#b45309}.ew-left-subtext{line-height:1.2}.ew-left-item.logout{margin-top:auto;margin-bottom:2px}.quick-bar.ew-toolbar{background:linear-gradient(135deg,#fffffff7,#f9fafbf2);border:1px solid rgba(226,232,240,.6);border-radius:14px;padding:10px 12px;box-shadow:0 1px 3px #0000000d,0 6px 16px #0f172a0a;position:sticky;top:12px;z-index:10;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}.ew-toolbar .ew-toolbar-strip-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap;min-width:0;padding-bottom:7px;margin-bottom:7px;border-bottom:1px solid rgba(226,232,240,.5)}.quick-bar.ew-toolbar .ew-toolbar-strip-copy{min-width:0;display:flex;align-items:center;gap:8px;flex:1 1 auto}.quick-bar.ew-toolbar .ew-toolbar-strip-copy strong{font-size:.88rem;line-height:1;font-weight:600;color:#334155}.quick-bar.ew-toolbar .ew-toolbar-strip-preview{min-width:0;display:flex;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.76rem;padding-left:8px;border-left:1px solid rgba(203,213,225,.4)}.quick-bar.ew-toolbar .ew-toolbar-strip-toggle{display:flex;align-items:center;gap:2px;min-width:0;flex-shrink:0;width:30px;height:30px;border-radius:9px;border:1px solid #d7e0ee;background:#fff;color:#334155;justify-content:center;cursor:pointer;transition:all .2s ease}.quick-bar.ew-toolbar .ew-toolbar-strip-toggle:hover{background:#f0fdfa;border-color:#99f6e4;color:#334155;transform:none}.quick-bar.ew-toolbar .ew-toolbar-strip-head>.ew-toolbar-strip-head-right>.ew-toolbar-strip-toggle{background:#fff!important;border-color:#d7e0ee!important;color:#334155!important}.quick-bar.ew-toolbar .ew-toolbar-strip-head>.ew-toolbar-strip-head-right>.ew-toolbar-strip-toggle:hover{background:#f0fdfa!important;border-color:#99f6e4!important;color:#334155!important}.quick-bar.ew-toolbar .ew-toolbar-strip-toggle svg{width:14px;height:14px;display:block;color:inherit;stroke:currentColor!important;fill:none;opacity:1;transition:transform .2s ease}.quick-bar.ew-toolbar .ew-toolbar-strip-toggle-glyph{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;color:#334155!important;font-size:14px;font-weight:700;line-height:1;-webkit-user-select:none;user-select:none}.quick-bar.ew-toolbar .ew-toolbar-strip-head>.ew-toolbar-strip-head-right>.ew-toolbar-strip-toggle svg,.quick-bar.ew-toolbar .ew-toolbar-strip-head>.ew-toolbar-strip-head-right>.ew-toolbar-strip-toggle svg *{color:#334155!important;stroke:#334155!important;fill:none!important}.quick-bar.ew-toolbar .ew-toolbar-strip-head>.ew-toolbar-strip-head-right>.ew-toolbar-strip-toggle svg polyline{stroke:#334155!important;stroke-width:2.2!important;stroke-linecap:round!important;stroke-linejoin:round!important;opacity:1!important}.quick-bar.ew-toolbar.is-collapsed .ew-toolbar-strip-toggle svg{transform:rotate(180deg)}.quick-bar.ew-toolbar.is-collapsed{padding:4px 10px;min-height:40px;max-height:40px;overflow:hidden}.quick-bar.ew-toolbar.is-collapsed .ew-toolbar-strip-head{min-height:30px;padding-bottom:0;margin-bottom:0;border-bottom:0;gap:8px;flex-wrap:nowrap}.quick-bar.ew-toolbar.is-collapsed .ew-toolbar-strip-copy{min-height:30px;overflow:hidden}.quick-bar.ew-toolbar.is-collapsed .ew-toolbar-strip-copy strong,.quick-bar.ew-toolbar.is-collapsed .ew-toolbar-strip-preview{line-height:1;white-space:nowrap}.quick-bar.ew-toolbar.is-collapsed .ew-toolbar-strip-preview{font-size:.74rem}.quick-bar.ew-toolbar .ew-toolbar-strip-slider{overflow:hidden;max-height:800px;opacity:1;transform:translateY(0);transition:max-height .28s cubic-bezier(.4,0,.2,1),opacity .22s ease,transform .28s cubic-bezier(.4,0,.2,1)}.quick-bar.ew-toolbar.is-collapsed .ew-toolbar-strip-slider{max-height:0;opacity:0;transform:translateY(-8px);pointer-events:none}.quick-bar.ew-toolbar.is-collapsed:hover .ew-toolbar-strip-slider,.quick-bar.ew-toolbar.is-collapsed:focus-within .ew-toolbar-strip-slider{max-height:800px;opacity:1;transform:translateY(0);pointer-events:auto}.ew-toolbar .ew-toolbar-top-row{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(320px,1.2fr);gap:8px;align-items:center}@media (max-width: 1024px){.ew-toolbar .ew-toolbar-top-row{grid-template-columns:1fr;gap:10px}}.ew-toolbar .ew-toolbar-bottom-row{display:grid;grid-template-columns:minmax(180px,.6fr) minmax(240px,1fr) auto;gap:8px;align-items:center;margin-top:8px;padding-top:8px;border-top:1px solid rgba(226,232,240,.5)}@media (max-width: 1024px){.ew-toolbar .ew-toolbar-bottom-row{grid-template-columns:1fr auto;gap:10px}.ew-toolbar .ew-toolbar-center-actions{order:-1;grid-column:1 / -1}}.ew-toolbar .ew-toolbar-top-row>*,.ew-toolbar .ew-toolbar-bottom-row>*{min-width:0;align-self:center}.ew-toolbar .ew-toolbar-left-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;min-width:0}.ew-toolbar .ew-toolbar-left-row-single{grid-template-columns:1fr}.ew-toolbar .ew-filter-item{min-width:0}.ew-toolbar .ew-filter-trigger{width:100%;display:flex;align-items:center;gap:7px;height:34px;padding:0 9px;border-radius:10px;border:1px solid rgba(203,213,225,.6);background:#fffffff2;color:#334155;cursor:pointer;text-align:left;transition:all .2s cubic-bezier(.4,0,.2,1)}.ew-toolbar .ew-filter-trigger:hover{border-color:#0f766e4d;background:#fff;transform:translateY(-1px);box-shadow:0 2px 8px #0f172a0f}.ew-toolbar .ew-filter-item.open .ew-filter-trigger{border-color:#0f766e80;box-shadow:0 0 0 3px #0f766e1a,0 2px 8px #0f766e26;background:#fff}.ew-toolbar .ew-filter-trigger-icon{flex:0 0 11px;color:#64748b}.ew-toolbar .ew-filter-trigger-copy{min-width:0;display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden}.ew-toolbar .ew-filter-trigger-copy small{font-size:.64rem;font-weight:700;letter-spacing:0;text-transform:none;color:#64748b;line-height:1;flex-shrink:0}.ew-toolbar .ew-filter-trigger-copy strong{font-size:.82rem;font-weight:600;color:#334155;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ew-toolbar .ew-filter-trigger-copy small:after{content:":";margin-left:2px}.ew-toolbar .ew-filter-drawer{margin-top:8px;border:1px solid rgba(203,213,225,.6);border-radius:12px;background:linear-gradient(135deg,#fffffffa,#f8fafcf5);box-shadow:0 10px 25px #0f172a14,0 4px 10px #0f172a0a;padding:10px 12px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.ew-toolbar .ew-filter-drawer-search{max-width:760px}.ew-toolbar .chip-group{display:flex;flex-wrap:wrap;gap:5px}.ew-toolbar .chip{font-size:.74rem;padding:5px 9px;border-radius:9px;border:1px solid rgba(203,213,225,.6);background:#f8fafce6;color:#334155;font-weight:600;transition:all .2s ease;cursor:pointer}.ew-toolbar .chip:hover{border-color:#0f766e4d;background:#fff;transform:translateY(-1px)}.ew-toolbar .chip.active{background:linear-gradient(135deg,#0f766e26,#14b8a61a);border-color:#0f766e66;color:#0a5c55;font-weight:600;box-shadow:0 2px 6px #0f766e26}.ew-toolbar .professional-select-wrap{display:grid;gap:6px}.ew-toolbar .professional-multi-select{width:100%;border:1px solid #d6deea;border-radius:9px;background:#fff;min-height:116px;padding:5px}.ew-toolbar .professional-select-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.ew-toolbar .ew-option-list{display:grid;gap:5px;max-height:210px;overflow:auto;padding-right:2px}.ew-toolbar .ew-option-item{min-height:34px;border-radius:9px;border:1px solid rgba(203,213,225,.5);background:#f8fafce6;color:#334155;font-size:.82rem;text-align:left;padding:0 10px;cursor:pointer;transition:all .2s ease}.ew-toolbar .ew-option-item:hover{background:#fff;border-color:#0f766e4d;transform:translate(2px)}.ew-toolbar .ew-option-item.active{border-color:#0f766e80;background:linear-gradient(135deg,#0f766e1f,#14b8a614);color:#0a5c55;font-weight:600;box-shadow:0 2px 6px #0f766e1f}.ew-toolbar .ew-toolbar-center-row{display:flex;align-items:center;min-width:0;width:100%}.ew-toolbar .ew-toolbar-center-actions{display:flex;align-items:center}.ew-toolbar .ew-toolbar-center-actions .ew-filter-item{width:100%;max-width:none}.ew-toolbar .ew-toolbar-right-row{display:flex;align-items:center;justify-content:flex-end;min-width:0;width:100%}.ew-period-nav{display:flex;align-items:center;gap:4px;background:#ffffffe6;border:1px solid rgba(226,232,240,.9);border-radius:10px;padding:3px 4px;width:100%}.ew-period-nav-arrow{width:30px;height:30px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;border-radius:7px;font-size:1.15rem;color:#64748b;cursor:pointer;transition:background .13s,color .13s;line-height:1}.ew-period-nav-arrow:hover{background:#0f766e14;color:#0f766e}.ew-period-nav-center{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;position:relative}.ew-period-cal-btn{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;border-radius:7px;color:#64748b;cursor:pointer;transition:background .13s,color .13s;flex-shrink:0}.ew-period-cal-btn:hover,.ew-period-cal-btn.is-active{background:#0f766e14;color:#0f766e}.ew-period-label{font-size:.82rem;font-weight:500;color:#475569;white-space:nowrap}.ew-period-today-btn{height:26px;padding:0 10px;border:1px solid rgba(15,118,110,.25);border-radius:7px;background:transparent;font-size:.75rem;font-weight:500;color:#0f766e;cursor:pointer;transition:background .13s,border-color .13s;white-space:nowrap}.ew-period-today-btn:hover{background:#0f766e12;border-color:#0f766e66}.ew-toolbar-cal-popup{top:calc(100% + 8px);left:50%;transform:translate(-50%)}.ew-toolbar .ew-view-segmented{display:flex;width:min(100%,286px);max-width:286px;min-height:32px;border-radius:9px;padding:2px;gap:2px;background:#edf2fb;border:1px solid #cfd9ec}.ew-toolbar .ew-view-segmented .segmented-item{flex:1 1 auto;min-width:0;text-align:center;height:26px;padding:0 8px;font-size:.72rem;border-radius:7px;background:transparent;box-shadow:none;font-weight:600}.ew-toolbar .ew-view-segmented .segmented-item.active{background:linear-gradient(135deg,#14b8a6,#0f766e);color:#fff;box-shadow:0 4px 10px #0f766e38}.ew-toolbar .ew-right-actions{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:5px;min-width:0;width:auto;margin-left:auto}.ew-toolbar .btn.btn-ghost.ew-general-toggle{min-width:104px;height:34px;border-radius:8px;background:#edf2fb;border-color:#cfd9ec;color:#334155}.ew-toolbar .btn.btn-ghost.ew-general-toggle:hover{background:#e7edf6;border-color:#cbd5e1;color:#334155}.ew-toolbar .btn.btn-ghost.ew-general-toggle.active{background:#eef2f7;border-color:#b8c5da;color:#334155}.ew-toolbar .ew-refresh-select{width:72px;min-width:72px}.ew-toolbar .toolbar-refresh-btn{width:34px;height:34px;padding:0}.ew-toolbar .ew-search-input-wrap{display:flex;align-items:center;gap:6px;min-height:34px;border:1px solid #cfd9ec;border-radius:8px;background:#fff;padding:0 7px}.ew-toolbar .ew-search-input-wrap:focus-within{border-color:#0f766e80;box-shadow:0 0 0 3px #0f766e1f}.ew-toolbar .ew-search-icon{color:#64748b}.ew-toolbar .ew-search-input-wrap .input-search{flex:1 1 auto;max-width:none;border:none;background:transparent;padding:0;min-height:auto}.ew-toolbar .ew-search-input-wrap .input-search:focus{outline:none;box-shadow:none}.ew-toolbar .btn{min-height:34px;border-radius:8px;font-weight:600;font-size:.8rem}.ew-toolbar .btn.btn-ghost{background:#f8fbff;border:1px solid #cfd9ec;color:#334155}.ew-toolbar .btn.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary-700));border:1px solid rgba(15,143,129,.42);color:#fff;border-radius:9px;box-shadow:0 4px 10px #14b8a633}.ew-scheduler-shell .btn.btn-primary:hover{background:linear-gradient(135deg,#19c7b5,#109787);box-shadow:0 8px 18px #14b8a63d}.ew-toolbar .btn.btn-with-icon{display:inline-flex;align-items:center;gap:5px}@media (max-width: 1360px){.ew-toolbar .ew-toolbar-top-row{grid-template-columns:minmax(280px,1fr) minmax(240px,.95fr)}.ew-toolbar .ew-toolbar-bottom-row{grid-template-columns:minmax(220px,.8fr) minmax(220px,1fr) auto}}@media (max-width: 1180px){.ew-toolbar .ew-toolbar-top-row,.ew-toolbar .ew-toolbar-bottom-row{grid-template-columns:1fr;gap:8px}.ew-toolbar .ew-toolbar-left-row{grid-template-columns:1fr}.ew-toolbar .ew-toolbar-right-row{justify-content:flex-start}.ew-toolbar .ew-toolbar-center-actions{width:100%}.ew-toolbar .ew-view-segmented{max-width:none}.ew-toolbar .ew-right-actions{flex-wrap:wrap;justify-content:flex-start}}@media (max-width: 700px){.ew-toolbar .ew-date-controls{grid-template-columns:40px minmax(0,1fr) 40px}.ew-toolbar .ew-date-controls .btn-with-icon{grid-column:1 / -1;justify-content:center}}@media (max-width: 1500px){.ew-toolbar .ew-today-label{display:none}}.reception-main.ew-agenda-area{grid-area:agenda;gap:14px;min-height:0;overflow-y:auto;padding-right:4px}.ew-toolbar-meta{grid-column:1 / -1;font-size:.78rem;color:#64748b;text-align:right;margin-top:-2px}.calendar-overview.ew-right-calendar{grid-area:month;border-radius:12px;border:1px solid #dbe3ef;background:linear-gradient(180deg,#fcfdff,#f8fbff);box-shadow:none;position:sticky;top:12px;height:fit-content;overflow:visible;padding:8px 10px}.ew-right-calendar .calendar-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:8px}.ew-right-calendar .ew-right-mini-cal-header-group{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0;width:100%;flex-wrap:nowrap}.ew-right-calendar .ew-right-mini-cal-nav{width:26px;height:26px;border:1px solid #d7e0ee;border-radius:7px;background:#fff;color:#334155;font-size:1rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .12s,border-color .12s,color .12s}.ew-right-calendar .ew-right-mini-cal-nav:hover{border-color:#99f6e4;background:#f0fdfa;color:#0a5c55}.ew-right-calendar .month-label{font-size:.88rem;font-weight:600;color:#334155;text-transform:capitalize;min-width:0;flex:1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ew-right-calendar .ew-right-mini-cal-toggle{width:26px;height:26px;border:1px solid #d7e0ee;border-radius:7px;background:#fff;color:#64748b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:border-color .12s,background .12s,color .12s}.ew-right-calendar .ew-right-mini-cal-toggle svg{width:13px;height:13px;transition:transform .2s ease}.ew-right-calendar.is-collapsed .ew-right-mini-cal-toggle svg{transform:rotate(180deg)}.ew-right-calendar .ew-right-mini-cal-toggle:hover{border-color:#99f6e4;background:#f0fdfa;color:#0a5c55}.ew-right-calendar .ew-right-mini-cal-today{height:24px;padding:0 8px;border-radius:6px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;font-size:.725rem;font-weight:500;display:inline-flex;align-items:center;gap:4px;cursor:pointer;transition:background .12s,border-color .12s,color .12s;white-space:nowrap;flex-shrink:0}.ew-right-calendar .ew-right-mini-cal-today .btn-icon{width:12px;height:12px;flex-shrink:0}.ew-right-calendar .ew-right-mini-cal-today .ew-today-label{font-size:.725rem;line-height:1}.ew-right-calendar .ew-right-mini-cal-today:hover{background:#f0fdfa;border-color:#99f6e4;color:#0a5c55}@media (max-width: 350px){.ew-right-calendar .ew-right-mini-cal-today .ew-today-label{display:none}.ew-right-calendar .ew-right-mini-cal-today{padding:0 6px;gap:0}}.ew-right-calendar .calendar-layout{grid-template-columns:1fr}.ew-right-calendar .calendar-side{display:none}.ew-right-calendar .calendar-grid{gap:3px}.ew-right-calendar .calendar-weekday{font-size:.62rem;text-transform:uppercase;letter-spacing:.03em;color:#64748b;font-weight:700;padding:2px 0}.ew-right-calendar .calendar-day{min-height:32px;border-radius:7px;border-color:transparent;justify-content:flex-start;align-items:flex-start;padding:0;color:#334155;background:#fff;transition:background .12s,border-color .12s,color .12s,box-shadow .12s;overflow:visible;isolation:isolate}.ew-right-calendar .calendar-day .day-number{position:absolute;top:4px;left:5px;font-weight:500;font-size:.75rem;color:inherit;line-height:1;max-width:calc(100% - 20px);z-index:1}.ew-right-calendar .calendar-day:hover:not(.selected){background:#f8fbff;border-color:#dbe7f7}.ew-right-calendar .calendar-day.muted-day{opacity:.5}.ew-right-calendar .calendar-day .day-dot{position:absolute;right:7px;bottom:7px;width:4px;height:4px;border-radius:50%;background:#0f766e}.ew-right-calendar .calendar-day .day-count{position:absolute;right:2px;bottom:2px;min-width:15px;height:15px;padding:0 3px;border-radius:5px;background:#eaf2ff;color:#0a5c55;border:1px solid #cfe0fb;font-size:.54rem;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;z-index:2;box-shadow:0 0 0 1px #ffffffeb}.ew-right-calendar .calendar-day.today{background:#fff;color:#0f766e;border-color:#5eead4}.ew-right-calendar .calendar-day.selected{background:linear-gradient(135deg,#14b8a6,#0f766e);color:#fff;border-color:#1d64dc;box-shadow:0 4px 10px #0f766e33}.ew-right-calendar .calendar-day.selected .day-number{color:#fff}.ew-right-calendar .calendar-day.selected .day-dot{background:#ffffffd9}.ew-right-calendar .calendar-day.selected .day-count{background:#fff3;color:#fff;border-color:#ffffff59;box-shadow:0 0 0 1px #0f766e2e}.ew-right-calendar .calendar-day.today:not(.selected) .day-count{background:#f0fdfa;border-color:#99f6e4}.ew-right-calendar .ew-right-mini-cal-collapsed-summary{border-top:1px solid #e5edf7;padding-top:8px;font-size:.72rem;color:#64748b;display:inline-flex;align-items:center;gap:6px}.ew-day-status-fab{position:fixed;right:18px;bottom:96px;z-index:44;display:grid;place-items:center;border:0;border-radius:999px;width:54px;height:54px;padding:0;background:linear-gradient(135deg,#14b8a6c7,#0f766ec7);color:#fff;box-shadow:0 10px 20px #0f766e33,0 0 0 1px #ffffff24 inset;transition:transform .25s ease,box-shadow .25s ease;animation:ai-fab-float 3.2s ease-in-out infinite;overflow:visible}.ew-day-status-fab:before,.ew-day-status-fab:after{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border-radius:999px;border:2px solid rgba(15,118,110,.32);opacity:0;transform:scale(.88);pointer-events:none}.ew-day-status-fab:hover{transform:translateY(-2px) scale(1.1);box-shadow:0 22px 40px #0f766e66,0 0 28px #0f766e80}.ew-day-status-fab:active{background:linear-gradient(135deg,#14b8a6,#0f766e);box-shadow:0 22px 40px #0f766e66,0 0 28px #0f766e80}.ew-day-status-fab.has-unread{background:linear-gradient(135deg,#14b8a6,#0f766e);transform:translateY(-2px) scale(1.08);box-shadow:0 22px 40px #0f766e66,0 0 28px #0f766e80}.ew-day-status-fab:hover:before,.ew-day-status-fab:hover:after{opacity:1;animation:ai-fab-pulse 1.7s ease-out infinite}.ew-day-status-fab.has-unread:before,.ew-day-status-fab.has-unread:after{opacity:1;animation:ai-fab-pulse 1.7s ease-out infinite}.ew-day-status-fab:hover:after{animation-delay:.4s}.ew-day-status-fab.has-unread:after{animation-delay:.4s}.ew-day-status-fab.is-open{background:linear-gradient(135deg,#14b8a6,#0f766e);box-shadow:0 18px 34px #0f766e70,0 0 0 2px #2dd4bf4d}.ew-day-status-fab-icon{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#ffffff0d;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.ew-day-status-fab:hover .ew-day-status-fab-icon,.ew-day-status-fab:active .ew-day-status-fab-icon,.ew-day-status-fab:focus-visible .ew-day-status-fab-icon,.ew-day-status-fab.has-unread .ew-day-status-fab-icon,.ew-day-status-fab.is-open .ew-day-status-fab-icon{background:#ffffff1a}.ew-day-status-fab .reminder-resend-icon{font-size:1.22rem;line-height:1;color:#fde047b8;text-shadow:0 0 6px rgba(253,224,71,.28);transform-origin:top center;will-change:transform}.ew-day-status-fab:hover .reminder-resend-icon,.ew-day-status-fab:active .reminder-resend-icon,.ew-day-status-fab:focus-visible .reminder-resend-icon,.ew-day-status-fab.has-unread .reminder-resend-icon,.ew-day-status-fab.is-open .reminder-resend-icon{color:#fde047;text-shadow:0 0 8px rgba(253,224,71,.45)}.ew-day-status-fab:hover .reminder-resend-icon,.ew-day-status-fab:active .reminder-resend-icon,.ew-day-status-fab:focus-visible .reminder-resend-icon{animation:ew-bell-swing .75s ease-in-out}.ew-day-status-fab.has-unread .reminder-resend-icon{animation:ew-bell-swing .9s ease-in-out infinite}.ew-day-status-fab-badge{min-width:17px;height:17px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#facc15;border:1px solid #f59e0b;color:#1f2937;font-size:.58rem;font-weight:700;line-height:1;padding:0 3px;position:absolute;top:3px;right:2px}.ew-day-status-fab-badge.is-critical{background:#f59e0b;border-color:#fbbf24;color:#1f2937}.ew-day-status-float-panel{position:fixed;right:18px;bottom:154px;width:min(420px,calc(100vw - 22px));z-index:43;border:1px solid #d7e3f4;border-radius:14px;background:#fff;box-shadow:0 22px 42px #0f172a38;padding:10px 12px}.ew-right-calendar .ew-day-status-panel{margin-top:10px;padding-top:10px;border-top:1px solid #e5edf7;display:grid;gap:7px}.ew-right-calendar .ew-day-status-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.ew-right-calendar .ew-day-status-title{display:inline-flex;align-items:center;gap:5px;min-width:0}.ew-right-calendar .ew-day-status-title-icon{width:18px;height:18px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(15,118,110,.28);background:#0f766e1a;color:#0a5c55;flex:0 0 auto}.ew-right-calendar .ew-day-status-head strong{font-size:.73rem;color:#334155;letter-spacing:.01em}.ew-right-calendar .ew-day-status-head-stats{display:inline-flex;align-items:center;gap:4px}.ew-right-calendar .ew-day-status-head-stats span{font-size:.62rem;font-weight:500;letter-spacing:.01em;color:#0f766e;border:1px solid rgba(15,118,110,.24);background:#0f766e14;padding:2px 7px;border-radius:3px;line-height:1.3}.ew-right-calendar .ew-day-status-head-stats span.is-critical{border-color:#0f766e52;background:#0f766e1f;color:#0b5e56}.ew-right-calendar .ew-day-status-list{display:grid;gap:5px;max-height:272px;overflow-y:auto;padding-right:1px}.ew-right-calendar .ew-day-status-item{border:1px solid #dbe3ef;border-radius:10px;background:linear-gradient(180deg,#fff,#f8fbff);padding:5px 6px;display:flex;gap:5px;align-items:center;justify-content:space-between;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.ew-right-calendar .ew-day-status-item:hover{border-color:#c4d6eb;box-shadow:0 2px 9px #0f172a14;transform:translateY(-1px)}.ew-day-status-float-panel .ew-day-status-panel{margin-top:0;padding-top:0;border-top:0}.ew-right-calendar .ew-day-status-item.is-critical{border-color:#f59e0b73;box-shadow:0 0 0 1px #f59e0b2e}.ew-right-calendar .ew-day-status-leading{min-width:0;flex:1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px;align-items:center}.ew-right-calendar .ew-day-status-alert-icon{width:21px;height:21px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d6e1ee;background:#f8fafc;color:#64748b;flex:0 0 auto}.ew-right-calendar .ew-day-status-alert-icon.confirmed{color:#166534;border-color:#16a34a47;background:#16a34a17}.ew-right-calendar .ew-day-status-alert-icon.cancelled{color:#991b1b;border-color:#ef444452;background:#ef44441a}.ew-right-calendar .ew-day-status-alert-icon.not_confirmed{color:#334155;border-color:#94a3b859;background:#94a3b81f}.ew-right-calendar .ew-day-status-alert-icon.late_unconfirmed{color:#b45309;border-color:#f59e0b6b;background:#f59e0b2e;animation:ew-critical-pulse 1.35s ease-in-out infinite}@keyframes ew-critical-pulse{0%,to{transform:scale(1);box-shadow:0 0 #f59e0b73}50%{transform:scale(1.08);box-shadow:0 0 0 7px #f59e0b00}}.ew-right-calendar .ew-day-status-main{min-width:0;display:grid;gap:2px}.ew-right-calendar .ew-day-status-line{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}.ew-right-calendar .ew-day-status-line-top{gap:4px}.ew-right-calendar .ew-day-status-line-top .ew-day-status-badge-compact{margin-left:2px;font-size:.62rem;font-weight:400;line-height:1.25;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}.ew-right-calendar .ew-day-status-line strong,.ew-right-calendar .ew-day-status-patient-btn{font-size:.76rem;color:#475569;line-height:1.2;max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ew-right-calendar .ew-day-status-patient-btn{border:0;background:transparent;padding:0;margin:0;text-align:left;cursor:pointer;font-weight:500}.ew-right-calendar .ew-day-status-patient-btn:hover{color:#0a5c55;text-decoration:underline}.ew-right-calendar .ew-day-status-time{font-size:.64rem;font-weight:700;color:#0a5c55;background:transparent;border:0;border-radius:0;padding:0;line-height:1.4}.ew-right-calendar .ew-day-status-professional{font-size:.62rem;color:#64748b;max-width:72px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ew-right-calendar .ew-day-status-line-bottom .badge{font-size:.62rem;line-height:1.3;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}.ew-right-calendar .ew-day-status-line-bottom .badge.ew-day-status-badge-compact{letter-spacing:.01em}.ew-right-calendar .ew-day-status-source{color:#1e40af;font-size:.61rem;font-weight:600;border:0;background:transparent;border-radius:0;padding:0}.ew-right-calendar .ew-day-status-actions{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto}.ew-right-calendar .ew-day-status-reminder-btn{width:24px;height:24px;border-radius:8px;border:0;background:transparent;color:#0a5c55;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.ew-right-calendar .ew-day-status-reminder-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:none;background:transparent}.ew-right-calendar .ew-day-status-reminder-btn.is-critical{color:#b45309}.ew-right-calendar .ew-day-status-reminder-btn:disabled{opacity:.5;cursor:default;color:#94a3b8}.ew-right-calendar .ew-day-status-reminder-icon{font-size:.9rem;line-height:1}.ew-right-calendar .ew-day-status-manual-btn{width:24px;height:24px;border-radius:8px;border:0;background:transparent;color:#047857;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.ew-right-calendar .ew-day-status-manual-icon{font-size:.92rem;line-height:1;font-weight:700}.ew-right-calendar .ew-day-status-manual-icon.is-loading{display:inline-block;animation:ew-manual-spin .9s linear infinite}@keyframes ew-manual-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ew-right-calendar .ew-day-status-manual-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:none;background:transparent}.ew-right-calendar .ew-day-status-manual-btn.is-critical{color:#b45309}.ew-right-calendar .ew-day-status-manual-btn:disabled{opacity:.68;cursor:default}.ew-right-calendar .ew-day-status-empty{font-size:.72rem;color:#64748b;border:1px dashed #cbd5e1;border-radius:9px;padding:8px;background:#f8fafc}.ew-right-calendar .ew-day-status-item.ew-day-status-item-readonly{border-color:#f59e0b73;background:linear-gradient(180deg,#fff9ed,#fff4dc)}.ew-right-calendar .ew-day-status-item-readonly .ew-day-status-line strong{max-width:190px}.ew-right-calendar .ew-day-status-alert-icon.ew-day-status-alert-icon-critical-blink{position:relative;overflow:visible;display:inline-flex;align-items:center;justify-content:center;line-height:0;padding:0;color:#b91c1c;border-color:#ef444499;background:#ef444433;animation:ew-critical-red-blink .9s steps(2,end) infinite}.ew-right-calendar .ew-day-status-alert-icon.ew-day-status-alert-icon-critical-blink svg{display:block;width:13px;height:13px;margin:0;transform:translateY(0)}.ew-right-calendar .ew-day-status-alert-icon.ew-day-status-alert-icon-critical-blink:before,.ew-right-calendar .ew-day-status-alert-icon.ew-day-status-alert-icon-critical-blink:after{content:"";position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border-radius:999px;border:1.5px solid rgba(239,68,68,.65);pointer-events:none;animation:ew-critical-radar 1.45s ease-out infinite}.ew-right-calendar .ew-day-status-alert-icon.ew-day-status-alert-icon-critical-blink:after{animation-delay:.72s}@keyframes ew-critical-red-blink{0%,44%{opacity:1;background:#ef444438}45%,to{opacity:.36;background:#ef444414}}@keyframes ew-critical-radar{0%{transform:scale(1);opacity:.9}75%{transform:scale(2.1);opacity:0}to{transform:scale(2.2);opacity:0}}.ew-right-calendar .ew-day-status-readonly-copy{font-size:.63rem;line-height:1.28;color:#7c2d12;max-width:200px}.ew-right-calendar .ew-day-status-reauth-btn{height:24px;border-radius:8px;border:1px solid rgba(245,158,11,.55);background:#f59e0b2b;color:#9a3412;font-size:.62rem;font-weight:700;line-height:1;padding:0 8px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.ew-right-calendar .ew-day-status-reauth-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 3px 9px #b4530938;background:#f59e0b40}.ew-right-calendar .ew-day-status-reauth-btn:disabled{opacity:.68;cursor:default}.ew-week-scheduler{background:#fff;border:1px solid #e0e0e0;border-radius:12px;padding:8px;overflow:hidden}.ew-week-grid-head{display:grid;grid-template-columns:62px repeat(7,minmax(148px,1fr))}.ew-week-time-head,.ew-week-day-head{border-bottom:1px solid #e0e0e0;min-height:40px;display:grid;align-content:center;padding:5px 6px;color:#2c3e50}.ew-week-day-head{justify-items:center;border-left:1px solid #e0e0e0;color:#2c3e50}.ew-week-day-head span{font-size:.75rem}.ew-week-day-head strong{font-size:1.3rem;line-height:1;color:#2c3e50}.ew-week-grid-body{display:grid;grid-template-columns:62px minmax(0,1fr);max-height:640px;overflow:auto}.ew-week-time-column{border-right:1px solid #e0e0e0}.ew-week-time-slot{height:72px;border-bottom:1px solid #e6eaef;padding:4px 4px 0;font-size:.76rem;color:#2c3e50}.ew-week-days-columns{display:grid;grid-template-columns:repeat(7,minmax(148px,1fr))}.ew-week-day-column{border-right:1px solid #e0e0e0}.ew-week-day-track{position:relative;background:#fff}.ew-week-hour-line{position:absolute;left:0;right:0;height:72px;border-top:1px solid #e6eaef}.ew-week-hour-line.striped{background:repeating-linear-gradient(135deg,rgba(148,163,184,.14) 0px,rgba(148,163,184,.14) 1px,transparent 1px,transparent 10px)}.ew-week-event{position:absolute;left:5px;right:5px;border:1px solid #d1d5db;border-left:4px solid var(--primary);background:#fff;border-radius:8px;padding:6px 8px;text-align:left;display:grid;gap:2px;box-shadow:0 6px 16px #0f172a14;cursor:pointer}.ew-week-event strong{font-size:.8rem;line-height:1.1}.ew-week-event span,.ew-week-event small{font-size:.72rem;color:#2c3e50}.reception-header{display:grid;grid-template-columns:1fr auto;gap:var(--space-3);align-items:center;background:#ffffffe6;border-radius:var(--radius-lg);padding:var(--space-4);border:1px solid var(--border);box-shadow:var(--shadow-sm)}.reception-header .header-actions{display:flex;align-items:center;gap:var(--space-3)}.meta-time{display:grid;gap:2px}.clinic-brand h1{margin-bottom:0}.quick-bar{display:grid;gap:var(--space-4)}.quick-main{display:grid;gap:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.quick-actions{display:flex;justify-content:space-between;gap:var(--space-4);flex-wrap:wrap}.filter-group{display:grid;gap:var(--space-2)}.chip-group{display:flex;flex-wrap:wrap;gap:var(--space-2)}.chip{padding:6px 12px;border-radius:999px;border:1px solid var(--border);background:var(--surface);color:var(--muted);font-weight:600;font-size:.85rem}.chip.active{background:#0f766e1f;color:var(--primary);border-color:#0f766e59}.search-wrap{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.date-picker{display:grid;gap:6px}.reception-main{display:grid;gap:var(--space-6)}.ew-agenda-area .ew-main-view-actions{display:flex;align-items:flex-start;justify-content:center;gap:8px;flex-wrap:wrap;width:100%;position:sticky;top:8px;z-index:20;background:#f5f7fa;padding:6px 0;border-radius:10px}.ew-agenda-area .ew-main-view-actions .ew-toolbar-inline{flex:1 1 220px;min-width:0;position:relative;top:unset;background:transparent;border:none;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;border-left:1px solid #d6deea;border-right:1px solid #d6deea;padding:0 12px}.ew-agenda-area .ew-main-view-actions .ew-toolbar-inline .ew-toolbar-strip-head{padding-bottom:0;margin-bottom:0;border-bottom:none;min-height:34px}.ew-agenda-area .ew-main-view-actions .ew-toolbar-inline.is-collapsed .ew-toolbar-strip-head{min-height:34px}.ew-agenda-area .ew-main-view-actions .ew-view-segmented{display:flex;width:min(100%,286px);max-width:286px;min-height:34px;border-radius:10px;padding:2px;gap:2px;background:#eef2f7;border:1px solid #d6deea}.ew-agenda-area .ew-main-view-actions .ew-view-segmented .segmented-item{flex:1 1 auto;min-width:0;text-align:center;height:28px;padding:0 8px;font-size:.75rem;border-radius:8px;background:transparent;box-shadow:none}.ew-agenda-area .ew-main-view-actions .ew-view-segmented .segmented-item.active{background:linear-gradient(135deg,#14b8a6,#0f766e);color:#fff;box-shadow:0 4px 10px #0f766e38}.ew-agenda-area .ew-main-view-actions .ew-head-actions-segmented{width:auto;max-width:none}.ew-agenda-area .ew-main-view-actions .ew-head-actions-segmented .segmented-item{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}.ew-agenda-area .ew-main-view-actions .ew-head-actions-segmented .segmented-item:first-child{background:linear-gradient(135deg,#14b8a6,#0f766e);color:#fff;border:1px solid #1d64dc;box-shadow:0 4px 10px #0f766e33}.ew-agenda-area .ew-main-view-actions .ew-head-actions-segmented .segmented-item:first-child:hover:not(:disabled){background:linear-gradient(135deg,#2085f4,#2b6ff0)}.ew-agenda-area .ew-main-view-actions .ew-head-actions-segmented .segmented-item svg{flex:0 0 auto}.ew-agenda-area .ew-main-view-actions .ew-head-actions-segmented .segmented-item:disabled{opacity:.55;cursor:not-allowed}.ew-agenda-area .ew-main-view-actions>.segmented{align-self:center}.ew-agenda-area .ew-main-view-actions .ew-head-actions-segmented .segmented-item:nth-child(2){padding:0 9px;min-width:34px}.ew-toolbar-strip-label{display:inline-flex;align-items:center;gap:5px;font-size:.88rem;font-weight:600;color:#334155;white-space:nowrap}.ew-filter-active-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#14b8a6;flex-shrink:0}.agenda-day{display:grid;gap:10px;min-width:0;overflow-x:visible;overflow-y:visible}.day-strip-wrapper{display:flex;align-items:center;gap:6px}.day-scroll-wrapper{position:relative;overflow:visible}.day-scroll-container{overflow:visible}.day-strip-wrapper .day-strip{flex:1 1 auto;min-width:0}.day-strip-nav{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border-radius:8px;background:#fff;border:1px solid #d6deea;color:#475569;cursor:pointer;transition:background .15s,border-color .15s}.day-strip-nav:hover{background:#f0fdfa;border-color:#99f6e4;color:#0f766e}.day-cal-popup-anchor{position:relative}.day-chip-cal-anchor{display:flex}.day-chip.day-chip-cal{border-right:1px solid rgba(203,213,225,.5);border-radius:8px 0 0 8px;color:#475569}.day-chip.day-chip-cal svg{stroke:currentColor;fill:none;display:block}.day-chip.day-chip-cal.is-active,.day-chip.day-chip-cal:hover{background:#14b8a614;color:#0f766e}.day-strip-nav{font-size:1.2rem;line-height:1}.day-cal-popup{position:absolute;top:calc(100% + 8px);left:0;z-index:200;box-sizing:border-box;width:280px;max-width:min(calc(100vw - 24px),280px);background:#fff;border:1px solid #dbe3ef;border-radius:16px;box-shadow:0 8px 32px #0f172a1f,0 2px 8px #0f172a0f;padding:14px;animation:day-cal-fadein .15s ease}@keyframes day-cal-fadein{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.day-cal-popup-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.day-cal-popup-nav{width:28px;height:28px;border-radius:7px;border:1px solid #e2e8f0;background:#f8fafc;color:#475569;font-size:1.1rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .14s,border-color .14s}.day-cal-popup-nav:hover{background:#f0fdfa;border-color:#99f6e4;color:#0f766e}.day-cal-popup-month{flex:1;min-width:0;text-align:center;font-size:.92rem;font-weight:600;color:#334155;text-transform:capitalize}.day-cal-popup-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.day-cal-popup-weekday{text-align:center;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;padding:2px 0 6px}.day-cal-popup-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;height:34px;border-radius:10px;border:none;background:transparent;font-size:.84rem;font-weight:500;color:#334155;cursor:pointer;transition:background .12s,color .12s}.day-cal-popup-day:hover{background:#f0fdfa;color:#0f766e}.day-cal-popup-day.today{font-weight:700;color:#0f766e}.day-cal-popup-day.selected{background:linear-gradient(135deg,#14b8a6,#0f766e);color:#fff;box-shadow:0 6px 14px #0f766e3d}.day-cal-popup-day.muted{color:#cbd5e1}.day-cal-popup-dot{width:4px;height:4px;border-radius:50%;background:#14b8a6;flex-shrink:0}.day-cal-popup-day.selected .day-cal-popup-dot{background:#ffffffb3}.day-strip-nav svg,.day-strip-nav svg *{display:block;stroke:#475569!important;fill:none!important}.day-strip-nav:hover svg,.day-strip-nav:hover svg *{stroke:#0f766e!important}.day-strip-today{flex-shrink:0;font-size:.78rem;white-space:nowrap}.day-strip{display:grid;grid-template-columns:auto repeat(7,minmax(0,1fr)) auto;gap:2px;padding:4px;background:linear-gradient(180deg,#fffffff5,#f1f5f9f5);border:1px solid rgba(203,213,225,.95);border-radius:14px;box-shadow:inset 0 1px #ffffffeb,0 8px 18px #0f172a0d}.agenda-unassigned{background:#fffffff2;border-radius:var(--radius-lg);border:1px solid var(--border);padding:var(--space-4);display:grid;gap:var(--space-3);box-shadow:var(--shadow-sm)}.agenda-assigned-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}.agenda-assigned-header .column-stats{gap:8px;align-items:center}.agenda-assigned-header .column-stats .pill{min-height:28px;padding:0 10px;display:inline-flex;align-items:center}.agenda-assigned-header h3{margin:0;font-size:1rem;color:#475569}.agenda-day .pill,.agenda-day .day-chip,.agenda-day .available-metric,.agenda-day .day-slot-button,.agenda-day .slot-chip{border-radius:7px}.agenda-day .btn-icon{border-radius:6px}.agenda-day .slot-card{border-left-color:#cbd5e1}.agenda-day .slot-time{color:#cbd5e1}.day-chip{border:0;background:transparent;border-radius:10px;padding:0 10px;font-weight:500;font-size:.74rem;letter-spacing:.01em;color:#64748b;min-height:36px;width:100%;display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;overflow:hidden;box-shadow:none;transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.day-chip:hover{background:#94a3b81f;color:#475569}.day-chip:focus-visible{outline:none;box-shadow:0 0 0 3px #14b8a629}.day-chip.active{background:linear-gradient(135deg,#14b8a6,#0f766e);color:#fff;box-shadow:0 4px 10px #0f766e38;transform:translateY(-1px)}.day-chip.active:hover{background:linear-gradient(135deg,#19c7b5,#0f766e)}.day-chip span{min-width:0;text-overflow:ellipsis;overflow:hidden;font-weight:inherit}.day-chip.day-chip-today{border-left:1px solid rgba(203,213,225,.5);border-radius:0 8px 8px 0;padding:0 10px;color:#0f766e;font-weight:600;white-space:nowrap}.day-chip.day-chip-today:hover{background:#14b8a614;color:#0f766e}.agenda-columns{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;align-items:start;padding-bottom:4px}.agenda-column{background:#fff;border-radius:var(--radius-lg);border:1px solid rgba(226,232,240,.95);padding:10px;display:grid;gap:8px;box-shadow:0 4px 12px #0f172a0a;align-self:start;min-width:0;overflow:visible}.column-header{display:flex;flex-direction:column;gap:4px}.column-stats{display:flex;gap:var(--space-2);flex-wrap:wrap}.agenda-column .column-header{padding-bottom:8px;border-bottom:1px solid rgba(226,232,240,.8);overflow:visible}.col-hdr-name{display:flex;align-items:center;gap:5px;min-width:0;overflow:visible}.col-hdr-name-text{font-size:.85rem;font-weight:500;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.col-hdr-specialty{display:block;overflow:hidden;line-height:1.2}.col-hdr-specialty span{display:block;font-size:.69rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:transparent;border-radius:0;padding:0;min-width:0}.col-hdr-stats{display:flex;gap:3px;flex-wrap:nowrap;overflow:visible;min-width:0;justify-content:flex-end;margin-left:auto;width:100%}.professional-name-heading{letter-spacing:.01em}.professional-info-wrap{position:relative;display:inline-flex;align-items:center;margin-right:.45rem}.professional-info-trigger{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;background:#22c55e1f;border:1px solid rgba(34,197,94,.22);border-radius:999px;padding:0;cursor:pointer;color:#15803d;font-size:.92rem;line-height:1;transition:color .18s ease,transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}.professional-info-trigger svg{display:block}.professional-info-trigger:hover{color:#166534;background:#22c55e2e;border-color:#22c55e57;box-shadow:0 6px 14px #22c55e24;transform:translateY(-1px)}.professional-info-trigger:focus-visible{outline:none;box-shadow:0 0 0 3px #22c55e2e}.professional-info-tooltip{position:absolute;top:calc(100% + .5rem);left:0;min-width:220px;max-width:320px;padding:.75rem .9rem;border-radius:14px;background:#fffffffa;color:#475569;border:1px solid rgba(226,232,240,.95);box-shadow:0 14px 34px #0f172a14;font-size:.8rem;font-weight:400;font-style:italic;line-height:1.5;white-space:normal;z-index:30;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.professional-info-line strong{color:#334155;font-weight:500;font-style:normal}.professional-info-line.has-gap{margin-top:.35rem}.col-hdr-stats .pill{display:inline-flex;align-items:center;justify-content:center;min-height:18px;padding:0 6px;border-radius:5px;font-size:.64rem;font-weight:500;white-space:nowrap;border:1px solid #d8e1ee;background:#fff;color:#475569}.col-hdr-stats .pill.active{border-color:#bfd6ff;background:#eaf2ff;color:#1e6fb0}.col-hdr-stats .pill.pill-priority-late{border-color:#f6cf8a;background:#fff7e6;color:#9a5b00}.col-hdr-stats .pill.pill-priority-no-show{border-color:#f8b4b4;background:#fff0f0;color:#b42318}.cancelled-info-wrap{position:relative;display:inline-flex;align-items:center;margin-left:1px}.cancelled-info-trigger{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;gap:3px;background:#64748b14;border:1px solid rgba(100,116,139,.18);border-radius:999px;padding:0 4px;cursor:pointer;color:#94a3b8;font-size:.58rem;font-weight:700;line-height:1;white-space:nowrap;width:auto;min-width:20px;transition:color .15s,background .15s,border-color .15s}.cancelled-info-wrap.has-cancels .cancelled-info-trigger{background:#ef444414;border-color:#ef444440;color:#dc2626}.cancelled-info-trigger:hover{background:#ef444424;border-color:#ef444461;color:#b91c1c}.cancelled-info-count{font-size:.58rem;font-weight:700;line-height:1}.cancelled-info-tooltip{position:absolute;top:calc(100% + 6px);left:0;min-width:190px;max-width:280px;padding:8px 10px;border-radius:10px;background:#fffffffa;border:1px solid #e2e8f0;box-shadow:0 10px 28px #0f172a1a;z-index:40;display:flex;flex-direction:column;gap:5px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.cancelled-info-title{font-size:.6rem;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:700;padding-bottom:4px;border-bottom:1px solid #f1f5f9}.cancelled-info-row{display:flex;align-items:center;gap:8px}.cancelled-info-time{font-size:.7rem;color:#dc2626;font-weight:600;min-width:36px;flex-shrink:0}.cancelled-info-patient{font-size:.75rem;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cancelled-info-empty{font-size:.72rem;color:#94a3b8;font-style:italic}.slot-list{display:grid;gap:8px}.slot-card{display:flex;justify-content:space-between;gap:6px;background:#fcfdff;border:1px solid rgba(226,232,240,.9);border-radius:var(--radius-md);padding:7px 8px;border-left:3px solid rgba(15,118,110,.5);transition:background .13s ease,box-shadow .13s ease;align-items:center;position:relative}.slot-card-wrap{position:relative}.slot-card:hover{background:#f8fbff;box-shadow:0 2px 8px #0f172a12}.slot-card.is-late{background:#fffaf2;border-color:#f8d9ac;box-shadow:0 0 0 1px #f59e0b1f}.slot-card.is-no-show-auto{background:#f8fafc;border-color:#e2e8f0;box-shadow:0 0 0 1px #94a3b81f}.unassigned-compact-card{padding:10px 12px;gap:var(--space-2);align-items:center}.slot-card strong{display:block;font-weight:500;color:#475569}.slot-meta{display:flex;gap:var(--space-2);margin-bottom:6px;align-items:center;flex-wrap:wrap}.slot-time{flex-shrink:0;width:38px;font-size:.8rem;color:#0f766e;font-weight:700;letter-spacing:-.01em;line-height:1.2}.slot-main{min-width:0;flex:1;display:flex;align-items:flex-start;gap:6px;overflow:hidden}.slot-info{flex:1;min-width:0;overflow:hidden}.slot-sub{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;margin-top:1px;overflow:hidden}.slot-main strong{display:block;font-size:.84rem;line-height:1.2;font-weight:500;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.slot-main .muted{font-size:.77rem;line-height:1.2;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.slot-priority-pill{font-size:.72rem;line-height:1;padding:0;border:0;background:transparent;border-radius:0;box-shadow:none}.slot-noshow-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:4px;color:#94a3b8;flex-shrink:0;cursor:default}.slot-noshow-icon:hover{background:#f1f5f9;color:#64748b}.agenda-day .pill.pill-priority-late,.slot-priority-pill.is-late{color:#9a5b00}.agenda-day .pill.pill-priority-no-show,.slot-priority-pill.is-no-show-auto{color:#475569}@media (max-width: 1100px){.agenda-columns{grid-template-columns:repeat(2,1fr)}.agenda-column{margin:0}.day-strip{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width: 720px){.day-strip{grid-template-columns:auto repeat(7,minmax(72px,1fr)) auto;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.day-strip::-webkit-scrollbar{display:none}.col-hdr-stats{flex-wrap:wrap}}.slot-actions{display:flex;flex-direction:column;flex-wrap:nowrap;gap:4px;align-items:center;justify-content:center;flex-shrink:0}.slot-menu-wrap{position:relative;z-index:200}.slot-menu-trigger.is-active,.slot-menu-trigger:hover{background:#0f766e14;color:#0f766e}.slot-menu-dropdown{position:absolute;right:0;bottom:calc(100% + 4px);top:auto;z-index:400;background:#fff;border:1px solid rgba(226,232,240,.95);border-radius:10px;box-shadow:0 8px 24px #0f172a1f;min-width:148px;padding:4px;display:flex;flex-direction:column;gap:1px;animation:fadeInUp .12s ease}.slot-menu-dropdown button{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border:0;background:transparent;border-radius:7px;font-size:.82rem;font-weight:500;color:#334155;cursor:pointer;text-align:left;transition:background .12s ease,color .12s ease}.slot-menu-dropdown button:hover{background:#0f766e12;color:#0f766e}.slot-menu-dropdown button:disabled{opacity:.45;cursor:default}.slot-menu-dropdown button svg{flex-shrink:0;opacity:.7}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.btn-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--radius-sm);border:0;background:transparent;color:var(--muted);cursor:pointer;padding:0;transition:background .15s,color .15s,border-color .15s}.btn-icon:hover{background:transparent;color:var(--text)}.btn-icon.manual-confirm{color:#047857;font-weight:700}.btn-icon.manual-confirm:hover:not(:disabled){background:transparent;color:#065f46}.btn-icon.manual-confirm:disabled{opacity:.65;cursor:default}.btn-icon.manual-confirm.is-loading{color:#0f766e}.btn-icon.reminder-resend{color:#0a5c55}.btn-icon.reminder-resend:hover:not(:disabled){background:transparent;color:#1e40af}.btn-icon.reminder-resend:disabled{opacity:.5;cursor:default;color:#94a3b8}.btn-icon.reminder-resend.is-loading{color:#0a5c55}.btn-icon.reminder-resend .reminder-resend-icon{font-size:.9rem;line-height:1}.contact-log-reminder-btn .reminder-resend-icon{display:inline-block;font-size:.9rem;line-height:1}.contact-log-reminder-btn.has-unread{position:relative}.contact-log-reminder-btn.has-unread:after{content:"";position:absolute;top:5px;right:5px;width:7px;height:7px;border-radius:999px;background:#ef4444;box-shadow:0 0 0 2px #fff}.contact-log-reminder-btn.has-unread .reminder-resend-icon{animation:ew-bell-swing .9s ease-in-out infinite}.contact-log-reminder-btn:hover:not(:disabled) .reminder-resend-icon,.contact-log-reminder-btn:active:not(:disabled) .reminder-resend-icon,.contact-log-reminder-btn:focus-visible .reminder-resend-icon{animation:ew-bell-swing .75s ease-in-out}.unassigned-main{min-width:0;display:grid;gap:4px;flex:1}.unassigned-row-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.unassigned-patient{font-size:.98rem;line-height:1.1}.unassigned-row-bottom{margin:0;font-size:.82rem}.unassigned-actions{gap:6px}.unassigned-actions .btn{padding:4px 10px;font-size:.8rem}.unassigned-cancel{margin-left:4px}@media (max-width: 900px){.unassigned-compact-card{align-items:stretch}.unassigned-actions{justify-content:flex-start}}.slot-card.service-consulta{border-left-color:#0f766ecc}.slot-card.service-exame{border-left-color:#10b981cc}.slot-card.service-retorno{border-left-color:#f59e0bcc}.slot-card.service-tele{border-left-color:#4f46e5cc}.slot-card.service-bloqueio{border-left-color:#94a3b8cc}.available-panel{background:var(--surface-alt);border-radius:var(--radius-md);padding:8px;display:grid;gap:6px}.available-header{display:flex;justify-content:space-between;align-items:center}.day-slots-panel{border:1px solid #e3e8f1;background:#f8fbff;padding:8px;gap:6px}.day-slots-panel .available-header{align-items:flex-start;gap:8px}.day-slots-panel .available-header strong{font-size:.75rem;font-weight:500;color:#64748b}.available-metrics{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.available-metric{display:inline-flex;align-items:center;gap:4px;min-height:20px;padding:0 6px;border-radius:6px;border:1px solid #e2e8f0;background:#f8fafc;color:#64748b;font-size:.67rem;font-weight:400}.slot-chips{display:flex;flex-wrap:wrap;gap:var(--space-2)}.day-slot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.day-slot-button{border:1px solid #e2e8f0;background:#f8fafc;border-radius:6px;min-height:20px;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;gap:3px;font-size:.63rem;font-weight:400;color:#0f766e;overflow:hidden}.day-slot-button:hover:not(:disabled){border-color:#5eead4;background:#f0fdfa}.day-slot-button.disabled,.day-slot-button:disabled{border-color:#dbe3ef;background:#f8fafc;color:#94a3b8;cursor:not-allowed}.day-slot-clock{font-size:.65rem;line-height:1}.day-slot-empty{grid-column:1 / -1;font-size:.72rem;text-align:center}.agenda-column>.muted,.available-panel.day-slots-panel+.muted{display:block;text-align:center}.slot-chip{border:1px dashed rgba(15,118,110,.4);background:#0f766e14;border-radius:7px;padding:6px 10px;font-weight:600;font-size:.8rem;color:var(--primary)}.slot-chip.disabled,.slot-chip:disabled{border-style:solid;border-color:var(--border);background:var(--surface);color:var(--muted);cursor:not-allowed;opacity:.75}.agenda-week .week-grid{display:grid;grid-template-columns:minmax(132px,.95fr) repeat(7,minmax(90px,1fr));gap:var(--space-2);width:100%}.agenda-week{overflow-x:visible;padding-bottom:0}.week-header{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:6px 4px;min-width:0}.week-header.week-header-label{display:flex;align-items:center;justify-content:center;text-align:center}.week-header.week-day-header{display:grid;gap:2px}.week-header.week-day-header span{line-height:1}.week-header.week-day-header strong{font-size:.75rem;line-height:1;font-family:var(--font-body);text-transform:none;color:#475569}.week-header.week-day-header.is-selected{border-color:#0d6f5c29;background:linear-gradient(180deg,#138d751a,#0d6f5c0f)}.week-header.week-day-header.is-selected span,.week-header.week-day-header.is-selected strong{color:#0d6f5c}.week-professional{background:var(--surface);border-radius:12px;padding:8px;border:1px solid #e3e8f1;box-shadow:0 1px 6px #0f172a0a;min-width:0}.week-professional strong{display:block;font-size:.94rem;line-height:1.15;color:#334155}.week-professional p{margin:2px 0 0;font-size:.72rem;line-height:1.2;color:#64748b;white-space:normal;overflow:visible;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.week-cell{background:var(--surface);border-radius:12px;padding:8px;border:1px solid #e3e8f1;text-align:left;display:grid;gap:5px;box-shadow:0 1px 4px #0f172a08;min-width:0;position:relative;color:#64748b}.week-cell.is-selected{border-color:#0d6f5c38;background:linear-gradient(180deg,#138d7514,#fffffffa);box-shadow:0 10px 20px #0d6f5c14}.week-cell.is-selected:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;box-shadow:inset 0 0 0 1px #138d751f;pointer-events:none}.week-cell-clickable{cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.week-cell-clickable:hover{border-color:#cbd9ee;box-shadow:0 4px 10px #0f172a0f;transform:translateY(-.5px)}.week-cell-clickable:focus-visible{outline:none;border-color:#5eead4;box-shadow:0 0 0 3px #0ea5e933}.week-cell-head{display:flex;align-items:center;justify-content:flex-end;gap:4px}.week-cell-main{display:grid;gap:2px;padding-top:0}.week-cell-meta{display:flex;align-items:baseline;justify-content:space-between;gap:6px}.week-cell-count{display:flex;align-items:baseline;gap:4px}.week-cell-count strong{font-size:.94rem;line-height:1;color:#334155}.week-cell-count span{font-size:.66rem;font-weight:500;color:#64748b}.week-cell-person-icon{display:inline-block;vertical-align:text-bottom;color:#0f766e}.week-cell-percent{font-size:.64rem;font-weight:700;color:#64748b;white-space:nowrap}.week-occupancy-bar{width:100%;height:2px;min-height:2px;border-radius:999px;background:transparent;overflow:visible}.week-occupancy-bar span{display:block;height:100%;border-radius:inherit;background:#14b8a6;min-width:2px}.week-occupancy-bar.empty span{background:#cbd5e1}.week-occupancy-bar.busy span{background:#14b8a6}.week-occupancy-bar.full span{background:#f59e0b}.week-cell-action-hint{font-size:.64rem;font-weight:600;color:#14b8a6;opacity:0;transform:translateY(2px);transition:opacity .15s ease,transform .15s ease;pointer-events:none;white-space:nowrap}.week-cell-clickable:hover .week-cell-action-hint,.week-cell-clickable:focus-visible .week-cell-action-hint{opacity:1;transform:translateY(0)}.week-cell-appts{display:flex;flex-direction:column;gap:3px;flex:1;min-height:0;overflow:hidden}.week-cell-appt-chip{display:flex;align-items:baseline;gap:5px;border-left:3px solid #0f766e;border-radius:0 6px 6px 0;background:#f8fafc;padding:3px 5px 3px 6px;min-width:0}.week-cell-appt-time{font-size:.67rem;font-weight:700;color:#334155;white-space:nowrap;flex-shrink:0}.week-cell-appt-patient{font-size:.68rem;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.week-cell-appt-more{font-size:.64rem;font-weight:600;color:#64748b;padding-left:4px}.week-cell-empty-state{flex:1;display:flex;align-items:center;justify-content:center;padding:4px 0}.week-cell-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:5px;padding-top:4px;border-top:1px solid #f0f4f8}.week-cell-free-badge{font-size:.62rem;font-weight:600;color:#0f766e;background:#f0fdfa;border:1px solid #99f6e4;border-radius:999px;padding:1px 7px;white-space:nowrap}.week-cell.occupancy-full .week-cell-free-badge{display:none}.week-cell-free-slots{margin-top:5px;padding-top:5px;border-top:1px solid #f0f4f8}.week-cell-free-slots-label{display:block;font-size:.58rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#0f766e;margin-bottom:4px}.week-cell-free-slots-list{display:flex;flex-wrap:wrap;gap:3px}.week-cell-free-slot{font-size:.62rem;font-weight:600;color:#0f766e;background:#f0fdfa;border:1px solid #99f6e4;border-radius:5px;padding:2px 6px;cursor:pointer;transition:background .12s,border-color .12s;white-space:nowrap;line-height:1.3}.week-cell-free-slot:hover{background:#ccfbf1;border-color:#2dd4bf}.week-cell-free-slot.past{color:#94a3b8;background:#f8fafc;border-color:#e2e8f0;pointer-events:none;opacity:.65}.week-cell-free-slot-more{font-size:.61rem;font-weight:600;color:#64748b;padding:2px 4px;align-self:center}.cell-bar{width:100%;height:6px;border-radius:999px;background:var(--surface-alt);overflow:hidden}.cell-bar span{display:block;height:100%;background:var(--primary)}.agenda-list{display:grid;gap:16px}.agenda-list-head{border:1px solid #dbe3ef;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 12px 28px #0f172a0d;padding:14px 16px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:12px}.agenda-list-head-copy{display:grid;gap:4px;min-width:0;align-content:start}.agenda-list-head-copy h3{margin:0;font-size:clamp(1.08rem,1.6vw,1.35rem);line-height:1.08;color:#334155}.agenda-list-head-copy p{margin:0;max-width:56ch;font-size:.84rem;line-height:1.4;color:#475569}.agenda-list-hero{display:grid;align-content:stretch}.agenda-list-next{display:grid;gap:3px;align-content:center;min-height:100%;padding:12px 14px;border-radius:14px;background:#f8fbff;border:1px solid #dbe7f5;color:#334155}.agenda-list-next strong{font-size:.98rem;line-height:1.2;color:#334155}.agenda-list-next span:last-child{font-size:.8rem;color:#64748b}.agenda-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.agenda-list-search{display:flex;align-items:center;gap:10px;min-height:44px;min-width:min(100%,440px);flex:1 1 320px;padding:0 14px;border:1px solid #d7e5f4;border-radius:14px;background:#fff;box-shadow:0 10px 26px #0f172a0a;color:#64748b}.agenda-list-search:focus-within{border-color:#0f766e52;box-shadow:0 0 0 4px #0f766e1a}.agenda-list-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;color:#334155;font-size:.88rem}.agenda-list-search input::placeholder{color:#94a3b8}.agenda-list-inline-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px;border:1px solid rgba(148,163,184,.24);background:#fff;color:#475569;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.agenda-list-inline-icon:hover{transform:translateY(-1px);border-color:#0f766e3d;box-shadow:0 10px 22px #0f766e24}.agenda-list-inline-icon:disabled{opacity:.5;cursor:default;transform:none;box-shadow:none}.agenda-list-filter-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.agenda-list-filter-chip{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 10px;border-radius:8px;background:#f8fbff;border:1px solid #dbe7f5;color:#334155}.agenda-list-filter-chip strong{display:inline-block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem}.agenda-list-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.agenda-list-stat-card{display:grid;gap:3px;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #dbe7f5;box-shadow:0 12px 30px #0f172a0a}.agenda-list-stat-card span{font-size:.72rem;color:#64748b}.agenda-list-stat-card strong{font-size:1.15rem;line-height:1;color:#334155}.agenda-list-stat-card.is-ok{background:linear-gradient(180deg,#f8fff9,#eefcf1);border-color:#b8e6ca}.agenda-list-stat-card.is-warning{background:linear-gradient(180deg,#fffdf4,#fff6db);border-color:#fde68a}.agenda-list-stat-card.is-risk{background:linear-gradient(180deg,#fff7f7,#fff0f0);border-color:#fecaca}.agenda-list-sections{display:grid;gap:12px}.agenda-list-period{display:grid;gap:8px}.agenda-list-period-head{display:flex;align-items:end;justify-content:space-between;gap:12px}.agenda-list-period-kicker{display:block;margin-bottom:1px;font-size:.66rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#64748b}.agenda-list-period-head h4{margin:0;font-size:.9rem;color:#334155}.agenda-list-period-count{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;border-radius:8px;background:#fff;border:1px solid #dbe7f5;color:#334155;font-weight:800;box-shadow:0 8px 24px #0f172a0a}.agenda-list-card-grid{display:grid;gap:8px}.agenda-list-time-row{display:flex;flex-wrap:wrap;gap:8px}.agenda-list-time-row .agenda-list-entry{flex:1 1 auto;min-width:min(100%,300px)}.agenda-list-entry{--agenda-list-accent: #0f766e;display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;padding:10px 12px;border-radius:16px;background:linear-gradient(180deg,#fffffffa,#f8fbfffa);border:1px solid #dbe7f5;box-shadow:0 8px 22px #0f172a0a;position:relative;overflow:hidden}.agenda-list-entry:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--agenda-list-accent)}.agenda-list-entry.is-late,.agenda-list-entry.is-no-show-risk{border-color:#f59e0b59;box-shadow:0 18px 40px #f59e0b1f}.agenda-list-entry.is-block{background:linear-gradient(180deg,#f8fafcf5,#f1f5f9fa)}.agenda-list-entry-rail{display:grid;align-content:start;gap:0;padding-right:8px;border-right:1px dashed #d7e5f4}.agenda-list-entry-time{font-size:.92rem;line-height:1.2;font-weight:800;color:#334155}.agenda-list-entry-body{display:grid;gap:6px;min-width:0}.agenda-list-entry-top{display:flex;align-items:start;justify-content:space-between;gap:10px}.agenda-list-entry-title{display:grid;gap:5px;min-width:0}.agenda-list-entry-title strong{font-size:.95rem;color:#334155}.agenda-list-entry-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.agenda-list-entry-badges .badge,.agenda-list-entry-badges .slot-priority-pill,.agenda-list-entry-badges .agenda-list-block-pill{display:inline-flex;align-items:center;justify-content:center;min-height:0;padding:0;border-radius:0;line-height:1.1;vertical-align:middle;border:0;background:transparent;box-shadow:none}.agenda-list-entry-badges .badge{font-size:.7rem}.agenda-list-entry-badges .slot-priority-pill,.agenda-list-entry-badges .agenda-list-block-pill{font-size:.66rem}.agenda-list-block-pill{color:#334155}.agenda-list-entry-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.agenda-list-action{box-shadow:none}.agenda-list-action-danger{color:#b91c1c;border:0;background:transparent}.agenda-list-action-danger:hover:not(:disabled){background:transparent}.agenda-list-entry-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.agenda-list-entry-meta span{display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:0 8px;border-radius:8px;background:#fff;border:1px solid #e2e8f0;color:#475569;font-size:.72rem;max-width:100%}.agenda-list-entry-notes{margin:0;padding:6px 8px;border-radius:10px;background:#f8fafcf2;border:1px dashed #d7e5f4;display:flex;align-items:center;gap:8px}.agenda-list-entry-notes-input{width:100%;min-width:0;border:0;background:transparent;color:#334155;outline:none;font-size:.76rem;line-height:1.35}.agenda-list-entry-notes-input::placeholder{color:#94a3b8}.agenda-list-entry-notes-saving{font-size:.66rem;color:#64748b;white-space:nowrap}.agenda-list-empty-card{display:grid;justify-items:center;gap:8px;padding:36px 20px;border:1px dashed #cbd5e1;border-radius:22px;background:linear-gradient(180deg,#fff,#f8fbff);text-align:center}.agenda-list-empty-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#f0fdfa;color:#0f766e}.modal-wide{width:min(720px,100%)}.google-calendar-panel .calendar-frame{min-height:520px}.calendar-overview{display:grid;gap:var(--space-4)}.calendar-header{display:flex;justify-content:space-between;align-items:center;gap:var(--space-4);flex-wrap:wrap}@media (min-width: 800px){.calendar-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:var(--space-4)}.calendar-controls{grid-column:2;justify-self:center;position:static;transform:none;z-index:1}.calendar-header>div:first-child{justify-self:start}.calendar-header>.calendar-top-right,.calendar-header>div:last-child{justify-self:end}}.calendar-controls{display:flex;align-items:center;gap:var(--space-2);border-radius:999px;padding:6px 8px;background:linear-gradient(90deg,var(--primary),var(--primary-700));box-shadow:0 4px 14px #02061714;color:#fff;border:1px solid rgba(255,255,255,.08)}.calendar-controls .btn{color:inherit;background:transparent;border:none;padding:6px 8px;border-radius:8px}.calendar-controls .btn.btn-ghost{background:#ffffff1a}.calendar-controls .btn:focus{box-shadow:0 0 0 3px #0206171f}.calendar-controls svg{stroke:currentColor;fill:none}.month-label{font-weight:600;text-transform:capitalize;min-width:140px;text-align:center;color:inherit;padding:6px 12px;background:#ffffff14;border-radius:8px}.calendar-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:var(--space-4)}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.calendar-weekday{font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);text-align:center}.calendar-day{background:var(--surface);border:1px solid var(--border-light);border-radius:var(--radius-md);padding:var(--space-2);min-height:64px;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch;gap:var(--space-2);cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow-sm);position:relative;overflow:hidden}.calendar-day:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--primary)}.calendar-day.selected{border-color:var(--primary);box-shadow:0 0 0 3px #007aff26,var(--shadow-md);background:#007aff0d}.calendar-day.today{background:#14b8a61f;border-color:#14b8a66b;color:#0f766e}.calendar-day.muted-day{opacity:.6;background:var(--surface-alt)}.day-header{display:flex;justify-content:space-between;align-items:center}.day-number{font-weight:500;font-size:.9rem;color:var(--text-secondary)}.day-occupancy{position:relative;width:32px;height:32px}.occupancy-ring{width:100%;height:100%;border-radius:50%;border:3px solid var(--border);position:relative;display:flex;align-items:center;justify-content:center}.occupancy-fill{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;border:3px solid var(--success);clip-path:inset(0 0 0 50%);transform:rotate(0)}.occupancy-fill.partial{border-color:var(--warning);clip-path:inset(0 0 0 70%)}.occupancy-fill.full{border-color:var(--danger);clip-path:inset(0 0 0 90%)}.occupancy-text{font-size:.7rem;font-weight:600;color:var(--text-secondary);z-index:1}.day-indicators{display:flex;gap:var(--space-1);flex-wrap:wrap}.day-indicator{width:6px;height:6px;border-radius:50%;background:var(--success)}.day-indicator.appointment{background:var(--success)}.day-indicator.blocked{background:var(--danger)}.day-indicator.pending{background:var(--warning)}.day-actions{display:flex;gap:var(--space-2);opacity:0;transition:opacity .2s ease}.calendar-day:hover .day-actions{opacity:1}.day-action-btn{width:24px;height:24px;border-radius:var(--radius-sm);border:none;background:#007aff1a;color:var(--primary);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;font-size:.7rem}.day-action-btn:hover{background:var(--primary);color:#fff;transform:scale(1.1)}.calendar-side{border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-4);background:var(--surface);display:grid;gap:var(--space-3)}.side-header{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3)}.calendar-slot-list{display:grid;gap:var(--space-2);max-height:320px;overflow:auto;padding-right:4px}.calendar-slot{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--border);background:var(--surface-alt);border-radius:999px;padding:6px 12px;font-weight:600;font-size:.85rem}.calendar-slot.past{opacity:.55;border-style:dashed;color:var(--muted)}.agenda-general{background:#fffffff2;border-radius:var(--radius-lg);border:1px solid var(--border);padding:var(--space-4);display:grid;gap:var(--space-4);box-shadow:var(--shadow-sm)}.agenda-month{display:grid;gap:12px}.agenda-month-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.agenda-month-nav{display:flex;align-items:center;gap:2px}.agenda-month-nav-btn{width:30px;height:30px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:#475569;font-size:1.1rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .12s,border-color .12s}.agenda-month-nav-btn:hover{background:#f1f5f9;border-color:#cbd5e1;color:#334155}.agenda-month-nav-label{font-size:1rem;font-weight:700;color:#334155;letter-spacing:-.01em;padding:0 10px;white-space:nowrap;text-transform:capitalize}.agenda-month-nav-today{margin-left:8px;padding:4px 12px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:#475569;font-size:.78rem;font-weight:600;cursor:pointer;transition:background .12s,border-color .12s}.agenda-month-nav-today:hover{background:#f1f5f9;border-color:#cbd5e1;color:#334155}.agenda-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.agenda-month-cell{border:1px solid var(--border);border-radius:12px;background:var(--surface);min-height:104px;padding:7px;display:grid;gap:6px;text-align:left;align-content:start;color:#334155;overflow:hidden}.agenda-month-cell.selected{border-color:#0f766e73;box-shadow:0 0 0 2px #0f766e24}.agenda-month-cell.today{background:#14b8a61a}.agenda-month-cell.muted-day{opacity:.55}.agenda-month-cell-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.agenda-month-cell-head strong{font-size:.84rem;color:#475569}.agenda-month-cell-head span{border-radius:999px;border:1px solid #dbe1ea;background:#f8fafc;color:#475569;font-size:.68rem;font-weight:600;min-width:20px;text-align:center;padding:1px 6px}.agenda-month-cell-events{display:grid;gap:4px;min-height:0;align-content:start}.agenda-month-pro-stats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:2px}.agenda-month-pro-stat-pill{display:flex;align-items:center;gap:6px;border:1px solid #dbe3ef;border-radius:999px;background:var(--surface);padding:4px 10px 4px 8px}.agenda-month-pro-stat-name{font-size:.74rem;font-weight:600;color:#334155}.agenda-month-pro-stat-count{font-size:.7rem;font-weight:700;color:#0f766e;background:#f0fdfa;border-radius:999px;padding:0 6px;min-width:20px;text-align:center}.agenda-month-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-bottom:-2px}.agenda-month-weekday-label{font-size:.68rem;font-weight:700;color:#94a3b8;text-align:center;text-transform:uppercase;letter-spacing:.04em;padding:2px 0}.agenda-month-chip{display:flex;align-items:baseline;gap:4px;border-radius:0 6px 6px 0;border:1px solid #dbe6f5;border-left-width:3px;border-left-color:#0f766e;background:#f8fbff;padding:2px 5px;min-width:0;overflow:hidden}.agenda-month-chip-time{font-size:.65rem;font-weight:700;color:#334155;white-space:nowrap;flex-shrink:0}.agenda-month-chip-patient{font-size:.68rem;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.agenda-month-more{color:#64748b;font-size:.68rem;font-weight:600}.agenda-month .general-header h3{color:#334155}.week-cell-more-btn{background:none;border:none;cursor:pointer;padding:1px 2px;text-decoration:underline dotted}.week-cell-more-btn:hover{opacity:.75}.dday-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:16px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.dday-modal{background:var(--surface, #fff);border-radius:18px;box-shadow:0 20px 60px #0f172a2e;width:100%;max-width:480px;max-height:82vh;display:flex;flex-direction:column;overflow:hidden}.dday-header{display:flex;align-items:flex-start;gap:12px;padding:18px 20px 14px;border-bottom:1px solid var(--border, #e5eaf2);flex-shrink:0}.dday-header-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.dday-pro-name{font-size:1rem;font-weight:700;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dday-date{font-size:.78rem;color:#64748b;text-transform:capitalize}.dday-header-stats{display:flex;gap:6px;flex-shrink:0;align-self:center}.dday-stat{font-size:.72rem;font-weight:700;border-radius:999px;padding:3px 10px}.dday-stat.occupied{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.dday-stat.free{background:#f0fdfa;color:#0f766e;border:1px solid #99f6e4}.dday-close{flex-shrink:0;width:28px;height:28px;border-radius:50%;border:1px solid var(--border, #e5eaf2);background:var(--surface-alt, #f8fafc);color:#64748b;font-size:.8rem;cursor:pointer;display:flex;align-items:center;justify-content:center;align-self:flex-start;transition:background .12s}.dday-close:hover{background:#f1f5f9;color:#334155}.dday-timeline{overflow-y:auto;padding:10px 12px 16px;display:flex;flex-direction:column;gap:4px}.dday-row{display:flex;align-items:center;gap:10px;border-radius:10px;padding:8px 10px;min-height:40px}.dday-row-time{font-size:.75rem;font-weight:700;color:#475569;width:38px;flex-shrink:0;letter-spacing:.02em}.dday-row-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.dday-row-occupied{background:#f8fafc;border-left:3px solid var(--dday-accent, #0f766e)}.dday-row-patient{font-size:.82rem;font-weight:600;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dday-row-service{font-size:.68rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dday-row-free{background:#f0fdfa;border-left:3px solid #99f6e4}.dday-row-free.past{background:#f8fafc;border-left-color:#e2e8f0;opacity:.6}.dday-row-free-label{font-size:.78rem;color:#0f766e;font-weight:500}.dday-row-free.past .dday-row-free-label{color:#94a3b8}.dday-row-badge{font-size:.65rem;font-weight:700;border-radius:999px;padding:2px 8px;flex-shrink:0}.dday-row-badge.occupied{background:#fef9c3;color:#854d0e}.dday-row-badge.past{background:#f1f5f9;color:#94a3b8}.dday-row-schedule-btn{font-size:.72rem;font-weight:700;color:#0f766e;background:#ccfbf1;border:1px solid #5eead4;border-radius:8px;padding:4px 12px;cursor:pointer;flex-shrink:0;transition:background .12s,border-color .12s}.dday-row-schedule-btn:hover{background:#99f6e4;border-color:#2dd4bf}.agenda-month .general-header .muted{color:#64748b}.agenda-month-pro-stat-pill{cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}.agenda-month-pro-stat-pill:hover{background:#f1f5f9;border-color:#94a3b8}.agenda-month-pro-stat-pill.active{background:#f0fdfa;border-color:#2dd4bf;box-shadow:0 0 0 2px #14b8a626}.agenda-month-pro-stat-pill.active .agenda-month-pro-stat-name{color:#0f766e}.agenda-month-pro-stat-all{border-style:dashed;color:#64748b}.agenda-month-pro-stat-all .agenda-month-pro-stat-name{color:#64748b;font-style:italic}.dday-modal-multi{max-width:560px}.dday-timeline-multi{gap:0;padding:0 0 12px}.dday-pro-section{padding:0 12px 8px}.dday-pro-section+.dday-pro-section{border-top:1px solid var(--border, #e5eaf2);padding-top:8px}.dday-pro-section-head{display:flex;align-items:center;gap:10px;padding:10px 0 6px}.dday-pro-section-name{font-size:.84rem;font-weight:700;color:#334155;flex:1}.dday-pro-section-stats{display:flex;gap:5px}.dday-pro-section-stats .dday-stat{font-size:.65rem;padding:2px 7px}.dday-empty{padding:24px 20px;text-align:center;color:#94a3b8;font-size:.84rem}@media (min-width: 1180px){.agenda-month{min-height:calc(100vh - 220px);align-content:start}.agenda-month-grid{grid-template-rows:repeat(6,minmax(0,1fr));min-height:calc(100vh - 320px)}.agenda-month-cell{min-height:0;height:100%}}.general-header{display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap}.general-header h3{font-size:var(--font-size-md);font-weight:var(--font-weight-semibold);color:var(--text);margin:0;line-height:1.2}.general-header .muted{font-size:var(--font-size-xs);margin:2px 0 0}.agenda-general .general-header{padding-bottom:var(--space-3);border-bottom:1px solid var(--border-light)}.general-periods{display:grid;gap:var(--space-4)}.general-period{display:grid;gap:8px}.general-period-label{font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;padding:0 2px}.general-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}.general-slot{position:relative;overflow:hidden;border:1px solid var(--border-light);border-left:3px solid var(--border);border-radius:var(--radius-md);padding:10px 12px;background:var(--surface);display:flex;justify-content:space-between;align-items:center;gap:var(--space-3);transition:border-color .15s,box-shadow .15s}.general-slot:before{content:"";position:absolute;left:3px;top:0;bottom:0;width:var(--avail-pct, 0%);background:#14b8a612;z-index:0;transition:width .5s cubic-bezier(.4,0,.2,1)}.general-slot>*{position:relative;z-index:1}.general-slot.available{border-left-color:var(--primary);border-color:#14b8a638}.general-slot.available:hover{border-color:#14b8a666;box-shadow:0 2px 10px #14b8a61a}.general-slot.busy{border-left-color:#94a3b873;background:var(--surface-alt)}.general-slot.past{opacity:.4;pointer-events:none;background:var(--surface-alt);border-left-color:transparent}.general-slot-info{display:grid;gap:3px;min-width:0}.general-slot-time-row{display:flex;align-items:center;gap:8px}.general-slot-time-row strong{font-size:.98rem;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.01em;color:var(--text)}.general-slot.available .general-slot-time-row strong{color:#0d6f5c}.general-slot.busy .general-slot-time-row strong{color:#94a3b8;text-decoration:line-through;text-decoration-color:#94a3b880}.general-avail-badge{font-size:.72rem;font-weight:600;padding:1px 6px;border-radius:20px;line-height:1.6}.general-avail-badge.has-avail{background:#14b8a61f;color:#0d6f5c}.general-avail-badge.no-avail{background:#94a3b826;color:#94a3b8}.general-slot-pros{font-size:.75rem;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.general-actions{display:flex;flex-shrink:0}.toast{position:fixed;right:24px;top:24px;z-index:50;padding:12px 16px;border-radius:12px;background:#0f766ef2;color:#fff;font-weight:600;box-shadow:0 18px 30px #0f172a2e}.toast.danger{background:#ef4444f2}.modal-status{background:#0f766e14;border:1px solid rgba(15,118,110,.2);color:var(--primary);padding:10px 12px;border-radius:10px;font-weight:600}.patient-autocomplete{position:relative}.patient-autocomplete-list{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:20;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow-sm);max-height:220px;overflow-y:auto;display:grid}.patient-autocomplete-item{border:none;border-bottom:1px solid var(--border);background:transparent;color:var(--text);-webkit-text-fill-color:var(--text);text-align:left;padding:10px 12px;display:grid;gap:2px;cursor:pointer}.patient-autocomplete-item strong{color:#1f2937!important;font-style:italic}.patient-autocomplete-item .muted{color:#475569!important}.patient-autocomplete-item:last-child{border-bottom:none}.patient-autocomplete-item:hover{background:#0f766e14}.modal-inline-actions{display:flex;justify-content:flex-end;margin-top:-6px}.appointment-modal{background:radial-gradient(circle at top right,rgba(14,165,233,.08),transparent 34%),linear-gradient(180deg,#fff,#f9fcff)}.appointment-modal .modal-header{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #dbe7f5}.appointment-modal .modal-body{gap:10px}.appointment-modal-heading{display:grid;gap:3px}.appointment-modal-heading h3{margin:0;font-size:1.04rem;line-height:1.2}.appointment-modal-heading p{margin:0;font-size:.78rem}.appointment-modal-mode{display:inline-flex;align-items:center;width:fit-content;min-height:22px;border-radius:8px;padding:0 8px;font-size:.66rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border:1px solid #dbe7f5;color:#0f4c81;background:#f3f9ff}.appointment-modal-mode.is-edit{background:#eefbf5;border-color:#cbe9d7;color:#166534}.form-grid-2col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.appt-section{display:grid;gap:10px}.appt-input-shell{display:grid;grid-template-columns:18px 1fr;align-items:center;gap:8px;min-height:42px;border:1px solid #d2deee;border-radius:12px;background:#fff;padding:0 10px;transition:border-color .16s ease,box-shadow .16s ease}.appt-input-shell:focus-within{border-color:#2dd4bf;box-shadow:0 0 0 3px #0f766e24}.appt-input-icon{color:#5f7a97}.appt-input-shell input,.appt-input-shell select,.appt-input-shell textarea{border:0;outline:none;background:transparent;color:#334155;width:100%;font-size:.88rem}.appt-input-shell input::placeholder,.appt-input-shell textarea::placeholder{color:#94a3b8}.appt-input-shell select{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.appt-input-shell.is-textarea{align-items:flex-start;padding-top:8px;padding-bottom:8px}.appt-input-shell.is-textarea textarea{resize:vertical;min-height:54px;line-height:1.35}.appt-contact-shortcut{display:flex}.appt-contact-btn{margin-left:auto;min-height:42px;border-radius:12px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.appt-whatsapp-card{display:flex;align-items:center;gap:10px;padding:9px 12px;background:#0f766e0d;border:1px solid rgba(15,118,110,.16);border-radius:12px;cursor:pointer;transition:background .15s,border-color .15s;-webkit-user-select:none;user-select:none}.appt-whatsapp-card:has(input:checked){background:#0f766e17;border-color:#0f766e47}.appt-whatsapp-card input[type=checkbox]{width:15px;height:15px;accent-color:var(--primary);cursor:pointer;flex-shrink:0;margin:0}.appt-whatsapp-card-text{display:grid;gap:2px;flex:1}.appt-whatsapp-card-title{font-size:.82rem;font-weight:700;color:#334155}.appt-whatsapp-card-desc{font-size:.74rem;color:#64748b}.appt-modal-actions{border-top:1px solid #dbe7f5;padding-top:10px;margin-top:10px}.appt-btn-compact{min-height:38px;border-radius:10px;padding:0 10px;display:inline-flex;align-items:center;gap:6px;font-size:.82rem}.modal-close-btn{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border:none;border-radius:10px;background:transparent;color:var(--muted);font-size:1rem;line-height:1;cursor:pointer;transition:background .15s,color .15s;flex-shrink:0}.modal-close-btn:hover{background:var(--surface-alt);color:var(--text)}@media (max-width: 900px){.appointment-modal .modal-header{margin-bottom:10px;padding-bottom:8px}.appointment-modal .modal-body{gap:8px}.form-grid-2col{grid-template-columns:1fr;gap:8px}.appt-input-shell{min-height:40px}.appt-contact-btn{width:100%;justify-content:center}.appt-modal-actions{display:grid;grid-template-columns:1fr 1fr}.appt-btn-compact{justify-content:center}}.day-events-page{display:grid;gap:var(--space-4)}.day-events-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.day-events-list{display:grid;gap:var(--space-2)}.day-event-item{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:var(--space-3);display:grid;grid-template-columns:96px minmax(0,1fr) minmax(180px,220px);gap:var(--space-3);align-items:start}.day-event-time{font-weight:700;color:var(--primary)}.day-event-body{display:grid;gap:2px}.day-event-meta{display:grid;gap:8px;justify-items:end;text-align:right}@media (max-width: 1024px){body.contacts-mobile-detail-open .clinic-topbar{z-index:1300}body.contacts-mobile-detail-open .clinic-sidebar-overlay{z-index:1305}body.contacts-mobile-detail-open .clinic-sidebar{z-index:1310}.clinic-shell,.clinic-shell.sidebar-collapsed,.clinic-shell.sidebar-expanded{grid-template-columns:1fr}.clinic-main{width:100%;min-width:0;grid-column:1 / -1}.clinic-sidebar{position:fixed;left:0;top:0;width:min(86vw,276px);max-width:276px;transform:translate(-100%);transition:transform .25s ease;z-index:30}.nav-submenus{margin:2px 0 4px 8px;padding:2px 0 2px 8px}.clinic-nav-subbtn{padding:7px 8px;font-size:.78rem;gap:7px}.clinic-shell.sidebar-expanded .clinic-sidebar{transform:translate(0)}.clinic-shell.sidebar-collapsed .clinic-sidebar{transform:translate(-100%)}.sidebar-collapsed .clinic-sidebar-brand-text,.sidebar-collapsed .nav-label{opacity:1;width:auto}.sidebar-collapsed .clinic-sidebar-toggle .nav-icon{transform:none}.clinic-sidebar-toggle{display:none}.clinic-mobile-toggle{display:flex}.clinic-sidebar-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;z-index:25}.clinic-shell.sidebar-expanded .clinic-sidebar-overlay{display:block}.reception-shell{padding-left:36px}.clinic-global-side-actions{display:inline-flex;flex-direction:column;gap:8px;position:fixed;left:0;top:50%;transform:translateY(-50%);z-index:56}.clinic-global-side-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:54px;border:1px solid #d7e2f1;border-left:none;border-radius:0 10px 10px 0;background:#ffffffd1;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);color:#0a5c55;font-size:16px;font-weight:700;line-height:1;padding:0;box-shadow:0 2px 10px #0f172a24}.clinic-global-side-btn:hover{background:#f0fdfaeb;border-color:#b7d9d5}.clinic-global-side-btn:active{background:#e6f7f5eb}.clinic-global-side-btn:focus-visible{outline:2px solid #0f766e;outline-offset:2px}body.clinic-camera-module-active .clinic-global-side-actions{display:none!important}}@media (max-width: 900px){body.contacts-mobile-chat-open .clinic-topbar,body.contacts-mobile-chat-open .clinic-system-alert{display:none}body.contacts-mobile-chat-open .clinic-main{min-height:100dvh;height:100dvh}body.contacts-mobile-chat-open .clinic-content{overflow:hidden}.clinic-topbar{padding:max(var(--space-2),var(--app-safe-area-top)) var(--space-3) 0;gap:var(--space-2)}.clinic-topbar-left{gap:var(--space-2);min-width:0;flex:1;overflow:hidden}.clinic-topbar-right{gap:var(--space-2);flex-shrink:0}.topbar-clock-date,.topbar-username{display:none}.clinic-system-alert{margin:8px 10px 0;align-items:flex-start;flex-direction:column}}@media (max-width: 900px){.reception-shell{padding:var(--space-6) var(--space-4) var(--space-8);padding-left:36px;min-width:0;max-width:100%}.ew-scheduler-shell{grid-template-columns:1fr;grid-template-rows:auto;grid-template-areas:"kpis" "toolbar" "month" "agenda"}.ew-page-header{flex-direction:column;align-items:flex-start}.ew-page-meta{justify-content:flex-start}.ew-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ew-left-sidebar{position:static;width:100%;min-width:0;max-width:none;height:auto;padding:8px}.ew-left-sidebar.open,.ew-left-sidebar.collapsed{width:100%;max-width:none;box-shadow:none}.ew-sidebar-overlay.visible{display:none}.ew-left-nav{flex-direction:row;flex-wrap:wrap;gap:8px;overflow:visible;padding-right:0}.ew-left-item{flex:1 1 148px;min-height:40px;font-size:.78rem;grid-template-columns:4px 30px minmax(0,1fr) 14px}.ew-left-collapse{width:100%}.ew-left-sidebar.collapsed .ew-left-label,.ew-left-sidebar.collapsed .ew-left-caret{opacity:1;width:auto;overflow:visible;pointer-events:auto}.ew-left-sidebar.collapsed .ew-left-item{grid-template-columns:4px 30px minmax(0,1fr) 14px;justify-content:stretch;padding:8px 9px}.ew-left-sidebar.collapsed .ew-left-item[data-tooltip]:before,.ew-left-sidebar.collapsed .ew-left-item[data-tooltip]:after{display:none}.ew-left-submenu{margin-left:0;margin-right:0;width:100%}.quick-bar.ew-toolbar{padding:10px;position:static;top:auto}.ew-toolbar .ew-toolbar-top-row{grid-template-columns:1fr}.ew-toolbar .ew-filter-item{flex:1 1 calc(50% - 8px);max-width:none}.ew-toolbar .ew-filter-search{flex-basis:100%}.ew-toolbar .ew-date-controls{grid-template-columns:auto minmax(0,1fr) auto}.ew-toolbar .ew-date-controls .btn-with-icon{grid-column:1 / -1;justify-content:center}.ew-toolbar .ew-right-actions{justify-content:flex-start}.calendar-overview.ew-right-calendar{position:static;height:auto;overflow:visible}.ew-right-calendar .ew-day-status-item{flex-direction:row;align-items:center}.ew-right-calendar .ew-day-status-manual-btn,.ew-right-calendar .ew-day-status-reminder-btn{width:26px;height:26px}.reception-main.ew-agenda-area{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;min-height:auto;min-width:0;padding-right:0}.ew-week-grid-head{grid-template-columns:58px repeat(7,minmax(130px,1fr))}.ew-week-grid-body{grid-template-columns:58px minmax(0,1fr)}.agenda-week .week-grid{grid-template-columns:minmax(128px,.9fr) repeat(7,minmax(0,1fr))}.calendar-layout{grid-template-columns:1fr}.agenda-month-grid{grid-template-columns:repeat(7,minmax(96px,1fr));overflow-x:auto}.day-event-item{grid-template-columns:1fr}.day-event-meta{justify-items:start;text-align:left}}@media (max-width: 720px){.quick-actions{flex-direction:column;align-items:flex-start}}.integration-row{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.integration-status{display:flex;align-items:center;gap:12px;margin-bottom:8px}.inline-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ai-operational-panel{margin:14px 0 18px;padding:14px;border-radius:14px;border:1px solid rgba(148,163,184,.28);background:radial-gradient(circle at top right,rgba(14,165,233,.08),transparent 52%),linear-gradient(180deg,#ffffffeb,#f8fafce6);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px 16px;align-items:center}.ai-operational-panel.is-active{background:radial-gradient(circle at top right,rgba(14,165,233,.08),transparent 52%),linear-gradient(180deg,#ffffffeb,#f8fafce6)}.ai-operational-panel.is-disabled{border-color:#f9731657;background:radial-gradient(circle at top right,rgba(251,146,60,.18),transparent 55%),linear-gradient(180deg,#fff7edfa,#ffedd5f0);box-shadow:inset 0 0 0 1px #fb923c14}.ai-operational-panel.is-disabled .ai-operational-panel-heading strong,.ai-operational-panel.is-disabled .ai-operational-panel-description{color:#9a3412}.ai-operational-panel-main{min-width:0;display:grid;gap:8px}.ai-operational-panel-heading{display:flex;align-items:center;gap:10px;color:var(--text)}.ai-operational-panel-heading strong{line-height:1.25}.ai-operational-dot{width:10px;height:10px;border-radius:999px;background:#f59e0b;box-shadow:0 0 0 4px #f59e0b26;flex-shrink:0}.ai-operational-dot.is-active{background:#22c55e;box-shadow:0 0 0 4px #22c55e24}.ai-operational-dot.is-inactive{background:#ef4444;box-shadow:0 0 0 4px #ef444424}.ai-operational-panel-description{margin:0;line-height:1.45}.ai-operational-panel-side{display:grid;justify-items:end;gap:10px}.ai-operational-toggle-btn{min-width:188px}.ai-operational-confirm-content{display:grid;gap:10px}.ai-operational-confirm-content p{margin:0;line-height:1.45}.clinic-settings-page{--settings-tabs-row-height: calc(38px + (var(--space-2) * 2));display:grid;grid-template-columns:1fr;grid-template-rows:var(--settings-tabs-row-height) minmax(0,1fr);row-gap:0;align-content:start;min-height:calc(100vh - var(--header-height))}.settings-sidebar{background:#ffffffc7;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);border-bottom:1px solid rgba(226,232,240,.7);padding:var(--space-2) var(--space-6);box-sizing:border-box;display:flex;align-items:center;gap:var(--space-3);position:sticky;top:0;z-index:8;height:calc(38px + (var(--space-2) * 2));overflow-x:hidden;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none;box-shadow:0 2px 12px #0f172a0a}.clinic-settings-page>.settings-sidebar{min-height:calc(38px + (var(--space-2) * 2))!important;max-height:calc(38px + (var(--space-2) * 2))!important}.settings-sidebar::-webkit-scrollbar{height:0;display:none}.settings-sidebar::-webkit-scrollbar-track{background:transparent}.settings-sidebar::-webkit-scrollbar-thumb{background:#64748b2e;border-radius:3px}.settings-sidebar::-webkit-scrollbar-thumb:hover{background:#64748b52}.settings-sidebar-header{display:none}.settings-brand-mark{width:36px;height:36px;border-radius:var(--radius-sm);background:linear-gradient(135deg,var(--primary),#0ea5e9);color:#fff;display:grid;place-items:center;font-weight:700;font-size:.95rem;flex-shrink:0}.settings-sidebar-header h2{font-size:1rem;font-weight:700;margin:0;color:var(--text);letter-spacing:-.01em;line-height:1.2}.settings-sidebar-header .muted{font-size:.75rem;margin-top:1px;line-height:1.3}.settings-sidebar-nav{display:flex;flex-direction:row;align-items:center;gap:var(--space-2);min-height:38px;width:max-content;min-width:10px;max-width:none;scroll-snap-type:x proximity}.settings-nav-section{display:flex;flex-direction:row;align-items:center;gap:var(--space-2);min-height:38px}.settings-nav-section+.settings-nav-section{padding-top:0;border-top:none}.settings-nav-label{display:none}.settings-nav-item{display:inline-flex;-moz-appearance:none;appearance:none;-webkit-appearance:none;font:inherit;align-items:center;justify-content:center;flex:0 0 auto;gap:8px;width:auto;height:38px;min-height:38px;text-align:center;border:1px solid rgba(148,163,184,.28);background:#f8fafcb3;padding:0 14px;border-radius:999px;font-size:.84rem;font-weight:600;line-height:1;color:#334155;white-space:nowrap;scroll-snap-align:start;cursor:pointer;transition:all .18s ease;box-sizing:border-box;vertical-align:middle}.clinic-settings-page>.settings-sidebar .settings-nav-item{height:38px!important;min-height:38px!important;max-height:38px!important;padding-top:0!important;padding-bottom:0!important}.settings-nav-item::-moz-focus-inner{border:0;padding:0}.settings-nav-item:before{display:none}.settings-nav-icon{width:16px;height:16px;display:flex;align-items:center;justify-content:center;flex-shrink:0;opacity:.75;transition:all .15s ease}.settings-nav-icon svg{width:16px;height:16px;display:block}.settings-nav-item>span:not(.settings-nav-icon){display:inline-flex;align-items:center;line-height:1}.settings-nav-item:hover{background:#eef4ff;border-color:#0f766e4d;color:#0a5c55}.settings-nav-item:hover .settings-nav-icon{opacity:1}.settings-nav-item.active{background:#0f766e1f;border-color:#0f766e80;color:#0a5c55;font-weight:600}.settings-nav-item.active .settings-nav-icon{opacity:1;color:#0a5c55}.settings-nav-item:focus{outline:none}.settings-nav-item:focus-visible{outline:none;box-shadow:inset 0 0 0 2px #0f766e73}.settings-back-btn{display:inline-flex;align-items:center;gap:8px;padding:7px 16px;border:1px solid var(--border);background:var(--surface);border-radius:var(--radius-sm);font-size:.82rem;font-weight:500;color:var(--muted);cursor:pointer;transition:all .18s ease;white-space:nowrap;flex-shrink:0}.settings-back-btn:hover{background:var(--surface-alt);color:var(--text);border-color:#94a3b880}.settings-back-btn:hover .settings-nav-icon{transform:translate(-3px)}.settings-back-btn .settings-nav-icon svg{width:15px;height:15px}.settings-content{padding:var(--space-3) var(--space-6) var(--space-6);display:flex;flex-direction:column;gap:var(--space-5);max-width:1520px;width:100%;margin:0 auto;min-width:0;box-sizing:border-box}.clinic-settings-page>.settings-content{padding-top:var(--space-2)!important}.settings-content .table-card{overflow-x:auto}.settings-page-header{margin-top:0;margin-bottom:var(--space-1)}.settings-page-header-card{display:grid;gap:var(--space-3);padding:14px var(--space-4);border:1px solid rgba(226,232,240,.75);border-radius:var(--radius-md);background:radial-gradient(circle at top right,rgba(15,118,110,.07),transparent 45%),linear-gradient(180deg,#fffffffa,#f8fafce6);box-shadow:0 2px 10px #0f172a0a}.settings-page-header-top{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}.settings-page-header h1{font-size:1.65rem;font-weight:700;margin:0 0 6px;color:var(--text);letter-spacing:-.02em;line-height:1.2}.settings-page-title{display:inline-flex;align-items:center;gap:10px}.settings-page-title-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#0f766e1f;color:var(--primary, #0f766e);flex-shrink:0}.settings-page-title-icon svg{width:18px;height:18px}.settings-page-header p{font-size:.92rem;color:var(--muted);margin:0;line-height:1.5}.settings-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:var(--space-2);flex-wrap:wrap}.settings-page-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.settings-page-chip{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;border:1px solid rgba(148,163,184,.28);background:#f8fafceb;color:#475569;font-size:.78rem;font-weight:600}.settings-page-chip.active{border-color:#0f766e59;background:#0f766e1a;color:#0a5c55}.settings-language-switcher{min-width:190px}.settings-language-switcher-inline{min-width:220px;width:100%}.settings-content .card{min-width:0;border:1px solid rgba(226,232,240,.7);box-shadow:0 1px 3px #0f172a08,0 4px 14px #0f172a0a;transition:box-shadow .2s ease}.settings-content .card:hover{box-shadow:0 2px 6px #0f172a0d,0 8px 24px #0f172a0f}.form-actions{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-2)}.clinic-config-form{gap:10px}.clinic-config-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:var(--space-2)}.clinic-config-topic-nav{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}.clinic-config-topic-chip{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 10px;border-radius:999px;border:1px solid rgba(15,118,110,.24);background:#eff6ffb8;color:#1e3a8a;font-size:.77rem;font-weight:600;cursor:pointer;transition:all .15s ease}.clinic-config-topic-chip:hover{border-color:#0f766e7a;background:#dbeafee6}.clinic-config-pill{display:grid;gap:2px;border:1px solid rgba(148,163,184,.24);border-radius:var(--radius-sm);background:#f8fbff;padding:10px 12px;min-height:72px}.clinic-config-pill strong{font-size:.76rem;text-transform:uppercase;letter-spacing:.06em;color:#334155}.clinic-config-pill span{font-size:.9rem;font-weight:600;color:#334155}.clinic-config-pill .muted{font-size:.74rem;line-height:1.2}.clinic-config-section{border:1px solid rgba(148,163,184,.22);border-radius:var(--radius-md);padding:10px;background:linear-gradient(180deg,#f8fafcbf,#fffffff2);display:grid;gap:8px}.clinic-config-section-themed{box-shadow:0 1px 3px #0f172a0a}.clinic-config-section-header h3{margin:0;font-size:.96rem;color:#334155}.clinic-config-section-header p{margin:4px 0 0;color:var(--muted);font-size:.8rem}.clinic-config-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.clinic-config-subsection{border:1px solid rgba(148,163,184,.2);border-radius:var(--radius-sm);background:#ffffffe6;padding:9px;display:grid;gap:8px}.clinic-config-subsection.clinic-field-full{grid-column:1 / -1}.clinic-config-subsection-header h4{margin:0;font-size:.86rem;color:#334155}.clinic-config-subsection-header p{margin:4px 0 0;font-size:.74rem;color:var(--muted);line-height:1.3}.clinic-estimation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--space-2)}.clinic-subsection-note{margin-top:calc(var(--space-2) * -1)}.clinic-config-grid--tight{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.clinic-region-preview{display:flex;flex-wrap:wrap;gap:8px}.clinic-region-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;border:1px solid rgba(14,116,144,.22);background:linear-gradient(135deg,#ecfeffeb,#e0f2feeb);color:#0e7490;font-size:.78rem;font-weight:600;box-shadow:inset 0 0 0 1px #ffffff8c}.clinic-operations-section{position:relative;border-color:#0e749040;background:linear-gradient(180deg,#ecfeff73,#fffffff5)}.clinic-operations-section:before{content:"";position:absolute;left:10px;right:10px;top:0;height:2px;border-radius:999px;background:linear-gradient(90deg,#0e7490bf,#0284c759)}.clinic-operations-header h3{letter-spacing:.01em;font-size:1rem;font-weight:700;color:#0b3b4d}.clinic-operations-header p{max-width:82ch;line-height:1.4;color:#476270}.clinic-regional-card{border-color:#0e749033;background:linear-gradient(160deg,#f8fcfff2,#fffffffa);box-shadow:0 1px 2px #0f172a08;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.clinic-regional-card:hover{border-color:#0e74904d;box-shadow:0 3px 10px #0e749014;transform:translateY(-1px)}.clinic-regional-card .clinic-config-subsection-header h4{display:inline-flex;align-items:center;gap:6px}.clinic-regional-card-context .clinic-config-subsection-header h4:before{content:"Região"}.clinic-regional-card-standards .clinic-config-subsection-header h4:before{content:"Padrão"}.clinic-regional-card-interface .clinic-config-subsection-header h4:before{content:"Equipe"}.clinic-regional-card-worktime .clinic-config-subsection-header h4:before{content:"Agenda"}.clinic-regional-card .clinic-config-subsection-header h4:before{display:inline-flex;align-items:center;justify-content:center;min-width:54px;height:18px;border-radius:999px;background:#0e74901a;color:#0e7490;font-size:.62rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.clinic-operations-section .clinic-config-subsection-header h4{color:#0f3f52;font-weight:700}.clinic-operations-section .clinic-config-subsection-header p{color:#4f6674;line-height:1.38}.clinic-operations-section .field span{font-size:.76rem;font-weight:700;color:#334155;letter-spacing:.01em}.clinic-operations-section .field input,.clinic-operations-section .field select,.clinic-operations-section .field textarea{border-color:#0e749038;background:#fffffff2}.clinic-operations-section .field .clinic-readonly-input{color:#334155;font-weight:700;letter-spacing:.02em;background:linear-gradient(180deg,#f8fafcf2,#f1f5f9f2);border-color:#94a3b859;cursor:not-allowed}.clinic-operations-section .field input:focus,.clinic-operations-section .field select:focus,.clinic-operations-section .field textarea:focus{border-color:#0284c78c;box-shadow:0 0 0 3px #0284c71f}.clinic-secret-field input{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:.03em}.clinic-static-secret{min-height:48px;padding:12px 14px;border:1px solid rgba(148,163,184,.35);border-radius:12px;background:#f8fafce0;display:grid;gap:4px}.clinic-static-secret strong{font-size:.95rem;color:#0f172a}.clinic-static-secret .muted{margin:0;font-size:.83rem}.clinic-secret-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.clinic-secret-toggle-row span{font-weight:600}.clinic-secret-toggle-row-compact{justify-content:flex-end}.clinic-secret-toggle-button{border:1px solid rgba(148,163,184,.35);background:#ffffffe6;color:#0f172a;padding:8px 12px;border-radius:10px;box-shadow:none}.clinic-secret-toggle-button:hover:not(:disabled){background:#f8fafc;transform:none;box-shadow:none}.clinic-sensitive-hint{display:block;margin-top:6px;font-size:.8rem}.clinic-config-section-header-split{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3)}.clinic-config-section-tools{width:min(340px,100%);flex-shrink:0}.settings-inline-language-card{display:grid;gap:6px;border:1px solid rgba(15,118,110,.16);border-radius:var(--radius-sm);padding:10px 12px;background:#eff6ff8c}.settings-inline-language-label{font-size:.77rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#0a5c55}.clinic-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.clinic-regional-context-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.clinic-regional-standards-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.clinic-regional-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.clinic-regional-autofill-btn{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;border-radius:999px;border:1px solid rgba(3,105,161,.32);background:#e0f2feb3;color:#075985;font-size:.75rem;font-weight:700;letter-spacing:.01em;cursor:pointer;transition:all .15s ease}.clinic-regional-autofill-btn:hover{border-color:#0369a17a;background:#bae6fdd9;transform:translateY(-1px)}.clinic-field-full{grid-column:1 / -1}.clinic-phone-row{grid-column:1 / -1;display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr) auto;gap:var(--space-3);align-items:end}.clinic-phones-panel{display:grid;gap:var(--space-2)}.clinic-phones-toolbar{display:flex;justify-content:flex-start}.clinic-phone-add-btn{display:inline-flex;align-items:center;gap:8px;height:36px;border:1px dashed rgba(15,118,110,.35);border-radius:var(--radius-sm);background:#eff6ffbf;color:#0a5c55;font-weight:600;padding:0 12px;cursor:pointer;transition:all .15s ease}.clinic-phone-add-btn:hover{border-color:#0f766e8c;background:#dbeafecc}.clinic-phone-add-btn .settings-nav-icon{width:16px;height:16px}.clinic-phone-add-btn .settings-nav-icon svg{width:16px;height:16px}.clinic-phone-list{display:grid;gap:var(--space-2)}.clinic-phone-remove-btn{width:36px;height:36px;border:1px solid rgba(148,163,184,.35);background:#fff}.clinic-phone-empty{margin:0}.clinic-email-row{grid-column:1 / -1;display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr) auto;gap:var(--space-3);align-items:end}.clinic-emails-panel{display:grid;gap:var(--space-2)}.clinic-emails-toolbar{display:flex;justify-content:flex-start}.clinic-email-add-btn{display:inline-flex;align-items:center;gap:8px;height:36px;border:1px dashed rgba(15,118,110,.35);border-radius:var(--radius-sm);background:#eff6ffbf;color:#0a5c55;font-weight:600;padding:0 12px;cursor:pointer;transition:all .15s ease}.clinic-email-add-btn:hover{border-color:#0f766e8c;background:#dbeafecc}.clinic-email-add-btn .settings-nav-icon{width:16px;height:16px}.clinic-email-add-btn .settings-nav-icon svg{width:16px;height:16px}.clinic-email-list{display:grid;gap:var(--space-2)}.clinic-email-remove-btn{width:36px;height:36px;border:1px solid rgba(148,163,184,.35);background:#fff}.clinic-email-empty{margin:0}.clinic-website-row{grid-column:1 / -1;display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr) auto;gap:var(--space-3);align-items:end}.clinic-websites-panel{display:grid;gap:var(--space-2)}.clinic-websites-toolbar{display:flex;justify-content:flex-start}.clinic-website-add-btn{display:inline-flex;align-items:center;gap:8px;height:36px;border:1px dashed rgba(15,118,110,.35);border-radius:var(--radius-sm);background:#eff6ffbf;color:#0a5c55;font-weight:600;padding:0 12px;cursor:pointer;transition:all .15s ease}.clinic-website-add-btn:hover{border-color:#0f766e8c;background:#dbeafecc}.clinic-website-add-btn .settings-nav-icon{width:16px;height:16px}.clinic-website-add-btn .settings-nav-icon svg{width:16px;height:16px}.clinic-website-list{display:grid;gap:var(--space-2)}.clinic-website-remove-btn{width:36px;height:36px;border:1px solid rgba(148,163,184,.35);background:#fff}.clinic-website-empty{margin:0}.clinic-time-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}.clinic-weekday-chip{border:1px solid rgba(148,163,184,.35);background:#fff;border-radius:var(--radius-sm);padding:7px 6px;font-size:.77rem;font-weight:600;color:#475569;cursor:pointer;transition:all .16s ease}.clinic-weekday-chip:hover{border-color:#0f766e73;color:#0a5c55;background:#f0fdfa}.clinic-weekday-chip.active{border-color:#0f766e;color:#0a5c55;background:#ccfbf1;box-shadow:inset 0 0 0 1px #0f766e40}.clinic-worktime-list{display:grid;gap:8px}.clinic-worktime-row{display:grid;grid-template-columns:minmax(84px,auto) minmax(0,1fr);align-items:center;gap:var(--space-2);border:1px solid rgba(148,163,184,.2);border-radius:var(--radius-sm);padding:7px 9px;background:#fff}.clinic-worktime-row.open{border-color:#0e74904d;background:linear-gradient(135deg,#ecfeff8c,#eff6ffa6)}.clinic-worktime-row .clinic-weekday-chip{min-width:74px}.clinic-worktime-inputs{display:inline-flex;align-items:center;justify-self:end;gap:7px}.clinic-worktime-inputs input{width:104px}.clinic-worktime-row:not(.open) .clinic-worktime-inputs{opacity:.55}.clinic-config-actions{justify-content:space-between;align-items:center;gap:var(--space-3);border:1px solid rgba(148,163,184,.2);border-radius:var(--radius-md);background:#ffffffdb;padding:12px 14px}.clinic-config-actions .muted{font-size:.8rem}.clinic-config-actions-copy{display:grid;gap:2px}.clinic-config-actions-copy strong{font-size:.9rem;color:var(--text)}.clinic-section-actions{margin-top:2px;display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);border-top:1px dashed rgba(148,163,184,.42);padding-top:8px}.clinic-section-actions .muted{font-size:.76rem}.clinic-section-actions .btn{min-height:32px;padding:6px 12px;font-size:.84rem}.clinic-operations-section .clinic-section-actions{position:sticky;bottom:0;z-index:3;margin-top:6px;padding-top:10px;padding-bottom:6px;border-top:1px solid rgba(14,116,144,.18);background:linear-gradient(180deg,#f8fafca8,#fffffff5);-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px)}.clinic-operations-section .clinic-section-actions .btn{border-color:#0e749059}.clinic-config-form .field span{font-size:.77rem;line-height:1.25}.clinic-config-form .field input,.clinic-config-form .field select,.clinic-config-form .field textarea{padding:7px 9px;font-size:.84rem;min-height:34px}.clinic-config-form .field textarea{min-height:74px}.clinic-config-form .field small{margin-top:-2px;font-size:.72rem;line-height:1.25}.payment-methods-form{gap:10px}.payment-methods-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.payment-methods-custom-add{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:8px;align-items:end}.payment-methods-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}.payment-method-card{border:1px solid rgba(148,163,184,.24);border-radius:var(--radius-md);background:#fffffff2;padding:10px;display:grid;gap:8px}.payment-method-card.is-active{border-color:#0e749059;background:linear-gradient(160deg,#f0fdfa8c,#fffffff5)}.payment-method-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.payment-method-card-actions{display:grid;justify-items:end;gap:6px}.payment-method-card-head h3{margin:0;font-size:.9rem;color:#334155}.payment-method-card-head p{margin:3px 0 0;font-size:.74rem;color:var(--muted)}.payment-method-active-toggle{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:0 8px;border-radius:999px;border:1px solid rgba(148,163,184,.26);background:#fff;font-size:.74rem;font-weight:600;color:#334155}.payment-method-custom-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;border:1px solid rgba(14,116,144,.24);background:#f0fdfab3;font-size:.72rem;font-weight:600;color:#0f766e}.payment-method-remove-btn{border:1px solid rgba(248,113,113,.35);background:#fff;color:#b91c1c;border-radius:999px;padding:4px 10px;font-size:.72rem;font-weight:600;cursor:pointer}.payment-method-remove-btn:hover{background:#fee2e273}.payment-method-card-body{display:grid;gap:8px}.payment-method-installments{display:grid;gap:8px;border-top:1px dashed rgba(148,163,184,.36);padding-top:8px}.payment-method-installments-toggle{display:inline-flex;align-items:center;gap:8px;font-size:.78rem;font-weight:600;color:#334155}.payment-method-installments-input{max-width:220px}.logo-upload-area{display:flex;align-items:center;gap:var(--space-4)}.logo-upload-preview{flex-shrink:0;width:80px;height:80px;border-radius:var(--radius-sm);border:1.5px dashed rgba(15,23,42,.18);background:#f8fafccc;overflow:hidden;display:flex;align-items:center;justify-content:center}.logo-upload-img{width:100%;height:100%;object-fit:contain}.logo-upload-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:1.4rem;font-weight:700;color:#0f172a4d;letter-spacing:.05em;-webkit-user-select:none;user-select:none}.logo-upload-actions{display:flex;flex-direction:column;gap:var(--space-2);align-items:flex-start}.logo-upload-btn{padding:6px 14px;border-radius:var(--radius-sm);border:1.5px solid rgba(15,118,110,.35);background:#0f766e0f;color:#0f766e;font-size:.85rem;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}.logo-upload-btn:hover{background:#0f766e1f;border-color:#0f766e8c}.logo-remove-btn{padding:4px 12px;border-radius:var(--radius-sm);border:1.5px solid rgba(220,38,38,.3);background:transparent;color:#dc2626;font-size:.82rem;font-weight:500;cursor:pointer;transition:background .15s}.logo-remove-btn:hover{background:#dc26260f}.pwd-modal-form{min-width:320px}.pwd-section{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-4) var(--space-5);margin-top:var(--space-4);border-top:1px solid rgba(15,23,42,.08)}.pwd-section-title{font-weight:600;font-size:.9rem;color:var(--text)}.pwd-section-desc{font-size:.82rem;color:var(--muted);margin-top:2px}.maps-validate-link{display:inline-flex;align-items:center;gap:4px;margin-top:6px;font-size:.8rem;font-weight:500;color:#0f766e;text-decoration:none;opacity:.85;transition:opacity .15s}.maps-validate-link:hover{opacity:1;text-decoration:underline}.pwd-change-btn{flex-shrink:0;padding:7px 16px;border-radius:var(--radius-sm);border:1.5px solid rgba(15,118,110,.35);background:#0f766e0f;color:#0f766e;font-size:.85rem;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}.pwd-change-btn:hover{background:#0f766e1f;border-color:#0f766e8c}.pwd-modal-inner{padding:var(--space-2);min-width:340px}.pwd-modal-title{font-size:1.1rem;font-weight:700;margin:0 0 var(--space-5) 0;color:var(--text)}.pwd-hint{display:block;margin-top:4px;font-size:.78rem;font-weight:500}.pwd-hint-error{color:#dc2626}.pwd-hint-ok{color:#16a34a}.pwd-cancel-btn{padding:7px 16px;border-radius:var(--radius-sm);border:1.5px solid rgba(15,23,42,.15);background:transparent;color:var(--muted);font-size:.85rem;font-weight:500;cursor:pointer;transition:background .15s}.pwd-cancel-btn:hover{background:#0f172a0a}.settings-content .field span{font-weight:600;font-size:.86rem;color:var(--text)}.settings-content .field input,.settings-content .field select,.settings-content .field textarea{background:#ffffffb3;transition:all .2s ease}.settings-content .field input:hover,.settings-content .field select:hover,.settings-content .field textarea:hover{background:#fff;border-color:#0f766e4d;box-shadow:0 1px 6px #0f766e0f}.settings-content .field input:focus,.settings-content .field select:focus,.settings-content .field textarea:focus{background:#fff;box-shadow:0 0 0 3px #0f766e1a,0 1px 4px #0f766e14}.field-label-row{display:flex;align-items:center;gap:6px}.secret-label-toggle{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:none;background:transparent;border-radius:var(--radius-sm);color:var(--muted);cursor:pointer;transition:all .15s ease;padding:0}.secret-label-toggle:hover{background:var(--surface-alt);color:var(--primary)}.secret-label-toggle svg{width:14px;height:14px}.field input[type=password]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;letter-spacing:.15em;font-size:.88rem}.message-templates-form{display:grid;gap:var(--space-4);margin-top:calc(var(--space-3) * -1)}.message-templates-summary-card{padding:var(--space-4)}.message-templates-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3)}.message-template-list{display:grid;gap:var(--space-4)}.message-template-card{min-width:0}.message-template-card .card-body{gap:var(--space-4)}.message-template-card-header h3{margin:0;font-size:1.05rem;color:#1f2937}.message-template-card-header p{margin:6px 0 0}.message-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}.message-template-item{display:grid;gap:var(--space-3);padding:var(--space-3);border:1px solid rgba(148,163,184,.22);border-radius:var(--radius-md);background:linear-gradient(180deg,#fffffffa,#f8fafcf5)}.message-template-item-head{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-3)}.message-template-item-head h4{margin:0;font-size:.98rem;color:#0f172a}.message-template-item-head p{margin:6px 0 0;font-size:.82rem;line-height:1.4}.message-template-item textarea{min-height:128px;resize:vertical}.message-template-help{display:grid;gap:8px;padding:10px 12px;border:1px dashed rgba(148,163,184,.32);border-radius:var(--radius-sm);background:#f8fafccc}.message-template-variable-list{display:flex;flex-wrap:wrap;gap:8px}.message-template-variable-list code{padding:4px 8px;border-radius:999px;background:#e2e8f0f2;color:#0f172a;font-size:.78rem}.message-template-preview{display:grid;gap:10px;padding:12px;border-radius:var(--radius-md);background:linear-gradient(180deg,#0f172a08,#0f172a0f);border:1px solid rgba(148,163,184,.18)}.message-template-preview-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.message-template-bubble{white-space:pre-wrap;padding:14px 16px;border-radius:18px 18px 18px 6px;background:#dcf8c6;color:#0f172a;box-shadow:0 10px 24px #0f172a14;max-width:100%;line-height:1.45}.clinic-whatsapp-templates-cta{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:12px 14px;border-radius:var(--radius-md);border:1px solid rgba(22,163,74,.16);background:linear-gradient(180deg,#f0fdf4f2,#f8fafcfa)}.clinic-whatsapp-templates-cta strong{display:block;margin-bottom:4px;color:#166534}.clinic-whatsapp-templates-cta p{margin:0}.wa-template-manager,.wa-template-readiness-card .card-body{display:grid;gap:var(--space-4)}.wa-template-provider-row,.wa-template-check-grid,.wa-template-warning-grid,.wa-template-list{display:grid;gap:var(--space-3)}.wa-template-provider-row,.wa-template-warning-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.wa-template-check-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.wa-template-provider-box,.wa-template-warning,.wa-template-check{display:grid;gap:8px;padding:14px;border-radius:var(--radius-md);border:1px solid rgba(148,163,184,.2);background:#f8fafcf5}.wa-template-test-box{display:grid;gap:var(--space-3);padding:14px;border-radius:var(--radius-md);border:1px solid rgba(148,163,184,.2);background:#ffffffeb}.wa-template-test-copy p{margin:6px 0 0}.wa-template-test-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}.wa-template-test-grid .field-full{grid-column:1 / -1}.wa-template-check.is-ok{border-color:#16a34a47;background:#f0fdf4eb}.wa-template-card .card-body{display:grid;gap:var(--space-3)}.wa-template-title-row,.wa-template-title-badges,.wa-template-summary-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.wa-template-title-row{width:100%;justify-content:space-between}.wa-template-title-subtitle{margin-top:4px;font-size:.78rem}.wa-template-summary-row{gap:var(--space-3);align-items:stretch}.wa-template-summary-meta{min-width:120px;display:grid;gap:4px;padding:10px 12px;border-radius:var(--radius-sm);background:#f8fafcf5;border:1px solid rgba(148,163,184,.16)}.wa-template-card-head,.wa-template-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.wa-template-preview-shell{display:grid;gap:10px}.wa-template-preview-label{font-size:.82rem;color:var(--text-muted)}.wa-template-phone-frame{max-width:420px;padding:12px;border-radius:24px;background:linear-gradient(180deg,#0f172a0a,#0f172a14),linear-gradient(135deg,#f5f7fb,#eef7f2);border:1px solid rgba(148,163,184,.18)}.wa-template-phone-top{font-size:.76rem;color:#475569;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid rgba(148,163,184,.16)}.wa-template-bubble{max-width:88%}.wa-template-collapsed-hint{padding:8px 2px 2px;font-size:.84rem}.wa-template-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}.wa-template-form-grid .field-full{grid-column:1 / -1}.wa-template-active-field{align-content:end}.wa-template-active-field input[type=checkbox]{width:18px;height:18px}@media (max-width: 900px){.wa-template-form-grid,.wa-template-test-grid{grid-template-columns:1fr}.wa-template-phone-frame{max-width:100%}}.notifications-settings-form{display:grid;gap:var(--space-4);margin-top:calc(var(--space-3) * -1)}.notifications-push-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}.notifications-push-card .card-body{gap:var(--space-3)}.notifications-push-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3)}.notifications-push-actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}.notifications-push-actions-footer{justify-content:flex-start}.notifications-push-preferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}.notifications-push-check{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--border-light);border-radius:var(--radius-md);background:var(--surface-alt)}.notifications-push-check input{width:18px;height:18px}.notifications-push-devices,.notifications-push-device-list{display:grid;gap:var(--space-2)}.notifications-push-device-item{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-2) var(--space-3);border:1px solid var(--border-light);border-radius:var(--radius-md);background:var(--surface)}.notifications-announcement-list{display:grid;gap:var(--space-3)}.notifications-announcement-item{display:grid;gap:var(--space-2);padding:var(--space-3);border:1px solid var(--border-light);border-radius:var(--radius-md);background:var(--surface)}.notifications-announcement-item.is-read{opacity:.82}.notifications-announcement-item p{margin:0;color:var(--text)}.notifications-announcement-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3)}.notifications-announcement-head>div{display:grid;gap:2px}.notifications-announcement-actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}.notifications-summary-card{padding:var(--space-4)}.notifications-summary-card .card-body{gap:var(--space-3)}.notifications-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3)}.notifications-summary-grid .clinic-config-pill{height:100%}.notifications-rules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);align-items:start}.notifications-rule-card{min-width:0}.notifications-rule-card .card-body{gap:var(--space-3)}.notifications-rule-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3)}.notifications-rule-title{min-width:0}.notifications-rule-title h3{margin:0;font-size:1rem;color:#334155}.notifications-rule-title p{margin:4px 0 0;font-size:.84rem;line-height:1.35}.notifications-rule-toggle-row{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.notifications-checkbox-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:18px}.notifications-checkbox-toggle input{width:15px;height:15px}.notifications-fields-grid{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:var(--space-3);align-items:start}.notifications-fields-grid .notifications-message-field{grid-column:1 / -1}.notifications-fields-grid-single{grid-template-columns:1fr}.notifications-inline-note{margin:0;padding:10px 12px;border:1px dashed rgba(148,163,184,.32);border-radius:var(--radius-sm);background:#f8fafccc;font-size:.8rem;line-height:1.35;box-sizing:border-box}.notifications-message-field textarea{min-height:132px;resize:vertical}.notifications-message-help,.notifications-message-preview{grid-column:1 / -1}.notifications-actions-bar{margin-top:0}@media (max-width: 1100px){.notifications-rules-grid,.notifications-fields-grid{grid-template-columns:1fr}}.table-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.config-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:var(--space-3)}.config-summary-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-4);text-align:center;display:grid;gap:var(--space-1)}.config-summary-item.ok{border-color:#16a34a59;background:#16a34a0a}.config-summary-item.pending{border-color:#f59e0b59;background:#f59e0b0a}.config-summary-value{font-size:1.8rem;font-weight:700;line-height:1}.config-summary-item.ok .config-summary-value{color:var(--secondary)}.config-summary-item.pending .config-summary-value{color:var(--warning)}.config-list{display:grid;gap:var(--space-3)}.config-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;transition:box-shadow .2s ease,border-color .2s ease}.config-card:hover{box-shadow:var(--shadow-sm)}.config-card.expanded{border-color:#0f766e4d;box-shadow:var(--shadow-sm)}.config-card-header{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4);width:100%;border:none;background:transparent;cursor:pointer;text-align:left;color:inherit;font:inherit}.config-card-header:hover{background:var(--surface-alt)}.config-card-identity{display:flex;align-items:center;gap:var(--space-3);flex:1;min-width:0}.config-card-identity>div{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;min-width:0}.config-card-identity strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.config-card-logo{width:40px;height:40px;border-radius:var(--radius-sm);object-fit:cover;flex-shrink:0}.config-card-avatar{width:40px;height:40px;border-radius:var(--radius-sm);display:grid;place-items:center;background:var(--primary);color:#fff;font-weight:700;font-size:.85rem;flex-shrink:0;text-transform:uppercase}.config-card-badges{display:flex;gap:var(--space-2);flex-wrap:wrap;flex-shrink:0}.config-health-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:.75rem;font-weight:600;border:1px solid transparent}.config-health-badge.ok{background:#16a34a1a;color:#166534;border-color:#16a34a40}.config-health-badge.pending{background:#f59e0b1a;color:#92400e;border-color:#f59e0b40}.config-health-dot{width:7px;height:7px;border-radius:999px;flex-shrink:0}.config-health-badge.ok .config-health-dot{background:#16a34a}.config-health-badge.pending .config-health-dot{background:#f59e0b}.config-card-chevron{display:flex;align-items:center;color:var(--muted);flex-shrink:0;transition:transform .2s ease}.config-card-chevron svg{width:18px;height:18px}.config-card-body{padding:0 var(--space-4) var(--space-4);display:grid;gap:var(--space-4);border-top:1px solid var(--border);padding-top:var(--space-4)}.config-section{display:grid;gap:var(--space-3)}.config-section-title{margin:0;font-size:.9rem;font-weight:600;display:flex;align-items:center;gap:var(--space-2);color:var(--text)}.config-section-title svg{width:17px;height:17px;color:var(--primary);flex-shrink:0}.chips-row{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-2)}.ai-settings-layout{display:grid;gap:18px}.ai-settings-hero{display:grid;gap:6px;margin-bottom:14px;padding:14px 16px;border:1px solid rgba(15,118,110,.14);border-radius:14px;background:radial-gradient(circle at top right,rgba(45,212,191,.12),transparent 40%),linear-gradient(180deg,#f0fdfaf5,#f8fafcf5)}.ai-settings-hero strong{font-size:.98rem;color:var(--text)}.ai-settings-hero p{margin:0;max-width:72ch}.ai-settings-grid{gap:14px}.ai-settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ai-settings-form>.field{padding:14px;border:1px solid rgba(148,163,184,.18);border-radius:14px;background:linear-gradient(180deg,#fffffffa,#f8fafcf2);box-shadow:0 8px 24px #0f172a0a}.ai-settings-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:2px 0 16px}.ai-settings-summary-item{display:grid;gap:4px;padding:14px 16px;border-radius:14px;border:1px solid rgba(148,163,184,.18);background:#f8fafceb}.ai-settings-summary-label{font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}.ai-settings-summary-item strong{font-size:1rem;color:var(--text)}.ai-required-fields-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ai-required-fields-option{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1px solid rgba(148,163,184,.2);border-radius:12px;background:#f8fafce0;line-height:1.35}.ai-required-fields-option input[type=checkbox]{width:16px;height:16px;margin-top:1px;flex-shrink:0}.ai-required-fields-option:has(input[type=checkbox]:checked){border-color:#0f766e57;background:#f0fdfaf5;box-shadow:inset 0 0 0 1px #0f766e14}.ai-settings-actions{margin-top:18px;padding-top:16px;border-top:1px solid rgba(148,163,184,.16)}.chip-toggle{border:1px solid var(--border);background:var(--surface);color:var(--text);padding:6px 10px;border-radius:999px;font-size:.76rem;font-weight:600;cursor:pointer;transition:all .2s ease}.chip-toggle:hover{border-color:#0f766e66;color:var(--primary)}.chip-toggle.active{border-color:#0f766e66;background:#0f766e1a;color:var(--primary)}.config-key-list{list-style:none;margin:0;padding:0;display:grid;gap:var(--space-2)}.config-key-item{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-3);background:var(--surface-alt);border:1px solid var(--border);border-radius:var(--radius-sm)}.config-key-info{display:grid;gap:2px;min-width:0;flex:1}.config-key-value{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem;word-break:break-all;overflow-wrap:anywhere;color:var(--text);letter-spacing:.02em}.config-key-info .muted{font-size:.75rem}.config-key-actions{display:flex;align-items:center;gap:var(--space-2);flex-shrink:0}.config-card-footer{display:flex;align-items:center;gap:var(--space-2);padding-top:var(--space-3);border-top:1px solid var(--border)}.settings-section{display:grid;gap:var(--space-3)}.settings-section h2{font-size:1.15rem;font-weight:600;margin:0;color:var(--text)}.settings-section-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.delete-confirm-content{display:grid;gap:var(--space-4)}.delete-confirm-content p{margin:0;padding:var(--space-3);background:#ef44440f;border:1px solid rgba(239,68,68,.2);border-radius:var(--radius-sm);color:#991b1b;font-size:.9rem;line-height:1.5}.section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-4)}.section-toolbar .text-muted{font-size:.82rem;white-space:nowrap;flex-shrink:0}.search-box{position:relative;max-width:280px;flex:1}.search-box-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none;display:flex;align-items:center}.search-box-icon svg{width:15px;height:15px}.search-box input{width:100%;padding:7px 12px 7px 34px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:.85rem;background:var(--surface);color:var(--text);transition:all .18s ease}.search-box input::placeholder{color:var(--muted);opacity:.7}.search-box input:hover{border-color:#94a3b899;background:#fff}.search-box input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #0f766e14;background:#fff}.pagination{display:flex;align-items:center;justify-content:center;gap:var(--space-2);margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid rgba(226,232,240,.5)}.pagination-info{font-size:.82rem;color:var(--muted);min-width:48px;text-align:center;font-variant-numeric:tabular-nums}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;border-radius:var(--radius-sm);color:var(--muted);cursor:pointer;transition:all .15s ease;padding:0}.icon-btn:hover{background:var(--surface-alt);color:var(--primary)}.icon-btn.danger{border:1px solid rgba(239,68,68,.35);background:#fff;color:#dc2626}.icon-btn.danger:hover{border-color:#ef44448c;background:#ef444414;color:var(--danger)}.icon-btn svg{width:17px;height:17px}@media (max-width: 768px){.clinic-settings-page{--settings-tabs-row-height: calc(34px + (var(--space-2) * 2));grid-template-columns:1fr}.settings-sidebar{padding:var(--space-2) var(--space-3);padding-left:36px;gap:var(--space-2);height:calc(34px + (var(--space-2) * 2));overflow-x:auto;-webkit-overflow-scrolling:touch}.settings-sidebar-nav{gap:var(--space-2);min-height:34px}.settings-nav-section{gap:var(--space-2);min-height:34px;padding-top:0!important;border-top:none!important}.settings-nav-item{height:34px;min-height:34px;padding:0 10px;font-size:.8rem;min-width:0}.clinic-settings-page>.settings-sidebar{min-height:calc(34px + (var(--space-2) * 2))!important;max-height:calc(34px + (var(--space-2) * 2))!important}.clinic-settings-page>.settings-sidebar .settings-nav-item{height:34px!important;min-height:34px!important;max-height:34px!important}.settings-content{padding:var(--space-2) var(--space-3) var(--space-5)}.clinic-settings-page>.settings-content{padding-top:var(--space-2)!important}.message-templates-form{margin-top:calc(var(--space-2) * -1)}.message-templates-summary-card{padding:var(--space-3)}.message-templates-summary-grid{grid-template-columns:1fr;gap:var(--space-2)}.message-template-grid{grid-template-columns:1fr}.message-template-item-head,.message-template-preview-head,.clinic-whatsapp-templates-cta{flex-direction:column;align-items:flex-start}.notifications-settings-form{margin-top:calc(var(--space-2) * -1)}.notifications-push-grid{grid-template-columns:1fr}.notifications-summary-card{padding:var(--space-3)}.notifications-summary-grid{grid-template-columns:1fr;gap:var(--space-2)}.notifications-rule-card{padding:var(--space-3)}.notifications-push-meta,.notifications-push-preferences{grid-template-columns:1fr}.notifications-rule-head{flex-direction:column;gap:var(--space-2)}.notifications-rule-toggle-row{width:100%;justify-content:space-between}.notifications-fields-grid{grid-template-columns:1fr}.notifications-message-field textarea{min-height:112px}.settings-page-header-top{flex-direction:column;gap:var(--space-3)}.settings-page-header h1{font-size:1.4rem}.settings-page-actions{width:100%;justify-content:flex-start}.settings-back-btn{align-self:flex-start}.search-box{max-width:100%}.config-card-header{flex-wrap:wrap}.config-card-badges{flex-basis:100%}.config-summary{grid-template-columns:repeat(3,1fr)}.config-summary-value{font-size:1.4rem}.config-key-item,.logo-upload-area{flex-direction:column;align-items:flex-start}.logo-upload-actions{flex-direction:row;flex-wrap:wrap}.logo-upload-actions .muted{width:100%;white-space:normal;overflow-wrap:anywhere}.clinic-config-overview{grid-template-columns:1fr}.clinic-config-topic-nav{gap:6px}.clinic-config-topic-chip{min-height:32px;font-size:.78rem}.clinic-config-group-grid,.clinic-config-grid,.clinic-regional-context-grid,.clinic-regional-standards-grid{grid-template-columns:1fr}.clinic-config-subsection{padding:10px}.clinic-regional-actions{width:100%;align-items:flex-start}.clinic-regional-autofill-btn{width:100%;justify-content:center}.clinic-estimation-grid,.payment-methods-summary,.payment-methods-custom-add,.payment-methods-grid{grid-template-columns:1fr}.payment-method-card-head{flex-direction:column}.payment-method-card-actions{justify-items:start;width:100%}.payment-method-active-toggle{width:fit-content}.clinic-section-actions{flex-direction:column;align-items:flex-start}.clinic-phone-row{grid-template-columns:1fr}.clinic-phone-remove-btn{justify-self:flex-start}.clinic-email-row{grid-template-columns:1fr}.clinic-email-remove-btn{justify-self:flex-start}.clinic-website-row{grid-template-columns:1fr}.clinic-website-remove-btn{justify-self:flex-start}.clinic-time-grid{grid-template-columns:1fr}.clinic-worktime-row{grid-template-columns:1fr;align-items:flex-start}.clinic-worktime-inputs{width:100%;justify-self:stretch;display:flex;flex-wrap:wrap;justify-content:flex-start;min-width:0}.clinic-worktime-inputs>*{margin-left:0!important}.clinic-worktime-inputs input,.clinic-worktime-inputs select{flex:1 1 120px;min-width:0;width:auto}.clinic-worktime-inputs .icon-btn{flex:0 0 auto}.clinic-operations-section .clinic-section-actions{position:static;-webkit-backdrop-filter:none;backdrop-filter:none;background:transparent}.clinic-config-section-header-split{flex-direction:column}.clinic-config-section-tools{width:100%}.clinic-config-actions{align-items:flex-start;flex-direction:column}.pwd-section{flex-direction:column;align-items:flex-start;gap:var(--space-3)}.providers-grid{grid-template-columns:1fr}.form-actions{flex-wrap:wrap}}.providers-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:var(--space-3)}.provider-card{border:1px solid var(--border);border-radius:12px;padding:12px;background:linear-gradient(180deg,#fffffffa,#f9fcfffa);display:grid;gap:10px;box-shadow:0 6px 16px #0f172a0f}.provider-card.is-inactive{border-color:#d6dbe6;background:linear-gradient(180deg,#f4f6fa,#eef2f7);box-shadow:none;filter:grayscale(.45)}.provider-card.is-inactive .provider-card-title-wrap strong,.provider-card.is-inactive .provider-meta-value,.provider-card.is-inactive .provider-list-line{color:#64748b}.provider-card.is-inactive .provider-meta-item,.provider-card.is-inactive .provider-expand-block,.provider-card.is-inactive .provider-card-expanded .provider-card-row{background:#f8fafc}.provider-card-headline{display:flex;justify-content:space-between;align-items:center;gap:10px}.provider-card-identity{display:flex;align-items:center;gap:10px;min-width:0}.provider-card-avatar{width:34px;height:34px;border-radius:10px;border:1px solid rgba(15,118,110,.22);background:#0f766e14;color:var(--primary);display:grid;place-items:center;flex-shrink:0}.provider-card-avatar svg{width:16px;height:16px}.provider-card-title-wrap{min-width:0;display:grid;gap:2px}.provider-card-title-wrap strong{font-size:.95rem;line-height:1.2}.provider-card-subtitle{color:var(--muted);font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.provider-card-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.provider-card-meta-grid{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.provider-meta-item{border:1px solid var(--border);border-radius:9px;background:var(--surface-alt);padding:7px 8px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:flex-start}.provider-meta-icon{width:14px;height:14px;color:#64748b;margin-top:2px}.provider-meta-icon svg{width:100%;height:100%}.provider-meta-content{min-width:0;display:grid;gap:2px}.provider-meta-label{font-size:.66rem;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:700}.provider-meta-value{font-size:.82rem;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.provider-card-groups{display:grid;gap:8px}.provider-card-group{display:block}.provider-group-label{font-size:.66rem;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:700}.provider-card-text-preview{min-height:24px;display:flex;align-items:center}.provider-list-line{font-size:.77rem;line-height:1.32;color:#475569}.provider-list-label{font-weight:700;letter-spacing:.01em}.provider-list-text{color:#0f766e;font-style:italic;font-size:.77rem;line-height:1.32;word-break:break-word}.provider-card-row{display:grid;gap:4px}.provider-calendar-id{word-break:break-all;overflow-wrap:anywhere;font-size:.9rem}.provider-key{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono;font-size:.8rem;word-break:break-all;background:var(--surface-alt);padding:6px 10px;border-radius:var(--radius-sm);border:1px solid var(--border);color:var(--muted);letter-spacing:.02em}.provider-card-actions{display:grid;gap:6px}.provider-inline-actions-compact{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:center}.provider-inline-actions-compact .btn{padding:5px 8px;font-size:.74rem;line-height:1.2;white-space:nowrap;flex-shrink:0}.provider-action-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:10px;border:1px solid #d7e0ec;background:#fff;color:#334155;box-shadow:none;transition:background .15s ease,border-color .15s ease,color .15s ease;white-space:nowrap;min-height:32px}.provider-action-btn-main{width:112px;justify-content:center}.provider-action-btn:hover{transform:none;box-shadow:none;background:#f8fbff;border-color:#b9c9dd;color:#334155}.provider-action-icon{width:14px;height:14px;color:#64748b;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.provider-action-icon svg{width:100%;height:100%}.provider-action-btn.provider-action-btn-toggle{border-color:#0f766e5c;background:#0f766e14;color:#0a5c55}.provider-action-btn.provider-action-btn-toggle .provider-action-icon{color:#0a5c55}.provider-action-btn.provider-action-btn-highlight.btn-secondary{border-color:#16a34a47;background:#16a34a1f;color:#166534}.provider-inline-actions-advanced{gap:6px}.provider-inline-actions-advanced .provider-action-btn{justify-content:flex-start}.provider-action-btn.provider-action-btn-subtle{background:#f8fafc;border-color:#dbe5f1}.provider-action-btn.provider-action-btn-danger.btn-danger{border-color:#ef44444d;background:#ef44441f;color:#b91c1c}.provider-action-btn.provider-action-btn-danger .provider-action-icon{color:#dc2626}.provider-action-btn.provider-action-btn-status.provider-action-btn-status-deactivate{border-color:#ef444447;background:#ef44441a;color:#b91c1c}.provider-action-btn.provider-action-btn-status.provider-action-btn-status-deactivate .provider-action-icon{color:#dc2626}.provider-action-btn.provider-action-btn-status.provider-action-btn-status-reactivate{border-color:#16a34a42;background:#16a34a1a;color:#166534}.provider-action-btn.provider-action-btn-status.provider-action-btn-status-reactivate .provider-action-icon{color:#16a34a}.clinic-settings-page .table-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.clinic-settings-page .table-actions .btn{white-space:nowrap}.modal.modal-provider{width:min(940px,100%);padding:var(--space-4) var(--space-5)}.modal-provider-body{gap:var(--space-3)}.provider-modal-footer{width:100%;justify-content:flex-end;gap:10px}.provider-modal-footer .btn{min-width:108px;border-radius:10px}.provider-modal-layout{display:grid;gap:var(--space-3)}.clinic-users-page .clinic-users-new-btn{display:inline-flex;align-items:center;gap:8px;border-radius:10px;padding-inline:14px}.clinic-users-page.settings-content{gap:var(--space-5)}.clinic-users-page .settings-page-header{margin-bottom:0}.clinic-users-btn-icon{width:14px;height:14px;display:inline-flex}.clinic-users-btn-icon svg{width:14px;height:14px}.modal.modal-provider.clinic-users-modal{width:min(860px,100%)}.clinic-users-modal-body{gap:var(--space-3)}.clinic-users-modal-footer{width:100%;display:flex;justify-content:flex-end;gap:10px}.clinic-users-modal-btn{min-width:108px;border-radius:10px}.clinic-users-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.clinic-users-field{margin:0;border:1px solid var(--border);border-radius:12px;background:#fcfdff;padding:10px 12px;gap:8px}.clinic-users-field-span-2{grid-column:1 / -1}.clinic-users-field-label{display:inline-flex;align-items:center;gap:8px;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#475569}.clinic-users-field-label svg{width:14px;height:14px;color:#64748b}.clinic-users-id-value{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.85rem;color:#334155}.clinic-users-field input,.clinic-users-field select{width:100%;border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:10px 12px;color:var(--text)}.clinic-users-field input:focus,.clinic-users-field select:focus{border-color:#0f766e73;box-shadow:0 0 0 4px #0f766e1f;outline:none}.clinic-users-field small{font-size:.75rem;color:#64748b}.clinic-users-form-error{border:1px solid #fecaca;background:#fef2f2;color:#b91c1c;border-radius:10px;padding:10px 12px;font-size:.84rem;font-weight:600}.clinic-users-password-wrap{position:relative}.clinic-users-password-wrap input{padding-right:42px}.clinic-users-password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:none;background:transparent;color:#64748b;width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.clinic-users-password-toggle:hover{background:#0f172a14;color:#334155}.clinic-users-password-toggle svg{width:16px;height:16px}.clinic-users-modal .admin-users-auth-provider{grid-template-columns:repeat(3,minmax(0,1fr))}.clinic-users-modal .admin-users-auth-provider-item{border-radius:12px;min-height:42px;font-size:.82rem}.clinic-users-custom-permissions{gap:10px}.clinic-users-custom-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.clinic-users-custom-group{border:1px dashed #cbd5e1;border-radius:10px;background:#fff;padding:10px;display:grid;gap:8px}.clinic-users-custom-group strong{font-size:.74rem;text-transform:uppercase;letter-spacing:.06em;color:#475569}.clinic-users-custom-options{display:grid;gap:6px}.clinic-users-permission-option{display:inline-flex;align-items:center;gap:8px;font-size:.85rem;color:#334155}.clinic-users-permission-option input{width:14px;min-width:14px;height:14px;margin:0;flex:0 0 14px;accent-color:var(--primary)}.clinic-users-page .table-actions .icon-btn{border-radius:10px}.clinic-access-matrix-card{display:grid;gap:14px;padding:14px;border:1px solid #d9e4f5;background:radial-gradient(circle at 0% 0%,rgba(15,118,110,.08),transparent 45%),linear-gradient(180deg,#fff,#f8fbff)}.clinic-access-matrix-header h3{margin:0 0 6px;font-size:1rem;display:inline-flex;align-items:center;gap:8px}.clinic-access-matrix-title-icon{width:18px;height:18px;display:inline-flex;color:#0f766e}.clinic-access-matrix-title-icon svg{width:18px;height:18px}.clinic-access-matrix-header p{margin:0}.clinic-access-matrix-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}.clinic-access-groups{display:grid;gap:12px}.clinic-access-group-block{border:1px solid #d9e4f5;border-radius:12px;background:#ffffffe0;padding:10px;display:grid;gap:10px}.clinic-access-group-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:8px;border-bottom:1px dashed #d5dfef}.clinic-access-group-head strong{font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;color:#1e3a8a}.clinic-access-group-head span{font-size:.72rem;color:#64748b;font-weight:600}.clinic-access-capability-card{border:1px solid #d7e2f1;border-radius:12px;background:#ffffffeb;padding:10px;display:grid;gap:10px}.clinic-access-capability-head{display:grid;gap:4px}.clinic-access-capability-group{display:inline-flex;width:fit-content;border-radius:999px;border:1px solid #c8dafb;background:#f0fdfa;color:#0a5c55;font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:3px 8px}.clinic-access-capability-head strong{font-size:.85rem;color:#334155}.clinic-access-capability-head small{font-size:.71rem;color:#64748b;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.clinic-access-capability-rows{display:grid;gap:7px}.clinic-access-profile-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.clinic-access-profile-name{font-size:.76rem;color:#334155;font-weight:600}.clinic-access-status{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:10px;padding:0}.clinic-access-status-icon{width:14px;height:14px;display:inline-flex;align-items:center;justify-content:center}.clinic-access-status-icon svg{width:14px;height:14px}.clinic-access-status.enabled{color:#166534;background:#dcfce7;border:1px solid #bbf7d0}.clinic-access-status.disabled{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}@media (max-width: 900px){.clinic-users-header-top{gap:12px}.clinic-users-page .clinic-users-new-btn{width:100%;justify-content:center}.clinic-users-table-card{overflow-x:auto}.clinic-users-table-card .data-table{min-width:700px}.clinic-users-form-grid{grid-template-columns:1fr}.clinic-users-field-span-2{grid-column:auto}.clinic-users-custom-groups{grid-template-columns:1fr}.clinic-access-matrix-card{padding:12px}.clinic-access-matrix-grid{grid-template-columns:1fr}.clinic-access-group-head strong{font-size:.78rem}.clinic-access-status{width:28px;height:28px}}@media (max-width: 640px){.clinic-users-page .section-toolbar{flex-direction:column;align-items:stretch;gap:10px}.clinic-users-page .section-toolbar .search-box{max-width:100%}.clinic-users-page .section-toolbar>.muted{align-self:flex-start}.clinic-users-modal-footer{justify-content:stretch}.clinic-users-modal-btn{min-width:0;flex:1}.clinic-users-modal .admin-users-auth-provider{grid-template-columns:1fr}.clinic-access-profile-name{font-size:.72rem}.clinic-access-status{width:26px;height:26px}}.provider-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.provider-modal-divider{margin:2px 0 0;padding:4px 2px;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#1f3f7a}.provider-field{margin:0;border:1px solid var(--border);border-radius:10px;background:#fcfdff;padding:10px 12px;gap:6px}.provider-field>span,.provider-services-editor-compact .provider-services-header>span,.provider-collapse-label,.provider-expand-label{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#475569}.provider-field small{font-size:.75rem;line-height:1.3}.provider-portal-access{display:grid;gap:8px}.provider-portal-access-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.provider-portal-access-toggle{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;color:#334155}.provider-portal-access-toggle input{width:16px;height:16px}.provider-portal-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.provider-portal-password-wrap{position:relative}.provider-portal-password-wrap input{padding-right:38px}.provider-portal-password-toggle{position:absolute;top:50%;right:8px;transform:translateY(-50%);width:24px;height:24px;border:1px solid #dbe1eb;border-radius:8px;background:#f8fafc;color:#475569;display:inline-flex;align-items:center;justify-content:center}.provider-portal-password-toggle svg{width:13px;height:13px}.provider-field-span-2{grid-column:1 / -1}.provider-locked-alert{border:1px solid #fde68a;background:#fffbeb;color:#92400e;border-radius:10px;padding:.6rem .75rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.provider-locked-alert span{font-size:.88rem}.provider-services-editor{margin-top:var(--space-2);display:grid;gap:var(--space-2)}.provider-modal-links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.provider-services-editor-compact{margin-top:0;border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:var(--surface)}.provider-services-editor-compact .provider-services-picker select{width:100%}.provider-services-editor-compact .provider-services-tags{max-height:92px;overflow:auto;padding-right:2px}.provider-calendar-help-collapsible{border:1px solid rgba(15,118,110,.28);border-radius:var(--radius-sm);background:#f8fbff}.provider-calendar-help-collapsible>summary{list-style:none;cursor:pointer;padding:10px 12px;font-size:.72rem;font-weight:700;letter-spacing:.06em;color:#1e3a8a;text-transform:uppercase;display:flex;align-items:center;justify-content:space-between}.provider-calendar-help-collapsible>summary::-webkit-details-marker{display:none}.provider-calendar-help-collapsible>summary:after{content:"+";font-size:1rem;line-height:1}.provider-calendar-help-collapsible[open]>summary:after{content:"-"}.provider-calendar-help-collapsible .provider-calendar-help{border:none;border-top:1px solid rgba(15,118,110,.18);border-radius:0;background:transparent;padding:10px 12px 12px}.provider-section{border:1px solid var(--border);border-radius:var(--radius-md);padding:var(--space-4);background:var(--surface)}.provider-section+.provider-section{margin-top:var(--space-4)}.provider-section-title{margin:0 0 var(--space-3);font-size:1rem}.provider-list-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-3)}.provider-services-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.provider-service-add{border:1px solid rgba(15,118,110,.3);border-radius:var(--radius-sm);background:#0f766e14;color:var(--primary);font-weight:600;font-size:.85rem;padding:6px 10px;cursor:pointer}.provider-service-add:disabled{opacity:.45;cursor:not-allowed}.provider-services-picker select{width:min(380px,100%)}.provider-calendar-help{border:1px solid rgba(15,118,110,.25);border-radius:var(--radius-sm);background:#f8fbff;padding:12px 14px;display:grid;gap:8px}.provider-calendar-help strong{font-size:.86rem;color:#334155}.provider-calendar-help ol{margin:0;padding-left:18px;color:#334155;display:grid;gap:4px;font-size:.82rem}.provider-calendar-help-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.provider-calendar-help-actions a,.provider-calendar-help-actions button{font-size:.8rem;font-weight:600;color:#0a5c55;text-decoration:none;border:none;background:transparent;padding:0;cursor:pointer}.provider-calendar-help-actions a:hover,.provider-calendar-help-actions button:hover{text-decoration:underline}.provider-services-tags,.provider-card-tags{display:flex;flex-wrap:wrap;gap:8px}.provider-service-tag{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:1px solid rgba(15,118,110,.35);background:#0f766e14;color:var(--primary);font-size:.82rem;font-weight:600}.provider-service-tag button{border:none;background:transparent;color:inherit;font-size:.95rem;line-height:1;padding:0;cursor:pointer}.provider-card .inline-actions .btn:not(.provider-action-btn){padding:7px 10px;line-height:1.1}.provider-card .inline-actions:not(.provider-inline-actions-compact) .btn:not(.provider-action-btn){padding:8px 12px}.provider-card-expanded{display:grid;gap:8px;padding-top:10px;border-top:1px dashed #d9e3f0}.provider-expand-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.provider-expand-block{border:1px solid var(--border);border-radius:8px;padding:8px 10px;background:#fff}.provider-expand-block-full{grid-column:1 / -1}.provider-card-expanded .provider-card-row{border:1px solid var(--border);border-radius:8px;padding:8px 10px;background:#fff}.provider-expand-actions{border:1px solid var(--border);border-radius:10px;padding:8px;background:#f8fbff}@media (max-width: 960px){.modal.modal-provider{width:min(760px,100%)}}@media (max-width: 760px){.modal.modal-provider{padding:var(--space-4)}.provider-card-headline{align-items:flex-start}.provider-card-meta-grid,.provider-expand-grid,.provider-portal-access-grid{grid-template-columns:1fr}.provider-inline-actions-advanced{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.provider-inline-actions-advanced .provider-action-btn-danger{grid-column:1 / -1}.provider-modal-grid,.provider-modal-links-grid{grid-template-columns:1fr}.provider-field-span-2{grid-column:auto}}.clinic-ai-chat{position:fixed;right:24px;bottom:24px;z-index:44}.clinic-ai-page-shell{display:grid;gap:var(--space-5);padding:var(--space-5);max-width:1280px;margin:0 auto}.clinic-ai-page-hero{display:grid;gap:var(--space-3);border:1px solid #d9e2f2;background:radial-gradient(circle at 8% 5%,rgba(15,118,110,.12),transparent 44%),linear-gradient(180deg,#fff,#f8fbff)}.clinic-ai-page-hero-main{display:flex;align-items:center;gap:14px}.clinic-ai-page-hero-badge{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#0f766e,#0ea5e9);color:#fff;font-weight:800;letter-spacing:.03em;display:grid;place-items:center;flex-shrink:0}.clinic-ai-page-header{display:grid;gap:4px}.clinic-ai-page-header h2{margin:0;font-size:1.42rem}.clinic-ai-page-hero-tip{border:1px solid #dce7f9;background:#f0fdfa;color:#1e3a8a;border-radius:10px;padding:8px 12px;font-size:.85rem}.clinic-ai-fab{position:relative;width:60px;height:60px;border-radius:999px;border:none;background:linear-gradient(135deg,#14b8a6,#0f766e);color:#fff;display:grid;place-items:center;box-shadow:0 14px 30px #0f766e52,0 0 0 1px #ffffff3d inset;transition:transform .25s ease,box-shadow .25s ease;animation:ai-fab-float 3.2s ease-in-out infinite;overflow:visible}.clinic-ai-fab:before,.clinic-ai-fab:after{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px;border-radius:999px;border:2px solid rgba(15,118,110,.32);opacity:0;transform:scale(.88);pointer-events:none}.clinic-ai-fab:hover{transform:translateY(-2px) scale(1.1);box-shadow:0 22px 40px #0f766e66,0 0 28px #0f766e80}.clinic-ai-fab:hover:before,.clinic-ai-fab:hover:after{opacity:1;animation:ai-fab-pulse 1.7s ease-out infinite}.clinic-ai-fab:hover:after{animation-delay:.4s}.clinic-ai-fab-core{width:32px;height:32px;display:grid;place-items:center;border-radius:999px;background:#ffffff14;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.clinic-ai-fab-core svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.clinic-ai-panel{width:min(352px,calc(100vw - 20px));height:min(74vh,560px);margin-bottom:14px;border:1px solid #d9e3f2;border-radius:18px;background:#f7faff;box-shadow:0 20px 40px #0f172a29;display:grid;grid-template-rows:auto auto 1fr auto auto;overflow:hidden;animation:ai-chat-enter .35s ease-out}.clinic-ai-chat:not(.page-mode) .clinic-ai-panel{width:min(388px,calc(100vw - 16px));height:min(80vh,620px)}.clinic-ai-chat.page-mode{position:static;right:auto;bottom:auto;z-index:auto}.clinic-ai-chat.page-mode .clinic-ai-panel{width:100%;max-width:100%;height:calc(100vh - 280px);min-height:560px;margin:0;border-radius:20px}.clinic-ai-panel-header{min-height:58px;padding:11px 14px;border-bottom:1px solid rgba(255,255,255,.2);background:linear-gradient(135deg,#0a5c55,#0f766e);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:10px}.clinic-ai-header-main{display:flex;align-items:center;gap:10px}.clinic-ai-header-avatar{width:30px;height:30px;border-radius:10px;background:#fff;color:#0a5c55;font-size:.78rem;font-weight:700;display:grid;place-items:center}.clinic-ai-panel-header p{margin:2px 0 0;color:#ffffffd1;font-size:.78rem}.clinic-ai-close{width:30px;height:30px;border:none;border-radius:999px;background:transparent;color:#fff;font-size:1.35rem;line-height:1;display:grid;place-items:center;cursor:pointer;transition:background .2s ease}.clinic-ai-close:hover{background:#ffffff2e}.clinic-ai-toolbar{display:grid;gap:8px;padding:10px 12px 11px;border-bottom:1px solid #e4ebf7;background:#f9fbff}.clinic-ai-toolbar-actions{display:flex;align-items:center;gap:6px}.clinic-ai-new-thread-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;min-width:36px;height:36px;padding:0}.clinic-ai-plus-icon{width:20px;height:20px;border-radius:8px;background:#f0fdfa;color:#0f766e;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:1rem;line-height:1}.clinic-ai-search-toggle{width:36px;min-width:36px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center}.clinic-ai-search-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.clinic-ai-search-toggle.active{color:#0a5c55;border-color:#0f766e59;background:#f0fdfa}.clinic-ai-clear-history-btn{margin-left:auto;color:#9f1239;width:36px;min-width:36px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center}.clinic-ai-clear-history-btn:hover{color:#be123c;background:#fff1f2}.clinic-ai-clear-history-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.clinic-ai-clear-spinner{font-size:.75rem;letter-spacing:1px}.clinic-ai-search-row{display:grid}.clinic-ai-search-row input{min-height:36px;padding:8px 10px;border-radius:10px;border:1px solid #ced9ed;background:#fff}.clinic-ai-history-select-wrap{display:grid;gap:4px;min-width:0}.clinic-ai-history-label{font-size:.73rem;letter-spacing:.03em;text-transform:uppercase;color:#64748b;font-weight:600}.clinic-ai-history-select-wrap select{min-width:0;min-height:38px}.clinic-ai-toolbar-note{font-size:.78rem;color:#0a5c55;background:#f0fdfa;border:1px solid #ccfbf1;border-radius:10px;padding:7px 9px}.clinic-ai-messages{overflow-y:auto;padding:14px;background:radial-gradient(circle at top right,rgba(15,118,110,.08),transparent 36%),#f4f7fc;display:grid;gap:12px;align-content:start}.clinic-ai-message{border:1px solid #dbe5f4;border-radius:14px;padding:11px 13px;background:#fff;max-width:min(88%,760px)}.clinic-ai-message.user{margin-left:auto;border-color:#0f766e66;background:linear-gradient(135deg,#0f766e,#0a5c55);border-top-right-radius:9px}.clinic-ai-message.assistant{margin-right:auto;border-top-left-radius:9px}.clinic-ai-message-head{display:flex;justify-content:space-between;align-items:center;gap:var(--space-2);font-size:.75rem;color:var(--muted);margin-bottom:6px}.clinic-ai-message p{margin:0;white-space:pre-wrap;word-break:break-word;color:#1f2937;font-size:.91rem;line-height:1.42}.clinic-ai-message.user .clinic-ai-message-head,.clinic-ai-message.user p{color:#fff}.clinic-ai-form{border-top:1px solid #dfe7f3;padding:10px 12px;background:#fff}.clinic-ai-pending-card{border:1px solid #d7dded;background:#f8fafc;border-radius:12px;padding:10px;display:grid;gap:8px;margin-bottom:10px}.clinic-ai-pending-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding-bottom:8px;border-bottom:1px solid #e2e8f0}.clinic-ai-pending-head strong{font-size:.88rem;color:#334155;line-height:1.2}.clinic-ai-pending-head small{color:#64748b;font-size:.78rem;line-height:1.2;text-align:right}.clinic-ai-pending-card p{margin:0;white-space:pre-wrap;color:#334155;font-size:.86rem}.clinic-ai-pending-actions{display:flex;align-items:center;gap:8px}.clinic-ai-input-row{display:flex;align-items:flex-end;gap:8px}.clinic-ai-form textarea{min-height:46px;max-height:140px;flex:1;resize:none;border-radius:14px;border:1px solid #cbd7ea;background:#fbfdff;padding:12px 14px;line-height:1.32;font-size:.92rem;overflow-y:auto;scrollbar-width:thin}.clinic-ai-form textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1f}.clinic-ai-input-row .btn{min-width:82px;min-height:44px;border-radius:12px;background:linear-gradient(135deg,#0f766e,#0a5c55);border-color:#0a5c55;box-shadow:0 8px 20px #0f766e47}.clinic-ai-input-row .btn:disabled{box-shadow:none}.clinic-ai-input-meta{margin-top:6px;padding-left:2px;font-size:.75rem;color:#64748b}.clinic-ai-chat:not(.page-mode) .clinic-ai-form{padding:8px 10px 10px;background:#f8fbff}.clinic-ai-chat:not(.page-mode) .clinic-ai-toolbar{padding:8px 10px 10px;gap:6px}.clinic-ai-chat:not(.page-mode) .clinic-ai-toolbar-actions{gap:5px}.clinic-ai-chat:not(.page-mode) .clinic-ai-new-thread-btn{width:34px;min-width:34px;height:34px}.clinic-ai-chat:not(.page-mode) .clinic-ai-clear-history-btn{width:34px;min-width:34px;height:34px}.clinic-ai-chat:not(.page-mode) .clinic-ai-history-label{font-size:.7rem}.clinic-ai-chat:not(.page-mode) .clinic-ai-history-select-wrap select{min-height:36px;font-size:.88rem}.clinic-ai-chat:not(.page-mode) .clinic-ai-search-row input{min-height:34px;font-size:.88rem}.clinic-ai-chat:not(.page-mode) .clinic-ai-toolbar-note{font-size:.74rem;padding:6px 8px}.clinic-ai-chat:not(.page-mode) .clinic-ai-input-row{border:1px solid #cfdbef;border-radius:14px;background:#fff;padding:6px;gap:6px}.clinic-ai-chat:not(.page-mode) .clinic-ai-form textarea{min-height:38px;max-height:96px;border:none;background:transparent;border-radius:10px;padding:8px 10px;box-shadow:none;overflow-y:auto}.clinic-ai-chat:not(.page-mode) .clinic-ai-form textarea:focus{border:none;box-shadow:none;outline:none}.clinic-ai-chat:not(.page-mode) .clinic-ai-input-row .btn{min-width:76px;min-height:38px;border-radius:10px;box-shadow:none}.clinic-ai-welcome{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:start}.clinic-ai-welcome-avatar{width:30px;height:30px;border-radius:999px;background:#dfe3fb;color:#4338ca;font-weight:700;font-size:.78rem;display:grid;place-items:center}.clinic-ai-welcome-card{background:#f8fbff;border:1px solid #dde6f4;border-radius:14px;padding:12px}.clinic-ai-welcome-card p{margin:0 0 8px;color:#334155;font-size:.92rem}.clinic-ai-welcome-card p:last-of-type{margin-bottom:10px}.clinic-ai-suggestions{display:flex;flex-wrap:wrap;gap:8px}.clinic-ai-suggestion-chip{border:1px solid #c5d7f7;background:#e8f1ff;color:#0a5c55;border-radius:999px;padding:5px 11px;font-size:.83rem;line-height:1;cursor:pointer}.clinic-ai-suggestion-chip:disabled{opacity:.7;cursor:not-allowed}.clinic-ai-typing-row{padding:8px 10px}.clinic-ai-typing-bubble{display:inline-flex;align-items:center;gap:5px;border-radius:999px;border:1px solid #d5e1f3;background:#fff;padding:7px 10px}.clinic-ai-typing-dot{width:6px;height:6px;border-radius:999px;background:#7182a3;animation:ai-typing-dot .9s ease-in-out infinite}.clinic-ai-typing-dot:nth-child(2){animation-delay:.15s}.clinic-ai-typing-dot:nth-child(3){animation-delay:.3s}.clinic-ai-empty{padding:14px;color:var(--muted);font-size:.9rem}.clinic-ai-status{border-top:1px solid var(--border);padding:10px 14px;color:#7c2d12;background:#fff7ed;font-size:.85rem}@keyframes ai-fab-pulse{0%{transform:scale(.88);opacity:.65}to{transform:scale(1.34);opacity:0}}@keyframes ai-fab-float{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes ew-bell-swing{0%{transform:rotate(0)}15%{transform:rotate(18deg)}30%{transform:rotate(-14deg)}45%{transform:rotate(10deg)}60%{transform:rotate(-7deg)}75%{transform:rotate(4deg)}to{transform:rotate(0)}}@keyframes ai-chat-enter{0%{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}@keyframes ai-typing-dot{0%,80%,to{transform:translateY(0);opacity:.45}40%{transform:translateY(-3px);opacity:1}}@media (max-width: 900px){.page-header-actions{width:100%;display:flex;justify-content:flex-start}.integration-row{flex-direction:column;align-items:flex-start}.ai-operational-panel{grid-template-columns:1fr}.ai-operational-panel-side{width:100%;justify-items:start}.ai-operational-toggle-btn{width:100%;min-width:0}.ai-settings-summary,.ai-settings-form,.ai-required-fields-list{grid-template-columns:1fr}.table-card{overflow-x:auto}.data-table{min-width:640px}.ew-day-status-fab{right:12px;bottom:84px;width:48px;height:48px}.ew-day-status-float-panel{right:12px;left:12px;width:auto;bottom:138px;max-height:min(70vh,540px);overflow:auto}.agenda-list-head{grid-template-columns:1fr;padding:16px;gap:14px;border-radius:18px}.agenda-list-eyebrow{min-height:24px;padding:0 10px;font-size:.68rem}.agenda-list-head-copy h3{font-size:1.08rem}.agenda-list-head-copy p{font-size:.82rem;line-height:1.45}.agenda-list-next{padding:14px;border-radius:16px}.agenda-list-toolbar{align-items:stretch}.agenda-list-search{min-width:0;width:100%;min-height:46px;border-radius:14px}.agenda-list-filter-summary{width:100%}.agenda-list-filter-chip{min-height:36px;padding:0 10px}.agenda-list-filter-chip strong{max-width:120px}.agenda-list-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:none}.agenda-list-stat-card{padding:12px 14px;border-radius:16px}.agenda-list-stat-card strong{font-size:1.25rem}.agenda-list-period-head{align-items:center}.agenda-list-entry{grid-template-columns:1fr;gap:12px;padding:12px;border-radius:18px}.agenda-list-entry-rail{display:flex;align-items:baseline;justify-content:space-between;gap:8px;border-right:0;border-bottom:1px dashed #d7e5f4;padding-right:0;padding-bottom:10px}.agenda-list-entry-time{font-size:1.02rem}.agenda-list-entry-top{flex-direction:column}.agenda-list-entry-actions{justify-content:flex-start}.agenda-list-entry-meta span{max-width:100%}.agenda-list-empty-card{padding:28px 16px;border-radius:18px}.clinic-ai-panel{width:min(100vw - 16px,380px);height:min(76vh,560px)}.clinic-ai-chat{right:12px;bottom:12px}.clinic-ai-page-shell{padding:var(--space-4);padding-left:36px}.clinic-ai-page-hero-main{align-items:flex-start}.clinic-ai-chat.page-mode .clinic-ai-panel{height:calc(100vh - 260px);min-height:500px}}@media (max-width: 640px){.agenda-list-head{margin-left:0;margin-right:0}.agenda-list-stats-grid{grid-template-columns:1fr}.agenda-list-filter-summary{gap:6px}.agenda-list-filter-chip{width:100%;justify-content:flex-start}.agenda-list-entry-meta{display:grid;grid-template-columns:1fr}.clinic-ai-page-shell{padding:var(--space-3);gap:var(--space-4)}.clinic-ai-page-hero-main{gap:10px}.clinic-ai-page-header h2{font-size:1.18rem}.clinic-ai-chat.page-mode .clinic-ai-panel{min-height:calc(100vh - 210px);height:calc(100vh - 210px)}.clinic-ai-input-row{gap:6px}.clinic-ai-input-row .btn{min-width:72px;min-height:42px}.clinic-ai-toolbar-actions{flex-wrap:wrap}.clinic-ai-clear-history-btn{margin-left:0}}.bento-demo{max-width:1200px;margin:24px auto;padding:12px}.kpi-row{display:flex;gap:12px;margin-bottom:12px}.kpi-card{padding:14px 16px;border-radius:12px;background:var(--surface);border:1px solid rgba(15,23,42,.04);min-width:140px;box-shadow:var(--shadow-sm)}.kpi-title{font-size:.78rem;color:var(--muted)}.kpi-value{font-size:1.4rem;font-weight:700;color:var(--text)}.bento-shell{display:flex;gap:16px;align-items:flex-start}.left-calendar{width:160px}.left-calendar-inner{background:var(--surface);border-radius:12px;padding:12px;border:1px solid var(--border);box-shadow:var(--shadow-sm)}.calendar-title{font-weight:700;margin-bottom:8px}.mini-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.mini-day{height:26px;display:grid;place-items:center;border-radius:6px;background:transparent;color:var(--muted)}.mini-day.muted{opacity:.25}.bento-main{flex:1;display:flex;flex-direction:column;gap:12px}.action-bar{display:flex;align-items:center;gap:12px;padding:10px;background:var(--surface);border-radius:12px;border:1px solid rgba(15,23,42,.04)}.search-box-input{padding:8px 12px;border-radius:10px;border:1px solid var(--border);min-width:340px}.filter-chip{padding:7px 10px;border-radius:999px;background:var(--surface-alt);border:1px solid var(--border);font-weight:600}.ew-toolbar-right .btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary-700));color:#fff;border:none;padding:8px 12px;border-radius:10px}.bento-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.calendar-cell{padding:12px;border-radius:12px;background:var(--surface);border:1px solid rgba(15,23,42,.04);cursor:pointer;position:relative;min-height:86px;display:flex;flex-direction:column;justify-content:space-between}.calendar-cell:hover{box-shadow:var(--shadow-sm);transform:translateY(-4px)}.calendar-cell-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}.calendar-time{font-weight:700;color:var(--muted);font-size:.86rem}.calendar-title{font-weight:600;color:var(--text);font-size:.95rem}.occupancy-wrap{height:8px;background:var(--surface-alt);border-radius:999px;position:relative;overflow:hidden}.occupancy-bar{height:100%;background:linear-gradient(90deg,var(--primary),#34c759);border-radius:999px;transition:width .25s ease}.occupancy-label{font-size:.72rem;color:var(--muted);margin-top:6px;text-align:right}.slot-meta{font-size:.75rem;color:var(--muted);margin-top:6px;text-align:right}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.action-bar{display:flex;flex-direction:column;gap:10px;padding:12px}.action-bar-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.filters-row{align-items:center}.filters-left{flex:1}.filters-right{flex:0 0 auto}.controls-row{align-items:center}.controls-left{flex:1}.controls-center{flex:0 1 420px;display:flex;justify-content:center}.controls-right{flex:0 0 auto}.prof-pills{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.prof-pill{padding:6px 10px;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--text);font-weight:500;font-size:.88rem;cursor:pointer}.prof-pill.active{background:#007aff1f;border-color:#007aff2e;color:var(--primary)}.date-nav{display:flex;align-items:center;gap:8px}.date-display{font-weight:600;color:var(--text);padding:6px 10px;border-radius:8px;background:var(--surface-alt)}.icon-btn{border:none;background:transparent;padding:6px 8px;cursor:pointer;font-size:.95rem}.segmented-control{display:inline-flex;background:var(--surface-alt);border-radius:999px;padding:4px;border:1px solid var(--border)}.seg-btn{border:none;background:transparent;padding:6px 12px;border-radius:999px;cursor:pointer;font-weight:600;color:var(--muted)}.seg-btn.seg-active{background:linear-gradient(90deg,var(--primary),var(--primary-700));color:#fff;box-shadow:var(--shadow-sm)}@media (max-width: 880px){.controls-center{display:none}.search-box-input{min-width:160px}.prof-pills{gap:6px}}.calendar-cell.add-slot{display:grid;place-items:center}.add-center{font-weight:700;color:var(--primary);background:#007aff14;padding:10px 14px;border-radius:8px}.calendar-cell-modal{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#0f172a47;z-index:60}.modal-card{background:var(--surface);padding:16px;border-radius:12px;box-shadow:var(--shadow-lg);width:min(560px,90%)}.analysis-page{display:flex;flex-direction:column;gap:14px;--analysis-accent: var(--primary);--analysis-accent-strong: var(--primary-700);--analysis-accent-soft: #edf8f7;--analysis-accent-soft-strong: #d9f0ed;--analysis-accent-border: #bddfd9;--analysis-accent-text: #0f5f59;--analysis-accent-alt: #34c759;--analysis-accent-alt-strong: #249446;--analysis-accent-alt-soft: #eefaf2;--analysis-surface-muted: #f8fcfb;--analysis-surface-hover: #f2faf8;--analysis-border: #dcebe8}.analysis-header-card{padding:16px 18px}.analysis-headline{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}.analysis-headline h1{margin:0;font-size:1.4rem}.analysis-controls{display:flex;align-items:center;gap:8px;min-width:420px;justify-content:flex-end}.analysis-controls label{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);white-space:nowrap}.analysis-controls input[type=month]{border:1px solid var(--analysis-accent-border);border-radius:10px;padding:8px 10px;background:#fff;min-width:170px;color:var(--analysis-accent-text)}.analysis-export-btn{white-space:nowrap}.analysis-export-btn[disabled]{opacity:.55;cursor:not-allowed}.analysis-tabs{display:flex;flex-wrap:wrap;gap:8px}.analysis-main-tabs{margin-top:4px}.analysis-sub-tabs{margin-top:9px}.analysis-tab-btn{border:1px solid var(--analysis-accent-border);background:var(--analysis-surface-muted);color:var(--analysis-accent-text);border-radius:999px;padding:7px 12px;font-weight:600;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.analysis-main-tab-btn{background:var(--analysis-accent-soft);border-color:var(--analysis-accent-border)}.analysis-tab-btn.active{background:var(--analysis-accent);border-color:var(--analysis-accent);color:#fff}.analysis-sub-tab-btn.active{background:var(--analysis-accent-strong);border-color:var(--analysis-accent-strong)}.analysis-tab-btn:hover{background:var(--analysis-accent-soft);border-color:var(--analysis-accent);color:var(--analysis-accent-strong);transform:translateY(-1px)}.analysis-tab-btn.active:hover{background:var(--analysis-accent-strong);border-color:var(--analysis-accent-strong);color:#fff}.analysis-tabs-context{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px;align-items:baseline}.analysis-tabs-context strong{font-size:.95rem;color:var(--analysis-accent-text)}.analysis-tabs-context span{font-size:.82rem}.analysis-quality-pills{margin-top:8px;display:flex;flex-wrap:wrap;gap:8px}.analysis-quality-pill{border:1px solid var(--analysis-accent-border);background:var(--analysis-surface-muted);color:var(--analysis-accent-text);border-radius:999px;padding:4px 10px;font-size:.75rem;display:inline-flex;align-items:center;gap:6px}.analysis-quality-pill i{width:8px;height:8px;border-radius:999px;display:inline-block;background:#9ca3af}.analysis-quality-pill.ok{border-color:#bbf7d0;background:#ecfdf3;color:#1f5135}.analysis-quality-pill.ok i{background:#22c55e}.analysis-quality-pill.warning{border-color:#fed7aa;background:#fff7ed;color:#9a3412}.analysis-quality-pill.warning i{background:#f97316}.analysis-quality-pill.unknown{border-color:var(--analysis-accent-border);background:var(--analysis-accent-soft);color:var(--analysis-accent-text)}.analysis-quality-pill.unknown i{background:#64748b}.analysis-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.analysis-anti-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.analysis-kpi-card{background:#fff;border:1px solid var(--analysis-border);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:4px}.analysis-kpi-card p{margin:0;color:var(--text-muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.05em}.analysis-kpi-card strong{font-size:1.4rem;color:var(--text-primary)}.analysis-delta{color:var(--analysis-accent);font-weight:600;font-size:.9rem}.analysis-kpi-card small{color:var(--text-muted);font-size:.78rem}.analysis-grid-two{display:grid;grid-template-columns:1.1fr 1fr;gap:10px}.analysis-panel{padding:12px}.analysis-panel-head h3{margin:0 0 10px}.analysis-anti-report{overflow:hidden}.analysis-anti-report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.analysis-anti-subtitle{margin:-4px 0 0;font-size:.82rem}.analysis-anti-actions{display:flex;gap:8px;flex-wrap:wrap}.analysis-trend-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:end;min-height:170px}.analysis-trend-item{display:flex;flex-direction:column;align-items:center;gap:4px}.analysis-trend-bar{width:26px;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,#4fd1c5 0%,var(--analysis-accent) 55%,var(--analysis-accent-strong) 100%)}.analysis-trend-bar.tags{background:linear-gradient(180deg,#7ddf95 0%,var(--analysis-accent-alt) 55%,var(--analysis-accent-alt-strong) 100%)}.analysis-trend-item span{font-size:.78rem;color:var(--text-muted);text-transform:capitalize}.analysis-trend-item strong{font-size:.86rem}.analysis-anti-trend-legend{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:10px;color:var(--text-muted);font-size:.8rem}.analysis-legend-dot{width:9px;height:9px;border-radius:999px;display:inline-block;margin-right:6px;vertical-align:middle}.analysis-legend-dot.blue{background:var(--analysis-accent)}.analysis-legend-dot.green,.analysis-legend-dot.tags{background:var(--analysis-accent-alt)}.analysis-anti-trend-grid{display:grid;grid-template-columns:repeat(14,minmax(52px,1fr));gap:8px;align-items:end;min-height:170px;overflow-x:auto;padding-bottom:4px}.analysis-anti-trend-item{display:flex;flex-direction:column;align-items:center;gap:4px}.analysis-anti-trend-bars{display:flex;align-items:flex-end;gap:4px;height:122px;width:100%;justify-content:center;border-radius:10px;background:var(--analysis-surface-muted);border:1px solid var(--analysis-border);padding:4px 2px}.analysis-anti-trend-item>span{font-size:.73rem;color:var(--text-muted);line-height:1}.analysis-anti-trend-values{display:grid;gap:1px;justify-items:center;line-height:1.05}.analysis-anti-trend-values small{font-size:.67rem;color:var(--text-secondary)}.analysis-insights{display:grid;grid-template-columns:1fr 1fr;gap:10px}.analysis-insights h4{margin:0 0 8px;font-size:.95rem}.analysis-insights ul{margin:0;padding-left:18px;color:var(--text-secondary);display:grid;gap:6px}.analysis-table-wrap{overflow-x:auto}.analysis-table{width:100%;border-collapse:collapse;min-width:760px}.analysis-table th,.analysis-table td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--analysis-border);white-space:nowrap}.analysis-table th{color:var(--text-muted);font-size:.76rem;text-transform:uppercase;letter-spacing:.06em}.analysis-table tbody tr:hover{background:var(--analysis-surface-hover)}.analysis-alert-row.high{background:#fef2f2b3}.analysis-alert-row.warning{background:#fffbebb3}.analysis-alert-row.high:hover{background:#fee2e2d9}.analysis-alert-row.warning:hover{background:#fef3c7d9}.analysis-alert-severity{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:4px 8px;border-radius:999px;font-size:.72rem;font-weight:700;border:1px solid transparent}.analysis-alert-severity.high{color:#991b1b;background:#fee2e2;border-color:#fecaca}.analysis-alert-severity.warning{color:#92400e;background:#fef3c7;border-color:#fde68a}.analysis-alert-severity.info{color:var(--analysis-accent-strong);background:#ccfbf1;border-color:#99f6e4}.analysis-anti-footer{margin-top:10px;display:flex;justify-content:flex-end}.analysis-tags-wrap{display:grid;gap:10px}.analysis-tags-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.analysis-tag-kpi{background:#fff;border:1px solid var(--analysis-border);border-radius:12px;padding:12px;display:grid;gap:4px}.analysis-tag-kpi p{margin:0;color:var(--text-muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.05em}.analysis-tag-kpi strong{font-size:1.32rem;color:var(--text-primary)}.analysis-tag-kpi:first-child{border-color:var(--analysis-accent-border);background:var(--analysis-surface-muted)}.analysis-tag-kpi.open{border-color:#99f6e4;background:#f0fdfa}.analysis-tag-kpi.in-progress{border-color:#fed7aa;background:#fff7ed}.analysis-tag-kpi.resolved{border-color:#bbf7d0;background:#ecfdf3}@media (max-width: 1280px){.analysis-kpi-grid,.analysis-anti-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.analysis-grid-two{grid-template-columns:1fr}.analysis-tags-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.analysis-headline{flex-direction:column}.analysis-controls{min-width:0;width:100%;justify-content:flex-start;flex-wrap:wrap}.analysis-main-tabs,.analysis-sub-tabs{width:100%}.analysis-main-tab-btn,.analysis-sub-tab-btn{flex:1 1 calc(50% - 8px);text-align:center}.analysis-tabs-context{flex-direction:column;align-items:flex-start;gap:2px}.analysis-anti-report-head{flex-direction:column;align-items:stretch}.analysis-kpi-grid,.analysis-anti-kpi-grid{grid-template-columns:1fr}.analysis-trend-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.analysis-anti-trend-grid{grid-template-columns:repeat(14,52px)}.analysis-insights,.analysis-tags-kpis{grid-template-columns:1fr}}@media (max-width: 640px){.clinic-content{overflow-x:clip}.reception-shell{min-width:0;max-width:100%;padding-left:36px;padding-right:var(--space-3)}.ew-kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ew-toolbar .ew-toolbar-top-row{grid-template-columns:1fr}.ew-toolbar .ew-filter-item{flex:1 1 100%;max-width:none}.ew-toolbar .ew-date-controls{grid-template-columns:auto minmax(0,1fr) auto}.ew-toolbar .ew-date-controls .btn-with-icon{grid-column:1 / -1;justify-content:center}.ew-toolbar .ew-right-actions{justify-content:flex-start}.quick-bar.ew-toolbar{padding:8px;top:4px;border-radius:10px}.ew-toolbar .ew-toolbar-bottom-row{grid-template-columns:1fr;gap:8px}.ew-toolbar .ew-toolbar-left-row{grid-template-columns:1fr}.ew-toolbar .ew-filter-trigger{height:44px;padding:0 12px;border-radius:12px}.ew-period-nav{padding:4px 6px;gap:6px}.ew-period-nav-arrow{width:44px;height:44px;border-radius:10px;font-size:1.3rem}.ew-period-cal-btn{width:44px;height:44px;border-radius:10px}.ew-period-today-btn{height:38px;padding:0 14px;font-size:.82rem}.ew-period-label{font-size:.8rem;white-space:normal;text-align:center}.day-cal-popup,.day-cal-popup.ew-toolbar-cal-popup{position:fixed;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;width:min(calc(100vw - 24px),320px);max-width:320px;z-index:9999;animation:day-cal-fadein-mobile .18s ease}@keyframes day-cal-fadein-mobile{0%{opacity:0;transform:translate(-50%,-48%)}to{opacity:1;transform:translate(-50%,-50%)}}.day-strip-nav{width:44px;height:44px;border-radius:10px;flex-shrink:0}.day-chip{min-height:44px;font-size:.72rem;padding:0 8px}.day-strip{grid-template-columns:auto repeat(7,minmax(48px,1fr)) auto;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-snap-type:x mandatory}.day-strip::-webkit-scrollbar{display:none}.day-chip{scroll-snap-align:start}.ew-week-grid-head{grid-template-columns:48px repeat(7,minmax(80px,1fr))}.ew-right-calendar .calendar-day{min-height:36px;padding:0}.ew-right-calendar .calendar-day .day-number{top:3px;left:4px;font-size:.68rem;max-width:calc(100% - 18px)}.ew-right-calendar .calendar-day .day-dot{right:6px;bottom:6px}.ew-right-calendar .calendar-day .day-count{right:2px;bottom:2px;min-width:13px;height:13px;font-size:.5rem;padding:0 2px}.ew-right-calendar .calendar-header p{display:none}.agenda-columns{gap:var(--space-3)}.ew-agenda-area .ew-main-view-actions{gap:6px;padding:4px 0;flex-wrap:wrap}.ew-agenda-area .ew-main-view-actions .ew-toolbar-inline{flex:1 1 100%;min-width:0}.ew-agenda-area .ew-main-view-actions .ew-view-segmented{width:100%;max-width:none}.day-slot-grid{grid-template-columns:repeat(2,1fr)}.day-slot-button{min-height:38px;font-size:.72rem;border-radius:8px;padding:0 6px}}@media (max-width: 768px){.agenda-day{overflow-x:hidden}.agenda-day .day-strip-wrapper,.agenda-week .day-strip-wrapper,.ew-scheduler-shell.is-list-view .day-strip-wrapper{width:100%;box-sizing:border-box;overflow:hidden;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px}.agenda-day .day-strip,.agenda-week .day-strip,.ew-scheduler-shell.is-list-view .day-strip{width:auto;max-width:100%;grid-template-columns:auto repeat(7,86px) auto;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;scroll-snap-type:x proximity}.agenda-day .day-strip::-webkit-scrollbar,.agenda-week .day-strip::-webkit-scrollbar,.ew-scheduler-shell.is-list-view .day-strip::-webkit-scrollbar{display:none}.agenda-day .day-chip,.agenda-week .day-chip,.ew-scheduler-shell.is-list-view .day-chip{width:auto;min-width:0;scroll-snap-align:start}.agenda-day .day-strip-nav,.agenda-week .day-strip-nav,.ew-scheduler-shell.is-list-view .day-strip-nav{width:44px;height:44px;min-width:44px}.day-scroll-wrapper{position:relative;overflow:hidden}.day-scroll-wrapper:after{content:"";position:absolute;top:0;right:0;bottom:0;width:56px;background:linear-gradient(to right,transparent,rgba(255,255,255,.92));pointer-events:none;z-index:2}.day-scroll-container{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;scrollbar-width:none}.day-scroll-container::-webkit-scrollbar{display:none}.day-scroll-container .agenda-columns{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(290px,290px);min-width:max-content;gap:10px;align-items:start}.agenda-week{overflow-x:hidden}.agenda-week .day-strip-wrapper{width:100%;box-sizing:border-box}.week-scroll-wrapper{position:relative;overflow:hidden}.week-scroll-wrapper:after{content:"";position:absolute;top:0;right:0;bottom:0;width:56px;background:linear-gradient(to right,transparent,rgba(255,255,255,.92));pointer-events:none;z-index:2}.week-scroll-container{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.week-scroll-container::-webkit-scrollbar{display:none}.week-scroll-container .week-grid{grid-template-columns:100px repeat(7,120px);min-width:max-content;gap:6px}.agenda-week .week-professional{padding:6px 8px;font-size:.8rem}.agenda-week .week-cell{padding:6px;min-height:60px}.agenda-week .week-cell-appt-chip{font-size:.68rem;padding:2px 5px}}@media (max-width: 480px){.topbar-status-group,.topbar-clock,.topbar-sep{display:none}.settings-nav-item{height:34px;min-height:34px;padding:5px 8px;min-width:0}.nav-submenus{margin-left:6px;padding-left:6px}.clinic-nav-subbtn{padding:6px 7px;font-size:.75rem}.topbar-page-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-nav-label{display:none}.settings-content{padding:var(--space-4) var(--space-3)}.settings-content .card{padding:var(--space-4)}.clinic-config-section{padding:var(--space-3)}.clinic-weekday-chip{padding:9px 6px;width:100%}.pwd-modal-inner{min-width:0;width:100%}.pwd-modal-form{min-width:0}.form-actions .btn,.form-actions button{width:100%;justify-content:center}.config-summary{grid-template-columns:repeat(2,1fr)}.quick-bar.ew-toolbar{padding:6px;border-radius:8px}.ew-period-nav{gap:4px}.ew-period-label{font-size:.75rem}.day-strip{grid-template-columns:auto repeat(7,minmax(40px,1fr)) auto}.day-chip{min-height:40px;font-size:.68rem;padding:0 4px}.ew-toolbar .ew-filter-trigger{height:40px;padding:0 10px}.ew-kpi-row{grid-template-columns:1fr}}.wizard{display:flex;flex-direction:column;gap:var(--space-6)}.wizard-stepper{display:flex;align-items:flex-start;overflow-x:auto;padding-bottom:var(--space-2)}.wizard-step-item{display:flex;flex-direction:column;align-items:center;gap:var(--space-1);flex-shrink:0}.wizard-step-circle{width:32px;height:32px;border-radius:50%;border:2px solid var(--border);background:var(--surface);display:flex;align-items:center;justify-content:center;font-size:.82rem;font-weight:700;color:var(--muted);transition:all .2s ease}.wizard-step-item.active .wizard-step-circle{border-color:var(--primary);background:var(--primary);color:#fff}.wizard-step-item.done .wizard-step-circle{border-color:var(--secondary);background:var(--secondary);color:#fff}.wizard-step-label{font-size:.75rem;font-weight:500;color:var(--muted);white-space:nowrap}.wizard-step-item.active .wizard-step-label{color:var(--primary);font-weight:600}.wizard-step-item.done .wizard-step-label{color:var(--secondary)}.wizard-step-line{flex:1;height:2px;background:var(--border);min-width:16px;margin-top:15px;transition:background .2s ease}.wizard-step-line.done{background:var(--secondary)}.wizard-body{display:flex;flex-direction:column;gap:var(--space-4);min-height:260px}.wizard-step-title{font-family:var(--font-display);font-size:1.05rem;font-weight:600;margin:0 0 var(--space-2);display:flex;align-items:center;gap:var(--space-2)}.wizard-step-icon{font-size:1.2rem}.wizard-instructions{display:flex;flex-direction:column;gap:var(--space-3);list-style:none;margin:0;padding:0}.wizard-instruction-item{display:flex;gap:var(--space-3);align-items:flex-start}.wizard-instruction-num{width:22px;height:22px;border-radius:50%;background:#0f766e1a;color:var(--primary);font-size:.78rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px}.wizard-instruction-text{font-size:.92rem;line-height:1.6;color:var(--text)}.wizard-instruction-text strong{font-weight:600}.wizard-link{display:inline-flex;align-items:center;gap:4px;color:var(--primary);font-weight:500;text-decoration:none;font-size:.92rem}.wizard-link:hover{text-decoration:underline}.wizard-copy-row{display:flex;align-items:center;gap:var(--space-2);background:var(--surface-alt);border:1px solid var(--border);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);margin-top:var(--space-2)}.wizard-copy-uri{flex:1;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.8rem;color:var(--text);word-break:break-all}.wizard-copy-btn{background:var(--primary);color:#fff;border:none;border-radius:var(--radius-sm);padding:5px 12px;font-size:.82rem;font-weight:600;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:background .2s ease}.wizard-copy-btn:hover{background:var(--primary-700)}.wizard-tip{background:#f59e0b14;border:1px solid rgba(245,158,11,.25);border-radius:var(--radius-sm);padding:var(--space-3) var(--space-4);font-size:.88rem;color:#92400e;line-height:1.5}.wizard-actions{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding-top:var(--space-4);border-top:1px solid var(--border)}.wizard-connected{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-5);background:#16a34a0f;border:1px solid rgba(22,163,74,.22);border-radius:var(--radius-md)}.wizard-connected-icon{width:44px;height:44px;border-radius:50%;background:var(--secondary);color:#fff;font-size:1.3rem;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.wizard-connected-info{flex:1}.wizard-connected-title{font-size:.98rem;margin:0 0 3px}.wizard-connected-email{margin:0}.wizard-connected-actions{display:flex;gap:var(--space-2);flex-shrink:0}.google-method-selector{display:flex;gap:var(--space-2);margin-bottom:var(--space-5);border-bottom:2px solid var(--border);padding-bottom:0}.google-method-btn{background:transparent;border:none;border-bottom:3px solid transparent;border-radius:0;padding:var(--space-2) var(--space-4);font-size:.9rem;font-weight:600;color:var(--muted);cursor:pointer;margin-bottom:-2px;transition:color .15s,border-color .15s;display:flex;align-items:center;gap:var(--space-2)}.google-method-btn:hover{color:var(--text);transform:none;box-shadow:none}.google-method-btn.active{color:var(--primary);border-bottom-color:var(--primary)}.google-method-btn .google-method-badge{font-size:.72rem;font-weight:700;padding:2px 7px;border-radius:999px;background:#16a34a1f;color:#166534}.google-ops-panel{margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px dashed rgba(148,163,184,.42);display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.google-ops-copy{display:grid;gap:4px}.google-ops-copy strong{font-size:.9rem;color:var(--text)}.google-ops-copy span,.google-ops-copy small{color:var(--muted);line-height:1.4}.google-ops-copy small{font-size:.75rem}.google-ops-actions{display:flex;align-items:center;gap:var(--space-2);flex-shrink:0}.sa-json-actions{display:flex;gap:var(--space-2);margin-bottom:var(--space-2)}.sa-upload-btn{background:var(--surface-alt);border:1px solid var(--border);color:var(--text);border-radius:var(--radius-sm);padding:8px 14px;font-size:.88rem;font-weight:500;cursor:pointer;transition:background .15s}.sa-upload-btn:hover{background:var(--border);transform:none;box-shadow:none}.sa-json-textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.82rem;line-height:1.55;resize:vertical}.clinic-data-export{display:flex;flex-direction:column;gap:20px}.export-hero .card-body{padding:24px}.export-hero-inner{display:flex;gap:16px;align-items:flex-start}.export-hero-icon{font-size:2.4rem;line-height:1;flex-shrink:0;margin-top:2px}.export-hero-title{font-size:1.15rem;font-weight:700;color:var(--text-primary, #111827);margin:0 0 8px}.export-hero-desc{font-size:.9rem;color:var(--text-secondary, #374151);margin:0 0 6px;line-height:1.55}.export-hero-desc.muted{color:var(--text-muted, #6b7280);font-size:.82rem}.export-categories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.export-category-card{display:flex;align-items:flex-start;gap:12px;background:var(--surface-alt, #f9fafb);border:1px solid var(--border, #e5e7eb);border-radius:10px;padding:12px 14px;position:relative}.export-category-icon{font-size:1.5rem;line-height:1;flex-shrink:0;margin-top:1px}.export-category-body{flex:1;min-width:0}.export-category-label{display:block;font-size:.88rem;font-weight:600;color:var(--text-primary, #111827);margin-bottom:4px}.export-category-desc{font-size:.78rem;line-height:1.45;color:var(--text-muted, #6b7280);margin:0 0 4px}.export-category-count{display:inline-block;font-size:.75rem;font-weight:600;color:var(--primary, #4f46e5);background:color-mix(in srgb,var(--primary, #4f46e5) 10%,transparent);border-radius:999px;padding:1px 8px}.export-category-check{position:absolute;top:8px;right:8px;font-size:.7rem;color:#16a34a;background:#dcfce7;border-radius:50%;width:18px;height:18px;display:flex;align-items:center;justify-content:center}.export-action-panel{display:flex;flex-direction:column;gap:16px}.export-alert{display:flex;align-items:center;gap:8px;border-radius:8px;padding:10px 16px;font-size:.88rem;font-weight:500}.export-alert-error{background:#fef2f2;border:1px solid #fca5a5;color:#dc2626}.export-alert-success{background:#f0fdf4;border:1px solid #86efac;color:#16a34a}.export-alert-warn{background:#fffbeb;border:1px solid #fcd34d;color:#92400e}.export-drive-loading{display:flex;align-items:center;gap:10px;font-size:.88rem;color:var(--text-muted, #6b7280)}.export-drive-toggle-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.export-drive-toggle-label{font-size:.9rem;color:var(--text-primary, #111827)}.export-drive-switch{flex-shrink:0;display:inline-flex;cursor:pointer;position:relative}.export-drive-switch input{position:absolute;opacity:0;width:0;height:0}.export-drive-switch-track{display:block;width:44px;height:24px;border-radius:999px;background:var(--border, #d1d5db);transition:background .2s;position:relative}.export-drive-switch-track:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px #0003}.export-drive-switch input:checked+.export-drive-switch-track{background:var(--primary, #4f46e5)}.export-drive-switch input:checked+.export-drive-switch-track:after{transform:translate(20px)}.export-drive-switch input:disabled+.export-drive-switch-track{opacity:.5;cursor:not-allowed}.export-action-row{display:flex;flex-direction:column;gap:8px}.export-btn{display:inline-flex;align-items:center;gap:8px;width:fit-content}.export-spinner{display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:export-spin .7s linear infinite;flex-shrink:0}@keyframes export-spin{to{transform:rotate(360deg)}}.export-action-hint{font-size:.82rem;color:var(--text-muted, #6b7280);margin:0}.export-last-info{display:flex;align-items:center;gap:8px;font-size:.85rem;color:var(--text-secondary, #374151);padding:10px 14px;background:var(--surface-alt, #f9fafb);border:1px solid var(--border, #e5e7eb);border-radius:8px}.export-last-info .muted{color:var(--text-muted, #6b7280)}.export-no-history{font-size:.82rem;margin:0}.export-security-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.export-security-list li{display:flex;gap:10px;align-items:flex-start;font-size:.88rem;color:var(--text-secondary, #374151);line-height:1.5}.export-guide-list{display:flex;flex-direction:column;gap:12px}.export-guide-item{display:flex;flex-direction:column;gap:4px}.export-guide-tool{font-size:.85rem;font-weight:600;color:var(--text-primary, #111827)}.export-guide-step{display:block;font-size:.78rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;background:var(--surface-alt, #f3f4f6);border:1px solid var(--border, #e5e7eb);border-radius:6px;padding:6px 10px;color:var(--text-secondary, #374151);overflow-x:auto;white-space:pre}@media (max-width: 640px){.export-categories-grid{grid-template-columns:1fr}.export-hero-inner{flex-direction:column}}.wizard-sa-email-ok{display:flex;align-items:center;gap:var(--space-2);background:#16a34a12;border:1px solid rgba(22,163,74,.2);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);font-size:.88rem;color:#166534}.wizard-sa-email-check{font-weight:700;font-size:1rem}.whatsapp-integration-widget{gap:var(--space-4);margin-bottom:var(--space-5)}.whatsapp-integration-body{min-height:auto;padding:var(--space-4);border:1px solid var(--border);border-radius:var(--radius-md);background:linear-gradient(180deg,#fffffff2,#f8fafcf2)}.whatsapp-integration-header{align-items:flex-start;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}.whatsapp-integration-header .wizard-step-title{margin-bottom:4px}.whatsapp-brand-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;color:#25d366;flex-shrink:0}.whatsapp-integration-subtitle{margin:0}.whatsapp-integration-badges{display:flex;flex-wrap:wrap;gap:8px}.whatsapp-guide-wrap{display:flex;flex-direction:column;gap:var(--space-3)}.whatsapp-guide-stepper{padding-bottom:0}.whatsapp-guide-panel{border:1px solid var(--border);background:var(--surface);border-radius:var(--radius-md);padding:var(--space-4)}.whatsapp-guide-panel .wizard-step-title{margin-bottom:var(--space-2)}.whatsapp-guide-panel .muted{margin:0 0 var(--space-3)}.whatsapp-guide-cta{margin-top:0;display:flex;justify-content:flex-start;padding:2px 0 4px;min-height:40px}.whatsapp-guide-actions{margin-top:0;position:relative}.whatsapp-qr-panel{display:flex;flex-direction:column;gap:var(--space-3)}.whatsapp-qr-title{margin:0;font-weight:600;color:var(--text)}.whatsapp-qr-frame{width:fit-content;padding:12px;border-radius:var(--radius-md);border:1px solid var(--border);background:#fff;box-shadow:0 8px 24px #0f172a0f}.whatsapp-qr-image{width:240px;height:240px;display:block;border-radius:8px}.whatsapp-qr-note{margin:0}.whatsapp-connected-box{background:#16a34a0d}.whatsapp-integration-error{font-size:.88rem}.whatsapp-integration-actions{justify-content:flex-start}@media (max-width: 600px){.wizard-step-label{display:none}.wizard-step-line{min-width:12px}.wizard-connected{flex-wrap:wrap}.google-method-selector{gap:0}.google-ops-panel{flex-direction:column;align-items:flex-start}.google-ops-actions{width:100%;flex-wrap:wrap}.whatsapp-qr-image{width:min(240px,70vw);height:min(240px,70vw)}}.confirmations-page{display:grid;gap:var(--space-4);width:100%;max-width:1520px;margin:0 auto;padding:var(--space-5) var(--space-6) var(--space-6);box-sizing:border-box}.confirmations-section-heading,.confirmations-filters-header,.confirmations-panel-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.confirmations-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3);flex-wrap:wrap}.confirmations-header-main{min-width:240px}.confirmations-header-actions{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.confirmations-header-actions .btn{white-space:nowrap}.confirmations-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.confirmations-kpi-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.confirmations-kpi-card{padding:14px;border-radius:14px;border:1px solid rgba(148,163,184,.14);background:#ffffffeb}.confirmations-kpi-card .card-body{gap:6px}.confirmations-kpi-strip-card{padding:14px 16px;border-radius:16px}.confirmations-kpi-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.confirmations-kpi-chip{padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:var(--surface-alt);min-width:0}.confirmations-kpi-chip-label{display:block;font-size:.72rem;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.confirmations-kpi-chip-value{display:block;margin-top:4px;font-size:1rem;line-height:1.1}.confirmations-kpi-strip-note{margin-top:10px;font-size:.82rem}.confirmations-kpi-title{font-size:.79rem;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.confirmations-kpi-value{font-size:1.45rem;line-height:1.1}.confirmations-tabs-card{padding:8px}.confirmations-tabs-card .card-body{gap:0}.confirmations-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.confirmations-tab-btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;border:1px solid var(--border);padding:9px 14px;background:var(--surface-alt);color:var(--text);font-size:.86rem;font-weight:600;line-height:1}.confirmations-tab-btn:hover{border-color:#0f766e59;background:#eef4ff;color:var(--primary-700)}.confirmations-tab-btn.active{background:var(--primary);border-color:var(--primary);color:#fff}.confirmations-tab-count{border-radius:999px;border:1px solid currentColor;padding:2px 8px;font-size:.74rem;font-weight:700}.confirmations-tabs .confirmations-tab-btn{flex:1 1 220px;justify-content:space-between}.confirmations-panel{padding:var(--space-5)}.confirmations-panel-surface{border-radius:18px}.confirmations-panel .card-body{gap:12px}.confirmations-panel-header{margin-bottom:2px}.confirmations-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.confirmations-filters-card{padding:14px 16px;border-radius:16px}.confirmations-toolbar .field{margin:0;min-width:0}.confirmations-toolbar .field span{font-size:.79rem;color:var(--text-secondary);font-weight:600}.confirmations-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin-bottom:2px}.confirmations-summary-item{border:1px solid var(--border);border-radius:var(--radius-md);background:#f8fafcd1;padding:10px}.confirmations-summary-item strong{display:block;font-size:1.08rem;margin-bottom:2px}.confirmations-analytics-grid{display:grid;gap:10px}.confirmations-analytics-grid-enhanced{grid-template-columns:minmax(0,1.05fr) minmax(0,1.1fr);align-items:start}.confirmations-analytics-grid-enhanced .confirmations-analytics-card:last-child{grid-column:1 / -1}.confirmations-analytics-card{border:1px solid var(--border);border-radius:var(--radius-md);background:#f8fafcd1;padding:10px}.confirmations-analytics-header{margin-bottom:8px;gap:10px;align-items:flex-start}.confirmations-analytics-empty{margin-top:4px}.confirmations-metric-fallback{margin-top:8px;font-size:.82rem}.confirmations-trend-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(40px,1fr));gap:8px;align-items:end;padding:6px 4px 2px}.confirmations-trend-col{display:grid;gap:6px}.confirmations-trend-bars{height:104px;display:flex;align-items:flex-end;justify-content:center;gap:4px;border-radius:10px;background:#ffffffa6;border:1px solid rgba(148,163,184,.18);padding:4px 3px}.confirmations-trend-bar{width:11px;border-radius:999px;min-height:2px}.confirmations-trend-bar.confirmed{background:#22c55e}.confirmations-trend-bar.no-response{background:#f59e0b}.confirmations-trend-meta{display:grid;justify-items:center;line-height:1.1;gap:2px;font-size:.72rem}.confirmations-trend-meta small{color:var(--muted);font-size:.68rem}.confirmations-patient-link{border:none;background:transparent;color:var(--primary-700);font-weight:600;padding:0;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.confirmations-patient-link:hover{color:var(--primary)}.confirmations-pagination{margin-top:12px}.confirmations-pagination .muted{text-align:center}.rebooking-slots-list{display:grid;gap:10px}.rebooking-slot-card{border:1px solid var(--border);border-radius:var(--radius-md);background:#f8fafcb8}.rebooking-slot-header{width:100%;border:none;background:transparent;color:inherit;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;text-align:left;padding:12px}.rebooking-slot-main{min-width:0;flex:1}.rebooking-slot-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rebooking-slot-meta,.rebooking-slot-summary{font-size:.84rem;margin-top:4px}.rebooking-slot-summary{white-space:normal;overflow-wrap:anywhere}.rebooking-slot-count{display:flex;align-items:center;gap:6px;flex-shrink:0;font-size:.8rem}.rebooking-slot-count .muted{text-align:right}.rebooking-slot-arrow{color:var(--muted);font-size:.72rem}.rebooking-slot-expanded{border-top:1px solid var(--border);padding:10px 12px 12px}.rebooking-slot-expanded-title{margin-bottom:8px;font-size:.85rem}.rebooking-candidate-notes{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rebooking-empty-candidates{padding:10px 0}.ri-page{display:grid;gap:18px;padding:var(--space-5);max-width:1360px;margin:0 auto}.ri-page-mobile{max-width:100%}.ri-page-disabled{min-height:calc(100vh - 140px);align-items:center}.ri-disabled-stage{display:grid;place-items:center}.ri-hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.9fr);gap:14px;padding:16px 18px;border:1px solid #d7e4ef;border-radius:18px;background:radial-gradient(circle at top left,rgba(14,165,233,.12),transparent 34%),radial-gradient(circle at bottom right,rgba(22,163,74,.1),transparent 42%),linear-gradient(180deg,#fff,#f7fbfd);box-shadow:0 20px 40px #0f172a0f}.ri-hero-main{display:flex;align-items:flex-start;gap:12px}.ri-hero-badge{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;color:#0f766e;background:linear-gradient(135deg,#14b8a633,#0ea5e938);box-shadow:inset 0 1px #ffffffbf}.ri-hero-badge svg,.ri-kpi-icon svg,.ri-action-btn svg{width:18px;height:18px}.ri-eyebrow{display:inline-block;margin-bottom:5px;color:#0f766e;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.ri-hero h1{margin:0 0 6px;font-size:1.5rem;line-height:1.1;color:#334155}.ri-hero p{margin:0;max-width:64ch;font-size:.92rem;color:#4b5563}.ri-hero-note{margin:-6px 2px 0;color:#5b6778;font-size:.84rem;line-height:1.4}.ri-hero-side{display:flex;align-items:stretch}.ri-rate-shell{width:100%;display:grid;gap:6px;padding:14px;border-radius:16px;border:1px solid rgba(148,163,184,.28);background:#ffffffdb}.ri-rate-shell span,.ri-kpi-copy span,.ri-candidate-grid label,.ri-filter span{color:#64748b;font-size:.78rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.ri-rate-shell strong{font-size:1.6rem;line-height:1;color:#334155}.ri-rate-shell small,.ri-kpi-copy small,.ri-slot-meta small{color:#64748b}.ri-tabs-shell{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:10px 12px;border:1px solid rgba(215,228,239,.95);border-radius:16px;background:linear-gradient(180deg,#fffffff5,#f7fbfdf0);box-shadow:0 10px 24px #0f172a0a}.ri-tabs-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:2px}.ri-tab-btn{border:1px solid rgba(203,213,225,.9);background:#fff;color:#64748b;border-radius:10px;padding:7px 12px;font-size:.84rem;font-weight:700}.ri-tab-btn.is-active{border-color:#0f766e47;background:#14b8a61a;color:#0f766e;box-shadow:inset 0 1px #ffffffd1}.ri-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ri-kpi-grid-compact{grid-template-columns:repeat(5,minmax(0,1fr))}.ri-overview-stage{display:grid;gap:12px}.ri-overview-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.72fr);gap:10px;padding:11px 12px;border:1px solid #d9e6ee;border-radius:16px;background:radial-gradient(circle at top left,rgba(14,165,233,.07),transparent 24%),radial-gradient(circle at bottom right,rgba(22,163,74,.07),transparent 28%),linear-gradient(180deg,#fff,#fafcfd)}.ri-overview-hero-main{display:grid;gap:5px}.ri-overview-hero-main h2{margin:0;color:#334155;font-size:1rem;line-height:1.05;font-weight:600;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ri-overview-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.ri-overview-highlight,.ri-overview-side-card{display:grid;gap:2px;padding:7px 9px;border-radius:10px;border:1px solid rgba(226,232,240,.72);background:#ffffffb8}.ri-overview-highlight span,.ri-overview-side-card span,.ri-overview-mini-kpis label{color:#64748b;font-size:.69rem;font-weight:600;letter-spacing:.01em;text-transform:none}.ri-overview-highlight strong,.ri-overview-side-card strong,.ri-overview-mini-kpis strong{color:#334155;font-size:.96rem;font-weight:600}.ri-overview-highlight small,.ri-overview-side-card small{color:#64748b;font-size:.73rem}.ri-overview-hero-side{display:grid;gap:7px}.ri-overview-demand{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:start}.ri-overview-demand-card{display:grid;align-content:start;gap:6px;padding:9px 10px;border-radius:14px;border:1px solid rgba(226,232,240,.72);background:#ffffffbd;min-height:100%}.ri-overview-mini-kpis{display:grid;align-content:start;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ri-overview-mini-kpis>div{display:grid;gap:4px;padding:6px 7px;border-radius:9px;background:#f8fafc8f;border:1px solid rgba(226,232,240,.62)}.ri-kpi-section-head{grid-column:1 / -1;display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 2px}.ri-kpi-section-head small{color:#64748b;font-size:.82rem}.ri-kpi-card{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;padding:11px 12px;border-radius:12px;border:1px solid rgba(219,228,234,.82);background:#fffc;box-shadow:none}.ri-kpi-card-warm{border-color:#f59e0b40;background:linear-gradient(180deg,#fffdf6,#fff)}.ri-kpi-card-success{border-color:#16a34a40;background:linear-gradient(180deg,#f6fffb,#fff)}.ri-kpi-card-history{border-color:#0ea5e933;background:linear-gradient(180deg,#f8fcff,#fff)}.ri-kpi-icon{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:#0f766e;background:#14b8a614}.ri-kpi-copy{display:grid;gap:4px}.ri-kpi-copy strong{font-size:1.15rem;line-height:1;color:#334155;font-weight:600}.ri-kpi-card-compact-value .ri-kpi-copy strong{font-size:.92rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ri-kpi-times{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}.ri-kpi-time-chip{display:inline-flex;align-items:center;padding:4px 7px;border-radius:6px;border:0;background:#f0f9ff73;color:#0369a1;font-size:.74rem;font-weight:600}.ri-control-card,.ri-audit-card,.ri-disabled-card{border-radius:24px;border:1px solid rgba(215,228,239,.95);background:radial-gradient(circle at top right,rgba(20,184,166,.035),transparent 24%),linear-gradient(180deg,#fffffffc,#f9fbfdfa);box-shadow:0 14px 28px #0f172a0b}.ri-disabled-card{width:min(1120px,100%);padding:0;overflow:hidden;border:1px solid #d6e4ec;box-shadow:0 28px 60px #0f172a1f;background:radial-gradient(circle at top left,rgba(20,184,166,.12),transparent 26%),radial-gradient(circle at bottom right,rgba(14,165,233,.12),transparent 30%),linear-gradient(180deg,#fff,#f8fbfd)}.ri-disabled-poster{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.72fr);min-height:420px}.ri-disabled-hero{display:grid;gap:20px;padding:34px}.ri-disabled-badge-row{display:flex;align-items:center;gap:12px}.ri-disabled-badge{width:64px;height:64px}.ri-disabled-chip{display:inline-flex;align-items:center;border-radius:999px;padding:8px 14px;background:#0f766e1a;color:#0f766e;font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.ri-disabled-copy h2{margin:0 0 12px;max-width:14ch;font-size:2.3rem;line-height:1.02;color:#334155}.ri-disabled-copy>div>p{margin:0;max-width:62ch;color:#475569;font-size:1rem;line-height:1.65}.ri-disabled-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ri-disabled-feature{display:grid;gap:8px;padding:16px;border-radius:18px;background:#ffffffd1;border:1px solid rgba(203,213,225,.7)}.ri-disabled-feature strong{color:#334155;font-size:.95rem}.ri-disabled-feature span{color:#475569;font-size:.9rem;line-height:1.5}.ri-control-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.ri-control-actions-easy{width:100%;justify-content:flex-end;margin-top:-2px}.ri-control-actions-tabs{width:auto;margin-top:0;margin-left:auto;align-items:center;flex-wrap:nowrap;gap:12px}.ri-control-actions-tabs .ri-filter{display:flex;align-items:center;gap:8px;margin:0}.ri-control-actions-tabs .ri-filter span{margin:0;white-space:nowrap;line-height:40px}.ri-control-actions-tabs .ri-filter select{min-width:200px;height:40px;padding-top:0;padding-bottom:0}.ri-control-actions-tabs .ri-window-filter-chips{display:flex;align-items:center;gap:8px;align-self:center}.ri-control-actions-tabs .ri-filter-chip,.ri-control-actions-tabs .ri-header-icon-btn{height:40px}.ri-control-actions-tabs .ri-filter-chip{padding:0 12px}.ri-control-actions-tabs .ri-header-icon-btn{width:40px;min-width:40px;padding:0;display:inline-flex;align-items:center;justify-content:center}.ri-window-filter-chips{align-self:end}.ri-filter{display:grid;gap:6px}.ri-filter select{min-width:200px;border:1px solid var(--border);border-radius:12px;padding:10px 12px;background:#fff;color:var(--text)}.ri-toast,.ri-error-banner{border-radius:16px;padding:12px 14px;font-weight:600}.ri-toast-success{color:#14532d;background:#16a34a1f;border:1px solid rgba(22,163,74,.2)}.ri-toast-danger,.ri-error-banner{color:#991b1b;background:#ef44441f;border:1px solid rgba(239,68,68,.22)}.ri-slots-list,.ri-candidate-stack,.ri-guardrails{display:grid;gap:14px}.ri-workbench{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:18px;align-items:start}.ri-workbench-easy{gap:14px}.ri-slot-rail,.ri-detail-panel{min-width:0}.ri-slot-rail{position:sticky;top:16px;display:grid;gap:14px;padding:12px;border-radius:16px;border:1px solid rgba(219,231,243,.9);background:linear-gradient(180deg,#fcfeff,#f8fbfd)}.ri-detail-panel{display:grid;gap:10px;padding:12px;border-radius:16px;border:1px solid rgba(219,231,243,.9);background:linear-gradient(180deg,#fff,#fafcfd)}.ri-slot-rail-header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-radius:18px;border:1px solid #d8e3ea;background:linear-gradient(180deg,#fff,#f9fcff)}.ri-slot-rail-header strong{color:#334155}.ri-slot-rail-header span{color:#64748b;font-size:.84rem;font-weight:700}.ri-slot-rail-list{display:grid;gap:12px;max-height:calc(100vh - 320px);overflow-y:auto;padding-right:4px}.ri-slot-list-item{width:100%;display:grid;gap:12px;text-align:left;padding:16px;border-radius:20px;border:1px solid #d9e3ea;background:radial-gradient(circle at top right,rgba(14,165,233,.05),transparent 28%),linear-gradient(180deg,#fff,#fbfcfe);color:inherit;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.ri-slot-list-item:hover{transform:translateY(-1px);border-color:#0ea5e959;box-shadow:0 14px 28px #0f172a0f}.ri-slot-list-item.is-active{border-color:#0f766e61;box-shadow:0 18px 34px #0f766e1a;background:radial-gradient(circle at top right,rgba(20,184,166,.12),transparent 36%),linear-gradient(180deg,#fff,#f5fcfb)}.ri-slot-list-item.is-past-today{background:radial-gradient(circle at top right,rgba(249,115,22,.07),transparent 34%),linear-gradient(180deg,#fff,#fffaf6)}.ri-slot-list-top,.ri-slot-list-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.ri-slot-list-queue{display:flex}.ri-queue-pill{display:inline-flex;align-items:center;min-height:auto;padding:0;border:0;background:transparent;border-radius:0;font-size:.72rem;font-weight:700;letter-spacing:.02em}.ri-queue-pill-success{color:#0f766e}.ri-queue-pill-warm{color:#b45309}.ri-queue-pill-default{color:#64748b}.ri-slot-list-top-main{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.ri-slot-list-day{color:#0f766e;font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.ri-slot-flag{display:inline-flex;align-items:center;min-height:auto;padding:0;border-radius:0;font-size:.68rem;font-weight:700;letter-spacing:.03em;white-space:nowrap}.ri-slot-flag-today{color:#0f766e;background:transparent;border:0}.ri-slot-flag-past{color:#9a3412;background:transparent;border:0}.ri-slot-list-time{color:#334155;font-size:.9rem;font-weight:700}.ri-slot-list-main{display:grid;gap:6px}.ri-slot-list-main strong{color:#334155;font-size:1rem}.ri-slot-list-main p,.ri-slot-list-highlight small,.ri-slot-list-footer span{margin:0;color:#64748b}.ri-slot-list-highlight{display:grid;gap:4px;padding:12px;border-radius:16px;background:#f8fafceb;border:1px solid rgba(226,232,240,.9)}.ri-slot-list-highlight span{color:#0f766e;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.ri-slot-list-highlight strong{color:#334155}.ri-slot-card-focus{gap:18px;min-height:100%}.ri-easy-card{overflow:hidden}.ri-easy-panel{display:grid;gap:12px;padding:6px}.ri-easy-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:center;padding:12px 14px;border-radius:16px;border:1px solid rgba(214,226,234,.9);background:radial-gradient(circle at top right,rgba(20,184,166,.06),transparent 28%),linear-gradient(180deg,#fff,#fbfcfe)}.ri-easy-hero-copy{display:grid;gap:4px}.ri-easy-hero-copy h2{margin:0;font-size:1.55rem;color:#334155;font-weight:600;line-height:1.05}.ri-easy-hero-copy p{margin:0;color:#64748b;font-size:.92rem;font-weight:400}.ri-easy-hero-copy small{color:#64748b;font-size:.82rem;font-weight:400}.ri-easy-section-head p,.ri-easy-candidate-head span,.ri-easy-candidate-note,.ri-easy-attempt-main span,.ri-easy-attempt-main small,.ri-easy-recommended p{color:#64748b}.ri-easy-summary-line{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:4px 2px 0}.ri-easy-summary-line span{color:#0f766e;font-size:.78rem;font-weight:500}.ri-easy-summary-line strong{color:#334155;font-size:.9rem;font-weight:400}.ri-easy-slot-item{width:100%;display:grid;gap:8px;text-align:left;padding:12px 14px;border-radius:16px;border:1px solid #d9e3ea;background:linear-gradient(180deg,#fff,#fbfdff);color:inherit;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.ri-easy-slot-item:hover{transform:translateY(-1px);border-color:#0ea5e959;box-shadow:0 10px 24px #0f172a0f}.ri-easy-slot-item.is-active{border-color:#0f766e61;box-shadow:0 14px 28px #0f766e1a;background:linear-gradient(180deg,#fff,#f5fcfb)}.ri-easy-slot-item.is-muted{background:linear-gradient(180deg,#fff,#fcfcfd)}.ri-easy-slot-item.is-occupied{border-color:#cbd5e1f2;background:linear-gradient(180deg,#f1f5f9,#e2e8f0);box-shadow:none}.ri-easy-slot-item.is-occupied .ri-slot-list-day,.ri-easy-slot-item.is-occupied .ri-easy-slot-top strong,.ri-easy-slot-item.is-occupied .ri-easy-slot-main strong,.ri-easy-slot-item.is-occupied .ri-easy-slot-main span,.ri-easy-slot-item.is-occupied .ri-easy-slot-hint{color:#475569}.ri-easy-slot-top,.ri-easy-slot-footer{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap}.ri-easy-slot-top strong,.ri-easy-slot-main strong{color:#334155}.ri-easy-slot-main{display:grid;gap:4px}.ri-easy-slot-main span,.ri-easy-slot-hint{color:#64748b}.ri-easy-slot-pill{display:inline-flex;align-items:center;padding:0;border:0;background:transparent;font-size:.76rem;font-weight:700}.ri-easy-slot-pill-success{color:#15803d}.ri-easy-slot-pill-warm{color:#b45309}.ri-easy-slot-pill-default{color:#64748b}.ri-easy-slot-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#47556924;color:#334155;font-size:.72rem;font-weight:700}.ri-easy-recommended{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 14px;border-radius:16px;border:1px solid rgba(15,118,110,.18);background:linear-gradient(180deg,#f8fffd,#fff)}.ri-easy-recommended>div{display:grid;gap:4px}.ri-easy-recommended strong,.ri-easy-section-head h3,.ri-easy-candidate-head strong,.ri-easy-attempt-main strong{color:#334155}.ri-easy-primary{min-width:220px;justify-content:center}.ri-easy-section{display:grid;gap:10px}.ri-easy-section-head{display:flex;justify-content:space-between;gap:10px;align-items:end}.ri-easy-section-head h3{margin:0;font-size:.95rem;font-weight:500;letter-spacing:.01em}.ri-easy-candidate-list,.ri-easy-attempt-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;padding:14px;border-radius:24px;background:radial-gradient(circle at top left,rgba(20,184,166,.1),transparent 28%),radial-gradient(circle at bottom right,rgba(14,165,233,.1),transparent 30%),linear-gradient(180deg,#f8fafcdb,#f1f5f9c7);border:1px solid rgba(226,232,240,.95)}.ri-easy-candidate-card,.ri-easy-attempt-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;padding:12px;border-radius:20px;border:1px solid rgba(226,232,240,.9);background:radial-gradient(circle at top right,rgba(20,184,166,.1),transparent 34%),linear-gradient(180deg,#fffffffa,#f8fafcf5);box-shadow:0 12px 24px #0f172a0d}.ri-easy-candidate-main,.ri-easy-attempt-main{display:grid;gap:6px}.ri-easy-candidate-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.ri-easy-person-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ri-easy-candidate-head strong,.ri-easy-attempt-main strong{font-size:.96rem;font-weight:500}.ri-easy-person-line span{font-size:.82rem;color:#64748b}.ri-easy-candidate-meta{display:flex;flex-wrap:wrap;gap:6px}.ri-easy-mini-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#f0f9ffeb;color:#0f766e;font-size:.72rem;font-weight:600}.ri-easy-mini-pill-status-badge-success{background:#f0fdf4f5;color:#166534}.ri-easy-mini-pill-status-badge-warning{background:#fff7edf5;color:#b45309}.ri-easy-mini-pill-status-badge-danger{background:#fef2f2f5;color:#b91c1c}.ri-easy-mini-pill-status-badge-neutral{background:#f8fafcf5;color:#475569}.ri-easy-candidate-note{margin:0;line-height:1.35;font-size:.82rem;font-weight:400}.ri-easy-candidate-action{min-width:40px;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:0!important;border-radius:12px!important}.ri-easy-candidate-action svg{width:16px;height:16px;flex:0 0 16px}.ri-easy-card-actions{display:grid;align-self:stretch;align-content:start}.ri-easy-attempt-actions{display:flex;align-items:center;gap:8px}.ri-easy-icon-link{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid rgba(191,219,254,.95);background:#eff6fff5;color:#0369a1;text-decoration:none}.ri-easy-icon-link:hover{background:#f0f9ffe6;text-decoration:none}.ri-easy-icon-link svg{width:15px;height:15px}.ri-easy-person-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;font-size:.82rem;font-weight:700;letter-spacing:.04em}.ri-easy-person-mark-candidate{background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff}.ri-easy-person-mark-attempt{background:linear-gradient(135deg,#0ea5e9,#38bdf8);color:#fff}.ri-easy-attempt-note{margin:0;color:#334155;font-size:.8rem;line-height:1.35;font-weight:400;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ri-easy-history-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ri-easy-history-line small{color:#0f766e;font-size:.74rem;font-weight:500}.ri-easy-history-line span{color:#64748b;font-size:.78rem;font-weight:400}.ri-slot-card{display:grid;gap:14px;padding:14px;border-radius:20px;border:1px solid #d8e3ea;background:radial-gradient(circle at right top,rgba(14,165,233,.06),transparent 30%),linear-gradient(180deg,#fff,#fbfdff)}.ri-slot-header{display:flex;justify-content:space-between;gap:12px;align-items:start}.ri-slot-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ri-slot-summary-strip>div{display:grid;gap:4px;padding:12px 14px;border-radius:16px;border:1px solid rgba(226,232,240,.9);background:#f8fafcc7}.ri-slot-summary-strip label,.ri-candidate-grid label{color:#64748b;font-size:.76rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.ri-slot-summary-strip strong{color:#334155;font-size:1rem}.ri-slot-summary-note{color:#64748b;font-size:.82rem;line-height:1.35}.ri-next-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border-radius:16px;border:1px solid rgba(15,118,110,.22);background:radial-gradient(circle at right top,rgba(20,184,166,.14),transparent 34%),linear-gradient(180deg,#f8fffd,#fff)}.ri-next-action-muted{border-color:#94a3b83d;background:radial-gradient(circle at right top,rgba(148,163,184,.1),transparent 34%),linear-gradient(180deg,#fbfdff,#fff)}.ri-next-action-copy{display:grid;gap:4px}.ri-next-action-copy h3{margin:0;color:#334155;font-size:1.06rem}.ri-next-action-score{color:#0f766e;font-size:.78rem;font-weight:700;letter-spacing:.02em}.ri-next-action-copy p,.ri-next-action-slot{margin:0;color:#475569}.ri-next-action-side{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;justify-content:flex-end}.ri-next-action-btn{min-width:0;white-space:nowrap}.ri-candidate-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.ri-candidate-toolbar small{color:#64748b}.ri-candidate-filter-chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.ri-filter-caption{color:#64748b;font-size:.78rem;font-weight:700}.ri-filter-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(203,213,225,.9);background:#fff;color:#475569;border-radius:12px;padding:6px 10px;font-size:.82rem;font-weight:700}.ri-filter-chip strong{min-width:20px;text-align:center;color:#334155;font-size:.76rem}.ri-filter-chip.is-active{border-color:#0f766e47;background:#14b8a61f;color:#0f766e}.ri-slot-heading{display:grid;gap:4px}.ri-slot-day{color:#0f766e;font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.ri-slot-heading h3{margin:0;font-size:1.2rem}.ri-slot-heading p,.ri-candidate-person span,.ri-candidate-grid p{margin:0;color:#475569}.ri-slot-meta{min-width:160px;text-align:right;display:grid;gap:4px;justify-items:end}.ri-slot-meta span{color:#334155;font-size:.94rem;font-weight:700}.ri-candidate-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px;border-radius:18px;border:1px solid rgba(148,163,184,.22);background:#f8fafcd1}.ri-dispatch-list{display:grid;gap:10px}.ri-dispatch-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border-radius:16px;border:1px solid rgba(226,232,240,.9);background:#f8fafcd6}.ri-dispatch-main{display:grid;gap:10px}.ri-dispatch-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.ri-dispatch-person{display:grid;gap:4px}.ri-dispatch-person span{color:#64748b}.ri-dispatch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ri-dispatch-grid div{display:grid;gap:4px;padding:10px 12px;border-radius:14px;background:#ffffffd1;border:1px solid rgba(226,232,240,.9)}.ri-dispatch-grid label{color:#64748b;font-size:.76rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.ri-dispatch-grid p{margin:0;color:#475569}.ri-dispatch-actions{display:flex;align-items:start}.ri-candidate-row.is-featured{border-color:#0f766e40;background:radial-gradient(circle at top right,rgba(20,184,166,.1),transparent 34%),linear-gradient(180deg,#fbfffe,#f8fafc)}.ri-candidate-main,.ri-disabled-copy{display:grid;gap:14px}.ri-candidate-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.ri-candidate-person{display:grid;gap:4px}.ri-candidate-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:end}.ri-badge-separator{color:#94a3b8;font-size:.78rem;font-weight:600;line-height:1}.ri-priority-pill{display:inline-flex;align-items:center;gap:6px;border-radius:0;padding:0;font-size:.76rem;font-weight:600;border:0}.ri-priority-pill-same-day{color:#155e75;background:transparent}.ri-priority-pill-near-day{color:#92400e;background:transparent}.ri-priority-pill-other-day{color:#475569;background:transparent}.ri-candidate-badges .badge{padding:0;border:0;border-radius:0;background:transparent;font-size:.76rem;font-weight:600}.ri-candidate-badges .badge-warning{color:#92400e}.ri-candidate-badges .badge-success{color:#166534}.ri-candidate-badges .badge-danger{color:#991b1b}.ri-candidate-badges .badge-neutral{color:#475569}.ri-candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ri-candidate-grid div{display:grid;gap:4px;padding:10px 12px;border-radius:14px;background:#ffffffc7;border:1px solid rgba(226,232,240,.9)}.ri-candidate-actions{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.ri-action-btn{display:inline-flex;align-items:center;gap:6px;min-width:104px;white-space:nowrap;justify-content:center;border-radius:12px;padding:8px 10px!important}.ri-action-btn-icon{min-width:38px;width:38px;height:38px;padding:0!important}.ri-action-btn-secondary{min-width:92px}.ri-next-action-btn,.ri-primary-btn,.ri-secondary-btn{border-radius:12px!important}.ri-next-action-btn{padding:8px 12px!important}.ri-primary-btn{background:linear-gradient(180deg,#22c55e,#16a34a)!important;border:1px solid #15803d!important;color:#fff!important;box-shadow:none!important}.ri-primary-btn:hover{background:linear-gradient(180deg,#16a34a,#15803d)!important}.ri-secondary-btn{background:#fff!important;border:1px solid rgba(203,213,225,.95)!important;color:#334155!important}.ri-next-action-btn svg,.ri-action-btn svg{width:16px;height:16px}.ri-day-intelligence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ri-day-insight-card{display:grid;gap:7px;padding:9px 10px;border-radius:14px;border:1px solid rgba(226,232,240,.9);background:linear-gradient(180deg,#fff,#fbfdff)}.ri-day-insight-head{display:grid;gap:1px;align-items:start}.ri-day-insight-head strong{display:inline-flex;align-items:center;gap:6px;color:#334155;font-size:.88rem;line-height:1.15;font-weight:600}.ri-day-insight-head strong svg{width:14px;height:14px;color:#0f766e}.ri-day-insight-head span{color:#64748b;font-size:.68rem;line-height:1.15}.ri-day-insight-head span,.ri-insight-empty,.ri-unmet-item small,.ri-unmet-item span{color:#64748b}.ri-time-demand-list{display:flex;flex-wrap:wrap;align-content:flex-start;gap:6px}.ri-time-demand-chip{display:grid;gap:4px;min-width:0;padding:6px 8px;border-radius:8px;background:#f8fafcb8;border:0;min-width:96px}.ri-time-demand-chip strong,.ri-unmet-item strong{color:#334155}.ri-unmet-list{display:grid;align-content:start;gap:7px}.ri-unmet-item{display:flex;justify-content:space-between;gap:12px;align-items:start;padding:6px 8px;border-radius:10px;background:#f8fafc94;border:1px solid rgba(226,232,240,.66)}.ri-unmet-item>div{display:grid;gap:3px}.ri-unmet-item-compact{padding:6px 8px;border-radius:10px}.ri-loss-list{gap:6px}.ri-empty-state{display:grid;gap:10px;justify-items:start;padding:18px;border-radius:18px;border:1px dashed rgba(148,163,184,.4);background:#f8fafca8;color:#475569}.ri-empty-state-inline{padding:14px}.ri-empty-state-context{gap:14px}.ri-empty-state-copy{display:grid;gap:4px}.ri-empty-state-copy strong{color:#334155}.ri-empty-state-copy span{color:#64748b}.ri-empty-contact-list{display:grid;gap:8px;width:100%}.ri-empty-contact-item{display:flex;justify-content:space-between;gap:10px;align-items:start;padding:8px 10px;border-radius:12px;background:#ffffffe6;border:1px solid rgba(226,232,240,.92)}.ri-empty-contact-item>div{display:grid;gap:3px}.ri-empty-contact-copy{min-width:0}.ri-empty-contact-meta{display:grid;gap:6px;justify-items:end}.ri-empty-contact-item strong{color:#334155}.ri-empty-contact-item span,.ri-empty-contact-item small{color:#64748b}.ri-empty-contact-actions{display:flex;gap:6px}.ri-icon-action{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:#ffffffeb;border:1px solid rgba(203,213,225,.95);color:#0f766e;text-decoration:none}.ri-icon-action-primary{background:#14b8a61f;border-color:#0d94883d;color:#0f766e}.ri-icon-action:disabled{opacity:.55;cursor:wait}.ri-icon-action svg{width:14px;height:14px}.ri-inline-icon-btn,.ri-header-icon-btn,.ri-slot-meta-action{border:1px solid rgba(203,213,225,.95);background:#ffffffeb;color:#0f766e}.ri-inline-icon-btn-primary{border-color:#0d94883d;background:#14b8a61f}.ri-inline-icon-btn:hover,.ri-header-icon-btn:hover,.ri-slot-meta-action:hover{background:#f0f9ffe6;color:#0f766e}.ri-disabled-actions{display:flex;justify-content:flex-start}.ri-upsell-note{display:grid;gap:6px;margin-top:14px;padding:12px 14px;border-radius:16px;border:1px solid rgba(14,165,233,.16);background:linear-gradient(180deg,#f0f9ffe6,#f8fafcf2)}.ri-upsell-note strong{color:#334155;font-size:.88rem}.ri-upsell-note span{color:#475569;font-size:.92rem;line-height:1.45}.ri-disabled-side{display:grid;align-content:space-between;gap:14px;padding:34px 28px;color:#f0fdfa;background:radial-gradient(circle at top,rgba(255,255,255,.12),transparent 24%),linear-gradient(180deg,#0f766e,#0f4c81)}.ri-disabled-stat{display:grid;gap:8px;padding:18px;border-radius:20px;background:#ffffff14;border:1px solid rgba(255,255,255,.16);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.ri-disabled-stat span{color:#e2e8f0e6;font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.ri-disabled-stat strong{color:#fff;font-size:1.08rem;line-height:1.35}.ri-disabled-stat small{color:#e2e8f0e0;line-height:1.5}.ri-disabled-side .ri-disabled-actions .btn{width:100%;justify-content:center;background:#ffffffeb;border-color:#fffffff0}.ri-guardrails{grid-template-columns:repeat(2,minmax(0,1fr))}.ri-guardrails div{padding:16px;border-radius:18px;border:1px solid rgba(226,232,240,.92);background:linear-gradient(180deg,#fff,#fbfdff)}.ri-guardrails strong{display:block;margin-bottom:8px}.ri-guardrails p{margin:0;color:#475569}.ri-history-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;grid-template-columns:1fr auto}.ri-history-backdrop{background:#0f172a42;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.ri-history-drawer{width:min(520px,100vw);height:100vh;overflow-y:auto;background:linear-gradient(180deg,#fff,#f8fbfd);border-left:1px solid rgba(203,213,225,.85);box-shadow:-18px 0 42px #0f172a24;padding:22px;display:grid;align-content:start;gap:16px}.ri-history-header{display:flex;justify-content:space-between;gap:12px;align-items:start}.ri-history-header h3{margin:4px 0 6px;color:#334155}.ri-history-header p{margin:0;color:#64748b}.ri-history-close{border:1px solid rgba(203,213,225,.9);background:#fff;color:#334155;border-radius:12px;padding:10px 12px;font-weight:700}.ri-history-body,.ri-history-timeline{display:grid;gap:12px}.ri-history-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ri-history-summary>div{display:grid;gap:4px;padding:14px;border-radius:16px;background:#f8fafce6;border:1px solid rgba(226,232,240,.92)}.ri-history-summary label{color:#64748b;font-size:.76rem;font-weight:700;text-transform:uppercase}.ri-history-summary strong{color:#334155}.ri-history-item{display:grid;gap:8px;padding:14px 16px;border-radius:18px;border:1px solid rgba(226,232,240,.92);background:#fff}.ri-history-item-inbound{border-color:#0ea5e92e;background:#f0f9ffd9}.ri-history-item-outbound{border-color:#10b98129;background:#f5fffae6}.ri-history-meta{display:flex;justify-content:space-between;gap:12px;align-items:center}.ri-history-meta strong{color:#334155}.ri-history-meta span,.ri-history-item p{color:#64748b}.ri-history-item p{margin:0;line-height:1.55}.global-brand-footer{padding:16px 24px 20px;background:linear-gradient(180deg,#f8fafc38,#f8fafcdb 42%,#f8fafc);border-top:1px solid rgba(203,213,225,.8)}.global-brand-footer-inner{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:12px;max-width:1280px;margin:0 auto;padding:4px 16px;text-align:center}.global-brand-footer-brand{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;flex-wrap:wrap}.global-brand-footer-copy{display:grid;gap:3px;justify-items:center}.global-brand-footer-logo-img{height:28px;width:auto;display:block;flex-shrink:0}.global-brand-footer-tagline{color:#475569;font-size:.82rem;white-space:normal;text-align:center}.global-brand-footer-meta{color:#7c8aa0;font-size:.78rem}.global-brand-footer-meta a{color:#0f766e;font-weight:600;text-decoration:none}.global-brand-footer-meta a:hover{color:#0b5e56;text-decoration:underline}.global-brand-footer-links{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;width:100%;color:#cbd5e1}.global-brand-footer-links a{color:#68837d;font-size:.79rem;font-weight:600;text-decoration:none;transition:color .18s ease,opacity .18s ease}.global-brand-footer-links a:hover{color:#0f766e;text-decoration:none}.public-site-shell{min-height:100vh}.public-site-header{position:sticky;top:0;z-index:10;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f8fafcdb;border-bottom:1px solid rgba(203,213,225,.85)}.public-site-header-inner{max-width:1180px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.public-site-brand{display:inline-flex;align-items:center}.public-site-brand-logo{display:block;height:34px;width:auto}.public-site-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.public-site-nav-link,.public-site-login-link{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;font-size:.92rem;font-weight:600;text-decoration:none}.public-site-nav-link{color:#5b6b7e}.public-site-nav-link:hover,.public-site-nav-link.is-active{background:#0f766e1a;color:#0f766e;text-decoration:none}.public-site-login-link{background:linear-gradient(135deg,var(--primary),var(--primary-700));color:#fff}.public-site-login-link:hover{color:#fff;text-decoration:none;box-shadow:0 8px 24px #0f766e29}.public-site-main{max-width:1180px;margin:0 auto;padding:40px 24px 72px}.public-home-main{display:grid;gap:28px}.public-home-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.9fr);gap:24px;align-items:stretch}.public-home-copy,.public-home-panel,.public-home-card,.public-legal-card{border:1px solid rgba(203,213,225,.8);border-radius:24px;background:#ffffffe6;box-shadow:0 20px 60px #0f172a0f}.public-home-copy{padding:34px;background:radial-gradient(circle at top left,rgba(20,184,166,.14),transparent 36%),linear-gradient(135deg,#fffffff2,#f8fafceb)}.public-home-brand-lockup{margin-bottom:14px}.public-home-brand-image{width:min(280px,100%);height:auto;display:block}.public-home-eyebrow,.public-legal-eyebrow,.public-home-panel-label{margin:0 0 10px;color:#0f766e;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.public-home-copy h1,.public-legal-hero h1{font-size:clamp(1.8rem,3vw,2.75rem);line-height:1.12;margin-bottom:14px;color:#243447}.public-home-summary,.public-legal-summary{max-width:68ch;font-size:1rem;line-height:1.7;color:#475569}.public-home-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.public-home-cta,.public-home-secondary-link{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;font-weight:700;text-decoration:none}.public-home-cta{background:linear-gradient(135deg,var(--primary),var(--primary-700));color:#fff}.public-home-cta:hover{color:#fff;text-decoration:none}.public-home-secondary-link{border:1px solid rgba(15,118,110,.2);background:#ffffffd6;color:#0f766e}.public-home-secondary-link:hover{text-decoration:none;background:#f0fdfaf2}.public-home-panel{padding:28px}.public-home-panel-title{margin:0 0 12px;font-size:1.35rem;line-height:1.2;color:#2a3b4f}.public-home-panel-summary{margin:0;color:#5f6f82;line-height:1.7}.public-home-impact-list{display:grid;gap:16px;margin-top:20px}.public-home-impact-item{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:start;padding:14px 0;border-top:1px solid rgba(226,232,240,.8)}.public-home-impact-item:first-child{padding-top:0;border-top:0}.public-home-impact-icon{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;color:#0f766e;background:linear-gradient(135deg,#14b8a61f,#0ea5e914)}.public-home-impact-icon svg{width:22px;height:22px}.public-home-impact-item h3{margin:0 0 6px;font-size:.98rem;color:#314155}.public-home-impact-item p{margin:0;color:#64748b;line-height:1.65}.public-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.public-home-card{padding:24px}.public-home-card-logos{display:flex;align-items:center;gap:10px;margin-bottom:16px}.public-home-card-logo{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#f8fafcf5;border:1px solid rgba(226,232,240,.9)}.public-home-card-logo svg{width:22px;height:22px;display:block}.public-home-card h2,.public-legal-section h2{font-size:1.05rem;margin-bottom:10px}.public-home-card p,.public-legal-section p{color:#475569;line-height:1.7}.public-legal-hero{padding:10px 0 28px}.public-legal-card{padding:32px}.public-legal-section+.public-legal-section{margin-top:28px;padding-top:28px;border-top:1px solid rgba(226,232,240,.9)}@media (max-width: 1440px){.ri-overview-demand{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 900px){.confirmations-analytics-grid-enhanced{grid-template-columns:1fr}.confirmations-kpi-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.confirmations-page-header{align-items:stretch}.confirmations-header-main h1.page-title{font-size:1.25rem}.confirmations-header-main .page-desc{font-size:.82rem}.confirmations-header-actions{width:100%}.confirmations-header-actions .btn{flex:1 1 200px;min-width:0}.confirmations-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.confirmations-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.confirmations-panel{padding:var(--space-3)}.confirmations-analytics-grid{gap:8px}.ri-hero,.ri-kpi-grid,.ri-guardrails,.ri-candidate-grid,.ri-disabled-feature-grid,.ri-slot-summary-strip,.ri-history-summary,.ri-day-intelligence,.ri-overview-demand,.ri-overview-highlights,.ri-overview-mini-kpis,.ri-dispatch-grid,.ri-overview-hero,.ri-next-action,.ri-easy-hero,.ri-easy-recommended,.ri-easy-candidate-card,.ri-easy-attempt-card{grid-template-columns:1fr}.ri-next-action-side{justify-items:start}.ri-disabled-poster,.ri-workbench{grid-template-columns:1fr}.ri-slot-rail{position:static}.ri-slot-rail-list{max-height:none;overflow:visible}.global-brand-footer{padding:8px 14px}.global-brand-footer-inner{justify-content:center;text-align:center}.global-brand-footer-brand{justify-content:center;flex-direction:column}.global-brand-footer-copy{justify-items:center}.global-brand-footer-logo-img{height:22px}.global-brand-footer-tagline{width:100%;text-align:center}.global-brand-footer-links{width:100%;justify-content:center}}@media (max-width: 900px){.public-home-hero,.public-home-grid{grid-template-columns:1fr}}@media (max-width: 640px){.public-site-header-inner,.public-site-main{padding-left:16px;padding-right:16px}.public-home-copy,.public-home-panel,.public-home-card,.public-legal-card{padding:22px;border-radius:18px}.public-site-nav{width:100%}.public-site-nav-link,.public-site-login-link{justify-content:center;flex:1 1 180px}}@media (max-width: 768px){.confirmations-page{padding:var(--space-3) var(--space-2) var(--space-4);gap:var(--space-3)}.confirmations-page-header{flex-direction:column;gap:var(--space-2)}.confirmations-header-main{min-width:0}.confirmations-header-actions{display:grid;grid-template-columns:1fr;gap:var(--space-2)}.confirmations-header-actions .btn{min-width:0;font-size:.82rem;padding:9px 10px}.confirmations-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.confirmations-kpi-grid-compact{grid-template-columns:1fr}.confirmations-kpi-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.confirmations-kpi-card{padding:10px}.confirmations-kpi-value{font-size:1.2rem}.confirmations-kpi-title{font-size:.72rem}.confirmations-toolbar{grid-template-columns:1fr;gap:8px}.confirmations-toolbar .field{width:100%}.confirmations-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.confirmations-summary-item{padding:8px}.confirmations-summary-item strong{font-size:.95rem}.confirmations-analytics-grid{gap:6px}.confirmations-analytics-card{padding:8px}.confirmations-analytics-header{flex-direction:column;gap:4px;align-items:flex-start}.confirmations-trend-chart{overflow-x:auto;gap:5px}.confirmations-trend-bars{height:80px}.table-card{overflow-x:auto;-webkit-overflow-scrolling:touch}.table-card .data-table{min-width:520px;font-size:.78rem}.table-card .data-table th,.table-card .data-table td{padding:6px 8px;white-space:nowrap}.confirmations-panel{padding:var(--space-2)}.confirmations-filters-card{padding:14px}.confirmations-tabs-card{padding:6px}.confirmations-tabs{width:100%;gap:6px}.confirmations-tab-btn{width:100%;justify-content:space-between;padding:7px 10px;font-size:.8rem}.confirmations-pagination{display:grid;grid-template-columns:1fr;gap:6px}.confirmations-pagination .btn{width:100%}.rebooking-slot-header{flex-direction:column;align-items:stretch;gap:8px}.rebooking-slot-count{width:100%;justify-content:space-between}.rebooking-slot-count .muted{text-align:left}.table-card .data-table{min-width:0;font-size:.82rem}.confirmations-page .table-card .data-table,.confirmations-page .table-card .data-table thead,.confirmations-page .table-card .data-table tbody,.confirmations-page .table-card .data-table tr,.confirmations-page .table-card .data-table th,.confirmations-page .table-card .data-table td{display:block;width:100%}.confirmations-page .table-card .data-table thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.confirmations-page .table-card .data-table tbody{display:grid;gap:8px}.confirmations-page .table-card .data-table tr{border:1px solid var(--border-light);border-radius:12px;background:#fff;padding:4px 0;box-shadow:0 1px 2px #0f172a0f}.confirmations-page .table-card .data-table td{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-bottom:1px dashed rgba(148,163,184,.25);padding:8px 10px;white-space:normal}.confirmations-page .table-card .data-table td:last-child{border-bottom:none}.confirmations-page .table-card .data-table td:before{content:attr(data-label);color:var(--muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;line-height:1.25;flex:0 0 42%;max-width:42%}.confirmations-page .table-card .data-table td>*{flex:1 1 auto;min-width:0}.confirmations-page .table-card .data-table td .btn{width:auto;max-width:100%}.confirmations-page .table-card .data-table td .badge{max-width:100%;white-space:normal;text-align:right}.ri-page{padding:var(--space-4) var(--space-3) var(--space-5);padding-left:36px}.ri-page-disabled{min-height:auto}.ri-kpi-grid{grid-template-columns:1fr}.ri-slot-header,.ri-candidate-row,.ri-candidate-head{grid-template-columns:1fr;flex-direction:column}.ri-history-overlay{grid-template-columns:1fr}.ri-history-drawer{width:100vw;padding:18px}.ri-slot-meta,.ri-candidate-badges{text-align:left;justify-content:flex-start}.ri-candidate-actions{flex-wrap:wrap;justify-content:stretch}.ri-action-btn{width:100%}.ri-next-action-side{flex-wrap:wrap;justify-content:flex-start}.ri-easy-primary,.ri-easy-candidate-action{width:100%;min-width:0}.ri-disabled-hero,.ri-disabled-side{padding:22px}.ri-disabled-copy h2{max-width:none;font-size:1.75rem}}@media (max-width: 520px){.confirmations-kpi-grid,.confirmations-summary-grid,.confirmations-kpi-strip{grid-template-columns:1fr}.confirmations-header-main h1.page-title{font-size:1.06rem;line-height:1.2}.confirmations-panel{padding:8px}.confirmations-page .table-card .data-table td{flex-direction:column;align-items:flex-start;gap:4px}.confirmations-page .table-card .data-table td:before{flex:none;max-width:none}.confirmations-page .table-card .data-table td .badge{text-align:left}}@media (max-width: 700px){.ri-tabs-shell{display:grid;gap:10px;padding:10px}.ri-page{padding:12px 12px 20px 36px;gap:12px}.ri-hero,.ri-control-card,.ri-audit-card,.ri-disabled-card{border-radius:14px}.ri-hero{padding:10px 12px;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.ri-hero-main{gap:8px;min-width:0}.ri-hero h1{margin-bottom:2px;font-size:1rem;line-height:1.08}.ri-hero p{font-size:.76rem;line-height:1.3}.ri-hero-note{margin-top:-4px;font-size:.75rem;line-height:1.35}.ri-hero-badge{width:36px;height:36px;border-radius:12px}.ri-eyebrow{margin-bottom:2px;font-size:.62rem}.ri-hero-side{align-self:stretch}.ri-rate-shell{min-width:94px;gap:2px;padding:10px;border-radius:12px}.ri-rate-shell span{font-size:.62rem}.ri-rate-shell strong{font-size:1.15rem}.ri-rate-shell small{font-size:.66rem;line-height:1.2}.ri-tabs-bar{width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.ri-tabs-bar::-webkit-scrollbar{display:none}.ri-tab-btn{flex:0 0 auto;white-space:nowrap}.ri-page-mobile .ri-tabs-shell{padding:0;border:0;background:transparent;box-shadow:none}.ri-page-mobile .ri-tabs-bar{display:none}.confirmations-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:6px}.confirmations-tab-btn{width:100%;justify-content:space-between}.confirmations-kpi-grid,.confirmations-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rebooking-slot-header{flex-direction:column;align-items:flex-start}.rebooking-slot-count{width:100%;justify-content:space-between}.ri-control-actions{width:100%}.ri-control-actions-tabs{margin-left:0;display:flex;flex-wrap:nowrap;align-items:center;gap:6px;overflow-x:auto;padding:6px;border:1px solid rgba(219,231,243,.92);border-radius:14px;background:linear-gradient(180deg,#fffffffa,#f6fafcf5);scrollbar-width:none}.ri-control-actions-tabs::-webkit-scrollbar{display:none}.ri-control-actions-tabs .ri-filter{width:auto;min-width:112px;flex:0 0 auto;gap:0}.ri-control-actions-tabs .ri-filter span{font-size:.58rem;white-space:nowrap}.ri-control-actions-tabs .ri-filter select{width:112px;min-width:112px;height:36px;padding-left:6px;padding-right:22px;font-size:.76rem}.ri-control-actions-tabs .ri-window-filter-chips{display:flex;align-items:center;gap:6px;width:auto;overflow-x:auto;flex-wrap:nowrap;padding-bottom:0;scrollbar-width:none;flex:0 0 auto}.ri-control-actions-tabs .ri-window-filter-chips::-webkit-scrollbar{display:none}.ri-control-actions-tabs .ri-filter-chip{flex:0 0 auto;min-width:max-content;height:36px;padding:0 10px;border-radius:10px;font-size:.74rem}.ri-control-actions-tabs .ri-header-icon-btn{width:36px;min-width:36px;min-height:36px;border-radius:10px;flex:0 0 auto}.ri-slot-rail{gap:8px;padding:10px}.ri-slot-rail-list{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x proximity;scrollbar-width:none}.ri-slot-rail-list::-webkit-scrollbar{display:none}.ri-slot-list-item{flex:0 0 min(82vw,280px);scroll-snap-align:start}.ri-detail-panel,.ri-easy-panel{min-width:0}.ri-easy-panel{padding:0}.ri-easy-hero{padding:12px;border-radius:14px}.ri-easy-hero-copy h2{font-size:1rem}.ri-easy-summary-line{grid-template-columns:1fr;gap:4px}.ri-easy-candidate-list,.ri-easy-attempt-list{gap:10px}.ri-easy-candidate-card,.ri-easy-attempt-card{padding:12px;border-radius:14px}.ri-page-mobile .ri-hero{padding:10px 12px;border-radius:16px}.ri-page-mobile .ri-rate-shell{border-radius:14px;padding:12px}}@media (max-width: 520px){.ri-page{padding-right:10px;padding-left:34px}.ri-hero,.ri-control-card,.ri-audit-card,.ri-disabled-card,.ri-easy-panel,.ri-easy-candidate-card,.ri-easy-attempt-card{border-radius:12px}.ri-slot-list-item{flex-basis:min(84vw,264px)}.ri-slot-list-main strong,.ri-easy-slot-top strong,.ri-easy-slot-main strong{font-size:.9rem}.ri-easy-candidate-head,.ri-easy-person-line,.ri-easy-slot-top,.ri-easy-slot-footer{gap:6px}}.clinic-howto-page{display:grid;gap:18px;padding:var(--space-5);max-width:1320px;margin:0 auto}.clinic-howto-hero-card{display:grid;grid-template-columns:1.35fr 1fr;gap:18px;border:1px solid #dbe7fb;background:radial-gradient(circle at 10% 0%,rgba(15,118,110,.14),transparent 45%),radial-gradient(circle at 90% 100%,rgba(14,165,233,.1),transparent 50%),linear-gradient(180deg,#fff,#f8fbff)}.clinic-howto-hero-main{display:flex;gap:14px;align-items:flex-start}.clinic-howto-hero-main h2{margin:0 0 6px;font-size:1.35rem;line-height:1.2}.clinic-howto-badge{min-width:70px;height:42px;border-radius:12px;display:grid;place-items:center;color:#fff;font-weight:800;letter-spacing:.04em;background:linear-gradient(135deg,#0a5c55,#0ea5e9);box-shadow:0 12px 28px #0f766e3d}.clinic-howto-hero-metrics{display:grid;gap:10px;align-content:start}.clinic-howto-metric{display:grid;gap:3px}.clinic-howto-metric span{color:#64748b;font-size:.82rem}.clinic-howto-metric strong{font-size:1.45rem;color:#334155;line-height:1}.clinic-howto-metric small{color:#64748b}.clinic-howto-progressbar{width:100%;height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden}.clinic-howto-progressbar>span{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#0a5c55,#0ea5e9);transition:width .25s ease}.clinic-howto-hero-actions{display:flex;flex-wrap:wrap;gap:8px}.clinic-howto-step-tabs{display:grid;grid-template-columns:repeat(5,minmax(170px,1fr));gap:10px}.clinic-howto-step-tab{--step-accent: #0f766e;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #e2e8f0;background:#fff;border-radius:14px;padding:12px;text-align:left;display:grid;gap:10px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;position:relative;overflow:hidden}.clinic-howto-step-tab:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:var(--step-accent);opacity:.65}.clinic-howto-step-tab:hover{transform:translateY(-1px);box-shadow:0 10px 24px #0f172a0f}.clinic-howto-step-tab.active{border-color:#99f6e4;box-shadow:0 14px 28px #0f172a14;background:linear-gradient(180deg,#fff,#f8fbff)}.clinic-howto-step-tab-title{font-size:.92rem;font-weight:700;line-height:1.2;color:#334155}.clinic-howto-step-tab-meta{display:flex;justify-content:space-between;gap:8px;color:#64748b}.clinic-howto-step-tab-meta small{font-size:.74rem}.clinic-howto-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.72fr);gap:16px;align-items:start}.clinic-howto-stage-card{display:grid;gap:16px;border:1px solid #e2e8f0;background:linear-gradient(180deg,#fff,#fbfdff)}.clinic-howto-stage-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.clinic-howto-stage-header h3{margin:8px 0 6px;font-size:1.2rem}.clinic-howto-stage-pill{--pill-color: #0f766e;display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-weight:700;font-size:.75rem;color:#fff;background:var(--pill-color)}.clinic-howto-figure{border-radius:18px;border:1px solid #e2e8f0;background:#fff;padding:10px;display:grid;gap:10px}.clinic-howto-figure svg{width:100%;height:auto;display:block;border-radius:12px}.clinic-howto-figure-caption{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#334155}.clinic-howto-figure-caption .dot{width:10px;height:10px;border-radius:999px;background:var(--dot-color, #0f766e)}.clinic-howto-figure-caption strong{font-size:.9rem}.clinic-howto-figure-caption small{color:#64748b;margin-left:auto}.clinic-howto-stage-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.clinic-howto-panel,.clinic-howto-prompts-panel{border:1px solid #e2e8f0;border-radius:14px;background:#fff;padding:14px}.clinic-howto-panel h4,.clinic-howto-prompts-panel h4{margin:0;font-size:.95rem}.clinic-howto-panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.clinic-howto-panel-header h3{margin:0;font-size:1rem}.clinic-howto-panel-header small{color:#64748b}.clinic-howto-bullet-list{margin:0;padding-left:16px;display:grid;gap:8px;color:#334155}.clinic-howto-bullet-list li{line-height:1.35}.clinic-howto-checklist{display:grid;gap:8px}.clinic-howto-checkitem{display:flex;align-items:flex-start;gap:10px;border:1px solid #e2e8f0;border-radius:12px;padding:10px;background:#f8fafc;cursor:pointer}.clinic-howto-checkitem input{width:16px;height:16px;min-width:16px;flex:0 0 16px;margin:2px 0 0;padding:0;border-radius:4px;border:1px solid #94a3b8;background:#fff;accent-color:#0a5c55}.clinic-howto-checkitem span{flex:1 1 auto;text-align:left;color:#334155;line-height:1.35}.clinic-howto-checkitem.done{background:#f0fdfa;border-color:#99f6e4}.clinic-howto-checkitem.done span{color:#1e3a8a;text-decoration:line-through;text-decoration-color:#1e3a8a73}.clinic-howto-prompts-panel{display:grid;gap:12px}.clinic-howto-prompt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.clinic-howto-prompt-chip{border:1px solid #ccfbf1;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:12px;padding:12px;text-align:left;display:grid;gap:8px;cursor:pointer;transition:border-color .15s ease,transform .15s ease}.clinic-howto-prompt-chip:hover{border-color:#5eead4;transform:translateY(-1px)}.clinic-howto-prompt-chip span{color:#334155;line-height:1.25;font-size:.9rem}.clinic-howto-prompt-chip strong{color:#0a5c55;font-size:.78rem}.clinic-howto-copy-status{border-radius:10px;background:#f0fdfa;border:1px solid #99f6e4;color:#1e40af;padding:10px 12px;font-size:.85rem}.clinic-howto-side{display:grid;gap:14px;align-content:start}.clinic-howto-summary-card,.clinic-howto-faq-card{display:grid;gap:10px;border:1px solid #e2e8f0}.clinic-howto-summary-card h3,.clinic-howto-faq-card h3{margin:0;font-size:1rem}.clinic-howto-summary-list{display:grid;gap:8px}.clinic-howto-summary-list>div{border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;background:#fff}.clinic-howto-summary-list span{color:#64748b;font-size:.85rem}.clinic-howto-summary-list strong{color:#334155;font-size:1rem}.clinic-howto-faq-list{display:grid;gap:8px}.clinic-howto-faq-item{border:1px solid #e2e8f0;border-radius:12px;background:#fff;overflow:hidden}.clinic-howto-faq-item.open{border-color:#99f6e4}.clinic-howto-faq-trigger{width:100%;border:0;background:transparent;text-align:left;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;color:#334155;font-weight:600}.clinic-howto-faq-chevron{color:#64748b;transition:transform .15s ease}.clinic-howto-faq-item.open .clinic-howto-faq-chevron{transform:rotate(90deg)}.clinic-howto-faq-item p{margin:0;padding:0 12px 12px;color:#475569;line-height:1.35}.clinic-howto-ai-section{display:grid;gap:14px}.clinic-howto-ai-hero{border:1px solid #ccfbf1;background:radial-gradient(circle at 0% 0%,rgba(15,118,110,.12),transparent 45%),linear-gradient(180deg,#fff,#f8fbff);display:grid;gap:10px}.clinic-howto-ai-hero-main{display:flex;align-items:center;gap:12px}.clinic-howto-ai-hero-main h3{margin:0 0 4px;font-size:1.05rem}.clinic-howto-ai-badge{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,#0a5c55,#0f766e)}.clinic-howto-ai-tip{border-radius:12px;border:1px dashed #99f6e4;background:#eff6ffb3;color:#1e3a8a;padding:10px 12px;font-size:.88rem}.clinic-howto-ai-section .clinic-ai-chat.page-mode .clinic-ai-panel{min-height:520px}@media (max-width: 1220px){.clinic-howto-step-tabs{grid-template-columns:repeat(3,minmax(170px,1fr))}.clinic-howto-grid{grid-template-columns:1fr}.clinic-howto-side{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 920px){.clinic-howto-hero-card,.clinic-howto-stage-columns,.clinic-howto-prompt-grid{grid-template-columns:1fr}.clinic-howto-step-tabs{grid-template-columns:repeat(2,minmax(150px,1fr))}.clinic-howto-stage-header{flex-direction:column;align-items:stretch}.clinic-howto-figure-caption small{width:100%;margin-left:0}.clinic-howto-side{grid-template-columns:1fr}}@media (max-width: 640px){.clinic-howto-page{padding:12px 12px 12px 36px;gap:12px}.clinic-howto-step-tabs{grid-template-columns:1fr}.clinic-howto-hero-actions{display:grid;grid-template-columns:1fr}.clinic-howto-hero-actions .btn{width:100%;justify-content:center}.clinic-howto-badge{min-width:60px;height:38px;font-size:.78rem}.clinic-howto-hero-main h2{font-size:1.15rem}.clinic-howto-ai-section .clinic-ai-chat.page-mode .clinic-ai-panel{min-height:460px;height:calc(100vh - 230px)}}.ew-scheduler-shell{--ew-contacts-strong: #35504a;--ew-contacts-soft: #748883;--ew-contacts-green: #118a72;--ew-contacts-green-strong: #0d6f5c;--ew-contacts-green-surface: #eef8f4;--ew-contacts-line: rgba(13, 111, 92, .1);color:var(--ew-contacts-strong)}.ew-scheduler-shell .quick-bar.ew-toolbar,.ew-scheduler-shell .calendar-overview.ew-right-calendar,.ew-scheduler-shell .agenda-unassigned,.ew-scheduler-shell .agenda-column,.ew-scheduler-shell .table-card{border-radius:20px;border-color:#0f172a0f;background:linear-gradient(180deg,#fffffffa,#f8fbfbf0);box-shadow:0 18px 34px #0f172a0d}.ew-scheduler-shell .general-slot{border-radius:12px}.ew-page-brand h1,.agenda-assigned-header h3,.col-hdr-name-text,.slot-info strong,.ew-kpi-card .kpi-content strong,.ew-toolbar .ew-filter-trigger-copy strong,.ew-period-label{color:var(--ew-contacts-strong)}.ew-page-brand p,.ew-toolbar .ew-filter-trigger-copy small,.col-hdr-specialty span,.slot-sub .muted,.slot-note,.ew-toolbar-meta,.calendar-overview .muted,.agenda-assigned-header .column-stats,.general-slot .muted,.general-slot.busy .general-slot-time-row strong{color:var(--ew-contacts-soft)}.quick-bar.ew-toolbar{border-radius:22px;border-color:#0d6f5c14;box-shadow:0 16px 30px #0f172a0b}.ew-toolbar .ew-filter-trigger,.ew-period-nav-arrow,.ew-period-cal-btn,.ew-period-today-btn,.ew-toolbar .ew-view-segmented .segmented-item,.ew-toolbar .btn.btn-ghost,.ew-toolbar .btn.btn-primary,.ew-toolbar .toolbar-refresh-btn{border-radius:14px}.ew-toolbar .ew-filter-trigger,.ew-period-cal-btn,.ew-period-today-btn,.ew-period-nav-arrow,.ew-toolbar .ew-view-segmented .segmented-item,.ew-toolbar .btn.btn-ghost,.ew-toolbar .toolbar-refresh-btn{border-color:#0d6f5c1a;background:#fff;color:var(--ew-contacts-strong)}.ew-toolbar .ew-filter-trigger:hover,.ew-period-cal-btn:hover,.ew-period-cal-btn.is-active,.ew-period-today-btn:hover,.ew-period-nav-arrow:hover,.ew-toolbar .ew-view-segmented .segmented-item:hover,.ew-toolbar .ew-view-segmented .segmented-item.active,.ew-toolbar .btn.btn-ghost:hover,.ew-toolbar .toolbar-refresh-btn:hover{background:var(--ew-contacts-green-surface);border-color:#0d6f5c2e;color:var(--ew-contacts-green-strong)}.ew-toolbar .btn.btn-primary{background:#128d75;border-color:#0d6f5c2e;color:#f5f5f5;box-shadow:0 10px 24px #118a721f}.ew-toolbar .btn.btn-primary:hover,.ew-scheduler-shell .btn.btn-primary:hover{background:#0f7b67}.ew-kpi-strip,.ew-kpi-row{border-color:#0d6f5c14;background:linear-gradient(180deg,#fffffffa,#f8fbfbf0);box-shadow:0 14px 28px #0f172a0a}.ew-kpi-card .kpi-content span,.ew-kpi-strip-copy .muted,.ew-kpi-strip-preview{color:var(--ew-contacts-soft)}.agenda-column{border-radius:20px;border-color:#0d6f5c14;background:linear-gradient(180deg,#fff,#f9fbfb);box-shadow:0 18px 30px #0f172a0b}.agenda-column .column-header{border-bottom-color:#0d6f5c1a}.col-hdr-specialty span{background:#f4f8f8;border-radius:999px;padding:2px 8px}.col-hdr-stats .pill,.available-metric{border-radius:999px;border-color:#0d6f5c1a;background:#fff;color:var(--ew-contacts-soft)}.col-hdr-stats .pill.active{border-color:#118a722e;background:var(--ew-contacts-green-surface);color:var(--ew-contacts-green-strong)}.col-hdr-stats .pill.pill-priority-late{border-color:#f4d3a7;background:#fff7ed;color:#b45309}.col-hdr-stats .pill.pill-priority-no-show{border-color:#efc3bb;background:#fff5f3;color:#c2410c}.professional-info-trigger{background:#118a721f;border-color:#118a722e;color:var(--ew-contacts-green-strong)}.professional-info-tooltip,.cancelled-info-tooltip{border-radius:16px;border-color:#0f172a0f;color:var(--ew-contacts-soft);box-shadow:0 18px 34px #0f172a14}.professional-info-line strong{color:var(--ew-contacts-strong)}.available-panel.day-slots-panel,.slot-card,.general-slot{border-radius:16px;border-color:#0d6f5c14;background:#fff}.available-panel.day-slots-panel{box-shadow:inset 0 1px #ffffffb3}.day-slot-button{border-color:#0d6f5c1a;background:#f8fbfa;color:var(--ew-contacts-green-strong);border-radius:10px}.day-slot-button:hover:not(:disabled){border-color:#0d6f5c2e;background:var(--ew-contacts-green-surface)}.day-slot-button.disabled,.day-slot-button:disabled{color:#9aada8;background:#f6f8f8}.slot-card{box-shadow:0 8px 18px #0f172a09}.slot-card:hover{border-color:#0d6f5c29;box-shadow:0 12px 22px #0d6f5c14}.slot-time{color:#8ea19c}.slot-priority-pill,.slot-status-pill{border-radius:999px}.calendar-overview.ew-right-calendar .calendar-header,.ew-right-calendar .ew-day-status-panel,.ew-right-calendar .ew-right-mini-cal-collapsed-summary{color:var(--ew-contacts-strong)}.dday-modal,.dday-modal-multi{border-radius:24px;border:1px solid rgba(15,23,42,.06);background:linear-gradient(180deg,#fffffffa,#f8fbfbf5);box-shadow:0 24px 48px #0f172a1f}.dday-stat{border-radius:999px}.dday-row,.dday-pro-section{border-radius:16px}.ew-scheduler-shell .agenda-column .column-header{margin:-10px -10px 0;padding:10px 14px 12px;border-bottom:0;border-radius:20px;background:linear-gradient(180deg,#128d75,#0d6f5c);gap:6px}.ew-scheduler-shell .agenda-column .col-hdr-name-text,.ew-scheduler-shell .agenda-column .professional-name-heading,.ew-scheduler-shell .agenda-column .col-hdr-specialty span,.ew-scheduler-shell .agenda-column .col-hdr-stats .pill,.ew-scheduler-shell .agenda-column .col-hdr-stats .pill.active,.ew-scheduler-shell .agenda-column .col-hdr-stats .pill.pill-priority-late,.ew-scheduler-shell .agenda-column .col-hdr-stats .pill.pill-priority-no-show,.ew-scheduler-shell .agenda-column .cancelled-info-trigger,.ew-scheduler-shell .agenda-column .cancelled-info-wrap.has-cancels .cancelled-info-trigger{color:#f6fbfa}.ew-scheduler-shell .agenda-column .col-hdr-specialty span{display:block;background:transparent;font-size:.72rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.92}.ew-scheduler-shell .agenda-column .col-hdr-stats .pill,.ew-scheduler-shell .agenda-column .cancelled-info-trigger{border:0;border-color:transparent;background:transparent;box-shadow:none;padding:0;min-height:auto;height:auto;border-radius:0;font-size:.74rem;font-weight:700}.ew-scheduler-shell .agenda-column .col-hdr-stats .pill.active,.ew-scheduler-shell .agenda-column .col-hdr-stats .pill.pill-priority-late,.ew-scheduler-shell .agenda-column .col-hdr-stats .pill.pill-priority-no-show{background:transparent;border-color:transparent}.ew-scheduler-shell .agenda-column .professional-info-trigger{background:#ffffff1f;border-color:#ffffff2e;color:#fff}.ew-scheduler-shell .agenda-column .col-hdr-stats{justify-content:flex-end;align-items:center;gap:8px;width:100%;margin-top:2px}.ew-scheduler-shell .week-professional{padding:10px 12px;border-radius:16px;border:1px solid rgba(13,111,92,.14);background:linear-gradient(180deg,#128d75,#0d6f5c);box-shadow:0 12px 24px #0d6f5c24}.ew-scheduler-shell .week-professional strong{color:#fff}.ew-scheduler-shell .week-professional p,.ew-scheduler-shell .week-professional .muted{color:#f6fbfad1;min-height:2.4em}img,iframe{max-width:100%}.app-main,.app-content,.clinic-main,.clinic-content,.portal-shell,.page,.card,.table-card{min-width:0}@media (max-width: 768px){.page{padding:var(--space-5) var(--space-3)}.app-header{height:auto;min-height:var(--header-height);padding:var(--space-3);align-items:stretch}.header-brand,.admin-context-chip,.header-controls,.select-wrap,.select-wrap.wide,.language-switcher{width:100%;min-width:0}.header-controls{justify-content:space-between}.header-controls>*{min-width:0}.form-grid,.clinic-workspace-form-grid,.clinic-card-meta,.clinic-workspace-meta-list,.clinic-workspace-grid,.clinic-workspace-hero,.rebook-grid,.confirmation-card{grid-template-columns:1fr}.clinic-workspace-hero-actions{min-width:0}.portal-shell{padding:var(--space-5) var(--space-3) calc(var(--space-8) + var(--space-6));gap:var(--space-5)}.service-grid,.professional-grid,.dashboard-grid{grid-template-columns:1fr}.hero-card,.schedule-card,.history-section,.dashboard-card{padding:var(--space-4)}.admin-card-header,.admin-subhead,.section-header{align-items:flex-start}}@media (max-width: 640px){.table-card{overflow-x:auto;-webkit-overflow-scrolling:touch}.clinic-topbar{height:auto;min-height:var(--header-height);align-items:flex-start;flex-wrap:wrap}.clinic-topbar-left,.topbar-page-id,.clinic-topbar-right{min-width:0}.topbar-page-id{flex:1 1 auto}.topbar-page-name{min-width:0;overflow:hidden;text-overflow:ellipsis}.clinic-topbar-right{width:100%;justify-content:space-between;flex-wrap:wrap}.clinic-system-alert .btn{width:100%;justify-content:center}.portal-brand,.portal-actions{width:100%}.portal-actions,.schedule-actions,.appointment-actions{justify-content:flex-start}.appointment-card,.history-card{grid-template-columns:1fr;align-items:flex-start}}
