.voice-controls{grid-column:1 / -1;display:flex;align-items:center;gap:8px;padding:0 3px 2px;flex-shrink:0;min-height:34px}.voice-controls button{height:34px;min-height:34px;border:0;border-radius:11px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--panel);color:inherit;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer}.voice-controls button:disabled{opacity:.55;cursor:default}.voice-controls .voice-start span{font-size:10.5px;opacity:.65;margin-left:8px;font-weight:400}.voice-controls .voice-end{background:#743b2b;color:#fff}.voice-status{flex:1;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.voice-status i{width:8px;height:8px;background:#27865a;border-radius:50%;box-shadow:0 0 0 4px #27865a15}.voice-status.just-connected i{animation:voice-connected-pulse .7s ease-out}@keyframes voice-connected-pulse{0%{transform:scale(.75);box-shadow:0 0 #27865a55}50%{transform:scale(1.18);box-shadow:0 0 0 8px #27865a20}to{transform:scale(1);box-shadow:0 0 0 4px #27865a15}}@media(prefers-reduced-motion:reduce){.voice-status.just-connected i{animation:none}}.voice-review-text{white-space:pre-wrap;overflow-wrap:anywhere}.patient-notes{display:flex;flex-direction:column;gap:14px;min-height:0;height:100%;position:relative;padding:4px}.patient-notes .section-heading{flex:none;margin:0}.patient-note-list{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:12px}.patient-note-editor{display:flex;flex-direction:column;gap:12px;min-height:0;flex:1;overflow:auto}.patient-note-editor label{display:flex;flex-direction:column;gap:6px}.patient-note-editor>label:has(textarea){flex:1;min-height:140px}.patient-note-editor textarea{flex:1;min-height:120px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink)}.patient-notes footer,.patient-notes article header,.patient-note-history>header{display:flex;align-items:center;gap:10px;justify-content:space-between}.patient-note-editor footer{justify-content:flex-end}.patient-notes small{display:block;color:var(--muted)}.patient-notes .note-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.patient-note-history{position:absolute;inset:0;background:var(--panel);z-index:2;padding:20px;border-radius:18px;overflow:auto}.patient-note-history article{padding:16px 0;border-bottom:1px solid var(--line)}.clinical-proposal-items dd{white-space:pre-wrap;overflow-wrap:anywhere}.patient-note-modal .patient-note-editor{width:min(720px,100%);flex:0 1 auto;padding:24px;max-height:calc(100vh - 60px)}.patient-note-modal .patient-note-editor h2{margin:0;font-size:22px}.patient-note-modal .patient-note-editor p{margin:0;line-height:1.5}.patient-note-modal .patient-note-editor footer{display:flex;gap:10px;justify-content:flex-end}.patient-note-modal .patient-note-editor textarea{background:var(--soft);min-height:220px}.patient-note-modal .note-body{white-space:pre-wrap;overflow:auto;max-height:200px}.note-list-tabs{flex:0 0 auto}.deleted-note-policy{margin:0;min-height:40px;flex:0 0 auto;color:var(--muted);font-size:13px}.inline-note-review{margin:12px 0;min-width:0}.inline-note-review-panel{background:var(--panel);padding:16px;border:1px solid var(--line);border-radius:18px;overflow-wrap:anywhere}.inline-note-review-panel h2{font-size:16px;margin:0 0 10px}.inline-note-review-panel h3{font-size:14px}.inline-note-review-panel p,.inline-note-review-panel dd{white-space:pre-wrap;font-size:13px}.inline-note-review-panel dl{margin:8px 0}.inline-note-review-panel dt{font-weight:600;text-transform:capitalize}.inline-note-review-panel dd{margin:4px 0 10px}.inline-note-review-panel footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.inline-note-review-panel footer button{min-height:38px;flex:1}.account-workspace,.record-module{min-height:0;display:flex;flex-direction:column;gap:14px;overflow:hidden;height:100%}.account-selected{display:flex;align-items:center;gap:12px}.account-selected span{color:var(--muted)}.account-workspace>.record-module{flex:1}.account-clickable-row{cursor:pointer}.account-clickable-row:hover{background:var(--soft)}.account-workspace>.record-table-scroll .data-table :is(th,td,button,small){font-size:13px}.account-detail-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);padding-bottom:9px;flex-shrink:0}.account-detail-tabs button{border:0;border-radius:10px;padding:9px 13px;font-size:13px;font-weight:600;background:transparent;color:var(--muted)}.account-detail-tabs button[aria-selected=true]{background:var(--soft);color:var(--accent)}.account-overview{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:24px;align-content:start}.account-overview>section,.account-members{padding:18px;border:1px solid var(--line);border-radius:16px}.account-overview h3,.account-members h3{margin:0 0 8px;font-size:16px;font-weight:600}.account-overview p,.account-members p{font-size:13px;color:var(--muted);line-height:1.5;margin:0 0 16px}.account-activity,.account-member-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border:0;border-bottom:1px solid var(--line);width:100%;background:transparent;color:var(--ink);text-align:left}.account-activity{cursor:pointer}.account-activity:hover{background:var(--soft)}.account-activity span,.account-member-summary span{min-width:0}.account-activity b,.account-member-summary b{font-size:13px;font-weight:600;overflow-wrap:anywhere}.account-activity strong{white-space:nowrap;font-size:14px;font-weight:600}.account-activity small,.account-member-summary small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.account-overview .secondary-button{margin-top:16px}.account-overview .account-summary-heading{margin-top:24px}.global-modal.patient-operation-modal{animation:none!important}@media(max-width:1200px){.account-overview{grid-template-columns:minmax(0,1fr)}}.record-module-header,.record-module-header>div:last-child{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.record-module-header{justify-content:space-between;flex-shrink:0}.record-module-header h3{display:flex;align-items:center;gap:8px;margin:0 0 4px;font-size:17px}.record-module-header small{color:var(--muted);font-size:12px}.record-module-header button{min-height:34px;padding:0 11px;font-size:13px}.record-table-scroll,.record-module-scroll{min-height:0;flex:1;overflow:auto}.record-table-scroll{border:1px solid var(--line);border-radius:14px}.account-patient-link{display:block;border:0;background:transparent;text-align:left;color:var(--accent);font-weight:600;padding:4px 0;cursor:pointer}.account-patient-link small{display:block;color:var(--muted);margin-top:4px}.record-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;flex-shrink:0}.ledger-balance-strip{display:flex;gap:24px;align-items:center;padding:15px 18px;background:var(--soft);border-radius:14px}.ledger-balance-strip>span{display:grid;gap:5px;font-size:12px;color:var(--muted);white-space:nowrap}.ledger-balance-strip strong{font-size:22px;color:var(--ink);font-weight:600}.ledger-balance-strip p{font-size:12px;line-height:1.5;margin-left:auto;max-width:290px}.ledger-record-table td{white-space:normal!important;overflow-wrap:anywhere}.ledger-record-table small{display:block;max-width:250px}.record-empty{padding:24px 14px;color:var(--muted);font-size:13px;line-height:1.6}.patient-operation-modal{z-index:600!important}.patient-operation-dialog{width:min(860px,calc(100vw - 48px));max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden;border-radius:22px;background:var(--panel);box-shadow:0 25px 80px #27181033}.patient-operation-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}.patient-operation-dialog h2{margin:0;font-size:20px}.patient-operation-dialog>form,.record-modal-content>form{display:flex;flex-direction:column;min-height:0}.record-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:20px 22px;overflow:auto;min-height:0}.record-form-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;min-width:0}.record-form-grid .full-field{grid-column:1/-1}.record-form-grid input,.record-form-grid textarea{border:1px solid var(--line);border-radius:10px;background:var(--soft);padding:10px 12px;min-width:0;width:100%;color:var(--ink);font:inherit;resize:none}.record-form-grid p{font-size:13px;line-height:1.6}.patient-operation-dialog footer,.patient-operation-dialog form>footer{padding:14px 22px;display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--line)}.record-review{padding:22px;overflow:auto;font-size:14px}.patient-operation-dialog.transaction-review-dialog{width:min(780px,calc(100vw - 48px));container-type:inline-size}.transaction-review-dialog>header,.transaction-review-dialog>footer{flex:none}.transaction-review{padding:24px;overflow:auto;min-height:0;font-size:14px}.transaction-review-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px;background:var(--soft);border-radius:16px}.transaction-review-identity{display:flex;align-items:center;gap:14px;min-width:0}.transaction-review-icon{display:grid;place-items:center;flex:none;color:var(--accent)}.transaction-review-label,.transaction-review-details dt,.transaction-review-description h4{display:block;margin:0 0 6px;color:var(--muted);font-size:13px;font-weight:600}.transaction-review-identity h3{margin:0 0 5px;font-size:19px;font-weight:600;overflow-wrap:anywhere}.transaction-review-patient-id{color:var(--muted);font-size:13px}.transaction-review-amount{flex:none;text-align:right}.transaction-review-amount>strong{display:block;font-size:32px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.transaction-review-pending{display:inline-block;margin-top:8px;font-size:13px;font-weight:600;color:var(--muted)}.transaction-review-impact{margin:0;padding:14px 2px 18px;border-bottom:1px solid var(--line);font-size:14px;line-height:1.5}.transaction-review-impact strong{font-weight:600}.transaction-review-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;margin:0;padding:20px 2px}.transaction-review-details dd{margin:0;font-size:14px;font-weight:500;overflow-wrap:anywhere}.transaction-review-description{padding:18px 2px;border-top:1px solid var(--line)}.transaction-review-description p{margin:0;font-size:15px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.transaction-review-policy{display:flex;gap:9px;align-items:flex-start;margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.transaction-review-policy svg{flex:none;margin-top:1px}.patient-operation-dialog.health-history-dialog{width:min(880px,calc(100vw - 48px));container-type:inline-size}.health-history-dialog>header,.health-history-dialog>footer{flex:none}.health-record-history{min-height:0;overflow:auto;padding:20px 24px;font-size:14px}.history-patient{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 18px;font-weight:600}.history-patient span{font-size:13px;color:var(--muted);font-weight:500}.history-version+.history-version{border-top:1px solid var(--line);padding-top:22px;margin-top:22px}.history-version-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;border-radius:14px;background:var(--soft)}.history-version-heading>div{display:flex;gap:12px;align-items:center;min-width:0}.history-version-heading svg{flex:none;color:var(--accent)}.history-version-heading h3{margin:0;font-size:17px;font-weight:600;overflow-wrap:anywhere}.history-version-heading>span{font-size:13px;font-weight:600;color:var(--muted);flex:none}.history-version-meta,.history-health-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:18px 0}.health-record-history dt,.history-record-note h4{margin:0 0 6px;font-size:13px;font-weight:600;color:var(--muted)}.health-record-history dd{margin:0;font-size:14px;overflow-wrap:anywhere}.history-measurements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px;margin:0}.history-measurements>div{padding:12px 0;border-top:1px solid var(--line)}.history-measurements dd{display:flex;align-items:baseline;gap:6px;min-height:27px}.history-measurements strong{font-size:22px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}.history-measurements dd span{font-size:13px;color:var(--muted)}.history-record-note{padding-top:14px;margin-top:8px;border-top:1px solid var(--line)}.history-record-note p{margin:0;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}@container (max-width:520px){.history-measurements{grid-template-columns:repeat(2,minmax(0,1fr))}.history-version-meta,.history-health-details{grid-template-columns:minmax(0,1fr)}.history-version-heading{align-items:flex-start;flex-direction:column}}@container (max-width:520px){.transaction-review{padding:18px}.transaction-review-summary{align-items:flex-start;gap:18px;padding:16px;flex-direction:column}.transaction-review-amount{text-align:left}}.health-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.health-sections>section{border:1px solid var(--line);border-radius:15px;padding:15px;background:var(--soft)}.health-sections header,.health-sections article>div,.health-sections footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.health-sections h3{font-size:15px;margin:0}.health-sections article{padding:14px 0;border-bottom:1px solid var(--line)}.health-sections article:last-child{border-bottom:0}.health-sections p{font-size:13px;line-height:1.5;margin:7px 0}.health-sections small{font-size:12px;color:var(--muted)}.health-review-strip{padding:12px 15px;background:var(--soft);border-radius:12px;margin-bottom:14px;font-size:13px}.health-changes{padding:14px}.health-changes article{padding:14px;border-bottom:1px solid var(--line);font-size:13px}.health-changes small{color:var(--muted)}.vitals-table td,.vitals-table th{padding:10px 8px!important;white-space:normal!important;font-size:12px!important}.vitals-table small{display:block}.record-body:has(>.record-module){overflow:hidden;display:flex;flex-direction:column}.record-body>.record-module{flex:1}.patient-health .view-tabs{flex-shrink:0;align-self:flex-start}@media(max-width:1200px){.health-sections{grid-template-columns:1fr}.ledger-balance-strip{gap:14px}.ledger-balance-strip p{display:none}}@media print{.primary-nav,.assistant-column{display:none}}.appointment-health-content{height:min(680px,calc(100dvh - 160px));padding:18px;min-height:0;overflow:hidden}.patient-operation-dialog.account-member-dialog{width:min(980px,calc(100vw - 48px));height:calc(100dvh - 48px)}.account-member-dialog>header,.account-member-dialog footer{flex:0 0 auto}.account-member-body{display:flex;flex-direction:column;min-height:0;flex:1;padding:18px 22px;gap:14px}.account-member-search{display:flex;align-items:center;gap:10px;background:#fff;color:#392c25;border:1px solid var(--line);border-radius:12px;padding:0 14px;height:44px;flex:none}.account-member-search input{min-width:0;width:100%;border:0;background:transparent;color:inherit;height:42px;padding:0;font:inherit;font-size:15px}.account-member-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.account-member-search input:focus-visible{outline:none}.account-member-table{min-height:0;flex:1;overflow:auto;border:1px solid var(--line);border-radius:12px;scrollbar-gutter:stable}.account-member-table table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}.account-member-table th{position:sticky;top:0;background:var(--soft);text-align:left;font-weight:600;z-index:1}.account-member-table th,.account-member-table td{padding:12px 14px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.account-member-table th:first-child{width:44%}.account-member-table th:last-child{width:70px}.account-member-table td strong,.account-member-table td small{display:block}.account-member-table td small{margin-top:4px;color:var(--muted);font-size:13px}.account-member-table tbody tr{cursor:pointer}.account-member-table tbody tr:hover,.account-member-table tr.selected{background:var(--soft)}.account-member-table input{accent-color:var(--accent);width:18px;height:18px}.account-member-pagination{display:flex;align-items:center;justify-content:space-between;min-height:34px;flex:none;font-size:13px}.account-member-note{min-height:60px;margin:0;font-size:13px;line-height:1.5;flex:none}.account-member-note strong{display:block;font-weight:600}.account-member-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px}.account-member-selection button{padding:5px 10px;min-height:30px;font-size:13px}.account-member-selected{display:flex;flex-wrap:wrap;gap:6px;max-height:80px;overflow:auto;margin:6px 0}.account-member-selected button{display:flex;align-items:center;gap:6px;padding:4px 8px;border:0;border-radius:8px;background:var(--soft);color:var(--ink);font:inherit}.perio-records-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0 14px;flex-shrink:0}.perio-records-header h3{margin:0;font-size:16px;font-weight:600}.perio-records-header p{margin:6px 0 0}.perio-exam-title{display:flex;align-items:center;gap:12px}.perio-records-table{flex:1;min-height:0;overflow:auto;background:var(--soft);border-radius:16px}.perio-records-table table{width:100%;table-layout:fixed;border-collapse:collapse}.perio-records-table th,.perio-records-table td{padding:16px 12px;text-align:left;vertical-align:middle;overflow-wrap:anywhere}.perio-records-table th{font-size:12px;font-weight:600}.perio-records-table td{font-size:13px;border-top:1px solid #85726118}.perio-records-table th:first-child{width:20%}.perio-records-table th:last-child{width:23%}.perio-records-table tbody tr{cursor:pointer}.perio-records-table tbody tr:hover{background:#8572610b}.perio-records-table small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.perio-record-link{border:0;background:transparent;color:var(--ink);text-align:left;padding:0;font:inherit;font-weight:600;cursor:pointer}.perio-note-preview{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.perio-toolbar input[type=time]{background:var(--panel);border:1px solid #85726130;border-radius:10px;height:40px;padding:8px 10px;color:var(--ink);font:inherit}.perio-workspace>.table-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:12px 0 0;font-size:12px}.clinical-workbench [hidden]{display:none!important}.clinical-workbench .view-header h1 .owned-combobox-trigger{font-size:18px;letter-spacing:normal;font-weight:600;min-height:46px}.patient-workflows{padding:8px;width:100%;margin:auto}.workflow-card{display:block;background:var(--soft);border-radius:16px;padding:20px;margin:14px 0;text-align:left}.workflow-card summary{cursor:pointer;font-weight:600;padding:4px 0}.workflow-card form{display:grid;gap:14px;margin-top:20px}.workflow-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.document-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.document-grid small,.lab-timestamp{display:block;color:var(--muted);margin-top:8px}.document-grid img{max-width:100%;max-height:450px;object-fit:contain;margin-top:14px}.form-verbiage{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.submitted-answer{padding:12px 0;border-bottom:1px solid var(--line)}.choice-options{display:flex;gap:14px;flex-wrap:wrap}.choice-options span{display:flex;gap:6px;align-items:center}.lab-status{display:inline-block;border-radius:8px;padding:5px 9px;background:var(--panel);font-size:13px;text-transform:capitalize}.lab-status.received,.lab-status.quality_checked{background:#dae7df;color:#294d3a}.lab-slip{max-height:85vh;overflow:auto}.clinical-review-backdrop{position:fixed;inset:0;z-index:1000;background:#17110bb3;display:grid;place-items:center;padding:20px}@media print{body *{visibility:hidden}.lab-slip,.lab-slip *{visibility:visible}.lab-slip{position:fixed;inset:0;max-height:none;width:100%;max-width:none;background:#fff;color:#000;border:0;overflow:visible}.lab-slip .no-print,.lab-slip .no-print *{visibility:hidden}}.clinical-workbench{min-height:0;overflow:hidden;display:flex;flex-direction:column}.clinical-module-tabs{display:flex;flex:0 0 auto;gap:16px;border-bottom:1px solid var(--line);min-height:38px;overflow-x:auto}.clinical-module-tabs button{flex-shrink:0;padding:8px 2px;border:0;border-bottom:2px solid transparent;color:var(--muted);font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer}.clinical-module-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent)}.clinical-workbench:has(>.clinical-module-tabs){gap:8px}.clinical-workbench:has(>.clinical-module-tabs)>.view-header{margin-bottom:0}.clinical-tabs{display:flex;gap:5px;flex:0 0 auto;border-bottom:1px solid var(--line);padding:0 0 12px;overflow-x:auto;white-space:nowrap}.clinical-tabs>button{padding:10px 15px;border-radius:10px;color:var(--muted);cursor:pointer}.clinical-tabs>button.active{background:var(--accent);color:#fff5e8}.clinical-tabs .clinical-refresh{margin-left:auto}.clinical-main{flex:1;min-height:0;overflow:auto;padding-top:14px}.chart-toolbar{display:flex;align-items:center;gap:10px;padding-bottom:14px}.chart-toolbar>.owned-combobox{max-width:170px}.clinical-segment{display:flex;background:var(--soft);padding:4px;border-radius:12px}.clinical-segment button{cursor:pointer;display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:8px}.clinical-segment button.active{background:var(--panel);box-shadow:0 2px 9px #0001}.clinical-chart-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(330px,32%,480px);gap:16px;min-height:0}.clinical-model-pane{min-width:0}.mouth-scene{position:relative;height:100%;min-height:240px;background:radial-gradient(ellipse at 50% 30%,#4b392d,#211b19 75%);border-radius:22px;overflow:hidden;color:#efdfc8}.mouth-canvas{position:absolute;inset:0;touch-action:none}.mouth-canvas canvas{display:block;width:100%;height:100%;outline:none}.mouth-topline{position:absolute;top:20px;left:22px;right:22px;display:flex;gap:8px;align-items:center;font-size:12px;letter-spacing:2px;pointer-events:none}.mouth-topline>span:last-child{margin-left:auto;letter-spacing:0;color:#c1b19c}.mouth-live-dot{width:6px;height:6px;border-radius:50%;background:#d7b276;box-shadow:0 0 14px #d7b276}.mouth-view-controls{position:absolute;left:14px;right:14px;bottom:16px;display:flex;justify-content:center;flex-wrap:wrap;gap:5px}.mouth-view-controls button[aria-pressed=true]{background:#f5cd7a;color:#291d13;border-color:#f5cd7a;box-shadow:inset 0 0 0 1px #ffe4ad}.mouth-view-controls button{background:#30271ddd;border:1px solid #dcc6a333;padding:7px 9px;border-radius:9px;font-size:12px;color:#f2dec1;cursor:pointer;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mouth-help{position:absolute;bottom:13px;text-align:center;width:100%;font-size:12px;color:#c0b39f;pointer-events:none}.mouth-fallback,.mouth-loading{padding:90px 30px;text-align:center}.mouth-fallback{position:absolute;inset:0;pointer-events:none}.tooth-keyboard-strip{display:grid;gap:12px;padding:16px;margin-top:12px;background:var(--soft);border-radius:16px}.tooth-selector-arch{display:grid;gap:7px;min-width:0}.tooth-selector-arch>span{font-size:12px;color:var(--muted);font-weight:600}.tooth-selector-row{display:grid;gap:4px}.tooth-keyboard-strip button{min-width:0;height:36px;background:var(--panel);border:1px solid transparent;border-radius:8px;font-size:13px;cursor:pointer}.tooth-keyboard-strip button[aria-pressed=true]{background:var(--accent);color:#fff}.tooth-keyboard-strip button.altered{border-style:dashed;border-color:var(--muted)}.tooth-inspector{padding:18px;background:var(--soft);border-radius:20px;min-width:0;min-height:0;align-self:stretch;display:flex;flex-direction:column}.tooth-inspector-title{display:flex;align-items:center;gap:12px;margin-bottom:18px}.tooth-number{display:grid;place-items:center;width:40px;min-width:40px;flex:0 0 40px;height:40px;border-radius:11px;background:var(--accent);color:#fff3df;font-size:22px}.tooth-inspector h2{font-size:17px;margin:0}.tooth-inspector p,.tooth-inspector small{font-size:12px;color:var(--muted);line-height:1.6}.tooth-inspector h3{font-size:16px;margin:16px 0 10px}.clinical-field{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-size:13px;min-width:0}.clinical-field input,.clinical-field textarea,.perio-toolbar input{border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink);padding:10px;min-width:0;width:100%;font:inherit}.clinical-field textarea{min-height:65px;resize:none}.procedure-shortcuts{display:flex;gap:5px;flex-wrap:wrap}.procedure-shortcuts button{border:1px solid var(--line);border-radius:7px;padding:6px;font-size:12px;cursor:pointer}.clinical-procedure-results{max-height:160px;overflow:auto;display:grid;gap:5px}.clinical-procedure-results button{display:grid;gap:3px;text-align:left;background:var(--panel);padding:9px;border-radius:8px;border:1px solid transparent;font-size:13px;cursor:pointer}.clinical-procedure-results button.selected{border-color:var(--accent)}.tooth-surfaces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.tooth-surfaces button{width:100%;min-height:36px;padding:7px 10px;text-align:left;border:1px solid var(--line);border-radius:10px}.tooth-surfaces button[aria-pressed=true]{background:var(--accent);color:#fff}.clinical-muted{font-size:12px;color:var(--muted);line-height:1.6;padding:8px 0}.chart-legend{display:flex;flex-shrink:0;gap:6px;flex-wrap:wrap;padding:0;border-radius:12px;font-size:13px;margin-bottom:10px}.chart-legend span{display:flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;font-weight:600}.chart-legend.tooth-mark-editor>button{display:inline-flex;align-items:center;justify-content:center;margin:0;padding:6px 10px;min-height:30px;border:0;border-radius:999px;background:var(--panel);color:var(--ink);font-size:12px;line-height:18px;cursor:pointer}.chart-legend.tooth-mark-editor>button[aria-pressed=true]{box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 3px var(--panel)}.chart-legend.tooth-mark-editor>button:disabled{opacity:.65;cursor:wait}.chart-legend.tooth-mark-editor>button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chart-legend.tooth-mark-editor .legend-metal-pill{background:#475569;color:#fff}.chart-legend.tooth-mark-editor .legend-faded-pill{background:#e2e8f0;color:#475569}.chart-legend.tooth-mark-editor .legend-impacted-pill{background:#008b8b;color:#fff}.legend-save-error{flex-basis:100%;margin:0;font-size:12px;color:var(--accent)}.clinical-workbench .chart-legend i,.selected-tooth-stage i{display:inline-grid;place-items:center;min-width:28px;width:28px;height:26px;border-radius:6px;font-size:13px;font-style:normal;font-weight:700;color:#fff;border:1px solid #0003}.selected-tooth-stage{display:flex;align-items:center;gap:8px;font-size:13px;margin:8px 0}.chart-legend>span{color:var(--ink)}.chart-legend .legend-wire-pill{background:var(--panel);outline:1px dashed var(--muted);outline-offset:-1px}.chart-legend .legend-metal-pill{background:#475569;color:#fff}.chart-legend .legend-faded-pill{background:#e2e8f0;color:#475569}.chart-legend .legend-selected-pill{background:#f4cd68;color:#49340b}.clinical-error{padding:12px;border-radius:12px;background:var(--soft);color:var(--accent)}.odontogram-2d{background:var(--soft);border-radius:20px;padding:20px 10px;min-height:340px;display:grid;align-content:center}.odontogram-2d svg{width:100%;min-height:130px}.odontogram-2d text{fill:var(--ink);font-size:13px}.svg-tooth{cursor:pointer}.clinical-record-list{padding:10px;display:grid;gap:12px}.clinical-record-list article{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:18px;background:var(--soft);border-radius:15px}.clinical-record-list article small{display:block;color:var(--muted);margin-top:6px}.clinical-record-list h3{margin:6px 0}.clinical-record-list article>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.clinical-chip{display:inline-block;padding:6px 10px;border-radius:8px;background:var(--soft);font-size:13px}.tooth-history{display:grid;gap:12px;padding:4px 6px 16px}.tooth-history>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:4px 0 8px}.tooth-history>header h2{margin:0;font-size:18px}.tooth-history>header span{color:var(--muted);font-size:13px}.tooth-history>article{display:grid;grid-template-columns:64px minmax(0,1fr) 170px;align-items:start;gap:18px;padding:18px;border-radius:16px;background:var(--soft)}.history-tooth{display:grid;justify-items:center;gap:4px;padding:10px 4px;border-radius:12px;background:var(--panel)}.history-tooth span{font-size:13px;color:var(--muted)}.history-tooth strong{font-size:22px}.history-description{min-width:0;overflow-wrap:anywhere}.history-description h3{display:flex;align-items:center;gap:8px;margin:2px 0 8px;font-size:16px}.history-description h3 i{width:16px;height:16px;border-radius:5px;flex-shrink:0;box-shadow:inset 0 0 0 1px #0002}.history-description p{margin:5px 0 0;font-size:14px;line-height:1.5}.history-reason span{color:var(--muted)}.history-meta{display:grid;gap:5px;font-size:13px;color:var(--muted);text-align:right}.history-meta small{font-size:13px}@container workspace (max-width: 850px){.tooth-history>article{grid-template-columns:54px minmax(0,1fr);gap:12px;padding:14px}.history-meta{grid-column:2;display:flex;flex-wrap:wrap;text-align:left;gap:6px 12px}}.clinical-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.clinical-section-heading p{color:var(--muted);font-size:13px}.perio-toolbar{display:flex;gap:12px;align-items:end;margin:16px 0;flex-wrap:wrap}.perio-toolbar label{display:grid;gap:6px;font-size:13px}.perio-dentition{width:170px;flex:0 0 170px}.perio-subtabs{display:flex;gap:6px;margin:0;border-bottom:1px solid var(--line)}.perio-measured{margin-left:auto;align-self:center}.perio-subtabs button{margin-bottom:-1px;padding:9px 14px;border-bottom:2px solid transparent;color:var(--muted)}.perio-subtabs button[aria-selected=true]{border-color:var(--accent);color:var(--accent)}.perio-history[hidden]{display:none}.tooth-mark-feedback{min-height:36px;font-size:13px;color:var(--muted)}.clinical-record-list.treatment-plan-cards>article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px;border:1px solid var(--line);background:var(--panel-strong)}.clinical-record-list.treatment-items.treatment-plan-cards>article>.treatment-item-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.treatment-plan-cards .treatment-progress-actions{display:flex;flex-wrap:wrap;gap:8px}.treatment-card-heading{display:flex;align-items:center;gap:12px}.treatment-card-heading h3{margin:0 0 4px}.treatment-card-status{font-size:12px;font-weight:700}.treatment-tooth-badge{flex:0 0 48px;width:48px;height:52px;border-radius:12px;background:var(--soft);display:flex;flex-direction:column;justify-content:center;align-items:center}.treatment-tooth-badge small{font-size:10.5px}.treatment-tooth-badge b{font-size:20px}.treatment-plan-cards .treatment-item-summary>p{margin:10px 0 5px;font-size:13px}.treatment-plan-cards .treatment-item-summary>small{display:block;margin-top:4px}.treatment-plan-cards details{margin-top:8px;font-size:13px}.treatment-plan-cards summary{cursor:pointer;color:var(--accent)}@container workspace (max-width: 1050px){.clinical-record-list.treatment-plan-cards>article{grid-template-columns:minmax(0,1fr)}.clinical-record-list.treatment-items.treatment-plan-cards>article>.treatment-item-actions{justify-content:flex-start}}.perio-chart-scroll{overflow:auto;min-height:0;border:1px solid var(--line);border-radius:14px}.clinical-workbench.is-perio-chart{gap:8px}.clinical-workbench.is-perio-chart>.view-header{margin-bottom:0}.is-perio-chart>.clinical-main{padding-top:0;display:flex;flex-direction:column;overflow:hidden}.is-perio-chart>.clinical-main>div{flex:1;min-height:0;display:flex;flex-direction:column}.perio-workspace{flex:1;min-height:0;display:flex;flex-direction:column}.perio-subtabs,.perio-toolbar{flex-shrink:0}.perio-toolbar{margin:10px 0}.perio-chart-panel{flex:1;min-height:0;display:flex;flex-direction:column}.perio-chart-panel[hidden],.perio-notes-panel[hidden]{display:none}.perio-chart-panel>.perio-chart-scroll{flex:1}.perio-chart-panel>.clinical-muted{flex-shrink:0;margin:8px 0 0}.perio-notes-panel{flex:1;min-height:0;display:flex}.perio-notes-panel>label{flex:1;min-height:0;display:flex;flex-direction:column;margin:0}.perio-notes-panel textarea{flex:1;min-height:100px;resize:none}.perio-tooth-pages{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.perio-tooth-pages button{padding:7px 12px;border-radius:10px;background:var(--soft);font-size:13px}.perio-tooth-pages button[aria-pressed=true]{background:var(--accent);color:#fff}.perio-compact{max-height:none}.perio-table thead th{overflow-wrap:anywhere}.patient-clinical-embedded .perio-toolbar{margin:8px 0}.patient-clinical-embedded .perio-workspace>.clinical-muted{margin:6px 0;padding:0}.patient-clinical-embedded .perio-workspace>.clinical-field textarea{height:48px;min-height:48px}.perio-table{border-collapse:separate;border-spacing:0;min-width:900px;table-layout:fixed;width:100%;font-size:12px}.perio-table th,.perio-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;padding:4px}.perio-table thead{position:sticky;top:0;z-index:2;background:var(--panel)}.perio-table tbody th{position:sticky;left:0;background:var(--panel);z-index:1;width:75px}.perio-table tbody th label{display:flex;gap:4px;justify-content:center;font-size:12px}.perio-table td input{width:100%;min-width:0;min-height:33px;background:var(--soft);color:var(--ink);border:0;border-radius:5px;text-align:center;font-size:14px}.perio-table td button{width:100%;height:33px;border-radius:6px;background:var(--soft);font-size:17px}.perio-table .bleeding-positive{background:#9c5746;color:#fff}.perio-excluded td{opacity:.4}.perio-pass-tabs{display:flex;gap:4px;flex-shrink:0;border-bottom:1px solid var(--line);margin-bottom:8px;overflow-x:auto}.perio-pass-tabs>button{flex:1;min-width:110px;padding:7px 6px;background:transparent;border:0;border-bottom:2px solid transparent;font-size:12px;font-weight:600;white-space:nowrap}.perio-pass-tabs>button[aria-selected=true]{border-bottom-color:var(--accent);color:var(--accent)}.perio-pass-tabs small{display:block;font-size:11px;font-weight:400}.perio-table{min-width:580px}.perio-table thead th,.perio-table tbody th b{font-weight:600}.perio-table th:first-child{width:66px}.perio-table tbody th label{font-size:11px;font-weight:600;gap:3px;white-space:nowrap;align-items:center;line-height:18px}.perio-table tbody th label input{appearance:auto;width:13px;height:13px;min-width:13px;min-height:13px;margin:0;flex:none;padding:0}.perio-site-label{display:block;font-size:10.5px;font-weight:500;color:var(--muted);line-height:13px}.perio-history{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:16px 0}.clinical-review{width:min(580px,calc(100vw - 40px));padding:25px;border-radius:22px;background:var(--panel);box-shadow:0 25px 80px #0004}.clinical-review header{display:flex;align-items:center;justify-content:space-between;gap:15px}.clinical-review h2{font-size:20px}.clinical-review p{line-height:1.7;margin:20px 0}.clinical-review footer{display:flex;gap:10px;justify-content:end}.clinical-review [role=alert]{color:var(--accent)}@container workspace (max-width:580px){.clinical-chart-layout{grid-template-columns:minmax(0,1fr)}.tooth-inspector{max-height:none}.mouth-scene{height:440px}.clinical-record-list article{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.clinical-workbench *{scroll-behavior:auto!important}}.record-tabs{overflow-x:auto;flex-shrink:0}.record-tabs button{white-space:nowrap}.patient-clinical-embedded{min-height:480px;height:100%}.patient-clinical-embedded .clinical-main,.office-documents{overflow:auto}.office-documents>.view-header{flex-shrink:0}.is-tooth-chart>.clinical-main{display:flex;flex-direction:column}.is-tooth-chart .chart-toolbar{flex-shrink:0;padding-bottom:8px}.is-tooth-chart .clinical-chart-layout{flex:1}.clinical-model-pane{display:flex;flex-direction:column;min-height:0}.clinical-model-pane>.mouth-scene,.clinical-model-pane>.odontogram-2d{flex:1}.clinical-model-pane .tooth-keyboard-strip{flex-shrink:0;padding:8px;gap:6px;margin-top:8px}.clinical-model-pane .tooth-selector-arch{gap:3px}.clinical-model-pane .tooth-keyboard-strip button{height:28px}.tooth-inspector{padding:20px}.tooth-inspector-title{margin-bottom:8px}.inspector-tabs{display:flex;align-items:stretch;gap:8px;margin:8px 0 12px;border-bottom:1px solid var(--line)}.chart-legend .legend-impacted-pill{background:#008b8b;color:#fff}.tooth-record-count{min-width:18px;height:18px;padding:0 4px;border-radius:999px;display:inline-grid;place-items:center;background:var(--accent);color:#fff;font-size:11px;font-weight:700}.tooth-record-panel{flex:1;min-height:300px;display:flex;flex-direction:column;gap:12px}.tooth-record-cards{display:grid;gap:10px;min-height:0;overflow:auto;flex:1;align-content:start}.tooth-record-cards article,.tooth-record-empty{padding:12px;border-radius:12px;background:var(--panel);min-width:0;overflow-wrap:anywhere}.tooth-record-cards header{display:flex;justify-content:space-between;gap:8px;align-items:start}.tooth-record-cards h3{margin:0;font-size:14px}.tooth-record-cards p{margin:6px 0;font-size:13px}.tooth-record-cards time{font-size:12px;color:var(--muted);flex-shrink:0}.tooth-record-cards dl{margin:8px 0;font-size:13px}.tooth-record-cards dl>div{display:flex;justify-content:space-between;gap:8px}.tooth-record-cards dt{color:var(--muted)}.tooth-record-cards dd{margin:0;text-align:right}.tooth-record-cards summary{cursor:pointer;color:var(--accent);font-size:13px}.tooth-record-panel footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;font-size:12px}.tooth-record-treatment .tooth-record-cards{gap:8px;align-content:start}.tooth-record-treatment .tooth-record-cards article{padding:8px 10px}.tooth-record-treatment .tooth-record-cards .clinical-chip{padding:2px 7px;line-height:18px}.tooth-record-treatment .tooth-record-cards p{margin:3px 0;line-height:1.3}.tooth-record-treatment .tooth-record-cards dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 10px;margin:3px 0 0;line-height:1.3}.tooth-record-treatment .tooth-record-cards dt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.tooth-record-treatment .tooth-record-cards dl>div{display:grid;gap:2px}.tooth-record-treatment .tooth-record-cards dd{text-align:left}.tooth-record-treatment details{margin-top:3px}.tooth-record-history .tooth-record-cards{gap:10px}.tooth-record-history .tooth-record-cards article{padding:10px 12px;min-height:clamp(80px,10vh,104px);box-sizing:border-box}.tooth-record-history .tooth-record-cards header{flex-wrap:wrap;gap:2px 8px}.tooth-record-history .tooth-record-cards h3{font-size:13px}.tooth-record-history .tooth-record-cards time{font-size:11px;white-space:nowrap}.tooth-record-history .tooth-record-cards p{margin:5px 0 0;font-size:12px;line-height:1.4}.tooth-record-history{container-type:inline-size;container-name:tooth-history}@container tooth-history (min-width: 480px){.tooth-record-history .tooth-record-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}.inspector-tabs button{flex:1 0 auto;display:inline-flex;align-items:center;gap:4px;justify-content:center;font-size:12px;padding:8px 0;min-height:36px;margin-bottom:-1px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--muted);white-space:nowrap;cursor:pointer}.inspector-tabs button.active{border-bottom-color:var(--accent);color:var(--accent)}.inspector-tabs button:hover{color:var(--ink)}.treatment-editor{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}.treatment-editor>.treatment-procedure,.treatment-editor>.tooth-surfaces,.treatment-editor>small,.treatment-editor>button,.treatment-editor>label:last-of-type{grid-column:1 / -1}.treatment-editor>label:has(+.tooth-surfaces){grid-column:1 / -1}.treatment-editor .clinical-field{margin:0;gap:4px}.treatment-editor .clinical-field textarea{height:80px;min-height:60px}.clinical-workbench>.view-header .view-actions>.owned-combobox{max-width:245px}.clinical-workbench>.view-header{margin-bottom:10px}.clinical-tabs{flex-shrink:0;padding-bottom:6px}.svg-tooth:focus-visible{outline:none}.svg-tooth:focus-visible .tooth-silhouette{stroke:var(--accent);stroke-width:3}.clinical-workbench>.view-header>div:first-child{flex:0 1 auto}.clinical-workbench>.view-header>.view-actions{flex:1 1 0;justify-content:flex-end}.clinical-tabs>.chart-toolbar{margin-left:auto;padding:0;flex-wrap:nowrap;flex:0 0 auto;gap:6px}.clinical-tabs>.chart-toolbar>.owned-combobox{max-width:140px;width:130px;flex:0 0 130px}.clinical-tabs>.clinical-refresh{margin-left:0}.clinical-tabs{gap:6px;align-items:center;min-height:55px;padding-bottom:0}.clinical-tabs>button{padding:8px 10px;height:auto;align-self:stretch;margin-bottom:0;border-radius:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted)}.clinical-tabs>button.active{background:transparent;color:var(--accent);border-bottom-color:var(--accent)}.clinical-view-switch{flex:0 0 auto}.clinical-view-switch button{font-size:13px;font-weight:500}.odontogram-2d{padding:8px;min-height:260px}.odontogram-2d svg{min-height:110px;max-height:210px}.treatment-editor>small{line-height:1.3}.clinical-workbench>.view-header .view-actions>.owned-combobox{width:230px;flex:0 1 230px}.clinical-workbench .view-header .workspace-tools{flex:0 0 auto;margin-left:0}.tooth-inspector-title>div{flex:1;min-width:0}.tooth-mark-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.tooth-mark-options button{border-radius:12px;padding:10px;background:var(--panel);font-size:13px}.tooth-mark-options button[aria-pressed=true]{outline:3px solid var(--gold, #c58a3b);outline-offset:2px}.tooth-mark-clear{color:var(--accent);font-size:13px;margin:6px 0 12px}.owned-combobox-menu.clinical-patient-picker{display:flex;flex-direction:column}.owned-combobox-menu.clinical-patient-picker>div{max-height:none;min-height:0;overflow-y:auto}.owned-combobox-menu.clinical-patient-picker>label{flex-shrink:0}.owned-combobox-menu.clinical-patient-picker button{white-space:nowrap}.tooth-inspector-title .tooth-draft-discard{display:flex;align-items:center;justify-content:center;gap:5px;flex:0 0 74px;padding:7px;font-size:13px;line-height:1.3;color:var(--accent);background:var(--panel);border-radius:10px;margin-left:auto}.chart-legend b{display:inline-block;width:22px;height:24px;flex-shrink:0}.legend-outline{border:2px dashed var(--ink);border-radius:7px}.legend-post{border-radius:4px;border:1px solid #46586b;background:repeating-linear-gradient(0deg,#46586b 0 2px,#d9e2ea 2px 5px)}.legend-faded{border:2px dotted var(--muted);border-radius:7px;background:color-mix(in srgb,var(--muted) 15%,transparent)}.legend-ring{border:4px solid #ffe34d;border-radius:50%;background:#211b19;box-shadow:0 0 0 1px #211b19}.clinical-review-panel{background:var(--panel);color:var(--ink);width:min(760px,94vw);max-height:88dvh;padding:24px;border-radius:22px;display:flex;flex-direction:column;gap:12px}.clinical-proposal-items{overflow:auto;min-height:0}.clinical-proposal-items dl>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;padding:4px 0}.clinical-proposal-items dd{margin:0;overflow-wrap:anywhere}.clinical-review-panel footer{display:flex;justify-content:flex-end;gap:10px}.treatment-planning-details{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.treatment-planning-details>summary{cursor:pointer;font-size:13px;font-weight:600;padding:4px 0}.treatment-planning-details[open]>.clinical-edit-grid{margin-top:12px}.health-record-review .clinical-proposal-items dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.health-record-review .clinical-proposal-items dl>div{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:12px;border-radius:12px;background:var(--soft);min-width:0}.health-record-review .clinical-proposal-items dt{font-size:13px;font-weight:600}.health-record-review .clinical-proposal-items dd{margin:0;font-size:14px;overflow-wrap:anywhere}@media(max-width:1100px){.health-record-review .clinical-proposal-items dl{grid-template-columns:repeat(2,minmax(0,1fr))}}.clinical-edit-form{width:100%;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px;margin-top:16px}.clinical-edit-form h3{margin:0 0 16px}.clinical-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px 24px}.clinical-edit-grid .clinical-field{margin:0;min-width:0}.clinical-edit-grid .wide-field{grid-column:1/-1}.treatment-surface-options{display:flex;flex-wrap:wrap;gap:8px}.treatment-surface-options button{padding:10px 18px;border:1px solid var(--line);border-radius:9px;background:var(--panel-strong);color:var(--ink);cursor:pointer}.treatment-surface-options button.active{background:var(--accent);border-color:var(--accent);color:#fff}.clinical-edit-grid textarea{min-height:90px}.clinical-edit-form footer{display:flex;gap:12px;justify-content:flex-end;margin-top:18px}.treatment-items article{display:grid;grid-template-columns:minmax(220px,1fr) minmax(300px,420px);align-items:start;gap:20px 32px}.treatment-items article>.treatment-item-actions{display:grid;gap:12px;align-items:start}.treatment-item-actions>button{justify-self:end}.treatment-item-actions .clinical-field{margin:0}.treatment-progress-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.treatment-items article>.clinical-edit-form{grid-column:1/-1}.clinical-record-list article button{align-self:center;min-height:40px;height:auto;padding:10px 16px}.lab-case-record{flex-wrap:wrap}.lab-case-record>.lab-edit-control{flex:1 0 100%;display:block!important}.lab-edit-control>button{margin:6px 8px 6px 0}.lab-directory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.lab-directory-grid>section{padding:16px;background:var(--panel);border-radius:14px}.lab-directory-grid>section:has(.clinical-edit-form){grid-column:1/-1}.color-controls{display:grid;grid-template-columns:100px 1fr;gap:16px}.color-controls input[type=color]{width:100%;height:42px;padding:3px;cursor:pointer}.color-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.tooth-color-editor>p{line-height:1.6;margin:12px 0}@container workspace (max-width:900px){.tooth-inspector-title .tooth-draft-discard{flex-basis:32px;padding:8px}.tooth-draft-discard span{display:none}.clinical-chart-layout{grid-template-columns:minmax(0,1fr) 330px;gap:12px}.tooth-inspector{padding:14px}.treatment-editor{gap:9px 12px}.treatment-editor .clinical-field textarea{height:60px}.treatment-items article{grid-template-columns:1fr}.treatment-items article>.treatment-item-actions{grid-template-columns:1fr}.treatment-item-actions>button{justify-self:start}.treatment-progress-actions{justify-content:flex-start}}@container workspace (max-width:580px){.clinical-chart-layout{grid-template-columns:1fr}}.clinical-record-list.treatment-items article>.treatment-item-actions{display:grid;gap:12px;align-items:start}.clinical-record-list.treatment-items article>.clinical-edit-form{display:block}.clinical-record-list .treatment-progress-actions button{min-height:44px;height:44px;line-height:20px}.clinical-record-list.treatment-items article>.treatment-item-actions{grid-template-columns:minmax(0,1fr) auto;align-items:end}.treatment-item-actions>.clinical-field{grid-column:1;grid-row:1}.treatment-item-actions>button{grid-column:2;grid-row:1}.treatment-item-actions>.treatment-progress-actions{grid-column:1/-1}.clinical-edit-grid .clinical-field{white-space:normal;overflow-wrap:anywhere}@media(max-height:800px){.clinical-model-pane .mouth-scene{min-height:200px}.tooth-inspector .tooth-number{height:40px}.tooth-surfaces button{min-height:32px;padding:5px 8px}.tooth-inspector{padding:12px}.treatment-editor{gap:5px 10px}.treatment-editor .clinical-field textarea{height:45px;min-height:45px}.inspector-tabs{margin:4px 0;gap:2px}.inspector-tabs button{padding-top:6px;padding-bottom:6px}.tooth-inspector-title{margin-bottom:6px}.tooth-inspector .selected-tooth-stage{margin:5px 0}}.draft-leave-backdrop{position:fixed;inset:0;right:var(--dialog-chat-space, 0px);z-index:19000;display:grid;place-items:start center;padding:90px 20px 20px;background:#231c1840}.draft-leave-dialog{width:min(480px,100%);padding:24px;border-radius:20px;background:var(--panel);color:var(--ink);box-shadow:0 20px 80px #0003}.draft-leave-dialog h2{margin:0 0 12px;font-size:20px}.draft-leave-dialog p{margin:0 0 22px;font-size:14px;line-height:1.6}.draft-leave-dialog footer{display:flex;justify-content:flex-end;gap:10px}.appointment-period-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);flex-shrink:0;margin-bottom:12px}.appointment-period-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;padding:10px 2px;color:var(--muted);font:inherit;font-size:14px;font-weight:600;white-space:nowrap}.appointment-period-tabs button[aria-selected=true]{border-bottom-color:var(--auburn, #743b2b);color:var(--auburn, #743b2b)}.appointment-date-filters{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:0 0 14px;flex-shrink:0}.appointment-date-filters>label{display:flex;align-items:center;gap:10px;font-size:13px}.appointment-date-filters>label>div{width:160px}.appointment-date-filters>span{color:var(--muted);font-size:12px}.appointment-directory-table{width:100%;min-width:0}.appointment-directory-table td{white-space:normal}.appointment-directory-table td:first-child{min-width:120px}.appointment-directory-table td,.appointment-directory-table th{padding-left:10px;padding-right:10px}.appointment-directory-table .status-pill{white-space:normal}.appointment-directory-table small{display:block;margin-top:5px}.appointment-directory-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:12px;flex-shrink:0;font-size:13px}.appointment-directory-pagination>div{display:flex;gap:8px}.appointment-directory-pagination button{min-height:38px}.availability-workspace{flex:1;min-height:0;min-width:0;overflow:auto;padding:0;container:availability / inline-size;display:flex;flex-direction:column}.availability-toolbar,.availability-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.availability-toolbar{align-items:center;flex-shrink:0;flex-wrap:nowrap}.availability-workspace .availability-toolbar>label{width:min(400px,100%);flex:1;min-width:0;max-width:400px;display:flex;align-items:center;gap:12px}.availability-toolbar>label>.owned-combobox{flex:1}.persisted-team .team-roster{container:workforce / inline-size}@container workforce (max-width:640px){.persisted-team .team-roster .team-tabs{flex-wrap:nowrap;gap:2px}.persisted-team .team-roster .team-tabs button{padding-left:8px;padding-right:8px;white-space:nowrap}}.availability-columns{display:flex;flex-direction:column;min-height:0;gap:12px;margin-top:16px;flex:1}.availability-columns [hidden]{display:none!important}.availability-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);flex-shrink:0}.availability-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);padding:10px 0;font:inherit;font-size:13px;font-weight:600;display:flex;align-items:center;gap:7px;cursor:pointer}.availability-tabs button[aria-selected=true]{color:var(--accent, #743b2b);border-bottom-color:currentColor}.availability-tabs button span{background:var(--soft);border-radius:99px;padding:1px 7px;font-size:12px}.availability-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px;font-size:13px}.availability-summary,.availability-checker{min-width:0;padding:20px;border-radius:18px;background:var(--panel);font-size:13px;line-height:1.6}.availability-summary>.availability-general{margin:0;padding:0;background:transparent}.availability-summary .availability-hours-summary{display:flex;flex-direction:column;gap:6px}.availability-summary .availability-hours-summary>div{display:grid;grid-template-columns:95px 132px minmax(0,1fr);align-items:center;padding:8px 12px;gap:12px}.availability-summary .availability-hours-summary small{line-height:16px}.availability-summary .availability-general .availability-hint{margin:10px 0 12px;line-height:20px}.availability-summary .availability-table-wrap{margin:12px 0}.availability-summary .availability-table th,.availability-summary .availability-table td{padding:8px 6px;line-height:20px}.availability-summary .availability-table th:first-child{min-width:100px}.availability-summary .availability-table th:nth-child(2){min-width:130px}.availability-summary .availability-table small{margin-top:4px;line-height:18px}.availability-workspace h3,.availability-editor h3{margin:0;font-size:16px;font-weight:600;line-height:1.5}.availability-workspace h4,.availability-editor h4{margin:0;font-size:14px;font-weight:600}.availability-workspace p,.availability-editor p{margin:10px 0 16px}.availability-general{background:var(--soft);border-radius:16px;padding:18px;margin:0 0 16px}.availability-general .availability-hint{margin:10px 0}.availability-hours-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(195px,100%),1fr));gap:14px}.availability-hours-summary>div{background:var(--panel-strong);border-radius:12px;padding:16px;display:grid;gap:8px;font-size:13px}.availability-hours-summary strong{font-weight:600}.availability-hours-summary small{font-size:12px;color:var(--muted);line-height:1.65}.availability-table-wrap{width:100%;overflow-x:auto;margin:16px 0 22px}.availability-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.availability-table th{font-weight:600;color:var(--muted);background:var(--soft)}.availability-table th,.availability-table td{padding:14px 10px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.6}.availability-table th:first-child{min-width:125px}.availability-table th:nth-child(2){min-width:140px}.availability-table small{display:block;font-size:12px;color:var(--muted);margin-top:6px}.availability-table strong{font-weight:600}.availability-record-row{cursor:pointer}.availability-record-link{border:0;background:none;padding:0;font:inherit;font-weight:600;color:var(--accent, #743b2b);cursor:pointer;text-align:left}.availability-record-link:hover{text-decoration:underline}.availability-record-row:hover,.availability-record-row:focus-within{background:var(--soft)}.availability-toolbar>button{flex-shrink:0;min-width:178px}.availability-date{white-space:nowrap}.availability-empty,.availability-hint{color:var(--muted);font-size:13px;line-height:1.65}.availability-advanced{margin:12px 0 0;border-radius:12px;padding:16px;background:var(--panel)}.availability-advanced summary{cursor:pointer;font-weight:600;font-size:13px}.availability-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0;align-items:end}.availability-workspace label,.availability-editor label{display:grid;align-content:start;gap:8px;min-width:0;font-size:13px;line-height:20px}.availability-workspace label>span,.availability-editor label>span{font-weight:500}.availability-workspace .owned-combobox,.availability-editor .owned-combobox,.availability-workspace .owned-date-picker,.availability-editor .owned-date-picker{min-width:0;max-width:100%}.availability-types{display:flex;flex-wrap:wrap;gap:14px;border:0;padding:14px 0}.availability-types legend{font-weight:600;margin-bottom:8px;font-size:13px}.availability-types label,.availability-check{display:flex!important;align-items:center;gap:8px!important}.availability-types input,.availability-check input{width:16px!important;height:16px!important;min-height:16px!important}.availability-hours-grid{display:grid;grid-template-columns:1fr 1fr 1fr auto;align-items:center;gap:10px 12px;margin:18px 0;font-size:13px}.availability-hours-row{display:contents}.availability-hours-row label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.availability-editor{max-height:calc(100dvh - 36px);display:flex;flex-direction:column}.global-modal>.settings-editor.availability-editor{width:min(1240px,100%);max-width:100%;background:var(--panel-strong)}.availability-editor-body{min-height:0;overflow:auto;padding:0 24px 12px}.availability-editor-body>fieldset{border:0;padding:0;min-width:0}.availability-editor header,.availability-editor footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;flex-shrink:0}.availability-editor footer{flex-wrap:wrap}.global-modal .availability-editor header>div{display:block;min-width:0}.global-modal .availability-editor header h2{font-size:18px;line-height:1.5}.global-modal .availability-editor header p{margin:6px 0 0;color:var(--muted)}.availability-rule{background:var(--panel);border-radius:14px;padding:20px;margin:0}.availability-editor footer>small{flex:1 1 200px;line-height:1.5;color:var(--muted)}.availability-editor footer>[role=alert]{flex-basis:100%;margin:0}.availability-editor .availability-remove{color:var(--danger, #a23d36)}.availability-rule .availability-section-title{margin-bottom:18px}.availability-editor input:not([type=checkbox]):not([type=hidden]),.availability-checker input:not([type=hidden]){width:100%;min-width:0;height:40px;border:1px solid var(--line);border-radius:10px;padding:9px 12px;background:var(--soft);color:inherit;font-size:13px;line-height:20px}.availability-checker{display:grid;grid-template-columns:minmax(330px,1.1fr) minmax(0,.9fr);gap:20px;align-items:start;padding:16px}.availability-check-controls{container:availability-check / inline-size;min-width:0}.availability-feedback{min-width:0}.availability-check-controls>h3{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.availability-check-controls>.availability-hint{margin:0 0 12px;line-height:20px}.availability-check-controls label{gap:6px}.availability-check-controls .availability-fields{margin:12px 0}.availability-check-controls>.availability-interval{margin:8px 0 0;line-height:20px}.availability-ready{background:var(--soft);border-radius:12px;padding:20px;color:var(--muted)}.availability-interval{background:var(--soft);border-radius:10px;padding:10px 12px;font-weight:500}.availability-result-row{border-top:1px solid var(--line);padding-top:12px;overflow-wrap:anywhere}.availability-check-fields{border:0;margin:0;padding:0;min-width:0}.availability-check-fields>.availability-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.availability-check-fields>.availability-fields>label:first-child{grid-column:1 / -1}@container availability-check (min-width:330px){.availability-check-fields>.availability-fields{grid-template-columns:minmax(130px,1.3fr) minmax(110px,1fr) minmax(70px,.85fr);gap:10px}.availability-check-fields>.availability-fields>label:first-child{grid-column:auto}}.availability-checker .button-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:0}.persisted-team .availability-checker .button-row button{flex:1 1 145px;min-width:0;white-space:nowrap}.availability-checker [role=status],.availability-checker [role=alert]{padding:14px;border-radius:12px;background:var(--soft);margin-top:0;scroll-margin:20px;outline-offset:3px}@container availability (max-width: 560px){.availability-checker{grid-template-columns:minmax(0,1fr)}.availability-tabs{gap:12px;flex-wrap:wrap}.availability-summary .availability-hours-summary>div{grid-template-columns:1fr 1fr}.availability-summary .availability-hours-summary small{grid-column:1 / -1}}.availability-checker [role=status] p{margin:10px 0}.availability-checker [role=status] small{display:block;margin-top:14px;font-size:12px;color:var(--muted)}.availability-checker [role=alert]{color:var(--danger, #a23d36)}.availability-review{max-height:calc(100dvh - 48px);overflow:auto;width:min(850px,100%)}.availability-review .patient-chat-review ul{max-height:240px;overflow:auto}@media(max-width:600px){.availability-fields{grid-template-columns:1fr}.availability-hours-grid{grid-template-columns:1fr 1fr 1fr auto;gap:6px}}.sample-notice{display:flex;align-items:baseline;gap:12px;padding:12px 16px;border-radius:14px;background:var(--soft);color:var(--ink);font-size:12px;line-height:1.5;margin:8px 0 18px}.sample-notice strong{white-space:nowrap;font-weight:650}.sample-reports .report-tabs,.sample-reports .report-period{flex-wrap:wrap}.sample-reports .content-card,.sample-marketing .content-card{margin-bottom:16px;padding:20px}.sample-reports .content-card h2,.sample-marketing .content-card h2{font-size:16px;font-weight:600;margin-bottom:16px}.sample-stats{gap:12px;margin:16px 0}.sample-stats .report-metric{min-width:0;text-align:left}.sample-stats .report-metric strong{font-size:clamp(20px,2vw,30px);overflow-wrap:anywhere}.sample-chart-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px}.sample-horizontal{margin:20px 0}.sample-horizontal>div:first-child{display:flex;justify-content:space-between;gap:16px;font-size:13px;margin-bottom:9px}.sample-horizontal strong{font-weight:550}.sample-track{height:9px;background:var(--soft);border-radius:8px;overflow:hidden}.sample-track>span{display:block;height:100%;background:#b38b53;border-radius:8px}.sample-bars{display:flex;align-items:end;gap:3px;height:150px;margin-top:24px}.sample-bars>div{height:100%;min-width:1px;flex:1;display:flex;align-items:end}.sample-bars span{display:block;width:100%;background:#b38b53;border-radius:4px 4px 0 0}.sample-bars>div:focus-visible{outline:2px solid currentColor;outline-offset:2px}.sample-axis,.sample-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.sample-axis{font-size:11px;margin-top:10px;color:var(--muted)}.sample-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}.sample-toolbar>.owned-combobox{min-width:140px;width:auto;flex:0 1 160px}.sample-search{display:flex;align-items:center;gap:10px;background:var(--soft);border-radius:14px;min-height:44px;padding:0 14px;flex:1;min-width:180px}.sample-search input{width:100%;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:10px 0!important;outline:none}.sample-search:focus-within{outline:2px solid #b38b53;outline-offset:2px}.sample-link{border:0;background:transparent;color:inherit;text-align:left;font-weight:600;cursor:pointer;padding:8px 0}.sample-link:hover{text-decoration:underline}.sample-status{border-radius:20px;padding:5px 10px;background:var(--soft);font-size:12px;font-weight:600;white-space:nowrap}.sample-status.active{color:#386148;background:#e0ebdf}.sample-status.paused{color:#725520;background:#f1e5cd}.sample-comms .sample-notice{flex-shrink:0}.sample-comms .communications-layout{min-height:0;flex:1}.sample-comms .saved-inbox>.sample-search{flex:none;min-width:0}.sample-comms .saved-thread header p{font-size:13px}.sample-comms .saved-message p{line-height:1.6}.sample-activity-bar{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-bottom:12px;border-radius:16px;background:var(--panel-strong);flex-shrink:0}.sample-activity-bar>div{flex:1;min-width:0}.sample-activity-bar strong{display:block;font-size:13px}.sample-activity-bar [role=status]{font-size:12px;color:var(--muted)}.sample-activity-bar button{display:flex;gap:6px;align-items:center;flex-shrink:0}.sample-activity-dot{width:8px;height:8px;border-radius:50%;background:var(--muted);flex-shrink:0}.sample-activity-dot.running{background:#64866b;box-shadow:0 0 0 4px #64866b20}.sample-message-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.sample-typing{display:flex;align-items:center;gap:5px;padding:12px;font-size:12px;color:var(--muted)}.sample-typing.outbound{justify-content:flex-end}.sample-typing span{margin-right:5px}.sample-typing i{width:5px;height:5px;border-radius:50%;background:currentColor;animation:sample-dot 1.2s ease-in-out infinite}.sample-typing i:nth-of-type(2){animation-delay:.15s}.sample-typing i:nth-of-type(3){animation-delay:.3s}.sample-new-message{animation:sample-message .25s ease-out}@keyframes sample-dot{50%{opacity:.35;transform:translateY(-3px)}}@keyframes sample-message{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.sample-typing i,.sample-new-message{animation:none}}.sample-comms .saved-message.inbound{margin-right:24px}.sample-comms .saved-message.outbound{background:var(--accent);color:#fff}.sample-comms .saved-conversations>button.selected{box-shadow:inset 0 0 0 2px var(--accent)}.sample-comms .saved-message.outbound small{color:#fff;opacity:.85}.sample-marketing .content-card>p{font-size:12px;line-height:1.6;color:var(--muted)}.sample-marketing{--marketing-soft: #f7eddf;--marketing-line: rgba(36, 25, 21, .14);--marketing-ink: #241915;--marketing-muted: #735f55;--marketing-accent: #743b2b;color:var(--marketing-ink)}:root[data-theme=night] .sample-marketing{--marketing-soft: #352c27;--marketing-line: rgba(246, 229, 214, .13);--marketing-ink: #f8f0e8;--marketing-muted: #baa79b;--marketing-accent: #a85d48}.sample-marketing .content-card,.sample-marketing .sample-notice,.sample-marketing .sample-search{background:var(--marketing-soft);border:1px solid var(--marketing-line);color:var(--marketing-ink)}.sample-marketing .content-card{box-shadow:0 5px 18px #00000004}.sample-marketing .content-card.sample-detail-card{background:#fff}:root[data-theme=night] .sample-marketing .content-card.sample-detail-card{background:#2d2521}.sample-marketing .report-metric>span,.sample-marketing .report-metric small,.sample-marketing .content-card>p,.sample-marketing .sample-axis{color:var(--marketing-muted)}.sample-marketing .sample-track{background:var(--marketing-line)}.sample-marketing .sample-track>span,.sample-marketing .sample-bars span{background:var(--marketing-accent)}.sample-marketing .sample-bars{border-bottom:1px solid var(--marketing-line)}.sample-marketing .sample-bars span{opacity:.78}.sample-marketing .sample-bars>div:hover span,.sample-marketing .sample-bars>div:focus span{opacity:1}.sample-marketing .sample-status.active{background:#dcebe0;color:#28513a}.sample-marketing .table-scroll{overflow:auto;border:0;border-radius:0;background:#fff}.sample-marketing .data-table{background:transparent}.sample-marketing .data-table th{background:#faf9f7;color:var(--marketing-muted);border-color:var(--marketing-line)}.sample-marketing .data-table td{background:transparent;color:var(--marketing-ink);border-color:var(--marketing-line)}.sample-marketing .data-table tbody tr:last-child td{border-bottom:0}.sample-marketing .data-table tbody tr:hover{background:color-mix(in srgb,#c58a3b 11%,transparent);box-shadow:inset 3px 0 var(--marketing-accent)}:root[data-theme=night] .sample-marketing .table-scroll{background:#2d2521}:root[data-theme=night] .sample-marketing .data-table th{background:#352b26}:root[data-theme=night] .sample-marketing .data-table tbody tr:hover{background:color-mix(in srgb,#c8945d 11%,transparent)}:root[data-theme=night] .sample-marketing .sample-status.active{background:#244332;color:#c2e7cf}@media(max-width:1100px){.sample-chart-grid{grid-template-columns:1fr}.sample-reports .kpi-grid.four,.sample-marketing .kpi-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.sample-notice{flex-direction:column;gap:2px}.sample-toolbar{flex-direction:column}.sample-toolbar>.owned-combobox{flex:auto;width:100%}.sample-stats .report-metric strong{font-size:20px}}.forms-settings{display:flex;flex-direction:column;gap:16px;min-width:0;min-height:0;flex:1}.forms-toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center}.forms-search{display:flex;align-items:center;gap:8px;background:var(--soft);border-radius:12px;padding:10px 12px;min-width:0;flex:1}.forms-search input{background:none;border:0;min-width:0;width:100%;outline:none}.forms-scope{font-size:13px;color:var(--muted);line-height:1.5}.forms-error{padding:12px 16px;background:var(--soft);color:var(--auburn, var(--ink));border-left:3px solid var(--accent);font-size:14px;display:flex;align-items:center;gap:12px;flex-shrink:0}.forms-error button{text-decoration:underline}.forms-empty{padding:36px 20px;text-align:center;display:grid;justify-items:center;gap:14px}.forms-empty p{max-width:450px;color:var(--muted);line-height:1.6}.forms-template-list{display:grid;gap:10px}.form-template-row{display:flex;align-items:center;gap:16px;padding:20px;background:var(--surface);border-radius:16px;text-align:left;border:1px solid var(--line);cursor:pointer}.form-template-row:hover{background:var(--soft)}.form-template-row>span:first-of-type{flex:1;min-width:0}.form-template-row b,.form-template-row small{display:block;overflow-wrap:anywhere}.form-template-row small{color:var(--muted);font-size:13px;margin-top:6px}.form-version-status{text-align:right;max-width:190px}.forms-pagination{display:flex;justify-content:space-between;gap:16px}.forms-pagination button{padding:8px}.form-builder-modal .form-builder{width:min(1180px,96vw);height:min(900px,94dvh);max-height:94dvh;display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border-radius:24px;box-shadow:0 20px 90px #0003;outline:none}.form-builder>header{padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-shrink:0;border-bottom:1px solid var(--line)}.form-builder header h2{font-size:23px}.form-builder header p,.form-builder footer p{font-size:13px;color:var(--muted);line-height:1.5;margin-top:5px}.form-builder-tabs{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px;flex-shrink:0;border-bottom:1px solid var(--line)}.form-builder-tabs small{font-size:13px;color:var(--muted)}.form-builder-body{min-height:0;flex:1;overflow:auto;padding:24px;overscroll-behavior:contain}.form-build-columns{display:grid;grid-template-columns:minmax(320px,1fr) minmax(300px,.9fr);gap:24px;padding:0;overflow:hidden}.form-authoring,.form-live-preview{overflow:auto;min-height:0;min-width:0;padding:24px;overscroll-behavior:contain}.form-live-preview{background:var(--soft)}.form-live-preview>p{font-size:13px;color:var(--muted);margin-bottom:12px}.form-builder fieldset{min-width:0;margin:0;border:0;padding:0}.form-authoring>fieldset{display:grid;gap:18px}.form-authoring label{display:grid;gap:8px;font-size:14px;min-width:0}.form-builder input:not([type=checkbox]):not([type=radio]),.form-builder textarea{width:100%;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font:inherit;line-height:1.5}.form-builder textarea{resize:none}.form-builder .owned-combobox-trigger{background:var(--surface)}.form-fields-heading,.form-block-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center}.form-fields-heading h3{font-size:17px}.form-fields-heading span{font-size:13px;color:var(--muted)}.form-field-editor{display:grid;gap:14px;padding:16px;border:1px solid var(--line);border-radius:14px}.form-block-toolbar>div{display:flex;gap:4px}.form-block-toolbar button{padding:7px;border-radius:7px}.form-block-toolbar button:hover{background:var(--soft)}.form-builder button:disabled{opacity:.45;cursor:not-allowed}.form-builder .form-choice{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.5}.form-choice input{accent-color:var(--accent);width:17px;height:17px;flex-shrink:0}.form-options{display:grid;gap:8px;font-size:14px}.form-options>div{display:flex;align-items:center;gap:8px}.form-options>button{justify-self:start;padding:6px}.form-add-blocks{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:8px}.form-preview-paper{max-width:700px;margin:0 auto;background:var(--surface);padding:26px;border-radius:14px;border:1px solid var(--line);display:flex;flex-direction:column;gap:22px;overflow-wrap:anywhere}.form-preview-paper h2{font-size:23px}.form-preview-paper h3{font-size:19px;margin-top:8px}.form-verbiage{white-space:pre-wrap;line-height:1.7;font-size:14px}.form-preview-field{display:grid;gap:10px;min-width:0}.form-preview-field>label{font-weight:600;font-size:14px;white-space:pre-wrap}.form-preview-field>p,.form-preview-field>small{font-size:13px;color:var(--muted);line-height:1.5;white-space:pre-wrap}.form-preview-field fieldset{display:grid;gap:10px}.form-required{color:var(--accent)}.form-preview-empty,.form-preview-disclaimer{font-size:13px;color:var(--muted);line-height:1.6}.form-preview-disclaimer{padding-top:16px;border-top:1px solid var(--line)}.form-builder>footer{padding:16px 24px;display:flex;gap:10px;align-items:center;border-top:1px solid var(--line);flex-shrink:0}.form-builder>footer p{flex:1;margin:0}.form-history{display:grid;gap:16px;max-width:800px;margin:auto}.form-history>p{line-height:1.5;color:var(--muted);font-size:14px}.form-history>button{padding:14px;text-align:left;border-radius:12px;border:1px solid var(--line);display:grid;gap:6px}.form-history>button.active{background:var(--soft)}.form-history small{color:var(--muted)}.forms-settings,.form-builder{--surface: var(--panel-strong)}.form-builder-tabs .view-tabs button{display:flex;align-items:center;gap:6px;white-space:nowrap}@media(max-width:1050px){.form-build-columns{grid-template-columns:1fr}.form-live-preview{display:none}.form-version-status{max-width:140px}.form-template-row{gap:10px;flex-wrap:wrap}}@media(max-width:700px){.form-builder>footer{flex-wrap:wrap;padding:12px}.form-builder>footer p{flex-basis:100%}.form-builder-tabs{padding:10px;flex-wrap:wrap}.form-authoring,.form-builder-body:not(.form-build-columns){padding:14px}.form-preview-paper{padding:18px}.forms-toolbar{flex-wrap:wrap}}.live-settings-view{container:settings-workspace / inline-size}@container settings-workspace (max-width: 720px){.live-settings-view .settings-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.live-settings-view .settings-layout>aside{display:flex;flex-wrap:wrap;gap:4px;padding:8px;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.live-settings-view .settings-layout>aside button{width:auto;min-height:32px;padding:5px 10px}.live-settings-view .settings-layout>aside button svg{display:none}}.settings-table-scroll{flex:1;min-height:0;min-width:0;overflow:auto;scrollbar-gutter:stable;border-radius:10px;background:var(--panel-strong)}.settings-records-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;color:var(--ink);font-size:13px;line-height:1.4}.settings-records-table th,.settings-records-table td{padding:10px 9px;text-align:left;vertical-align:middle;border:0;border-bottom:1px solid var(--line);overflow-wrap:anywhere;font-size:13px;font-weight:500}.settings-records-table th{position:sticky;top:0;z-index:1;background:var(--soft);color:var(--ink);font-weight:600}.settings-records-table tbody tr{cursor:pointer}.settings-records-table tbody tr:hover td,.settings-records-table tbody tr:focus-within td{background:var(--soft)}.settings-records-table .settings-table-name{display:block;width:100%;min-height:0;padding:0;margin:0;border:0;border-radius:3px;background:transparent;color:var(--ink);font:inherit;font-weight:600;text-align:left;overflow-wrap:anywhere;cursor:pointer}.settings-table-name:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.settings-table-status{font-weight:600;color:var(--muted);white-space:nowrap}.settings-table-status.is-active{color:var(--green, #36674f)}.settings-table-period{display:grid;gap:2px}.settings-table-period>:last-child{color:var(--muted)}.settings-records-table .settings-table-empty{padding:26px 12px;cursor:default;color:var(--muted)}.settings-col-code{width:70px}.settings-col-type-code{width:106px}.settings-col-duration,.settings-col-fee{width:80px}.settings-col-status{width:76px}.settings-col-time{width:16%}.settings-col-period{width:30%}.settings-table-hours .settings-col-status{width:16%}.settings-col-timestamp{width:28%}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.fixed{position:fixed}.block{display:block}.contents{display:contents}.grid{display:grid}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{color:#241915;font-synthesis:none;--canvas:#ead8c6;--panel:#fffaf1;--panel-strong:#fffdf8;--soft:#f6ebdc;--ink:#241915;--muted:#735f55;--line:#2419151f;--accent:#743b2b;--accent-dark:#57291f;--gold:#c58a3b;--success:#31795b;--nav-width:clamp(176px, 10.3vw, 197px);--assistant-pane:372px;--assistant-width:calc(var(--assistant-pane) + 25px);background:#ead8c6;font-family:Segoe UI Variable Text,SF Pro Text,Aptos,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body,button,input,textarea,select{text-rendering:optimizelegibility;font-family:Segoe UI Variable Text,SF Pro Text,Aptos,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{font-weight:600}small{font-size:max(10.5px,80%)}sub,sup{font-size:max(10.5px,75%)}.app-shell :where(p,small,dt,dd,time,input,textarea),.record-overlay :where(p,small,dt,dd,time,input,textarea),.global-modal :where(p,small,dt,dd,time,input,textarea){font-weight:600!important}.app-shell :where(b,strong,h1,h2,h3),.record-overlay :where(b,strong,h1,h2,h3),.global-modal :where(b,strong,h1,h2,h3){font-weight:700!important}.app-shell button,.record-overlay button,.global-modal button{font-weight:650}.app-shell label>span,.record-overlay label>span,.global-modal label>span{font-weight:700!important}.nav-item svg{flex:none}.nav-footer{gap:0}.user-card>button:hover{background:var(--panel);color:var(--accent)}.assistant-pane>header{gap:8px}.assistant-title{min-width:0}.assistant-head-actions{flex:none;align-items:center;margin-left:auto}.assistant-action-button{border:1px solid var(--line);background:var(--panel-strong);min-height:32px;color:var(--muted);cursor:pointer;border-radius:9px;align-items:center;gap:5px;padding:0 8px;font-size:12px;display:inline-flex}.assistant-action-button:hover{background:var(--soft);color:var(--accent)}.assistant-head-actions>.icon-button{border-radius:9px;width:32px;height:32px}.primary-button:disabled,.message-composer button:disabled{opacity:.42;cursor:not-allowed}.task-row{transition:background .15s,opacity .15s}.task-row.pending>div small{color:var(--accent)}.task-discard{margin-left:auto}.create-dialog header p,.form-dialog header p{font-size:13px}.dialog-kicker{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;font-size:12px;font-weight:700;display:block}.appointment-create-body{grid-template-columns:1fr;align-content:start;padding:22px 24px}.patient-intake-body{grid-template-columns:1fr 1fr;align-content:start;gap:16px;min-height:0;padding:22px 24px;display:grid;overflow-y:auto}.intake-section{border:1px solid var(--line);background:var(--panel-strong);border-radius:16px;min-width:0;padding:16px}.intake-section-heading{align-items:center;gap:10px;min-height:40px;margin-bottom:13px;display:flex}.intake-section-heading>span{background:var(--soft);width:34px;height:34px;color:var(--accent);border-radius:10px;flex:0 0 34px;place-items:center;display:grid}.intake-section-heading>div{gap:3px;min-width:0;display:grid}.intake-section-heading b{font-size:14px}.intake-section-heading small{color:var(--muted);font-size:12px}.intake-fields{gap:12px;display:grid}.intake-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.intake-fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}.intake-fields label{gap:6px;min-width:0;display:grid}.intake-fields label>span{color:var(--muted);letter-spacing:.035em;text-transform:uppercase;font-size:12px}.intake-fields input,.intake-fields select{border:1px solid var(--line);background:var(--panel);width:100%;min-width:0;min-height:44px;color:var(--ink);border-radius:11px;outline:0;padding:0 11px;font-size:13px}.intake-fields input:focus,.intake-fields select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent)}@supports (color:color-mix(in lab,red,red)){.intake-fields input:focus,.intake-fields select:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent)}}.intake-fields .owned-select{min-height:44px;font-size:13px}.intake-fields .span-two{grid-column:span 2}.insurance-intake,.intake-note{grid-column:1/-1}.insurance-intake{transition:border-color .15s,background .15s}.insurance-intake.enabled{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.insurance-intake.enabled{border-color:color-mix(in srgb,var(--accent) 28%,var(--line))}}.insurance-intake.enabled{background:var(--accent)}@supports (color:color-mix(in lab,red,red)){.insurance-intake.enabled{background:color-mix(in srgb,var(--accent) 3%,var(--panel-strong))}}.insurance-heading{border-bottom:1px solid var(--line);padding-bottom:11px}.coverage-switch{cursor:pointer;align-items:center;gap:8px;margin-left:auto;display:flex}.coverage-switch input{opacity:0;pointer-events:none;position:absolute}.coverage-switch i{background:var(--line);border-radius:999px;width:36px;height:21px;transition:background .15s;position:relative}.coverage-switch i:after{content:"";background:var(--panel-strong);border-radius:50%;width:15px;height:15px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0000002e}.coverage-switch input:checked+i{background:var(--accent)}.coverage-switch input:checked+i:after{transform:translate(15px)}.coverage-switch em{color:var(--muted);white-space:nowrap;font-size:12px;font-style:normal;font-weight:650}.intake-note{margin:0}@media(max-width:760px){.create-dialog,.form-dialog{width:calc(100vw - 20px);min-height:0;max-height:calc(100vh - 20px)}.create-dialog>header,.form-dialog>header{min-height:76px;padding:13px 15px}.patient-intake-body,.appointment-create-body{padding:14px}.intake-fields.two,.intake-fields.three{grid-template-columns:1fr}.intake-fields .span-two{grid-column:1}}.assistant-column{grid-area:assistant;grid-template-rows:60px minmax(0,1fr);gap:10px;width:100%;min-width:0;height:100vh;min-height:0;padding:12px 18px 12px 7px;transition:opacity .22s,transform .38s cubic-bezier(.22,.72,.18,1),visibility;display:grid;overflow:visible}.assistant-column>.assistant-pane{grid-area:auto;align-self:stretch;width:100%;height:100%;margin:0;transition:none}.location-picker{z-index:50;width:100%;min-width:0;position:relative}.location-trigger{background:var(--panel);width:100%;height:60px;color:var(--ink);cursor:pointer;border:0;border-radius:19px;align-items:center;gap:10px;padding:8px 13px;display:flex;box-shadow:0 9px 24px #311f1717}.location-trigger:hover,.location-trigger[aria-expanded=true]{background:var(--panel-strong);box-shadow:0 12px 30px #311f1721}.location-icon,.location-option-icon{background:var(--soft);width:36px;height:36px;color:var(--accent);border-radius:11px;flex:0 0 36px;place-items:center;display:grid}.location-copy{text-align:left;flex:1;gap:1px;min-width:0;display:grid}.location-copy small{color:var(--muted);font-size:12px;line-height:1.1;font-weight:650!important}.location-copy b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden;font-weight:700!important}.location-trigger>svg{color:var(--muted);flex:none;transition:transform .16s}.location-trigger>svg.open{transform:rotate(180deg)}.location-menu{border:1px solid var(--line);width:max(100%,320px);max-width:calc(100vw - 32px);padding:8px;position:absolute;top:calc(100% + 9px);left:auto;right:0}@supports (color:color-mix(in lab,red,red)){.location-menu{border:1px solid color-mix(in srgb,var(--line) 82%,transparent)}}.location-menu{background:var(--panel-strong);border-radius:18px;gap:3px;animation:.16s panel-in;display:grid;box-shadow:0 22px 56px #27181238,0 3px 10px #27181214}.location-menu-heading{gap:2px;padding:7px 9px 9px;display:grid}.location-menu-heading b{font-size:13px;font-weight:700!important}.location-menu-heading small{color:var(--muted);font-size:12px;font-weight:600!important}.location-options>button{width:100%;min-height:54px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:13px;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:7px 9px;display:grid}.location-options>button:hover,.location-options>button.selected{background:var(--soft)}.location-options>button>span:nth-child(2){gap:2px;min-width:0;display:grid}.location-options>button b{white-space:nowrap;font-size:13px;font-weight:700!important}.location-options>button small{color:var(--muted);font-size:12px;font-weight:600!important}.location-options>button>svg{color:var(--accent)}.location-option-icon{border-radius:10px;width:34px;height:34px}.app-shell[data-view=assistant] .assistant-column{grid-template-rows:minmax(0,1fr);gap:0;padding:12px 18px 12px 16px}@media(max-width:860px)and (pointer:coarse){.assistant-column{height:auto;padding:0;display:block}.location-picker{display:none}.assistant-column>.assistant-pane{height:auto}}@media(max-width:700px)and (pointer:fine){.app-shell:not([data-view=assistant]) .assistant-column{display:none}.app-shell[data-view=assistant] .assistant-column{height:100vh;padding:8px 10px 8px 8px;display:block}.app-shell[data-view=assistant] .assistant-column>.assistant-pane{height:100%;margin:0}}:root[data-theme=night]{--canvas:#181412;--panel:#28211d;--panel-strong:#302722;--soft:#352c27;--ink:#f8f0e8;--muted:#baa79b;--line:#f6e5d61f;--accent:#a85d48;--accent-dark:#c8755e;--gold:#c8945d;--success:#70b28f;color-scheme:dark}*{box-sizing:border-box}body{background:var(--canvas);min-width:320px;height:100vh;color:var(--ink);margin:0;overflow:hidden}button,input,textarea{font:inherit}body textarea:not(.composer textarea,.message-composer textarea){background:var(--panel);color:var(--ink)}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--gold)}@supports (color:color-mix(in lab,red,red)){button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--gold) 60%,transparent)}}button:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:2px}.login-shell{background:var(--canvas);place-items:center;width:100vw;min-height:100vh;padding:24px;display:grid}.login-card{background:var(--panel);border-radius:26px;gap:25px;width:min(430px,100%);padding:34px;display:grid;box-shadow:0 24px 70px #39241a1f}.login-card>img,.login-loading img{filter:brightness(0)saturate()invert(9%)sepia(17%)saturate(1150%)hue-rotate(331deg)brightness(91%)contrast(91%);width:auto;height:25px}.login-heading{align-items:center;gap:13px;display:flex}.login-heading h1{letter-spacing:-.035em;margin:0;font-size:24px}.login-heading p{color:var(--muted);margin:5px 0 0;font-size:13px}.login-icon{background:var(--soft);width:44px;height:44px;color:var(--accent);border-radius:13px;flex:0 0 44px;place-items:center;display:grid}.login-card form{gap:16px;display:grid}.login-card label{gap:7px;display:grid}.login-card label>span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:850}.login-card label>div{border:1px solid var(--line);background:var(--panel-strong);height:46px;color:var(--muted);border-radius:12px;align-items:center;gap:9px;padding:0 13px;display:flex}.login-card input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:14px}.login-card form>.primary-button{width:100%;height:46px;margin-top:3px}.login-card>small{color:var(--muted);text-align:center;font-size:12px}.login-error{background:#b8483a;border-radius:11px;padding:11px 13px}@supports (color:color-mix(in lab,red,red)){.login-error{background:color-mix(in srgb,#b8483a 10%,var(--panel))}}.login-error{color:#9f3e32;font-size:13px;font-weight:750}.login-loading{color:var(--muted);justify-items:center;gap:16px;font-size:13px;font-weight:750;display:grid}.app-shell{grid-template-columns:var(--nav-width) minmax(0,1fr) var(--assistant-width);background:var(--canvas);grid-template-areas:"nav main assistant";width:100vw;height:100vh;transition:grid-template-columns .38s cubic-bezier(.22,.72,.18,1);display:grid;overflow:hidden}.app-shell[data-assistant-collapsed=true]{grid-template-columns:var(--nav-width) minmax(0,1fr) 76px}.primary-nav{background:var(--panel);flex-direction:column;grid-area:nav;min-height:0;padding:25px 13px 16px;display:flex}.brand{border-bottom:1px solid var(--line);justify-content:center;align-items:center;height:72px;padding:4px 12px 24px;display:flex}.brand-logo{object-fit:contain;max-width:100%;display:block}.brand-logo--wordmark{filter:brightness(0)saturate()invert(9%)sepia(17%)saturate(1150%)hue-rotate(331deg)brightness(91%)contrast(91%);width:auto;height:24px}.brand-logo--icon{width:32px;height:32px;display:none}.primary-nav nav{min-height:0;padding:19px 0;overflow:hidden}.nav-item{width:100%;min-height:47px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:13px;align-items:center;gap:12px;margin:2px 0;padding:0 13px;font-size:16px;font-weight:700;display:flex}.nav-item:hover{background:var(--soft);color:var(--ink)}.nav-item.active{background:var(--accent);color:#fff}.nav-label{color:var(--muted);letter-spacing:.14em;text-transform:uppercase;margin:20px 13px 6px;font-size:13px;font-weight:850}.nav-footer{gap:8px;margin-top:auto;display:grid}.user-card small{color:var(--muted);letter-spacing:.07em;font-size:12px;font-weight:800}.user-card b{font-size:14px}.user-avatar{background:var(--accent);color:#fff;border-radius:10px;place-items:center;width:31px;height:31px;font-size:13px;font-weight:900;display:grid}.user-card{border-top:1px solid var(--line);align-items:center;gap:9px;min-height:52px;padding:8px 9px;display:flex}.user-card>span:last-child{gap:2px;display:grid}.user-avatar{background:var(--gold);color:#2d1b12;border-radius:50%}.workspace{grid-area:main;min-width:0;height:100vh;padding:12px 7px 12px 16px;overflow:hidden}.workspace-surface{background:var(--panel);border-radius:26px;flex-direction:column;gap:18px;min-width:0;height:100%;min-height:0;padding:24px;display:flex;overflow:hidden}.page-header{justify-content:space-between;align-items:flex-start;gap:20px;min-height:72px;display:flex}.eyebrow{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;align-items:center;gap:7px;font-size:13px;font-weight:800;display:flex}.live-dot{background:#55a278;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #55a27824}h1{letter-spacing:-.045em;margin:5px 0 1px;font-size:clamp(27px,2vw,36px);line-height:1.05}.page-header p{color:var(--muted);margin:5px 0 0;font-size:15px}.header-actions{align-items:center;gap:7px;display:flex}.icon-button,.today-button,.primary-button{border:1px solid var(--line);background:var(--panel-strong);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;height:42px;font-weight:750;display:inline-flex}.icon-button{width:42px}.today-button{padding:0 15px}.primary-button{border-color:var(--accent);background:var(--accent);color:#fff;gap:8px;padding:0 16px}.primary-button:hover{background:var(--accent-dark)}.metric-strip{border:1px solid var(--line);background:var(--panel-strong);border-radius:18px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.metric-strip article{border-right:1px solid var(--line);gap:4px;min-width:0;padding:15px 18px;display:grid}.metric-strip article:last-child{border:0}.metric-strip article>span{color:var(--muted);text-transform:uppercase;letter-spacing:.07em;font-size:13px;font-weight:850}.metric-strip strong{letter-spacing:-.04em;font-size:26px}.metric-strip em{color:var(--muted);font-size:14px;font-style:normal;font-weight:700}.metric-strip small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.metric-strip i{font-style:normal;font-weight:800}.metric-strip .up,.metric-strip .good{color:var(--success)}.metric-strip .warn{color:#b06237}.schedule-card{border:1px solid var(--line);background:var(--panel-strong);border-radius:20px;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.schedule-toolbar{border-bottom:1px solid var(--line);align-items:center;gap:14px;min-height:69px;padding:11px 14px 11px 18px;display:flex}.schedule-toolbar>div:first-child{margin-right:auto}.schedule-toolbar h2{letter-spacing:-.02em;margin:0;font-size:18px}.schedule-toolbar span{color:var(--muted);font-size:13px}.search{border:1px solid var(--line);width:min(260px,24vw);height:39px;color:var(--muted);background:var(--panel);border-radius:11px;align-items:center;gap:8px;padding:0 11px;display:flex}.search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:13px}.search input::placeholder{color:var(--muted)}.segmented{background:var(--soft);border-radius:11px;padding:3px;display:flex}.segmented button{min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 10px;font-size:13px;font-weight:750}.segmented .selected{background:var(--panel-strong);color:var(--ink);box-shadow:0 1px 4px #24191514}.schedule-grid{background-image:linear-gradient(var(--line) 1px,transparent 1px);background-position:0 48px;background-size:100% 68px;flex:1;grid-template-rows:48px repeat(16,34px);grid-template-columns:63px repeat(3,minmax(145px,1fr));min-height:0;display:grid;position:relative;overflow:auto}.grid-corner,.operatory-head{z-index:4;background:var(--panel-strong);border-bottom:1px solid var(--line);position:sticky;top:0}.grid-corner{color:var(--muted);justify-content:center;align-items:center;gap:4px;font-size:12px;font-weight:800;display:flex}.operatory-head{border-left:1px solid var(--line);gap:2px;padding:9px 13px;display:grid}.operatory-head span{color:var(--ink);font-size:13px;font-weight:850}.operatory-head small{color:var(--muted);font-size:12px}.time-row{pointer-events:none;border-bottom:1px solid var(--line);color:var(--muted);grid-column:1/-1;font-size:12px}.time-row span{text-align:right;width:63px;padding:5px 9px 0 0;display:block;transform:translateY(-1px)}.appointment{z-index:2;cursor:pointer;text-align:left;background:currentColor;border:0;border-left:3px solid;border-radius:9px;flex-direction:column;align-items:flex-start;min-width:0;margin:3px 6px;padding:8px 9px;display:flex;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.appointment{background:color-mix(in srgb,currentColor 10%,var(--panel-strong))}}.appointment{color:#4c7c67}.appointment.auburn{color:#8a4937}.appointment.gold{color:#a8752d}.appointment.blue{color:#4d718d}.appointment .appt-time{color:currentColor;font-size:12px;font-weight:850}.appointment b{max-width:100%;color:var(--ink);white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.appointment>span:not(.appt-time){max-width:100%;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.appointment small{background:currentColor;border-radius:4px;margin-top:auto;padding:2px 5px}@supports (color:color-mix(in lab,red,red)){.appointment small{background:color-mix(in srgb,currentColor 14%,transparent)}}.appointment small{color:currentColor;font-size:12px;font-weight:800}.now-line{z-index:3;pointer-events:none;background:#d35843;height:1px;position:absolute;top:204px;left:55px;right:0}.now-line:before{content:"";background:#d35843;border-radius:50%;width:7px;height:7px;position:absolute;top:-3px;left:4px}.now-line span{color:#fff;background:#d35843;border-radius:4px;padding:1px 4px;font-size:12px;font-weight:850;position:absolute;top:-7px;left:-42px}.assistant-pane{width:var(--assistant-pane);background:var(--panel);border-radius:26px;grid-area:assistant;grid-template-rows:auto minmax(0,1fr) auto auto;align-self:center;gap:12px;min-width:0;height:calc(100vh - 24px);min-height:0;margin:12px 18px 12px 7px;padding:20px;transition:width .38s cubic-bezier(.22,.72,.18,1),margin .38s cubic-bezier(.22,.72,.18,1),padding .38s cubic-bezier(.22,.72,.18,1),opacity .22s,transform .38s cubic-bezier(.22,.72,.18,1),visibility;display:grid;overflow:hidden}.app-shell[data-assistant-collapsed=true] .assistant-pane{visibility:hidden;opacity:0;pointer-events:none;transition-delay:0s,0s,0s,0s,0s,.38s;transform:none}.assistant-pane>header{justify-content:space-between;align-items:center;min-height:48px;display:flex}.assistant-title{align-items:center;gap:10px;display:flex}.assistant-title>div{gap:2px;display:grid}.assistant-title b{font-size:17px}.assistant-title small{color:var(--muted);font-size:12px;font-weight:700}.feature-orb{background:radial-gradient(circle at 30% 25%,#f8d8b3,var(--gold) 38%,var(--accent) 78%);color:#fff;width:38px;height:38px;box-shadow:0 5px 16px var(--accent);border-radius:12px;place-items:center;display:grid}@supports (color:color-mix(in lab,red,red)){.feature-orb{box-shadow:0 5px 16px color-mix(in srgb,var(--accent) 22%,transparent)}}.assistant-mark,.mini-assistant-mark{color:var(--accent);place-items:center;display:grid}.assistant-mark{flex:0 0 38px;width:38px;height:38px}.mini-assistant-mark{flex:0 0 24px;width:24px;height:24px}.messages{overflow-anchor:none;overscroll-behavior:contain;min-height:0;overflow-y:auto}.assistant-message{gap:9px;display:flex}.assistant-message>div{flex:1;min-width:0}.assistant-message p{margin:2px 0 13px;font-size:13px;line-height:1.55}.insight-card{border:1px solid var(--line);background:var(--panel-strong);border-radius:13px;gap:9px;margin:8px 0;padding:11px;display:flex}.insight-card>svg,.alert-icon{background:var(--soft);width:25px;height:25px;color:var(--accent);border-radius:8px;flex:0 0 25px;place-items:center;font-size:14px;font-weight:900;display:grid}.insight-card>div{gap:4px;min-width:0;display:grid}.insight-card b{font-size:13px}.insight-card small{color:var(--muted);font-size:12px;line-height:1.4}.insight-card button{width:max-content;color:var(--accent);cursor:pointer;background:0 0;border:0;align-items:center;padding:0;font-size:12px;font-weight:850;display:flex}.quick-actions{gap:6px;display:flex;overflow-x:auto}.quick-actions button{border:1px solid var(--line);white-space:nowrap;background:var(--panel-strong);cursor:pointer;border-radius:999px;min-height:31px;padding:0 10px;font-size:12px;font-weight:750}.composer{border:1px solid var(--line);background:var(--panel-strong);border-radius:14px;grid-template-columns:minmax(0,1fr) 38px;gap:6px;padding:7px;display:grid}.composer textarea{resize:none;height:64px;min-height:64px;max-height:64px;color:var(--ink);background:0 0;border:0;outline:0;padding:10px 7px;font-size:13px;line-height:1.45;overflow-y:auto}.composer>button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:10px;align-self:center;place-items:center;width:38px;height:38px;display:grid}.composer>small{color:var(--muted);grid-column:1/-1;padding:0 7px 3px;font-size:12px}.assistant-restore{background:var(--panel);width:54px;height:calc(100vh - 24px);color:var(--accent);visibility:hidden;opacity:0;pointer-events:none;cursor:pointer;border:0;border-radius:24px;flex-direction:column;grid-area:assistant;justify-content:center;place-self:center;align-items:center;gap:12px;margin:12px 12px 12px 7px;transition:opacity .18s,transform .3s cubic-bezier(.22,.72,.18,1),visibility 0s linear .18s;display:flex;transform:translate(14px)}.assistant-restore span{writing-mode:vertical-rl;letter-spacing:.08em;font-size:13px;font-weight:850;transform:rotate(180deg)}.app-shell[data-assistant-collapsed=true] .assistant-restore{visibility:visible;opacity:1;pointer-events:auto;transition-delay:.12s,.12s,0s;transform:translate(0)}@media(max-width:1180px){.metric-strip{grid-template-columns:repeat(2,1fr)}.metric-strip article:nth-child(2){border-right:0}.metric-strip article:nth-child(-n+2){border-bottom:1px solid var(--line)}.search{display:none}}@media(max-width:860px)and (pointer:coarse){body{overflow:auto}.app-shell,.app-shell[data-assistant-collapsed=true]{grid-template-columns:72px minmax(0,1fr);grid-template-areas:"nav main";height:auto;min-height:100vh}.primary-nav{height:100vh;padding:18px 8px;position:sticky;top:0}.brand{border:0;padding:0 11px 18px}.brand-logo--wordmark,.nav-item-label,.nav-label,.nav-footer{display:none}.brand-logo--icon{display:block}.nav-item{justify-content:center;padding:0}.workspace{height:100vh;padding:8px}.workspace-surface{border-radius:20px;padding:15px}.assistant-pane{z-index:20;width:auto;height:auto;margin:0;position:fixed;inset:8px}.app-shell[data-assistant-collapsed=true] .assistant-pane{transform:translate(100%)}.assistant-restore{z-index:10;border-radius:50%;width:52px;height:52px;margin:0;position:fixed;bottom:12px;right:12px}.assistant-restore span{display:none}.page-header{flex-direction:column;min-height:112px}.header-actions{width:100%}.primary-button{margin-left:auto}.metric-strip{grid-template-columns:1fr 1fr}.schedule-toolbar{flex-wrap:wrap}.schedule-toolbar>div:first-child,.segmented{width:100%}.segmented button{flex:1}}@media(max-width:600px)and (pointer:coarse){.app-shell,.app-shell[data-assistant-collapsed=true]{grid-template-columns:1fr;grid-template-areas:"main"}.primary-nav{display:none}.workspace{padding:0}.workspace-surface{border-radius:0}.metric-strip{grid-template-columns:1fr;max-height:140px;overflow:auto}.metric-strip article{border-right:0;border-bottom:1px solid var(--line)}.header-actions .icon-button,.today-button{display:none}.schedule-grid{grid-template-columns:48px repeat(3,minmax(130px,1fr))}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.brand{border-style:solid;border-width:0 0 1px;border-color:var(--line);cursor:pointer;width:100%;color:var(--ink);background:0 0}.primary-nav nav{padding:10px 0}.nav-group+.nav-group{margin-top:7px}.nav-label{margin:8px 13px 4px}.nav-item{border-radius:11px;min-height:38px;font-size:14px}.nav-badge{background:var(--accent);border-radius:999px;place-items:center;min-width:19px;height:19px;margin-left:auto;padding:0 5px;display:grid}@supports (color:color-mix(in lab,red,red)){.nav-badge{background:color-mix(in srgb,var(--accent) 12%,transparent)}}.nav-badge{color:var(--accent);font-size:12px;font-style:normal}.nav-item.active .nav-badge{color:#fff;background:#ffffff2e}.user-card>button{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto}.workspace-surface{padding:22px}.view-fill,.view-scroll{flex-direction:column;gap:16px;height:100%;min-height:0;display:flex}.view-scroll{padding-right:3px;overflow:hidden auto}.view-header{flex:none;justify-content:space-between;align-items:flex-start;gap:18px;min-height:64px;display:flex}.view-header h1{letter-spacing:-.045em;margin:2px 0;font-size:clamp(26px,2vw,34px)}.view-header p{color:var(--muted);margin:4px 0 0;font-size:14px}.view-actions{align-items:center;gap:7px;display:flex}.secondary-button,.filter-button,.scope-button,.danger-button{border:1px solid var(--line);background:var(--panel-strong);min-height:40px;color:var(--ink);cursor:pointer;border-radius:11px;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-size:13px;font-weight:800;display:inline-flex}.secondary-button:hover,.filter-button:hover,.scope-button:hover{background:var(--soft)}.danger-button{color:#fff;background:#a24737;border-color:#a24737}.secondary-button.full,.primary-button.full{width:100%}.text-button{color:var(--accent);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:13px;font-weight:850;display:inline-flex}.kpi-grid{gap:11px;display:grid}.kpi-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.kpi-grid.compact .kpi-card{min-height:112px}.kpi-card{border:1px solid var(--line);background:var(--panel-strong);border-radius:17px;flex-direction:column;min-width:0;min-height:124px;padding:16px 17px;display:flex;position:relative;overflow:hidden}.kpi-card:before{content:"";background:var(--accent);opacity:.65;width:3px;position:absolute;inset:0 auto 0 0}.kpi-card.positive:before{background:var(--success)}.kpi-card.gold:before{background:var(--gold)}.kpi-card.warning:before{background:#b36037}.kpi-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.kpi-top>span{color:var(--muted);text-transform:uppercase;letter-spacing:.075em;font-size:12px;font-weight:850}.kpi-top i{background:var(--soft);width:29px;height:29px;color:var(--accent);border-radius:9px;place-items:center;font-style:normal;display:grid}.kpi-card strong{letter-spacing:-.04em;margin-top:9px;font-size:25px;line-height:1}.kpi-card small{color:var(--muted);margin-top:auto;padding-top:8px;font-size:12px}.content-card{border:1px solid var(--line);background:var(--panel-strong);border-radius:18px}.card-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:14px 16px;display:flex}.card-header h2{letter-spacing:-.02em;margin:0;font-size:16px}.card-header p{color:var(--muted);margin:3px 0 0;font-size:12px}.status-pill{background:var(--soft);width:max-content;max-width:100%;min-height:22px;color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;padding:4px 8px;font-size:12px;font-weight:850;line-height:1.2;display:inline-flex}.status-pill.success{background:var(--success)}@supports (color:color-mix(in lab,red,red)){.status-pill.success{background:color-mix(in srgb,var(--success) 13%,transparent)}}.status-pill.success{color:var(--success)}.status-pill.warning{color:#a25d22;background:#c37a3524}.status-pill.danger{color:#a23e33;background:#b8483a21}.dashboard-layout{grid-template-columns:minmax(0,1.45fr) minmax(260px,.8fr);gap:12px;display:grid}.today-card,.attention-card{min-height:100%}.flow-card{grid-column:1/-1}.timeline-list{padding:5px 0}.timeline-item{width:100%;min-height:60px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:7px 14px;display:flex}.timeline-item:hover{background:var(--gold)}@supports (color:color-mix(in lab,red,red)){.timeline-item:hover{background:color-mix(in srgb,var(--gold) 7%,transparent)}}.time-stack{text-align:right;width:35px;display:grid}.time-stack b{font-size:13px}.time-stack small{color:var(--muted);font-size:12px}.timeline-line{background:#4c7c67;border-radius:3px;width:3px;height:35px}.timeline-line.auburn{background:var(--accent)}.timeline-line.gold{background:var(--gold)}.timeline-line.blue{background:#4d718d}.patient-avatar{background:var(--soft);width:31px;height:31px;color:var(--accent);border-radius:50%;flex:0 0 31px;place-items:center;font-size:12px;font-weight:900;display:grid}.timeline-copy{flex:1;gap:3px;min-width:0;display:grid}.timeline-copy b{font-size:13px}.timeline-copy small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.assistant-chip{background:var(--gold);border-radius:999px;align-items:center;gap:4px;min-height:24px;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.assistant-chip{background:color-mix(in srgb,var(--gold) 15%,transparent)}}.assistant-chip{color:#9b671f;font-size:12px;font-weight:850}.attention-card{flex-direction:column;display:flex}.attention-list{flex:1;padding:7px}.attention-list>button{border:0;border-bottom:1px solid var(--line);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:9px;padding:9px 7px;display:flex}.attention-list>button:last-child{border:0}.attention-list>button>span:nth-child(2){flex:1;gap:3px;min-width:0;display:grid}.attention-list b{font-size:12px}.attention-list small{color:var(--muted);font-size:12px}.attention-icon{background:var(--soft);height:29px;color:var(--accent);border-radius:9px;flex:0 0 29px;place-items:center;font-size:13px;font-weight:900;display:grid}.attention-icon.urgent{color:#a23e33;background:#b8483a1f}.attention-icon.gold{background:var(--gold)}@supports (color:color-mix(in lab,red,red)){.attention-icon.gold{background:color-mix(in srgb,var(--gold) 15%,transparent)}}.attention-icon.gold{color:#9b671f}.attention-icon.sage{background:var(--success)}@supports (color:color-mix(in lab,red,red)){.attention-icon.sage{background:color-mix(in srgb,var(--success) 13%,transparent)}}.attention-icon.sage{color:var(--success)}.brief-summary{background:var(--soft);color:var(--accent);border-radius:11px;gap:8px;margin:auto 12px 12px;padding:10px;display:flex}.brief-summary p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.flow-steps{grid-template-columns:repeat(4,1fr);gap:8px;padding:17px;display:grid}.flow-steps>div{grid-template-columns:auto 1fr;align-items:center;gap:2px 8px;min-width:0;display:grid}.flow-number{background:var(--soft);width:34px;height:34px;color:var(--accent);border-radius:11px;grid-row:span 2;place-items:center;font-size:15px;font-weight:900;display:grid}.flow-steps b{font-size:12px}.flow-steps small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.task-preview{display:none}.mini-task{border-bottom:1px solid var(--line);align-items:center;gap:9px;min-height:50px;padding:8px 14px;display:flex}.task-check{border:1.5px solid var(--line);border-radius:5px;width:16px;height:16px}.mini-task>span:nth-child(2){flex:1;gap:2px;display:grid}.mini-task b{font-size:12px}.mini-task small{color:var(--muted);font-size:12px}.schedule-view{gap:12px}.schedule-controls,.table-toolbar{flex:none;align-items:center;gap:8px;min-height:48px;display:flex}.date-nav{border:1px solid var(--line);background:var(--panel-strong);border-radius:11px;padding:3px;display:flex}.date-nav button{border:0;border-right:1px solid var(--line);cursor:pointer;background:0 0;min-width:32px;height:32px;padding:0 10px;font-size:13px;font-weight:800}.date-nav button:last-child{border:0}.view-tabs{background:var(--soft);border-radius:11px;padding:3px;display:flex}.view-tabs button{min-height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 13px;font-size:12px;font-weight:800}.view-tabs button.active{background:var(--panel-strong);color:var(--ink);box-shadow:0 1px 5px #24191512}.schedule-controls .search{margin-left:auto}.search.wide{width:min(270px,25vw);display:flex}.filter-button span{background:var(--accent);color:#fff;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:12px;display:grid}.schedule-board{border:1px solid var(--line);background:var(--panel-strong);border-radius:18px;flex:1;min-height:0;overflow:hidden}.modern-schedule{background:linear-gradient(180deg,var(--soft),var(--panel-strong) 80px);overflow:auto}@supports (color:color-mix(in lab,red,red)){.modern-schedule{background:linear-gradient(180deg,color-mix(in srgb,var(--soft) 42%,var(--panel-strong)),var(--panel-strong) 80px)}}.modern-schedule .schedule-grid.full{background-image:linear-gradient(to bottom,var(--line) 1px,transparent 1px);background-position:0 60px;background-size:100% 26px;grid-template-rows:60px repeat(40,26px);grid-template-columns:64px repeat(3,minmax(190px,1fr));width:100%;min-width:720px;height:auto;min-height:1100px;overflow:visible}.modern-schedule .grid-corner,.modern-schedule .resource-head{z-index:5;background:var(--panel-strong);min-height:60px;position:sticky;top:0}@supports (color:color-mix(in lab,red,red)){.modern-schedule .grid-corner,.modern-schedule .resource-head{background:color-mix(in srgb,var(--panel-strong) 96%,transparent)}}.modern-schedule .grid-corner,.modern-schedule .resource-head{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.modern-schedule .grid-corner{z-index:6}.modern-schedule .resource-head{grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 12px}.resource-avatar{background:var(--accent);border-radius:11px;place-items:center;width:34px;height:34px;display:grid}@supports (color:color-mix(in lab,red,red)){.resource-avatar{background:color-mix(in srgb,var(--accent) 10%,var(--soft))}}.resource-avatar{color:var(--accent)!important;font-size:12px!important;font-weight:900!important}.resource-copy{gap:2px;min-width:0;display:grid}.resource-copy b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.resource-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.resource-count{background:var(--soft);border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 6px;display:grid;color:var(--muted)!important;font-size:12px!important}.modern-schedule .time-row{border:0;border-top:1px solid var(--line);align-self:start;height:1px}.modern-schedule .time-row span{padding-top:6px;font-size:12px;font-weight:800;transform:translateY(-1px)}.modern-appointment{border-left-width:3px;border-radius:10px;gap:3px;margin:2px 5px;padding:7px 8px;transition:transform .15s,box-shadow .15s;box-shadow:0 2px 8px #2c1f180f}.modern-appointment:hover{z-index:4;transform:translateY(-1px);box-shadow:0 7px 18px #2c1f1821}.schedule-appointment-top{justify-content:space-between;align-items:center;gap:6px;width:100%;min-width:0;display:flex}.schedule-appointment-top .appt-time{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.schedule-appointment-top small{flex:none;margin:0;padding:2px 5px}.modern-appointment>b{line-height:1.25}.modern-appointment>.appointment-procedure{width:100%;line-height:1.25}.modern-appointment>.appointment-footer{width:100%;color:var(--muted);justify-content:space-between;align-items:center;gap:6px;margin-top:auto;padding-top:2px;font-size:12px;display:flex}.appointment-footer span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.appointment-footer span:first-child{max-width:65%}.appointment-footer span:last-child{color:currentColor;font-weight:800}.modern-schedule .now-line{left:56px}.calendar-placeholder{border:1px solid var(--line);background:var(--panel-strong);border-radius:18px;flex:1;min-height:0;overflow:auto}.calendar-labels{border-bottom:1px solid var(--line);grid-template-columns:repeat(7,1fr);height:42px;display:grid}.calendar-labels span{color:var(--muted);text-transform:uppercase;place-items:center;font-size:12px;font-weight:850;display:grid}.calendar-days{grid-template-columns:repeat(7,1fr);grid-auto-rows:minmax(78px,1fr);min-height:calc(100% - 42px);display:grid}.calendar-days button{border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--ink);text-align:left;cursor:pointer;background:0 0;flex-direction:column;gap:8px;padding:9px;display:flex}.calendar-days button.today{background:var(--accent);color:#fff;border:0;border-radius:11px;margin:4px}.calendar-days b{font-size:13px}.calendar-days small{background:var(--soft);width:max-content;color:var(--muted);border-radius:6px;padding:4px 6px;font-size:12px}.calendar-days .today small{color:#fff;background:#ffffff26}.calendar-placeholder.week .calendar-days{grid-auto-rows:minmax(300px,1fr)}.table-toolbar .table-search{width:min(430px,42vw)}.table-toolbar .scope-chip{margin-left:auto}.table-search{height:42px;display:flex}.scope-chip{background:var(--soft);min-height:34px;color:var(--muted);border-radius:10px;align-items:center;gap:7px;padding:0 10px;font-size:12px;font-weight:800;display:flex}.data-table-wrap{border:1px solid var(--line);background:var(--panel-strong);border-radius:18px;flex:1;min-height:0;overflow:auto}.data-table{border-collapse:collapse;table-layout:fixed;width:100%}.data-table th{z-index:2;border-bottom:1px solid var(--line);background:var(--soft);height:42px;color:var(--muted);text-align:left;letter-spacing:.055em;text-transform:uppercase;padding:0 12px;font-size:12px;font-weight:900;position:sticky;top:0}.data-table th button{width:100%;color:inherit;font:inherit;text-transform:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:0;display:flex}.data-table td{border-bottom:1px solid var(--line);height:64px;color:var(--muted);text-overflow:ellipsis;padding:8px 12px;font-size:12px;overflow:hidden}.data-table tbody tr{cursor:pointer}.data-table tbody tr:hover{background:var(--gold)}@supports (color:color-mix(in lab,red,red)){.data-table tbody tr:hover{background:color-mix(in srgb,var(--gold) 7%,transparent)}}.data-table tbody tr:hover{box-shadow:inset 3px 0 0 var(--accent)}.data-table td>small{white-space:nowrap;text-overflow:ellipsis;margin-top:4px;display:block;overflow:hidden}.person-cell{align-items:center;gap:9px;min-width:0;display:flex}.person-cell>span:last-child{gap:3px;min-width:0;display:grid}.person-cell b,.cell-primary{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;font-size:12px;display:block;overflow:hidden}.person-cell small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.money-attention{color:#a4532d;font-size:12px}.row-action{width:29px;height:29px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.row-action:hover{background:var(--soft);color:var(--accent)}.empty-state{min-height:260px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.empty-state b{color:var(--ink);font-size:14px}.empty-state span{font-size:12px}.clinical-view .view-header{z-index:10;position:relative}.clinical-patient-picker{width:max-content;max-width:min(430px,42vw);position:relative}.clinical-patient-trigger{max-width:100%;color:var(--ink);font:inherit;font-weight:inherit;letter-spacing:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:7px;padding:0;display:flex}.clinical-patient-trigger span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.clinical-patient-trigger svg{color:var(--accent);flex:none;transition:transform .16s}.clinical-patient-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.clinical-patient-trigger:focus-visible{outline:3px solid var(--accent)}@supports (color:color-mix(in lab,red,red)){.clinical-patient-trigger:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 25%,transparent)}}.clinical-patient-trigger:focus-visible{outline-offset:4px;border-radius:5px}.clinical-patient-menu{z-index:30;border:1px solid var(--line);background:var(--panel-strong);border-radius:15px;width:min(390px,100vw - 80px);padding:8px;position:absolute;top:calc(100% + 9px);left:0;box-shadow:0 18px 42px #2a191233}.clinical-patient-search{border:1px solid var(--line);background:var(--soft);height:42px;color:var(--muted);border-radius:10px;align-items:center;gap:8px;padding:0 11px;display:flex}.clinical-patient-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent)}@supports (color:color-mix(in lab,red,red)){.clinical-patient-search:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}}.clinical-patient-search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:13px}.clinical-patient-results{overscroll-behavior:contain;max-height:310px;margin-top:7px;overflow-y:auto}.clinical-patient-results>button{width:100%;min-height:56px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:9px;padding:7px 8px;display:flex}.clinical-patient-results>button:hover,.clinical-patient-results>button:focus-visible,.clinical-patient-results>button.selected{background:var(--soft);outline:0}.clinical-patient-results>button.selected{box-shadow:inset 3px 0 0 var(--accent)}.clinical-patient-results>button>span:nth-child(2){flex:1;gap:4px;min-width:0;display:grid}.clinical-patient-results b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.clinical-patient-results small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px;overflow:hidden}.clinical-patient-results>button>svg{color:var(--accent);flex:none}.clinical-patient-empty,.clinical-card-empty{color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.clinical-patient-empty{min-height:96px;font-size:13px}.clinical-card-empty{min-height:150px;padding:20px}.clinical-card-empty svg{color:var(--accent)}.clinical-card-empty b{color:var(--ink);font-size:13px}.clinical-card-empty span{font-size:12px}.patient-alert-banner{background:#b8483a;border:1px solid #b8483a38;border-radius:11px;align-items:center;gap:8px;min-height:40px;padding:0 12px;display:flex}@supports (color:color-mix(in lab,red,red)){.patient-alert-banner{background:color-mix(in srgb,#b8483a 8%,var(--panel-strong))}}.patient-alert-banner{color:#a23e33;font-size:12px}.patient-alert-banner span{color:var(--muted)}.patient-alert-banner button{color:#a23e33;cursor:pointer;background:0 0;border:0;margin-left:auto;font-size:12px;font-weight:850}.clinical-layout{grid-template-columns:minmax(0,1.6fr) minmax(260px,.65fr);gap:12px;display:grid}.odontogram-card{min-width:0;overflow:hidden}.legend{color:var(--muted);gap:9px;font-size:12px;display:flex}.legend span{align-items:center;gap:4px;display:flex}.legend i{background:var(--muted);border-radius:50%;width:7px;height:7px}.legend .planned{background:var(--gold)}.legend .completed{background:var(--success)}.odontogram{background:linear-gradient(180deg,transparent 49.8%,var(--line) 50%,transparent 50.3%);width:100%;height:auto;min-height:240px;padding:14px}.tooth{cursor:pointer;outline:none}.tooth path{fill:var(--panel);stroke:var(--muted)}@supports (color:color-mix(in lab,red,red)){.tooth path{stroke:color-mix(in srgb,var(--muted) 55%,transparent)}}.tooth path{stroke-width:1.4px;transform-origin:50%;transition:fill .16s,stroke .16s,transform .16s}.tooth circle{fill:#0000;stroke:var(--line)}.tooth text{fill:var(--muted);text-anchor:middle;font-size:12px;font-weight:800}.tooth:hover path,.tooth.selected path{stroke:var(--accent);stroke-width:2px;transform:translateY(-2px)}.tooth.planned path{fill:var(--gold)}@supports (color:color-mix(in lab,red,red)){.tooth.planned path{fill:color-mix(in srgb,var(--gold) 25%,var(--panel))}}.tooth.planned path{stroke:var(--gold)}.tooth.completed path{fill:var(--success)}@supports (color:color-mix(in lab,red,red)){.tooth.completed path{fill:color-mix(in srgb,var(--success) 20%,var(--panel))}}.tooth.completed path{stroke:var(--success)}.tooth.selected circle{fill:var(--accent)}@supports (color:color-mix(in lab,red,red)){.tooth.selected circle{fill:color-mix(in srgb,var(--accent) 18%,transparent)}}.tooth.selected circle{stroke:var(--accent)}.arch-line{stroke:var(--line);stroke-dasharray:3 4}.tooth-detail{border-top:1px solid var(--line);align-items:center;gap:10px;min-height:70px;padding:12px 15px;display:flex}.tooth-detail>div{gap:3px;min-width:115px;display:grid}.tooth-detail span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800}.tooth-detail strong{font-size:13px}.tooth-detail .secondary-button{margin-left:auto}.clinical-side{align-content:start;gap:12px;display:grid}.clinical-side .content-card{overflow:hidden}.plan-item{border-bottom:1px solid var(--line);align-items:center;gap:9px;min-height:52px;padding:8px 12px;display:flex}.plan-item>span{background:var(--soft);width:23px;height:23px;color:var(--accent);border-radius:7px;place-items:center;font-size:12px;font-weight:900;display:grid}.plan-item>div{flex:1;gap:3px;display:grid}.plan-item b,.plan-item strong{font-size:12px}.plan-item small{color:var(--muted);font-size:12px}.plan-total{min-height:46px;color:var(--muted);justify-content:space-between;align-items:center;padding:9px 13px;font-size:12px;display:flex}.plan-total strong{color:var(--ink);font-size:16px}.clinical-side .primary-button.full{width:calc(100% - 24px);margin:0 12px 12px}.note-preview{color:var(--success);gap:8px;padding:12px;display:flex}.note-preview>div{color:var(--ink)}.note-preview b{font-size:12px}.note-preview small{color:var(--muted);margin:3px 0;font-size:12px;display:block}.note-preview p{color:var(--muted);margin:6px 0;font-size:12px;line-height:1.45}.clinical-side .text-button{margin:0 12px 12px}.flow-board{flex:1;grid-template-columns:repeat(4,minmax(190px,1fr));gap:9px;min-height:0;display:grid;overflow-x:auto}.flow-column{border:1px solid var(--line);background:var(--soft);border-radius:16px;flex-direction:column;min-width:190px;display:flex;overflow:hidden}.flow-column>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:45px;padding:0 11px;display:flex}.flow-column>header>div{align-items:center;gap:7px;display:flex}.flow-column>header b{font-size:12px}.flow-column>header>span{background:var(--panel-strong);border-radius:999px;place-items:center;min-width:20px;height:20px;font-size:12px;font-weight:900;display:grid}.stage-dot{background:var(--gold);border-radius:50%;width:7px;height:7px}.stage-dot.checked-in{background:#4d718d}.stage-dot.in-treatment{background:var(--accent)}.stage-dot.checkout{background:var(--success)}.flow-column>div{min-height:0;padding:7px;overflow-y:auto}.flow-patient{border:1px solid var(--line);background:var(--panel-strong);border-radius:12px;margin-bottom:7px;padding:10px}.flow-patient-head{align-items:center;gap:8px;display:flex}.flow-patient-head>span:nth-child(2){flex:1;gap:3px;min-width:0;display:grid}.flow-patient-head b{font-size:12px}.flow-patient-head small{color:var(--muted);font-size:12px}.flow-patient-head>button{color:var(--muted);background:0 0;border:0}.flow-tags{justify-content:space-between;align-items:center;gap:5px;margin:10px 0;display:flex}.flow-tags>span:last-child{color:var(--muted);font-size:12px}.advance-button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:5px;width:100%;min-height:30px;font-size:12px;font-weight:850;display:flex}.advance-button:disabled{background:var(--soft);color:var(--muted)}.billing-layout{grid-template-columns:1.3fr .7fr;gap:12px;display:grid}.aging-card,.close-card{overflow:hidden}.aging-row{border-bottom:1px solid var(--line);grid-template-columns:75px minmax(80px,1fr) 65px 30px;align-items:center;gap:9px;min-height:43px;padding:7px 14px;font-size:12px;display:grid}.aging-row>div{background:var(--soft);border-radius:9px;height:6px;overflow:hidden}.aging-row i{background:var(--accent);border-radius:9px;height:100%;display:block}.aging-row b{text-align:right;font-size:12px}.aging-row small{color:var(--muted)}.close-grid{grid-template-columns:1fr 1fr;gap:7px;padding:11px;display:grid}.close-grid span{background:var(--soft);color:var(--muted);border-radius:10px;gap:5px;padding:9px;font-size:12px;display:grid}.close-grid b{color:var(--ink);font-size:14px}.close-card .primary-button{width:calc(100% - 22px);margin:0 11px 11px}.ledger-card{overflow:hidden}.ledger-card .data-table th{position:static}.credit-value{font-weight:800;color:var(--success)!important}.communications-layout{border:1px solid var(--line);background:var(--panel-strong);border-radius:18px;flex:1;grid-template-columns:250px minmax(330px,1fr) 210px;min-height:0;display:grid;overflow:hidden}.conversation-list{border-right:1px solid var(--line);flex-direction:column;min-height:0;padding:10px 0 0;display:flex}.conversation-list>.search{width:calc(100% - 20px);margin:0 10px 8px}.inbox-tabs{gap:5px;padding:0 10px 8px;display:flex}.inbox-tabs button{min-height:27px;color:var(--muted);background:0 0;border:0;border-radius:7px;padding:0 8px;font-size:12px;font-weight:800}.inbox-tabs button.active{background:var(--soft);color:var(--ink)}.inbox-tabs span{color:var(--accent);margin-left:3px}.conversation-scroll{min-height:0;overflow-y:auto}.conversation-row{border:0;border-top:1px solid var(--line);width:100%;min-height:62px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:8px;padding:8px 10px;display:flex}.conversation-row.active{background:var(--soft);box-shadow:inset 3px 0 0 var(--accent)}.conversation-row>span:nth-child(2){flex:1;gap:4px;min-width:0;display:grid}.conversation-row b{font-size:12px}.conversation-row small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.conversation-row small i{color:var(--accent);margin-right:4px;font-style:normal;font-weight:900}.conversation-row>span:last-child{align-self:flex-start;justify-items:end;gap:6px;display:grid}.conversation-row time{color:var(--muted);font-size:12px}.conversation-row em{background:var(--accent);color:#fff;border-radius:999px;place-items:center;min-width:26px;height:26px;padding:0 5px;font-size:12px;font-style:normal;display:grid}.conversation-thread{grid-template-rows:auto minmax(0,1fr) auto;min-height:0;display:grid}.conversation-thread>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:58px;padding:8px 12px;display:flex}.conversation-thread>header .person-cell small.conversation-consent{background:var(--success,#347457);border-radius:999px;width:fit-content;padding:5px 9px}@supports (color:color-mix(in lab,red,red)){.conversation-thread>header .person-cell small.conversation-consent{background:color-mix(in srgb,var(--success,#347457) 12%,var(--panel))}}.conversation-thread>header .person-cell small.conversation-consent{color:var(--success,#347457);white-space:normal;align-items:center;gap:5px;display:flex}.conversation-consent svg{flex-shrink:0}.thread-messages{flex-direction:column;align-items:flex-start;gap:9px;min-height:0;padding:14px;display:flex;overflow-y:auto}.day-divider{width:100%;color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.day-divider:before,.day-divider:after{content:"";background:var(--line);flex:1;height:1px}.bubble{background:var(--soft);max-width:78%;color:var(--ink);border-radius:12px;padding:9px 11px;font-size:12px;line-height:1.45}.bubble.outbound{background:var(--accent);color:#fff;align-self:flex-end}.bubble small{opacity:.65;margin-top:5px;font-size:12px;display:block}.thread-note{background:var(--success);border-radius:999px;align-self:center;align-items:center;gap:5px;padding:6px 9px;display:flex}@supports (color:color-mix(in lab,red,red)){.thread-note{background:color-mix(in srgb,var(--success) 10%,transparent)}}.thread-note{color:var(--success);font-size:12px}.message-composer{border:1px solid var(--line);border-radius:12px;grid-template-columns:1fr 36px;gap:6px;margin:10px;padding:7px;display:grid}.message-composer textarea{resize:none;color:var(--ink);background:0 0;border:0;outline:0;padding:7px;font-size:12px}.message-composer button{background:var(--accent);color:#fff;border:0;border-radius:9px;grid-area:1/2/span 2;align-self:center;width:36px;height:36px}.message-composer small{color:var(--muted);grid-area:2/1;padding:0 7px;font-size:12px}.conversation-context{border-left:1px solid var(--line);padding:14px;overflow-y:auto}.conversation-context h3{margin:0 0 16px;font-size:13px}.context-person{border-bottom:1px solid var(--line);flex-direction:column;align-items:center;gap:5px;padding-bottom:15px;display:flex}.context-person .patient-avatar{width:43px;height:43px}.context-person b{font-size:13px}.context-person small{color:var(--muted);font-size:12px}.conversation-context dl{margin:0 0 14px}.conversation-context dl>div{border-bottom:1px solid var(--line);padding:9px 0}.conversation-context dt{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:850}.conversation-context dd{margin:4px 0 0;font-size:12px;font-weight:750}.communications-layout{letter-spacing:-.005em;font-family:Segoe UI Variable Text,SF Pro Text,Inter,ui-sans-serif,system-ui,sans-serif;font-weight:550}.communications-layout button,.communications-layout input,.communications-layout textarea{font-family:inherit}.inbox-tabs button{min-height:30px;font-size:13px;font-weight:650}.conversation-row{min-height:68px}.conversation-row b{letter-spacing:-.01em;font-size:13px;font-weight:650}.conversation-row small{font-size:13px;font-weight:550;line-height:1.35}.conversation-row small i{font-weight:650}.conversation-row time{font-size:12px;font-weight:600}.conversation-row em{font-weight:700}.conversation-thread>header .person-cell b{font-size:13px;font-weight:650}.conversation-thread>header .person-cell small{font-size:13px;font-weight:550}.day-divider{font-weight:600}.bubble{padding:10px 12px;font-size:13px;font-weight:550;line-height:1.5}.bubble small{font-size:12px;font-weight:600}.thread-note{font-size:13px;font-weight:600}.message-composer textarea{font-size:13px;font-weight:550;line-height:1.45}.message-composer small{font-size:12px;font-weight:600}.conversation-context h3{font-size:14px;font-weight:650}.context-person b{font-size:13px;font-weight:650}.context-person small{font-size:13px;font-weight:550}.conversation-context dt{letter-spacing:.045em;font-size:12px;font-weight:650}.conversation-context dd{font-size:13px;font-weight:600}.task-list{border:1px solid var(--line);background:var(--panel-strong);border-radius:18px;flex:1;min-height:0;overflow-y:auto}.task-row{border-bottom:1px solid var(--line);grid-template-columns:24px minmax(220px,1fr) 80px 145px 34px;align-items:center;gap:10px;min-height:62px;padding:8px 14px;display:grid}.task-row.done>div b{text-decoration:line-through}.task-toggle{border:1.5px solid var(--line);width:21px;height:21px;color:var(--success);cursor:pointer;background:0 0;border-radius:6px;place-items:center;display:grid}.task-row>div{gap:4px;display:grid}.task-row>div b{font-size:13px}.task-row>div small{color:var(--muted);font-size:12px}.task-owner{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:flex}.task-owner i{background:var(--soft);width:25px;height:25px;color:var(--accent);border-radius:50%;place-items:center;font-size:12px;font-style:normal;font-weight:900;display:grid}.report-tabs{border-bottom:1px solid var(--line);gap:22px;min-height:42px;display:flex}.report-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 3px 12px;font-size:13px;font-weight:850;position:relative}.report-tabs button.active{color:var(--accent)}.report-tabs button.active:after{content:"";background:var(--accent);border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:-1px;left:0;right:0}.report-scope-bar{background:var(--soft);border-radius:13px;align-items:center;gap:6px;min-height:52px;padding:8px 11px;display:flex}.report-scope-bar>div{margin-right:auto}.report-scope-bar>div span{color:var(--muted);letter-spacing:.08em;font-size:12px;font-weight:900}.report-scope-bar p{color:var(--muted);margin:2px 0 0;font-size:12px}.report-scope-bar button{min-height:31px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:5px;padding:0 9px;font-size:12px;font-weight:800;display:flex}.report-scope-bar button.selected{border-color:var(--line);background:var(--panel-strong);color:var(--ink)}.report-grid{grid-template-columns:minmax(0,1.55fr) minmax(230px,.65fr);gap:12px;display:grid}.chart-card{overflow:hidden}.chart-legend{color:var(--muted);gap:10px;font-size:12px;display:flex}.chart-legend span{align-items:center;gap:4px;display:flex}.chart-legend i{background:var(--accent);border-radius:2px;width:7px;height:7px}.chart-legend i.coll{background:var(--gold)}.trend-chart{grid-template-columns:34px 1fr;height:205px;padding:15px;display:grid}.chart-grid{color:var(--muted);flex-direction:column;justify-content:space-between;padding-bottom:18px;font-size:12px;display:flex}.bars{border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,var(--line) 0 1px,transparent 1px 33%);align-items:flex-end;gap:5px;min-width:0;display:flex}.bar-group{flex:1;justify-content:center;align-items:flex-end;gap:2px;min-width:0;height:100%;display:flex;position:relative}.bar{background:var(--accent);border-radius:4px 4px 0 0;width:36%;min-height:2px}.bar.secondary{background:var(--gold)}.bar-group small{color:var(--muted);white-space:nowrap;font-size:12px;position:absolute;bottom:-16px;left:50%;transform:translate(-50%)}.office-compare{overflow:hidden}.office-row{border-bottom:1px solid var(--line);grid-template-columns:1fr auto;gap:5px;padding:14px;display:grid}.office-row>div:first-child{gap:3px;display:grid}.office-row b,.office-row strong{font-size:13px}.office-row small{color:var(--muted);font-size:12px}.office-row>div:last-child{background:var(--soft);border-radius:9px;grid-column:1/-1;height:7px;overflow:hidden}.office-row i{background:var(--accent);border-radius:9px;height:100%;display:block}.office-compare>.text-button{margin:13px}.metric-table-card{overflow:hidden}.metric-table{grid-template-columns:repeat(3,1fr);display:grid}.metric-table>div{border-right:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:1fr auto;gap:4px;min-height:64px;padding:11px 14px;display:grid}.metric-table span{color:var(--muted);grid-column:1/-1;font-size:12px}.metric-table b{font-size:15px}.metric-table small{color:#a23e33;align-self:center;font-size:12px;font-weight:800}.metric-table small.positive{color:var(--success)}.metric-table button{width:max-content;color:var(--accent);background:0 0;border:0;grid-column:1/-1;align-items:center;padding:0;font-size:12px;font-weight:850;display:flex}.myla-attribution{text-align:center;padding:20px}.myla-attribution>svg{color:var(--gold);margin:16px 0 5px}.myla-attribution h2{margin:0;font-size:16px}.myla-attribution p{color:var(--muted);font-size:12px;line-height:1.55}.myla-attribution dl>div{border-top:1px solid var(--line);justify-content:space-between;padding:7px 0;font-size:12px;display:flex}.myla-attribution dt{color:var(--muted)}.myla-attribution dd{margin:0;font-weight:850}.compensation-empty{border:1px dashed var(--line);text-align:center;background:var(--panel-strong);border-radius:18px;flex-direction:column;justify-content:center;align-items:center;min-height:330px;padding:35px;display:flex}.compensation-empty>span{background:var(--soft);width:58px;height:58px;color:var(--accent);border-radius:18px;place-items:center;display:grid}.compensation-empty h2{margin:14px 0 5px;font-size:20px}.compensation-empty p{max-width:520px;color:var(--muted);margin:0;font-size:13px;line-height:1.55}.compensation-empty>div{grid-template-columns:1fr 1fr;gap:7px;margin:20px 0;display:grid}.compensation-empty>div b{background:var(--soft);border-radius:9px;padding:9px 12px;font-size:12px}.team-layout{grid-template-columns:1fr 1fr;gap:12px;display:grid}.timeclock-card{justify-content:space-between;align-items:center;padding:14px;display:flex}.timeclock-head{align-items:center;gap:12px;display:flex}.big-clock{background:var(--soft);width:45px;height:45px;color:var(--accent);border-radius:14px;place-items:center;display:grid}.timeclock-head>div>span{color:var(--muted);letter-spacing:.08em;font-size:12px;font-weight:900}.timeclock-head h2{margin:2px 0;font-size:21px}.timeclock-head p{color:var(--muted);margin:0;font-size:12px}.clock-actions{gap:6px;display:flex}.coverage-summary{justify-content:space-between;align-items:center;padding:14px;display:flex}.coverage-summary>div{color:var(--success);align-items:center;gap:10px;display:flex}.coverage-summary>div>span{gap:4px;display:grid}.coverage-summary b{color:var(--ink);font-size:13px}.coverage-summary small{color:var(--muted);font-size:12px}.team-roster{overflow:hidden}.staff-roster{width:100%}.staff-roster-head,.staff-row{grid-template-columns:minmax(190px,1.35fr) minmax(140px,1fr) minmax(120px,.8fr) 100px 30px;align-items:center;gap:16px;display:grid}.staff-roster-head{border-bottom:1px solid var(--line);background:var(--soft);min-height:36px;color:var(--muted);letter-spacing:.05em;text-transform:uppercase;padding:0 16px;font-size:12px;font-weight:850}.staff-row{border-bottom:1px solid var(--line);min-height:70px;padding:9px 16px;transition:background .15s}.staff-row:last-child{border-bottom:0}.staff-row:hover{background:var(--gold)}@supports (color:color-mix(in lab,red,red)){.staff-row:hover{background:color-mix(in srgb,var(--gold) 6%,transparent)}}.staff-identity{align-items:center;gap:10px;min-width:0;display:flex}.staff-identity>span:last-child,.staff-detail{gap:3px;min-width:0;display:grid}.staff-identity b,.staff-detail b{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.staff-identity small,.staff-detail small{color:var(--muted);font-size:12px}.staff-detail small{text-transform:uppercase;letter-spacing:.05em;font-weight:850;display:none}.staff-row>.status-pill{justify-self:start}.staff-menu{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.staff-menu:hover{background:var(--soft);color:var(--accent)}.settings-layout{border:1px solid var(--line);background:var(--panel-strong);border-radius:18px;flex:1;grid-template-columns:180px minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.settings-layout>aside{border-right:1px solid var(--line);padding:9px;overflow-y:auto}.settings-layout>aside button{width:100%;min-height:36px;color:var(--muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:space-between;align-items:center;padding:0 9px;font-size:12px;font-weight:750;display:flex}.settings-layout>aside button.active{background:var(--soft);color:var(--accent)}.settings-content{min-width:0;padding:18px;overflow:auto}.settings-heading{justify-content:space-between;gap:12px;min-height:54px;display:flex}.settings-heading h2{margin:0;font-size:18px}.settings-heading p{color:var(--muted);margin:4px 0 0;font-size:12px}.settings-list{border:1px solid var(--line);border-radius:14px;overflow:hidden}.settings-list article{border-bottom:1px solid var(--line);grid-template-columns:34px minmax(110px,1fr) minmax(100px,.8fr) minmax(120px,1fr) 70px 55px 28px;align-items:center;gap:9px;min-height:65px;padding:8px 11px;display:grid}.settings-list article:last-child{border:0}.room-icon{background:var(--soft);width:31px;height:31px;color:var(--accent);border-radius:9px;place-items:center;display:grid}.settings-list article>div{gap:3px;min-width:0;display:grid}.settings-list article>div span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800}.settings-list article b{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.settings-list article small{color:var(--muted);font-size:12px}.settings-list article>button{color:var(--muted);background:0 0;border:0}.forms-list article{grid-template-columns:34px minmax(150px,1fr) 90px minmax(140px,1fr) 60px 28px}.form-section{max-width:760px}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.form-grid label,.create-body label,.form-dialog-body label{gap:6px;display:grid}.form-grid label>span,.create-body label>span,.form-dialog-body label>span{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:850}.form-grid input,.form-grid textarea,.create-body input,.create-body textarea,.form-dialog-body input,.form-dialog-body textarea{border:1px solid var(--line);background:var(--panel);width:100%;min-height:40px;color:var(--ink);border-radius:10px;outline:0;padding:9px 11px;font-size:13px}.form-grid .full,.create-body .full{grid-column:1/-1}.settings-notice{background:var(--soft);color:var(--accent);border-radius:11px;gap:9px;margin-top:16px;padding:12px;display:flex}.settings-notice b{color:var(--ink);font-size:12px}.settings-notice p{color:var(--muted);margin:3px 0 0;font-size:12px}.owned-select{border:1px solid var(--line);background:var(--panel);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;padding:0 10px;font-size:12px;font-weight:750;display:flex}.assistant-head-actions{gap:4px;display:flex}.assistant-head-actions .icon-button{border-radius:9px;width:32px;height:32px}.chat-message{justify-content:flex-start;align-items:flex-start;gap:8px;width:100%;margin:9px 0;display:flex}.chat-message>div{color:#fffaf1;background:#231c18;border-radius:4px 12px 12px;max-width:88%;padding:10px 12px;font-size:12.5px;line-height:1.55}.chat-message.user{justify-content:flex-end}.chat-message.assistant>div{margin-right:auto}.chat-message.user>div{text-align:left;background:var(--accent);color:#fff;border-radius:12px 4px 12px 12px;margin-left:auto;margin-right:0;font-weight:650}.typing{gap:3px;display:flex}.typing i{opacity:.5;background:#fff;border-radius:50%;width:5px;height:5px;animation:.9s infinite alternate typing}.typing i:nth-child(2){animation-delay:.18s}.typing i:nth-child(3){animation-delay:.36s}@keyframes typing{to{opacity:1;transform:translateY(-2px)}}.chat-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100%;display:flex}.chat-empty .assistant-mark{width:50px;height:50px}.chat-empty h2{margin:12px 0 4px;font-size:18px}.chat-empty p{max-width:280px;color:var(--muted);margin:0;font-size:13px;line-height:1.55}.composer button:disabled{opacity:.45;cursor:not-allowed}.app-shell[data-view=assistant]{grid-template-columns:var(--nav-width) minmax(0,1fr);grid-template-areas:"nav assistant"}.app-shell[data-view=assistant] .workspace,.app-shell[data-view=assistant] .assistant-restore{display:none}.app-shell[data-view=assistant] .assistant-pane{opacity:1;visibility:visible;pointer-events:auto;width:auto;height:calc(100vh - 24px);margin:12px 18px 12px 16px;padding:26px 30px 24px;transform:none}.app-shell[data-view=assistant] .assistant-pane>header,.app-shell[data-view=assistant] .messages,.app-shell[data-view=assistant] .quick-actions,.app-shell[data-view=assistant] .composer{width:100%;max-width:1120px;margin-left:auto;margin-right:auto}.app-shell[data-view=assistant] .assistant-title b{font-size:24px}.app-shell[data-view=assistant] .messages{padding:10px 7%}.app-shell[data-view=assistant] .chat-message>div{max-width:72%;font-size:14px}.app-shell[data-view=assistant] .composer{grid-template-columns:minmax(0,1fr) 46px;padding:9px}.app-shell[data-view=assistant] .composer>button{width:46px;height:46px}.app-shell[data-view=assistant] .composer textarea{height:72px;min-height:72px;max-height:72px;font-size:14px}.record-overlay,.global-modal{z-index:100;padding:18px calc(var(--assistant-width) + 12px) 18px calc(var(--nav-width) + 18px);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#23191452;place-items:center;animation:.15s fade-in;display:grid;position:fixed;inset:0}.record-panel{background:var(--panel);border-radius:22px;grid-template-rows:auto auto auto minmax(0,1fr);width:min(930px,100%);min-height:520px;max-height:calc(100vh - 36px);animation:.19s 55ms both panel-in;display:grid;overflow:hidden;box-shadow:0 28px 80px #1f151140}.record-header{justify-content:space-between;align-items:center;gap:12px;min-height:76px;padding:12px 16px;display:flex}.record-header>div:last-child{gap:7px;display:flex}.large-avatar{background:var(--accent);color:#fff;border-radius:15px;flex:0 0 48px;place-items:center;width:48px;height:48px;font-size:16px;font-weight:900;display:grid}.record-title-line{align-items:center;gap:8px;display:flex}.record-title-line h2{letter-spacing:-.03em;margin:0;font-size:21px}.record-header .person-cell small{font-size:12px}.modal-alert{margin:0 16px 8px}.record-tabs{border-bottom:1px solid var(--line);gap:18px;padding:0 15px;display:flex}.record-tabs button{min-height:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 2px;font-size:12px;font-weight:850}.record-tabs button.active{border-color:var(--accent);color:var(--accent)}.record-body{min-height:0;padding:16px;overflow:auto}.record-overview{grid-template-columns:1fr 1fr;gap:12px;display:grid}.record-overview>section,.record-section{border:1px solid var(--line);background:var(--panel-strong);border-radius:13px;padding:14px}.record-overview h3,.record-section h3{margin:0 0 10px;font-size:13px}.record-overview dl{margin:0}.record-overview dl>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;min-height:33px;display:flex}.record-overview dt{color:var(--muted);font-size:12px}.record-overview dd{margin:0;font-size:12px;font-weight:800}.record-overview .overview-wide{grid-column:1/-1}.upcoming-card{background:var(--soft);min-height:54px;color:var(--accent);border-radius:10px;align-items:center;gap:9px;padding:9px 11px;display:flex}.upcoming-card>div{flex:1;gap:3px;display:grid}.upcoming-card b{color:var(--ink);font-size:12px}.upcoming-card small{color:var(--muted);font-size:12px}.section-heading{justify-content:space-between;align-items:flex-start;min-height:50px;display:flex}.section-heading h3{margin:0}.section-heading p{color:var(--muted);margin:3px 0 0;font-size:12px}.record-list-row{border-top:1px solid var(--line);min-height:56px;color:var(--accent);align-items:center;gap:9px;padding:8px 4px;display:flex}.record-list-row>div{flex:1;gap:3px;min-width:0;display:grid}.record-list-row b{color:var(--ink);font-size:12px}.record-list-row small{color:var(--muted);font-size:12px}.global-modal{z-index:120;padding:18px}.create-dialog,.form-dialog{background:var(--panel);border-radius:20px;grid-template-rows:auto minmax(0,1fr) auto;width:min(650px,100vw - 32px);max-height:calc(100vh - 36px);animation:.19s panel-in;display:grid;overflow:hidden;box-shadow:0 28px 80px #1f151147}.create-dialog>header,.form-dialog>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:68px;padding:13px 16px;display:flex}.create-dialog h2,.form-dialog h2{margin:0;font-size:19px}.create-dialog header p,.form-dialog header p{color:var(--muted);margin:3px 0 0;font-size:12px}.create-body,.form-dialog-body{grid-template-columns:1fr 1fr;gap:13px;min-height:0;padding:16px;display:grid;overflow-y:auto}.create-dialog>footer,.form-dialog>footer{border-top:1px solid var(--line);justify-content:flex-end;gap:7px;min-height:62px;padding:10px 16px;display:flex}.availability-ok{background:var(--success);border-radius:10px;gap:8px;padding:10px;display:flex}@supports (color:color-mix(in lab,red,red)){.availability-ok{background:color-mix(in srgb,var(--success) 10%,transparent)}}.availability-ok{color:var(--success)}.availability-ok>div{gap:3px;display:grid}.availability-ok b{color:var(--ink);font-size:12px}.availability-ok span{color:var(--muted);font-size:12px}.form-dialog{width:min(620px,100vw - 32px)}.form-dialog>header>div{align-items:center;gap:10px;display:flex}.form-dialog-body{grid-template-columns:1fr}.form-version-note{background:var(--soft);color:var(--success);border-radius:10px;gap:8px;padding:10px;font-size:12px;display:flex}.choice-row{gap:6px;display:flex}.choice-row button{border:1px solid var(--line);background:var(--panel);min-width:70px;height:35px;color:var(--muted);border-radius:9px;font-size:12px;font-weight:800}.choice-row button.selected{border-color:var(--accent);background:var(--accent)}@supports (color:color-mix(in lab,red,red)){.choice-row button.selected{background:color-mix(in srgb,var(--accent) 9%,var(--panel))}}.choice-row button.selected{color:var(--accent)}.signature-pad{border:1px dashed var(--line);border-radius:11px;flex-direction:column;justify-content:center;align-items:center;min-height:85px;padding:13px;display:flex}.signature-pad span{color:var(--accent);font-family:Segoe Script,cursive;font-size:25px}.signature-pad small{color:var(--muted);margin-top:6px;font-size:12px}.acknowledge{align-items:start;grid-template-columns:17px 1fr!important}.acknowledge input{margin:1px 0 0;min-height:auto!important}.acknowledge span{line-height:1.5;color:var(--muted)!important;text-transform:none!important;font-size:12px!important;font-weight:600!important}.toast{z-index:20000;color:#fffaf1;background:#231c18;border-radius:14px;align-items:center;gap:9px;max-width:min(600px,100vw - 32px);min-height:49px;padding:8px 9px 8px 11px;font-size:12px;font-weight:600;animation:.18s panel-in;display:flex;position:fixed;top:18px;left:50%;translate:-50%;box-shadow:0 16px 45px #1f151147}.toast>span{background:#ffffff1a;border-radius:9px;place-items:center;width:28px;height:28px;display:grid}.toast button{color:#fff;opacity:.7;background:0 0;border:0;margin-left:5px}.mobile-actions{display:none}@keyframes fade-in{0%{opacity:0}}@keyframes panel-in{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:none}}@media(min-width:861px){body:has(.record-overlay) .primary-nav,body:has(.record-overlay) .workspace{filter:blur(8px)saturate(.85)}body:has(.app-shell[data-assistant-collapsed=true]):has(.record-overlay) .record-overlay{padding:18px}body:has(.app-shell[data-assistant-collapsed=true]):has(.record-overlay) .record-panel{width:min(1150px,100vw - 36px)}}@media(max-width:1400px){.dashboard-layout{grid-template-columns:minmax(0,1.2fr) minmax(250px,.8fr)}.metric-table{grid-template-columns:repeat(2,1fr)}.communications-layout{grid-template-columns:220px minmax(310px,1fr)}.conversation-context{display:none}.staff-roster-head,.staff-row{grid-template-columns:minmax(170px,1.25fr) minmax(125px,.9fr) minmax(105px,.75fr) 94px 30px;gap:11px}}@media(max-width:1180px){.view-header{min-height:74px}.kpi-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-layout{grid-template-columns:1fr}.today-card{grid-row:auto}.flow-card{grid-column:auto}.attention-card{display:none}.clinical-layout,.report-grid{grid-template-columns:1fr}.clinical-side{grid-template-columns:1fr 1fr}.schedule-controls .search{display:none}.settings-list article{grid-template-columns:34px minmax(120px,1fr) minmax(100px,1fr) 60px 28px}.settings-list article>div:nth-of-type(3),.settings-list article>div:nth-of-type(4){display:none}.forms-list article{grid-template-columns:34px minmax(150px,1fr) minmax(120px,1fr) 60px 28px}}@media(max-width:860px)and (pointer:coarse){.mobile-actions{z-index:80;border:1px solid var(--line);background:var(--panel);border-radius:18px;grid-template-columns:1fr 1fr 58px 1fr 1fr;align-items:center;width:min(420px,100vw - 24px);height:58px;padding:5px 9px;display:grid;position:fixed;bottom:10px;left:50%;transform:translate(-50%);box-shadow:0 14px 35px #1f151133}.mobile-actions button{height:46px;color:var(--muted);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:12px;display:flex}.mobile-actions .mobile-new{background:var(--accent);color:#fff;border-radius:15px;justify-self:center;width:48px;height:48px}.workspace-surface{padding:15px 15px 78px}.app-shell[data-view=assistant]{grid-template-columns:72px minmax(0,1fr);grid-template-areas:"nav assistant"}.app-shell[data-view=assistant] .assistant-pane{height:calc(100vh - 16px);margin:8px;padding:17px 15px 78px}.view-actions{flex-wrap:wrap;justify-content:flex-end}.flow-board{grid-template-columns:repeat(4,240px)}.billing-layout,.team-layout,.settings-layout{grid-template-columns:1fr}.settings-layout>aside{border-right:0;border-bottom:1px solid var(--line);gap:4px;display:flex;overflow-x:auto}.settings-layout>aside button{width:max-content;padding:0 10px}.settings-layout>aside button svg{display:none}.communications-layout{grid-template-columns:190px minmax(300px,1fr)}.record-overlay{padding:10px}.record-panel{width:100%;max-height:calc(100vh - 20px)}.clinical-side{grid-template-columns:1fr}.report-scope-bar{flex-wrap:wrap}.report-scope-bar>div{width:100%}.staff-roster-head{display:none}.staff-row{grid-template-columns:minmax(150px,1fr) minmax(92px,.65fr) minmax(92px,.65fr) auto 30px;gap:10px}.staff-detail small{display:block}}@media(max-width:600px)and (pointer:coarse){.workspace-surface{padding:13px 12px 78px}.view-header{flex-direction:column;min-height:110px}.view-actions{justify-content:flex-start;width:100%}.view-actions .primary-button{margin-left:auto}.kpi-grid.four{grid-template-columns:1fr 1fr}.kpi-card{min-height:108px;padding:13px}.dashboard-layout{display:block}.dashboard-layout>*{margin-bottom:10px}.flow-card{display:none}.table-toolbar{flex-wrap:wrap}.table-toolbar .table-search{width:100%}.table-toolbar .scope-chip{margin-left:0}.data-table{min-width:760px}.schedule-controls{flex-wrap:wrap}.schedule-controls .segmented{width:100%}.schedule-controls .segmented button{flex:1}.communications-layout{grid-template-columns:1fr}.conversation-list{display:none}.metric-table{grid-template-columns:1fr}.report-scope-bar button{flex:1}.timeclock-card{flex-direction:column;align-items:flex-start;gap:12px}.staff-row{grid-template-columns:minmax(0,1fr) auto 30px;align-items:start;padding:12px}.staff-identity{grid-column:1}.staff-row>.status-pill{grid-area:1/2}.staff-menu{grid-area:1/3}.staff-detail{padding-left:41px;grid-column:1/-1!important}.settings-content{padding:12px}.settings-heading{flex-direction:column;min-height:90px}.settings-list article{grid-template-columns:34px 1fr 55px 28px}.settings-list article>div:nth-of-type(n+2){display:none}.record-overview,.create-body,.form-grid{grid-template-columns:1fr}.record-overview .overview-wide,.create-body .full,.form-grid .full{grid-column:1}.record-tabs{gap:12px;overflow-x:auto}.record-header .secondary-button{display:none}.clinical-patient-picker{max-width:calc(100vw - 48px)}.clinical-patient-menu{width:calc(100vw - 48px)}.clinical-layout{display:block}.clinical-side{margin-top:10px}.odontogram{min-width:650px}.odontogram-card{overflow-x:auto}.tooth-detail{min-width:650px}.app-shell[data-view=assistant] .chat-message>div{max-width:85%}}@media(max-width:1100px)and (pointer:fine){:root{--nav-width:72px;--assistant-pane:360px;--assistant-width:calc(var(--assistant-pane) + 25px)}.primary-nav{padding:18px 8px 12px}.brand{justify-content:center;height:60px;padding:0 0 16px}.brand-logo--wordmark,.nav-item-label,.nav-label,.nav-badge{display:none}.brand-logo--icon{display:block}.nav-item{justify-content:center;min-height:40px;padding:0}.nav-group+.nav-group{margin-top:4px}.user-card{justify-content:center;padding:6px}.user-card>span:nth-child(2),.user-card>button{display:none}.assistant-pane{gap:10px;padding:16px}.assistant-head-actions .icon-button:first-child{display:none}.workspace{padding-left:10px}.workspace-surface{padding:18px}}@media(max-width:700px)and (pointer:fine){:root{--nav-width:64px;--assistant-width:60px;--assistant-pane:0px}.app-shell:not([data-view=assistant]),.app-shell[data-assistant-collapsed=false]:not([data-view=assistant]){grid-template-columns:var(--nav-width) minmax(0,1fr) var(--assistant-width)}.app-shell:not([data-view=assistant]) .assistant-pane{visibility:hidden;opacity:0;pointer-events:none;width:0;margin:0;padding-left:0;padding-right:0;transform:translate(24px)}.app-shell:not([data-view=assistant]) .assistant-restore{visibility:visible;opacity:1;pointer-events:auto;transition-delay:0s;transform:none}.app-shell[data-view=assistant]{grid-template-columns:var(--nav-width) minmax(0,1fr)}.app-shell[data-view=assistant] .assistant-pane{height:calc(100vh - 16px);margin:8px 10px 8px 8px;padding:18px}.app-shell[data-view=assistant] .messages{padding:8px 2%}.record-overlay{padding:12px 68px 12px 72px}}@media(max-height:850px)and (pointer:fine){.primary-nav{padding-top:12px;padding-bottom:10px}.brand{height:56px;padding:0 10px 14px}.primary-nav nav{padding:5px 0}.nav-item{min-height:34px;margin:1px 0}.nav-label{margin:3px 13px 2px}.nav-group+.nav-group{margin-top:3px}.user-card{min-height:46px;padding:6px 8px}}@media(max-height:650px)and (pointer:fine){.primary-nav{padding-top:6px;padding-bottom:6px}.brand{height:44px;padding:0 6px 8px}.primary-nav nav{padding:1px 0}.nav-label{display:none}.nav-group+.nav-group{margin-top:1px}.nav-item{min-height:31px;margin:0}.user-card{min-height:40px;padding:4px 6px}}.app-shell :where(button,span,em,small,p,dd,dt,time,input,textarea),.record-overlay :where(button,span,em,small,p,dd,dt,time,input,textarea),.global-modal :where(button,span,em,small,p,dd,dt,time,input,textarea),.login-shell :where(button,span,small,p,input){font-weight:600!important}.app-shell :where(b,strong,h1,h2,h3),.record-overlay :where(b,strong,h1,h2,h3),.global-modal :where(b,strong,h1,h2,h3),.login-shell :where(b,strong,h1,h2,h3){font-weight:700!important}.primary-nav{padding:12px 13px 13px}.brand{height:54px;padding:2px 10px 10px}.primary-nav nav{flex-direction:column;gap:4px;padding:8px 0;display:flex}.nav-group{display:contents}.nav-item{gap:12px;min-height:40px;margin:0;padding:0 13px}.user-card{background:var(--soft);border:0;border-radius:13px;min-height:48px;padding:7px 8px}.user-card>span:nth-child(2){flex:1;min-width:0;display:block}.user-card b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.user-avatar{border:1px solid var(--line);background:var(--panel-strong);width:34px;height:34px;color:var(--accent);border-radius:11px;flex:0 0 34px}.user-card>button{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:9px;place-items:center;margin:0;display:grid}.task-row.done{opacity:.74}.task-row.pending{background:var(--gold)}@supports (color:color-mix(in lab,red,red)){.task-row.pending{background:color-mix(in srgb,var(--gold) 8%,var(--panel-strong))}}.task-row.pending{box-shadow:inset 3px 0 0 var(--gold)}.task-toggle[aria-pressed=true]{border-color:var(--success);background:var(--success)}@supports (color:color-mix(in lab,red,red)){.task-toggle[aria-pressed=true]{background:color-mix(in srgb,var(--success) 12%,var(--panel))}}.record-panel{width:min(1180px,100%);min-height:min(700px,100vh - 36px)}.create-dialog{width:min(1120px,100vw - 48px);min-height:min(700px,100vh - 36px)}.form-dialog{width:min(900px,100vw - 48px);min-height:min(640px,100vh - 36px)}.create-dialog>header,.form-dialog>header{min-height:88px;padding:16px 24px}.create-dialog>footer,.form-dialog>footer{min-height:72px;padding:12px 24px}.create-dialog h2,.form-dialog h2{font-size:23px}.signature-pad span{letter-spacing:.01em;font-family:inherit;font-style:italic;font-weight:650}@media(max-width:1100px)and (pointer:fine){.primary-nav{padding:10px 8px}.brand{height:48px;padding:0 0 8px}.primary-nav nav{gap:3px}.nav-item{min-height:38px}.assistant-action-button{justify-content:center;width:32px;padding:0}.assistant-action-button span{display:none}.patient-intake-body{grid-template-columns:1fr}.insurance-intake,.intake-note{grid-column:1}}@media(max-width:760px){.create-dialog,.form-dialog{width:calc(100vw - 20px);min-height:0;max-height:calc(100vh - 20px)}.create-dialog>header,.form-dialog>header{min-height:76px;padding:13px 15px}}@media(max-height:850px)and (pointer:fine){.primary-nav{padding-top:8px;padding-bottom:8px}.brand{height:46px;padding:0 8px 7px}.primary-nav nav{gap:2px;padding:5px 0}.nav-item{min-height:35px;margin:0}.user-card{min-height:44px;padding:5px 7px}}@media(max-height:650px)and (pointer:fine){.primary-nav{padding-top:5px;padding-bottom:5px}.brand{height:39px;padding:0 5px 5px}.primary-nav nav{gap:1px;padding:1px 0}.nav-item{min-height:30px}.user-card{min-height:38px;padding:3px 5px}}.app-shell[data-view=assistant] .assistant-column>.assistant-pane{width:100%;height:100%;margin:0}@media(max-width:860px)and (pointer:coarse){.assistant-column{z-index:20;pointer-events:none;height:auto;padding:0;position:fixed;inset:0}.assistant-column>.assistant-pane{pointer-events:auto}}@media(max-width:700px)and (pointer:fine){.app-shell[data-view=assistant] .assistant-column>.assistant-pane{width:100%;height:100%;margin:0}}.schedule-header{flex:none;grid-template-columns:minmax(190px,.72fr) minmax(285px,1fr) auto;align-items:center;gap:18px;min-height:72px;display:grid}.schedule-heading{min-width:0}.schedule-heading h1{letter-spacing:-.04em;margin:2px 0 1px;font-size:26px;line-height:1}.schedule-heading p{color:var(--muted);margin:5px 0 0;font-size:13px}.schedule-overview{background:var(--soft);border-radius:16px;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;height:54px;padding:6px;display:grid}.schedule-overview>span{border-right:1px solid var(--line);flex-direction:column;justify-content:center;gap:2px;min-width:0;padding:2px 12px;display:flex}.schedule-overview>span:last-child{border-right:0}.schedule-overview b{font-size:16px;line-height:1}.schedule-overview small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.schedule-header-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.schedule-header-actions .primary-button{margin-left:0}.schedule-view>.schedule-controls{min-height:44px}.schedule-view>.schedule-controls .search.wide{flex:320px;width:auto;min-width:180px;max-width:none;margin-left:0}.modern-schedule .schedule-grid.full{background-position:0 56px;background-size:100% 28px;grid-template-rows:56px repeat(40,28px);min-height:1176px}.modern-schedule .grid-corner,.modern-schedule .resource-head{min-height:56px}.modern-appointment.short{gap:1px;padding:5px 7px}.modern-appointment.short>b,.modern-appointment.short>.appointment-procedure{line-height:1.15}.modern-appointment.short>.appointment-footer{padding-top:0;line-height:1.15}@media(max-width:1400px){.schedule-header{grid-template-columns:minmax(180px,.7fr) minmax(245px,1fr) auto;gap:12px}.schedule-overview>span{padding:2px 8px}}@media(max-width:1180px){.schedule-header{grid-template-columns:minmax(0,1fr) auto;align-content:center;min-height:124px}.schedule-overview{grid-area:2/1/auto/-1;height:48px}}@media(max-width:700px){.schedule-header{grid-template-columns:1fr;gap:10px;min-height:0}.schedule-overview{grid-area:auto/1}.schedule-header-actions{justify-content:space-between}}.dashboard-view>.dashboard-layout{grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr)}.card-header-actions{align-items:center;gap:7px;display:flex}.dashboard-flow-board{grid-template-columns:repeat(4,minmax(185px,1fr));gap:9px;padding:12px 12px 13px;display:grid;overflow-x:auto}.dashboard-flow-lane{border:1px solid var(--line);background:var(--soft);border-radius:13px;min-width:185px;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.dashboard-flow-lane{background:color-mix(in srgb,var(--soft) 32%,var(--panel-strong))}}.dashboard-flow-lane>header{border-bottom:1px solid var(--line);align-items:center;gap:7px;min-height:38px;padding:0 10px;display:flex}.dashboard-flow-lane>header b{flex:1;font-size:12px}.dashboard-flow-lane>header em{background:var(--soft);min-width:21px;height:21px;color:var(--muted);border-radius:999px;place-items:center;font-size:12px;font-style:normal;display:grid}.dashboard-flow-lane>div{align-content:start;gap:5px;min-height:76px;padding:5px;display:grid}.dashboard-flow-lane article{background:var(--panel-strong);border-radius:10px;grid-template-columns:30px minmax(0,1fr);align-items:center;gap:7px;min-width:0;min-height:58px;padding:7px;display:grid;box-shadow:0 2px 7px #2d1d150d}.dashboard-flow-lane article>.patient-avatar{grid-row:1/3;width:30px;height:30px}.dashboard-flow-lane article>span:nth-child(2){gap:2px;min-width:0;display:grid}.dashboard-flow-lane article b,.dashboard-flow-lane article small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dashboard-flow-lane article b{font-size:12px}.dashboard-flow-lane article small{color:var(--muted);font-size:12px}.dashboard-flow-lane article>button{width:max-content;color:var(--accent);cursor:pointer;background:0 0;border:0;grid-column:2;align-items:center;gap:2px;padding:0;font-size:12px;display:flex}.patient-table{min-width:1080px}.patient-table tbody tr{cursor:pointer}.patient-table tbody tr:hover{background:var(--gold)}@supports (color:color-mix(in lab,red,red)){.patient-table tbody tr:hover{background:color-mix(in srgb,var(--gold) 6%,transparent)}}.tooth-type-guide{border:1px solid var(--line);background:var(--soft);border-radius:13px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 14px;padding:8px;display:grid}@supports (color:color-mix(in lab,red,red)){.tooth-type-guide{background:color-mix(in srgb,var(--soft) 42%,var(--panel-strong))}}.tooth-type-guide>span{border-right:1px solid var(--line);gap:3px;min-width:0;padding:4px 10px;display:grid}.tooth-type-guide>span:last-child{border-right:0}.tooth-type-guide b{font-size:13px}.tooth-type-guide small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.odontogram{min-height:310px;padding:18px}.tooth-detail{flex-wrap:wrap;row-gap:9px;min-height:88px}.tooth-detail>div{flex:112px}@media(max-width:1180px){.dashboard-view>.dashboard-layout{grid-template-columns:1fr}.dashboard-view .attention-card{display:flex}.tooth-type-guide{grid-template-columns:1fr 1fr}.tooth-type-guide>span:nth-child(2){border-right:0}.tooth-type-guide>span:nth-child(-n+2){border-bottom:1px solid var(--line)}}.insurance-table{min-width:1220px}.insurance-table tbody tr{cursor:pointer}.insurance-table tbody tr:hover{background:var(--gold)}@supports (color:color-mix(in lab,red,red)){.insurance-table tbody tr:hover{background:color-mix(in srgb,var(--gold) 6%,transparent)}}.insurance-view .status-pill{font-weight:700!important}.insurance-directory{grid-template-rows:auto auto auto minmax(0,1fr);gap:12px;min-height:0;display:grid;overflow:hidden}.insurance-directory-summary{border:1px solid var(--line);background:var(--panel);min-height:70px;box-shadow:var(--shadow-soft);border-radius:17px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;padding:0 18px;display:grid}.insurance-directory-summary article{justify-content:space-between;align-items:baseline;gap:12px;min-width:0;padding:3px 18px;display:flex}.insurance-directory-summary article+article{border-left:1px solid var(--line)}.insurance-directory-summary span{color:var(--muted);font-size:13px;font-weight:700}.insurance-directory-summary strong{color:var(--ink);font-size:23px;font-weight:800}.insurance-directory-tools{justify-content:space-between;align-items:center;gap:14px;min-height:45px;display:flex}.insurance-directory-tools .view-tabs{flex:none}.insurance-directory-tools .view-tabs button{gap:7px}.insurance-directory-tools .view-tabs button span{background:var(--accent);border-radius:999px;place-items:center;min-width:21px;height:21px;padding:0 6px;display:inline-grid}@supports (color:color-mix(in lab,red,red)){.insurance-directory-tools .view-tabs button span{background:color-mix(in srgb,var(--accent) 9%,var(--soft))}}.insurance-directory-tools .view-tabs button span{font-size:12px;font-weight:800}.insurance-directory-tools .table-search{background:var(--panel);width:min(430px,48%)}.insurance-directory-table{min-height:0;overflow:auto}.insurance-plan-table{min-width:910px}.insurance-coverage-table{min-width:1120px}.insurance-plan-table tbody tr,.insurance-coverage-table tbody tr{cursor:pointer}.insurance-plan-table tbody tr:hover,.insurance-coverage-table tbody tr:hover{background:var(--gold)}@supports (color:color-mix(in lab,red,red)){.insurance-plan-table tbody tr:hover,.insurance-coverage-table tbody tr:hover{background:color-mix(in srgb,var(--gold) 6%,transparent)}}.insurance-record-primary{gap:3px;min-width:0;display:grid}.insurance-record-primary b{color:var(--ink);font-size:13px;font-weight:800}.insurance-record-primary small{color:var(--muted);font-size:12px;font-weight:650}.insurance-editor{width:min(830px,100vw - 32px)}.flat-dialog-icon{background:var(--accent);border-radius:11px;place-items:center;width:38px;height:38px;display:grid}@supports (color:color-mix(in lab,red,red)){.flat-dialog-icon{background:color-mix(in srgb,var(--accent) 11%,var(--soft))}}.flat-dialog-icon{color:var(--accent)}.plan-enrollment-list{border:1px solid var(--line);background:var(--panel-strong);border-radius:14px;padding:13px}.plan-enrollment-list>header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;display:flex}.plan-enrollment-list>header>div{gap:2px;display:grid}.plan-enrollment-list>header b{font-size:13px;font-weight:800}.plan-enrollment-list>header small{color:var(--muted);font-size:12px;font-weight:650}.compact-button{min-height:32px!important;padding:0 10px!important}.plan-enrollment-list>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.plan-enrollment-list>div>button{border:1px solid var(--line);background:var(--panel);min-width:0;min-height:48px;color:var(--ink);text-align:left;cursor:pointer;border-radius:11px;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 8px;display:grid}.plan-enrollment-list>div>button>span:nth-child(2){gap:2px;min-width:0;display:grid}.plan-enrollment-list>div>button b,.plan-enrollment-list>div>button small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.plan-enrollment-list>div>button b{font-size:13px;font-weight:800}.plan-enrollment-list>div>button small{color:var(--muted);font-size:12px;font-weight:650}.history-button{border:1px solid var(--accent);width:100%;min-height:62px;padding:10px 11px}@supports (color:color-mix(in lab,red,red)){.history-button{border:1px solid color-mix(in srgb,var(--accent) 14%,var(--line))}}.history-button{background:var(--accent);border-radius:14px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;display:grid}@supports (color:color-mix(in lab,red,red)){.history-button{background:color-mix(in srgb,var(--accent) 4%,var(--panel-strong))}}.history-button{color:var(--ink);text-align:left;cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s;box-shadow:0 6px 18px #31221b12}.history-button:hover{border-color:var(--accent);transform:translateY(-1px)}@supports (color:color-mix(in lab,red,red)){.history-button:hover{border-color:color-mix(in srgb,var(--accent) 34%,var(--line))}}.history-button:hover{box-shadow:0 10px 24px #31221b1c}.conversation-context .history-button{grid-template-columns:36px minmax(0,1fr);gap:10px;padding:12px}.conversation-context .history-button b,.conversation-context .history-button small{white-space:normal;line-height:1.4}.conversation-context .history-open{grid-column:1/-1;justify-content:space-between;min-height:32px}.history-icon{background:var(--accent);border-radius:11px;place-items:center;width:36px;height:36px;display:grid}@supports (color:color-mix(in lab,red,red)){.history-icon{background:color-mix(in srgb,var(--accent) 10%,var(--soft))}}.history-icon{color:var(--accent)}.history-button>span:nth-child(2){gap:2px;min-width:0;display:grid}.history-button b{font-size:13px;font-weight:800}.history-button small{color:var(--muted);font-size:12px}.history-open{background:var(--panel);min-height:28px;color:var(--accent);border-radius:8px;align-items:center;gap:3px;padding:0 8px;font-size:12px;font-weight:800;display:inline-flex}.message-composer button{cursor:pointer;box-shadow:0 5px 13px var(--accent);place-items:center;display:grid}@supports (color:color-mix(in lab,red,red)){.message-composer button{box-shadow:0 5px 13px color-mix(in srgb,var(--accent) 24%,transparent)}}.message-composer button svg{transform:translate(-1px,1px)}.communication-history-dialog,.team-dialog,.settings-editor,.workspace-action-dialog{background:var(--panel);border-radius:22px;grid-template-rows:auto minmax(0,1fr) auto;width:min(680px,100vw - 32px);max-height:calc(100vh - 36px);animation:.19s panel-in;display:grid;overflow:hidden;box-shadow:0 28px 80px #1f151147}.communication-history-dialog>header,.team-dialog>header,.settings-editor>header,.workspace-action-dialog>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:78px;padding:13px 18px;display:flex}.communication-history-dialog>header>div,.team-dialog>header>div,.settings-editor>header>div,.workspace-action-dialog>header>div{align-items:center;gap:10px;display:flex}.communication-history-dialog h2,.team-dialog h2,.settings-editor h2,.workspace-action-dialog h2{margin:0;font-size:20px}.communication-history-dialog header p,.team-dialog header p,.settings-editor header p,.workspace-action-dialog header p{color:var(--muted);margin:3px 0 0;font-size:12px}.communication-history-list{min-height:0;padding:8px 18px;overflow-y:auto}.communication-history-list article{border-bottom:1px solid var(--line);grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:72px;padding:10px 0;display:grid}.communication-history-list article>span{background:var(--soft);width:34px;height:34px;color:var(--accent);border-radius:10px;place-items:center;display:grid}.communication-history-list article>div{gap:2px;display:grid}.communication-history-list time,.communication-history-list p{color:var(--muted);margin:0;font-size:12px}.communication-history-list b{font-size:13px}.communication-history-dialog>footer,.team-dialog>footer,.settings-editor>footer,.workspace-action-dialog>footer{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:8px;min-height:66px;padding:10px 18px;display:flex}.team-dialog>footer>span{flex:1}.team-dialog-body,.settings-editor-body,.workspace-action-body{grid-template-columns:1fr 1fr;gap:13px;min-height:0;padding:18px;display:grid;overflow-y:auto}.team-dialog-body label,.settings-editor-body label,.workspace-action-body label{gap:6px;display:grid}.team-dialog-body label>span,.settings-editor-body label>span,.workspace-action-body label>span{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:700}.team-dialog-body input,.team-dialog-body select,.settings-editor-body input,.workspace-action-body input{border:1px solid var(--line);background:var(--panel-strong);width:100%;min-height:42px;color:var(--ink);border-radius:11px;outline:0;padding:9px 11px;font-size:13px}.workspace-action-body .settings-notice{grid-column:1/-1;margin:0}.catalog-notice{margin:0 0 12px}.catalog-list{border:1px solid var(--line);border-radius:14px;overflow:hidden}.catalog-list article{border-bottom:1px solid var(--line);grid-template-columns:34px minmax(180px,1.25fr) minmax(120px,.75fr) minmax(130px,.85fr) 70px 30px;align-items:center;gap:10px;min-height:64px;padding:8px 11px;display:grid}.catalog-list article:last-child{border-bottom:0}.catalog-list article>div,.catalog-list article>span:not(.room-icon):not(.status-pill){gap:3px;min-width:0;display:grid}.catalog-list article b{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.catalog-list article small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.catalog-list article>button{color:var(--muted);cursor:pointer;background:0 0;border:0}.reports-view{scrollbar-gutter:stable;padding-bottom:32px;overflow-y:auto}.reports-view>*{flex-shrink:0}.location-search{z-index:2;border:1px solid var(--line);background:var(--panel);height:40px;color:var(--muted);border-radius:11px;align-items:center;gap:8px;margin:0 3px 4px;padding:0 10px;display:flex;position:sticky;top:0}.location-search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:13px}.location-options{gap:3px;max-height:260px;display:grid;overflow-y:auto}.compact-action,.view-actions>.primary-button,.view-actions>.secondary-button{border-radius:10px;height:36px;min-height:36px;padding:0 12px;font-size:13px}.settings-add-button{background:var(--accent);border:0;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:36px;padding:0 13px;display:inline-flex}@supports (color:color-mix(in lab,red,red)){.settings-add-button{background:color-mix(in srgb,var(--accent) 11%,var(--soft))}}.settings-add-button{color:var(--accent);cursor:pointer;font-size:13px;font-weight:700;box-shadow:0 5px 14px #40261c14}.settings-add-button:hover{background:var(--accent)}@supports (color:color-mix(in lab,red,red)){.settings-add-button:hover{background:color-mix(in srgb,var(--accent) 17%,var(--soft))}}.hours-settings{align-content:start;gap:12px;display:grid}.hours-settings>.view-tabs{width:max-content}.hours-list,.closure-list{border:1px solid var(--line);border-radius:14px;overflow:hidden}.hours-list article{border-bottom:1px solid var(--line);grid-template-columns:110px 40px minmax(110px,160px) 22px minmax(110px,160px);align-items:center;gap:10px;min-height:58px;padding:7px 12px;display:grid}.hours-list article:last-child,.closure-list article:last-child{border-bottom:0}.hours-list article>b{font-size:13px}.hours-list input:not([type=checkbox]){border:1px solid var(--line);background:var(--panel-strong);width:100%;min-height:36px;color:var(--ink);border-radius:9px;padding:0 9px;font-size:12px}.hours-list article>span{color:var(--muted);text-align:center;font-size:12px}.hours-list .hours-closed{text-align:left;grid-column:3/6}.day-toggle{width:34px;height:20px;position:relative}.day-toggle input{opacity:0;position:absolute}.day-toggle i{background:var(--line);border-radius:999px;position:absolute;inset:0}.day-toggle i:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #00000026}.day-toggle input:checked+i{background:var(--success)}.day-toggle input:checked+i:after{transform:translate(14px)}.closure-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:54px;padding:8px 11px;display:flex}.closure-toolbar p{color:var(--muted);margin:0;font-size:12px}.closure-list article{border-bottom:1px solid var(--line);grid-template-columns:34px minmax(0,1fr) auto 30px;align-items:center;gap:10px;min-height:56px;padding:8px 11px;display:grid}.closure-list article>b{font-size:12px}.closure-list article>button{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;display:grid}.operatory-notice{align-items:center;margin:0 0 12px}.operatory-notice>div{flex:1;min-width:0}.operatory-notice>.settings-add-button{flex:none}.feature-orb{background:var(--soft);color:var(--accent);box-shadow:none}.workspace-action-dialog .feature-orb{background:var(--accent);color:#fff}.global-modal{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#23191457}.global-modal>*,.record-overlay>*{z-index:1;filter:none;position:relative}.workspace-surface{position:relative}.collapsed-location-picker{z-index:35;width:238px;position:absolute;top:15px;right:18px}.collapsed-location-picker .location-trigger{border:1px solid var(--line);border-radius:13px;height:42px;box-shadow:0 6px 17px #311f1714}.collapsed-location-picker .location-icon{border-radius:9px;flex-basis:30px;width:30px;height:30px}.app-shell[data-assistant-collapsed=true] .view-header{padding-right:252px}.app-shell[data-assistant-collapsed=true] .assistant-column{visibility:hidden;opacity:0;pointer-events:none;transform:translate(36px)}.tooth-type-guide{margin-top:12px;padding:10px}.tooth-detail .primary-button,.tooth-detail .secondary-button,.view-actions>.primary-button,.view-actions>.secondary-button,.view-actions>.scope-button,.card-header-actions>.primary-button,.card-header-actions>.secondary-button{border-radius:10px;height:36px;min-height:36px;padding:0 12px;font-size:13px}.settings-heading{align-items:flex-start;min-height:60px;margin-bottom:12px}.settings-save{height:38px;min-height:38px;padding:0 15px}.operatory-add-button{background:var(--accent);color:#fff;box-shadow:0 7px 17px var(--accent)}@supports (color:color-mix(in lab,red,red)){.operatory-add-button{box-shadow:0 7px 17px color-mix(in srgb,var(--accent) 22%,transparent)}}.operatory-add-button:hover{background:var(--accent-dark)}.closure-list article>span:nth-child(2){gap:3px;min-width:0;display:grid}.closure-list article>span:nth-child(2) b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.closure-list article>span:nth-child(2) small{color:var(--muted);font-size:12px}.team-dialog-body select,.settings-editor-body select,.workspace-action-body select{border:1px solid var(--line);background:var(--panel-strong);width:100%;min-height:42px;color:var(--ink);border-radius:11px;outline:0;padding:9px 11px;font-size:13px}.settings-editor-body .full-field,.workspace-action-body .full-field{grid-column:1/-1}.checkbox-field{border:1px solid var(--line);background:var(--panel-strong);border-radius:11px;grid-column:1/-1;align-items:center;min-height:42px;padding:10px 12px;flex-direction:row!important;gap:9px!important;display:flex!important}.checkbox-field input{width:16px;min-height:16px;margin:0}.checkbox-field span{color:var(--ink)!important;text-transform:none!important;letter-spacing:0!important;font-size:13px!important}.treatment-plan-action{grid-template-columns:1fr 1fr}.global-modal{-webkit-backdrop-filter:none;backdrop-filter:none}.team-layout{display:none}.team-roster{margin-top:0}.view-tabs button{font-size:12.5px;font-weight:700!important}.nav-badge,.conversation-row em,.inbox-tabs span,.filter-button>span{font-weight:700!important}.search{border-color:var(--line)}@supports (color:color-mix(in lab,red,red)){.search{border-color:color-mix(in srgb,var(--line) 80%,var(--accent))}}.search{background:var(--soft)}@supports (color:color-mix(in lab,red,red)){.search{background:color-mix(in srgb,var(--soft) 58%,var(--panel-strong))}}.search{box-shadow:inset 0 1px #ffffff73}.search:focus-within{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.search:focus-within{border-color:color-mix(in srgb,var(--accent) 50%,var(--line))}}.search:focus-within{background:var(--panel-strong);box-shadow:0 0 0 3px var(--accent)}@supports (color:color-mix(in lab,red,red)){.search:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 9%,transparent)}}.claim-kind{color:var(--ink)!important;font-size:13px!important;font-weight:650!important}.filter-control{position:relative}.filter-popover{z-index:45;border:1px solid var(--line);background:var(--panel-strong);border-radius:16px;gap:11px;width:310px;padding:12px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 20px 50px #27181233}.filter-popover>header{justify-content:space-between;align-items:center;display:flex}.filter-popover>header>div{gap:2px;display:grid}.filter-popover b{font-size:13px}.filter-popover small{color:var(--muted);font-size:12px}.filter-popover label{gap:5px;display:grid}.filter-popover label>span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:700}.filter-popover select{border:1px solid var(--line);background:var(--panel);width:100%;min-height:39px;color:var(--ink);border-radius:10px;padding:0 10px}.filter-popover>footer{justify-content:space-between;align-items:center;gap:8px;padding-top:2px;display:flex}.plan-status-select{background:0 0;border:0;width:138px;min-height:0;padding:0}.plan-status-select .owned-combobox-trigger{min-height:34px;color:var(--accent);background:0 0;border:0}.plan-status-select .owned-combobox-menu,.owned-combobox-menu.plan-status-select{width:178px;max-height:none;left:auto;right:0}.plan-status-select .owned-combobox-menu>div,.owned-combobox-menu.plan-status-select>div{max-height:none;overflow-y:auto}button.plan-item{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0}button.plan-item:hover{background:var(--soft)}.plan-item.completed{opacity:.65}.plan-item.completed b{text-decoration:line-through}.settings-subtabs{width:max-content;margin-bottom:12px}.procedure-log{border:1px solid var(--line);border-radius:14px;overflow:auto}.procedure-log .data-table{min-width:820px}.procedure-log .data-table td{height:58px}.settings-editor-body label>small{color:var(--muted);font-size:12px;line-height:1.4}.assistant-column{transition:width .38s cubic-bezier(.22,.72,.18,1),opacity .22s,transform .38s cubic-bezier(.22,.72,.18,1),visibility}.app-shell[data-view=assistant] .assistant-pane>header{gap:12px;max-width:none}.assistant-location-picker{order:3;width:240px;margin-left:0}.assistant-location-picker .location-trigger{border:1px solid var(--line);height:44px;box-shadow:none;border-radius:13px}.assistant-location-picker .location-icon{border-radius:9px;flex-basis:30px;width:30px;height:30px}.app-shell[data-view=assistant] .assistant-head-actions{flex:none}.schedule-header{grid-template-columns:minmax(0,1fr) auto}.schedule-header-actions,.schedule-date-control,.report-date-control{position:relative}.schedule-calendar-button{height:40px;min-height:40px}.schedule-date-menu,.report-date-menu{z-index:50;border:1px solid var(--line);background:var(--panel-strong);border-radius:16px;gap:10px;width:280px;padding:12px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 20px 50px #27181233}.schedule-date-menu>header{justify-content:space-between;align-items:center;display:flex}.schedule-date-menu>header b{font-size:13px}.schedule-date-menu>input{border:1px solid var(--line);background:var(--panel);width:100%;min-height:42px;color:var(--ink);border-radius:10px;padding:0 10px}.schedule-date-menu>div{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.schedule-date-menu>div button,.report-date-menu>button{background:var(--soft);min-height:34px;color:var(--ink);cursor:pointer;border:0;border-radius:8px;padding:0 8px;font-size:12px;font-weight:700}.report-date-menu>button{justify-content:space-between;align-items:center;display:flex}.report-date-menu>button.active{background:var(--accent);color:#fff}.week-workspace{flex:1;grid-template-rows:auto minmax(0,1fr);gap:10px;min-height:0;display:grid}.week-summary{border:1px solid var(--line);background:var(--panel-strong);border-radius:14px;grid-template-columns:repeat(4,1fr);min-height:58px;display:grid;overflow:hidden}.week-summary>span{border-right:1px solid var(--line);gap:2px;padding:9px 13px;display:grid}.week-summary>span:last-child{border-right:0}.week-summary b{font-size:15px}.week-summary small{color:var(--muted);font-size:12px}.week-board{border:1px solid var(--line);background:var(--panel-strong);border-radius:17px;grid-template-columns:repeat(5,minmax(158px,1fr));min-width:820px;min-height:0;display:grid;overflow:auto}.week-board>section{border-right:1px solid var(--line);grid-template-rows:auto minmax(0,1fr) auto;min-width:0;display:grid}.week-board>section:last-child{border-right:0}.week-board>section.today{background:var(--accent)}@supports (color:color-mix(in lab,red,red)){.week-board>section.today{background:color-mix(in srgb,var(--accent) 3%,var(--panel-strong))}}.week-board>section.today{box-shadow:inset 0 3px 0 var(--accent)}.week-board>section>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:7px;min-height:62px;padding:9px 10px;display:flex}.week-board>section>header>span{gap:2px;display:grid}.week-board>section>header>span:last-child{text-align:right}.week-board>section>header b{font-size:13px}.week-board>section>header small{color:var(--muted);font-size:12px}.week-day-list{align-content:start;gap:6px;min-height:0;padding:6px;display:grid;overflow-y:auto}.week-day-list>button{border:1px solid var(--line);background:var(--panel);width:100%;min-height:86px;color:var(--ink);text-align:left;cursor:pointer;border-radius:11px;grid-template-columns:auto 3px minmax(0,1fr);gap:3px 7px;padding:8px;display:grid}.week-day-list>button:hover{border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.week-day-list>button:hover{border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}}.week-day-list>button:hover{box-shadow:0 5px 14px #2b1c1514}.week-day-list time{color:var(--muted);font-size:12px;font-weight:700}.week-tone{background:var(--accent);border-radius:3px;grid-row:1/3;width:3px;height:100%}.week-day-list>button>span:nth-child(3){gap:2px;min-width:0;display:grid}.week-day-list b{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.week-day-list small,.week-day-list em{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-style:normal;overflow:hidden}.week-day-list .status-pill{grid-column:3;width:max-content;margin-top:2px}.week-board>section>footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:6px;min-height:44px;padding:7px 9px;display:flex}.week-board>section>footer span{color:var(--success);align-items:center;gap:4px;font-size:12px;display:flex}.week-board>section>footer button{color:var(--accent);cursor:pointer;background:0 0;border:0;align-items:center;gap:3px;padding:0;font-size:12px;font-weight:700;display:flex}.office-list{max-height:240px;overflow-y:auto}button.office-row{border-style:solid;border-width:0 0 1px;border-color:var(--line);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;grid-template-columns:1fr auto 16px}button.office-row>div:last-of-type{grid-column:1/3}button.office-row>svg{color:var(--muted);grid-area:1/3}button.office-row:hover{background:var(--soft)}.report-drilldown-body{grid-template-columns:1fr 1fr;gap:12px;min-height:0;padding:18px;display:grid;overflow:auto}.report-drilldown-body>section{border:1px solid var(--line);background:var(--panel-strong);border-radius:13px;align-content:start;gap:6px;min-height:112px;padding:14px;display:grid}.report-drilldown-body>section>span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:700}.report-drilldown-body>section>b{font-size:24px}.report-drilldown-body p,.report-drilldown-body small{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.report-drilldown-body>.procedure-log{grid-column:1/-1}.report-drilldown{width:min(980px,100vw - 54px);min-height:min(610px,100vh - 54px);max-height:calc(100vh - 32px)}.report-drilldown-body,.report-drilldown-body>.procedure-log{overflow-x:hidden}.report-drilldown-body>.procedure-log .data-table{min-width:0}.workspace-back{border:1px solid var(--line);background:var(--soft);min-height:34px;color:var(--ink);cursor:pointer;border-radius:9px;flex-shrink:0;align-items:center;gap:5px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex;position:static}.workspace-back:hover{background:var(--panel-strong);color:var(--accent)}.workspace-surface.has-workspace-back .view-header,.workspace-surface.has-workspace-back .schedule-header{padding-left:0}.view-title-row{align-items:center;gap:12px;display:flex}.view-title-row h1{min-width:0}body button:is(.primary-button,.secondary-button,.filter-button,.scope-button,.today-button){box-sizing:border-box;height:auto!important;min-height:40px!important;padding-top:8px!important;padding-bottom:8px!important;line-height:22px!important}body .view-actions button:is(.primary-button,.secondary-button,.scope-button,.location-trigger,.owned-combobox-trigger),body .perio-toolbar button:is(.primary-button,.secondary-button,.owned-combobox-trigger){box-sizing:border-box;height:40px!important;min-height:40px!important;padding-top:0!important;padding-bottom:0!important}.day-toggle i{pointer-events:none}@media(max-width:1050px){.assistant-location-picker{width:210px}.week-workspace{overflow-x:auto}}@media(max-width:900px){.collapsed-location-picker{width:210px}.app-shell[data-assistant-collapsed=true] .view-header{padding-right:224px}}.tooth-selection-ring{fill:var(--accent)}@supports (color:color-mix(in lab,red,red)){.tooth-selection-ring{fill:color-mix(in srgb,var(--accent) 7%,transparent)}}.tooth-selection-ring{stroke:var(--accent);stroke-width:2.5px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 3px 5px var(--accent))}@supports (color:color-mix(in lab,red,red)){.tooth-selection-ring{filter:drop-shadow(0 3px 5px color-mix(in srgb,var(--accent) 24%,transparent))}}.tooth-selection-ring{pointer-events:none}.tooth.selected path{stroke:var(--accent);stroke-width:2.25px;transform:none}.tooth.selected circle{fill:#0000;stroke:var(--accent)}@supports (color:color-mix(in lab,red,red)){.tooth.selected circle{stroke:color-mix(in srgb,var(--accent) 45%,var(--line))}}.tooth.selected text{fill:var(--accent);font-weight:900}.owned-combobox,.owned-date-picker{width:100%;position:relative}.owned-field-calendar{top:calc(100% + 7px);left:0;right:auto}.owned-time-picker .owned-combobox-menu{max-height:250px}.owned-combobox-trigger{border:1px solid var(--line);background:var(--panel-strong);width:100%;min-height:41px;color:var(--ink);text-align:left;cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:0 11px;font-size:13px;font-weight:750;display:flex}.owned-combobox-trigger .placeholder{color:var(--muted)}.owned-combobox-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.owned-combobox-menu{z-index:190;border:1px solid var(--line);background:var(--panel-strong);border-radius:13px;width:100%;max-height:260px;padding:7px;position:absolute;top:calc(100% + 7px);left:0;box-shadow:0 18px 44px #27181233}.owned-combobox-portal{flex-direction:column;margin:0;display:flex;overflow:hidden}.owned-combobox-search{border:1px solid var(--line);min-height:37px;color:var(--muted);background:var(--panel);border-radius:9px;flex-shrink:0;align-items:center;margin-bottom:5px;padding:0 9px;gap:7px!important;display:flex!important}.owned-combobox-search input{outline:0;width:100%;min-width:0;background:0 0!important;border:0!important}.owned-combobox-menu>div{min-height:0;max-height:none;overflow-y:auto}.owned-combobox-menu>div>button{width:100%;min-height:37px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;padding:0 9px;font-size:13px;font-weight:750;display:flex}.owned-combobox-menu>div>button:hover,.owned-combobox-menu>div>button.selected{background:var(--soft);color:var(--accent)}.schedule-date-menu{width:310px;padding:11px}.schedule-date-menu>header>button,.schedule-date-menu>footer>button,.schedule-filter-menu header button{background:var(--soft);min-width:32px;min-height:32px;color:var(--ink);cursor:pointer;border:0;border-radius:8px;place-items:center;display:grid}.schedule-date-menu>.owned-calendar-weekdays,.schedule-date-menu>.owned-calendar-days{grid-template-columns:repeat(7,1fr);gap:3px;display:grid}.owned-calendar-weekdays span{min-height:23px;color:var(--muted);place-items:center;font-size:12px;font-weight:850;display:grid}.schedule-date-menu .owned-calendar-days button{min-height:34px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0;font-size:13px;font-weight:750}.schedule-date-menu .owned-calendar-days button:hover{background:var(--soft)}.schedule-date-menu .owned-calendar-days button.outside{color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.schedule-date-menu .owned-calendar-days button.outside{color:color-mix(in srgb,var(--muted) 48%,transparent)}}.schedule-date-menu .owned-calendar-days button.selected{background:var(--accent);color:#fff;box-shadow:0 4px 12px var(--accent)}@supports (color:color-mix(in lab,red,red)){.schedule-date-menu .owned-calendar-days button.selected{box-shadow:0 4px 12px color-mix(in srgb,var(--accent) 25%,transparent)}}.schedule-date-menu>footer{justify-content:space-between;align-items:center;padding-top:3px;display:flex}.schedule-date-menu>footer>button{height:32px;min-height:32px;padding:0 10px;font-size:12px;font-weight:800}.schedule-date-menu>footer .primary-button{background:var(--accent);color:#fff;padding:0 11px}.schedule-filter-control,.patient-filter-control{position:relative}.schedule-filter-menu{z-index:70;border:1px solid var(--line);background:var(--panel-strong);border-radius:15px;gap:11px;width:290px;padding:12px;display:grid;position:absolute;top:calc(100% + 7px);right:0;box-shadow:0 20px 50px #27181233}.schedule-filter-menu header,.schedule-filter-menu footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.schedule-filter-menu label{gap:5px;display:grid}.schedule-filter-menu label>span{color:var(--muted);font-size:12px;font-weight:800}.schedule-filter-menu select{border:1px solid var(--line);background:var(--panel);min-height:39px;color:var(--ink);border-radius:9px;padding:0 9px;font-size:13px;font-weight:700}.patient-filter-menu{left:auto;right:0}.week-day-list>button{grid-template-rows:auto 3px auto;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px 8px;min-height:108px;padding:10px}.week-day-list time{white-space:nowrap;grid-area:1/1;line-height:1.35}.week-tone{grid-area:2/1;width:34px;height:3px}.week-day-list>button>span:nth-child(3){text-align:left;grid-area:3/1/auto/-1;gap:4px}.week-day-list b,.week-day-list small,.week-day-list em{line-height:1.3}.week-day-list .status-pill{grid-area:1/2;margin-top:0}.calendar-days>button.outside{opacity:.42}.month-appointment{background:currentColor;border-left:3px solid;border-radius:5px;width:100%;padding:3px 5px;display:block;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.month-appointment{background:color-mix(in srgb,currentColor 9%,var(--panel))}}.month-appointment{color:#4c7c67;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750}.month-appointment.auburn{color:#8a4937}.month-appointment.gold{color:#a8752d}.month-appointment.blue{color:#4d718d}.patient-editor-modal{z-index:170}.patient-editor{width:min(760px,100vw - 40px)}.patient-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.selected-tooth-summary{border:2px solid var(--accent);min-height:64px;padding:10px 12px}@supports (color:color-mix(in lab,red,red)){.selected-tooth-summary{border:2px solid color-mix(in srgb,var(--accent) 45%,var(--line))}}.selected-tooth-summary{background:var(--accent);border-radius:12px;align-content:center;gap:3px;display:grid}@supports (color:color-mix(in lab,red,red)){.selected-tooth-summary{background:color-mix(in srgb,var(--accent) 6%,var(--panel))}}.selected-tooth-summary span{color:var(--muted);font-size:12px}.reports-view{scrollbar-gutter:auto;gap:10px;padding-bottom:0;overflow-y:auto}.reports-view .view-header{min-height:58px}.reports-view .kpi-card{padding-top:11px;padding-bottom:11px}.reports-view .trend-chart{height:180px}.reports-view .metric-table>div{min-height:56px;padding-top:8px;padding-bottom:8px}.logout-confirm-modal{z-index:1300;background:#261b163d;-webkit-backdrop-filter:blur(9px)!important;backdrop-filter:blur(9px)!important}.logout-confirm-card{background:var(--panel-strong);border-radius:20px;grid-template-columns:auto minmax(0,1fr);gap:14px;width:min(430px,100vw - 36px);padding:24px;display:grid;box-shadow:0 28px 80px #1f15114d}.logout-confirm-card h2{margin:1px 0 5px;font-size:20px}.logout-confirm-card p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.logout-confirm-card footer{grid-column:1/-1;justify-content:flex-end;gap:8px;margin-top:6px;display:flex}.chat-message>div>p{white-space:pre-wrap;margin:0}.assistant-result-set{border:1px solid var(--line);background:var(--panel-strong);border-radius:13px;width:min(720px,100%);margin-top:12px;overflow:hidden}.assistant-result-set>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:7px 10px;display:flex}.assistant-result-set>header>span{gap:5px;display:flex}.assistant-result-set>header button{border:1px solid var(--line);background:var(--soft);min-height:30px;color:var(--accent);cursor:pointer;border-radius:8px;padding:0 9px;font-size:12px;font-weight:800}.assistant-result-set>div{max-height:300px;overflow:auto}.assistant-result-set table{border-collapse:collapse;width:100%}.assistant-result-set th,.assistant-result-set td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:8px 9px;font-size:12px}.assistant-result-set th{color:var(--muted);font-weight:800}.assistant-result-set td b,.assistant-result-set td small{display:block}.communication-history-dialog{width:min(740px,100vw - 40px)}.communication-history-list{overflow-x:hidden}.communication-history-list article{grid-template-columns:34px minmax(0,1fr) 78px;min-width:0}.communication-history-list article>div{min-width:0}.communication-history-list p{overflow-wrap:anywhere}.communication-history-list .status-pill{text-align:center;white-space:nowrap;justify-self:end;width:72px;min-width:72px;padding-inline:8px}.communication-history-dialog>footer>button{height:36px;min-height:36px;padding-inline:12px;font-size:12px}.assistant-result-set td small{color:var(--muted);margin-top:2px}textarea{resize:none!important}.owned-combobox-trigger{padding-right:9px}.owned-combobox-trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.owned-combobox-trigger>svg{flex:none;margin-left:5px;margin-right:1px}.hours-settings>.view-tabs button,.settings-subtabs button{font-weight:650!important}.settings-pane-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.inline-patient-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.inline-patient-fields label{align-content:start;gap:5px;min-width:0;display:grid}.inline-patient-fields label>span{color:var(--muted);font-size:12px}.inline-patient-fields input{border:1px solid var(--line);background:var(--panel);width:100%;min-height:41px;color:var(--ink);border-radius:10px;padding:0 10px;font-size:13px;font-weight:650}.inline-patient-fields .full-field{grid-column:1/-1}.record-overview.is-editing{grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr)}.record-overview.is-editing>section:first-child{grid-row:1/span 2}.editor-error{background:#b8483a;border-radius:9px;margin:0;padding:9px 11px}@supports (color:color-mix(in lab,red,red)){.editor-error{background:color-mix(in srgb,#b8483a 10%,var(--panel))}}.editor-error{color:#9f3e32;font-size:12px;font-weight:700}.appointment-status-picker .owned-combobox-menu,.owned-combobox-menu.appointment-status-picker{width:max(100%,330px);max-height:none}.appointment-status-picker .owned-combobox-menu>div,.owned-combobox-menu.appointment-status-picker>div{max-height:none;display:block;overflow-y:auto}.task-owner-picker .owned-combobox-menu,.owned-combobox-menu.task-owner-picker{max-height:none}.task-owner-picker .owned-combobox-menu>div,.owned-combobox-menu.task-owner-picker>div{max-height:none;overflow-y:auto}.odontogram-head-actions{justify-content:flex-end;align-items:center;gap:12px;display:flex}.dentition-tabs{flex:none}.dentition-tabs button{min-height:32px;padding-inline:10px;font-size:12px}.tooth-type-guide.primary-guide{grid-template-columns:repeat(3,minmax(0,1fr))}.clinical-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.clinical-summary-card{min-width:0;padding:13px}.clinical-summary-card>header{align-items:center;gap:9px;display:flex}.clinical-summary-card h3{margin:0;font-size:13px}.clinical-summary-card header small,.clinical-summary-card small{color:var(--muted);font-size:12px}.clinical-summary-card header>div{gap:2px;min-width:0;display:grid}.clinical-summary-icon{background:var(--soft);width:34px;height:34px;color:var(--accent);border-radius:10px;flex:0 0 34px;place-items:center;display:grid}.clinical-summary-icon.perio{color:#4d718d}.clinical-summary-icon.medical{color:#a23e33}.clinical-summary-icon.history{color:var(--success)}.clinical-metrics{border-top:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px;padding-top:10px;display:grid}.clinical-metrics>span{border-right:1px solid var(--line);gap:2px;min-width:0;padding-inline:8px;display:grid}.clinical-metrics>span:first-child{padding-left:0}.clinical-metrics>span:last-child{border-right:0}.clinical-metrics b{font-size:14px}.clinical-safety-list,.clinical-activity-list{border-top:1px solid var(--line);gap:7px;margin-top:12px;padding-top:9px;display:grid}.clinical-safety-list>span{justify-content:space-between;gap:10px;display:flex}.clinical-safety-list b,.clinical-activity-list b{font-size:12px}.clinical-activity-list>span{grid-template-columns:6px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;display:grid}.clinical-activity-list i{background:var(--success);border-radius:50%;width:6px;height:6px}.upcoming-card.empty{color:var(--muted)}.upcoming-card.empty .secondary-button{height:34px;min-height:34px}@media(min-width:1181px){.dashboard-view{overflow:hidden}.dashboard-view>.dashboard-layout{flex:auto;grid-template-rows:minmax(350px,1.35fr) minmax(205px,.75fr);min-height:0}.dashboard-view :is(.today-card,.attention-card,.flow-card){min-height:0;overflow:hidden}.dashboard-view .flow-card{flex-direction:column;display:flex}.dashboard-view .flow-card>.card-header{flex:none}.dashboard-flow-board{flex:auto;align-items:stretch;height:auto;min-height:0}.dashboard-flow-lane{height:auto;min-height:0}.dashboard-flow-lane>div{height:auto;min-height:0;overflow-y:auto}}.record-overlay,.global-modal:not(.logout-confirm-modal),.clinical-review-backdrop{right:var(--dialog-chat-space,0px);padding:18px}html[data-chat-alongside-dialog=true] .assistant-column{z-index:1100;filter:none;position:relative}html[data-chat-alongside-dialog=true] body:has(.logout-confirm-modal) .assistant-column{z-index:auto}.patient-chat-review{border:1px solid var(--line);background:var(--panel);border-radius:16px;margin:16px 0;padding:16px}.patient-chat-review h3{margin:0 0 10px;font-size:16px}.patient-chat-review dl{margin:12px 0}.patient-chat-review dl>div{grid-template-columns:100px minmax(0,1fr);gap:10px;padding:5px 0;display:grid}.patient-chat-review dd{overflow-wrap:anywhere;margin:0}.patient-chat-review footer{flex-wrap:wrap;gap:8px;display:flex}.patient-chat-review p{margin:10px 0;line-height:1.5}.global-modal:not(.logout-confirm-modal)>*,.record-overlay>*,.clinical-review-backdrop>*{min-width:0;max-width:100%!important}.record-overlay,.global-modal:not(.logout-confirm-modal),.clinical-review-backdrop{grid-template-columns:minmax(0,1fr)}.record-overlay>.record-panel,body:has(.app-shell[data-assistant-collapsed=true]) .record-overlay>.record-panel{flex-direction:column;width:min(1700px,100%);height:calc(100dvh - 36px);min-height:0;max-height:calc(100dvh - 36px);display:flex}.record-panel>.record-header,.record-panel>.record-tabs,.record-panel>.modal-alert{flex-shrink:0}.record-panel>.record-body{flex:1;min-height:0}.record-tabs{flex-wrap:wrap;column-gap:18px}.reports-view>.content-card{margin-top:14px;padding:20px}.reports-view>.content-card h2{margin:0 0 12px;font-size:16px}.reports-view>.content-card p{color:var(--muted);margin:12px 0 0;font-size:12px;line-height:1.6}.report-metric>span{min-height:44px}.report-metric strong{line-height:34px}.report-period{align-items:end;gap:12px;margin:16px 0;display:flex}.report-period label{gap:6px;min-width:170px;display:grid}.report-period label>span{color:var(--muted);font-size:12px}.report-metric{text-align:left;cursor:pointer;gap:12px;padding:20px;display:grid}.report-metric strong{font-size:28px}.report-metric small{font-size:11px}.report-records{width:min(1100px,100%);height:min(80vh,850px)}.report-records .settings-editor-body{min-height:0;display:flex}.report-records .table-scroll{flex:1;overflow:auto}.persisted-team .team-roster{flex-direction:column;flex:1;gap:16px;min-height:0;padding:20px;display:flex;overflow:hidden}.persisted-team .team-tabs{flex-wrap:wrap;flex:none;gap:4px}.persisted-team .team-tabs button{min-height:38px;font-size:13px}.team-table-wrap{flex:1;min-height:0;overflow:auto}.team-table-wrap table{border-collapse:collapse;width:100%}.team-table-wrap th,.team-table-wrap td{text-align:left;border-bottom:1px solid var(--line);padding:14px 10px}.team-table-wrap td small{color:var(--muted);margin-top:5px;display:block}.team-list-footer,.team-period{flex:none;justify-content:space-between;align-items:center;gap:16px;display:flex}.team-period{justify-content:flex-start}.team-period label{align-items:center;gap:10px;display:flex}.team-period .owned-date-picker{width:170px}.team-empty{color:var(--muted);padding:24px}.team-editor{width:min(1020px,100%);max-height:100%}.team-editor .settings-editor-body{grid-template-columns:repeat(2,minmax(0,1fr))}.team-choices{background:var(--panel);border:0;border-radius:12px;flex-wrap:wrap;gap:12px;padding:12px;display:flex}.team-choices label{align-items:center;gap:7px;flex-direction:row!important;display:flex!important}.team-choices input{width:16px!important;height:16px!important;min-height:16px!important}.team-instant{grid-template-columns:minmax(130px,1fr) 120px;gap:10px;display:grid}.team-password,.team-review-dialog{width:min(720px,100%);padding:20px}.team-review-dialog .patient-chat-review{margin:0}.saved-comms{flex:1;grid-template-columns:minmax(230px,.8fr) minmax(0,1.8fr);gap:18px;min-height:0;display:grid}.saved-inbox,.saved-thread{background:var(--soft);border-radius:20px;flex-direction:column;gap:14px;min-height:0;padding:20px;display:flex;overflow:hidden}.saved-conversations,.saved-messages{flex:1;min-height:0;overflow:auto}.saved-conversations>button{text-align:left;background:var(--panel);border-radius:14px;flex-direction:column;align-items:flex-start;gap:8px;width:100%;margin-bottom:8px;padding:16px;display:flex}.saved-conversations>button.selected{box-shadow:inset 0 0 0 2px var(--auburn)}.saved-message{background:var(--panel);border-radius:14px;margin-bottom:12px;padding:14px}.saved-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.saved-message small{color:var(--muted)}.saved-message.outbound{margin-left:30px}.persisted-team .button-row,.saved-comms .button-row,.team-review-dialog .button-row,.patient-chat-review .button-row{align-items:center;gap:8px;display:flex}.persisted-team .button-row button,.saved-comms .button-row button{white-space:nowrap;min-height:38px}.saved-inbox>input{box-sizing:border-box;background:var(--panel);border:0;border-radius:12px;width:100%;min-height:42px;padding:10px 12px}.saved-comms{background:0 0!important;border:0!important}.saved-comms .content-card{border:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}:root{--nav-width: 224px}.app-shell{height:100dvh}.app-shell .primary-nav{min-width:0;overflow:hidden;margin:12px 0 12px 12px;padding:12px 10px;gap:8px;border-radius:26px;background:var(--panel);box-shadow:0 6px 22px #2419150d}.app-shell .brand{flex:0 0 54px;height:54px;padding:4px 10px 12px}.app-shell .primary-nav nav{flex:1 1 0;min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0;gap:clamp(2px,.45dvh,6px);scrollbar-width:thin}.app-shell .nav-item{min-width:0;flex:0 1 42px;min-height:28px;margin:0;padding:0 10px;gap:10px;font-size:14px}.app-shell .nav-item-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell .nav-footer{min-width:0;width:100%;flex:0 0 auto;margin:0;grid-template-columns:minmax(0,1fr)}.theme-toggle{display:flex;align-items:center;gap:9px;min-height:36px;padding:0 10px;color:var(--muted);font-size:13px;border-radius:10px;cursor:pointer}.theme-toggle:hover{background:var(--soft);color:var(--ink)}:root[data-theme=night] .brand-logo--wordmark{filter:brightness(0) invert(.93)}.app-shell .user-card{width:100%;min-width:0;min-height:50px;margin:0;padding:7px;gap:7px;display:grid;grid-template-columns:30px minmax(0,1fr) 30px;overflow:hidden;border:0}.app-shell .user-card .user-avatar{width:30px;height:30px;border-radius:10px}.app-shell .user-card b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell .user-card>button{width:30px;height:30px;margin:0}@media(max-height:700px){.app-shell .primary-nav{padding-block:8px;gap:6px}.app-shell .primary-nav nav{gap:2px}.app-shell .brand{flex-basis:38px;height:38px;padding:0 8px 4px}.app-shell .nav-footer{gap:0}.app-shell .theme-toggle{min-height:30px}.app-shell .user-card{min-height:40px;padding-block:4px}}@media(max-height:600px){.app-shell .nav-item{min-height:27px}}.app-shell .workspace{height:100%;min-height:0}@media(max-width:1100px){:root{--nav-width: 84px}.app-shell .primary-nav{padding-inline:8px}.app-shell .brand{padding-inline:0}.app-shell .brand-logo--wordmark,.app-shell .nav-item-label{display:none}.app-shell .brand-logo--icon{display:block}.app-shell .nav-item{justify-content:center;padding-inline:0}.app-shell .nav-footer{display:grid}.app-shell .theme-toggle{justify-content:center;padding-inline:0}.app-shell .theme-toggle span,.app-shell .user-card>span{display:none}.app-shell .user-card{display:flex;justify-content:center;padding-inline:0}.app-shell .user-card>button{display:grid}}.workspace-surface{container-type:inline-size;container-name:workspace}.workspace-surface>.view-fill,.workspace-surface>.view-scroll{flex:1 1 0;min-width:0;min-height:0;height:auto}.workspace-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto;min-width:0}.view-actions .workspace-tools{margin-left:auto}.view-actions .collapsed-location-picker{width:210px}.view-actions .collapsed-location-picker .location-copy small{display:none}.view-actions .collapsed-location-picker .location-trigger{min-height:40px}.workspace-tools .workspace-back{position:static}.workspace-tools .collapsed-location-picker{position:relative;top:auto;right:auto;margin-left:auto;max-width:100%}.app-shell[data-assistant-collapsed=true] .view-header,.workspace-surface.has-workspace-back .view-header,.workspace-surface.has-workspace-back .schedule-header{padding-left:0;padding-right:0}.view-header{min-width:0;flex-wrap:wrap;row-gap:10px}.view-header>div:first-child{min-width:0;flex:1 1 240px}.view-actions{flex-wrap:wrap}.content-card{min-width:0}.workspace-error{flex:0 0 auto;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:color-mix(in srgb,#ba543f 10%,var(--panel));font-size:13px}.workspace-error button{margin-left:auto;text-decoration:underline;cursor:pointer}.workspace-error+.view-fill{min-height:0}.practice-date-nav,.dashboard-toolbar,.schedule-toolbar{display:flex;align-items:center;gap:10px;flex:0 0 auto;min-width:0}.practice-date-nav>.owned-date-picker{width:190px}.practice-date-nav .owned-combobox-trigger{box-sizing:border-box;height:40px;min-height:40px;font-size:13px}.practice-date-nav .date-nav{box-sizing:border-box;height:40px;align-items:stretch}.practice-date-nav .date-nav button{height:100%;min-height:0;padding-top:0;padding-bottom:0}.dashboard-toolbar>.icon-button,.schedule-toolbar>.icon-button{margin-left:auto;width:34px;height:34px}.schedule-toolbar{flex-wrap:wrap}.practice-dashboard{gap:12px;overflow:hidden}.practice-dashboard>.dashboard-layout{flex:1 1 0;min-height:0;grid-template-columns:minmax(0,1.4fr) minmax(240px,.85fr);grid-template-rows:minmax(0,1.2fr) minmax(0,.8fr);grid-template-areas:"flow flow" "today overview";gap:12px}.practice-dashboard :is(.today-card,.attention-card,.flow-card){min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.practice-dashboard .flow-card{grid-area:flow}.practice-dashboard .today-card{grid-area:today}.practice-dashboard .attention-card{grid-area:overview}.practice-dashboard .dashboard-flow-lane>header{gap:6px}.practice-dashboard .flow-expand{flex:0 0 28px;width:28px;height:28px;min-height:28px;padding:0;margin-left:auto}.flow-expanded-backdrop{position:fixed;inset:0;z-index:1100;background:#281d171f}.flow-expanded-host{display:contents}.practice-dashboard .flow-expanded-lane{position:absolute;top:12px;bottom:12px;width:min(420px,calc(100vw - 24px));height:auto;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 65px #281d173d}.practice-dashboard .flow-expanded-lane>header{padding:0 6px 10px;flex-basis:44px}.practice-dashboard .card-header{flex:0 0 auto;min-height:66px;gap:10px;padding:12px 15px}.practice-dashboard .card-header p{font-size:13px;line-height:1.4}.practice-dashboard .card-header .text-button{flex:0 0 auto;font-size:13px}.practice-dashboard :is(.timeline-list,.attention-list){flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.practice-dashboard .timeline-item{min-height:67px;padding:9px 12px;gap:8px}.practice-dashboard .timeline-item>:is(time,i,.patient-avatar,.status-pill,svg){flex-shrink:0}.practice-dashboard .timeline-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.practice-dashboard .timeline-item .status-pill{max-width:110px;white-space:normal;text-align:center;font-size:12px}.practice-dashboard .time-stack{width:37px}.practice-dashboard .attention-list{padding:12px}.day-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:3px 0 16px;border-bottom:1px solid var(--line)}.day-counts span{display:grid;gap:4px;text-align:center}.day-counts b{font-size:27px;line-height:1.2;letter-spacing:-.04em}.day-counts small{color:var(--muted);font-size:12px}.practice-dashboard .attention-list>button{padding:15px 0}.practice-dashboard .attention-list>button b{font-size:13px;line-height:1.4}.practice-dashboard .attention-list>button:disabled{cursor:default}.day-note{display:flex;gap:8px;padding:12px;border-radius:12px;background:var(--soft);margin-top:12px;color:var(--muted);font-size:13px;line-height:1.5}.day-note svg{flex:0 0 auto;color:var(--success)}.day-note p{margin:0}.practice-dashboard .dashboard-flow-board{flex:1 1 0;min-width:0;min-height:0;display:grid;grid-template-columns:repeat(4,minmax(175px,1fr));grid-template-rows:minmax(0,1fr);overflow-x:auto;overflow-y:hidden;padding:10px;gap:8px}.practice-dashboard .dashboard-flow-lane{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}.practice-dashboard .dashboard-flow-lane>header{flex:0 0 38px;min-width:0}.practice-dashboard .dashboard-flow-lane>header b{font-size:13px}.practice-dashboard .dashboard-flow-lane>.flow-lane-list{display:flex;flex-direction:column;min-height:0;flex:1 1 0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:6px;gap:7px}.practice-dashboard .dashboard-flow-lane article{flex:0 0 auto;display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:9px;min-height:94px}.practice-dashboard .dashboard-flow-lane article .flow-patient{width:100%;display:flex;align-items:center;gap:7px;color:var(--ink);padding:0;text-align:left}.flow-patient>span:last-child{min-width:0;display:grid;gap:4px}.flow-patient b{font-size:13px!important}.flow-patient .patient-avatar{flex:0 0 28px;width:28px;height:28px}.practice-dashboard .dashboard-flow-lane article .flow-advance{display:flex;justify-content:space-between;min-height:30px;width:100%;padding:5px 7px;border-radius:7px;background:var(--soft);font-size:12px;white-space:normal}.flow-advance:disabled{opacity:.6;cursor:wait}.practice-dashboard .dashboard-flow-lane article .flow-back{display:flex;align-items:center;justify-content:flex-start;gap:4px;min-height:30px;width:100%;margin-top:4px;padding:5px 4px;border-radius:7px;color:var(--muted);font-size:12px;white-space:normal;text-align:left}.practice-dashboard .flow-back:hover:not(:disabled){background:var(--soft);color:var(--ink)}.flow-back:disabled{opacity:.6;cursor:wait}.flow-stage-picker{border:0;margin:0;padding:0;min-width:0}.flow-stage-picker legend{margin-bottom:4px;font-size:12px;color:var(--muted)}.flow-stage-picker .owned-combobox{width:100%}.flow-stage-picker button{min-height:34px}.flow-stage-picker:disabled{opacity:.6}.lane-empty{padding:16px 5px;text-align:center;color:var(--muted);font-size:13px}.room-assignment-editor{width:min(520px,calc(100vw - 40px));max-height:calc(100dvh - 40px);display:flex;flex-direction:column;overflow:hidden}.room-assignment-editor header,.room-assignment-editor footer{flex:0 0 auto}.room-assignment-body{overflow:auto;padding:22px;display:grid;gap:16px;min-height:0}.room-assignment-body h3,.room-assignment-body p{margin:0}.room-assignment-body label{display:grid;gap:8px;font-size:14px}.room-options{border:0;padding:0;margin:0;min-width:0}.room-options legend{margin-bottom:8px;font-size:14px}.room-options label{display:flex;align-items:center;gap:10px;padding:12px;border-radius:10px;margin:6px 0;background:var(--soft);cursor:pointer}.room-options label:has(input:disabled){opacity:.55;cursor:not-allowed}.room-options label:has(input:checked){outline:2px solid var(--accent)}.room-options input{accent-color:var(--accent);flex:0 0 auto;width:16px;height:16px}.room-help{color:var(--muted);font-size:13px;line-height:1.5}.live-settings-view .settings-content{display:flex;flex-direction:column;min-height:0;overflow:hidden}.settings-live-toolbar{display:flex;align-items:center;gap:10px;padding:10px 0;flex:0 0 auto}.settings-live-toolbar input{min-width:0;flex:1;min-height:38px;border:0;border-radius:9px;padding:10px;background:var(--soft);color:var(--ink)}.settings-live-list{overflow:auto;min-height:0;flex:1;padding:4px}.settings-live-row{width:100%;display:flex;justify-content:space-between;gap:14px;align-items:center;padding:15px 12px;border:0;border-radius:12px;background:var(--soft);color:var(--ink);text-align:left;margin-bottom:7px}.settings-live-row span:first-child{display:grid;gap:6px;min-width:0}.settings-live-row span:last-child{display:flex;gap:8px;align-items:center;font-size:13px}.settings-live-row strong{font-size:15px;overflow-wrap:anywhere}.settings-live-row small{font-size:13px;color:var(--muted)}.settings-live-notice{padding:20px;line-height:1.6;overflow:auto}.settings-live-error,.settings-command-body [role=alert]{color:var(--accent);padding:12px;background:var(--soft);border-radius:10px}.settings-command-editor,.settings-command-review{display:flex;flex-direction:column;width:min(740px,calc(100vw - 40px));max-height:calc(100dvh - 40px);overflow:hidden}.settings-command-body{overflow:auto;min-height:0;padding:22px}.settings-command-body p{line-height:1.5}.settings-command-editor header,.settings-command-editor footer,.settings-command-review header,.settings-command-review footer{flex:0 0 auto}.settings-field-grid{border:0;padding:0;margin:14px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}.settings-field-grid label{display:grid;align-content:start;gap:8px;min-width:0;font-size:14px}.settings-field-grid input:not([type=checkbox]),.settings-field-grid textarea{width:100%;min-width:0;min-height:40px;border:0;border-radius:9px;padding:10px;background:var(--soft);color:var(--ink);font:inherit}.settings-field-grid .settings-check{display:flex;align-items:center;justify-content:space-between}.settings-field-grid input[type=checkbox]{accent-color:var(--accent);width:18px;height:18px}.settings-field-grid .settings-field-wide{grid-column:1 / -1}.settings-field-grid .settings-field-wide textarea{min-height:96px;background:var(--soft);line-height:1.5;padding:12px 14px}.settings-field-grid .settings-timestamp{display:grid;gap:8px}.settings-field-grid .settings-timestamp small{color:var(--muted);font-size:13px}.settings-command-body .settings-editor-scope{margin:0 0 18px;color:var(--muted);font-size:13px}.settings-command-editor .settings-check{justify-content:flex-start;gap:10px;padding:10px 12px;border-radius:10px;background:var(--soft);align-self:start}.settings-command-editor .settings-check input{order:-1}.settings-command-editor>footer>button{height:40px;min-height:40px}.settings-command-editor{width:min(820px,100%)}.settings-command-editor>header,.settings-command-editor>footer{padding:18px 24px}.settings-command-editor h2{font-size:21px;font-weight:600}.settings-command-editor .settings-command-body{padding:24px}.settings-command-editor .settings-field-grid{gap:22px 20px;margin:0}.settings-command-editor .settings-field-grid>label,.settings-weekday-field>span{font-weight:600;font-size:14px}.settings-command-editor .settings-field-grid input:not([type=checkbox]),.settings-command-editor .settings-field-grid textarea{padding:12px 14px;border:1px solid var(--line);background:var(--panel)}.settings-weekday-field{display:grid;gap:10px}.settings-weekday-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:6px;border-radius:16px;background:var(--soft)}.settings-weekday-picker button{height:44px;min-width:0;padding:0 4px;border:0;border-radius:11px;background:transparent;color:var(--muted);font-size:14px;font-weight:600}.settings-weekday-picker button[aria-pressed=true]{background:var(--accent);color:#fff;box-shadow:0 3px 9px #45271720}.settings-weekday-picker button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.settings-date-field{display:grid;gap:10px}.settings-end-toggle{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;font-weight:500}.settings-command-editor .settings-check{grid-column:1 / -1;background:transparent;padding:12px 0 0;border-top:1px solid var(--line);border-radius:0}.settings-command-editor .settings-timestamp{padding:14px;border-radius:14px;background:var(--soft);gap:12px}.settings-hours-toggle{align-self:flex-start;flex:0 0 auto;width:fit-content;max-width:100%;padding:5px;gap:3px;margin:0 0 14px}.settings-command-review table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}.settings-command-review th,.settings-command-review td{padding:10px;border-bottom:1px solid var(--line);text-align:left;overflow-wrap:anywhere}.settings-command-warning{background:var(--soft);padding:12px;border-radius:10px}.settings-audit-row{padding:14px;border-bottom:1px solid var(--line)}.settings-audit-row pre{overflow:auto;font-size:13px}@media(max-width:900px){.settings-field-grid{grid-template-columns:minmax(0,1fr)}}.flow-error{margin:0 12px;font-size:13px;color:#a23e33;flex:0 0 auto}.schedule-empty{min-height:190px;padding:24px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;color:var(--muted);font-size:13px}.schedule-empty b{color:var(--ink);font-size:15px}.schedule-empty p{margin:0}.practice-schedule{gap:12px}.practice-schedule .schedule-toolbar{min-height:40px;padding:0 0 10px}.practice-schedule .schedule-toolbar>div:first-child{margin-right:0}.practice-schedule .schedule-toolbar .practice-date-nav{margin-left:auto}.practice-schedule .practice-date-nav>.owned-date-picker{width:165px}.practice-schedule .schedule-filters{padding-bottom:0;border-bottom:0}.practice-schedule .practice-appointment>span time{white-space:nowrap}.calendar-portal{overflow:auto;overscroll-behavior:contain}.settings-editor-body textarea{width:100%;min-height:90px;padding:12px;border:1px solid var(--line);border-radius:11px;background:var(--panel-strong);color:var(--ink);font:inherit;font-size:13px;resize:none}.settings-editor-body :is(input,textarea):focus{outline:2px solid var(--accent);outline-offset:2px}.schedule-filters .search{flex:1 1 210px;min-width:180px}.schedule-filters>.owned-combobox{width:175px}.schedule-filters .owned-combobox-trigger{min-height:36px}.schedule-filters .segmented{margin-left:auto}.schedule-loading{color:var(--muted);font-size:13px}.practice-day-scroll,.practice-week-scroll,.practice-month-scroll{min-height:0;min-width:0;flex:1 1 0;overflow:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel-strong);overscroll-behavior:contain}.practice-day-grid{display:grid;min-width:100%;width:max-content;position:relative;align-items:start}.practice-resource{position:sticky;top:0;z-index:5;height:64px;padding:12px;display:flex;flex-direction:column;justify-content:center;gap:5px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel-strong);min-width:0}.practice-resource b{font-size:13px}.practice-resource small{font-size:12px;color:var(--muted)}.time-zone{font-size:12px;color:var(--muted);align-items:center}.practice-hours{position:sticky;left:0;z-index:3;background:var(--panel-strong);border-right:1px solid var(--line)}.practice-hours time{position:absolute;right:8px;display:flex;gap:3px;align-items:baseline;font-size:13px}.practice-hours small{font-size:12px;color:var(--muted)}.practice-resource-day{position:relative;border-right:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent 23px,color-mix(in srgb,var(--line) 50%,transparent) 23px,color-mix(in srgb,var(--line) 50%,transparent) 24px)}.practice-appointment{position:absolute;min-width:0;overflow:hidden;padding:8px 9px;border-radius:9px;border-left:3px solid var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--panel-strong));color:var(--ink);display:flex;flex-direction:column;gap:4px;text-align:left;cursor:pointer}.practice-appointment:hover{box-shadow:0 3px 12px #0002;filter:brightness(.98)}.practice-appointment.complete{border-color:var(--success);background:color-mix(in srgb,var(--success) 10%,var(--panel-strong))}.practice-appointment>span{display:flex;justify-content:space-between;gap:5px;font-size:12px}.practice-appointment b{font-size:13px}.practice-appointment p,.practice-appointment small{margin:0;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.resource-empty{position:absolute;top:28px;width:100%;text-align:center;color:var(--muted);font-size:13px}.schedule-count{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:13px;flex:0 0 auto}.practice-week-board{display:grid;grid-template-columns:repeat(7,minmax(170px,1fr));height:100%;min-width:1190px}.practice-week-board>section{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line)}.practice-week-board header{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border-bottom:1px solid var(--line);font-size:12px}.practice-week-board header button{display:grid;gap:5px;text-align:left;cursor:pointer}.practice-week-list{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:7px;display:flex;flex-direction:column;gap:8px}.practice-week-list>button{flex:0 0 auto;display:grid;gap:6px;padding:10px;text-align:left;border-radius:10px;background:var(--soft);cursor:pointer;font-size:13px;min-width:0}.practice-week-list small{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.practice-week-list .status-pill{width:fit-content}.practice-week-board footer{padding:12px 8px;border-top:1px solid var(--line);font-size:12px}.practice-week-board footer button{display:flex;gap:5px;align-items:center;color:var(--accent);cursor:pointer}.practice-month-head{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:repeat(7,minmax(125px,1fr));min-width:875px;background:var(--panel-strong)}.practice-month-head b{padding:12px;font-size:13px;border-bottom:1px solid var(--line)}.practice-month-grid{display:grid;grid-template-columns:repeat(7,minmax(125px,1fr));grid-auto-rows:minmax(125px,1fr);min-width:875px;min-height:calc(100% - 45px)}.practice-month-grid section{min-width:0;padding:7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.practice-month-grid .outside{background:color-mix(in srgb,var(--soft) 55%,var(--panel));color:var(--muted)}.practice-month-grid .today,.practice-week-board .today{box-shadow:inset 0 3px 0 var(--accent)}.month-date{width:28px;height:28px;border-radius:8px;font-size:13px;cursor:pointer}.today .month-date{background:var(--accent);color:#fff}.month-visit{display:block;width:100%;min-width:0;padding:5px;margin-top:4px;border-radius:5px;background:var(--soft);font-size:12px;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}.month-more{padding:7px;font-size:12px;color:var(--accent);cursor:pointer}.settings-editor.live-appointment-editor{width:min(1360px,100%);height:min(900px,calc(100dvh - 36px));max-width:100%;min-width:0}.live-appointment-editor .settings-editor-body{grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:18px 22px;padding:24px}.appointment-assignments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.appointment-times{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}.appointment-people{min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-content:start;gap:12px;margin:0}.appointment-people legend{padding:0 5px;color:var(--muted);font-size:13px}.appointment-people label{display:flex!important;align-items:center;gap:8px;font-size:13px;min-height:24px}.appointment-people input{width:16px!important;height:16px!important;min-height:16px!important;accent-color:var(--accent)}.appointment-timezone{font-size:13px;color:var(--muted);margin:0}.live-appointment-editor .editor-error{padding:12px;border-radius:10px;background:color-mix(in srgb,#b8483a 9%,var(--panel))}@container workspace (max-width:650px){.practice-dashboard{overflow-y:auto}.practice-dashboard>.dashboard-layout{flex:0 0 auto;grid-template-columns:minmax(0,1fr);grid-template-rows:380px 250px 250px;grid-template-areas:"flow" "today" "overview"}.practice-dashboard .flow-card{grid-column:1}.practice-dashboard .card-header{flex-wrap:wrap}.practice-dashboard .timeline-item .patient-avatar{display:none}.practice-schedule .schedule-toolbar{gap:8px}.practice-schedule .practice-date-nav{flex-wrap:wrap}.practice-schedule .schedule-filters .segmented{margin-left:0}}@media(max-height:680px)and (min-width:861px){.practice-dashboard{overflow-y:auto}.practice-dashboard>.dashboard-layout{flex:0 0 auto;min-height:600px;grid-template-rows:340px 248px}@container workspace (max-width:650px){.practice-dashboard>.dashboard-layout{grid-template-rows:380px 250px 250px}}}@media(max-width:860px){:root{--nav-width: 84px}.app-shell .primary-nav{padding:8px}.app-shell .nav-item{padding:0;justify-content:center}.app-shell .nav-footer{display:block}.app-shell .user-card{display:flex;justify-content:center;padding:6px}.app-shell .user-card>span{display:none}.app-shell .user-card>button{display:grid}.theme-toggle{justify-content:center;padding:0}.theme-toggle span{display:none}.live-appointment-editor .settings-editor-body{grid-template-columns:minmax(0,1fr)}}.workspace-search-tools{flex:0 0 auto;min-width:0;margin:0 0 14px}.record-body:has(>.record-overview){display:flex;flex-direction:column}.record-body>.record-overview{flex:1 0 auto;grid-template-rows:1fr auto}.record-overview>.overview-wide{align-self:end}.patient-insurance-summary{margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}.patient-insurance-summary article{padding:10px 12px;margin-top:8px;border-radius:11px;background:var(--soft)}.patient-insurance-summary header{display:flex;justify-content:space-between;gap:12px;font-size:13px}.patient-insurance-summary header span{color:var(--muted);font-size:12px}.patient-insurance-summary p{margin:5px 0 8px;font-size:12px;color:var(--muted)}.record-overview .patient-insurance-summary dd{font-weight:500;text-align:right;overflow-wrap:anywhere}.record-overview .patient-insurance-summary dl>div{gap:12px;min-height:28px}.patient-insurance-summary .insurance-record-note{margin-top:10px;font-size:11px}.patient-directory-filter :is(button,button>span),.patient-directory-filter-clear{font-weight:500!important}.workspace-search-row{display:flex;align-items:center;gap:12px;min-width:0;min-height:40px}.workspace-search-field{flex:0 1 360px;width:360px;min-width:160px;max-width:100%;border:1px solid var(--line);border-radius:10px;background:var(--panel-strong);box-sizing:border-box}.workspace-search-field>label{display:flex;align-items:center;gap:9px;width:100%;min-width:0;height:38px;margin:0;padding:0 12px;border:0;border-radius:10px;background:transparent;color:var(--muted);box-sizing:border-box}.workspace-search-field svg{flex-shrink:0;width:17px;height:17px}.workspace-search-field input{flex:1;width:100%;min-width:0;height:38px;padding:0;border:0;outline:none;background:transparent;color:var(--ink);font:inherit;font-size:13px}.workspace-search-field:focus-within{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.workspace-search-field>label:focus-within{outline:none;box-shadow:none;background:transparent}.workspace-search-field>input{padding:0 12px}.workspace-search-filters{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:10px;min-width:0}.workspace-search-filters>.owned-combobox{width:175px;max-width:100%}.workspace-search-tabs .view-tabs button span{margin-left:7px}.workspace-search-filters>.primary-button{margin-left:auto}.workspace-search-filters>button,.workspace-search-filters .owned-combobox-trigger{min-height:40px}.workspace-search-tabs{margin-top:10px;border-bottom:1px solid var(--line)}.workspace-search-tabs .view-tabs{border-bottom:0;margin:0}.tasks-view .workspace-search-tabs,.insurance-directory .workspace-search-tabs{border-bottom:0}.practice-schedule .workspace-search-filters>.schedule-status-filter{width:max-content;min-width:min(175px,100%);max-width:100%}.practice-schedule .workspace-search-row{flex-wrap:wrap}.practice-schedule .workspace-search-filters{flex:0 0 auto;max-width:100%}.practice-schedule .schedule-status-filter .owned-combobox-trigger{width:max-content;min-width:175px}.schedule-view-toggles{display:flex;align-items:center;gap:12px;max-width:100%}.schedule-view-toggles>:is(.view-tabs,.segmented){flex:0 0 auto}.schedule-view-toggles button{height:34px}.practice-schedule{container-type:inline-size;container-name:schedule-workspace}.practice-schedule .schedule-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}.practice-schedule .schedule-toolbar .practice-date-nav{margin:0;justify-self:center}.schedule-right-controls{display:flex;justify-self:end;align-items:center;gap:10px}.schedule-right-controls .segmented button{height:34px}@container schedule-workspace (max-width: 920px){.practice-schedule .schedule-toolbar{grid-template-columns:1fr 1fr}.practice-schedule .schedule-toolbar .practice-date-nav{grid-column:1 / -1;grid-row:1}.schedule-view-toggles,.schedule-right-controls{grid-row:2}}:is(.insurance-directory,.tasks-view,.persisted-team) .view-tabs{min-height:42px;display:flex;flex-wrap:wrap;gap:0 22px;width:100%;padding:0;margin:0;border-radius:0;border-bottom:1px solid var(--line);background:transparent}:is(.insurance-directory,.tasks-view,.persisted-team) .view-tabs button{position:relative;min-height:42px;padding:0 3px 12px;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--muted);font-size:13px}:is(.insurance-directory,.tasks-view,.persisted-team) .view-tabs button.active{color:var(--accent)}:is(.insurance-directory,.tasks-view,.persisted-team) .view-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:var(--accent)}@media(max-width:1100px){.workspace-search-row{flex-wrap:wrap}.workspace-search-field{flex-grow:1}.workspace-search-filters{flex-wrap:wrap}}.settings-field-grid .currency-input{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:10px;background:var(--soft);padding:0 12px}.settings-field-grid .currency-input>span{color:var(--muted);font-size:14px}.settings-field-grid .currency-input input{flex:1;min-width:0;width:100%;border:0;border-radius:0;background:transparent;padding-left:0}.settings-field-grid .currency-input:focus-within{outline:2px solid var(--accent);outline-offset:2px}.settings-field-grid .currency-input input:focus,.settings-field-grid .currency-input input:focus-visible{outline:none;box-shadow:none}:root{--control-font-size: 13px;--control-line-height: 20px;--control-height: 40px}:is(.primary-button,.secondary-button,.owned-combobox-trigger){font-size:var(--control-font-size)!important;font-weight:600!important;line-height:var(--control-line-height)!important;min-height:var(--control-height);box-sizing:border-box}:is(.primary-button,.secondary-button,.owned-combobox-trigger)>span{font-size:inherit;line-height:inherit}.owned-combobox,.owned-date-picker{min-width:0}.owned-combobox-trigger{width:100%;min-width:0;max-width:100%}.owned-combobox-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.owned-combobox-trigger>svg{flex-shrink:0}:is(.availability-workspace,.availability-editor) :is(.primary-button,.secondary-button,.owned-combobox-trigger){height:var(--control-height);padding:9px 12px}button:has(>svg.lucide-x:only-child){border:0!important;background:transparent!important;box-shadow:none!important}.unsaved-changes-backdrop{backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.draft-leave-dialog.unsaved-changes-dialog{width:min(520px,100%);padding:0;overflow:hidden}.unsaved-changes-dialog>header{background:#241d19;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px}.unsaved-changes-dialog>header h2{margin:0;font-size:19px}.unsaved-changes-dialog>header button{color:#fff!important}.unsaved-changes-dialog>p{padding:22px;margin:0}.unsaved-changes-dialog>footer{padding:0 22px 22px}.global-modal:not(.logout-confirm-modal),.record-overlay,.clinical-review-backdrop{animation:dialog-fade .36s cubic-bezier(.4,0,.2,1) both}.global-modal:not(.logout-confirm-modal)>*,.record-overlay>*,.clinical-review-backdrop>*{animation:none}.dialog-back{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-height:36px;padding:7px 11px;margin-right:12px;border-radius:10px;background:var(--panel-strong);color:var(--ink);font-size:13px;font-weight:600;border:1px solid var(--line)}.dialog-back:focus-visible{outline:2px solid var(--accent);outline-offset:2px}body:not(:has(.logout-confirm-modal)) .assistant-restore{z-index:1200}body :is(.global-modal,.record-overlay,.clinical-review-backdrop) textarea{background:var(--panel-strong)!important;color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:10px 12px}@keyframes dialog-fade{0%{opacity:0}to{opacity:1}}.communication-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.communication-filters label{min-width:0;display:grid;gap:5px}.communication-filters label>span{font-size:12px;color:var(--muted)}.communication-unread{align-self:flex-start;border-radius:20px;padding:6px 10px;background:var(--panel-strong);color:var(--accent);font-size:12px}.unread-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--accent);margin-right:7px}@media(prefers-reduced-motion:reduce){.global-modal,.record-overlay,.clinical-review-backdrop,.global-modal>*,.record-overlay>*,.clinical-review-backdrop>*{animation:none!important}}:is(.search,.location-search,.owned-combobox-search){background:var(--panel-strong);border:1px solid var(--line);max-width:100%;min-width:0;box-sizing:border-box}input:is([type=search],[placeholder*=search i],[placeholder*=find i]){background:var(--panel-strong);border:1px solid var(--line);border-radius:10px;color:var(--ink);min-width:0;max-width:100%;box-sizing:border-box}:is(.search,.location-search,.owned-combobox-search,.workspace-search-field) input{background:transparent;border:0;outline:none;box-shadow:none;border-radius:0}:is(.search,.location-search,.owned-combobox-search):focus-within,input:is([type=search],[placeholder*=search i],[placeholder*=find i]):focus-visible{outline:none;border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.workspace-search-field>label,.workspace-search-field>label:focus-within{background:transparent;border:0;outline:none;box-shadow:none}:is(.search,.location-search,.owned-combobox-search,.workspace-search-field) input:focus-visible{box-shadow:none}.pagination.pagination{display:flex;align-items:center;justify-content:center;gap:4px;flex:0 0 auto;flex-wrap:wrap}.pagination.pagination button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:30px;min-width:30px;height:32px;min-height:32px;margin:0;padding:0 4px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink, #34251e);font:inherit;font-size:12px;font-weight:500;box-shadow:none}.pagination.pagination button:hover:not(:disabled){background:var(--panel-strong, #f3eadf)}.pagination.pagination button[aria-current=page]{background:var(--auburn, #743b2b);color:#fff;font-weight:600}.pagination.pagination button:focus-visible{outline:2px solid var(--auburn, #743b2b);outline-offset:2px}.pagination.pagination button:disabled{opacity:.4;cursor:default}.pagination-gap{width:14px;text-align:center;color:var(--muted)}.app-shell :is(.assistant-column,.assistant-pane,.assistant-restore){filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}:is(.global-modal,.record-overlay,.clinical-review-backdrop,.draft-leave-backdrop,.flow-expanded-backdrop){right:var(--dialog-chat-space, 0px)!important;width:auto;max-width:calc(100vw - var(--dialog-chat-space, 0px));box-sizing:border-box}:is(.global-modal,.record-overlay,.clinical-review-backdrop,.draft-leave-backdrop)>*{min-width:0;max-width:100%!important}html[data-chat-alongside-dialog=true] .assistant-column,html[data-chat-alongside-dialog=true] body:has(.logout-confirm-modal) .assistant-column,body .assistant-restore{position:relative;z-index:1100;filter:none}html[data-workspace-dialogs=true] .app-shell[data-view=assistant] .assistant-column{justify-self:end;width:min(372px,35vw)}.flow-expanded-backdrop{background:transparent}.practice-dashboard .flow-expanded-lane{padding:0;--expanded-width: 420px;left:clamp(12px,var(--flow-lane-left, 12px),max(12px,calc(100% - var(--expanded-width) - 12px)));width:min(var(--expanded-width),calc(100% - 24px))}.practice-dashboard .flow-expanded-lane>header{padding:0 10px;flex-basis:38px}.practice-dashboard .appointments-expanded-lane>header{padding:12px 15px}.practice-dashboard .flow-expanded-lane>.flow-lane-search{flex:0 0 auto;margin:7px 6px;padding:9px 11px;border-radius:10px;background:#fff;border:1px solid var(--line);min-height:44px;color:#392c25;display:flex;align-items:center;gap:8px}.practice-dashboard .flow-lane-search input{min-width:0;width:100%;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0;padding:0!important;height:24px;min-height:24px;color:#392c25;font-size:15px;font-weight:500}.practice-dashboard .flow-expanded-lane>:is(.flow-lane-list,.timeline-list){padding-top:0}.flow-lane-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.flow-expanded-lane>:is(.flow-lane-list,.timeline-list){scrollbar-gutter:stable;scrollbar-color:color-mix(in srgb,var(--ink) 28%,transparent) transparent;transition:none}.flow-expanded-lane:not([data-motion=open])>:is(.flow-lane-list,.timeline-list){pointer-events:none;-webkit-user-select:none;user-select:none;transition:none}@media(prefers-reduced-motion:reduce){.flow-expanded-lane>:is(.flow-lane-list,.timeline-list){transition:none}}:is([role=dialog],.global-modal) header button[aria-label^=Close],.dialog-close-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;flex:0 0 36px;padding:6px;border:0;background:transparent;box-shadow:none;color:var(--ink)}:is([role=dialog],.global-modal) header button[aria-label^=Close]:hover,.dialog-close-button:hover{background:transparent;box-shadow:none;color:var(--accent)}.settings-command-editor.settings-grouped-editor{width:min(1080px,100%)}.settings-grouped-editor>header{min-height:64px;padding:14px 22px}.settings-grouped-editor>footer{padding:14px 22px}.settings-grouped-editor .settings-command-body{padding:18px 22px;container-type:inline-size}.settings-grouped-editor .settings-editor-scope{margin-bottom:16px}.settings-sections{border:0;padding:0;margin:0;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.settings-editor-section{min-width:0;padding:16px;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--soft) 55%,var(--panel))}.settings-editor-section:first-child{grid-row:span 2;align-self:stretch}.settings-grouped-editor[data-setting-kind=appointment_types] .settings-editor-section:first-child{grid-row:auto;grid-column:1 / -1}.settings-grouped-editor[data-setting-kind=appointment_types] .settings-editor-section:first-child .settings-field-grid{grid-template-columns:1.4fr .8fr 1fr}.settings-grouped-editor[data-setting-kind=appointment_types] .settings-editor-section:first-child .settings-description{grid-column:auto}.settings-editor-section h3{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;color:var(--ink);margin:0 0 15px;padding-bottom:12px;border-bottom:1px solid var(--line)}.settings-editor-section h3 svg{color:var(--accent);flex:none}.settings-grouped-editor .settings-field-grid{gap:14px 16px}.settings-grouped-editor .settings-columns-2,.settings-grouped-editor .settings-columns-3,.settings-grouped-editor .settings-columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grouped-editor .settings-description{grid-column:span 2}.settings-grouped-editor .settings-field-grid label{gap:7px;font-size:13px}.settings-grouped-editor .settings-field-grid input:not([type=checkbox]){height:40px;padding:9px 12px}.settings-grouped-editor .settings-field-grid .currency-input input{border:0;padding-left:0;background:transparent}.settings-grouped-editor .settings-field-grid .settings-check{grid-column:auto;border:0;padding:10px 0;min-height:40px;align-self:end;background:transparent}.settings-command-editor .settings-color-control{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;align-items:center}.settings-color-preview{width:24px;height:24px;border-radius:8px;box-shadow:inset 0 0 0 1px #0002}.settings-color-options{grid-column:1 / -1;display:flex;gap:8px;padding:2px}.settings-color-options button{width:22px;height:22px;min-height:0;padding:0;border:2px solid var(--panel);border-radius:50%}.settings-color-options button[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:1px}.settings-command-editor:not(.settings-grouped-editor) .settings-field-grid{background:color-mix(in srgb,var(--soft) 45%,var(--panel));border:1px solid var(--line);border-radius:18px;padding:18px}@container (max-width:580px){.settings-sections{grid-template-columns:minmax(0,1fr)}.settings-editor-section:first-child{grid-row:auto}.settings-grouped-editor[data-setting-kind=appointment_types] .settings-editor-section:first-child .settings-field-grid,.settings-grouped-editor .settings-columns-3,.settings-grouped-editor .settings-columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (max-width:340px){.settings-grouped-editor .settings-field-grid{grid-template-columns:minmax(0,1fr)}.settings-grouped-editor .settings-description{grid-column:auto}}
