.supset{gap:16px;min-width:0;display:grid}.supset-now{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);color:var(--ink-soft);font-size:var(--text-sm);align-items:flex-start;gap:8px;margin:0;padding:10px 14px;line-height:1.45;display:flex}.supset-now svg{width:16px;height:16px;color:var(--crm-accent);flex-shrink:0;margin-top:2px}.supset-now b{color:var(--ink)}.supset-replies{flex-direction:column;gap:10px;display:flex}.supset-reply{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle);grid-template-columns:110px minmax(0,1fr);align-items:center;gap:6px 14px;padding:12px 14px;display:grid}.supset-reply.is-changed{background:var(--warn-bg);border-color:#f2dfc0}.supset-reply-level{color:var(--ink);font-size:var(--text-sm);align-items:center;gap:6px;font-weight:750;display:flex}.supset-reply-inputs{flex-wrap:wrap;gap:8px;display:flex}.supset-reply-inputs .form-control{width:auto}.supset-reply-inputs .supset-amount{width:90px}.supset-reply>.orgset-hint,.supset-reply>.orgset-inline-error{grid-column:2}.supset-hours{grid-template-columns:repeat(auto-fit,minmax(160px,220px))}.supset-hours .orgset-field.is-wide{grid-column:1/-1}.supset-holidays,.supset-shifts{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.supset-holiday,.supset-shift{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);align-items:center;gap:8px 10px;padding:10px 12px;display:grid}.supset-holiday{grid-template-columns:160px minmax(0,1fr) auto auto}.supset-shift{grid-template-columns:minmax(0,1fr) auto 118px auto}.supset-holidays.is-changed .supset-holiday,.supset-shifts.is-changed .supset-shift{border-color:#f2dfc0}.supset-holiday.is-past{background:var(--surface-subtle)}.supset-holiday.is-past>:not(.supset-icon-btn){opacity:.6}.supset-holiday .orgset-switch label{background:0 0;border-color:#0000;padding:7px 10px}.supset-row-error{grid-column:1/-1}.supset-shift-times{color:var(--ink-faint);align-items:center;gap:6px;display:inline-flex}.supset-shift-times .form-control{width:auto}.supset-icon-btn{padding:4px 8px}.supset-icon-btn svg{width:16px;height:16px}.supset-empty{color:var(--ink-faint);font-size:var(--text-sm);margin:0}.supset-person-chip{align-items:center;gap:6px;padding-left:6px;display:inline-flex}.supset-callout p{flex-wrap:wrap;align-items:center;gap:4px 6px;margin:0;display:flex}.supset-callout p+p,.supset-callout p+ul{margin-top:6px}.supset-gaps{columns:2 220px;margin:6px 0 0;padding-left:18px}.supset-gaps li{break-inside:avoid;font-variant-numeric:tabular-nums}.supset-roster-wrap{overflow-x:auto}.supset-roster{table-layout:fixed;min-width:720px}.supset-roster th:first-child{width:150px}.supset-roster tr>:first-child{z-index:1;background:var(--card);text-align:left;position:sticky;left:0}.supset-roster tbody th{white-space:normal;font-weight:400}.supset-roster tbody th small{color:var(--ink-faint);font-size:var(--text-xs);white-space:normal;overflow-wrap:anywhere;margin-top:2px;display:block}.supset-roster thead th:not(:first-child){text-align:center}.supset-roster td{text-align:center;vertical-align:middle;padding:6px 4px}.supset-coverage{color:var(--ink-soft);font-size:var(--text-sm);flex-wrap:wrap;align-items:center;gap:8px;margin:0;display:flex}.supset-cell{max-width:100%;display:inline-flex}.supset-cell-btn{border-radius:var(--radius-sm);min-width:44px;min-height:34px;font:inherit;cursor:pointer;background:0 0;border:1px dashed #0000;justify-content:center;align-items:center;padding:3px 6px;display:inline-flex}.supset-cell-btn:hover{border-color:var(--line-strong);background:var(--surface-subtle)}.supset-cell-btn.is-empty{border-color:var(--line-strong)}.supset-cell-btn:focus-visible{border-color:var(--focus-border);box-shadow:var(--focus-ring);outline:none}.supset-faces{align-items:center;display:inline-flex}.supset-face{box-shadow:0 0 0 2px var(--card);border-radius:50%;display:inline-flex}.supset-face+.supset-face{margin-left:-6px}.supset-face.is-more{background:var(--surface-muted);width:24px;height:24px;color:var(--ink-soft);justify-content:center;align-items:center;font-size:.66rem;font-weight:800}.supset-nobody{color:var(--ink-faint);font-size:var(--text-xs)}.supset-pop{z-index:60;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);max-height:min(360px,70vh);box-shadow:var(--shadow-lg,0 12px 32px #0f172a2e);text-align:left;flex-direction:column;gap:2px;padding:8px;display:flex;position:fixed;overflow-y:auto}.supset-pop-head{color:var(--ink-soft);font-size:var(--text-xs);margin:2px 6px 6px;font-weight:750}.supset-pop-row{border-radius:var(--radius-sm);font-size:var(--text-sm);cursor:pointer;align-items:center;gap:8px;padding:7px 8px;display:flex}.supset-pop-row:hover{background:var(--surface-subtle)}.supset-pop-row.is-on{background:var(--ws-accent-soft,var(--surface-muted))}.supset-pop-row small{color:var(--ink-faint)}.supset-pop-empty{color:var(--ink-faint);font-size:var(--text-xs);margin:4px 6px 8px}.supset-pop-foot{justify-content:flex-end;margin-top:6px;display:flex}.supset-swap-add{flex-wrap:wrap;align-items:flex-end;gap:8px 10px;display:flex}.supset-swap-date{color:var(--ink);font-size:var(--text-xs);flex-direction:column;gap:6px;font-weight:750;display:flex}.supset-swap-date .form-control{width:auto}.supset-swaps{flex-direction:column;gap:10px;display:flex}.supset-swap{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle);padding:12px 14px}.supset-swap-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:8px;display:flex}.supset-swap-head>span{flex-direction:column;gap:2px;display:flex}.supset-swap-head small{color:var(--ink-faint);font-size:var(--text-xs)}.supset-swap-shifts{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.supset-swap-shifts li{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:4px 0;display:flex}.supset-swap-shift{min-width:0;font-size:var(--text-sm);flex-direction:column;display:flex}.supset-swap-shift small{color:var(--ink-faint);font-size:var(--text-xs)}.supset-past{color:var(--ink-faint);font-size:var(--text-xs);flex-wrap:wrap;align-items:center;gap:8px;margin:0;display:flex}@media (max-width:640px){.supset-reply{grid-template-columns:minmax(0,1fr)}.supset-reply>.orgset-hint,.supset-reply>.orgset-inline-error{grid-column:1}.supset-reply-inputs .form-control{flex:120px}.supset-reply-inputs .supset-amount{flex:0 0 80px}.supset-holiday{grid-template-columns:minmax(0,1fr) auto}.supset-holiday-name{grid-area:2/1/auto/-1}.supset-holiday .orgset-switch{grid-area:3/1/auto/-1}.supset-holiday .supset-icon-btn{grid-area:1/2}.supset-shift{grid-template-columns:minmax(0,1fr) auto}.supset-shift-times{grid-area:2/1/auto/-1}.supset-shift-times .form-control{flex:1 1 0;min-width:0}.supset-shift .supset-icon-btn{grid-area:1/2}.supset-roster th:first-child{width:112px}.supset-pop{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:auto!important;top:auto!important;left:12px!important}}.supset-india{gap:4px;max-width:460px;margin-bottom:12px;display:grid}.supset-india label{font-size:var(--text-sm);color:var(--ink);font-weight:700}.supset-holidays{container-type:inline-size}@container (max-width:560px){.supset-holiday{grid-template-columns:minmax(0,1fr) auto}.supset-holiday-name{grid-area:2/1/auto/-1}.supset-holiday .orgset-switch{grid-area:3/1/auto/-1}.supset-holiday .supset-icon-btn{grid-area:1/2}}.supset-move{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle);flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px;padding:10px 12px;display:flex}.supset-move-title{font-size:var(--text-sm);color:var(--ink);margin-right:4px;font-weight:700}.supset-move .form-control{width:auto;min-width:110px}.supset-move-note{flex-basis:100%}.supset-shifts{container-type:inline-size}@container (max-width:560px){.supset-shift{grid-template-columns:minmax(0,1fr) auto}.supset-shift-times{grid-area:2/1/auto/-1}.supset-shift-times .form-control{flex:1 1 0;min-width:0}.supset-shift .supset-icon-btn{grid-area:1/2}}
.trv{gap:16px;min-width:0;display:grid}.trv-summary{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);color:var(--ink-soft);font-size:var(--text-sm);align-items:flex-start;gap:8px;margin:0;padding:10px 14px;line-height:1.45;display:flex}.trv-summary svg{width:16px;height:16px;color:var(--crm-accent);flex-shrink:0;margin-top:2px}.trv-summary b{color:var(--ink)}.trv-callout{margin:0}.trv-empty{color:var(--ink-faint);font-size:var(--text-sm);flex-wrap:wrap;align-items:center;gap:6px;margin:0;display:flex}.trv-filters{flex-wrap:wrap;gap:8px;margin-bottom:12px;display:flex}.trv-search{flex:220px;min-width:0}.trv-feature-filter{flex:0 220px;width:auto;min-width:0}.trv-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex;container-type:inline-size}.trv-row{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card);grid-template-columns:128px minmax(0,1fr) auto;align-items:start;gap:10px 14px;padding:10px 12px;display:grid}.trv-row.is-off{background:var(--surface-subtle)}.trv-row.is-off .trv-thumb,.trv-row.is-off .trv-row-main{opacity:.6}.trv-thumb{aspect-ratio:16/9;border-radius:var(--radius-sm);background:var(--surface-muted);display:block;overflow:hidden}.trv-thumb img{object-fit:cover;width:100%;height:100%;display:block}.trv-row-main{flex-direction:column;gap:4px;min-width:0;display:flex}.trv-title{color:var(--ink);font-size:var(--text-sm);overflow-wrap:anywhere;font-weight:750;line-height:1.35;text-decoration:none}.trv-title:hover{color:var(--crm-accent,var(--action));text-decoration:underline}.trv-row-tags{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.trv-feature{border-radius:var(--radius-pill);background:var(--ws-accent-soft,var(--surface-muted));max-width:100%;color:var(--ws-accent,var(--ink-soft));font-size:var(--text-xs);overflow-wrap:anywhere;padding:1px 8px;font-weight:700;line-height:18px;display:inline-flex}.trv-stamp{color:var(--ink-faint);font-size:var(--text-xs)}.trv-stamp.is-missing{color:var(--warn-fg);cursor:help}.trv-desc{color:var(--ink-soft);font-size:var(--text-sm);overflow-wrap:anywhere;margin:0;line-height:1.45}.trv-meta{color:var(--ink-faint);font-size:var(--text-xs)}.trv-row-actions{align-items:center;gap:4px;display:flex}.trv-row-actions .orgset-switch label{background:0 0;border-color:#0000;padding:6px 8px}.trv-icon-btn{padding:4px 8px}.trv-icon-btn svg{width:16px;height:16px}@container (max-width:560px){.trv-row{grid-template-columns:96px minmax(0,1fr)}.trv-row-actions{border-top:1px solid var(--line);grid-column:1/-1;justify-content:flex-end;padding-top:6px}}@container (max-width:360px){.trv-row{grid-template-columns:minmax(0,1fr)}.trv-thumb{max-width:200px}}.trv-preview{color:var(--ink-soft);font-size:var(--text-xs);align-items:center;gap:10px;margin-top:-6px;text-decoration:none;display:flex}.trv-preview img{aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius-sm);background:var(--surface-muted);width:160px;max-width:45%}.trv-preview:hover span{text-decoration:underline}.trv-transcript{resize:vertical;min-height:240px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;line-height:1.5}.trv-import{flex-direction:column;gap:12px;display:flex}.trv-import-steps{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.trv-import-steps label.is-disabled{opacity:.55;pointer-events:none}.trv-import-file{min-width:0;color:var(--ink-soft);font-size:var(--text-xs);overflow-wrap:anywhere}.trv-import-rows{border:1px solid var(--line);border-radius:var(--radius-md);flex-direction:column;max-height:360px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto;container-type:inline-size}.trv-import-row{border-top:1px solid var(--line);grid-template-columns:64px 82px minmax(0,1fr);align-items:start;gap:6px 10px;padding:8px 12px;display:grid}.trv-import-row:first-child{border-top:0}.trv-import-row.is-error{background:var(--bad-bg,var(--surface-subtle))}.trv-import-num{color:var(--ink-faint);font-size:var(--text-xs);font-variant-numeric:tabular-nums;line-height:22px}.trv-import-what{min-width:0;font-size:var(--text-sm);flex-direction:column;gap:2px;display:flex}.trv-import-what small{color:var(--ink-faint);font-size:var(--text-xs);overflow-wrap:anywhere}@container (max-width:420px){.trv-import-row{grid-template-columns:auto minmax(0,1fr)}.trv-import-what{grid-column:1/-1}}.trv-import-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.trv-import-result{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle);font-size:var(--text-sm);flex-direction:column;align-items:flex-start;gap:8px;padding:10px 14px;display:flex}.trv-import-result p{margin:0}.trv-import-failed{color:var(--ink-soft);font-size:var(--text-xs);margin:0;padding-left:18px}.trv-questions{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.trv-question{border-top:1px solid var(--line);flex-direction:column;gap:4px;padding:10px 0;display:flex}.trv-question:first-child{border-top:0;padding-top:0}.trv-q{color:var(--ink);font-size:var(--text-sm);overflow-wrap:anywhere;margin:0;font-weight:650;line-height:1.45}.trv-q-en{color:var(--ink-soft);font-size:var(--text-sm);overflow-wrap:anywhere;margin:0;line-height:1.45}.trv-q-en span{color:var(--ink-faint);font-size:var(--text-xs);font-weight:700}.trv-q-videos{flex-wrap:wrap;align-items:center;gap:6px;margin-top:2px;display:flex}.trv-q-label{color:var(--ink-faint);font-size:var(--text-xs)}.trv .crm-section-head{flex-wrap:wrap}@media (max-width:640px){.trv-feature-filter{flex:100%}.trv-preview img{width:120px}}
.orgset-page .clinic-container{max-width:1180px}.orgset-dirty-flag{border-radius:var(--radius-pill);background:var(--warn-bg);color:var(--warn-fg);border:1px solid #fde3ba;align-items:center;gap:6px;padding:4px 11px;font-size:.71rem;font-weight:800;display:inline-flex}.orgset-readonly-pill{border:1px solid var(--line-strong);border-radius:var(--radius-pill);background:var(--surface-muted);color:var(--ink-soft);font-size:var(--text-xs);flex-shrink:0;padding:6px 12px;font-weight:750}.orgset-shell{grid-template-columns:268px minmax(0,1fr);align-items:start;gap:22px;display:grid}.orgset-rail{top:calc(var(--cmdbar-height,152px) + 14px);flex-direction:column;gap:10px;display:flex;position:sticky}.orgset-rail-list{flex-direction:column;gap:4px;display:flex}.orgset-rail-item{border-radius:var(--radius-md);width:100%;color:var(--ink-soft);text-align:left;cursor:pointer;transition:background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);background:0 0;border:1px solid #0000;align-items:flex-start;gap:10px;padding:10px 12px;font-family:inherit;display:flex}.orgset-rail-item:hover:not(.is-active){color:var(--ink)}.orgset-rail-item.is-active{border-color:var(--line);background:var(--card);color:var(--ink);box-shadow:var(--shadow), inset 3px 0 0 var(--action)}.orgset-rail-item span{flex-direction:column;gap:2px;min-width:0;display:flex}.orgset-rail-item strong{font-size:var(--text-sm);font-weight:750}.orgset-rail-item small{color:var(--ink-faint);font-size:var(--text-xs);line-height:1.35}.orgset-rail-item .orgset-icon{flex-shrink:0;width:17px;height:17px;margin-top:1px}.orgset-rail-badge{border-radius:var(--radius-pill);background:var(--warn-fg);color:#fff;text-align:center;flex-shrink:0;min-width:18px;height:18px;padding:0 5px;font-size:.64rem;font-style:normal;font-weight:800;line-height:18px}.orgset-rail-empty{color:var(--ink-faint);font-size:var(--text-xs);margin:8px 12px}.orgset-section{border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--card);box-shadow:var(--shadow);padding:22px 24px 0}.orgset-section-head{margin-bottom:18px}.orgset-section-head h2{letter-spacing:-.01em;margin:0 0 6px;font-size:1.12rem}.orgset-section-head p{max-width:68ch;color:var(--ink-soft);font-size:var(--text-sm);margin:0;line-height:1.5}.orgset-section-body{flex-direction:column;gap:18px;display:flex}.orgset-subhead{margin-top:4px}.orgset-subhead h3{margin:0 0 4px;font-size:.96rem}.orgset-subhead .orgset-hint{margin-top:0}.orgset-actionbar{border-top:1px solid var(--line);border-radius:0 0 var(--radius-xl) var(--radius-xl);background:var(--surface-soft);justify-content:space-between;align-items:center;gap:12px;margin:20px -24px 0;padding:12px 24px;display:flex;position:sticky;bottom:0}.orgset-actionbar.is-live{background:var(--warn-bg);border-top-color:#f2dfc0}.orgset-actionbar-count{color:var(--warn-fg);font-size:var(--text-sm);font-weight:750}.orgset-actionbar-idle{color:var(--ink-faint);font-size:var(--text-xs)}.orgset-actionbar-buttons{gap:8px;display:flex}.orgset-section-error{background:var(--bad-bg);color:var(--bad-fg);font-size:var(--text-sm);border-top:1px solid #fecaca;margin:0 -24px;padding:12px 24px;font-weight:700}.orgset-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;display:grid}.orgset-field{flex-direction:column;gap:6px;min-width:0;display:flex}.orgset-field.is-wide{grid-column:1/-1}.orgset-field>label,.orgset-field>span{color:var(--ink);font-size:var(--text-xs);align-items:center;gap:6px;font-weight:750;display:flex}.orgset-hint{color:var(--ink-faint);font-size:var(--text-xs);margin:0;line-height:1.45}.orgset-changed-dot{background:var(--warn-fg);border-radius:50%;width:6px;height:6px}.orgset-inline-error{color:var(--bad-fg);font-size:var(--text-xs);margin:0;font-weight:700}.orgset-callout{border:1px solid #f2dfc0;border-left:3px solid var(--warn-fg);border-radius:var(--radius-md);background:var(--warn-bg);color:var(--warn-fg);font-size:var(--text-sm);padding:12px 14px;line-height:1.5}.orgset-consent{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;line-height:1.6}.orgset-example{color:var(--ink-faint);font-size:var(--text-xs);align-items:center;gap:8px;margin:2px 0 0;display:flex}.orgset-example code{border:1px solid var(--line-strong);background:var(--surface-muted);color:var(--ink);border-radius:6px;padding:3px 8px;font-size:.78rem;font-weight:700}.orgset-example em{color:var(--ink-faint);font-style:normal}.orgset-placeholders code{background:var(--surface-muted);color:var(--ink-soft);border-radius:5px;padding:1px 5px}.orgset-switch{position:relative}.orgset-switch input{opacity:0;width:1px;height:1px;position:absolute}.orgset-switch label{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle);cursor:pointer;align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.orgset-switch.is-disabled label{cursor:not-allowed;opacity:.6}.orgset-switch.is-changed label{background:var(--warn-bg);border-color:#f2dfc0}.orgset-switch.is-warn label{border-color:#f2dfc0}.orgset-switch input:focus-visible+label{border-color:var(--focus-border);box-shadow:var(--focus-ring)}.orgset-switch-track{border-radius:var(--radius-pill);background:var(--line-strong);width:36px;height:20px;transition:background var(--duration-fast) var(--ease-standard);flex-shrink:0;margin-top:1px;position:relative}.orgset-switch-track span{width:16px;height:16px;transition:transform var(--duration-fast) var(--ease-standard);background:#fff;border-radius:50%;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #141e3c40}.orgset-switch input:checked+label .orgset-switch-track{background:var(--action)}.orgset-switch input:checked+label .orgset-switch-track span{transform:translate(16px)}.orgset-switch-text{flex-direction:column;gap:3px;min-width:0;display:flex}.orgset-switch-text strong{font-size:var(--text-sm);align-items:center;gap:6px;font-weight:750;display:flex}.orgset-switch-text small{color:var(--ink-faint);font-size:var(--text-xs);line-height:1.45}.orgset-group{flex-direction:column;gap:8px;display:flex}.orgset-group-head{flex-direction:column;gap:2px;display:flex}.orgset-group-head strong{font-size:var(--text-sm)}.orgset-chips{flex-wrap:wrap;gap:8px;display:flex}.orgset-chip{border:1px solid var(--line-strong);border-radius:var(--radius-pill);background:var(--card);color:var(--ink-soft);font-family:inherit;font-size:var(--text-xs);cursor:pointer;padding:7px 14px;font-weight:750}.orgset-chip.is-on{border-color:var(--action);background:var(--action);color:var(--action-contrast)}.orgset-chip:disabled{cursor:not-allowed;opacity:.65}.orgset-sensitive{border:1px solid var(--line-strong);border-radius:var(--radius-lg);background:var(--surface-muted);flex-direction:column;gap:8px;padding:16px;display:flex}.orgset-sensitive-head{align-items:center;gap:10px;display:flex}.orgset-sensitive-head h3{margin:0;font-size:.94rem}.orgset-pill{border-radius:var(--radius-pill);text-transform:uppercase;letter-spacing:.03em;padding:3px 10px;font-size:.66rem;font-weight:800}.orgset-pill.is-ok{background:var(--ok-bg);color:var(--ok-fg)}.orgset-pill.is-warn{background:var(--warn-bg);color:var(--warn-fg)}.orgset-brand-grid{grid-template-columns:minmax(0,1fr) minmax(0,380px);align-items:start;gap:22px;display:grid}.orgset-brand-controls{flex-direction:column;gap:16px;display:flex}.orgset-swatches{flex-wrap:wrap;gap:8px;display:flex}.orgset-swatch{cursor:pointer;border:2px solid #0000;border-radius:9px;width:30px;height:30px;box-shadow:inset 0 0 0 1px #141e3c24}.orgset-swatch.is-active{border-color:var(--ink)}.orgset-swatch:disabled{cursor:not-allowed;opacity:.5}.orgset-color-row{align-items:center;gap:8px;display:flex}.orgset-color-input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--card);cursor:pointer;width:44px;height:38px;padding:3px}.orgset-hex{max-width:140px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.orgset-contrast{border-radius:var(--radius-md);background:var(--ok-bg);color:var(--ok-fg);font-size:var(--text-xs);align-items:center;gap:10px;padding:9px 12px;font-weight:700;display:flex}.orgset-contrast.is-bad{background:var(--bad-bg);color:var(--bad-fg)}.orgset-contrast-badge{border-radius:var(--radius-pill);background:var(--card);letter-spacing:.04em;border:1px solid;flex-shrink:0;padding:2px 8px;font-size:.64rem;font-weight:800}.orgset-preview{flex-direction:column;gap:10px;display:flex;position:sticky;top:18px}.orgset-preview-tabs{border-radius:var(--radius-pill);background:var(--surface-muted);gap:2px;padding:3px;display:inline-flex}.orgset-preview-tab{border-radius:var(--radius-pill);color:var(--ink-soft);font-family:inherit;font-size:var(--text-xs);cursor:pointer;background:0 0;border:0;padding:5px 14px;font-weight:750}.orgset-preview-tab.is-active{background:var(--card);color:var(--ink);box-shadow:var(--shadow)}.orgset-preview-note{color:var(--ink-faint);font-size:var(--text-xs);margin:0}.orgset-letterhead{border:1px solid var(--line-strong);border-radius:var(--radius-md);color:#1a1c1c;background:#fff;padding:18px 20px 16px;font-family:Georgia,Times New Roman,serif}.orgset-letterhead-top{align-items:flex-start;gap:12px;display:flex}.orgset-letterhead-logo.is-wide{object-fit:contain;max-width:150px;max-height:44px}.orgset-letterhead-logo.is-mark{object-fit:contain;width:42px;height:42px}.orgset-letterhead-nabh{flex-direction:column;flex:none;align-items:center;gap:2px;margin:0;display:flex}.orgset-letterhead-nabh img{object-fit:contain;width:42px;height:42px}.orgset-letterhead-nabh figcaption{color:#111;white-space:nowrap;flex-direction:column;align-items:center;font:8px/1.2 Arial,Helvetica,sans-serif;display:flex}.orgset-letterhead-id{flex-direction:column;gap:2px;min-width:0;display:flex}.orgset-letterhead-id strong{color:var(--pv-ink);font-size:14px}.orgset-letterhead-id em{color:#555;font-size:10px;font-style:italic}.orgset-letterhead-id span{color:#6b6b6b;font-size:9.5px}.orgset-letterhead-rule{background:var(--pv-rule);height:2px;margin:10px 0 12px}.orgset-letterhead-title{letter-spacing:.06em;text-transform:uppercase;color:var(--pv-ink);margin:0 0 8px;font-size:12px;font-weight:700}.orgset-letterhead-grid{font-family:var(--font-sans);grid-template-columns:auto 1fr;gap:3px 12px;font-size:10px;display:grid}.orgset-letterhead-grid span{color:#777}.orgset-letterhead-grid b{color:#1a1c1c;font-weight:700}.orgset-letterhead-foot{border-top:1px dashed var(--line-strong);color:#9aa1ad;font-family:var(--font-sans);margin:12px 0 0;padding-top:8px;font-size:9.5px}.orgset-chrome{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--card);overflow:hidden}.orgset-chrome-nav{border-bottom:1px solid var(--line);background:var(--surface-soft);gap:4px;padding:8px 10px;display:flex}.orgset-chrome-nav span{border-radius:var(--radius-sm);color:var(--ink-soft);font-size:var(--text-xs);padding:5px 11px;font-weight:700}.orgset-chrome-nav .is-active{background:var(--brand-soft);color:var(--brand-strong)}.orgset-chrome-body{flex-wrap:wrap;align-items:center;gap:10px;padding:16px;display:flex}.orgset-chrome-btn{border:1px solid var(--brand-edge,var(--brand));border-radius:var(--radius-sm);background:var(--brand);color:var(--brand-contrast);font-family:inherit;font-size:var(--text-xs);cursor:default;padding:8px 16px;font-weight:750}.orgset-chrome-btn.is-soft{border-color:var(--brand-border);background:var(--brand-soft);color:var(--brand-strong)}.orgset-chrome-chip{border-radius:var(--radius-pill);background:var(--brand-soft);color:var(--brand-strong);font-size:var(--text-xs);padding:4px 11px;font-weight:750}.orgset-chrome-link{color:var(--brand-strong);font-size:var(--text-xs);font-weight:700}.orgset-logos{flex-direction:column;gap:12px;display:flex}.orgset-logo{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-subtle);grid-template-columns:148px minmax(0,1fr);gap:16px;padding:14px;display:grid}.orgset-logo-frame{border:1px dashed var(--line-strong);border-radius:var(--radius-md);background-color:#fff;background-image:linear-gradient(45deg,#f0f2f6 25%,#0000 25% 75%,#f0f2f6 75%),linear-gradient(45deg,#f0f2f6 25%,#0000 25% 75%,#f0f2f6 75%);background-position:0 0,6px 6px;background-size:12px 12px;justify-content:center;align-items:center;padding:10px;display:flex}.orgset-logo-frame.is-square{aspect-ratio:1}.orgset-logo-frame.is-wide{aspect-ratio:16/6}.orgset-logo-frame img{object-fit:contain;max-width:100%;max-height:100%}.orgset-logo-empty{color:var(--ink-faint);font-size:var(--text-xs);font-weight:700}.orgset-logo-meta{flex-direction:column;gap:6px;min-width:0;display:flex}.orgset-logo-meta strong{font-size:var(--text-sm)}.orgset-logo-facts{font-size:var(--text-xs);color:var(--ink-soft);flex-wrap:wrap;gap:6px 14px;margin:2px 0 0;padding:0;list-style:none;display:flex}.orgset-logo-facts .is-ok{color:var(--ok-fg);font-weight:700}.orgset-logo-facts .is-warn{color:var(--warn-fg);font-weight:700}.orgset-logo-actions{gap:8px;margin-top:4px;display:flex}.orgset-danger-text{color:var(--bad-fg)}@media (max-width:1080px){.orgset-brand-grid{grid-template-columns:1fr}.orgset-preview{position:static}}@media (max-width:860px){.orgset-shell{grid-template-columns:1fr;gap:14px}.orgset-head{flex-direction:column}.orgset-rail{position:static}.orgset-rail-list{scrollbar-width:none;flex-direction:row;gap:8px;padding-bottom:4px;overflow-x:auto}.orgset-rail-list::-webkit-scrollbar{display:none}.orgset-rail-item{border-color:var(--line);background:var(--card);flex-shrink:0;align-items:center;width:auto}.orgset-rail-item small{display:none}.orgset-rail-item.is-active{border-color:var(--action)}.orgset-section{padding:18px 16px 0}.orgset-actionbar{bottom:var(--mv-navbar-h,0px);margin:18px -16px 0;padding:12px 16px}.orgset-section-error{margin:0 -16px;padding:12px 16px}.orgset-logo{grid-template-columns:1fr}.orgset-logo-frame.is-wide,.orgset-logo-frame.is-square{aspect-ratio:16/6}}.orgset-example.is-error em{color:var(--bad-fg);font-weight:700}.taxset{flex-direction:column;gap:28px;display:flex}.taxset-block{flex-direction:column;gap:14px;display:flex}.taxset-block-head h3{color:var(--ink);font-size:var(--text-md,1rem);margin:0 0 4px;font-weight:800}.taxset-block-head p{color:var(--ink-soft);font-size:var(--text-sm);max-width:68ch;margin:0;line-height:1.5}.taxset-block-head code,.taxset-mono{letter-spacing:.02em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.taxset-optional{color:var(--ink-faint);font-weight:600}.taxset-empty{color:var(--ink-faint);font-size:var(--text-sm);margin:0}.taxset-regs{flex-direction:column;gap:12px;display:flex}.taxset-reg{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface);flex-direction:column;gap:12px;padding:14px 16px;display:flex}.taxset-reg-top{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;display:grid}.taxset-schedule{flex-direction:column;gap:8px;display:flex}.taxset-schedule-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.taxset-schedule-row .form-control{width:auto;min-width:170px}.taxset-schedule-label{color:var(--ink-soft);font-size:var(--text-xs);font-weight:750}.taxset-schedule-note{color:var(--ink-faint);font-size:var(--text-xs)}.taxset-reg-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.taxset-reg-actions{flex-wrap:wrap;gap:8px;display:flex}.taxset-chip{border-radius:var(--radius-pill);background:var(--surface-muted);color:var(--ink-soft);white-space:nowrap;align-items:center;padding:2px 9px;font-size:.72rem;font-weight:800;display:inline-flex}.taxset-chip.is-regular{background:var(--ok-bg);color:var(--ok-fg)}.taxset-chip.is-composition{background:var(--warn-bg);color:var(--warn-fg)}.taxset-suggest,.taxset-clash{border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--surface-muted);font-size:var(--text-sm);padding:12px 14px}.taxset-suggest ul,.taxset-clash ul{flex-direction:column;gap:6px;margin:8px 0 0;padding:0;list-style:none;display:flex}.taxset-suggest li{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.taxset-suggest li span{color:var(--ink-soft);flex:1;min-width:120px}.taxset-clash{border-color:#f5c2c2;border-left:3px solid var(--bad-fg);background:var(--bad-bg,#fdf0f0);color:var(--bad-fg)}.taxset-table-wrap{border:1px solid var(--line-strong);border-radius:var(--radius-md);overflow-x:auto}.taxset-table{border-collapse:collapse;width:100%;font-size:var(--text-sm)}.taxset-table th,.taxset-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:10px 12px}.taxset-table thead th{color:var(--ink-faint);letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;font-size:.7rem;font-weight:800}.taxset-table tbody tr:last-child th,.taxset-table tbody tr:last-child td{border-bottom:0}.taxset-table tbody th{color:var(--ink);font-weight:750}.taxset-table .form-control{min-width:180px}.taxset-table .taxset-code{text-transform:uppercase;width:64px;min-width:0}.taxset-sub{color:var(--ink-faint);font-size:var(--text-xs);margin-top:4px;display:block}.taxset-problem{color:var(--bad-fg);font-size:var(--text-xs);margin-top:4px;font-weight:700;display:block}.orgset-clinic-seal{margin-top:20px}
.pk-table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.pk-table{border-collapse:collapse;width:100%;font-size:var(--text-sm)}.pk-table th{text-align:left;font-size:var(--text-xs);font-weight:var(--font-weight-bold);color:var(--ink-faint);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--line);white-space:nowrap;padding:10px 12px}.pk-table td{border-bottom:1px solid var(--line);vertical-align:middle;padding:11px 12px}.pk-table tbody tr{cursor:pointer}.pk-table tbody tr:hover{background:var(--surface-soft)}.pk-table tbody tr.is-archived{opacity:.55}.pk-table .pk-num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.pk-name{font-weight:var(--font-weight-semibold);color:var(--ink)}.pk-row-open{color:inherit;text-decoration:none}.pk-row-open:hover{text-underline-offset:2px;text-decoration:underline}.pk-name-sub{font-size:var(--text-xs);color:var(--ink-faint);margin-top:2px;font-weight:500;display:block}.pk-code{background:var(--surface-muted);color:var(--ink-soft);font-size:var(--text-xs);font-weight:var(--font-weight-semibold);font-variant-numeric:tabular-nums;border-radius:999px;padding:2px 7px;display:inline-block}.pk-code.is-custom{border:1px dashed var(--line-strong);color:var(--ink-faint);background:0 0}.pk-chip{border:1px solid var(--line);background:var(--surface-subtle);color:var(--ink-soft);font-size:var(--text-xs);font-weight:var(--font-weight-semibold);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.pk-chip.is-benchmark{border-style:dashed}.pk-chip.is-archived{background:var(--surface-muted);color:var(--ink-faint)}.pk-price{font-weight:var(--font-weight-semibold);color:var(--ink)}.pk-price-source{font-size:var(--text-xs);color:var(--ink-faint);font-weight:500;display:block}.pk-drawer-overlay{z-index:60;background:#141e3c61;justify-content:flex-end;animation:.15s pk-fade;display:flex;position:fixed;inset:0}@keyframes pk-fade{0%{opacity:0}to{opacity:1}}.pk-drawer{background:var(--card);flex-direction:column;width:min(560px,100%);height:100%;animation:.22s cubic-bezier(.22,1,.36,1) pk-slide-in;display:flex;box-shadow:-18px 0 44px #141e3c29}@keyframes pk-slide-in{0%{opacity:.6;transform:translate(24px)}to{opacity:1;transform:translate(0)}}.pk-drawer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.pk-drawer-head h2{font-size:var(--text-lg);font-weight:var(--font-weight-bold);margin:0}.pk-drawer-head .pk-drawer-version{font-size:var(--text-xs);color:var(--ink-faint);font-weight:600}.pk-drawer-close{background:var(--surface-muted);width:30px;height:30px;color:var(--ink-soft);cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.pk-drawer-close:hover{color:var(--ink);background:var(--surface-soft)}.pk-drawer-body{gap:var(--space-5);flex-direction:column;flex:auto;padding:20px;display:flex;overflow-y:auto}.pk-drawer-foot{justify-content:flex-end;gap:var(--space-3);border-top:1px solid var(--line);padding:14px 20px;display:flex}.pk-fieldset{gap:var(--space-3);flex-direction:column;display:flex}.pk-fieldset>h3{font-size:var(--text-xs);font-weight:var(--font-weight-bold);color:var(--ink-faint);text-transform:uppercase;letter-spacing:.05em;margin:0}.pk-fieldset>p.pk-hint{font-size:var(--text-xs);color:var(--ink-faint);margin:-4px 0 0}.pk-grid{gap:var(--space-3);grid-template-columns:1fr 1fr;display:grid}.pk-grid label,.pk-fieldset>label{font-size:var(--text-sm);font-weight:var(--font-weight-semibold);color:var(--ink-soft);flex-direction:column;gap:5px;display:flex}.pk-grid label.is-wide{grid-column:1/-1}.pk-check{align-items:center;gap:var(--space-2)!important;flex-direction:row!important}.pk-check input{width:auto}@media (max-width:560px){.pk-grid{grid-template-columns:1fr}}.pk-row-list{gap:var(--space-2);flex-direction:column;display:flex}.pk-row{align-items:center;gap:var(--space-2);padding:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-subtle);display:grid}.pk-row.is-material{grid-template-columns:2fr 72px 64px auto auto}.pk-row.is-field{grid-template-columns:2fr 1fr auto}.pk-row .form-control{font-size:var(--text-sm)}.pk-row-remove{cursor:pointer;background:var(--surface-muted);width:26px;height:26px;color:var(--ink-faint);border:0;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.pk-row-remove:hover{background:var(--bad-bg);color:var(--bad-fg)}.pk-row-options{grid-column:1/-1}@media (max-width:560px){.pk-row.is-material,.pk-row.is-field{grid-template-columns:1fr 1fr}}.pk-weekdays{flex-wrap:wrap;gap:6px;display:flex}.pk-weekday{cursor:pointer;border:1px solid var(--line);background:var(--surface-subtle);min-width:38px;color:var(--ink-soft);font-size:var(--text-xs);font-weight:var(--font-weight-semibold);transition:all var(--duration-fast) var(--ease-standard);border-radius:999px;padding:5px 8px}.pk-weekday.is-active{background:var(--action);border-color:var(--action);color:var(--action-contrast)}.pk-empty{align-items:center;gap:var(--space-2);padding:var(--space-6) var(--space-4);text-align:center;color:var(--ink-faint);flex-direction:column;display:flex}.pk-empty h3{font-size:var(--text-md);color:var(--ink);margin:0}.pk-empty p{font-size:var(--text-sm);max-width:42ch;margin:0}.pk-empty svg{opacity:.5;width:34px;height:34px}.pk-table tbody tr.is-urgent td:first-child{box-shadow:inset 3px 0 0 var(--bad-fg)}.pk-status{font-size:var(--text-xs);font-weight:var(--font-weight-semibold);background:var(--surface-muted);color:var(--ink-soft);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:3px 9px;display:inline-flex}.pk-status:before{content:"";background:currentColor;border-radius:999px;width:6px;height:6px}.pk-status.is-recommended{background:var(--warn-bg);color:var(--warn-fg)}.pk-status.is-in_progress{background:var(--ok-bg);color:var(--ok-fg)}.pk-status.is-completed{background:var(--surface-muted);color:var(--ink-faint)}.pk-status.is-cancelled{background:var(--bad-bg);color:var(--bad-fg)}.pk-wait{font-size:var(--text-xs);color:var(--ink-faint);font-variant-numeric:tabular-nums}.pk-wait.is-long{color:var(--warn-fg);font-weight:var(--font-weight-semibold)}.pk-wait.is-stale{color:var(--bad-fg);font-weight:var(--font-weight-bold)}.pk-progress-bar{background:var(--surface-muted);border-radius:999px;width:68px;height:5px;margin-top:4px;display:block;overflow:hidden}.pk-progress-bar span{background:var(--ok-fg);border-radius:999px;height:100%;display:block}.pk-row-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.pk-btn-take{cursor:pointer;border:1px solid var(--action);background:var(--action);color:var(--action-contrast);font-size:var(--text-xs);font-weight:var(--font-weight-bold);white-space:nowrap;border-radius:999px;padding:5px 12px}.pk-btn-take:disabled{opacity:.5;cursor:default}.pk-btn-assign{cursor:pointer;border:1px solid var(--line-strong);background:var(--card);color:var(--ink-soft);font:inherit;font-size:var(--text-xs);font-weight:var(--font-weight-bold);white-space:nowrap;transition:color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);border-radius:999px;padding:5px 12px}.pk-btn-assign:hover:not(:disabled){color:var(--ink);border-color:var(--ink-faint)}.pk-btn-assign:disabled{opacity:.5;cursor:default}.modal-overlay.pk-modal-overlay{align-items:flex-start;padding:40px 20px;overflow-y:auto}.pk-modal{width:min(420px,94vw);max-width:420px}.pk-modal-head{align-items:flex-start;gap:var(--space-3);margin-bottom:var(--space-4);display:flex}.pk-modal-head>div{flex:1;min-width:0}.pk-modal-head h3{margin:0 0 4px}.pk-modal-head .modal-sub{margin:0}.pk-modal .pk-drawer-error{margin-bottom:var(--space-3)}@media (max-width:640px){.modal-overlay.pk-modal-overlay{align-items:flex-end;padding:0}.pk-modal{width:100%;max-width:100%;max-height:94vh;overflow-y:auto}.pk-toasts{max-width:none;bottom:12px;left:12px;right:12px}}.pk-case-tabs{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-muted);gap:3px;padding:3px;display:inline-flex}.pk-case-tab{font:inherit;font-size:var(--text-sm);font-weight:var(--font-weight-bold);color:var(--ink-soft);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:8px;align-items:baseline;gap:6px;padding:7px 12px;display:inline-flex}.pk-case-tab:hover:not(.is-active){color:var(--ink)}.pk-case-tab.is-active{background:var(--card);color:var(--ink);box-shadow:0 1px 2px #141e3c1f}.pk-case-tab b{font-size:var(--text-xs);font-weight:var(--font-weight-bold);opacity:.55;font-variant-numeric:tabular-nums}.pk-case-panel{padding:var(--space-5);gap:var(--space-4);flex-direction:column;display:flex}.pk-case-panel h2{font-size:var(--text-md);font-weight:var(--font-weight-bold);margin:0}.pk-case-panel h3{font-size:var(--text-xs);font-weight:var(--font-weight-bold);color:var(--ink-faint);text-transform:uppercase;letter-spacing:.05em;margin:0}.pk-case-panel>.rx-muted{font-size:var(--text-sm);margin:4px 0 0}.pk-case-panel-head{justify-content:space-between;align-items:flex-start;gap:var(--space-4);flex-wrap:wrap;display:flex}.pk-case-panel-head>div{flex:1;min-width:0}.pk-case-panel-head p{max-width:62ch;margin:4px 0 0}.pk-case-note{padding:var(--space-3);border-radius:var(--radius-sm);background:var(--surface-subtle);font-size:var(--text-sm);color:var(--ink-soft);margin:0;line-height:1.55}.pk-case-note.is-warn{background:var(--warn-bg);color:var(--warn-fg)}.pk-add-treatment select{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--card);min-height:38px;font:inherit;font-size:var(--text-sm);font-weight:var(--font-weight-semibold);color:var(--ink);cursor:pointer;padding:8px 12px}.pk-plan-rows{gap:var(--space-3);flex-direction:column;display:flex}.pk-plan-row{padding:var(--space-3);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle);gap:var(--space-3);flex-direction:column;display:flex}.pk-plan-row-head{align-items:center;gap:var(--space-2);display:flex}.pk-plan-row-head .pk-row-remove{margin-left:auto}.pk-plan-grid{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(120px,1fr));display:grid}.pk-plan-grid label{font-size:var(--text-xs);font-weight:var(--font-weight-bold);color:var(--ink-faint);text-transform:uppercase;letter-spacing:.04em;flex-direction:column;gap:5px;display:flex}.pk-plan-grid .form-control{font-size:var(--text-sm)}.pk-quote{gap:var(--space-3);padding:var(--space-4);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-subtle);flex-direction:column;display:flex}.pk-quote-head{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.pk-quote-head .rx-muted{font-size:var(--text-xs);margin:0}.pk-quote .pk-table{background:var(--card);border-radius:var(--radius-sm)}.pk-quote-totals{flex-direction:column;align-self:flex-end;gap:6px;min-width:min(320px,100%);margin:0;display:flex}.pk-quote-totals>div{justify-content:space-between;align-items:baseline;gap:var(--space-4);font-size:var(--text-sm);display:flex}.pk-quote-totals dt{color:var(--ink-soft)}.pk-quote-totals dd{font-weight:var(--font-weight-semibold);font-variant-numeric:tabular-nums;margin:0}.pk-quote-totals .is-total{border-top:1px solid var(--line-strong);padding-top:6px}.pk-quote-totals .is-total dt{color:var(--ink);font-weight:var(--font-weight-bold)}.pk-quote-totals .is-total dd{font-size:var(--text-md);font-weight:var(--font-weight-bold)}.pk-quote-installments{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.pk-quote-installments li{justify-content:space-between;align-items:baseline;gap:var(--space-3);font-size:var(--text-sm);color:var(--ink-soft);display:flex}.pk-quote-installments b{color:var(--ink);font-variant-numeric:tabular-nums}.pk-quote-installments li.is-overdue b{color:var(--bad-fg)}.pk-schedule-table tbody tr{cursor:default}.pk-schedule-table .form-control{min-height:32px;font-size:var(--text-xs);padding:4px 8px}.pk-schedule-table td{vertical-align:middle}.pk-clash{color:var(--bad-fg);font-weight:var(--font-weight-bold)}.pk-day-tiles{gap:var(--space-3);margin-bottom:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(140px,1fr));display:grid}.pk-day-tile{padding:var(--space-3) var(--space-4);border:1px solid var(--line);border-left:3px solid var(--line-strong);border-radius:var(--radius-md);background:var(--card);flex-direction:column;gap:2px;display:flex}.pk-day-tile span{font-size:var(--text-xs);font-weight:var(--font-weight-bold);color:var(--ink-faint);text-transform:uppercase;letter-spacing:.04em}.pk-day-tile strong{font-size:var(--text-xl,1.45rem);font-weight:var(--font-weight-bold);font-variant-numeric:tabular-nums;letter-spacing:-.02em}.pk-day-tile.is-scheduled{border-left-color:var(--ink-faint)}.pk-day-tile.is-checkedIn{border-left-color:var(--warn-fg)}.pk-day-tile.is-inProgress{border-left-color:var(--action)}.pk-day-tile.is-completed{border-left-color:var(--ok-fg)}.pk-status.is-checked_in{background:var(--warn-bg);color:var(--warn-fg)}.pk-status.is-no_show,.pk-status.is-skipped,.pk-status.is-stopped{background:var(--bad-bg);color:var(--bad-fg)}.pk-status.is-rescheduled{background:var(--surface-muted);color:var(--ink-faint)}.pk-writeup{gap:var(--space-3);flex-direction:column;width:min(560px,94vw);max-width:560px;display:flex}.pk-writeup-fields{gap:var(--space-3);grid-template-columns:repeat(auto-fit,minmax(200px,1fr));display:grid}.pk-writeup-fields label{font-size:var(--text-xs);font-weight:var(--font-weight-bold);color:var(--ink-faint);text-transform:uppercase;letter-spacing:.04em;flex-direction:column;gap:5px;display:flex}.pk-writeup-fields .form-control{font-size:var(--text-sm)}.pk-history{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.pk-history li{align-items:baseline;gap:var(--space-3);border-bottom:1px solid var(--line);font-size:var(--text-sm);padding:9px 0;display:flex}.pk-history li:last-child{border-bottom:0}.pk-history-when{min-width:150px;color:var(--ink-faint);font-size:var(--text-xs);font-variant-numeric:tabular-nums}.pk-history-what{color:var(--ink-soft);flex:1}.pk-history-what b{color:var(--ink);text-transform:capitalize}.pk-history-who{color:var(--ink-faint);font-size:var(--text-xs)}@media (max-width:640px){.pk-case-panel{padding:var(--space-4)}.pk-case-tabs{width:100%;overflow-x:auto}.pk-history li{gap:4px var(--space-2);flex-wrap:wrap}.pk-history-when{width:100%;min-width:0}}.pk-rx-status{align-items:center;gap:var(--space-3);padding:var(--space-3);border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface-subtle);font-size:var(--text-sm);color:var(--ink-soft);flex-wrap:wrap;display:flex}.pk-rx-status b{color:var(--ink)}.pk-rx-status.is-error{background:var(--bad-bg);border-color:var(--bad-fg);color:var(--bad-fg)}.pk-rx-status.is-warn{background:var(--warn-bg);border-color:var(--warn-fg);color:var(--warn-fg)}.pk-toasts{z-index:70;flex-direction:column;gap:8px;max-width:min(380px,100vw - 40px);display:flex;position:fixed;bottom:20px;right:20px}.pk-toast{border:1px solid var(--line-strong);border-left:3px solid var(--ink);border-radius:var(--radius-md);background:var(--card);box-shadow:var(--shadow-hover);font-size:var(--text-sm);color:var(--ink);animation:pk-toast-in var(--duration-normal) var(--ease-standard);align-items:flex-start;gap:9px;padding:11px 12px;font-weight:650;display:flex}.pk-toast>svg{stroke:currentColor;flex-shrink:0;width:16px;height:16px;margin-top:1px}.pk-toast span{flex:1;min-width:0;line-height:1.4}.pk-toast button{width:20px;height:20px;color:var(--ink-faint);cursor:pointer;background:0 0;border:0;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.pk-toast button svg{stroke:currentColor;width:12px;height:12px}.pk-toast button:hover{background:var(--surface-muted);color:var(--ink)}.pk-toast.is-ok{border-left-color:var(--ok-fg);background:var(--ok-bg);color:var(--ok-fg)}.pk-toast.is-error{border-left-color:var(--bad-fg);background:var(--bad-bg);color:var(--bad-fg)}@keyframes pk-toast-in{0%{opacity:0;transform:translateY(8px)}}.pk-drawer-error{padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);border:1px solid var(--bad-fg);background:var(--bad-bg);color:var(--bad-fg);font-size:var(--text-sm);font-weight:var(--font-weight-semibold);margin:0}.pk-report-tiles{gap:var(--space-3);margin:var(--space-3) 0 0;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));display:grid}.pk-report-tile{padding:var(--space-3) var(--space-4);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-muted);gap:2px;display:grid}.pk-report-label{font-size:var(--text-xs);font-weight:var(--font-weight-semibold);text-transform:uppercase;letter-spacing:.04em;color:var(--ink-faint)}.pk-report-value{color:var(--ink);font-size:1.5rem;font-weight:700;line-height:1.15}.pk-report-hint{font-size:var(--text-xs);color:var(--ink-soft)}.pk-report-chips{gap:var(--space-2);margin:var(--space-3) 0 0;flex-wrap:wrap;padding:0;list-style:none;display:flex}.pk-report-chips li{border:1px solid var(--line-strong);background:var(--surface);font-size:var(--text-xs);color:var(--ink-soft);border-radius:999px;padding:3px 10px}.pk-report-chips b{color:var(--ink);font-weight:700}.pk-report-table td.is-over{color:var(--warn-fg);font-weight:var(--font-weight-semibold)}.pk-report-table td.is-under{color:var(--ink-soft)}.pk-report-table td.is-better{color:var(--ok-fg);font-weight:var(--font-weight-semibold)}.pk-material-link{font-size:var(--text-xs);font-weight:var(--font-weight-semibold);background:var(--surface-muted);border:1px solid var(--line);color:var(--ink-faint);white-space:nowrap;border-radius:999px;align-self:center;padding:2px 8px}@media (max-width:720px){.pk-report-tiles{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.pk-report-value{font-size:1.25rem}.pk-case-tabs{scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;overflow-x:auto}.pk-case-tabs::-webkit-scrollbar{display:none}.pk-case-tab{flex:none}.pk-row.is-material{grid-template-columns:1fr}.pk-material-link{justify-self:start}}@media (max-width:480px){.pk-report-tiles{grid-template-columns:1fr 1fr}}.pk-kind-filter{width:auto;min-width:140px;height:34px}button.pk-day-tile{font:inherit;text-align:left;cursor:pointer;border-top:0;border-bottom:0;border-right:0}.pk-day-tile.is-selected{box-shadow:0 0 0 2px var(--ink) inset}.pk-stock-table tr.pk-stock-product{cursor:pointer}.pk-stock-table tr.pk-stock-product.is-low td:first-child{box-shadow:3px 0 0 var(--warn-fg) inset}.pk-stock-table tr.pk-stock-batch td{background:var(--surface-subtle);font-size:var(--text-sm)}.pk-stock-table tr.pk-stock-batch td:first-child{padding-left:28px}.pk-name-sub.is-expiry-expired{color:var(--bad-fg);font-weight:var(--font-weight-bold)}.pk-name-sub.is-expiry-expiring{color:var(--warn-fg);font-weight:var(--font-weight-bold)}.pk-table tr.is-paused td{opacity:.7}@media (max-width:640px){.pk-day-tiles{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr))}.pk-table.rt-stack .pk-name-sub{display:block}.pk-table.rt-stack .pk-row-actions{gap:var(--space-2);width:100%;display:flex}.pk-table.rt-stack .pk-row-actions>button{flex:1 1 0;min-height:44px}.pk-table.rt-stack tr.is-urgent{border-color:var(--warn-fg)}.pk-table.rt-stack tr.is-paused{opacity:.75}.panchakarma-page .clinic-manager.diet-panel{padding:var(--space-3);box-shadow:none;background:0 0;border:0}.pk-schedule-table.rt-stack .form-control{min-height:44px;font-size:var(--text-sm)}.pk-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pk-quote-totals div{gap:var(--space-3)}.panchakarma-page .cmdbar-actions>.btn{flex:1 1 0;justify-content:center;padding-left:8px;padding-right:8px}.pk-stock-table.rt-stack tr.pk-stock-batch{margin-left:var(--space-4);background:var(--surface-subtle)}.pk-stock-table.rt-stack tr.pk-stock-batch td{background:0 0}.pk-stock-table.rt-stack tr.pk-stock-batch td:first-child{padding-left:0!important}.pk-stock-table.rt-stack tr.pk-stock-product.is-low{border-left:3px solid var(--warn-fg)}.pk-stock-table.rt-stack tr.pk-stock-product.is-low td:first-child{box-shadow:none}.pk-table.rt-stack .pk-price-source{display:block}.pk-kind-filter{width:100%;height:44px}}.pk-guide-btn{border:1px solid var(--line);background:var(--surface,#fff);width:18px;height:18px;color:var(--ink-soft);cursor:pointer;vertical-align:1px;border-radius:50%;place-items:center;margin-left:6px;padding:0;font:italic 700 .7rem/1 Georgia,serif;display:inline-grid}.pk-guide-btn:hover,.pk-guide-btn.is-on{border-color:var(--accent,#0f766e);color:var(--accent,#0f766e)}.pk-table tr.pk-guide-row,.pk-table tr.pk-guide-row:hover{cursor:default;background:var(--surface-soft)}.pk-guide-row>td{padding:12px 16px 14px}.pk-guide-bar{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px;display:flex}
.ws-page{--ws-accent:var(--action);--ws-accent-soft:var(--action-soft)}.ws-page[data-module=pharmacy]{--ws-accent:var(--pharmacy-accent);--ws-accent-soft:var(--pharmacy-accent-soft)}.ws-page[data-module=billing]{--ws-accent:var(--billing-accent);--ws-accent-soft:var(--billing-accent-soft)}.ws-page[data-module=moolikas]{--ws-accent:var(--moolikas-accent);--ws-accent-soft:var(--moolikas-accent-soft)}.ws-page[data-module=platform]{--ws-accent:var(--platform-accent);--ws-accent-soft:var(--platform-accent-soft)}.ws-page[data-module=crm]{--ws-accent:var(--crm-accent);--ws-accent-soft:var(--crm-accent-soft)}.ws-page[data-module=nabh]{--ws-accent:var(--nabh-accent);--ws-accent-soft:var(--nabh-accent-soft)}.ws-page .btn{border-radius:var(--radius-sm)}.ws-page .btn:hover{transform:none}.ws-page .btn:not(.btn-secondary):not(.btn-ghost):not(.btn-danger),.ws-btn-accent{border-color:var(--ws-accent,var(--action));background:var(--ws-accent,var(--action));color:var(--action-contrast)}.ws-page .btn:not(.btn-secondary):not(.btn-ghost):not(.btn-danger):hover:not(:disabled),.ws-btn-accent:hover:not(:disabled){background:var(--ws-accent,var(--action));filter:brightness(1.08);box-shadow:var(--shadow-hover)}.ws-page .btn-ghost,.ws-page .btn-secondary{border-color:var(--line-strong);color:var(--ink-soft)}.ws-page .btn-ghost:hover,.ws-page .btn-secondary:hover{color:var(--ink);border-color:var(--ink-faint)}.ws-toasts{right:20px;bottom:calc(20px + var(--m-consent-band,0px));z-index:80;gap:var(--space-2);pointer-events:none;flex-direction:column;max-width:min(380px,100vw - 40px);display:flex;position:fixed}.ws-toast{border:1px solid var(--line-strong);border-left:3px solid var(--ink);border-radius:var(--radius-md);background:var(--card);box-shadow:var(--shadow-hover);color:var(--ink);font-size:var(--text-sm);font-weight:var(--font-weight-medium);pointer-events:auto;animation:ws-toast-in var(--duration-normal) var(--ease-standard);align-items:flex-start;gap:9px;padding:11px 12px;display:flex}.ws-toast>svg{stroke:currentColor;flex-shrink:0;width:16px;height:16px;margin-top:1px}.ws-toast span{flex:1;min-width:0;line-height:1.4}.ws-toast button{width:20px;height:20px;color:inherit;opacity:.7;cursor:pointer;background:0 0;border:0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.ws-toast button svg{stroke:currentColor;width:12px;height:12px}.ws-toast button:hover{background:var(--card);opacity:1}.ws-toast.is-ok{border-left-color:var(--ok-fg);background:var(--ok-bg);color:var(--ok-fg)}.ws-toast.is-warn{border-left-color:var(--warn-fg);background:var(--warn-bg);color:var(--warn-fg)}.ws-toast.is-error{border-left-color:var(--bad-fg);background:var(--bad-bg);color:var(--bad-fg)}@keyframes ws-toast-in{0%{opacity:0;transform:translateY(8px)}}.ws-state{border:1px dashed var(--line-strong);border-radius:var(--radius-lg);background:var(--surface-subtle);text-align:center;flex-direction:column;align-items:center;gap:7px;padding:46px 20px;display:flex}.ws-state-icon{background:var(--surface-muted);width:46px;height:46px;color:var(--ink-faint);border-radius:50%;justify-content:center;align-items:center;margin-bottom:2px;display:inline-flex}.ws-state-icon svg{stroke:currentColor;width:22px;height:22px}.ws-state-icon.is-warn{background:var(--warn-bg);color:var(--warn-fg)}.ws-state-icon.is-danger{background:var(--bad-bg);color:var(--bad-fg)}.ws-state strong{color:var(--ink);font-size:var(--text-md);font-weight:var(--font-weight-bold)}.ws-state p{max-width:48ch;color:var(--ink-soft);font-size:var(--text-sm);margin:0;line-height:1.5}.ws-state-action{margin-top:var(--space-2)}.ws-skel{flex-direction:column;gap:7px;display:flex}.ws-skel-item,.ws-skel-head{border-radius:var(--radius-lg);background:var(--surface-muted);height:62px;display:block;position:relative;overflow:hidden}.ws-skel.is-card{gap:var(--space-3);grid-template-columns:repeat(auto-fill,minmax(220px,1fr));display:grid}.ws-skel.is-card .ws-skel-item{height:132px}.ws-skel.is-table{gap:0}.ws-skel.is-table .ws-skel-head{height:34px;margin-bottom:var(--space-1);border-radius:var(--radius-sm)}.ws-skel.is-table .ws-skel-item{border-bottom:1px solid var(--line);background:var(--surface-soft);border-radius:0;height:44px}.ws-skel-item:after,.ws-skel-head:after{content:"";background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--card) 72%, transparent), transparent);animation:1.35s infinite ws-shimmer;position:absolute;inset:0;transform:translate(-100%)}@keyframes ws-shimmer{to{transform:translate(100%)}}.ws-drawer-overlay{z-index:60;background:color-mix(in srgb, var(--ink) 38%, transparent);animation:ws-fade var(--duration-fast) var(--ease-standard);justify-content:flex-end;display:flex;position:fixed;inset:0}@keyframes ws-fade{0%{opacity:0}}.ws-drawer{width:min(var(--ws-drawer-width,440px), 100%);background:var(--card);height:100%;box-shadow:var(--shadow-sticky);animation:ws-slide-in .22s var(--sidebar-peek-ease);outline:none;flex-direction:column;display:flex}@keyframes ws-slide-in{0%{opacity:.6;transform:translate(24px)}}.ws-drawer-head{justify-content:space-between;align-items:flex-start;gap:var(--space-3);border-bottom:1px solid var(--line);padding:18px 20px;display:flex}.ws-drawer-copy{min-width:0}.ws-drawer-eyebrow{color:var(--ws-accent,var(--ink-soft));font-size:var(--text-xs);font-weight:var(--font-weight-bold);letter-spacing:.08em;text-transform:uppercase;margin-bottom:2px}.ws-drawer-head h2{color:var(--ink);font-size:var(--text-lg);font-weight:var(--font-weight-bold);margin:0;line-height:1.25}.ws-drawer-head p{color:var(--ink-soft);font-size:var(--text-sm);margin:3px 0 0;line-height:1.4}.ws-drawer-close{border-radius:var(--radius-pill);background:var(--surface-muted);width:30px;height:30px;color:var(--ink-soft);cursor:pointer;border:0;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.ws-drawer-close svg{stroke:currentColor;width:14px;height:14px}.ws-drawer-close:hover{background:var(--action-soft-hover);color:var(--ink)}.ws-drawer-body{gap:var(--space-5);flex-direction:column;flex:auto;padding:20px;display:flex;overflow-y:auto}.ws-drawer-foot{justify-content:flex-end;gap:var(--space-3);border-top:1px solid var(--line);padding:14px 20px;display:flex}body:has(:is([aria-modal=true],dialog[open],.modal-overlay,.ws-drawer-overlay,.pk-drawer-overlay,.tm-drawer-overlay,.ex-overlay,.bkp-overlay,.stm-overlay,.pp-overlay,.rxc-modal-overlay,.pdup-modal-backdrop,.mv-sheet-backdrop):not([hidden]):not([hidden] *):not(.rx-visit-modal-overlay,.rx-visit-modal-overlay *):not(.chat-panel,.chat-panel *)) :is(.tcp,.vwa,.subgate-bar){z-index:40}.ws-fold{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--card)}.ws-fold.is-open{border-color:var(--line-strong)}.ws-fold-head{border-radius:var(--radius-md);width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:baseline;gap:8px;padding:12px 14px;display:flex}.ws-fold-head:hover{background:var(--surface-soft)}.ws-fold-head:focus-visible{box-shadow:var(--focus-ring);outline:none}.ws-fold-head b{font-size:var(--text-sm)}.ws-fold-head em{color:var(--ink-faint);font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;font-style:normal;overflow:hidden}.ws-fold-caret{width:12px;color:var(--ink-soft);font-size:.75rem}.ws-fold-required{background:var(--ws-accent-soft,var(--action-soft));color:var(--ws-accent,var(--ink));letter-spacing:.05em;text-transform:uppercase;border-radius:5px;padding:1px 6px;font-size:.6rem;font-weight:800}.ws-fold-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;padding:2px 14px 14px;display:grid}.ws-field{flex-direction:column;gap:5px;min-width:0;margin:0;display:flex}.ws-field.is-wide{grid-column:1/-1}.ws-field-label{color:var(--ink-soft);font-size:.78rem;font-weight:700}.ws-field .form-control{width:100%}.ws-field textarea.form-control{resize:vertical;font:inherit}.ws-field-hint{color:var(--ink-faint);font-size:var(--text-xs);font-style:normal}.ws-field-error{color:var(--bad-fg);font-size:var(--text-xs);font-style:normal;font-weight:600}.ws-field.has-error .form-control{border-color:var(--bad-fg)}.modal-overlay.ws-confirm-overlay{z-index:70}.ws-confirm{outline:none;max-width:440px}.ws-confirm-body{white-space:pre-line}.ws-confirm-field{margin-top:var(--space-3);display:block}.ws-confirm-field textarea{resize:vertical;min-height:76px;font:inherit}.ws-confirm-field b{color:var(--ink);letter-spacing:.04em}.ws-tiles{grid-template-columns:repeat(auto-fit,minmax(158px,1fr));gap:10px;margin-bottom:14px;display:grid}.ws-tiles.has-columns{grid-template-columns:repeat(var(--ws-tile-columns), minmax(0, 1fr))}.ws-tile{--tile:var(--c-kidney);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--card);min-width:0;box-shadow:var(--shadow);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);flex-direction:column;gap:2px;padding:12px 14px;display:flex;position:relative}.ws-tile:before{content:"";border-radius:var(--radius-lg) 0 0 var(--radius-lg);background:var(--tile);width:3px;position:absolute;top:0;bottom:0;left:0}.ws-tile.is-static{cursor:default}button.ws-tile:hover{border-color:var(--tile);transform:translateY(-1px)}.ws-tile-label{color:var(--ink-faint);font-size:var(--text-xs);font-weight:var(--font-weight-bold);letter-spacing:.04em;text-transform:uppercase}.ws-tile strong{color:var(--ink);font-size:1.45rem;font-weight:var(--font-weight-bold);font-variant-numeric:tabular-nums;letter-spacing:-.03em;line-height:1.15}.ws-tile .ws-meter{margin:5px 0 3px}.ws-tile-foot{color:var(--ink-soft);font-size:var(--text-xs)}.ws-tile.is-teal{--tile:var(--c-vitamins)}.ws-tile.is-green{--tile:var(--ok-fg)}.ws-tile.is-blue{--tile:var(--c-kidney)}.ws-tile.is-violet{--tile:var(--c-liver)}.ws-tile.is-purple{--tile:var(--c-thyroid)}.ws-tile.is-warn{--tile:var(--c-lipids)}.ws-tile.is-bad{--tile:var(--c-sugar)}.ws-tile.is-slate{--tile:var(--ink-faint)}.ws-tile.is-active{border-color:var(--tile);background:color-mix(in srgb, var(--tile) 8%, var(--card))}.ws-meter{border-radius:var(--radius-pill);background:var(--surface-muted);height:4px;display:block;position:relative}.ws-meter-fill{border-radius:inherit;background:var(--ws-accent,var(--ink-soft));height:100%;transition:width var(--duration-normal) var(--ease-standard);display:block}.ws-meter-marker{background:var(--ink);border-radius:1px;width:2px;margin-left:-1px;position:absolute;top:-3px;bottom:-3px}.ws-meter.is-tile .ws-meter-fill{background:var(--tile)}.ws-meter.is-ok .ws-meter-fill{background:var(--ok-fg)}.ws-meter.is-warn .ws-meter-fill{background:var(--warn-fg)}.ws-meter.is-bad .ws-meter-fill{background:var(--bad-fg)}.ws-meter.is-info .ws-meter-fill{background:var(--c-kidney)}.ws-meter.is-muted .ws-meter-fill{background:var(--ink-faint)}.ws-pill,.ws-dept{border-radius:var(--radius-pill);font-size:var(--text-xs);font-weight:var(--font-weight-semibold);white-space:nowrap;align-items:center;gap:6px;padding:3px 9px;line-height:1.4;display:inline-flex}.ws-pill-dot{background:currentColor;border-radius:50%;flex-shrink:0;width:6px;height:6px}.ws-pill.is-ok{background:var(--ok-bg);color:var(--ok-fg)}.ws-pill.is-warn{background:var(--warn-bg);color:var(--warn-fg)}.ws-pill.is-bad{background:var(--bad-bg);color:var(--bad-fg)}.ws-pill.is-muted{background:var(--surface-muted);color:var(--ink-soft)}.ws-pill.is-info{background:var(--ws-accent-soft,var(--action-soft));color:var(--ws-accent,var(--ink))}.ws-dept{--dept:var(--ink-faint);background:color-mix(in srgb, var(--dept) 10%, var(--card));color:color-mix(in srgb, var(--dept) 82%, var(--ink))}.ws-dept-swatch{background:var(--dept);border-radius:2px;flex-shrink:0;width:8px;height:8px}.ws-dept.is-unknown{background:var(--surface-muted);color:var(--ink-soft)}.ws-avatar{letter-spacing:.02em;line-height:1}.ws-kbd{border:1px solid var(--line-strong);background:var(--card);min-width:1.6em;color:var(--ink-soft);font-family:inherit;font-size:.68rem;font-weight:var(--font-weight-bold);text-align:center;border-bottom-width:2px;border-radius:6px;padding:2px 6px;line-height:1.4;display:inline-block}.ws-seg{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-muted);gap:3px;padding:3px;display:inline-flex}.ws-seg button{color:var(--ink-soft);font:inherit;font-size:var(--text-xs);font-weight:var(--font-weight-bold);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:7px 12px}.ws-seg button:hover:not(.is-active){color:var(--ink)}.ws-seg button.is-active{background:var(--card);color:var(--ink);box-shadow:var(--shadow)}.modal-overlay.ws-keys-overlay{z-index:75}.ws-keys{outline:none;width:100%;max-width:460px}.ws-keys-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.ws-keys-head h3{margin:0}.ws-keys-list{flex-direction:column;margin:0;display:flex}.ws-keys-list div{border-bottom:1px solid var(--line);grid-template-columns:120px minmax(0,1fr);align-items:center;gap:12px;padding:7px 0;display:grid}.ws-keys-list div:last-child{border-bottom:0}.ws-keys-list dt{flex-wrap:wrap;gap:4px;display:flex}.ws-keys-list dd{color:var(--ink);font-size:var(--text-sm);margin:0}.ws-print-toolbar{justify-content:space-between;align-items:center;gap:var(--space-3);max-width:760px;margin:0 auto var(--space-4);flex-wrap:wrap;display:flex}.ws-print-back{color:var(--ink-soft);font-size:var(--text-sm);font-weight:var(--font-weight-semibold);align-items:center;gap:6px;text-decoration:none;display:inline-flex}.ws-print-back svg{stroke:currentColor;width:14px;height:14px}.ws-print-back:hover{color:var(--ink)}.ws-print-actions{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.ws-print-btn{justify-content:center;align-items:center;gap:var(--space-2);border-radius:var(--radius-pill);background:var(--ws-accent,var(--action));min-height:38px;color:var(--action-contrast);font:inherit;font-size:var(--text-sm);font-weight:var(--font-weight-semibold);cursor:pointer;transition:filter var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);border:1px solid #0000;padding:9px 18px;line-height:1;display:inline-flex}.ws-print-btn svg{stroke:currentColor;width:15px;height:15px}.ws-print-btn:hover{filter:brightness(1.1);transform:translateY(-1px)}.ws-table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}.ws-table{border-collapse:collapse;width:100%;font-size:var(--text-sm)}.ws-table th{border-bottom:1px solid var(--line);color:var(--ink-faint);font-size:var(--text-xs);font-weight:var(--font-weight-bold);letter-spacing:.04em;text-align:left;text-transform:uppercase;white-space:nowrap;padding:10px 12px}.ws-table td{border-bottom:1px solid var(--line);color:var(--ink);vertical-align:middle;padding:11px 12px}.ws-table tbody tr{transition:background var(--duration-fast) var(--ease-standard)}.ws-table tbody tr:hover{background:var(--surface-soft)}.ws-table.is-interactive tbody tr{cursor:pointer}.ws-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.ws-table tfoot td{border-bottom:0;border-top:1px solid var(--line-strong);font-weight:var(--font-weight-bold)}.ws-table tr.is-selected,.ws-table tr.is-selected:hover{background:var(--ws-accent-soft,var(--action-soft))}.ws-table tr.is-selected td:first-child{box-shadow:inset 3px 0 0 var(--ws-accent,var(--action))}.ws-table tr.is-cancelled td{color:var(--ink-faint);text-decoration:line-through}.ws-table tr.is-cancelled td .ws-pill{text-decoration:none}@media (max-width:640px){.ws-drawer{width:100%}.ws-drawer-body{padding:16px}.ws-fold-body{grid-template-columns:1fr}.ws-tiles.has-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-toasts{max-width:none;left:12px;right:12px}.ws-print-toolbar{padding:0 var(--space-3)}}@media (prefers-reduced-motion:reduce){.ws-skel-item:after,.ws-skel-head:after,.ws-toast,.ws-drawer,.ws-drawer-overlay{animation:none}button.ws-tile:hover,.ws-print-btn:hover{transform:none}.ws-meter-fill,.ws-tile,.ws-table tbody tr{transition:none}}@media print{.ws-print-toolbar,.ws-toasts{display:none}}.ws-rail-tag{border-radius:var(--radius-pill);background:var(--surface-muted);color:var(--ink-soft);white-space:nowrap;flex-shrink:0;align-self:center;padding:2px 7px;font-size:.64rem;font-style:normal;font-weight:800}.ws-rail-tag.is-info{background:var(--ws-accent-soft,var(--action-soft));color:var(--ws-accent,var(--action))}.ws-rail-tag.is-ok{background:var(--ok-bg);color:var(--ok-fg)}.ws-rail-tag.is-warn{background:var(--warn-bg);color:var(--warn-fg)}.ws-rail-tag.is-bad{background:var(--bad-bg);color:var(--bad-fg)}.ws-unsaved{z-index:20;border-radius:var(--radius-lg);color:#e2e8f0;background:#0f172a;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:-68px;padding:11px 12px 11px 18px;animation:.16s ease-out ws-unsaved-rise;display:flex;position:sticky;bottom:16px;box-shadow:0 12px 32px #0f172a47}.ws-unsaved-count{flex-direction:column;flex:1;min-width:0;display:flex}.ws-unsaved-count strong{color:#fff;font-size:var(--text-sm)}.ws-unsaved-count span{color:#94a3b8;font-size:var(--text-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ws-unsaved-error{border-radius:var(--radius-pill);color:#fecaca;background:#7f1d1d;padding:3px 9px;font-size:.7rem;font-weight:800}.ws-unsaved-buttons{gap:8px;display:flex}.ws-unsaved .btn.ws-unsaved-ghost{color:#e2e8f0;background:0 0;border-color:#334155}.ws-unsaved .btn.ws-unsaved-ghost:hover:not(:disabled){color:#e2e8f0;filter:none;background:#1e293b;border-color:#64748b}.ws-unsaved .ws-unsaved-save{box-shadow:0 0 0 1px #ffffff1f}.ws-unsaved .ws-unsaved-save:disabled{opacity:.5;cursor:not-allowed}@keyframes ws-unsaved-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (max-width:860px){.ws-unsaved{bottom:calc(var(--mv-navbar-h,0px) + var(--m-consent-band,0px) + 10px)}.ws-unsaved-count span{white-space:normal}}@media (prefers-reduced-motion:reduce){.ws-unsaved{animation:none}}
.ws-modal-panel{--ws-modal-pad:24px;--ws-modal-tone:var(--t,var(--accent,var(--action)));--ws-modal-tone-soft:color-mix(in srgb, var(--ws-modal-tone) 10%, var(--card));--ws-modal-tone-line:color-mix(in srgb, var(--ws-modal-tone) 22%, transparent);box-sizing:border-box;width:100%;max-width:460px;max-height:90vh;padding:var(--ws-modal-pad);border:1px solid var(--line);background:var(--card);border-top:0;border-radius:18px;outline:none;animation:.16s ease-out ws-modal-in;overflow:hidden auto;box-shadow:0 24px 60px -18px #141e3c59,0 2px 6px #141e3c0f}.ws-modal-panel.is-wide{max-width:760px}.ws-modal-panel *,.ws-modal-panel :before,.ws-modal-panel :after{box-sizing:border-box}.ws-modal-head{top:calc(-1 * var(--ws-modal-pad));z-index:2;margin:calc(-1 * var(--ws-modal-pad)) calc(-1 * var(--ws-modal-pad)) 18px;padding:18px var(--ws-modal-pad) 16px;border-top:4px solid var(--ws-modal-tone);border-bottom:1px solid var(--ws-modal-tone-line);background:radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--ws-modal-tone) 16%, transparent), transparent 60%), var(--ws-modal-tone-soft);align-items:center;gap:12px;display:flex;position:sticky}.ws-modal-icon{background:var(--ws-modal-tone);color:#fff;width:40px;height:40px;box-shadow:0 6px 14px -6px var(--ws-modal-tone);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.ws-modal-icon svg{width:20px;height:20px}.ws-modal-titles{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.ws-modal-titles h3,.ws-modal-head h3{color:var(--ink);flex:1;margin:0;font-size:1.05rem;font-weight:800;line-height:1.3}.ws-modal-titles small{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.ws-modal-x{border:1px solid var(--ws-modal-tone-line);background:var(--card);width:32px;height:32px;color:var(--ink-soft);cursor:pointer;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:1.2rem;line-height:1;transition:background .12s,color .12s;display:inline-flex}.ws-modal-x:hover:not(:disabled){background:var(--ws-modal-tone);border-color:var(--ws-modal-tone);color:#fff}.ws-modal-x:disabled{opacity:.5;cursor:default}.ws-modal-panel form,.ws-modal-panel .ws-field{min-width:0;max-width:100%}.ws-modal-panel .form-control{max-width:100%}.ws-modal-panel .form-control:focus{border-color:var(--ws-modal-tone);box-shadow:0 0 0 3px var(--ws-modal-tone-line)}.ws-modal-panel .ws-field-label{color:var(--ink)}.ws-field-control{min-width:0;display:block;position:relative}.ws-field-control>svg{width:16px;height:16px;color:var(--ws-modal-tone,var(--ink-faint));pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.ws-field-control>.form-control{padding-left:38px}.ws-modal-panel .orgset-switch input:checked+label .orgset-switch-track{background:var(--ws-modal-tone)}.ws-modal-panel .orgset-switch label{background:var(--ws-modal-tone-soft);border-color:var(--ws-modal-tone-line)}.ws-modal-actions,.ws-modal-panel .plan-new-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:6px;display:flex}.ws-modal-panel>.ws-modal-actions:last-child,.ws-modal-panel>form:last-child>.ws-modal-actions:last-child,.ws-modal-panel>.plan-new-actions:last-child,.ws-modal-panel>form:last-child>.plan-new-actions:last-child{margin:6px calc(-1 * var(--ws-modal-pad)) calc(-1 * var(--ws-modal-pad));padding:14px var(--ws-modal-pad);border-top:1px solid var(--line);background:var(--surface-subtle)}.ws-modal-actions .ws-field-error,.ws-modal-panel .plan-new-actions .ws-field-error{margin-right:auto}.ws-modal-actions .btn:not(.btn-secondary):not(.btn-ghost):not(.btn-danger),.ws-modal-panel .plan-new-actions .btn:not(.btn-secondary):not(.btn-ghost):not(.btn-danger){border-color:var(--ws-modal-tone);background:var(--ws-modal-tone);color:#fff}@keyframes ws-modal-in{0%{opacity:0;transform:translateY(8px)scale(.985)}to{opacity:1;transform:none}}@media (max-width:640px){.ws-modal-panel{--ws-modal-pad:18px;border-radius:18px 18px 12px 12px;max-width:100%}.ws-modal-panel>form:last-child>.plan-new-actions:last-child,.ws-modal-panel>form:last-child>.ws-modal-actions:last-child{bottom:calc(-1 * var(--ws-modal-pad));position:sticky}}@media (prefers-reduced-motion:reduce){.ws-modal-panel{animation:none}}
.clinic-container.bhub-page{max-width:1320px}.bhub-page .ws-toast a{color:inherit;text-underline-offset:2px;font-weight:800;text-decoration:underline}.bhub-panel{flex-direction:column;gap:16px;margin-top:16px;padding:18px 20px;display:flex}.bhub-panel h3{color:var(--ink);font-size:var(--text-sm);margin:0 0 8px;font-weight:800}.bhub-mono{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.bhub-hint{color:var(--ink-faint);font-size:var(--text-xs);margin:0;line-height:1.5}.bhub-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.bhub-num{text-align:right;width:96px}.bhub-field{color:var(--ink-soft);font-size:var(--text-xs);flex-direction:column;gap:4px;font-weight:750;display:flex}.bhub-table td small{color:var(--ink-faint);font-size:var(--text-xs);margin-top:2px;display:block}.bhub-table.is-loading{opacity:.6;transition:opacity var(--duration-fast) var(--ease-standard)}.bhub-list{margin:0;padding:0;list-style:none}.bhub-list>li{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 4px;display:flex}.bhub-list>li:last-child{border-bottom:0}.bhub-list small{color:var(--ink-soft);font-size:var(--text-xs);display:block}.bhub-periods{border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface-muted);gap:2px;padding:2px;display:inline-flex}.bhub-periods button{border-radius:var(--radius-pill);color:var(--ink-soft);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:4px 11px;font-size:.72rem;font-weight:750}.bhub-periods button:hover:not(.is-active){color:var(--ink)}.bhub-periods button.is-active{background:var(--card);color:var(--ink);box-shadow:0 1px 2px #141e3c1f}.bhub-dates{color:var(--ink-faint);align-items:center;gap:4px;font-size:.72rem;display:inline-flex}.bhub-dates input,.bhub-add-filter{border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--card);min-height:28px;color:var(--ink);font:inherit;padding:3px 8px;font-size:.72rem;font-weight:650}.bhub-add-filter{color:var(--ink-soft);cursor:pointer;font-weight:750}.bhub-cell-title{color:var(--ink);font-weight:650;display:block}.bhub-due-amount{color:var(--warn-fg);font-weight:750}.bhub-share{flex-direction:column;gap:8px;display:flex}.bhub-share-bar{border-radius:var(--radius-pill);background:var(--surface-muted);gap:2px;height:10px;display:flex;overflow:hidden}.bhub-share-bar span{background:var(--dept,var(--ink-faint));flex-basis:0;min-width:4px}.bhub-share-legend{flex-wrap:wrap;gap:6px 14px;display:flex}.bhub-share-legend button{border-radius:var(--radius-pill);color:var(--ink-soft);font:inherit;font-size:var(--text-xs);font-variant-numeric:tabular-nums;cursor:pointer;background:0 0;border:1px solid #0000;align-items:center;gap:6px;padding:2px 8px 2px 2px;display:inline-flex}.bhub-share-legend button:hover{border-color:var(--line-strong)}.bhub-share-legend button.is-active{border-color:var(--ws-accent);background:var(--ws-accent-soft);color:var(--ink)}.bhub-drawer-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.bhub-drawer-summary>div:first-child{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.bhub-drawer-summary small{color:var(--ink-faint);font-size:var(--text-xs);flex-basis:100%}.bhub-due{border-radius:var(--radius-md);background:var(--surface-muted);flex-direction:column;align-items:flex-end;padding:8px 12px;display:flex}.bhub-due span{color:var(--ink-faint);font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.04em;font-weight:750}.bhub-due strong{color:var(--ink);font-size:var(--text-lg);font-variant-numeric:tabular-nums}.bhub-due.is-due{background:var(--warn-bg)}.bhub-due.is-due strong{color:var(--warn-fg)}.bhub-drawer-section h3{color:var(--ink-faint);font-size:var(--text-xs);letter-spacing:.05em;text-transform:uppercase;margin:0 0 6px;font-weight:800}.bhub-lines{margin:0;padding:0;list-style:none}.bhub-lines li{border-bottom:1px solid var(--line);font-size:var(--text-sm);justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;display:flex}.bhub-lines li>span{min-width:0}.bhub-lines li small{color:var(--ink-faint);font-size:var(--text-xs)}.bhub-lines li>span>small{display:block}.bhub-lines li b{font-variant-numeric:tabular-nums;flex-shrink:0}.bhub-lines li.is-cancelled{color:var(--ink-faint);text-decoration:line-through}.bhub-sums{margin:6px 0 0}.bhub-sums div{font-size:var(--text-sm);font-variant-numeric:tabular-nums;justify-content:space-between;gap:12px;padding:3px 0;display:flex}.bhub-sums dt{color:var(--ink-soft)}.bhub-sums dd{margin:0;font-weight:650}.bhub-sums .is-total dt,.bhub-sums .is-total dd{color:var(--ink);font-weight:800}.bhub-callout{border-left:3px solid var(--warn-fg);border-radius:var(--radius-sm);background:var(--warn-bg);color:var(--ink);font-size:var(--text-sm);margin:0;padding:10px 12px;line-height:1.45}.bhub-callout.is-muted{border-left-color:var(--ink-faint);background:var(--surface-muted)}.bhub-callout p{color:var(--ink-soft);margin:2px 0 0}.bhub-btn-icon{vertical-align:-2px;stroke:currentColor;width:14px;height:14px;margin-right:4px}.ws-page .btn.bhub-danger{color:var(--bad-fg)}.ws-page .btn.bhub-danger:hover{border-color:var(--bad-fg);color:var(--bad-fg)}.bhub-search{max-width:560px;position:relative}.bhub-search.is-large .form-control{min-height:46px;font-size:var(--text-md);padding-left:40px}.bhub-search-icon{width:16px;height:16px;color:var(--ink-faint);stroke:currentColor;pointer-events:none;position:absolute;top:15px;left:14px}.bhub-search-results{z-index:20;border:1px solid var(--line-strong);border-radius:var(--radius-md);background:var(--card);max-height:320px;box-shadow:var(--shadow-sticky);margin:0;padding:4px;list-style:none;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto}.bhub-search-results button{border-radius:var(--radius-sm);width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:8px 10px;display:flex}.bhub-search-results button:hover,.bhub-search-results button:focus-visible{background:var(--surface-muted);outline:none}.bhub-search-results strong{font-size:var(--text-sm);display:block}.bhub-search-results small{color:var(--ink-soft);font-size:var(--text-xs);display:block}.bhub-account{flex-direction:column;gap:16px;display:flex}.bhub-patient{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-soft);flex-wrap:wrap;align-items:center;gap:14px;padding:14px 16px;display:flex}.bhub-patient-copy{flex:1;min-width:180px}.bhub-patient-copy h2{color:var(--ink);font-size:var(--text-lg);margin:0}.bhub-patient-copy p{color:var(--ink-soft);font-size:var(--text-sm);margin:2px 0 0}.bhub-account-grid{grid-template-columns:minmax(0,1fr) minmax(260px,320px);align-items:start;gap:16px;display:grid}.bhub-statement{flex-direction:column;gap:12px;min-width:0;display:flex}.bhub-statement-bill{cursor:pointer}.bhub-statement-bill:focus-visible{box-shadow:inset 0 0 0 2px var(--ws-accent);outline:none}.bhub-entry{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.bhub-balance{font-weight:750}.bhub-balance.is-advance{color:var(--ok-fg)}.bhub-balance small{text-transform:uppercase;font-size:.68rem;font-weight:700}.bhub-receipt-link{color:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--line-strong);text-decoration-color:var(--line-strong);text-underline-offset:3px}.bhub-receipt-link:hover{-webkit-text-decoration-color:var(--ink);text-decoration-color:var(--ink)}.bhub-paycard{top:calc(var(--cmdbar-height,120px) + 12px);border:1px solid var(--line-strong);border-top:3px solid var(--ws-accent);border-radius:var(--radius-lg);background:var(--card);box-shadow:var(--shadow);flex-direction:column;gap:12px;padding:14px;display:flex;position:sticky}.bhub-paycard-sum{justify-content:space-between;align-items:baseline;margin:0;display:flex}.bhub-paycard-sum dt{letter-spacing:.06em;text-transform:uppercase;color:var(--ink-faint);font-size:.7rem;font-weight:800}.bhub-paycard-sum dd{font-variant-numeric:tabular-nums;margin:0;font-size:1.35rem;font-weight:800}.bhub-paycard-sum dd.is-due{color:var(--bad-fg,var(--ink))}.bhub-legacy{color:var(--ink-soft);font-size:var(--text-sm)}.bhub-legacy summary{cursor:pointer;font-weight:700}.bhub-legacy ul{margin:8px 0 0;padding-left:18px}@media print{.bhub-shell .cmdbar,.bhub-shell .ws-toasts,.bhub-no-print{display:none!important}.bhub-shell .main-content{margin:0!important;padding:0!important}.bhub-panel{box-shadow:none!important;border:0!important;margin:0!important;padding:0!important}.bhub-account-grid{grid-template-columns:1fr}.bhub-patient{background:0 0;border:0;padding:0}}.bhub-missed-groups{flex-wrap:wrap}.bhub-missed-total{font-variant-numeric:tabular-nums}.bhub-missed .bhub-queue-main strong{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.bhub-missed-name{color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.bhub-missed-name:hover{color:var(--ws-accent);text-decoration:underline}.bhub-missed-action{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;min-width:96px;display:flex}.bhub-missed-collect{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.bhub-missed-collect .bhub-rupee-input input{width:84px;padding:5px 0}.bhub-missed-ref{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--card);width:130px;color:var(--ink);font:inherit;font-size:var(--text-sm);padding:5px 8px}.bhub-openitems{flex-wrap:wrap;gap:6px;display:flex}.bhub-closed{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}@media (max-width:640px){.bhub-missed li{grid-template-columns:auto minmax(0,1fr) auto}.bhub-missed-action{grid-column:1/-1;justify-content:flex-start}}.bhub-queue{margin:0;padding:0;list-style:none}.bhub-queue li{border-bottom:1px solid var(--line);grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:14px;padding:10px 8px;display:grid}.bhub-queue li:last-child{border-bottom:0}.bhub-queue li.is-selected{background:var(--ws-accent-soft)}.bhub-queue-main{min-width:0}.bhub-queue-main strong{color:var(--ink);font-size:var(--text-sm);display:block}.bhub-queue-main small,.bhub-queue-when small{color:var(--ink-soft);font-size:var(--text-xs);display:block}.bhub-queue-when{text-align:right;font-size:var(--text-sm);white-space:nowrap}.bhub-queue-fee{text-align:right;font-variant-numeric:tabular-nums;min-width:84px}.bhub-form{flex-direction:column;gap:14px;display:flex}.bhub-form .bhub-field .form-control{width:100%}.bhub-form .bhub-field .bhub-num{width:110px}.bhub-opd-patient{align-items:flex-start;gap:14px;display:flex}.bhub-opd-patient .bhub-sums{flex:1;margin:0}@media (max-width:960px){.bhub-account-grid{grid-template-columns:1fr}.bhub-paycard{position:static}}@media (max-width:640px){.bhub-queue li{grid-template-columns:auto minmax(0,1fr) auto}.bhub-queue-when{display:none}.bhub-panel{padding:12px}.bhub-periods{max-width:100%;overflow-x:auto}.bhub-periods button{min-height:36px;padding:4px 12px}.bhub-dates{flex-wrap:wrap}.bhub-dates input,.bhub-add-filter{min-height:40px}.bhub-table .rt-stack small{display:block}.bhub-patient{padding:12px}.bhub-note-row{grid-template-columns:48px 12px 72px minmax(0,1fr)}}.bhub-daystep{border:1px solid var(--line-strong);border-radius:var(--radius-pill);background:var(--card);align-items:stretch;display:inline-flex;overflow:hidden}.bhub-daystep>button{width:36px;color:var(--ink-soft);font:inherit;cursor:pointer;background:0 0;border:0;font-size:1.2rem;line-height:1}.bhub-daystep>button:hover:not(:disabled){background:var(--surface-muted);color:var(--ink)}.bhub-daystep>button:disabled{color:var(--line-strong);cursor:default}.bhub-daystep label{border-inline:1px solid var(--line);cursor:pointer;align-items:center;padding:7px 12px;display:flex;position:relative}.bhub-daystep label strong{font-size:var(--text-sm);white-space:nowrap}.bhub-daystep label input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.bhub-daystep label:focus-within{box-shadow:inset 0 0 0 2px var(--ws-accent)}.bhub-split{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px 28px;display:grid}.bhub-sharebars ul{margin:0;padding:0;list-style:none}.bhub-sharebars li{font-size:var(--text-sm);grid-template-columns:96px minmax(0,1fr) auto 38px;align-items:center;gap:2px 10px;padding:6px 0;display:grid}.bhub-sharebars-label{color:var(--ink);font-weight:650}.bhub-sharebars-track{border-radius:var(--radius-pill);background:var(--surface-muted);height:8px;overflow:hidden}.bhub-sharebars-track span{border-radius:inherit;min-width:2px;height:100%;display:block}.bhub-sharebars li b{font-variant-numeric:tabular-nums;text-align:right}.bhub-sharebars-pct{color:var(--ink-faint);font-size:var(--text-xs);text-align:right;font-variant-numeric:tabular-nums}.bhub-sharebars li small{color:var(--ink-faint);font-size:var(--text-xs);grid-column:2/-1}.bhub-cashclose{border:1px solid var(--line-strong);border-top:3px solid var(--ws-accent);border-radius:var(--radius-lg);flex-direction:column;gap:14px;padding:16px;display:flex}.bhub-cashclose-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.bhub-cashclose-head h3{margin:0}.bhub-inline-field{color:var(--ink-soft);font-size:var(--text-xs);flex-wrap:wrap;align-items:center;gap:4px 10px;font-weight:750;display:inline-flex}.bhub-inline-field small{flex-basis:100%;font-weight:500}.bhub-rupee-input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--card);color:var(--ink-faint);font-size:var(--text-sm);align-items:center;gap:4px;padding:0 10px;display:inline-flex}.bhub-rupee-input:focus-within{border-color:var(--ws-accent);box-shadow:0 0 0 3px var(--ws-accent-soft)}.bhub-rupee-input input{width:110px;color:var(--ink);font:inherit;font-variant-numeric:tabular-nums;text-align:right;background:0 0;border:0;outline:none;padding:7px 0;font-weight:700}.bhub-notes{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:6px 24px;display:grid}.bhub-note-row{border-bottom:1px dashed var(--line);font-size:var(--text-sm);grid-template-columns:56px 14px 80px minmax(0,1fr);align-items:center;gap:8px;padding:4px 0;display:grid}.bhub-note-face{color:var(--ink);font-variant-numeric:tabular-nums;font-weight:750}.bhub-note-times{color:var(--ink-faint);text-align:center}.bhub-note-row input{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--card);width:100%;color:var(--ink);font:inherit;font-variant-numeric:tabular-nums;text-align:right;padding:5px 8px}.bhub-note-row input:focus{border-color:var(--ws-accent);box-shadow:0 0 0 3px var(--ws-accent-soft);outline:none}.bhub-note-row b{color:var(--ink-soft);text-align:right;font-variant-numeric:tabular-nums;font-weight:650}.bhub-direct{padding-top:2px}.bhub-recon{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.bhub-recon>div{border-radius:var(--radius-md);background:var(--surface-muted);flex-direction:column;gap:2px;padding:10px 12px;display:flex}.bhub-recon span{color:var(--ink-faint);font-size:var(--text-xs);letter-spacing:.04em;text-transform:uppercase;font-weight:800}.bhub-recon strong{color:var(--ink);font-size:var(--text-lg);font-variant-numeric:tabular-nums}.bhub-recon small{color:var(--ink-soft);font-size:var(--text-xs)}.bhub-recon-diff.is-ok{background:var(--ok-bg)}.bhub-recon-diff.is-ok span,.bhub-recon-diff.is-ok strong{color:var(--ok-fg)}.bhub-recon-diff.is-bad{background:var(--bad-bg)}.bhub-recon-diff.is-bad span,.bhub-recon-diff.is-bad strong{color:var(--bad-fg)}.bhub-recon-diff.is-warn{background:var(--warn-bg)}.bhub-recon-diff.is-warn span,.bhub-recon-diff.is-warn strong{color:var(--warn-fg)}.bhub-cashclose textarea.form-control{resize:vertical;width:100%}.ws-page .btn.bhub-btn-warn:not(:disabled){border-color:var(--warn-fg);background:var(--warn-fg)}.bhub-closes{border-top:1px solid var(--line);padding-top:12px}.bhub-closes h4{color:var(--ink-faint);font-size:var(--text-xs);letter-spacing:.05em;text-transform:uppercase;margin:0 0 4px;font-weight:800}@media (max-width:640px){.bhub-recon{grid-template-columns:1fr}.bhub-sharebars li{grid-template-columns:80px minmax(0,1fr) auto}.bhub-sharebars-pct{display:none}}.bhub-view-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.bhub-seg-count{opacity:.55;font-variant-numeric:tabular-nums;margin-left:4px}.bhub-timeline{flex-direction:column;gap:18px;display:flex}.bhub-timeline-day h3{color:var(--ink-faint);font-size:var(--text-xs);letter-spacing:.05em;text-transform:uppercase;margin:0 0 4px;font-weight:800}.bhub-timeline-day ul{margin:0;padding:0;list-style:none;position:relative}.bhub-timeline-day ul:before{content:"";background:var(--line);width:2px;position:absolute;top:14px;bottom:14px;left:15px}.bhub-timeline-row{border-radius:var(--radius-md);width:100%;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;grid-template-columns:12px minmax(0,1fr) auto 12px;align-items:center;gap:12px;padding:10px;display:grid;position:relative}.bhub-timeline-with-print{align-items:center;gap:8px;display:flex}.bhub-timeline-with-print>.bhub-timeline-row{flex:auto;min-width:0}.bhub-timeline-with-print>.btn{flex:none;position:relative}button.bhub-timeline-row{cursor:pointer}button.bhub-timeline-row:hover{background:var(--surface-soft)}button.bhub-timeline-row:focus-visible{box-shadow:var(--focus-ring);outline:none}.bhub-timeline-dot{z-index:1;border:2px solid var(--card);background:var(--ink-faint);width:12px;height:12px;box-shadow:0 0 0 1px var(--line-strong);border-radius:50%}.bhub-timeline-dot.is-cancelled{background:var(--bad-fg)}.bhub-timeline-dot.is-credit{background:var(--warn-fg)}.bhub-timeline-dot.is-refund{background:var(--ws-accent)}.bhub-timeline-main{flex-direction:column;gap:2px;min-width:0;display:flex}.bhub-timeline-title{font-size:var(--text-sm);flex-wrap:wrap;align-items:center;gap:6px;font-weight:650;display:flex}.bhub-timeline-main small{color:var(--ink-soft);font-size:var(--text-xs)}.bhub-timeline-amount{font-size:var(--text-sm);font-variant-numeric:tabular-nums;white-space:nowrap}.bhub-timeline-amount s{color:var(--ink-faint)}.bhub-timeline-chevron{color:var(--ink-faint);font-size:1.1rem;line-height:1}.bhub-queue-when .is-bad{color:var(--bad-fg);font-weight:700}.bhub-expenses .bhub-expense-new>td{vertical-align:middle;background:var(--surface-soft)}.bhub-expenses .bhub-expense-new input,.bhub-expenses .bhub-expense-new select{border:1px solid var(--line-strong);border-radius:var(--radius-sm,8px);background:var(--card);width:100%;min-height:32px;color:inherit;font:inherit;padding:4px 8px}.bhub-expenses .bhub-expense-new input.bhub-num{text-align:right;font-variant-numeric:tabular-nums}.ws-table-wrap.bhub-expenses{overflow:visible}.bhub-pick{min-width:0;display:block;position:relative}.bhub-pick-list{z-index:30;border:1px solid var(--line-strong);border-radius:var(--radius-sm,8px);background:var(--card);max-height:260px;box-shadow:var(--shadow-md,0 8px 24px #0f172a1f);margin:0;padding:4px;list-style:none;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow-y:auto}.bhub-pick-item{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:7px 9px;display:block}.bhub-pick-item.is-active{background:var(--surface-soft)}.bhub-pick-item.is-add{color:var(--brand,inherit);font-weight:650}@media (max-width:640px){.bhub-expenses .bhub-expense-new>td{background:0 0}}.bhub-pack-head th{background:var(--surface-muted);text-align:left;font-weight:700}.bhub-pack-check td{color:var(--ink-soft)}.bhub-pack-check.is-bad td{color:var(--bad-fg,#b91c1c);font-weight:700}.bhub-ledger>.bhub-view-head{margin:10px 0}.bhub-ledger-due{color:var(--bad-fg,var(--ink))}.bhub-field .bhub-month{border:1px solid var(--line-strong);border-radius:var(--radius-sm,8px);background:var(--card);min-height:32px;color:var(--ink);font:inherit;padding:4px 8px;font-weight:500}.bhub-pick-prompt{border:1px dashed var(--line-strong);margin-top:4px;padding:4px 8px}.bhub-bad{color:var(--bad-fg,#b42318);text-align:left;margin-top:2px;font-weight:650;display:block}.bill-page .preg-search.bill-top-gap{visibility:hidden}.bill-page .phr-grid{margin-top:12px}.bill-page .bhub-panel{margin-top:0}.bill-page .bhub-panel.is-bare{box-shadow:none;background:0 0;border:0;gap:0;padding:0}.bill-page .ws-table-wrap{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--card)}.bill-page .ws-table{font-size:13px}.bill-page .ws-table thead th{z-index:1;background:var(--surface-muted);color:var(--ink-faint);letter-spacing:.04em;text-transform:uppercase;padding:8px 12px;font-size:11px;font-weight:700;position:sticky;top:0}.bill-page .ws-table td{padding:8px 12px}.bill-page .ws-table tbody tr:last-child td{border-bottom:0}.bill-page .ws-table tbody tr:hover{background:color-mix(in srgb, var(--surface-muted) 65%, transparent)}.bill-page .ptable-table tr.is-cancelled td{color:var(--ink-faint);text-decoration:line-through}.bill-page .ptable-table tr.is-cancelled td .ws-pill{text-decoration:none}.bill-papers{align-items:center;gap:4px;display:inline-flex}.bill-paper{--paper:#1a3d73;border:1px solid color-mix(in srgb, var(--paper) 22%, var(--line));background:color-mix(in srgb, var(--paper) 8%, var(--card));min-width:24px;height:24px;color:var(--paper);font:inherit;cursor:pointer;border-radius:7px;justify-content:center;align-items:center;gap:2px;padding:0 5px;font-size:.64rem;text-decoration:none;display:inline-flex}.bill-paper svg{stroke:currentColor;width:13px;height:13px}.bill-paper b{font-weight:800}.bill-paper:hover{background:var(--paper);color:#fff}.bill-paper.is-receipt{--paper:#15803d}.bill-paper.is-refund{--paper:#be123c}.bill-paper.is-note{--paper:#a16207}.bill-page .ptable-table td:has(.bill-papers){overflow:visible}.bill-page .ptable-table td:has(.print-menu-pop){z-index:7;position:relative}.bill-papers .print-menu-pop{left:0;right:auto}.bill-papers .print-menu-pop a{color:var(--ink);border-radius:6px;flex-direction:column;gap:1px;padding:7px 10px;font-size:.78rem;font-weight:700;text-decoration:none;display:flex}.bill-papers .print-menu-pop a:hover{background:var(--surface-muted)}.bill-papers .print-menu-pop small{color:var(--ink-faint);font-weight:500}.bill-act.is-pay{color:#15803d}.bill-act.is-pay:hover{background:color-mix(in srgb, #15803d 12%, var(--card));color:#15803d}.bill-viewbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.bill-listview{flex-direction:column;gap:8px;display:flex}.bill-row .preg-row-main{font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.bill-row-no{color:var(--ink-faint);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.72rem;font-weight:650}.bill-row.is-selected{border-color:var(--focus-border)}.bill-row.is-cancelled .preg-row-name{color:var(--ink-faint);text-decoration:line-through}.bill-row .preg-row-signal{justify-content:flex-end}.bill-rows[data-density=compact] .bill-papers{gap:3px}.bill-listview .bill-more{align-self:center}@media (max-width:860px){.bill-row{grid-template-columns:minmax(0,1fr) auto}.bill-row .preg-row-signal{grid-column:1/-1;justify-content:flex-start}}.bexp-month{border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--card);align-items:center;gap:4px;padding:2px;display:inline-flex}.bexp-month b{text-align:center;min-width:118px;font-size:.76rem;font-weight:750}.bexp-month-step{width:24px;height:24px;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;padding:0;display:inline-grid}.bexp-month-step svg{stroke:currentColor;transform:rotate(90deg)}.bexp-month-step.is-next svg{transform:rotate(-90deg)}.bexp-month-step:hover:not(:disabled){background:var(--surface-muted);color:var(--ink)}.bexp-month-step:disabled{opacity:.35;cursor:default}.bexp-bucket{--hue:#64748b;border-radius:var(--radius-pill);background:color-mix(in srgb, var(--hue) 12%, var(--card));color:color-mix(in srgb, var(--hue) 80%, #0b1220);white-space:nowrap;padding:1px 8px;font-size:.66rem;font-weight:750;display:inline-flex}.bexp-avatar{color:#fff;place-items:center;display:inline-grid}.bexp-avatar svg{stroke:currentColor}.bexp-act.is-remove:hover{background:var(--bad-bg);color:var(--bad-fg)}.bexp-act.is-recurring{color:#15803d}.bexp-recurring{flex-wrap:wrap;gap:8px;margin-bottom:10px;display:flex}.bexp-rule{--hue:#64748b;border:1px solid color-mix(in srgb, var(--hue) 28%, var(--line));background:color-mix(in srgb, var(--hue) 7%, var(--card));border-radius:10px;align-items:center;gap:2px;padding:3px 4px 3px 3px;display:inline-flex}.bexp-rule.is-paused,.bexp-rule.is-ended{opacity:.6}.bexp-rule-main{font:inherit;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:baseline;gap:6px;padding:4px 8px;display:inline-flex}.bexp-rule-main:hover{background:color-mix(in srgb, var(--hue) 12%, var(--card))}.bexp-rule-main svg{stroke:color-mix(in srgb, var(--hue) 80%, #0b1220);align-self:center}.bexp-rule-name{font-size:.78rem;font-weight:750}.bexp-rule-main b{font-variant-numeric:tabular-nums;font-size:.78rem}.bexp-rule-main small{color:var(--ink-soft);font-size:.68rem}.bexp-rule .preg-act{width:26px;height:26px}.bexp-rule .preg-act svg{width:14px;height:14px}.ws-modal-panel.bexp-modal{max-width:560px}.bexp-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 14px;width:100%;display:grid}.bexp-form>.bexp-error{color:var(--bad-fg);grid-column:1/-1;margin:0;font-size:.78rem;font-weight:650}.bexp-type{border-radius:var(--radius-pill);background:var(--surface-muted);grid-column:1/-1;justify-self:start;padding:3px;display:inline-flex}.bexp-type button{border-radius:var(--radius-pill);font:inherit;color:var(--ink-soft);cursor:pointer;background:0 0;border:0;padding:6px 16px;font-size:.78rem;font-weight:750}.bexp-type button.is-on{background:var(--card);color:var(--ink);box-shadow:0 1px 2px #141e3c1f}.bexp-field{min-width:0;color:var(--ink-soft);flex-direction:column;gap:4px;font-size:.72rem;font-weight:700;display:flex}.bexp-field.is-wide{grid-column:1/-1}.bexp-field>input,.bexp-field>select,.bexp-field .bhub-pick input,.best-find-person input{box-sizing:border-box;border:1px solid var(--line-strong,var(--line));border-radius:var(--radius-sm);background:var(--card);width:100%;min-height:36px;color:var(--ink);font:inherit;padding:6px 10px;font-size:.84rem;font-weight:500}.bexp-field .bhub-pick{display:block;position:relative}.bexp-foot{grid-column:1/-1;justify-content:flex-end;gap:8px;margin-top:4px;display:flex}@media (max-width:640px){.bexp-form{grid-template-columns:1fr}}.ws-modal-panel.btp-modal{max-width:520px}.btp{flex-direction:column;gap:10px;display:flex}.btp-people{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.btp-people button{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:7px 8px;display:flex}.btp-people button:hover{background:var(--surface-muted)}.btp-people span{flex-direction:column;min-width:0;display:flex}.btp-people b{font-size:.84rem}.btp-people small{color:var(--ink-faint);font-size:.7rem}.btp-options{flex-direction:column;gap:6px;display:flex}.btp-option{--hue:#475569;border:1px solid color-mix(in srgb, var(--hue) 22%, var(--line));background:color-mix(in srgb, var(--hue) 5%, var(--card));width:100%;font:inherit;color:var(--ink);text-align:left;cursor:pointer;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px 10px;display:grid}.btp-option:hover{border-color:var(--hue);background:color-mix(in srgb, var(--hue) 10%, var(--card))}.btp-option-icon{background:var(--hue);color:#fff;border-radius:8px;place-items:center;width:30px;height:30px;display:inline-grid}.btp-option-icon svg{stroke:currentColor}.btp-option-copy{flex-direction:column;min-width:0;display:flex}.btp-option-copy b{font-size:.84rem;font-weight:750}.btp-option-copy small{color:var(--ink-soft);font-size:.7rem}.btp-option-amount{font-variant-numeric:tabular-nums;font-size:.86rem;font-weight:800}.btp-option-go{stroke:var(--ink-faint);transform:rotate(-90deg)}.btp-change{color:var(--ink-soft);font:inherit;cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:4px 2px;font-size:.76rem;font-weight:700;text-decoration:underline}.ws-modal-panel.best-modal{max-width:860px}.best-form{flex-direction:column;gap:12px;display:flex}.best-top{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.best-find-person{display:block;position:relative}.best-find-person .bhub-pick-list{top:calc(100% + 4px);left:0;right:0}.best-find-person input:focus,.bexp-field>input:focus,.bexp-field>select:focus{border-color:var(--focus-border);box-shadow:var(--focus-ring);outline:none}.best-chosen{border:1px solid var(--line);border-radius:var(--radius-sm);align-items:center;gap:8px;min-height:36px;padding:3px 4px 3px 6px;display:flex}.best-chosen b{color:var(--ink);font-size:.84rem}.best-chosen small{color:var(--ink-faint);font-weight:600}.best-chosen .preg-act{width:26px;height:26px;margin-left:auto}.best-add{align-items:center;gap:8px;display:flex}.best-search{border:1px solid var(--line-strong,var(--line));border-radius:var(--radius-sm);background:var(--card);flex:1;align-items:center;gap:8px;min-height:38px;padding:0 10px;display:flex;position:relative}.best-search svg{stroke:var(--ink-faint);flex:none}.best-search input{min-width:0;font:inherit;color:var(--ink);background:0 0;border:0;outline:none;flex:1;font-size:.86rem}.best-search .bhub-pick-list{top:calc(100% + 4px);left:0;right:0}.best-hits .bhub-pick-item{align-items:center;gap:8px;display:flex}.best-hit-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.best-hit-name small{color:var(--ink-faint)}.best-kind{--hue:#475569;background:color-mix(in srgb, var(--hue) 14%, var(--card));width:20px;height:20px;color:var(--hue);border-radius:6px;flex:none;place-items:center;display:inline-grid}.best-kind svg{stroke:currentColor}.best-kinds{align-items:center;gap:3px;display:inline-flex}.best-kinds small{color:var(--ink-faint);margin-left:3px;font-size:.68rem}.best-lines{max-height:46vh;overflow:auto}.best-lines .ws-table td{padding:5px 8px}.best-item{align-items:center;gap:6px;display:flex}.best-item input,.best-num{width:100%;min-height:30px;font:inherit;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:6px;padding:4px 8px;font-size:.82rem}.best-item input:hover,.best-num:hover{border-color:var(--line)}.best-item input:focus,.best-num:focus{border-color:var(--focus-border);background:var(--card);outline:none}.best-num{text-align:right;width:92px}.best-empty{color:var(--ink-faint);text-align:center;padding:18px!important}.best-lines tfoot td{padding:6px 8px;font-size:.8rem}.best-lines tr.best-total td{font-size:.92rem;font-weight:800}@media (max-width:860px){.best-top{grid-template-columns:1fr}.best-add{flex-wrap:wrap}}.best-advances{border:1px solid color-mix(in srgb, #15803d 25%, var(--line));background:color-mix(in srgb, #15803d 5%, var(--card));border-radius:10px;margin:0;padding:8px 10px;list-style:none}.best-advances li{grid-template-columns:minmax(0,1fr) auto auto;gap:12px;padding:3px 0;font-size:.8rem;display:grid}.best-advances a{color:#15803d;font-weight:750}.best-advances span{color:var(--ink-soft)}.best-advances b{font-variant-numeric:tabular-nums}.best-advances li.is-balance{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;margin-top:3px;padding-top:6px;font-weight:750}.ws-modal-panel.bbm-modal{max-width:820px}.bbm{flex-direction:column;gap:14px;display:flex}.bbm-strip{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.bbm-strip>small{color:var(--ink-soft);font-size:.72rem;font-weight:650}.bbm-figures{gap:16px;margin-left:auto;display:inline-flex}.bbm-figures span{flex-direction:column;align-items:flex-end;display:flex}.bbm-figures small{color:var(--ink-faint);text-transform:uppercase;letter-spacing:.04em;font-size:.66rem;font-weight:700}.bbm-figures b{font-variant-numeric:tabular-nums;font-size:1rem}.bbm-figures .is-due b{color:var(--warn-fg)}.bbm-section h3{text-transform:uppercase;letter-spacing:.04em;color:var(--ink-faint);margin:0 0 6px;font-size:.76rem;font-weight:800}.bbm-section .ws-table td small{color:var(--ink-faint)}.bbm-added td{background:color-mix(in srgb, #15803d 5%, var(--card))}.bbm-add-item{gap:6px;display:flex}.bbm-add-item select,.bbm-add-item input{border:1px solid var(--line);background:var(--card);min-height:30px;font:inherit;color:var(--ink);border-radius:6px;padding:4px 8px;font-size:.82rem}.bbm-add-item input{flex:1;min-width:0}.bbm-edit-foot{flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;display:flex}.bbm-reason{color:var(--ink-soft);align-items:center;gap:6px;font-size:.74rem;font-weight:700;display:inline-flex}.bbm-reason select,.bbm-reason input{border:1px solid var(--line);background:var(--card);min-height:32px;font:inherit;color:var(--ink);border-radius:6px;padding:4px 8px;font-size:.8rem}.bbm-effects{gap:8px;margin-left:auto;display:inline-flex}.bbm-effects span{border-radius:999px;padding:4px 10px;font-size:.76rem;font-weight:800}.bbm-effects .is-credit{background:var(--bad-bg);color:var(--bad-fg)}.bbm-effects .is-extra{background:var(--ok-bg);color:var(--ok-fg)}.bbm-list{border:1px solid var(--line);border-radius:var(--radius-lg);margin:0;padding:0;list-style:none}.bbm-list li{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:12px;padding:8px 12px;display:grid}.bbm-list li:last-child{border-bottom:0}.bbm-list li.is-cancelled{color:var(--ink-faint);text-decoration:line-through}.bbm-list-main{flex-direction:column;min-width:0;display:flex}.bbm-list-main small{color:var(--ink-faint);font-size:.7rem}.bbm-list b{font-variant-numeric:tabular-nums}.bbm-mode{border:1px solid var(--line);background:var(--card);min-height:28px;font:inherit;border-radius:6px;padding:2px 6px;font-size:.76rem}.bbm-mode-text{color:var(--ink-soft);font-size:.76rem}.bbm-acts{gap:2px;display:inline-flex}.bbm-acts .preg-act{width:28px;height:28px}.bbm-foot{flex-wrap:wrap}.bbm-foot .bhub-danger{margin-right:auto}@media (max-width:640px){.bbm-figures{margin-left:0}.bbm-list li{grid-template-columns:minmax(0,1fr) auto}}.bill-kind{--hue:#475569;background:color-mix(in srgb, var(--hue) 10%, var(--card));color:color-mix(in srgb, var(--hue) 85%, #0b1220);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:1px 7px 1px 5px;font-size:.66rem;font-weight:750;display:inline-flex}.bill-kind svg{stroke:currentColor;flex:none}.phr-rail .rxh-rail .rxh-rail-label{white-space:normal;text-align:center;overflow:visible}.bill-paper.is-estimate{--paper:#7c3aed}.ws-modal-panel .bexp-foot{bottom:calc(-1 * var(--ws-modal-pad,24px));z-index:3;margin:4px calc(-1 * var(--ws-modal-pad,24px)) calc(-1 * var(--ws-modal-pad,24px));padding:12px var(--ws-modal-pad,24px);border-top:1px solid var(--line);background:var(--card);border-radius:0 0 18px 18px;position:sticky}@media (min-width:641px){.bill-page .bill-sticky .ptable-table td.preg-td-actions,.bill-page .bill-sticky .ptable-table td.bill-col-print{z-index:2;background:var(--card);position:sticky}.bill-page .bill-sticky .ptable-table td.preg-td-actions{right:0}.bill-page .bill-sticky .ptable-table td.bill-col-print{right:var(--bill-act-w,64px);box-shadow:-1px 0 0 var(--line);overflow:visible}.bill-page .bill-sticky .ptable-table thead th.preg-th-actions,.bill-page .bill-sticky .ptable-table thead th.bill-col-print{z-index:5;background:var(--surface-muted);position:sticky;top:0}.bill-page .bill-sticky .ptable-table thead th.preg-th-actions{right:0}.bill-page .bill-sticky .ptable-table thead th.bill-col-print{right:var(--bill-act-w,64px);box-shadow:-1px 0 0 var(--line)}.bill-page .bill-sticky .ptable-table tr.is-selected td.preg-td-actions,.bill-page .bill-sticky .ptable-table tr.is-selected td.bill-col-print{background:color-mix(in srgb, var(--action,#0f766e) 8%, var(--card))}}.bill-sticky .ptable-tr{cursor:default}.bill-sticky .ptable-table td.is-clickable{cursor:pointer}.bill-sticky .ptable-table td.is-clickable:hover .ptable-name-plain,.bill-sticky .ptable-table td.is-clickable:hover{color:var(--action,#0f766e)}.bill-sticky .ptable-table td.is-clickable:hover .ptable-name-plain{text-underline-offset:2px;text-decoration:underline}.bbm-paper .ws-table{font-size:12px}.bbm-paper .ws-table th,.bbm-paper .ws-table td{white-space:nowrap;padding:6px 8px}.bbm-paper .ws-table td:nth-child(2){white-space:normal;min-width:160px}.bbm-paper .ws-table td small{color:var(--ink-faint)}.bbm-paper-foot{grid-template-columns:minmax(0,1fr) minmax(240px,300px);align-items:start;gap:14px;margin-top:10px;display:grid}.bbm-rates{font-size:12px}.bbm-totals{border:1px solid var(--line);border-radius:var(--radius-lg);margin:0;overflow:hidden}.bbm-totals>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:4px 12px;font-size:12.5px;display:flex}.bbm-totals>div:last-child{border-bottom:0}.bbm-totals dt{color:var(--ink-soft)}.bbm-totals dd{font-variant-numeric:tabular-nums;margin:0}.bbm-totals>div.is-grand{background:var(--surface-muted);font-weight:800}.bbm-totals>div.is-grand dt{color:var(--ink)}.bbm-totals>div.is-due dd{color:var(--warn-fg);font-weight:800}@media (max-width:640px){.bbm-paper-foot{grid-template-columns:1fr}}.bbm-print{display:inline-flex;position:relative}.bbm-print-pop{z-index:10;border:1px solid var(--line);background:var(--card);border-radius:10px;min-width:220px;padding:4px;position:absolute;bottom:calc(100% + 6px);right:0;box-shadow:0 12px 28px -12px #141e3c59}.bbm-print-pop a{color:var(--ink);border-radius:6px;flex-direction:column;gap:1px;padding:7px 10px;font-size:.8rem;font-weight:700;text-decoration:none;display:flex}.bbm-print-pop a:hover{background:var(--surface-muted)}.bbm-print-pop small{color:var(--ink-faint);font-weight:500}
