:root{--bg: #f4f6f2;--panel: #ffffff;--ink: #202124;--muted: #667085;--line: #dedfd8;--nav: #20262e;--nav-soft: #2d3540;--accent: #0f766e;--accent-dark: #0b5f59;--gold: #b7791f;--plum: #7c3f8c;--green: #13795b;--orange: #b45f06;--red: #b42318;--shadow: 0 16px 38px rgba(32, 33, 36, .08);--shadow-soft: 0 10px 24px rgba(32, 33, 36, .06)}*{box-sizing:border-box}html{min-height:100%;background:#eef3f2}body{margin:0;min-height:100vh;color:var(--ink);background:radial-gradient(circle at 78% 0%,rgba(15,118,110,.08),transparent 28%),linear-gradient(180deg,#fbfbf8 0%,var(--bg) 48%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}#root{min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{padding:22px 20px;color:#fff;background:linear-gradient(180deg,#20262e,#161b22);border-right:1px solid rgba(255,255,255,.08)}.brand{display:flex;gap:12px;align-items:center;margin-bottom:28px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#0f766e,#17a085);box-shadow:0 14px 30px #0f766e47;font-weight:800}.brand h1,.brand p,.topbar h2,.panel h3{margin:0}.brand h1{font-size:20px}.brand p{margin-top:4px;color:#c5c8ce;font-size:13px}nav{display:grid;gap:8px}.nav-button{padding:13px 14px;color:#d7dce2;text-align:left;background:transparent;border:1px solid transparent;border-radius:8px;transition:.16s ease}.nav-button.active,.nav-button:hover{color:#fff;background:#ffffff17;border-color:#ffffff24;box-shadow:inset 3px 0 #17a085}main{min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;min-height:86px;padding:22px 30px;background:#ffffffe6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.eyebrow{display:block;margin-bottom:4px;color:#6b6258;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.view{display:none;padding:32px 30px}.view.active{display:block}.dashboard-hero{display:flex;align-items:stretch;justify-content:space-between;gap:22px;margin-bottom:24px;padding:28px;color:#fff;background:linear-gradient(135deg,#20262ef5,#0f766eeb),linear-gradient(90deg,#20262e,#0f766e);border:1px solid rgba(255,255,255,.12);border-radius:8px;box-shadow:var(--shadow)}.dashboard-hero h2,.dashboard-hero p{margin:0}.dashboard-hero h2{margin-top:4px;font-size:30px;letter-spacing:0}.dashboard-hero p{margin-top:8px;color:#e5f4ef;max-width:620px;line-height:1.45}.dashboard-hero .eyebrow{color:#b9efe4}.summary-strip{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:10px;min-width:390px}.summary-strip div,.summary-strip .metric-button{display:grid;align-content:center;gap:4px;padding:16px;color:#fff;text-align:left;background:#ffffff24;border:1px solid rgba(255,255,255,.22);border-radius:8px;transition:.16s ease}.summary-strip .metric-button:hover{background:#fff3}.summary-strip strong{font-size:28px;letter-spacing:0}.summary-strip span{color:#e2f2ee;font-size:13px}.tile-grid{display:grid;grid-template-columns:repeat(4,minmax(190px,1fr));gap:16px}.workflow-tile{position:relative;display:grid;grid-template-rows:auto auto 1fr auto;gap:10px;min-height:190px;padding:20px;color:var(--ink);text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.workflow-tile:hover{border-color:#c7cbc3;transform:translateY(-1px)}.workflow-tile.urgent{border-color:#95dccc;background:linear-gradient(180deg,#f4fffc,#fff)}.workflow-tile.directory-tile{color:var(--ink);border-color:#c7cbc3;background:linear-gradient(180deg,#f7f9f8,#fff)}.workflow-tile.calendar-tile{border-color:#f0c36a;background:linear-gradient(180deg,#fff9eb,#fff)}.workflow-tile.comms-tile{color:var(--ink);border-color:#e8c5d7;background:linear-gradient(180deg,#fff1f8,#fff)}.workflow-tile.open-ticket-tile{border-color:#ef4444;background:linear-gradient(180deg,#fff1f2,#fff);box-shadow:0 18px 38px #b423182e}.workflow-tile.open-ticket-tile:hover{border-color:#b42318;transform:translateY(-2px)}.workflow-tile.open-ticket-tile .tile-code{background:#b42318}.workflow-tile.open-ticket-tile b{color:#fff;background:#b42318}.notification-badge{position:absolute;top:-9px;right:-9px;display:grid;place-items:center;min-width:30px;height:30px;padding:0 8px;color:#fff;background:#dc2626;border:3px solid #ffffff;border-radius:999px;box-shadow:0 10px 20px #b4231847;font-size:14px;font-weight:900;line-height:1}.workflow-tile.comms-tile small{color:#fce7f3}.workflow-tile.comms-tile b{color:#581c87;background:#f3e8ff}.workflow-tile.directory-tile small{color:var(--muted)}.workflow-tile.directory-tile b{color:#4f6272;background:#edf1f2}.tile-code{display:grid;place-items:center;width:42px;height:42px;color:#fff;background:var(--accent);border-radius:8px;font-weight:900}.workflow-tile.urgent .tile-code{background:var(--green)}.workflow-tile.directory-tile .tile-code{color:#fff;background:#4f6272}.workflow-tile.calendar-tile .tile-code{background:#b45f06}.workflow-tile.comms-tile .tile-code{color:#fff;background:#9f2f77}.workflow-tile strong{font-size:20px}.workflow-tile small{color:var(--muted);line-height:1.4}.workflow-tile b{width:fit-content;padding:6px 10px;color:var(--accent);background:#eefaf6;border-radius:999px;font-size:13px}.workflow-tile{--tile-accent: #64748b;--tile-tint: #f8fafc;min-height:188px;padding:20px 20px 18px;color:var(--ink);background:linear-gradient(180deg,#fffffffa,#ffffffe6),var(--tile-tint);border-color:#e2e1dc;border-left:4px solid var(--tile-accent);border-radius:8px;box-shadow:var(--shadow-soft);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.workflow-tile:hover{border-color:color-mix(in srgb,var(--tile-accent) 42%,#dedfd8);box-shadow:0 18px 42px #2021241c;transform:translateY(-2px)}.workflow-tile:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,color-mix(in srgb,var(--tile-accent) 9%,transparent),transparent 44%)}.workflow-tile>*{position:relative;z-index:1}.workflow-tile.chart-tile{--tile-accent: #0f766e;--tile-tint: #eefaf6}.workflow-tile.directory-tile{--tile-accent: #4f6272;--tile-tint: #f2f5f6}.workflow-tile.calendar-tile{--tile-accent: #b7791f;--tile-tint: #fff8eb}.workflow-tile.comms-tile{--tile-accent: #9f2f77;--tile-tint: #fff1f8}.workflow-tile.open-ticket-tile{--tile-accent: #8b5e34;--tile-tint: #fff7ed;box-shadow:var(--shadow-soft)}.workflow-tile.open-ticket-tile.has-alert,.workflow-tile.attention-tile{--tile-accent: #b42318;--tile-tint: #fff1f2;box-shadow:0 18px 38px #b4231824}.workflow-tile.closed-ticket-tile{--tile-accent: #64748b;--tile-tint: #f6f7f8}.workflow-tile.provider-ticket-tile{--tile-accent: #b7791f;--tile-tint: #fff8eb}.workflow-tile.notification-tile{--tile-accent: #be4b67;--tile-tint: #fff3f6}.workflow-tile.task-tile{--tile-accent: #13795b;--tile-tint: #f0faf5}.workflow-tile.admin-tile{--tile-accent: #0f766e;--tile-tint: #eefaf7}.workflow-tile.email-tile{--tile-accent: #6d5d4f;--tile-tint: #f8f5ef}.tile-code,.workflow-tile.urgent .tile-code,.workflow-tile.directory-tile .tile-code,.workflow-tile.calendar-tile .tile-code,.workflow-tile.comms-tile .tile-code,.workflow-tile.open-ticket-tile .tile-code{color:#fff;background:var(--tile-accent);border-radius:9px;box-shadow:0 10px 18px color-mix(in srgb,var(--tile-accent) 20%,transparent)}.workflow-tile strong{color:#1e2328;font-size:20px;letter-spacing:0}.workflow-tile small,.workflow-tile.directory-tile small,.workflow-tile.comms-tile small{color:var(--muted);line-height:1.45}.workflow-tile b,.workflow-tile.directory-tile b,.workflow-tile.comms-tile b,.workflow-tile.open-ticket-tile b{color:var(--tile-accent);background:color-mix(in srgb,var(--tile-accent) 11%,#ffffff);border:1px solid color-mix(in srgb,var(--tile-accent) 18%,transparent)}.workflow-tile.open-ticket-tile.has-alert b,.workflow-tile.attention-tile b{color:#fff;background:var(--tile-accent);border-color:var(--tile-accent)}.grid{display:grid;gap:20px}.grid.two{grid-template-columns:minmax(320px,.9fr) minmax(420px,1.1fr);align-items:start}.chart-board{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(330px,1fr) minmax(330px,1fr);gap:20px;align-items:start}.chart-intake{display:grid;gap:12px;padding:12px;background:linear-gradient(145deg,#eff6ffb8,#f0fdfab8),#fff;border:1px solid #cfe1df;border-radius:8px;box-shadow:inset 0 1px #ffffffdb}.chart-mode-toggle{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:4px;background:#eef4f6;border:1px solid #d5e2e3;border-radius:8px}.chart-mode-toggle button{min-height:42px;color:#415064;background:transparent;border:1px solid transparent;border-radius:7px;font-weight:800;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,background .14s ease,border-color .14s ease}.chart-mode-toggle button:hover{transform:translateY(-1px);background:#ffffffb8;border-color:#d7e0e3;box-shadow:0 7px 15px #1e293b14}.chart-mode-toggle button.active{color:#0f5f5b;background:#fff;border-color:#bddbd5;box-shadow:0 8px 18px #0d94881f}.chart-patient-picker,.chart-new-patient,.chart-patient-results{display:grid;gap:10px}.chart-new-patient{grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr)}.chart-selected-patient{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center;padding:12px;background:#ffffffdb;border:1px solid #c9ddd9;border-left:4px solid var(--accent);border-radius:8px}.chart-selected-patient .eyebrow{grid-column:1 / -1;margin:0}.chart-selected-patient .patient-line{min-width:0}.chart-patient-result{display:grid;gap:3px;width:100%;padding:11px 12px;color:var(--ink);background:#ffffffe0;border:1px solid #d8e0e4;border-left:4px solid #bba7d1;border-radius:8px;text-align:left;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}.chart-patient-result:hover{transform:translateY(-1px);border-color:#c2b0d8;box-shadow:0 10px 18px #1e293b14}.chart-patient-result span{font-size:15px;font-weight:800}.chart-patient-result small{color:var(--muted);font-size:13px;line-height:1.35}.inline-chip{display:inline-flex;align-items:center;margin-left:8px;padding:4px 8px;color:#6b4b8a;background:#f1e9f7;border:1px solid #d9c8e8;border-radius:999px;font-size:11px;font-weight:800;vertical-align:middle}.provider-review-board{display:grid;grid-template-columns:minmax(420px,1fr) minmax(420px,1fr);gap:20px;align-items:start}.panel{padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow-soft)}.panel h3{margin-bottom:14px;font-size:20px;letter-spacing:0}.helper{margin:6px 0 0;color:var(--muted);font-size:14px;line-height:1.4}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.panel-head h3{margin-bottom:0}.tabs{display:flex;gap:8px;margin-bottom:20px}.tab{padding:11px 15px;color:var(--accent-dark);background:#fff;border:1px solid #b7d8d2;border-radius:8px;font-weight:700}.tab.active{color:#fff;background:var(--accent);border-color:var(--accent)}form,.list,.results{display:grid;gap:12px}label{display:grid;gap:7px;color:#374151;font-size:14px;font-weight:700}.label-text{display:block;margin-bottom:7px;color:#374151;font-size:14px;font-weight:700}input,select,textarea{width:100%;padding:11px 12px;color:var(--ink);background:#fffdfa;border:1px solid #d3d5cf;border-radius:8px;outline:none}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #0f766e1f}.drop-zone{display:grid;place-items:center;gap:5px;min-height:132px;color:#0b5f59;background:#eefaf6;border:2px dashed #98d8cd;border-radius:8px;text-align:center}.drop-zone strong{font-size:18px}.drop-zone span{color:var(--muted);font-size:14px}.drop-zone.dragging{color:#0b6b57;background:#e8fff8;border-color:var(--green)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.slot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.slot-button{padding:10px 12px;color:#7c3f00;background:#fff9ec;border:1px solid #f0d49a;border-radius:8px;text-align:left;font-weight:700}.slot-button.active{color:#fff;background:var(--gold);border-color:var(--gold)}.calendar-list{display:grid;gap:10px}.calendar-slot{display:grid;grid-template-columns:90px 1fr auto;align-items:center;gap:12px;padding:14px;background:#fffaf0;border:1px solid #f0d49a;border-radius:8px}.calendar-slot strong{color:#7c3f00}.calendar-slot span{color:var(--muted);font-size:14px}.calendar-slot b{padding:5px 9px;color:#0b6b57;background:#dff8f1;border-radius:999px;font-size:12px}.calendar-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.85fr);gap:18px;align-items:start}.calendar-shell-panel,.calendar-side-panel{min-height:100%}.calendar-shell{display:grid;gap:16px}.calendar-shell-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:start;padding:16px 18px;background:linear-gradient(180deg,#0e74900f,#0f172a05);border:1px solid rgba(14,116,144,.12);border-radius:12px}.calendar-shell-toolbar>div:first-child{display:grid;gap:4px}.calendar-shell-toolbar strong{font-size:24px;color:#16324f}.calendar-shell-toolbar small{color:#5f728a;font-size:13px}.calendar-mini-slots{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.calendar-mini-slot{padding:8px 10px;color:#49617d;background:#ffffffdb;border:1px solid rgba(138,159,186,.22);border-radius:999px;font-size:12px;font-weight:700;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}.calendar-mini-slot:hover,.calendar-mini-slot.active{transform:translateY(-1px);border-color:#526eff3d;box-shadow:0 10px 24px #2d3f5b14}.calendar-mini-slot.active{color:#4a3d73;background:#ebe4fceb}.calendar-toolbar-actions{display:grid;justify-items:end;gap:10px}.calendar-view-toggle,.calendar-nav-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.calendar-view-toggle{padding:4px;background:#ffffffd1;border:1px solid rgba(141,157,179,.2);border-radius:999px}.calendar-view-toggle button{min-height:32px;padding:6px 12px;color:#51647f;background:transparent;border:0;border-radius:999px;font-size:12px;font-weight:850;text-transform:capitalize}.calendar-view-toggle button.active{color:#fff;background:linear-gradient(180deg,#168b7b,#0f766e);box-shadow:0 4px 10px #0f766e2e}.calendar-setup-warning{display:grid;gap:4px;padding:13px 15px;color:#7c4a03;background:#fff8e8;border:1px solid #efcf8c;border-radius:8px;font-size:13px}.calendar-setup-warning strong{color:#7c3f00}.calendar-embed-placeholder{position:relative;min-height:640px;overflow:hidden;background:linear-gradient(180deg,#fffffff0,#f7fafcfa),#fff;border:1px solid rgba(151,165,185,.22);border-radius:16px}.calendar-grid-backdrop{position:absolute;inset:0;background-image:linear-gradient(to right,rgba(148,163,184,.12) 1px,transparent 1px),linear-gradient(to bottom,rgba(148,163,184,.12) 1px,transparent 1px);background-size:20% 100%,100% 74px;opacity:.5;pointer-events:none}.calendar-embed-card-live{position:relative;z-index:1;height:100%;min-height:640px;display:grid;gap:18px;padding:20px}.calendar-embed-header{display:flex;justify-content:space-between;gap:16px;align-items:start}.calendar-embed-header>div{display:grid;gap:4px}.calendar-embed-header strong{font-size:18px;color:#18314a}.calendar-embed-header span{color:#66778f;font-size:13px}.calendar-embed-header b{padding:8px 12px;color:#0c7661;background:#def7f0;border-radius:999px;font-size:12px}.calendar-week-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}.calendar-mode-week .calendar-week-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.calendar-mode-day .calendar-week-grid{grid-template-columns:minmax(0,1fr)}.calendar-mode-month .calendar-week-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-day-column{display:grid;gap:12px;min-height:520px;padding:14px;background:#ffffffe0;border:1px solid rgba(175,188,204,.24);border-radius:14px;box-shadow:0 18px 34px #1c273c0d}.calendar-mode-month .calendar-day-column{min-height:178px;padding:10px;gap:8px}.calendar-day-column header{display:grid;gap:2px}.calendar-day-column header strong{color:#1b3654;font-size:15px}.calendar-day-column header span{color:#77869b;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.calendar-day-slots{display:grid;gap:10px;align-content:start}.calendar-event-pill{display:grid;gap:6px;padding:12px;color:#24435f;background:linear-gradient(180deg,#fffbf2fa,#fef6e4fa);border:1px solid #f0d49a;border-radius:12px;text-align:left;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.calendar-event-pill:hover,.calendar-event-pill.active{transform:translateY(-1px);box-shadow:0 12px 24px #9367121f;border-color:#d9ad54}.calendar-event-pill span{font-size:18px;font-weight:800;color:#85531a}.calendar-event-pill b{justify-self:start;padding:5px 10px;color:#0a6a58;background:#dff8f1;border-radius:999px;font-size:11px}.calendar-event-pill.active{background:linear-gradient(180deg,#f2ebfff5,#f8f5fffa)}.calendar-event-pill.active span{color:#5f458b}.calendar-busy-pill{display:grid;gap:4px;padding:10px 11px;color:#526174;background:linear-gradient(180deg,#eef3f7,#e8eef4);border:1px solid #d5e0e8;border-radius:11px;font-size:12px}.calendar-busy-pill span{color:#64748b;font-weight:750}.calendar-busy-pill b{color:#354154;font-size:12px}.calendar-empty-day,.calendar-no-slots{padding:10px 11px;color:#718096;background:#f8fafce0;border:1px dashed #d9e2ea;border-radius:10px;font-size:12px;font-weight:700}.calendar-day-column-muted{background:linear-gradient(180deg,#f0f8fcf2,#f7fafcfa)}.calendar-day-note{display:grid;gap:12px;align-content:start}.calendar-day-note p{margin:0;padding:12px;color:#41566f;background:#ffffffdb;border:1px solid rgba(169,185,205,.2);border-radius:12px;font-weight:600}.calendar-side-selected{display:grid;gap:4px;margin-bottom:14px;padding:14px 16px;background:linear-gradient(180deg,#eff7fff5,#fffffffa);border:1px solid rgba(128,164,214,.18);border-radius:12px}.calendar-side-selected span{color:#6d7f96;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.calendar-side-selected strong{color:#18314d;font-size:20px;line-height:1.3}.calendar-side-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.calendar-shortcut-chip{padding:8px 11px;color:#5c6f88;background:#f7fafc;border:1px solid #d9e2eb;border-radius:999px;font-size:12px;font-weight:800;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.calendar-shortcut-chip:hover,.calendar-shortcut-chip.active{transform:translateY(-1px);border-color:#bca7ea;box-shadow:0 10px 20px #4f46e514}.calendar-shortcut-chip.active{color:#4b3f73;background:#efe8ff}.calendar-check-form{display:grid;gap:12px}.calendar-check-form textarea{min-height:128px}.calendar-side-note{display:grid;gap:5px;margin-top:16px;padding:14px 16px;color:#5f738b;background:#f4f8fbf5;border:1px solid rgba(174,185,198,.22);border-radius:12px}.calendar-side-note strong{color:#17314d}.margin-top{margin-top:20px}.webhook-box{display:grid;grid-template-columns:130px 1fr;gap:10px;align-items:center;margin-bottom:16px;padding:14px;background:#f8fafc;border:1px solid var(--line);border-radius:8px}.webhook-box span{color:var(--muted);font-weight:700}.webhook-box code{padding:7px 9px;color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:6px;overflow-wrap:anywhere}.primary,.secondary,.danger,.success{padding:11px 14px;border-radius:8px;border:0;font-weight:800}.primary{color:#fff;background:var(--accent)}.secondary{color:#303741;background:#f7f7f3;border:1px solid #d9d7cf}.danger{color:#fff;background:var(--red)}.success{color:#fff;background:var(--green)}.selected,.empty,.card{padding:14px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 18px #2021240a}.empty{color:var(--muted)}.result-button,.directory-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px;text-align:left;background:#fffdfa;border:1px solid var(--line);border-radius:8px;transition:.14s ease}.directory-row{cursor:pointer}.result-button:hover,.directory-row:hover{border-color:var(--accent)}.name{display:block;font-weight:800}.phone,.meta{display:block;margin-top:3px;color:var(--muted);font-size:13px}.status{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:800}.status.open,.status.pending,.status.downloaded{color:#8a4b00;background:#fff1d6}.status.done,.status.completed{color:#0b6b57;background:#dff8f1}.status.declined{color:#9b1c1c;background:#fee2e2}.status.approved,.status.active{color:#0b6b57;background:#dff8f1}.status.disabled{color:#5f6673;background:#eceff3}.card{display:grid;gap:10px}.ticket-card{position:relative;overflow:hidden;padding-left:18px;border-left:5px solid #9ca3af}.ticket-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:currentColor}.ticket-open{color:#8a4b00;background:#fffaf0;border-color:#f0c36a}.ticket-completed{color:#075e4d;background:#f2fbf8;border-color:#a7e3d4}.ticket-declined{color:#9b1c1c;background:#fff5f5;border-color:#f7b4b4}.ticket-card .name,.ticket-card .note,.ticket-card .phone,.ticket-card .meta,.ticket-card .card-actions{color:var(--ink)}.ticket-card .phone,.ticket-card .meta{color:var(--muted)}.provider-ticket-row{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:14px;align-items:start;padding:16px;background:linear-gradient(180deg,#fff,#f8fbfc);border:1px solid #d8e3e5;border-radius:10px;box-shadow:0 10px 24px #0f172a0d}.provider-ticket-main{display:grid;gap:8px;min-width:0}.provider-ticket-head{display:grid;gap:2px}.provider-ticket-head .name{font-size:16px;font-weight:800}.provider-ticket-head .phone,.provider-ticket-main .meta{color:var(--muted)}.provider-ticket-main .note{margin:0;line-height:1.5}.provider-ticket-check,.provider-ticket-delete{min-height:42px;border-radius:10px;font-weight:800;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease}.provider-ticket-check{width:50px;color:#0f6b5f;background:#e8faf5;border:1px solid #b9dfd5;box-shadow:inset 0 1px #ffffffd9;font-size:22px}.provider-ticket-check:hover{transform:translateY(-1px);background:#d8f4ec;box-shadow:0 10px 18px #0f766e24}.provider-ticket-delete{padding:0 14px;color:#8d3840;background:#fff8f8;border:1px solid #efc6cb}.provider-ticket-delete:hover{transform:translateY(-1px);background:#fff1f1;box-shadow:0 10px 18px #b91c1c14}.completed-chart{background:#f2fbf8;border-color:#a7e3d4}.provider-review-needed{background:#fff7ed;border-color:#f0c36a}.provider-reviewed-chart{background:#f2fbf8;border-color:#a7e3d4}.signed-line{display:block;padding:10px 12px;color:#075e4d;background:#dff8f1;border:1px solid #a7e3d4;border-radius:8px;font-size:13px;font-weight:800}.archived-line{display:block;padding:10px 12px;color:#5f6673;background:#f2f5f8;border:1px solid #dbe3ea;border-radius:8px;font-size:13px;font-weight:700}.archive-button{color:#4b5563;background:linear-gradient(180deg,#fff,#eef2f6);border-color:#d2dae4;box-shadow:0 2px #e3e8ee}.archive-button:hover{color:#334155;background:linear-gradient(180deg,#fff,#e9eef4);border-color:#c1ccd8}.review-warning{display:block;padding:10px 12px;color:#8a4b00;background:#fff1d6;border:1px solid #f0c36a;border-radius:8px;font-size:13px;font-weight:800}.provider-reviewed-line{display:block;padding:10px 12px;color:#2d3540;background:#f1f3f1;border:1px solid #d9d7cf;border-radius:8px;font-size:13px;font-weight:800}.card-actions{display:flex;gap:8px;flex-wrap:wrap}.note{margin:0;line-height:1.45;white-space:pre-wrap}.hidden{display:none!important}.modal-backdrop{position:fixed;inset:0;display:grid;place-items:center;padding:24px;background:#0f172a6b;z-index:10}.modal{width:min(720px,100%);padding:24px;background:#fff;border-radius:10px;box-shadow:0 24px 70px #0f172a47}.modal-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:18px}.modal h3{margin:0;font-size:24px}.icon-button{width:38px;height:38px;color:#475569;background:#f8fafc;border:1px solid var(--line);border-radius:8px;font-weight:900}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.action-tile{display:grid;gap:8px;min-height:118px;padding:18px;color:var(--ink);text-align:left;background:#f8fafc;border:1px solid var(--line);border-radius:8px}.action-tile:hover{border-color:var(--accent);background:#eefaf6}.action-tile strong{font-size:18px}.action-tile span{color:var(--muted);line-height:1.4}:root{--bg: #f4f6f8;--panel: #ffffff;--ink: #1f2933;--muted: #687386;--line: #d9dee7;--accent: #0f766e;--accent-dark: #0b5f59;--green: #13795b;--gold: #9a6a1f;--red: #b42318;--shadow: 0 18px 42px rgba(31, 41, 55, .08);--shadow-soft: 0 8px 24px rgba(31, 41, 55, .06)}body{background:linear-gradient(180deg,#fafbfc,#f4f6f8 55%,#eef2f5)}.sidebar{padding:22px;background:#14213d;border-right:1px solid #22304c}.brand-mark{border-radius:10px;background:#138a72;box-shadow:none}.brand p{color:#b9c5d8}.nav-button{color:#dce6f5;background:transparent;border-color:transparent;box-shadow:none}.nav-button.active,.nav-button:hover{color:#fff;background:#ffffff1a;border-color:#ffffff29;box-shadow:none}.topbar{background:#fffffff0}.dashboard-hero{background:linear-gradient(135deg,#1d334b,#0f766e);border:1px solid rgba(255,255,255,.12);box-shadow:var(--shadow-soft)}.summary-strip div,.summary-strip .metric-button{background:#ffffff1f}.workflow-tile,.workflow-tile.chart-tile,.workflow-tile.directory-tile,.workflow-tile.create-ticket-tile,.workflow-tile.calendar-tile,.workflow-tile.comms-tile,.workflow-tile.open-ticket-tile,.workflow-tile.closed-ticket-tile,.workflow-tile.provider-ticket-tile,.workflow-tile.notification-tile,.workflow-tile.task-tile,.workflow-tile.email-tile{--tile-accent: #4f6272;--tile-tint: #ffffff;min-height:178px;background:#fff;border:1px solid #dfe4ec;border-left:3px solid var(--tile-accent);box-shadow:var(--shadow-soft)}.workflow-tile:after{display:none}.workflow-tile:hover{border-color:#c7d0dc;box-shadow:0 14px 34px #1f293717;transform:translateY(-1px)}.workflow-tile.chart-tile,.workflow-tile.task-tile{--tile-accent: #0f766e}.workflow-tile.calendar-tile,.workflow-tile.provider-ticket-tile{--tile-accent: #9a6a1f}.workflow-tile.comms-tile,.workflow-tile.create-ticket-tile,.workflow-tile.notification-tile{--tile-accent: #7c5f8a}.workflow-tile.open-ticket-tile{--tile-accent: #8b5e34}.workflow-tile.open-ticket-tile.has-alert{--tile-accent: #b42318;border-color:#efc7c3;border-left-color:#b42318;box-shadow:0 14px 34px #b423181a}.workflow-tile.closed-ticket-tile,.workflow-tile.email-tile{--tile-accent: #64748b}.workflow-tile.attention-tile{--tile-accent: #9a6a1f;border-color:#ead7ad;border-left-color:#9a6a1f;box-shadow:var(--shadow-soft)}.tile-code,.workflow-tile.urgent .tile-code,.workflow-tile.directory-tile .tile-code,.workflow-tile.calendar-tile .tile-code,.workflow-tile.comms-tile .tile-code,.workflow-tile.open-ticket-tile .tile-code{width:38px;height:38px;color:#fff;background:var(--tile-accent);border-radius:8px;box-shadow:none}.workflow-tile strong{color:#1f2933;font-size:19px}.workflow-tile small,.workflow-tile.directory-tile small,.workflow-tile.comms-tile small{color:#687386}.workflow-tile b,.workflow-tile.directory-tile b,.workflow-tile.comms-tile b,.workflow-tile.open-ticket-tile b{color:#334155;background:#f2f5f8;border:1px solid #e2e8f0}.workflow-tile.open-ticket-tile.has-alert b{color:#8f1d16;background:#fff1f1;border-color:#f0c3bf}.summary-strip{grid-template-columns:repeat(4,minmax(96px,1fr));min-width:430px}.summary-strip .urgent-metric{color:#fff;background:linear-gradient(180deg,#ffffff29,#ffffff0a),#b42318;border-color:#ffffff57;box-shadow:inset 0 1px #fff3,0 12px 24px #b423183d}.summary-strip .urgent-metric:hover{background:linear-gradient(180deg,#fff3,#ffffff0f),#a32117}.summary-strip .urgent-metric span{color:#ffe5e2}.workflow-tile.comms-alert-tile{--tile-accent: #b42318;border-color:#efc7c3;border-left-color:#b42318;background:linear-gradient(180deg,#ffffffd6,#fffffff5),#fff1f1;box-shadow:0 14px 34px #b423181a}.workflow-tile.comms-alert-tile b{color:#8f1d16;background:#fff1f1;border-color:#f0c3bf}.notification-badge{background:#c62828;box-shadow:0 8px 18px #b423182e}.panel,.card,.selected,.empty{box-shadow:var(--shadow-soft)}.ticket-open{background:#fffaf0}.ticket-completed,.completed-chart,.provider-reviewed-chart{background:#f3faf7}.ticket-declined{background:#fff6f5}.sidebar{padding:22px 18px;background:linear-gradient(180deg,rgba(255,255,255,.03),transparent 18%),#14213d;border-right:1px solid #243451;box-shadow:inset -1px 0 #ffffff0f,12px 0 32px #0f172a14}.brand{padding:0 2px 18px;margin-bottom:18px;border-bottom:1px solid rgba(255,255,255,.08)}.brand-mark{border-radius:12px;background:linear-gradient(145deg,#16a085,#0f766e);box-shadow:inset 0 1px #ffffff40,0 13px 26px #0000002e}.brand h1{line-height:1.05}.brand p{color:#c8d4e4}nav{gap:9px}.nav-button{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 16px;color:#dce6f5;background:#ffffff04;border:1px solid transparent;border-radius:8px;overflow:hidden;box-shadow:none;transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease}.nav-button:before{content:"";position:absolute;inset:1px;border-radius:7px;background:linear-gradient(180deg,#ffffff21,#ffffff08);opacity:0;pointer-events:none;transition:opacity .15s ease}.nav-button:hover{color:#fff;background:#ffffff13;border-color:#ffffff26;box-shadow:inset 0 1px #ffffff1f,0 11px 24px #0000002b;transform:translate(3px)}.nav-button.active{color:#fff;background:linear-gradient(180deg,#ffffff2b,#ffffff17);border-color:#ffffff30;box-shadow:inset 0 1px #ffffff21,0 12px 26px #0000002e}.nav-button.active:after{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;background:#17a085;border-radius:0 999px 999px 0}.nav-button:hover:before,.nav-button.active:before{opacity:1}.nav-alert-badge{position:relative;z-index:1;display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;color:#fff;background:#c81e1e;border:1px solid rgba(255,255,255,.28);border-radius:999px;font-size:11px;font-weight:900;line-height:1}.topbar{min-height:74px;padding:18px 26px}.view{padding:22px 26px}.dashboard-hero{align-items:center;gap:16px;margin-bottom:14px;padding:14px 18px}.dashboard-hero h2{font-size:22px}.dashboard-hero p{margin-top:4px;font-size:13px}.dashboard-hero .eyebrow{margin-bottom:2px;font-size:10px}.summary-strip{gap:8px;min-width:300px}.summary-strip div,.summary-strip .metric-button{padding:10px 12px}.summary-strip strong{font-size:21px}.summary-strip span{font-size:12px}.tile-grid{gap:12px}.workflow-tile,.workflow-tile.chart-tile,.workflow-tile.directory-tile,.workflow-tile.calendar-tile,.workflow-tile.comms-tile,.workflow-tile.open-ticket-tile,.workflow-tile.closed-ticket-tile,.workflow-tile.provider-ticket-tile,.workflow-tile.notification-tile,.workflow-tile.task-tile,.workflow-tile.email-tile{min-height:150px;padding:16px;gap:8px}.tile-code,.workflow-tile.urgent .tile-code,.workflow-tile.directory-tile .tile-code,.workflow-tile.calendar-tile .tile-code,.workflow-tile.comms-tile .tile-code,.workflow-tile.open-ticket-tile .tile-code{width:34px;height:34px;font-size:14px}.workflow-tile strong{font-size:18px}.workflow-tile small{font-size:13px}.workflow-tile b{padding:5px 9px;font-size:12px}.grid,.chart-board,.provider-review-board{gap:16px}.panel{padding:18px}.panel h3{margin-bottom:10px;font-size:18px}.helper{font-size:13px}.card,.selected,.empty{padding:12px}input,select,textarea,.primary,.secondary,.danger,.success{padding:10px 11px}.result-button,.directory-row{padding:11px}button{transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease,color .14s ease}.primary,.secondary,.danger,.success{border:1px solid transparent;font-weight:700;box-shadow:inset 0 1px #fff3,0 2px #1f293714}.primary:hover,.secondary:hover,.danger:hover,.success:hover,.slot-button:hover,.result-button:hover,.directory-row:hover,.action-tile:hover{transform:translateY(-1px);box-shadow:inset 0 1px #ffffff38,0 9px 20px #1f293717}.primary:active,.secondary:active,.danger:active,.success:active,.slot-button:active,.result-button:active,.directory-row:active,.action-tile:active{transform:translateY(1px);box-shadow:inset 0 1px 2px #1f29371f}.card-actions{align-items:center}.card-actions button{font-size:14px;font-weight:700}.card-actions .success{color:#0b5f59;background:linear-gradient(180deg,#f5fbf9,#e7f5f1);border-color:#b8ddd5;box-shadow:0 2px #cfe8e1}.card-actions .success:hover{color:#084f4a;background:linear-gradient(180deg,#fff,#dff1ec);border-color:#8fc9bd}.card-actions .danger{color:#9b2c25;background:linear-gradient(180deg,#fffefe,#fff5f4);border-color:#efcfca;box-shadow:0 2px #f2ddd9}.card-actions .danger:hover{color:#84211c;background:linear-gradient(180deg,#fff,#ffefed);border-color:#dfa9a1}.card-actions .secondary{color:#334155;background:linear-gradient(180deg,#fff,#f4f5f2);border-color:#d8d9d2;box-shadow:0 2px #e2e4de}.card-actions .secondary:hover{border-color:#c4c8be}.name{font-weight:700}.note{font-size:14px;white-space:pre-line}.result-button,.directory-row{background:#fff;border-color:#dfe5ec;box-shadow:0 1px #1f293708}.result-button .name,.directory-row .name{color:#263241;font-size:15px;font-weight:650;letter-spacing:0}.result-button .phone,.directory-row .phone{color:#718096;font-size:13px}.result-button .meta,.directory-row .meta{color:#64748b;font-size:13px;font-weight:500}.result-button:hover,.directory-row:hover{background:linear-gradient(180deg,#fff,#f8fbfc);border-color:#b9c8d5;box-shadow:0 10px 22px #1f293714,inset 0 1px #fff;transform:translateY(-1px)}.result-button:active,.directory-row:active{transform:translateY(1px);box-shadow:inset 0 1px 3px #1f29371f}.result-button:has(.meta:first-child),.directory-row:has(.meta:first-child){border-color:#dfe5ec}.summary-strip .metric-button{position:relative;overflow:hidden;cursor:pointer;box-shadow:inset 0 1px #ffffff2e,0 3px #00000014}.summary-strip .metric-button:after{content:"";position:absolute;inset:1px;border-radius:7px;background:linear-gradient(180deg,rgba(255,255,255,.15),transparent 62%);opacity:0;transition:opacity .14s ease}.summary-strip .metric-button:hover{transform:translateY(-2px);background:#fff3;border-color:#ffffff57;box-shadow:inset 0 1px #ffffff38,0 12px 24px #00000024}.summary-strip .metric-button:hover:after{opacity:1}.summary-strip .metric-button:active{transform:translateY(1px);box-shadow:inset 0 2px 4px #0000001f}.summary-strip .metric-button strong,.summary-strip .metric-button span{position:relative;z-index:1}.workflow-tile,.workflow-tile.chart-tile,.workflow-tile.calendar-tile,.workflow-tile.provider-ticket-tile,.workflow-tile.task-tile,.workflow-tile.admin-tile{background:linear-gradient(180deg,#ffffffd1,#fffffff0),#eefaf7}.workflow-tile.directory-tile,.workflow-tile.create-ticket-tile,.workflow-tile.open-ticket-tile,.workflow-tile.closed-ticket-tile,.workflow-tile.notification-tile,.workflow-tile.comms-tile,.workflow-tile.email-tile{background:linear-gradient(180deg,#ffffffd1,#fffffff0),#f5effb}.workflow-tile:hover{background:linear-gradient(180deg,#ffffffb8,#ffffffe6),color-mix(in srgb,var(--tile-accent) 10%,#ffffff)}.dashboard-zones{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.dashboard-zone{padding:14px;border:1px solid #dce3ea;border-radius:8px;box-shadow:var(--shadow-soft)}.ops-zone{background:linear-gradient(180deg,#ffffffc7,#ffffffeb),#eaf8f5}.patient-zone{background:linear-gradient(180deg,#ffffffc7,#ffffffeb),#f4effb}.zone-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:-4px -4px 12px;padding:9px 12px;border-radius:7px;border:1px solid transparent}.patient-zone .zone-head{background:linear-gradient(180deg,#7e5b963d,#7e5b9624);border-color:#7e5b9647}.ops-zone .zone-head{background:linear-gradient(180deg,#0f766e3d,#0f766e24);border-color:#0f766e47}.zone-head span{color:#263241;font-size:14px;font-weight:750}.zone-head b{color:#667085;font-size:11px;font-weight:650;letter-spacing:.08em;text-transform:uppercase}.patient-zone .zone-head span{color:#5e3f73}.ops-zone .zone-head span{color:#0b5f59}.zone-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-zone .workflow-tile{min-width:0;min-height:144px}.result-button,.directory-row{position:relative;overflow:hidden;padding:13px 14px 13px 17px;background:linear-gradient(180deg,#fff,#fbfcff);border-color:#dce3ec;box-shadow:inset 0 1px #fff,0 2px #1f293709}.result-button:before,.directory-row:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;background:#8a6fa1;border-radius:0 999px 999px 0;opacity:.45;transition:opacity .14s ease,top .14s ease,bottom .14s ease}.result-button:hover,.directory-row:hover{background:linear-gradient(180deg,#fff,#f7f9fc);border-color:#c6d0dd;box-shadow:inset 0 1px #fff,0 12px 26px #1f293717}.result-button:hover:before,.directory-row:hover:before{top:8px;bottom:8px;opacity:.75}.result-button .name,.directory-row .name,.selected .name{color:#1f2933;font-size:16.5px;font-weight:650;line-height:1.18}.result-button .phone,.directory-row .phone,.selected .phone{color:#6f7d91;font-size:13px;line-height:1.35}.selected:not(.empty){background:linear-gradient(180deg,#ffffffe0,#fffffff5),#f4effb;border-color:#d9cde6;box-shadow:inset 0 1px #fff,0 10px 24px #51406314}.selected:not(.empty) .name{font-size:18px}.card .name{font-weight:650}.schedule-form label,.schedule-form .label-text{color:#334155;font-weight:650}.schedule-form select,.schedule-form input{background:linear-gradient(180deg,#fff,#fbfcff);border-color:#d9e0e8;box-shadow:inset 0 1px #fff,0 1px #1f293708;font-weight:600}.slot-grid{gap:10px}.slot-button{position:relative;min-height:62px;padding:12px 14px;color:#6f4b16;background:linear-gradient(180deg,#ffffffd1,#fffffff0),#fff8eb;border-color:#ead2a3;box-shadow:inset 0 1px #fff,0 2px #9a6a1f14;font-size:15px;font-weight:650;line-height:1.25}.slot-button:hover{color:#5e3f0e;background:linear-gradient(180deg,#fff,#fffaeff0),#fff2d8;border-color:#d9b674}.slot-button.active{color:#fff;background:linear-gradient(180deg,#a87524,#8c5b19);border-color:#8c5b19;box-shadow:inset 0 1px #ffffff2e,0 8px 20px #9a6a1f29}.schedule-submit{background:linear-gradient(180deg,#168b7b,#0f766e);box-shadow:inset 0 1px #fff3,0 3px #0b5f59}.schedule-submit:hover{background:linear-gradient(180deg,#1b9b89,#0f766e)}.panel .empty{color:#687386;background:linear-gradient(180deg,#ffffffd1,#fffffff2),#f4effb;border-color:#d9cde6;box-shadow:inset 0 1px #fff,0 5px 14px #1f29370a}.frontdesk-workspace{display:grid;grid-template-columns:minmax(330px,.86fr) minmax(480px,1.14fr);gap:16px;align-items:start}.frontdesk-workspace.patient-search-collapsed{grid-template-columns:230px minmax(560px,1fr)}.patient-search-panel,.ticket-create-panel{min-width:0}.ticket-create-panel{background:linear-gradient(180deg,#ffffffe6,#fffffffa),#f7fbfa}.patient-search-panel input,.ticket-create-panel input,.ticket-create-panel select,.ticket-create-panel textarea{font-size:14px;line-height:1.45}.ticket-create-panel textarea{min-height:178px}.frontdesk-workspace.patient-search-collapsed .ticket-create-panel{box-shadow:0 16px 34px #1f293714}.compact-head{align-items:start;margin-bottom:12px}.compact-head .secondary{flex:0 0 auto;white-space:nowrap}.patient-search-summary{position:sticky;top:16px;display:grid;gap:12px;padding:16px;background:linear-gradient(180deg,#ffffffe6,#fffffffa),#f4effb;border:1px solid #d9cde6;border-left:3px solid #8a6fa1;border-radius:8px;box-shadow:inset 0 1px #fff,0 12px 26px #51406314}.patient-search-summary .eyebrow{margin-bottom:0;color:#725b88;font-size:10px;letter-spacing:.08em}.patient-search-summary .name{color:#263241;font-size:17px;font-weight:650}.patient-search-summary .phone{color:#708096;font-size:12.5px;overflow-wrap:anywhere}.patient-search-summary .secondary{width:100%}.patient-summary-actions{display:grid;grid-template-columns:1fr auto;gap:8px}.patient-summary-actions .secondary{width:auto}.clear-patient{color:#6b475f;background:linear-gradient(180deg,#fff,#f8f2f6);border-color:#decfdb}.clear-patient:hover{color:#55364d;background:linear-gradient(180deg,#fff,#f4eaf1);border-color:#cdbbca}.ticket-create-panel>h3{color:#243142;font-size:20px;font-weight:700}.ticket-create-panel .selected:not(.empty){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:12px;background:linear-gradient(180deg,#ffffffdb,#fffffff7),#f4effb;border-color:#d8cce6;border-left:3px solid #8a6fa1}.ticket-selected-card .secondary{flex:0 0 auto;white-space:nowrap}.ticket-create-panel .selected:not(.empty) .name{font-size:19px;font-weight:700}.admin-grid{align-items:start}.admin-user-form{gap:14px}.role-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.role-summary-card{display:grid;gap:2px;padding:12px;background:linear-gradient(180deg,#ffffffd1,#fffffff2),#eefaf7;border:1px solid #d9e8e4;border-radius:8px;box-shadow:inset 0 1px #fff,0 4px 12px #1f29370a}.role-summary-card strong{color:#0b5f59;font-size:20px;line-height:1}.role-summary-card span{color:#637184;font-size:12px;font-weight:650}.user-card{border-left:3px solid #0f766e;background:linear-gradient(180deg,#ffffffe6,#fffffffa),#f7fbfa}.security-note{margin:0 0 10px;color:#475569;font-size:13px;font-weight:700}.admin-safety-helper{margin:-2px 0 0;color:#6b7280}.user-disabled{opacity:.72;background:linear-gradient(180deg,#ffffffdb,#fffffff5),#f4f6f8;border-left-color:#94a3b8}.user-card-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.role-chip{flex:0 0 auto;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:750}.role-va{color:#0b5f59;background:#e4f5f1;border:1px solid #b9ddd6}.role-provider{color:#6f4b16;background:#fff4dc;border:1px solid #ead2a3}.role-admin{color:#5e3f73;background:#f4effb;border:1px solid #d9cde6}.twilio-webhook-box{grid-template-columns:120px minmax(0,1fr)}.comms-event{border-left:3px solid #64748b}.comms-inbound{border-left-color:#8a6fa1;background:linear-gradient(180deg,#ffffffe0,#fffffff7),#f4effb}.comms-outbound{border-left-color:#0f766e;background:linear-gradient(180deg,#ffffffe0,#fffffff7),#eefaf7}.matched-line{display:block;padding:9px 11px;color:#0b5f59;background:#e4f5f1;border:1px solid #b9ddd6;border-radius:8px;font-size:13px;font-weight:750}.comms-mode-live{color:#0b5f59;background:#dff8f1;border:1px solid #a7e3d4}.comms-mode-mock{color:#6f4b16;background:#fff4dc;border:1px solid #ead2a3}.comms-view{display:grid;gap:16px}.comms-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;background:linear-gradient(135deg,#ffffffd1,#fffffff5),#eefaf7;border:1px solid #d5e7e3;border-radius:8px;box-shadow:var(--shadow-soft)}.comms-hero h2,.comms-hero p{margin:0}.comms-hero h2{color:#223143;font-size:24px;font-weight:700}.comms-hero p{max-width:680px;margin-top:4px;color:#66758a;font-size:13px;line-height:1.45}.comms-hero .eyebrow{color:#0b5f59}.comms-live-strip{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:8px;row-gap:2px;min-width:210px;padding:12px 14px;color:#0b5f59;background:linear-gradient(180deg,#fff,#effaf7);border:1px solid #b9ddd6;border-radius:8px;box-shadow:inset 0 1px #fff,0 2px #0f766e14}.comms-live-strip strong{font-size:14px}.comms-live-strip span:last-child{grid-column:2;color:#627084;font-size:12px;overflow-wrap:anywhere}.live-dot{width:10px;height:10px;border-radius:50%;background:#17a085;box-shadow:0 0 0 4px #17a08521}.live-dot.needs-attention{background:#b7791f;box-shadow:0 0 0 4px #b7791f21}.comms-compose-grid{grid-template-columns:minmax(460px,.9fr) minmax(460px,1.1fr);align-items:start}.comms-panel{position:relative;overflow:hidden;padding:18px;border-color:#dce3ea}.comms-panel:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--accent)}.patient-comms-panel{background:linear-gradient(180deg,#ffffffe6,#fffffffa),#f4effb}.patient-comms-panel:before{background:#8a6fa1}.provider-comms-panel{background:linear-gradient(180deg,#ffffffe6,#fffffffa),#eefaf7}.comms-panel h3{color:#243142;font-size:20px;font-weight:700}.comms-panel label{color:#354153;font-weight:650}.comms-panel input,.comms-panel select,.comms-panel textarea{background:linear-gradient(180deg,#fff,#fbfcff);border-color:#d8e0e8;box-shadow:inset 0 1px #fff,0 1px #1f293708;font-size:14px}.comms-message{min-height:112px;line-height:1.45}.comms-field-grid{gap:10px}.comms-selected-patient,.comms-provider-card{display:grid;gap:3px;margin:12px 0;padding:14px;border-radius:8px;box-shadow:inset 0 1px #fff,0 8px 20px #1f29370f}.comms-selected-patient{background:linear-gradient(180deg,#ffffffb8,#ffffffeb),#f5effb;border:1px solid #dacfe4;border-left:4px solid #8a6fa1}.comms-provider-card{background:linear-gradient(180deg,#ffffffbd,#fffffff0),#edf8f5;border:1px solid #cde4de;border-left:4px solid #0f766e}.patient-line-card{margin-top:12px;background:linear-gradient(180deg,#ffffffbd,#fffffff0),#f5effb;border-color:#dacfe4;border-left-color:#8a6fa1}.comms-selected-patient span,.comms-provider-card span{color:#7b6b8a;font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.comms-provider-card span{color:#0b5f59}.comms-selected-patient strong,.comms-provider-card strong{color:#223143;font-size:22px;font-weight:720;line-height:1.14;overflow-wrap:anywhere}.comms-selected-patient small{color:#67758a;font-size:13px;line-height:1.35}.comms-results{max-height:172px;overflow:auto;padding-right:2px}.comms-results .result-button{min-height:58px;padding:11px 13px 11px 16px}.comms-results .result-button .name{font-size:15px}.lookup-helper{display:grid;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid #e5e7eb}.lookup-helper .comms-results{max-height:150px}.comms-activity-panel{background:linear-gradient(180deg,#ffffffe0,#fffffffa),#f8fbfb}.twilio-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.twilio-status-card{display:grid;gap:5px;padding:12px;background:#fff;border:1px solid #dfe6ec;border-radius:8px;box-shadow:inset 0 1px #fff,0 5px 14px #1f29370a}.twilio-status-card span{color:#66758a;font-size:12px;font-weight:750}.twilio-status-card strong{color:#253244;font-size:14px;font-weight:700;overflow-wrap:anywhere}.twilio-status-card.ready{background:linear-gradient(180deg,#ffffffdb,#fffffffa),#eefaf7;border-color:#cde4de}.twilio-status-card.ready strong{color:#0b5f59}.twilio-status-card.attention{background:linear-gradient(180deg,#ffffffe0,#fffffffa),#fff8eb;border-color:#ead2a3}.twilio-status-card.attention strong{color:#7a4d0c}.twilio-endpoints{display:grid;gap:8px;margin-bottom:16px}.twilio-endpoints div{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:10px;padding:9px 10px;background:#fff;border:1px solid #e1e7ed;border-radius:8px}.twilio-endpoints span{color:#657286;font-size:12px;font-weight:750}.twilio-endpoints code{color:#243142;font-size:12.5px;overflow-wrap:anywhere}.comms-event{position:relative;overflow:hidden;padding:14px 16px;border-color:#dfe5ec;box-shadow:inset 0 1px #fff,0 8px 22px #1f29370e}.comms-event:hover{transform:translateY(-1px);box-shadow:inset 0 1px #fff,0 14px 26px #1f293714}.comms-event-head{align-items:center;justify-content:start}.comms-event-head .role-chip{margin-left:auto}.comms-event-icon{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;color:#fff;background:linear-gradient(180deg,#8a6fa1,#765f8a);border-radius:10px;box-shadow:inset 0 1px #ffffff38,0 8px 18px #51406329;font-size:11px;font-weight:800}.comms-outbound .comms-event-icon{background:linear-gradient(180deg,#168b7b,#0f766e);box-shadow:inset 0 1px #ffffff38,0 8px 18px #0f766e29}.comms-event .name{color:#243142;font-size:17px;font-weight:700}.comms-event .phone{font-size:12.5px}.comms-body{margin:2px 0;padding:11px 12px;color:#253244;background:#ffffffb8;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;line-height:1.45}.comms-event .review-warning{color:#76520d;background:#fff8eb;border-color:#ead2a3}.comms-event .meta{color:#718096;font-size:12px;overflow-wrap:anywhere}.auth-page{display:grid;place-items:center;min-height:100vh;padding:24px;background:radial-gradient(circle at 78% 0%,rgba(15,118,110,.12),transparent 30%),radial-gradient(circle at 22% 18%,rgba(138,111,161,.16),transparent 26%),linear-gradient(180deg,#fbfbf8,#eef3f2)}.auth-card{width:min(100%,430px);padding:28px;background:linear-gradient(180deg,#ffffffe6,#fffffffa),#eefaf7;border:1px solid #d5e1df;border-radius:8px;box-shadow:0 24px 58px #1f293724}.auth-card .brand-mark{margin-bottom:16px}.auth-card h1,.auth-card p{margin:0}.auth-card h1{color:#223143;font-size:26px;line-height:1.15}.auth-card p{margin-top:8px;color:#66758a;line-height:1.45}.auth-card form{margin-top:20px}.auth-card .primary{width:100%}.auth-warning,.auth-error{padding:10px 12px;border-radius:8px;font-size:13px;line-height:1.4}.auth-warning{margin-top:14px;color:#76520d;background:#fff8eb;border:1px solid #ead2a3}.auth-error{color:#8f1d16;background:#fff1f1;border:1px solid #f0c3bf}.session-card{display:grid;gap:4px;margin-top:18px;padding:14px;color:#dce6f5;background:#ffffff0e;border:1px solid rgba(255,255,255,.1);border-radius:8px;box-shadow:inset 0 1px #ffffff0f}.session-card span{color:#7dd3c7;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.session-card strong{color:#fff;font-size:14px}.session-card small{color:#b8c6d8;overflow-wrap:anywhere}.session-card .secondary{margin-top:8px;color:#e6edf7;background:#ffffff13;border-color:#ffffff24}.toast{position:fixed;right:22px;bottom:22px;padding:12px 16px;color:#fff;background:#111827;border-radius:8px;opacity:0;transform:translateY(12px);transition:.16s ease}.toast.show{opacity:1;transform:translateY(0)}body{font-size:14px}.shell{grid-template-columns:232px minmax(0,1fr)}.sidebar{padding:16px 14px}.brand{gap:10px;padding-bottom:14px;margin-bottom:14px}.brand-mark{width:36px;height:36px;border-radius:10px;font-size:16px}.brand h1{font-size:18px}.brand p{margin-top:3px;font-size:12px}nav{gap:7px}.nav-button{padding:11px 12px;font-size:15px}.nav-button.active:after{top:10px;bottom:10px}.view{padding:16px 20px}.dashboard-hero{gap:14px;margin-bottom:12px;padding:11px 14px}.dashboard-hero h2{font-size:21px}.dashboard-hero p{margin-top:3px;font-size:12.5px}.summary-strip{gap:7px;min-width:430px}.summary-strip div,.summary-strip .metric-button{min-height:62px;padding:8px 10px}.summary-strip strong{font-size:20px}.summary-strip span{font-size:11.5px}.dashboard-zones{gap:12px}.dashboard-zone{padding:10px}.zone-head{margin:-2px -2px 10px;padding:7px 10px}.zone-grid{gap:10px}.dashboard-zone .workflow-tile,.workflow-tile,.workflow-tile.chart-tile,.workflow-tile.directory-tile,.workflow-tile.calendar-tile,.workflow-tile.comms-tile,.workflow-tile.open-ticket-tile,.workflow-tile.closed-ticket-tile,.workflow-tile.provider-ticket-tile,.workflow-tile.notification-tile,.workflow-tile.task-tile,.workflow-tile.admin-tile{min-height:122px;padding:13px;gap:6px}.tile-code,.workflow-tile.urgent .tile-code,.workflow-tile.directory-tile .tile-code,.workflow-tile.calendar-tile .tile-code,.workflow-tile.comms-tile .tile-code,.workflow-tile.open-ticket-tile .tile-code{width:31px;height:31px;border-radius:8px;font-size:12.5px}.workflow-tile strong{font-size:16.5px;line-height:1.15}.workflow-tile small,.workflow-tile.directory-tile small,.workflow-tile.comms-tile small{font-size:12.2px;line-height:1.35}.workflow-tile b,.workflow-tile.directory-tile b,.workflow-tile.comms-tile b,.workflow-tile.open-ticket-tile b{padding:4px 8px;font-size:11.5px}.notification-badge{top:9px;left:38px;right:10px;min-height:24px;font-size:16px}.grid,.grid.two,.chart-board,.provider-review-board,.admin-grid,.comms-compose-grid{gap:14px}.panel{padding:15px}.panel h3,.comms-panel h3,.ticket-create-panel>h3{font-size:18px}.helper,.panel p,.note{font-size:13px}.card,.selected,.empty{padding:11px}.card .name,.result-button .name,.directory-row .name,.selected .name{font-size:15px}.selected:not(.empty) .name,.ticket-create-panel .selected:not(.empty) .name{font-size:17px}input,select,textarea{padding:9px 10px;font-size:14px}.primary,.secondary,.danger,.success{padding:9px 11px;font-size:13px}.comms-view{gap:14px}.comms-hero{padding:12px 14px}.comms-hero h2{font-size:21px}.comms-live-strip{min-width:180px;padding:9px 11px}.comms-compose-grid{grid-template-columns:minmax(380px,.9fr) minmax(380px,1.1fr)}.comms-panel{padding:15px}.comms-provider-card{margin:10px 0;padding:11px 12px}.comms-provider-card strong{font-size:18px}.comms-message{min-height:96px}.twilio-status-grid{gap:8px}.twilio-status-card{padding:10px}.comms-event{padding:12px 14px}.comms-event-icon{width:36px;height:36px}.comms-event .name{font-size:15.5px}body{font-size:13.5px}.shell{grid-template-columns:216px minmax(0,1fr)}.sidebar{padding:12px}.brand{gap:9px;padding-bottom:12px;margin-bottom:12px}.brand-mark{width:32px;height:32px;border-radius:9px;font-size:14px}.brand h1{font-size:16px}.brand p{font-size:11px}nav{gap:6px}.nav-button{padding:9px 11px;font-size:14px}.view{padding:12px 16px}.dashboard-hero{gap:12px;margin-bottom:10px;padding:9px 12px}.dashboard-hero h2{font-size:19px}.dashboard-hero p{font-size:12px}.dashboard-hero .eyebrow,.eyebrow{font-size:9.5px}.summary-strip{gap:6px;min-width:385px}.summary-strip div,.summary-strip .metric-button{min-height:54px;padding:7px 9px}.summary-strip strong{font-size:18px}.summary-strip span{font-size:10.8px}.dashboard-zones{gap:10px}.dashboard-zone{padding:8px}.zone-head{margin:-1px -1px 8px;padding:6px 9px}.zone-head span{font-size:13px}.zone-head b{font-size:10px}.zone-grid{gap:8px}.dashboard-zone .workflow-tile,.workflow-tile,.workflow-tile.chart-tile,.workflow-tile.directory-tile,.workflow-tile.calendar-tile,.workflow-tile.comms-tile,.workflow-tile.open-ticket-tile,.workflow-tile.closed-ticket-tile,.workflow-tile.provider-ticket-tile,.workflow-tile.notification-tile,.workflow-tile.task-tile,.workflow-tile.admin-tile{min-height:104px;padding:10px 11px;gap:5px}.tile-code,.workflow-tile.urgent .tile-code,.workflow-tile.directory-tile .tile-code,.workflow-tile.calendar-tile .tile-code,.workflow-tile.comms-tile .tile-code,.workflow-tile.open-ticket-tile .tile-code{width:28px;height:28px;border-radius:7px;font-size:11.5px}.workflow-tile strong{font-size:15px}.workflow-tile small,.workflow-tile.directory-tile small,.workflow-tile.comms-tile small{font-size:11.5px;line-height:1.3}.workflow-tile b,.workflow-tile.directory-tile b,.workflow-tile.comms-tile b,.workflow-tile.open-ticket-tile b{padding:3px 7px;font-size:10.8px}.notification-badge{top:7px;left:34px;right:9px;min-height:20px;font-size:14px}.panel,.comms-panel{padding:12px}.panel h3,.comms-panel h3,.ticket-create-panel>h3{font-size:16.5px}.helper,.panel p,.note{font-size:12.5px}.card,.selected,.empty{padding:9px}.result-button,.directory-row{padding:9px 10px 9px 13px}.primary,.secondary,.danger,.success{padding:8px 10px;font-size:12.5px}.comms-hero{padding:10px 12px}.comms-hero h2{font-size:19px}.comms-live-strip{min-width:160px;padding:8px 10px}.comms-compose-grid{grid-template-columns:minmax(340px,.9fr) minmax(340px,1.1fr)}.comms-provider-card{margin:8px 0;padding:9px 10px}.comms-provider-card strong{font-size:16px}.comms-message{min-height:84px}.twilio-status-card,.twilio-endpoints div{padding:8px}.comms-event{padding:10px 12px}@keyframes alertPulse{0%{box-shadow:0 0 #dc262647,0 7px 14px #b4231829;transform:scale(1)}55%{box-shadow:0 0 0 7px #dc262600,0 9px 18px #b4231833;transform:scale(1.04)}to{box-shadow:0 0 #dc262600,0 7px 14px #b4231829;transform:scale(1)}}.workflow-tile .notification-badge,.dashboard-zone .workflow-tile .notification-badge{position:absolute!important;inset:8px 8px auto auto!important;display:grid;place-items:center;min-width:22px!important;width:22px!important;max-width:22px!important;height:22px!important;min-height:22px!important;padding:0!important;color:#fff;background:linear-gradient(180deg,#ef4444,#c81e1e);border:2px solid rgba(255,255,255,.94);border-radius:999px;font-size:11px;font-weight:800;line-height:1;box-shadow:0 7px 14px #b4231829;animation:alertPulse 1.8s ease-in-out infinite;z-index:3}.workflow-tile.has-alert,.workflow-tile.comms-alert-tile,.workflow-tile.open-ticket-tile.has-alert{box-shadow:inset 0 1px #fff,0 10px 22px #b4231814}.dashboard-zones{gap:18px}.dashboard-zone{padding:13px}.zone-head{margin:-2px -2px 12px}.zone-grid{gap:14px}.dashboard-zone .workflow-tile{min-height:108px}.command-center{display:grid;grid-template-columns:minmax(420px,.92fr) minmax(520px,1.08fr);gap:22px;align-items:start}.attention-panel,.quick-panel{padding:16px;border:1px solid #dce3ea;border-radius:10px;box-shadow:var(--shadow-soft)}.attention-panel{background:linear-gradient(180deg,#ffffffc7,#fffffff0),#f4effb}.quick-panel{background:linear-gradient(180deg,#ffffffc7,#fffffff0),#eefaf7}.command-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.command-head h3{margin:2px 0 0;color:#243142;font-size:19px;line-height:1.1}.attention-total{flex:0 0 auto;padding:5px 10px;color:#64748b;background:#fff;border:1px solid #dfe6ec;border-radius:999px;font-size:12px;box-shadow:inset 0 1px #fff,0 2px #1f29370a}.attention-total.active{color:#9b1c1c;background:#fff1f1;border-color:#f1c4c0}.attention-total.calm{color:#0b5f59;background:#e8f7f3;border-color:#c8e5de}.attention-list{display:grid;gap:10px}.attention-row,.quick-action{position:relative;display:grid;align-items:center;width:100%;color:#243142;text-align:left;background:linear-gradient(180deg,#fff,#fbfcff);border:1px solid #dce3ec;border-radius:9px;box-shadow:inset 0 1px #fff,0 3px #1f293709;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease}.attention-row{grid-template-columns:34px minmax(0,1fr) auto;gap:12px;min-height:66px;padding:11px 12px;border-left:4px solid #8a6fa1}.attention-row:hover,.quick-action:hover{transform:translateY(-1px);border-color:#c6d0dd;box-shadow:inset 0 1px #fff,0 12px 24px #1f293714}.attention-row:active,.quick-action:active{transform:translateY(1px);box-shadow:inset 0 1px 3px #1f29371f}.attention-code,.quick-code{display:grid;place-items:center;width:30px;height:30px;color:#fff;background:#8a6fa1;border-radius:8px;font-size:11px;font-weight:800}.attention-row strong,.quick-action strong{display:block;color:#1f2933;font-size:15px;line-height:1.15}.attention-row small,.quick-action small{display:block;margin-top:3px;color:#6a7688;font-size:12px;line-height:1.3}.attention-row b,.quick-action b{justify-self:end;padding:4px 8px;color:#475569;background:#f2f5f8;border:1px solid #e2e8f0;border-radius:999px;font-size:11.5px;white-space:nowrap}.attention-row.is-active{background:linear-gradient(180deg,#fffc,#fffffff2),#fff7ed}.attention-row.is-active.tone-urgent{border-color:#f2c7c2;border-left-color:#c81e1e;background:linear-gradient(180deg,#ffffffc7,#fffffff0),#fff1f1}.attention-row.is-active.tone-urgent .attention-code,.attention-row.is-active.tone-urgent b{color:#fff;background:#c81e1e;border-color:#c81e1e}.attention-row.is-active.tone-chart{border-left-color:#a66f13}.attention-row.tone-chart .attention-code{background:#a66f13}.attention-row.is-active.tone-patient{border-left-color:#8a6fa1}.attention-row.is-clear{opacity:.72}.quick-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quick-action{grid-template-columns:32px minmax(0,1fr);grid-template-areas:"code text" "code meta";gap:2px 10px;min-height:62px;padding:10px 11px}.quick-action .quick-code{grid-area:code}.quick-action span:not(.quick-code){grid-area:text}.quick-action b{grid-area:meta;justify-self:start;margin-top:2px}.quick-action.tone-ops .quick-code{background:#0f766e}.quick-action.tone-patient .quick-code{background:#7c5f8a}.quick-action.tone-ops{border-left:3px solid #0f766e}.quick-action.tone-patient{border-left:3px solid #8a6fa1}.send-result{padding:10px 13px;border-radius:9px;font-weight:700;box-shadow:inset 0 1px #fff,0 6px 16px #1f29370f}.send-result.ok{color:#0b5f59;background:linear-gradient(180deg,#fff,#e8f7f3);border:1px solid #b9ddd6}.send-result.error{color:#9b1c1c;background:linear-gradient(180deg,#fff,#fff1f1);border:1px solid #f1c4c0}.patient-comms-panel,.provider-comms-panel,.comms-inbox-panel{border-width:1px;box-shadow:inset 0 1px #fff,0 16px 30px #1f293713}.patient-comms-panel{border-color:#d5c7e3;background:linear-gradient(180deg,#ffffffb8,#fffffff0),#f3ecfb}.provider-comms-panel{border-color:#bfded7;background:linear-gradient(180deg,#ffffffb8,#fffffff0),#eaf8f5}.comms-inbox-panel{border-color:#bfded7;background:linear-gradient(180deg,#ffffffb3,#fffffff5),#edf9f6}.patient-comms-panel h3{color:#5e3f73}.provider-comms-panel h3,.comms-inbox-panel h3{color:#0b5f59}.patient-comms-panel:before{height:5px;background:linear-gradient(90deg,#7c5f8a,#c9b6d7)}.provider-comms-panel:before{height:5px;background:linear-gradient(90deg,#0f766e,#a9ddd4)}.comms-inbox-panel:before{height:5px;background:linear-gradient(90deg,#0f766e,#a9ddd4)}.patient-line-card,.provider-comms-panel .comms-provider-card{min-height:56px;box-shadow:inset 0 1px #fff,0 8px 18px #1f293712,0 2px #1f293709}.patient-line-card{background:linear-gradient(180deg,#ffffffb8,#fffffff0),#f7f0fb;border-left-width:5px}.provider-comms-panel .comms-provider-card{background:linear-gradient(180deg,#ffffffb8,#fffffff0),#eefaf7;border-left-width:5px}.patient-comms-panel input,.patient-comms-panel textarea,.provider-comms-panel input,.provider-comms-panel textarea{border-color:#d3dce8;background:linear-gradient(180deg,#fff,#fbfcff);box-shadow:inset 0 1px #fff,0 2px #1f293709}.patient-comms-panel input:focus,.patient-comms-panel textarea:focus{outline:2px solid rgba(124,95,138,.2);border-color:#bda9cf}.provider-comms-panel input:focus,.provider-comms-panel textarea:focus{outline:2px solid rgba(15,118,110,.16);border-color:#9bcfc4}.phone-thread-list{display:grid;gap:8px;align-content:start;min-height:100%}.comms-gv-layout{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);gap:18px;align-items:start}.phone-thread-row{display:grid;grid-template-columns:48px minmax(0,1fr) 10px;gap:12px;align-items:center;width:100%;padding:12px 10px;color:var(--ink);background:#ffffffe0;border:1px solid #d8e7e3;border-radius:12px;text-align:left;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease}.phone-thread-row:hover{transform:translateY(-1px);background:#fff;border-color:#bfd8d1;box-shadow:0 14px 26px #0f172a14}.phone-thread-row.active{background:linear-gradient(180deg,#fff,#f5f0ff);border-color:#cdbbe3;box-shadow:0 16px 28px #52347017}.phone-thread-avatar{display:grid;place-items:center;width:44px;height:44px;color:#fff;border-radius:50%;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.phone-thread-avatar.sms{background:linear-gradient(180deg,#7c5f8a,#9f80af)}.phone-thread-avatar.call{background:linear-gradient(180deg,#0f766e,#1c9c8d)}.phone-thread-main{display:grid;gap:4px;min-width:0}.phone-thread-top,.phone-thread-subline{display:flex;align-items:center;justify-content:space-between;gap:12px}.phone-thread-top strong{font-size:16px;line-height:1.15}.phone-thread-top small,.phone-thread-subline span{color:var(--muted);font-size:12px;white-space:nowrap}.phone-thread-subline b{display:inline-flex;align-items:center;padding:3px 7px;color:#0f5f59;background:#e8f7f3;border:1px solid #c6e6de;border-radius:999px;font-size:11px;font-weight:800}.phone-thread-preview{color:#334155;font-size:14px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.phone-thread-dot{width:10px;height:10px;background:#d72638;border-radius:50%;box-shadow:0 0 0 4px #d726381f}.phone-thread-row:has(.phone-thread-dot){border-color:#efc7c3}.phone-thread-empty{display:grid;gap:6px;min-height:220px;place-items:center;padding:22px;color:var(--muted);background:#ffffffb3;border:1px dashed #cfe0dd;border-radius:12px;text-align:center}.comms-conversation-panel{display:grid;gap:14px;min-height:760px}.browser-phone-panel{display:grid;gap:12px;padding:14px 16px;background:linear-gradient(180deg,#f0f9f7e6,#fffffffa);border:1px solid #d6e8e2;border-radius:14px;box-shadow:inset 0 1px #fffffff2}.browser-phone-topline{display:flex;justify-content:space-between;gap:16px;align-items:start}.browser-phone-topline strong{display:block;margin-top:4px;font-size:22px;line-height:1.1}.browser-phone-topline p{margin:6px 0 0;color:#5f7288;font-size:13px;line-height:1.5}.browser-phone-actions,.softphone-popup-actions{display:flex;flex-wrap:wrap;gap:8px}.browser-phone-error{margin:0}.comms-conversation-head{display:flex;justify-content:space-between;gap:14px;align-items:start}.comms-conversation-head .patient-line-card{flex:1;display:grid;gap:4px}.comms-conversation-head .patient-line-card small{color:#6e8195;font-size:13px}.comms-head-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.mark-reviewed-button{min-height:34px;padding:7px 12px;border-radius:999px;font-size:12px}.reviewed-pill{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;color:#49617d;background:#f4f8fb;border:1px solid #dbe5ee;border-radius:999px;font-size:12px;font-weight:800}.comms-conversation-body{display:grid;gap:10px;min-height:380px;max-height:520px;overflow:auto;padding:10px;background:linear-gradient(180deg,#f5f8fcdb,#fffffffa);border:1px solid #dde6ef;border-radius:16px}.conversation-empty{min-height:280px}.softphone-popup{position:sticky;top:18px;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;color:#17324b;background:linear-gradient(180deg,#fff,#f6fbff);border:1px solid #bcd9d4;border-radius:16px;box-shadow:0 16px 34px #0f172a1f}.softphone-popup strong{display:block;margin-top:4px;font-size:24px;line-height:1.1}.softphone-popup p{margin:6px 0 0;color:#5f7288;font-size:14px}.conversation-item{display:flex}.conversation-item.outgoing{justify-content:flex-end}.conversation-item.inbound{justify-content:flex-start}.conversation-bubble{display:grid;gap:8px;max-width:min(620px,82%);padding:14px 16px;border-radius:18px;border:1px solid #d7dfeb;box-shadow:0 10px 22px #0f172a0f}.conversation-item.inbound .conversation-bubble{background:linear-gradient(180deg,#fff,#fafcff);border-top-left-radius:8px}.conversation-item.outgoing .conversation-bubble{color:#fff;background:linear-gradient(180deg,#0f7f74,#0d6d63);border-color:#0c665dcc;border-top-right-radius:8px}.conversation-item.call-item .conversation-bubble{background:linear-gradient(180deg,#fff9f0,#fffdf8);border-color:#ead3a8}.conversation-item.outgoing.call-item .conversation-bubble{color:#24435f;background:linear-gradient(180deg,#ecfaf7,#f7fffd);border-color:#bfe2d7}.conversation-meta-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.conversation-meta-row b{font-size:12px;letter-spacing:.04em;text-transform:uppercase}.conversation-meta-row span{font-size:12px;opacity:.78}.conversation-bubble p{margin:0;font-size:17px;line-height:1.5;white-space:pre-wrap}.conversation-tag{justify-self:start;padding:5px 9px;color:#285576;background:#e0ecf8e6;border-radius:999px;font-size:11px;font-weight:800}.conversation-item.outgoing .conversation-tag{color:#fff;background:#ffffff29}.conversation-tag.error-tag,.conversation-tag.attention-tag{color:#9b1c1c;background:#fff1f1}.conversation-tag.reviewed-tag{color:#0b5f59;background:#e8f7f3}.comms-phone-view{display:grid;gap:18px;padding-bottom:18px}.comms-page-head{display:flex;justify-content:space-between;gap:16px;align-items:center;min-height:48px}.comms-page-head h2{margin:0;color:#142132;font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.1}.comms-live-strip.compact{min-width:0;padding:8px 11px;border-radius:999px}.comms-live-strip.compact span:last-child{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comms-three-column{display:grid;grid-template-columns:minmax(290px,330px) minmax(420px,520px) minmax(270px,310px);gap:20px;align-items:start}.comms-phone-view,.directory-workspace-view,.comms-three-column,.directory-comm-grid{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.voice-inbox-panel,.phone-screen-shell,.voice-action-panel{min-width:0}.voice-inbox-panel,.phone-screen-shell,.voice-action-card{background:#fffffff0;border:1px solid rgba(15,23,42,.08);border-radius:20px;box-shadow:0 12px 30px #0f172a0f,inset 0 1px #ffffffb3}.voice-inbox-panel{overflow:hidden}.voice-panel-head{display:flex;justify-content:space-between;align-items:center;padding:18px 18px 12px}.voice-panel-head h3{margin:0;color:#142132;font-size:16px;font-weight:700;letter-spacing:-.01em}.voice-panel-head span{display:block;margin-top:3px;color:#7a8799;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.voice-tabs{display:flex;gap:6px;overflow-x:auto;padding:0 18px 14px}.voice-scope-tabs{display:flex;gap:8px;padding:0 18px 10px}.voice-scope-tabs button{flex:0 0 auto;min-height:32px;padding:6px 11px;color:#64748b;background:#fff;border:1px solid rgba(148,163,184,.24);border-radius:999px;font-size:12px;font-weight:800}.voice-scope-tabs button.active{color:#fff;background:linear-gradient(180deg,#8b5cf6,#6d28d9);border-color:#6d28d973;box-shadow:0 8px 18px #6d28d933}.voice-tabs button{flex:0 0 auto;padding:6px 9px;color:#5d6b80;background:#f7fafc;border:1px solid #dfe7ef;border-radius:999px;font-size:12px;font-weight:800}.voice-tabs button.active{color:#fff;background:#0f766e;border-color:#0f766e}.voice-thread-list{display:grid;gap:8px;max-height:calc(100vh - 182px);overflow:auto;padding:0 12px 16px}.voice-thread-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;min-height:78px;padding:12px 10px;color:var(--ink);background:#f8fbfdbd;border:1px solid rgba(148,163,184,.16);border-radius:16px;text-align:left}.voice-thread-row:hover,.voice-thread-row.active{background:#fff;border-color:#8b5cf62e;box-shadow:0 12px 24px #0f172a14}.voice-thread-row.active{background:linear-gradient(180deg,#fff,#faf7ff);border-color:#8b5cf642}.voice-thread-main{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;min-width:0;padding:0;color:inherit;background:transparent;border:0;box-shadow:none;text-align:left}.voice-thread-main:hover,.voice-thread-main:active{transform:none;box-shadow:none}.voice-avatar,.phone-header-avatar{display:grid;place-items:center;color:#fff;background:linear-gradient(180deg,#7c5f8a,#9f80af);border-radius:50%;font-size:12px;font-weight:900}.voice-avatar{width:38px;height:38px}.voice-avatar.call{background:linear-gradient(180deg,#0f766e,#1c9c8d)}.voice-avatar.voicemail{background:linear-gradient(180deg,#8b5e34,#a87524)}.voice-row-main{display:grid;gap:2px;min-width:0}.voice-row-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.voice-row-top strong{overflow:hidden;color:#1c2736;font-size:15px;font-weight:700;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.voice-row-top small{color:#8491a4;font-size:11px;font-weight:500;white-space:nowrap}.voice-row-type{color:#6b7280;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em}.voice-row-preview{overflow:hidden;color:#5f6e82;font-size:13px;font-weight:500;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.voice-row-side{display:grid;justify-items:end;gap:6px}.archived-pill{color:#64748b;background:#94a3b829}.thread-row-menu{position:relative}.thread-row-menu summary{display:inline-grid;place-items:center;width:34px;height:34px;color:#64748b;background:#fff;border:1px solid rgba(148,163,184,.22);border-radius:12px;cursor:pointer;font-size:16px;font-weight:800;list-style:none}.thread-row-menu summary::-webkit-details-marker{display:none}.thread-row-menu[open] summary,.thread-row-menu summary:hover{color:#334155;border-color:#8b5cf640;box-shadow:0 10px 22px #0f172a14}.thread-row-menu-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:6;display:grid;gap:8px;min-width:170px;padding:10px;background:#fffffffa;border:1px solid rgba(148,163,184,.2);border-radius:14px;box-shadow:0 18px 36px #0f172a1f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.thread-row-menu-panel button{width:100%;justify-content:flex-start}.voice-empty,.phone-compact-empty{display:grid;justify-items:center;align-content:center;gap:8px;min-height:132px;padding:22px 18px;color:#748196;background:linear-gradient(180deg,#f8fafcf5,#ffffffeb);border:1px dashed rgba(148,163,184,.24);border-radius:18px;text-align:center}.voice-empty strong,.phone-compact-empty strong,.directory-thread-empty strong{color:#172334;font-size:17px;font-weight:700;letter-spacing:-.01em}.voice-empty span:last-child,.phone-compact-empty span:last-child,.directory-thread-empty span:last-child{color:#708096;font-size:14px;font-weight:500;line-height:1.5}.empty-state-icon{display:grid;place-items:center;min-width:44px;height:44px;padding:0 10px;color:#6d28d9;background:linear-gradient(180deg,#8b5cf61f,#14b8a60f);border:1px solid rgba(139,92,246,.12);border-radius:14px;font-size:11px;font-weight:700;letter-spacing:.08em}.phone-screen-shell{display:grid;grid-template-rows:auto minmax(360px,calc(100vh - 292px)) auto;overflow:hidden;background:linear-gradient(180deg,#fffffff5,#fbfcfffc),#fff}.phone-screen-header{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;padding:18px 20px;background:#fffffff5;border-bottom:1px solid #e0e7ef;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.phone-header-avatar{width:42px;height:42px;background:linear-gradient(180deg,#0f766e,#8a6fa1)}.phone-header-main{display:grid;gap:2px;min-width:0}.phone-header-main strong{overflow:hidden;color:#162233;font-size:18px;font-weight:700;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}.phone-header-main span{overflow:hidden;color:#738197;font-size:14px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.phone-header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.phone-header-actions .secondary,.phone-header-actions .mark-reviewed-button,.phone-header-actions .msg-btn{min-height:32px;padding:6px 9px;font-size:12px}.phone-message-area{display:grid;align-content:start;gap:9px;overflow:auto;padding:20px 18px;background:radial-gradient(circle at 16% 0%,rgba(124,95,138,.07),transparent 34%),linear-gradient(180deg,#fbfcff,#f7fafc)}.phone-message-area .conversation-bubble{max-width:78%;padding:10px 12px;border-radius:17px;box-shadow:0 8px 18px #0f172a0e}.phone-message-area .conversation-bubble p{font-size:14px;font-weight:500;line-height:1.5}.phone-message-area .conversation-meta-row b,.phone-message-area .conversation-meta-row span{font-size:10.5px}.phone-message-area .conversation-item.call-item{justify-content:center}.phone-message-area .conversation-item.call-item .conversation-bubble{max-width:88%;padding:8px 11px;color:#526074;background:#ffffffc7;border:1px solid #dce5ed;border-radius:999px;box-shadow:none}.phone-composer{position:sticky;bottom:0;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:16px 18px 18px;background:#fffffff5;border-top:1px solid #e0e7ef;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.phone-composer textarea{min-height:46px;max-height:96px;resize:none;border-radius:14px}.phone-composer .msg-btn{min-width:88px;border-radius:14px}.sms-pending-warning{grid-column:1 / -1;padding:8px 10px;color:#7a4d0c;background:#fff8eb;border:1px solid #ead2a3;border-radius:10px;font-size:12px;line-height:1.35}.voice-action-panel{display:grid;gap:20px}.voice-action-card{display:grid;gap:14px;padding:22px}.voice-action-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.voice-card-title{display:flex;align-items:center;gap:12px;min-width:0}.voice-card-title>div{display:grid;gap:2px}.voice-card-title small{color:#7b8799;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.voice-card-title strong{color:#122033;font-size:16px;font-weight:700;letter-spacing:-.01em}.voice-card-icon{display:grid;place-items:center;min-width:38px;height:38px;padding:0 8px;border-radius:12px;font-size:11px;font-weight:700;letter-spacing:.08em}.voice-card-icon.phone{color:#6d28d9;background:linear-gradient(180deg,#8b5cf624,#6d28d914);border:1px solid rgba(139,92,246,.14)}.voice-card-icon.sms{color:#0f766e;background:linear-gradient(180deg,#14b8a629,#0f766e14);border:1px solid rgba(20,184,166,.14)}.voice-action-head b,.voice-phone-status-pill{padding:6px 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.voice-action-head b.live{color:#0b5f59;background:#e8f7f3;border:1px solid #b9ddd6}.voice-action-head b.pending{color:#7a4d0c;background:#fff8eb;border:1px solid #ead2a3}.voice-status-row{display:flex;align-items:center}.voice-phone-status-pill{color:#334155;background:#f5f7fb;border:1px solid rgba(148,163,184,.24)}.voice-phone-status-pill.ready,.voice-phone-status-pill.in-call{color:#6d28d9;background:#8b5cf614;border-color:#8b5cf629}.voice-phone-status-pill.connecting,.voice-phone-status-pill.incoming-call{color:#0f766e;background:#14b8a614;border-color:#14b8a629}.voice-phone-status-pill.error{color:#b91c1c;background:#ef444414;border-color:#ef444429}.voice-action-card p{margin:0;color:#607086;font-size:14px;font-weight:500;line-height:1.5}.voice-action-card .field-helper{margin-top:-6px;color:#7a8799;font-size:13px;font-weight:500}.phone-btn,.msg-btn,.call-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;color:#fff;border-radius:14px;cursor:pointer;font-size:14px;font-weight:700;letter-spacing:-.01em;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease,opacity .18s ease}.phone-btn{padding:10px 16px;color:#fff;background:linear-gradient(180deg,#8b5cf6,#6d28d9);border:1px solid rgba(109,40,217,.42);box-shadow:0 8px 18px #6d28d938,inset 0 1px #fff3}.phone-btn:hover:not(:disabled){color:#fff;background:linear-gradient(180deg,#9a6cff,#7c3aed);border-color:#7c3aed94;box-shadow:0 12px 24px #6d28d947,inset 0 1px #ffffff3d;transform:translateY(-2px)}.phone-btn:active:not(:disabled){background:linear-gradient(180deg,#7c3aed,#5b21b6);box-shadow:0 5px 12px #6d28d92e,inset 0 2px 4px #00000024;transform:translateY(0) scale(.99)}.phone-btn:focus-visible{outline:3px solid rgba(139,92,246,.34);outline-offset:3px}.msg-btn{padding:10px 16px;color:#fff;background:linear-gradient(180deg,#14b8a6,#0f766e);border:1px solid rgba(15,118,110,.4);box-shadow:0 8px 18px #0f766e38,inset 0 1px #fff3}.msg-btn:hover:not(:disabled){color:#fff;background:linear-gradient(180deg,#1cc7b3,#0f766e);border-color:#14b8a68f;box-shadow:0 12px 24px #0f766e47,inset 0 1px #ffffff3d;transform:translateY(-2px)}.msg-btn:active:not(:disabled){background:linear-gradient(180deg,#0f9f93,#0b5f59);box-shadow:0 5px 12px #0f766e2e,inset 0 2px 4px #00000024;transform:translateY(0) scale(.99)}.msg-btn:focus-visible{outline:3px solid rgba(20,184,166,.36);outline-offset:3px}.phone-btn:disabled,.msg-btn:disabled,.call-btn:disabled{color:#7b8796;background:linear-gradient(180deg,#eef2f6,#e2e8f0);border:1px solid #d3dbe5;box-shadow:inset 0 1px #ffffff8c;cursor:not-allowed;opacity:.62;transform:none}.phone-btn:disabled:before,.call-btn:disabled:before{opacity:.6}.call-btn{padding:10px 16px;color:#fff}.call-btn:before{content:"☎";font-size:.95em;line-height:1}.voice-action-card .call-btn,.voice-action-card .phone-btn,.voice-action-card .msg-btn{width:100%}.voice-action-card label{display:grid;gap:8px;color:#334155;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.voice-action-card input,.voice-action-card textarea,.phone-composer textarea{color:#0f172a;background:#fff;border:1px solid rgba(100,116,139,.22);border-radius:14px;font-size:15px;font-weight:500;box-shadow:inset 0 1px #ffffffb3}.voice-action-card input::placeholder,.voice-action-card textarea::placeholder,.phone-composer textarea::placeholder{color:#94a3b8}.voice-action-card input:focus,.voice-action-card textarea:focus,.phone-composer textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #14b8a624}.voice-action-card:first-child input:focus,.voice-action-card:first-child textarea:focus,.voice-action-card:nth-child(2) input:focus,.voice-action-card:nth-child(2) textarea:focus{border-color:#7c3aed;box-shadow:0 0 0 3px #8b5cf624}.phone-header-actions .call-btn.call-btn-small,.directory-thread-actions .call-btn.call-btn-small,.phone-header-actions .msg-btn.msg-btn-small,.directory-thread-actions .msg-btn.msg-btn-small{min-height:34px;padding:7px 12px;border-radius:999px;font-size:12px}.voice-action-card textarea{min-height:86px}.incoming-call-alert,.active-call-bar{position:fixed;right:28px;bottom:28px;z-index:30;display:flex;align-items:center;gap:14px;max-width:min(430px,calc(100vw - 32px));padding:15px 17px;background:#fff;border:1px solid #bfded7;border-radius:16px;box-shadow:0 24px 58px #0f172a2e}.incoming-call-alert strong,.active-call-bar strong{display:block;color:#17324b;font-size:20px;line-height:1.1}.incoming-actions{display:flex;gap:8px}.incoming-pulse{width:14px;height:14px;background:#0f766e;border-radius:50%;box-shadow:0 0 #0f766e47;animation:alertPulse 1.7s ease-in-out infinite}.active-call-bar{bottom:24px}.active-call-bar span{color:#65758b;font-weight:700}.comms-admin-diagnostics.compact{margin-top:0}.twilio-status-grid.compact{grid-template-columns:1fr;padding:0 12px 12px}.twilio-endpoints.compact{padding:0 12px 12px}.twilio-endpoints.compact div{grid-template-columns:48px minmax(0,1fr)}.comms-conversation-compose{display:grid;gap:12px;padding-top:4px}.comms-admin-diagnostics{margin-top:16px;border:1px solid #d6e0eb;border-radius:12px;background:#ffffffd6;overflow:hidden}.comms-admin-diagnostics summary{padding:14px 16px;color:#27445f;font-weight:800;cursor:pointer;list-style:none}.comms-admin-diagnostics summary::-webkit-details-marker{display:none}.role-chip.comms-mode-failed{color:#9b1c1c;background:#fff1f1;border:1px solid #f1c4c0}.directory-view{display:grid;gap:16px}.directory-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;background:linear-gradient(135deg,#51406321,#0f766e14),#fff;border:1px solid #d9dfe7;border-radius:8px;box-shadow:inset 0 1px #fff,0 14px 34px #1f293714}.directory-hero h2{margin:0;color:#202a38;font-size:24px}.directory-hero p{max-width:680px;margin:5px 0 0;color:#64748b;font-size:14px;line-height:1.45}.directory-hero-actions{display:flex;align-items:stretch;gap:10px}.directory-metric{min-width:96px;padding:10px 13px;background:linear-gradient(180deg,#ffffffc7,#fffffff2),#eef7f5;border:1px solid #cfe2df;border-radius:8px;box-shadow:inset 0 1px #fff,0 3px #1f29370d}.directory-metric strong{display:block;color:#0b5f59;font-size:21px;line-height:1}.directory-metric span{display:block;margin-top:4px;color:#64748b;font-size:12px;font-weight:700}.directory-add-toggle{min-width:118px}.add-patient-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 18px;color:#fff;background:linear-gradient(180deg,#0f766e,#0b5f59);border:1px solid rgba(15,118,110,.42);border-radius:14px;box-shadow:0 8px 18px #0f766e2e,inset 0 1px #fff3;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}.add-patient-btn:hover{color:#fff;background:linear-gradient(180deg,#0d9488,#0f766e);border-color:#0d948885;box-shadow:0 12px 24px #0f766e42,inset 0 1px #ffffff42;transform:translateY(-2px)}.add-patient-btn:active{background:linear-gradient(180deg,#0b6f68,#094f4a);box-shadow:0 5px 12px #0f766e2e,inset 0 2px 4px #00000029;transform:translateY(0) scale(.99)}.add-patient-btn:focus-visible{outline:3px solid rgba(20,184,166,.38);outline-offset:3px}.add-patient-btn.is-open{background:linear-gradient(180deg,#0b6f68,#094f4a)}.directory-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}.directory-layout.with-form{grid-template-columns:minmax(300px,.45fr) minmax(560px,1fr)}.directory-add-panel{background:linear-gradient(180deg,#ffffffeb,#fffffffc),#eef9f7;border-color:#cbe8e1}.directory-panel{padding:18px;background:linear-gradient(180deg,#fffffff0,#fffffffc),#f8fbfc;border-color:#d9e2ea}.directory-toolbar{display:grid;grid-template-columns:minmax(320px,1fr) 190px;gap:12px;align-items:end;margin-bottom:12px}.directory-search{color:#2f3b4c;font-weight:650}.directory-search input{padding:12px 14px;background:linear-gradient(180deg,#fff,#fbfcff);border-color:#d9e0e8;box-shadow:inset 0 1px #fff,0 1px #1f293708}.directory-source{display:grid;gap:4px;padding:10px 12px;background:linear-gradient(180deg,#fffc,#fffffff7),#f4effb;border:1px solid #d9cde6;border-radius:8px}.directory-source span{color:#725b88;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.directory-source strong{overflow:hidden;color:#354154;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.directory-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;color:#64748b;font-size:12.5px;font-weight:700}.directory-list-head b{padding:4px 8px;color:#5e3f73;background:#f4effb;border:1px solid #d9cde6;border-radius:999px;font-size:11px}.directory-list{display:grid;gap:8px;max-height:calc(100vh - 290px);min-height:360px;overflow:auto;padding:2px 4px 4px 1px}.directory-registry-row{display:grid;grid-template-columns:42px minmax(220px,1fr) 120px 90px;align-items:center;gap:12px;width:100%;padding:10px 12px;text-align:left;background:linear-gradient(180deg,#fffffff5,#fffffffc),#fff;border:1px solid #dce4ec;border-radius:8px;box-shadow:inset 0 1px #fff,0 2px #1f293709;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease,background .14s ease}.directory-registry-row:hover{background:linear-gradient(180deg,#fff,#f7fbfc),#fff;border-color:#b9c8d5;box-shadow:inset 0 1px #fff,0 12px 24px #1f293717;transform:translateY(-1px)}.directory-registry-row:active{transform:translateY(1px);box-shadow:inset 0 1px 3px #1f29371f}.patient-avatar{display:grid;place-items:center;width:38px;height:38px;color:#fff;background:linear-gradient(180deg,#6f5a86,#4f6272);border-radius:8px;box-shadow:inset 0 1px #ffffff38,0 3px #4f62722e;font-size:13px;font-weight:900}.directory-patient-main{min-width:0}.directory-registry-row .name{color:#202a38;font-size:15.5px;font-weight:700}.directory-registry-row .phone{overflow:hidden;color:#69778c;font-size:12.5px;text-overflow:ellipsis;white-space:nowrap}.directory-dob{color:#56657b;font-size:12.5px;font-weight:650}.directory-ticket-chip{justify-self:end;padding:5px 9px;color:#58697f;background:#f1f5f8;border:1px solid #dbe4ec;border-radius:999px;font-size:12px;font-weight:800}.directory-ticket-chip.active{color:#7c2f5f;background:#fff0f8;border-color:#e8c5d7}.directory-more{padding:11px 13px;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:12.5px;font-weight:700;text-align:center}.directory-workspace-view{display:grid;gap:12px}.directory-comm-grid{display:grid;grid-template-columns:minmax(320px,360px) minmax(500px,1fr) minmax(280px,320px);gap:20px;align-items:stretch;min-height:calc(100vh - 44px)}.directory-patient-rail,.directory-thread-panel,.directory-action-rail{min-width:0}.directory-patient-rail,.directory-thread-panel{overflow:hidden;background:linear-gradient(180deg,#fffffff2,#fafcfdfc),#fff;border:1px solid rgba(15,23,42,.08);border-radius:20px;box-shadow:0 12px 30px #0f172a0f,inset 0 1px #ffffffb3}.directory-patient-rail{display:grid;grid-template-rows:auto auto auto 1fr;padding:12px}.directory-rail-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.directory-rail-head h2{margin:2px 0 0;color:#202a38;font-size:21px;line-height:1.1}.compact-action{min-width:64px;min-height:38px}.directory-inline-add{margin-bottom:12px;padding:10px;background:#f7fbfa;border:1px solid #d6e7e4;border-radius:8px}.directory-inline-add form{display:grid;gap:8px}.directory-inline-add label{gap:4px;font-size:12px}.directory-inline-add input{min-height:38px;padding:8px 10px}.directory-rail-search{margin-bottom:9px;color:#344256;font-size:12px;font-weight:800}.directory-rail-search input{min-height:42px;padding:10px 12px;background:#fff}.directory-rail-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;padding:8px 10px;color:#64748b;background:#f5f8fb;border:1px solid #e1e8ef;border-radius:8px;font-size:12px;font-weight:700}.directory-rail-meta strong{color:#0b5f59;font-size:16px}.directory-compact-list{display:grid;align-content:start;gap:8px;overflow:auto;padding-right:2px}.directory-compact-list .directory-registry-row{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:9px 10px}.directory-compact-list .directory-registry-row.active{background:linear-gradient(180deg,#f0f7f6fa,#fffffffc),#fff;border-color:#73beb4;box-shadow:inset 4px 0 #0f766e,0 12px 24px #0f766e1f}.directory-compact-list .directory-registry-row .directory-dob{grid-column:2;color:#718096;font-size:11.5px}.directory-compact-list .directory-patient-main{display:grid;gap:1px}.directory-compact-list .directory-registry-row .name{overflow:hidden;color:#202a38;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.directory-compact-list .directory-registry-row .phone,.directory-email-preview{overflow:hidden;color:#66758a;font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.directory-row-badges{display:grid;justify-items:end;gap:4px}.directory-alert-chip{display:grid;place-items:center;min-width:22px;height:22px;padding:0 7px;color:#fff;background:#cf2626;border:2px solid #ffffff;border-radius:999px;box-shadow:0 0 0 4px #cf262621;font-size:12px;font-weight:900}.directory-thread-panel{display:grid;grid-template-rows:auto auto 1fr auto}.directory-thread-head{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px 18px;background:linear-gradient(135deg,#5b447014,#0f766e0f),#fff;border-bottom:1px solid #e0e7ef}.patient-avatar.large{width:50px;height:50px;border-radius:13px;font-size:15px}.directory-thread-head h2{margin:0;color:#1f2937;font-size:25px;line-height:1.1}.directory-thread-head p{overflow:hidden;margin:5px 0 0;color:#64748b;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.directory-thread-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.directory-thread-actions button{min-height:36px;padding:8px 11px}.directory-thread-body{display:flex;flex-direction:column;gap:10px;overflow:auto;min-height:420px;padding:18px;background:linear-gradient(180deg,#f8fbfcf0,#f4f7f9fa),#f8fafc}.directory-thread-body .conversation-item{max-width:82%}.directory-thread-body .conversation-item.outgoing{align-self:flex-end}.directory-thread-body .conversation-item.inbound{align-self:flex-start}.directory-thread-empty{display:grid;justify-items:center;align-content:center;gap:8px;min-height:280px;color:#64748b;background:linear-gradient(180deg,#f8fafcf5,#ffffffeb);border:1px dashed rgba(148,163,184,.24);border-radius:18px;text-align:center}.directory-thread-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:12px 14px;background:#fff;border-top:1px solid #e0e7ef}.directory-thread-composer .sms-pending-warning{grid-column:1 / -1}.directory-thread-composer textarea{min-height:48px;max-height:120px;resize:vertical}.directory-thread-composer button{align-self:end;min-width:86px;min-height:48px}.directory-action-rail{display:grid;align-content:start;gap:12px}.directory-action-rail .voice-action-card{border-radius:20px}.directory-action-rail input[readonly]{background:#f8fafc;color:#344256}.directory-shortcuts{display:grid;gap:8px}.directory-shortcuts button{justify-content:flex-start;width:100%}.frontdesk-tabs{margin-bottom:14px}.frontdesk-tabs .tab{padding:9px 16px;background:linear-gradient(180deg,#159487,#0f766e);border-color:#0f766e;box-shadow:inset 0 1px #ffffff38,0 3px #0b5f59}.frontdesk-workspace{gap:20px}.frontdesk-workspace.patient-search-collapsed{grid-template-columns:245px minmax(560px,1fr)}.patient-search-panel{background:linear-gradient(180deg,#fffffff0,#fffffffc),#f7f3fb;border-color:#d9cde6;box-shadow:inset 0 1px #fff,0 14px 32px #51406314}.patient-search-panel .results{max-height:430px;overflow:auto;padding:2px 3px 4px}.finder-empty{padding:13px 14px;color:#6d5d78;background:linear-gradient(180deg,#ffffffd1,#fffffff5),#f5f0fa;border:1px dashed #d7c9e3;border-radius:8px;font-size:13px;line-height:1.4}.finder-empty.subtle{color:#788195;background:#f8fafc;border-style:solid}.patient-search-summary.empty-summary{background:linear-gradient(180deg,#ffffffe0,#fffffffa),#eef9f7;border-color:#cbe8e1;border-left-color:#0f766e}.patient-search-summary.empty-summary .eyebrow{color:#0f766e}.patient-search-summary.empty-summary .helper{margin:0;font-size:12.5px}.ticket-create-panel{padding:18px;background:linear-gradient(180deg,#fffffff2,#fffffffc),#f8fbfb;border-color:#d7e3e0;box-shadow:inset 0 1px #fff,0 16px 34px #1f293714}.ticket-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.ticket-panel-head .eyebrow{margin-bottom:2px;color:#0f766e;font-size:10px}.ticket-panel-head h3{margin:0}.ticket-create-panel form{gap:13px}.ticket-create-panel label{color:#2f3b4c;font-weight:650}.ticket-create-panel input,.ticket-create-panel select,.ticket-create-panel textarea,.patient-search-panel input{background:linear-gradient(180deg,#fff,#fbfcff);border-color:#d9e0e8;box-shadow:inset 0 1px #fff,0 1px #1f293708}.ticket-create-panel textarea{min-height:210px}.ticket-create-panel .primary{background:linear-gradient(180deg,#168b7b,#0f766e);box-shadow:inset 0 1px #fff3,0 3px #0b5f59}.ticket-create-panel .primary:hover{background:linear-gradient(180deg,#1b9b89,#0f766e);transform:translateY(-1px)}.shell>main{min-width:0}.sidebar{position:sticky;top:0;align-self:start;max-height:100vh;overflow-y:auto}.auth-page{min-height:100vh;min-height:100dvh}.provider-ticket-check{font-size:12px;letter-spacing:.04em}@media(max-width:1180px)and (min-width:901px){.command-center,.chart-board,.provider-review-board,.calendar-workspace,.comms-compose-grid,.comms-gv-layout,.comms-three-column,.directory-comm-grid,.directory-layout.with-form{grid-template-columns:1fr}.dashboard-hero,.directory-hero,.comms-hero{display:grid}.phone-screen-shell{grid-template-rows:auto minmax(320px,56vh) auto}.voice-thread-list{max-height:360px}.directory-patient-rail{max-height:430px}.directory-thread-body{min-height:340px}.directory-action-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-strip{min-width:0}.directory-list{max-height:none}}@media(max-width:1040px)and (min-width:901px){.summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-toolbar{grid-template-columns:1fr}.directory-hero-actions{flex-wrap:wrap}}@media(max-width:900px){.shell,.grid.two,.chart-board,.provider-review-board,.frontdesk-workspace,.frontdesk-workspace.patient-search-collapsed,.form-grid,.dashboard-hero,.summary-strip,.tile-grid,.command-center,.comms-three-column,.directory-hero,.directory-layout,.directory-layout.with-form,.directory-toolbar,.directory-registry-row,.chart-new-patient{grid-template-columns:1fr}.directory-hero,.directory-hero-actions,.directory-list-head{display:grid}.directory-list{max-height:none}.directory-registry-row{gap:8px}.directory-dob,.directory-ticket-chip{justify-self:start}.provider-ticket-row{grid-template-columns:1fr}.provider-ticket-delete{width:100%}.dashboard-zones{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.dashboard-zone{padding:10px}.zone-grid{grid-template-columns:minmax(0,1fr);gap:10px}.dashboard-zone .workflow-tile{min-height:118px;padding:12px}.dashboard-zone .workflow-tile strong{font-size:16px}.dashboard-zone .workflow-tile small{font-size:12px}.zone-head{display:grid;gap:2px}.zone-head b{font-size:10px}.dashboard-hero{display:grid}.summary-strip{min-width:0}.action-grid{grid-template-columns:1fr}.sidebar,.patient-search-summary{position:static}.comms-hero{display:grid}.directory-comm-grid{grid-template-columns:1fr;min-height:auto}.directory-thread-head{grid-template-columns:44px minmax(0,1fr)}.directory-thread-actions{grid-column:1 / -1;justify-content:stretch}.directory-thread-actions button{flex:1 1 120px}.directory-thread-body{min-height:310px;padding:12px}.directory-thread-body .conversation-item{max-width:94%}.directory-thread-composer,.directory-action-rail{grid-template-columns:1fr}.comms-live-strip{min-width:0}.calendar-workspace,.calendar-week-grid,.comms-gv-layout{grid-template-columns:1fr}.calendar-shell-toolbar,.calendar-embed-header,.comms-conversation-head{grid-template-columns:1fr;display:grid}.calendar-mini-slots{justify-content:flex-start}.calendar-embed-placeholder,.calendar-embed-card-live,.calendar-day-column,.comms-conversation-panel{min-height:unset}.twilio-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.twilio-endpoints div{grid-template-columns:1fr}}@media(max-width:640px){.dashboard-zones,.twilio-status-grid,.quick-action-grid{grid-template-columns:1fr}.comms-event-head{align-items:start}}:root{--app-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--surface-page: #f4f7fb;--surface-card: rgba(255, 255, 255, .94);--surface-card-strong: #ffffff;--surface-muted: #eef3f8;--surface-disabled: #e5e7eb;--text-strong: #0f172a;--text-body: #1e293b;--text-muted: #64748b;--text-faint: #94a3b8;--border-soft: rgba(15, 23, 42, .08);--border-input: rgba(100, 116, 139, .22);--shadow-card-premium: 0 12px 30px rgba(15, 23, 42, .06);--shadow-raised: 0 10px 20px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255, 255, 255, .5);--shadow-button: 0 8px 18px rgba(15, 23, 42, .12), inset 0 1px 0 rgba(255, 255, 255, .2);--shadow-button-hover: 0 14px 28px rgba(15, 23, 42, .14), inset 0 1px 0 rgba(255, 255, 255, .24);--teal-strong: #0f766e;--teal-bright: #14b8a6;--purple-strong: #6d28d9;--purple-bright: #8b5cf6;--red-strong: #dc2626;--red-bright: #ef4444;--amber-soft: #fff4d6;--amber-text: #8a4b00;--radius-card-premium: 20px;--radius-control: 14px;--radius-pill: 999px}html,body,#root{font-family:var(--app-font)}body{color:var(--text-body);background:radial-gradient(circle at top left,rgba(139,92,246,.07),transparent 26%),radial-gradient(circle at top right,rgba(20,184,166,.07),transparent 24%),var(--surface-page)}main,button,input,select,textarea{font-family:inherit}.shell{min-height:100vh;background:transparent}main{background:transparent}.view{gap:18px;padding:28px}.dashboard-hero h2,.directory-rail-head h2,.directory-thread-head h2,.auth-card h1,.login-card h1{color:var(--text-strong);font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.1}.panel h3,.command-head h3,.voice-card-title strong,.calendar-embed-header strong,.calendar-side-note strong,.directory-thread-empty strong,.voice-empty strong,.phone-compact-empty strong,.empty strong,.auth-card h1+p strong{color:var(--text-strong);font-size:17px;font-weight:700;letter-spacing:-.01em}.helper,.panel p,.note,.meta,.phone,.calendar-embed-header span,.calendar-side-note span,.voice-action-card p,.voice-action-card .field-helper,.directory-email-preview,.empty span:last-child,.finder-empty,.directory-more{color:var(--text-muted);font-size:14px;font-weight:500;line-height:1.5}.eyebrow,.voice-card-title small,.directory-rail-search span,.calendar-side-selected span,.role-summary-card span,label span{color:var(--text-faint);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}label{display:grid;gap:8px;color:var(--text-body);font-size:14px;font-weight:600}input,select,textarea{min-height:48px;padding:12px 14px;color:var(--text-strong);background:var(--surface-card-strong);border:1px solid var(--border-input);border-radius:var(--radius-control);box-shadow:inset 0 1px #ffffffd9;font-size:15px;font-weight:500;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}textarea{min-height:120px;resize:vertical}input::placeholder,textarea::placeholder{color:var(--text-faint)}input:focus,select:focus,textarea:focus{border-color:#14b8a67a;box-shadow:0 0 0 3px #14b8a624}.voice-action-card:first-child input:focus,.voice-action-card:first-child textarea:focus,.voice-action-card:nth-child(2) input:focus,.voice-action-card:nth-child(2) textarea:focus,.phone-header-actions .call-btn:focus-visible,.phone-btn:focus-visible,.call-btn:focus-visible{border-color:#8b5cf680;box-shadow:0 0 0 3px #8b5cf629}.panel,.card,.selected,.empty,.voice-action-card,.session-card,.attention-panel,.quick-panel,.dashboard-hero,.directory-patient-rail,.directory-thread-panel,.directory-action-rail>section,.calendar-side-selected,.calendar-side-note,.chart-selected-patient,.chart-patient-result,.chart-patient-results,.chart-new-patient,.drop-zone,.twilio-status-card{background:var(--surface-card);border:1px solid var(--border-soft);border-radius:var(--radius-card-premium);box-shadow:var(--shadow-card-premium);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.panel,.card,.selected,.empty,.voice-action-card,.session-card,.attention-panel,.quick-panel{padding:22px}.panel,.card,.selected,.empty{gap:14px}.panel-head,.voice-action-head,.command-head,.directory-rail-head,.directory-thread-head{align-items:start;gap:12px}.list{gap:14px}.empty,.compact-empty,.finder-empty,.voice-empty,.phone-compact-empty,.directory-thread-empty,.conversation-empty{display:grid;justify-items:start;gap:8px;min-height:unset}.compact-empty{padding:18px}.empty-state-icon{display:inline-grid;place-items:center;width:34px;height:34px;color:var(--purple-strong);background:linear-gradient(180deg,#8b5cf624,#14b8a61f);border:1px solid rgba(139,92,246,.14);border-radius:12px;font-size:14px;font-weight:700;line-height:1}button,.primary,.secondary,.success,.danger,.phone-btn,.msg-btn,.mark-reviewed-button,.slot-button,.result-button,.directory-row,.calendar-shortcut-chip,.chart-patient-result,.quick-action,.attention-row,.workflow-tile{border-radius:14px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease,color .18s ease,opacity .18s ease}button,.primary,.secondary,.success,.danger,.phone-btn,.msg-btn,.mark-reviewed-button{min-height:44px;padding:11px 15px;font-size:14px;font-weight:700;letter-spacing:0;cursor:pointer}.primary,.success{color:#fff;background:linear-gradient(180deg,var(--teal-bright),var(--teal-strong));border:1px solid rgba(15,118,110,.3);box-shadow:0 8px 18px #0f766e2e,inset 0 1px #fff3}.phone-btn,.call-btn{color:#fff;background:linear-gradient(180deg,var(--purple-bright),var(--purple-strong));border:1px solid rgba(109,40,217,.32);box-shadow:0 8px 18px #6d28d933,inset 0 1px #fff3}.msg-btn,.mark-reviewed-button{color:#fff;background:linear-gradient(180deg,var(--teal-bright),var(--teal-strong));border:1px solid rgba(15,118,110,.32);box-shadow:0 8px 18px #0f766e2e,inset 0 1px #fff3}.secondary,.archive-button,.chart-patient-result,.calendar-shortcut-chip,.directory-shortcuts button,.card-actions .secondary{color:#334155;background:linear-gradient(180deg,#fff,#f4f7fb);border:1px solid rgba(148,163,184,.3);box-shadow:inset 0 1px #ffffffb8,0 4px 10px #0f172a0f}.danger,.provider-ticket-delete,.incoming-actions .danger{color:#fff;background:linear-gradient(180deg,var(--red-bright),var(--red-strong));border:1px solid rgba(220,38,38,.34);box-shadow:0 8px 18px #dc26262e,inset 0 1px #ffffff2e}button:hover:not(:disabled),.primary:hover:not(:disabled),.secondary:hover:not(:disabled),.success:hover:not(:disabled),.danger:hover:not(:disabled),.phone-btn:hover:not(:disabled),.msg-btn:hover:not(:disabled),.mark-reviewed-button:hover:not(:disabled),.calendar-shortcut-chip:hover:not(:disabled),.chart-patient-result:hover:not(:disabled){transform:translateY(-2px)}.primary:hover:not(:disabled),.success:hover:not(:disabled),.msg-btn:hover:not(:disabled),.mark-reviewed-button:hover:not(:disabled){box-shadow:0 14px 28px #0f766e38,inset 0 1px #ffffff3d}.phone-btn:hover:not(:disabled),.call-btn:hover:not(:disabled){box-shadow:0 14px 28px #6d28d93d,inset 0 1px #ffffff3d}.secondary:hover:not(:disabled),.archive-button:hover:not(:disabled),.calendar-shortcut-chip:hover:not(:disabled),.chart-patient-result:hover:not(:disabled){box-shadow:0 12px 20px #0f172a14;border-color:#64748b59}.danger:hover:not(:disabled),.provider-ticket-delete:hover:not(:disabled){box-shadow:0 14px 28px #dc262638,inset 0 1px #fff3}button:active:not(:disabled),.primary:active:not(:disabled),.secondary:active:not(:disabled),.success:active:not(:disabled),.danger:active:not(:disabled),.phone-btn:active:not(:disabled),.msg-btn:active:not(:disabled),.mark-reviewed-button:active:not(:disabled){transform:translateY(0)}button:focus-visible,.primary:focus-visible,.secondary:focus-visible,.success:focus-visible,.danger:focus-visible,.phone-btn:focus-visible,.msg-btn:focus-visible,.mark-reviewed-button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:0}.primary:focus-visible,.success:focus-visible,.msg-btn:focus-visible,.mark-reviewed-button:focus-visible{box-shadow:0 0 0 3px #14b8a62e}.secondary:focus-visible{box-shadow:0 0 0 3px #94a3b829}.danger:focus-visible{box-shadow:0 0 0 3px #ef444429}button:disabled,.primary:disabled,.secondary:disabled,.success:disabled,.danger:disabled,.phone-btn:disabled,.msg-btn:disabled,.mark-reviewed-button:disabled{color:#94a3b8;background:linear-gradient(180deg,#f1f5f9,#e2e8f0);border-color:#94a3b847;box-shadow:none;opacity:.65;cursor:not-allowed;transform:none}.result-button,.directory-row,.directory-registry-row,.quick-action,.attention-row,.workflow-tile,.provider-ticket-row{border:1px solid var(--border-soft);background:#fffffff0;box-shadow:0 8px 20px #0f172a0d}.result-button,.directory-registry-row{padding:15px 16px}.result-button .name,.directory-row .name,.directory-registry-row .name,.card .name,.provider-ticket-head .name{color:var(--text-strong);font-size:16px;font-weight:700}.phone,.meta,.directory-registry-row .phone,.directory-registry-row .directory-dob,.provider-ticket-head .phone{color:var(--text-muted);font-size:14px;font-weight:500}.status,.role-chip,.nav-alert-badge,.notification-badge,.voice-phone-status-pill,.directory-ticket-chip,.directory-alert-chip,.attention-total,.inline-chip{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:6px 10px;border-radius:var(--radius-pill);font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.status.open,.status.pending,.status.downloaded{color:var(--amber-text);background:var(--amber-soft)}.status.done,.status.completed,.status.active,.status.approved,.voice-phone-status-pill.ready,.voice-phone-status-pill.in-call,.directory-ticket-chip.active{color:#0f766e;background:#14b8a624}.status.disabled,.voice-phone-status-pill.offline,.archived-line,.directory-ticket-chip{color:#64748b;background:#94a3b824}.status.declined,.voice-phone-status-pill.error{color:#b91c1c;background:#ef444424}.voice-phone-status-pill.connecting,.voice-phone-status-pill.incoming-call{color:#7c3f00;background:#f59e0b29}.nav-alert-badge,.notification-badge,.directory-alert-chip{color:#fff;background:linear-gradient(180deg,#ef4444,#dc2626);border:0;box-shadow:0 8px 18px #dc26262e}.role-chip,.attention-total.calm,.inline-chip{color:var(--purple-strong);background:#8b5cf61f}.attention-total.active{color:#0f766e;background:#14b8a624}.workflow-tile,.quick-action,.attention-row{padding:18px}.workflow-tile strong,.quick-action strong,.attention-row strong{color:var(--text-strong);font-size:16px;font-weight:700}.workflow-tile small,.quick-action small,.attention-row small{color:var(--text-muted);font-size:14px;font-weight:500}.summary-strip .metric-button,.summary-strip>div{min-height:88px;padding:16px 18px;border:1px solid var(--border-soft);border-radius:18px;background:#ffffffe6;box-shadow:0 10px 24px #0f172a0d}.summary-strip strong{color:var(--text-strong);font-size:25px;font-weight:700;letter-spacing:-.02em}.summary-strip span{color:var(--text-muted);font-size:13px;font-weight:600}.dashboard-hero,.command-center,.grid,.chart-board,.provider-review-board,.frontdesk-workspace,.calendar-workspace,.directory-comm-grid{gap:20px}.directory-registry-row.active,.result-button:hover,.directory-registry-row:hover,.workflow-tile:hover,.quick-action:hover,.attention-row:hover,.provider-ticket-row:hover{border-color:#8b5cf624;box-shadow:0 16px 32px #0f172a14}.patient-avatar,.phone-header-avatar,.brand-mark,.tile-code,.quick-code,.attention-code,.voice-card-icon{box-shadow:inset 0 1px #ffffff73,0 10px 18px #0f172a14}.drop-zone{display:grid;gap:6px;justify-items:center;padding:26px 18px;color:var(--text-muted);border-style:dashed;border-color:#8b5cf62e;background:linear-gradient(180deg,#fffffff5,#f7fafce6),#ffffffd9}.drop-zone strong{color:var(--text-strong);font-size:16px}.calendar-shortcut-chip.active,.chart-patient-result:hover,.chart-patient-result:focus-visible{color:var(--purple-strong);border-color:#8b5cf647;background:#8b5cf614}.security-note,.admin-safety-helper,.browser-phone-error,.sms-pending-warning{border-radius:14px}.security-note{padding:12px 14px;color:#475569;background:#f8fafcdb;border:1px solid rgba(148,163,184,.2)}.admin-safety-helper,.sms-pending-warning,.calendar-setup-warning,.browser-phone-error{padding:11px 13px}.provider-ticket-row{align-items:center;padding:16px;border-radius:18px}.provider-ticket-check{width:42px;height:42px;border-radius:14px;color:#fff;background:linear-gradient(180deg,var(--teal-bright),var(--teal-strong));border:1px solid rgba(15,118,110,.3);box-shadow:0 8px 18px #0f766e29}.toast{border-radius:16px;box-shadow:0 18px 40px #0f172a29;font-weight:700}@media(max-width:900px){.view{padding:20px}.panel,.card,.selected,.empty,.voice-action-card,.session-card,.attention-panel,.quick-panel{padding:18px}.dashboard-hero h2,.directory-rail-head h2,.directory-thread-head h2,.auth-card h1,.login-card h1{font-size:24px}}
