:root{--bg:#f6f7f9;--panel:#ffffff;--ink:#111827;--muted:#6b7280;--line:#e5e7eb;--accent:#0ea47a;--accent-dark:#0b8a66;--header:#0f172a;--header-ink:#f1f5f9;--warn:#b45309;--bad:#b91c1c;--ok:#15803d;--chip:#eef2f7;--mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}*{box-sizing:border-box}body,html{margin:0;padding:0;max-width:100%;overflow-x:clip}body{background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.45}.topbar{background:var(--header);color:var(--header-ink);padding:0 20px;min-height:56px;position:-webkit-sticky;position:sticky;top:0;z-index:50}.topbar,.topbar-inner{display:flex;align-items:center}.topbar-inner{max-width:1280px;margin:0 auto;width:100%;min-width:0;gap:16px}.topbar-inner>*{min-width:0}.topbar-inner select{max-width:100%}.brand{display:flex;align-items:center;gap:10px;color:var(--header-ink);text-decoration:none;font-weight:650;font-size:15px}.brand-logo{height:26px;width:auto;filter:brightness(0) invert(1)}.brand em{font-style:normal;font-weight:400;opacity:.75}.topnav{margin-left:auto;display:flex;gap:6px;align-items:center;min-width:0}.topnav a,.topnav button.linklike{color:#cbd5e1;text-decoration:none;padding:6px 10px;border-radius:6px;font-size:13px;background:none;border:none;cursor:pointer}.topnav a.active,.topnav a:hover{background:#1e293b;color:#fff}.role-chip{font-size:11px;padding:3px 8px;border-radius:999px;background:#1e293b;color:#94a3b8;border:1px solid #334155}.container,.wrap{max-width:1280px;min-width:0;margin:0 auto;padding:24px 20px 64px}.table-scroll{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;contain:inline-size}.table-scroll>table.data{min-width:100%;width:max-content}.panel{min-width:0}h1{font-size:20px;margin:0 0 4px}h2{font-size:15px;margin:0 0 12px}.sub{color:var(--muted);margin:0 0 20px;font-size:13px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));grid-gap:12px;gap:12px;margin-bottom:24px}.card{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px 16px}.card .k{color:var(--muted);font-size:12px;margin-bottom:6px}.card .v{font-size:22px;font-weight:650}.card .s{color:var(--muted);font-size:11px;margin-top:4px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:16px;margin-bottom:20px}table.data{width:100%;border-collapse:collapse;font-size:13px}table.data th{text-align:left;color:var(--muted);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.04em;padding:8px 10px;white-space:nowrap}table.data td,table.data th{border-bottom:1px solid var(--line)}table.data td{padding:9px 10px;vertical-align:top}table.data tr:hover td{background:#fafbfc}table.data a{color:var(--accent-dark);text-decoration:none;font-weight:550}table.data a:hover{text-decoration:underline}.patient-table-wrap{overflow-x:visible}.table-scroll>table.surgery-patient-table{width:100%;min-width:0;table-layout:fixed}.surgery-patient-table .procedure-column{width:24%}.surgery-patient-table th{padding:8px 6px;font-size:10px;white-space:normal;overflow-wrap:anywhere;vertical-align:bottom}.surgery-patient-table td{padding:9px 6px;white-space:normal;overflow-wrap:anywhere}@media (max-width:1000px){.surgery-patient-table,.surgery-patient-table tbody{display:block}.surgery-patient-table colgroup,.surgery-patient-table thead{display:none}.surgery-patient-table tbody{display:grid;grid-gap:12px;gap:12px}.surgery-patient-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:var(--panel)}.surgery-patient-table td{display:flex;min-width:0;flex-direction:column;gap:3px;padding:7px 4px;border:0;text-align:left!important;white-space:normal!important}.surgery-patient-table td:before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.surgery-patient-table td.patient-cell,.surgery-patient-table td.procedure-cell{grid-column:1/-1}.surgery-patient-table td.procedure-cell{margin-bottom:3px;padding-bottom:12px;border-bottom:1px solid var(--line)}}.badge{display:inline-block;padding:2px 8px;border-radius:4px;font-size:11px;font-weight:600;white-space:nowrap}.badge.ok{background:#dcfce7;color:var(--ok)}.badge.warn{background:#fef3c7;color:var(--warn)}.badge.bad{background:#fee2e2;color:var(--bad)}.badge.info{background:#e0e9f6;color:#1d4ed8}.badge.mute{background:var(--chip);color:var(--muted)}.mono{font-family:var(--mono);font-size:12px}.muted{color:var(--muted)}.trunc{max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}details{border:1px solid var(--line);border-radius:8px;margin:6px 0;background:#fcfcfd}details>summary{cursor:pointer;padding:8px 12px;font-size:12px;font-weight:600;color:#374151;list-style:none;display:flex;gap:8px;align-items:center}details>summary:before{content:"▸";color:var(--muted)}details[open]>summary:before{content:"▾"}details>summary:hover{background:#f3f4f6}details .body{padding:10px 12px;border-top:1px solid var(--line);font-family:var(--mono);font-size:11.5px;white-space:pre-wrap;word-break:break-word;max-height:420px;overflow:auto}.stage-row{display:flex;gap:10px;align-items:baseline;padding:7px 10px;border-bottom:1px solid var(--line);font-size:12.5px}.stage-row .stage-name{font-weight:650;min-width:150px;font-family:var(--mono);font-size:11.5px}.stage-row .lat{color:var(--muted);min-width:70px;text-align:right}.msg{border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin:8px 0;max-width:780px}.msg.in{background:#fff}.msg.out{background:#ecfdf5;border-color:#bbf7d0}.msg .meta{font-size:11px;color:var(--muted);margin-bottom:4px;display:flex;gap:10px;flex-wrap:wrap}.msg .txt{white-space:pre-wrap;word-break:break-word;font-size:13.5px}.btn{display:inline-block;background:var(--accent);color:#fff;border:none;border-radius:8px;padding:9px 16px;font-size:13px;font-weight:600;cursor:pointer;text-decoration:none}.btn:hover{background:var(--accent-dark)}.btn.secondary{background:#e5e7eb;color:#111827}.btn.secondary:hover{background:#d1d5db}input.text{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px;font-size:14px;margin-bottom:12px}label.lbl{display:block;font-size:12px;font-weight:600;color:#374151;margin-bottom:5px}.login-wrap{max-width:420px;margin:48px auto}.login-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px}.login-card h1{margin-bottom:6px}.divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:22px 0}.divider:after,.divider:before{content:"";flex:1 1;height:1px;background:var(--line)}.flash-ok{background:#dcfce7;color:var(--ok)}.flash-err,.flash-ok{border-radius:8px;padding:10px 12px;font-size:13px;margin-top:12px}.flash-err{background:#fee2e2;color:var(--bad)}.tabs{display:flex;gap:6px;margin-bottom:16px}.tabs a{padding:6px 14px;border-radius:8px;font-size:13px;font-weight:600;text-decoration:none;color:var(--muted);background:#fff;border:1px solid var(--line)}.tabs a.active{background:var(--header);color:#fff;border-color:var(--header)}.grid2{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}@media (max-width:900px){.grid2{grid-template-columns:1fr}.topbar{padding:8px 12px}.topbar-inner{flex-wrap:wrap;gap:8px 12px}.topnav{order:5;flex:1 0 100%;width:100%;margin-left:0;flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}.topnav a,.topnav button.linklike,.topnav form{flex:0 0 auto}.container,.wrap{padding:18px 12px 48px}.cards{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}.role-chip{overflow-wrap:anywhere}}.kv{display:grid;grid-template-columns:150px 1fr;grid-gap:4px 14px;gap:4px 14px;font-size:13px}.kv dt{color:var(--muted)}.kv dd{margin:0;word-break:break-word}.ask-thread{margin:18px 0;display:flex;flex-direction:column;gap:18px}.ask-q{font-weight:600;margin-bottom:6px}.ask-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:16px}.ask-card.err{border-color:#fca5a5;color:#b91c1c}.ask-card.mute{color:#9ca3af}.ask-head{display:flex;justify-content:space-between;align-items:baseline}.ask-ms{color:#9ca3af;font-size:12px}.ask-kpi{font-size:34px;font-weight:700;margin:10px 0 4px;color:#111827}.ask-person{margin-top:6px;color:#374151;font-size:14px}.ask-table-wrap{max-height:380px;overflow:auto;margin-top:10px}.ask-meta{margin-top:12px;border-top:1px solid #f3f4f6;padding-top:8px;font-size:12px;color:#6b7280}.ask-def{font-style:italic;margin-top:2px}.ask-sync{margin-top:6px}.ask-form{display:flex;gap:10px;margin-top:8px}.ask-clarify-q{font-weight:600;margin-bottom:6px}.ask-suggestions{margin-top:14px;font-size:13px}.ask-note{font-size:12px;color:#6b7280;margin-top:6px}.thread{margin-top:12px;display:flex;flex-direction:column;gap:10px}.thread-turn{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:10px 14px}.thread-meta{font-size:11px;color:#9ca3af;margin-bottom:4px}.thread-in,.thread-out{margin:2px 0}.thread-out{color:#374151}.tag{display:inline-block;font-size:10px;font-weight:700;text-transform:uppercase;padding:1px 6px;border-radius:4px;background:#eef2ff;color:#4f46e5;margin-right:6px}.tag.ai{background:#ecfdf5;color:#047857}.thread-sys{font-size:12px;color:#6b7280;padding:4px 14px}.thread-note{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:10px 14px;font-size:14px}.thread-in.keyword em{color:#6b7280;font-size:13px}.team-toolbar{display:flex;align-items:end;gap:18px}.team-toolbar .lbl{margin-bottom:4px}.team-month{border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:#fff;color:var(--ink);font:inherit}.team-toolbar-note{display:flex;flex-direction:column;gap:2px;color:var(--muted);font-size:12px;flex:1 1}.team-toolbar-note strong{color:var(--ink);font-size:14px}.team-cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.team-cards .v{font-size:24px}.team-section-head{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:12px}.team-section-head .sub{margin-bottom:0}.team-toggle{color:var(--muted);font-size:12px;white-space:nowrap;display:flex;gap:6px;align-items:center}.day-chart{display:flex;align-items:end;gap:4px;min-height:122px;overflow-x:auto;padding:6px 2px 2px}.day-column{border:0;background:transparent;min-width:34px;height:112px;padding:2px 3px;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:3px;border-radius:6px;cursor:pointer}.day-column.selected,.day-column:hover{background:#eaf5f0}.day-column.selected{outline:1px solid var(--accent)}.day-count{height:14px;color:var(--muted);font-size:10px}.day-bars{height:78px;display:flex;align-items:end;gap:3px}.day-bar{display:block;width:8px;min-height:1px;border-radius:3px 3px 1px 1px}.day-bar.total{background:#cbd5e1}.day-bar.eligible{background:var(--accent)}.day-label{color:var(--muted);font-size:10px}.team-table{min-width:980px}.team-table td{vertical-align:middle}.team-formula{max-width:260px;font-size:11px;margin-top:3px}.progress-track{width:130px;max-width:100%;height:7px;border-radius:999px;background:#e5e7eb;overflow:hidden;margin-bottom:4px}.progress-track span{display:block;height:100%;border-radius:inherit;background:var(--accent)}.component{font-size:11px;white-space:nowrap}.component.unavailable{color:var(--warn)}.surgical-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.surgical-card{border:1px solid var(--line);border-radius:10px;padding:16px;background:#fbfcfd}.surgical-card h3{margin:0 0 14px;font-size:16px}.surgical-revenue{display:flex;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}.surgical-rates span,.surgical-revenue span{color:var(--muted);font-size:12px}.surgical-rates{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin:14px 0}.surgical-rates>div{display:flex;flex-direction:column;gap:3px}.surgical-rates strong{font-size:20px}.surgical-rates small{color:var(--ok)}.surgical-breakdown{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted)}.surgical-breakdown span{gap:10px}.surgical-breakdown span,.surgical-total{display:flex;justify-content:space-between}.surgical-total{align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.surgical-total strong{color:var(--ok);font-size:20px}.team-details{margin-top:8px}.team-audit{font-family:inherit!important;white-space:normal!important}.team-audit h3{font-size:13px;margin:10px 0 4px}.team-audit li,.team-audit p{font-size:12px;line-height:1.55}.table-link{border:0;background:transparent;color:var(--accent-dark);padding:0;font:inherit;font-weight:650;cursor:pointer;text-align:left;white-space:nowrap}.table-link:hover{text-decoration:underline}.month-breakdown{font-size:10px;white-space:nowrap;margin-top:2px}.credit-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}.credit-filter{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:999px;padding:6px 10px;font:inherit;font-size:12px;cursor:pointer}.credit-filter strong{color:var(--ink);margin-left:4px}.credit-filter.active{background:var(--header);border-color:var(--header);color:#fff}.credit-filter.active strong{color:#fff}.drilldown-tools{display:flex;align-items:center;gap:12px;margin-bottom:10px}.drilldown-tools input{max-width:520px;margin-bottom:0}.drilldown-tools span{font-size:11px}.appointment-table{min-width:1050px}.credit-reason{max-width:180px;font-size:10px;margin-top:3px;white-space:normal}.phase-note{font-size:12px;margin:12px 0 0}#appointment-drilldown{scroll-margin-top:70px}@media (max-width:980px){.surgical-grid{grid-template-columns:1fr}}@media (max-width:700px){.topbar-inner>.role-chip,.viewas-active-chip{display:none}.viewas-control{order:3;display:flex!important;width:100%}.viewas-control select{width:100%;margin-bottom:0}.topnav{scrollbar-width:none}.topnav::-webkit-scrollbar{display:none}.team-toolbar{align-items:start;flex-direction:column;gap:10px}.team-section-head{flex-direction:column;gap:8px}.team-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.team-cards .card{padding:12px}.team-cards .v{font-size:20px}.day-column{min-width:31px}.drilldown-tools{align-items:stretch;flex-direction:column;gap:6px}.drilldown-tools input{max-width:none}}.rewards-dashboard{display:grid;grid-gap:4px;gap:4px;min-width:0}.rewards-hold-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:4px solid var(--warn);background:#fffdf7}.rewards-hold-panel h2{margin:10px 0 4px;font-size:17px}.rewards-hold-panel p{margin:0;color:var(--muted);max-width:780px}.rewards-hold-count{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;padding:8px 18px;border-left:1px solid var(--line);color:var(--muted)}.rewards-hold-count strong{color:var(--ink);font-size:30px;line-height:1}.rewards-hold-count span{font-size:11px;margin-top:5px}.rewards-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.rewards-section-heading .sub,.rewards-section-heading h2{margin-bottom:0}.rewards-kpis{grid-template-columns:repeat(auto-fit,minmax(175px,1fr))}.rewards-kpis .card{border-top:3px solid var(--accent)}.rewards-kpis .v{font-size:25px}.rewards-two-column{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-gap:18px;gap:18px}.rewards-two-column .kv{grid-template-columns:135px minmax(0,1fr);gap:8px 14px}.rewards-two-column .kv dd,.rewards-two-column .kv dt{margin:0}.rewards-checklist{margin:0;padding-left:20px;color:var(--muted)}.rewards-checklist li{margin:0 0 12px;padding-left:3px}.rewards-checklist strong{color:var(--ink)}.rewards-boundary{border-left:4px solid #0f172a}.rewards-boundary p{margin:0;color:var(--muted)}.rewards-drilldown{margin-top:12px}.rewards-privacy-note{color:var(--muted);max-width:850px}.rewards-member-table{min-width:1080px;table-layout:fixed}.rewards-member-table th:first-child{width:17%}.rewards-member-table th:nth-child(2){width:16%}.rewards-member-table th:nth-child(3){width:10%}.rewards-member-table th:nth-child(4){width:11%}.rewards-member-table th:nth-child(5){width:8%}.rewards-member-table th:nth-child(6){width:17%}.rewards-member-table td{overflow-wrap:anywhere}.rewards-member-table td .sub{margin:3px 0 0;font-size:10px}.rewards-contact-value{overflow-wrap:anywhere}.rewards-hold-reasons{margin:7px 0 0;padding-left:15px;color:var(--muted);font-size:10px}.rewards-error{color:var(--bad)}@media (max-width:900px){.rewards-two-column{grid-template-columns:1fr}.rewards-member-table,.rewards-member-table tbody{display:block;min-width:0;width:100%}.rewards-member-table thead{display:none}.rewards-member-table tbody{display:grid;grid-gap:12px;gap:12px}.rewards-member-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line);border-radius:9px;padding:10px 12px}.rewards-member-table td{display:flex;min-width:0;flex-direction:column;gap:3px;padding:8px 5px;border:0}.rewards-member-table td:before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.rewards-member-table td:first-child,.rewards-member-table td:nth-child(2),.rewards-member-table td:nth-child(7){grid-column:1/-1}}@media (max-width:600px){.rewards-hold-panel{align-items:flex-start;flex-direction:column;gap:12px}.rewards-hold-count{align-items:flex-start;border-left:0;border-top:1px solid var(--line);padding:12px 0 0;width:100%}.rewards-section-heading{flex-direction:column;gap:7px}.rewards-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rewards-kpis .card{padding:12px}.rewards-kpis .v{font-size:20px}.rewards-two-column .kv{grid-template-columns:1fr;gap:2px}.rewards-two-column .kv dd{margin-bottom:10px}.rewards-member-table tr{grid-template-columns:1fr}.rewards-member-table td{grid-column:1/-1}}.crisalix-titlebar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.crisalix-title-brand{display:flex;align-items:center;gap:18px;min-width:0}.crisalix-title-brand .sub{margin-bottom:0}.crisalix-logo{width:auto;height:52px;flex:0 0 auto}.crisalix-demo-badge{flex:0 0 auto;font-size:12px;padding:5px 10px}.crisalix-period-note{background:#ecf0f1;border-left:4px solid #137191;color:#00354c;border-radius:8px;padding:12px 14px;margin-bottom:20px;font-size:13px}.crisalix-kpis .card{border-top:3px solid #137191}.crisalix-kpis .v{font-size:21px}.crisalix-method-note{color:var(--muted);font-size:12px;margin:12px 0 0}.crisalix-compact-table{min-width:850px}.crisalix-table-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.crisalix-table-heading .sub{margin-bottom:14px}.crisalix-filters{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.7fr;grid-gap:10px;gap:10px;margin-bottom:16px}.crisalix-filters label{color:var(--muted);display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:600}.crisalix-filters input,.crisalix-filters select{width:100%;min-width:0;border:1px solid var(--line);border-radius:7px;padding:8px 9px;background:#fff;color:var(--ink);font:inherit;font-size:13px}.crisalix-consultation-table{min-width:1760px}.crisalix-consultation-table td{vertical-align:middle}.crisalix-status{display:flex;align-items:center;gap:7px;min-width:168px;color:#00354c;font-weight:600}.crisalix-inline-logo{height:18px;width:auto;flex:0 0 auto}.stars{color:#b45309;white-space:nowrap;letter-spacing:.03em}.rating-number{color:var(--muted);letter-spacing:0;font-size:11px}.crisalix-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;color:var(--muted);font-size:12px}.crisalix-pagination>div{display:flex;gap:8px}.crisalix-pagination .btn{padding:7px 12px}.crisalix-pagination .btn:disabled{opacity:.45;cursor:not-allowed}@media (max-width:900px){.crisalix-filters{grid-template-columns:1fr 1fr}}@media (max-width:600px){.crisalix-titlebar{flex-direction:column;gap:10px}.crisalix-title-brand{align-items:flex-start;gap:12px}.crisalix-logo{height:38px}.crisalix-filters{grid-template-columns:1fr}.crisalix-pagination,.crisalix-table-heading{align-items:flex-start;flex-direction:column}.crisalix-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.crisalix-kpis .card{padding:12px}.crisalix-kpis .v{font-size:18px}}