/* Pravix Flow — layers.css (n384). The styles that sat in <body>, after the styles the shared assets add to <head> while the page loads.
   Each block sat in index.html in its own <style>. They are here in the same order, so the same rule still wins.
   A new block goes at the end, under a heading like the ones below.
   After changing this file:  python3 _ci/seal_csp.py .   (it refreshes the ?v= in index.html) */

/* ━━━━━ 1 of 68 · n251-css · Add more tenants here (or let the build bundle every config/hospitals/*.config.js): ━━━━━ */


/* ━━━━━ 2 of 68 · n116-css ━━━━━ */


/* ━━━━━ 3 of 68 · no id ━━━━━ */
/* Rounds n118: "… removed · Undo" (same look as Flow's disposition undo) */

/* ━━━━━ 4 of 68 · no id ━━━━━ */
/* Endings n120 — quiet, calm, never cheerful (choice-cards rule for sad outcomes) */
.disp-other{align-self:center;display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 10px;margin-top:-2px;border:0;border-radius:9px;background:transparent;
  color:rgba(150,171,191,.78);font:inherit;font-size:0.8125rem;font-weight:500;letter-spacing:-.005em;cursor:pointer;transition:color .16s ease,background .16s ease;}
.disp-other svg{width:min(0.8125rem,19.5px);height:min(0.8125rem,19.5px);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.7;}
.disp-other:hover{color:rgba(220,229,239,.95);background:rgba(255,255,255,.04);}
.disp-other:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(59,177,201,.16);}
.disp-other[hidden]{display:none;}
.disp-other.has-form{color:#a79fc4;}
@media (pointer:coarse){ .disp-other{min-height:44px;} }
/* the drawer card, extra pieces (fv-dc): choice ring, right-hand note (price), wrapping description, arrow motion */
.fv-dc{width:100%;}
.fv-dc .dc-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;}
.fv-dc .dc-aside{font-weight:600;font-variant-numeric:tabular-nums;color:rgba(190,204,218,.92);white-space:nowrap;}
.fv-dc.dc-wrap{align-items:start;padding-top:13px;padding-bottom:13px;}
.fv-dc.dc-wrap .dc-ic{margin-top:-6px;}
.fv-dc.dc-wrap .dc-desc{white-space:normal;overflow:visible;line-height:1.4;}
.fv-dc .dc-mark{width:20px;height:20px;border-radius:10px;border:1.5px solid rgba(150,171,191,.45);display:grid;place-items:center;transition:background .16s ease,border-color .16s ease;}
.fv-dc .dc-mark.sq{border-radius:6px;}
.fv-dc.dc-wrap .dc-mark{margin-top:2px;}
.fv-dc.is-on{border-color:rgba(154,147,184,.62);}
.fv-dc.is-on .dc-ic{color:#a79fc4;}
.fv-dc.is-on .dc-mark{border-color:#9a93b8;background:#8A82A8;}
.fv-dc.is-on .dc-mark::after{content:"";width:8px;height:4.5px;border:2px solid #fff;border-top:0;border-right:0;transform:translateY(-1px) rotate(-45deg);}
.fv-dc:hover .dc-arrow.dc-out svg{animation:dischargeArrowOut 400ms cubic-bezier(.2,.8,.2,1) 70ms both;}
.fv-dc:hover .dc-arrow.dc-in svg{animation:admitArrowIn 400ms cubic-bezier(.2,.8,.2,1) 70ms both;}
.fv-dc:hover .dc-arrow.dc-next svg{animation:fvDcNext 400ms cubic-bezier(.2,.8,.2,1) 70ms both;}
.fv-dc:hover .dc-arrow.dc-back svg{animation:fvDcBack 400ms cubic-bezier(.2,.8,.2,1) 70ms both;}
@keyframes fvDcNext{0%{transform:translateX(-3px);opacity:.42}62%{transform:translateX(3px);opacity:1}100%{transform:translateX(2px);opacity:1}}
@keyframes fvDcBack{0%{transform:translateX(3px);opacity:.42}62%{transform:translateX(-3px);opacity:1}100%{transform:translateX(-2px);opacity:1}}
body:not(.dark) .fv-dc .dc-aside{color:var(--ink-700);}
body:not(.dark) .fv-dc .dc-mark{border-color:rgba(75,85,99,.35);}
body:not(.dark) .fv-dc.is-on{border-color:rgba(110,103,136,.55);}
body:not(.dark) .fv-dc.is-on .dc-ic{color:#6E6788;}
body:not(.dark) .fv-dc.is-on .dc-mark{border-color:#6E6788;background:#6E6788;}
/* the sheet: a centered sheet on a desk, a bottom sheet on iPad / phone; inset grouped sections like iOS Settings */
.end-sheet{display:none;}
.end-sheet.open{display:block;position:fixed;inset:0;z-index:9700;}
.es-scrim{position:absolute;inset:0;background:rgba(4,8,16,.52);opacity:0;transition:opacity .24s ease;}
.end-sheet.shown .es-scrim{opacity:1;}
.es-panel{position:absolute;left:50%;top:50%;width:min(540px,calc(100vw - 32px));max-height:min(88vh,860px);display:flex;flex-direction:column;
  transform:translate(-50%,-46%) scale(.985);opacity:0;transition:transform .32s cubic-bezier(.2,.8,.2,1),opacity .2s ease;
  border-radius:22px;background:#111a28;border:1px solid rgba(255,255,255,.08);box-shadow:0 30px 80px rgba(0,0,0,.45);overflow:hidden;color:rgba(235,240,246,.96);}
.end-sheet.shown .es-panel{transform:translate(-50%,-50%) scale(1);opacity:1;}
.es-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.06);}
.es-bar h2{margin:0;font-size:1rem;font-weight:600;letter-spacing:-.015em;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.es-cancel{justify-self:start;min-height:44px;padding:0 6px;border:0;background:transparent;color:#a79fc4;font:inherit;font-size:0.9375rem;font-weight:500;cursor:pointer;}
.es-body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:6px 16px 10px;overscroll-behavior:contain;}
.es-sec{margin-top:16px;}
.es-h{font-size:0.75rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:rgba(150,171,191,.75);margin:0 4px 7px;}
.es-sec .end-kinds{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.es-group{border-radius:14px;background:rgba(255,255,255,.045);overflow:hidden;}
.es-group+.es-group{margin-top:10px;}
.es-text{padding:13px 14px;font-size:0.875rem;line-height:1.45;color:rgba(214,224,235,.92);}
.es-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding:10px 14px;border:0;border-top:1px solid rgba(255,255,255,.06);background:transparent;color:inherit;font:inherit;font-size:0.9375rem;text-align:left;cursor:pointer;}
.es-group>.es-row:first-child,.es-group>.es-cardrow:first-child+.es-row{border-top:0;}
.es-row:hover:not(.es-static){background:rgba(255,255,255,.04);}
.es-row.es-static{cursor:default;}
.es-row.danger{color:#E8928A;}
.es-rl{display:flex;flex-direction:column;gap:2px;min-width:0;}
.es-rd{font-size:0.75rem;color:rgba(150,171,191,.8);letter-spacing:0}
.es-check{width:16px;height:16px;flex:0 0 16px;}
.es-row.on .es-check::after{content:"";display:block;width:11px;height:6px;margin:3px 0 0 2px;border:2.2px solid #a79fc4;border-top:0;border-right:0;transform:rotate(-45deg);}
.es-switch{position:relative;width:46px;height:28px;flex:0 0 46px;border-radius:14px;background:rgba(255,255,255,.16);transition:background .2s ease;}
.es-switch span{position:absolute;top:2px;left:2px;width:24px;height:24px;border-radius:12px;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.25);transition:transform .22s cubic-bezier(.2,.8,.2,1);}
.es-row.on .es-switch{background:#8A82A8;} .es-row.on .es-switch span{transform:translateX(18px);}
.es-chev svg{width:min(0.9375rem,22.5px);height:min(0.9375rem,22.5px);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:.5;}
.es-seg{display:inline-flex;padding:2px;border-radius:10px;background:rgba(255,255,255,.08);}
.es-seg button{min-height:30px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:inherit;font:inherit;font-size:0.8125rem;font-weight:500;cursor:pointer;}
.es-seg button.on{background:rgba(255,255,255,.16);box-shadow:0 1px 3px rgba(0,0,0,.25);font-weight:600;}
.es-cardrow{padding:8px;}
.es-foot-note{font-size:0.8125rem;line-height:1.45;color:rgba(150,171,191,.82);margin:7px 4px 0;}
.es-foot{display:flex;flex-direction:column;gap:8px;padding:12px 16px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(255,255,255,.06);}
.es-foot:empty,.es-foot:has(> .end-hint[hidden]:only-child){display:none;}
.es-primary{display:flex;align-items:center;justify-content:center;min-height:50px;border:0;border-radius:14px;background:#8A82A8;color:#fff;font:inherit;font-size:1rem;font-weight:600;letter-spacing:-.01em;cursor:pointer;text-decoration:none;}
.es-primary:hover{filter:brightness(1.06);}
.es-primary.quiet{background:rgba(255,255,255,.10);color:inherit;}
.es-panel button:focus-visible,.es-panel a:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(59,177,201,.30);}
.es-row:focus-visible{box-shadow:inset 0 0 0 2px rgba(59,177,201,.45)!important;}
.end-hint{font-size:0.8125rem;font-weight:500;color:#d9a35a;}
.end-hint[hidden]{display:none;}
.end-nudge{animation:endNudge .36s ease;}
@keyframes endNudge{0%,100%{translate:0}30%{translate:-4px}65%{translate:4px}}
/* the progress line (Sent → With the family → Signed), also in the queue */
.cf-prog{display:flex;align-items:flex-start;gap:0;list-style:none;margin:0;padding:2px 0;}
.cf-prog li{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:5px;position:relative;font-size:0.75rem;font-weight:600;color:rgba(150,171,191,.7);}
.cf-prog li::before{content:"";width:10px;height:10px;border-radius:5px;border:2px solid rgba(150,171,191,.4);background:transparent;z-index:1;}
.cf-prog li:not(:last-child)::after{content:"";position:absolute;top:5px;left:12px;right:2px;height:2px;border-radius:1px;background:rgba(150,171,191,.22);}
.cf-prog li.done{color:rgba(225,232,240,.95);} .cf-prog li.done::before{background:#8A82A8;border-color:#8A82A8;} .cf-prog li.done:not(:last-child)::after{background:#8A82A8;}
.cf-prog li.now{color:rgba(240,244,248,.98);} .cf-prog li.now::before{border-color:#a79fc4;box-shadow:0 0 0 4px rgba(138,130,168,.2);}
.cf-prog li small{font-weight:500;font-size:0.6875rem;opacity:.8;}
@media (max-width:820px){
  .es-panel{left:0;right:0;top:auto;bottom:0;width:100%;max-height:92vh;border-radius:22px 22px 0 0;transform:translateY(100%);}
  .end-sheet.shown .es-panel{transform:translateY(0);}
  .es-panel::before{content:"";display:block;width:38px;height:5px;border-radius:3px;background:rgba(255,255,255,.22);margin:8px auto 0;}
}
@media (pointer:coarse){ .es-row{min-height:52px;} .es-seg button{min-height:36px;} }
body:not(.dark) .es-panel{background:#F2F4F8;color:var(--ink-900);border-color:rgba(30,45,90,.08);box-shadow:0 30px 80px rgba(17,24,39,.22);}
body:not(.dark) .es-bar,body:not(.dark) .es-foot{border-color:rgba(30,45,90,.08);background:rgba(255,255,255,.7);}
body:not(.dark) .es-cancel{color:#5d5679;}
body:not(.dark) .es-h,body:not(.dark) .es-foot-note,body:not(.dark) .es-rd{color:#6b7280;}
body:not(.dark) .es-group{background:#fff;}
body:not(.dark) .es-text{color:#3b4250;}
body:not(.dark) .es-row{border-top-color:rgba(30,45,90,.07);}
body:not(.dark) .es-row:hover:not(.es-static){background:#F7F8FB;}
body:not(.dark) .es-row.danger{color:#B4382E;}
body:not(.dark) .es-row.on .es-check::after{border-color:#5d5679;}
body:not(.dark) .es-switch{background:rgba(120,120,128,.20);} body:not(.dark) .es-row.on .es-switch{background:#6E6788;}
body:not(.dark) .es-seg{background:rgba(118,118,128,.12);} body:not(.dark) .es-seg button.on{background:#fff;box-shadow:0 1px 3px rgba(17,24,39,.14);}
body:not(.dark) .es-primary{background:#6E6788;}
body:not(.dark) .es-primary.quiet{background:rgba(118,118,128,.14);color:var(--ink-900);}
body:not(.dark) .es-panel .end-kinds .fv-dc{background:#fff;}
body:not(.dark) .end-hint{color:#9A5B12;}
body:not(.dark) .es-panel::before{background:rgba(0,0,0,.18);}
body:not(.dark) .cf-prog li{color:#9aa1ad;} body:not(.dark) .cf-prog li.done,body:not(.dark) .cf-prog li.now{color:#18191F;}
body:not(.dark) .cf-prog li::before{border-color:#c4c9d2;} body:not(.dark) .cf-prog li:not(:last-child)::after{background:#e1e5ec;}
body:not(.dark) .cf-prog li.done::before{background:#6E6788;border-color:#6E6788;} body:not(.dark) .cf-prog li.done:not(:last-child)::after{background:#6E6788;}
@media (prefers-reduced-motion:reduce){ .es-panel,.es-scrim,.es-switch,.es-switch span{transition:none;} .end-nudge{animation:none;} .fv-dc:hover .dc-arrow svg{animation:none;} }
/* the ended state in the drawer */
.end-terminal{grid-template-columns:38px 1fr auto;}
.end-terminal .dc-ic{color:#9a93b8;}
.end-terminal .end-when{font-size:0.75rem;font-weight:500;color:rgba(150,171,191,.7);margin-left:4px;letter-spacing:0}
.end-terminal .end-consent-line{margin-top:1px;}
.end-edit{align-self:center;min-height:30px;padding:0 10px;border:1px solid rgba(255,255,255,.10);border-radius:9px;background:rgba(255,255,255,.04);color:rgba(220,229,239,.9);font:inherit;font-size:0.75rem;font-weight:600;cursor:pointer;letter-spacing:0}
.end-edit:hover{background:rgba(255,255,255,.08);}
.end-acts{display:flex;flex-direction:column;gap:6px;align-self:center;} .end-acts .end-edit{white-space:nowrap;}
/* phone consent: the inline fields */
.es-field{cursor:text;gap:14px;}
.es-fl{flex:0 0 auto;white-space:nowrap;font-size:0.9375rem;color:inherit;}
.es-field input::-webkit-calendar-picker-indicator{display:none !important;opacity:0;}
.es-field input{flex:1;min-width:0;height:30px;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:0.9375rem;text-align:right;padding:0;}
.es-field input::placeholder{color:rgba(150,171,191,.55);}
.es-field:focus-within{background:rgba(255,255,255,.04);}
.es-read{border-top:1px solid rgba(255,255,255,.06);} .es-read p{margin:10px 0 0;font-size:0.875rem;line-height:1.55;}
body:not(.dark) .es-field input::placeholder{color:#9aa1ad;} body:not(.dark) .es-field:focus-within{background:#F7F8FB;} body:not(.dark) .es-read{border-top-color:rgba(30,45,90,.07);}
/* the body tag — printed, 4 × 6 in */
#endTag{display:none;}
@page endtag{size:4in 6in;margin:0.18in;}
@media print{
  body.end-tagging > *:not(#endTag){display:none !important;}
  body.end-tagging #endTag{display:block !important;page:endtag;}
}
.et{font-family:Arial,Helvetica,sans-serif;color:#000;width:3.64in;margin:0 auto;font-size:10.5pt;line-height:1.3;}
.et-top{display:flex;justify-content:space-between;align-items:baseline;font-size:9pt;text-transform:uppercase;letter-spacing:.06em;border-bottom:1.5pt solid #000;padding-bottom:4pt;}
.et-top b{font-size:12pt;letter-spacing:.02em;}
.et-name{font-size:30pt;font-weight:800;line-height:1.05;margin-top:8pt;letter-spacing:-.01em;word-break:break-word;}
.et-pet{font-size:10.5pt;margin-top:2pt;}
.et-band{margin:10pt 0 8pt;padding:8pt 10pt;border-radius:4pt;display:flex;flex-direction:column;gap:2pt;-webkit-print-color-adjust:exact;print-color-adjust:exact;}
.et-band b{font-size:17pt;font-weight:800;text-transform:uppercase;letter-spacing:.01em;line-height:1.1;}
.et-band span{font-size:9.5pt;}
.et-solid{background:#000;color:#fff;} .et-outline{border:3pt solid #000;} .et-double{border:5pt double #000;} .et-dashed{border:3pt dashed #000;}
.et-t{width:100%;border-collapse:collapse;font-size:10.5pt;} .et-t td{padding:2.5pt 0;vertical-align:top;border-bottom:.5pt solid #bbb;} .et-t td:first-child{width:0.85in;font-size:8.5pt;text-transform:uppercase;letter-spacing:.05em;color:#333;padding-top:4pt;}
.et-keep{margin-top:7pt;font-size:10.5pt;} .et-keep span{display:flex;align-items:center;gap:6pt;} .et-keep i{display:inline-block;width:10pt;height:10pt;border:1.2pt solid #000;}
.et-sign{display:grid;grid-template-columns:1fr 1fr;gap:12pt;margin-top:22pt;font-size:8pt;color:#333;} .et-sign span{border-top:.8pt solid #000;padding-top:3pt;}
.et-foot{margin-top:8pt;font-size:7.5pt;color:#555;}
.cz-end{color:inherit;opacity:.9;}
body:not(.dark) .disp-other{color:var(--ink-400);}
body:not(.dark) .disp-other:hover{color:var(--ink-800);background:var(--fill-soft);}
body:not(.dark) .disp-other.has-form{color:#5d5679;}
body:not(.dark) .end-edit{border-color:var(--glass-hairline);background:var(--fill-soft);color:var(--ink-800);}
body:not(.dark) .end-terminal .dc-ic{color:#6E6788;}
body:not(.dark) .end-terminal .end-when{color:var(--ink-400);}
/* phones: the drawer is full width, so the + button sat on the Disposition cards — hide it while the drawer is open */
@media (max-width:820px){ body:has(#drawer.open) .fab-add{opacity:0;pointer-events:none;visibility:hidden;} }
/* Deceased pills = the Euthanized pills */
.pill.st-deceased{--sp-accent:#8A82A8;--sp-bg:rgba(138,130,168,.05);--sp-border:rgba(138,130,168,.12);--sp-hbg:rgba(138,130,168,.08);--sp-hborder:rgba(138,130,168,.20);}
.pill.st-deceased{height:32px;padding:0 10px;gap:7px;border-radius:10px;font-size:0.875rem;font-weight:600;letter-spacing:-.015em;color:#DCE5EF;background:var(--sp-bg);border:1px solid var(--sp-border);box-shadow:inset 0 1px 0 rgba(255,255,255,.018);transition:none;}
.pill.st-deceased .d{width:7px;height:7px;flex:0 0 7px;background:var(--sp-accent);opacity:.92;box-shadow:none;transition:none;}
.pill.st-deceased:hover{transform:none;background:var(--sp-hbg);border-color:var(--sp-hborder);box-shadow:inset 0 1px 0 rgba(255,255,255,.028);}
.pill.st-deceased:hover .d{opacity:1;}
.pill.st-deceased:active{transform:translateY(0) scale(.985);box-shadow:0 2px 5px rgba(0,0,0,.07),inset 0 1px 2px rgba(0,0,0,.06);}
body:not(.dark) .pill.st-deceased{color:#4B5563;box-shadow:none;}
body:not(.dark) .pill.st-deceased{--sp-accent:#6E6788;--sp-bg:rgba(110,103,136,.095);--sp-border:rgba(110,103,136,.18);--sp-hbg:rgba(110,103,136,.09);--sp-hborder:rgba(110,103,136,.26);}
body:not(.dark) .pill.st-deceased:hover{box-shadow:0 3px 8px rgba(17,24,39,.07),inset 0 1px 0 rgba(255,255,255,.82);}
.st-deceased{color:#8A82A8;background:rgba(138,130,168,.16);border-color:rgba(138,130,168,.24);box-shadow:0 2px 12px -3px rgba(138,130,168,.35);}
.st-deceased:hover{box-shadow:0 5px 16px -3px rgba(138,130,168,.5);border-color:rgba(138,130,168,.4);}

/* ━━━━━ 5 of 68 · no id ━━━━━ */
/* Aftercare forms n120 — staff queue (Flow's look) */
#switcher .seg .cf-badge{min-width:18px;height:18px;padding:0 5px;margin-left:6px;border-radius:9px;background:#8A82A8;color:#fff;font-size:0.6875rem;font-weight:700;display:inline-grid;place-items:center;letter-spacing:0}
#switcher .seg .cf-badge[hidden]{display:none;}
.cfq-wrap{max-width:980px;margin:0 auto;padding:28px 40px 60px;display:flex;flex-direction:column;gap:12px;}
.cfq-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:6px;}
.cfq-title{font-size:1.875rem;font-weight:700;letter-spacing:-.02em;margin:0;}
.cfq-sub{font-size:0.8125rem;color:var(--ink-400);margin-top:4px;max-width:560px;}
.cfq-prices{height:34px;padding:0 14px;border-radius:10px;border:1px solid var(--glass-hairline);background:var(--glass);color:inherit;font:inherit;font-size:0.8125rem;font-weight:600;cursor:pointer;}
.cfq-note{font-size:0.8125rem;padding:10px 14px;border-radius:12px;background:rgba(217,163,90,.10);border:1px solid rgba(217,163,90,.25);color:#d9a35a;}
body:not(.dark) .cfq-note{color:#8a5310;}
.cfq-empty{padding:42px 20px;border-radius:18px;border:1px dashed var(--glass-hairline);display:flex;flex-direction:column;align-items:center;gap:6px;color:var(--ink-400);font-size:0.8125rem;text-align:center;}
.cfq-empty b{color:var(--ink-700);font-size:0.9375rem;}
.cfq-card{display:grid;grid-template-columns:86px 1fr auto;gap:16px;align-items:center;padding:14px 16px;border-radius:18px;border:1px solid var(--glass-hairline);background:var(--glass);}
.cfq-wait{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:64px;border-radius:14px;background:rgba(138,130,168,.12);color:#b7b0d4;text-align:center;}
.cfq-wait b{font-size:1.0625rem;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;} .cfq-wait span{font-size:0.6875rem;font-weight:600;opacity:.85;}
.cfq-wait.long{background:rgba(217,163,90,.14);color:#e0ad66;} .cfq-wait.done{background:rgba(127,127,127,.10);color:var(--ink-400);}
body:not(.dark) .cfq-wait{color:#5d5679;} body:not(.dark) .cfq-wait.long{color:#8a5310;}
.cfq-name{font-size:1rem;font-weight:600;letter-spacing:-.01em;}
.cfq-meta{font-size:0.8125rem;color:var(--ink-400);margin-top:3px;}
.cfq-meta.strong{color:var(--ink-700);font-weight:500;}
.cfq-prog{margin-top:9px;max-width:420px;}
.cfq-acts{display:flex;gap:8px;align-items:center;}
.cfq-btn{min-height:40px;padding:0 16px;border-radius:11px;border:1px solid var(--glass-hairline);background:transparent;color:inherit;font:inherit;font-size:0.875rem;font-weight:600;cursor:pointer;}
.cfq-btn.quiet{color:var(--ink-400);}
.cfq-btn:focus-visible,.cfq-prices:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(59,177,201,.25);}
.cfq-acts .fv-dc{min-width:210px;min-height:56px;}
body:not(.dark) .cfq-acts .fv-dc{background:#F3F5F9;}
@media (max-width:700px){ .cfq-wrap{padding:18px 16px 60px;} .cfq-card{grid-template-columns:72px 1fr;} .cfq-acts{grid-column:1/-1;justify-content:flex-end;} .cfq-head{flex-direction:column;align-items:flex-start;} }
/* a notice with an action (Record euthanasia · Undo · Open) */
.note .n-act{display:inline-flex;align-items:center;min-height:30px;margin-top:8px;padding:0 12px;border-radius:9px;border:0;background:#8A82A8;color:#fff;font:inherit;font-size:0.8125rem;font-weight:600;cursor:pointer;}
.note .n-act:hover{filter:brightness(1.07);}
/* prices sheet */
.cfp-scrim{display:none;}
.cfp-scrim.open{display:grid;place-items:center;position:fixed;inset:0;z-index:9800;background:rgba(8,14,26,.45);padding:16px;}
.cfp-box{width:min(560px,100%);max-height:90vh;overflow:auto;padding:20px;border-radius:20px;background:#fff;color:#14181F;box-shadow:0 24px 60px rgba(0,0,0,.3);}
body.dark .cfp-box{background:#121a28;color:#E8EEF5;}
.cfp-t{font-size:1.0625rem;font-weight:700;} .cfp-s{font-size:0.8125rem;opacity:.65;margin:3px 0 14px;}
.cfp-row{display:grid;grid-template-columns:1fr 92px 14px 92px;gap:8px;align-items:center;padding:7px 0;border-top:1px solid rgba(127,127,127,.15);font-size:0.875rem;}
.cfp-row input{height:36px;border-radius:9px;border:1px solid rgba(127,127,127,.3);padding:0 9px;font:inherit;font-size:0.875rem;background:transparent;color:inherit;min-width:0;}
.cfp-row input.cfp-bad{border-color:#C85A50;}
.cfp-dollar{opacity:.6;text-align:right;}
.cfp-foot{display:flex;justify-content:space-between;align-items:center;margin-top:14px;gap:10px;} .cfp-by{font-size:0.75rem;opacity:.6;letter-spacing:0}
@media (max-width:700px){ .cfp-row{grid-template-columns:1fr 1fr;} .cfp-row .cfp-l{grid-column:1/-1;} .cfp-dollar{display:none;} }
/* family mode — light, calm, large; nothing of Flow shows */
.cf-family-sheet{display:none;}
.cf-family-sheet.open{display:block;position:fixed;inset:0;z-index:10050;overflow:auto;-webkit-overflow-scrolling:touch;background:#F2F4F8;color:#14181F;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,"Segoe UI","SF Pro Display","Helvetica Neue",Arial,sans-serif;font-size:1.0625rem;line-height:1.45;}
body.cf-family-on{overflow:hidden;}
.cff{max-width:720px;min-height:100%;margin:0 auto;padding:0 22px;display:flex;flex-direction:column;}
.cff-nav{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;min-height:60px;padding:8px 0;background:rgba(242,244,248,.92);-webkit-backdrop-filter:saturate(1.6) blur(14px);backdrop-filter:saturate(1.6) blur(14px);}
.cff-nav-l{justify-self:start;} .cff-nav-r{justify-self:end;display:flex;align-items:center;gap:8px;}
.cff-logo{height:38px;width:auto;display:block;}
.cff-back{display:inline-flex;align-items:center;gap:2px;min-height:44px;padding:0 8px 0 0;border:0;background:transparent;color:#23439C;font:inherit;font-size:calc(17px * var(--cffs,1));font-weight:500;cursor:pointer;}
.cff-back svg{width:min(1.375rem,33px);height:min(1.375rem,33px);fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}
.cff-dots{display:flex;gap:8px;align-items:center;} .cff-dots span{width:8px;height:8px;border-radius:4px;background:#cfd5df;transition:width .3s cubic-bezier(.2,.8,.2,1),background .3s ease;}
.cff-dots span.done{background:#9fb0d6;} .cff-dots span.on{width:22px;background:#23439C;}
.cff-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}
.cff-lang{display:inline-flex;padding:2px;border-radius:10px;background:rgba(118,118,128,.12);}
.cff-lang button{min-height:34px;padding:0 10px;border:0;border-radius:8px;background:transparent;font:inherit;font-size:calc(13px * var(--cffs,1));font-weight:500;color:#3b4250;cursor:pointer;}
.cff-lang button:focus:not(:focus-visible){outline:none;box-shadow:none;} .cff-lang button[aria-pressed="true"]:focus:not(:focus-visible){box-shadow:0 1px 3px rgba(17,24,39,.14);}
.cff-lang button[aria-pressed="true"]{background:#fff;color:#14181F;font-weight:600;box-shadow:0 1px 3px rgba(17,24,39,.14);}
.cff-staff{height:34px;padding:0 12px;border-radius:9px;border:1px solid #d6dbe4;background:#fff;color:#6b7280;font:inherit;font-size:calc(12px * var(--cffs,1));font-weight:600;position:relative;overflow:hidden;-webkit-user-select:none;user-select:none;touch-action:manipulation;}
.cff-staff::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:0;background:#23439C;}
.cff-staff.holding::after{width:100%;transition:width 1.2s linear;}
.cff-card{flex:1;padding:14px 4px 24px;}
.cff-card.enter-fwd{animation:cffIn .34s cubic-bezier(.2,.8,.2,1) both;} .cff-card.enter-back{animation:cffBack .34s cubic-bezier(.2,.8,.2,1) both;}
@keyframes cffIn{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}
@keyframes cffBack{from{opacity:0;transform:translateX(-28px)}to{opacity:1;transform:none}}
.cff-card h1{font-size:calc(30px * var(--cffs,1));font-weight:700;letter-spacing:-.02em;margin:8px 0 8px;}
.cff-card h1.cff-big{font-size:calc(40px * var(--cffs,1));letter-spacing:-.03em;}
.cff-lead{color:#4b5563;margin:0 0 22px;font-size:calc(18px * var(--cffs,1));}
.cff-grid{display:flex;flex-direction:column;gap:14px;}
.cff-two{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;}
.cff-field{display:flex;flex-direction:column;gap:6px;font-size:calc(14px * var(--cffs,1));font-weight:600;color:#3b4250;}
.cff-field input{height:54px;border-radius:14px;border:1px solid #d6dbe4;padding:0 14px;font:inherit;font-size:calc(18px * var(--cffs,1));font-weight:500;color:#14181F;background:#fff;}
.cff-field input:focus{outline:none;border-color:#23439C;box-shadow:0 0 0 4px rgba(35,67,156,.12);}
.cff-seg{display:flex;gap:8px;} .cff-seg button{flex:1;height:50px;border-radius:13px;border:1px solid #d6dbe4;background:#fff;font:inherit;font-size:calc(17px * var(--cffs,1));font-weight:600;color:#3b4250;}
.cff-seg button.on{border-color:#23439C;background:rgba(35,67,156,.07);color:#23439C;}
.cff-care{display:flex;flex-direction:column;gap:10px;}
.cff-note{display:block;color:#8a5310;margin-top:6px;font-size:calc(15px * var(--cffs,1));}
.cff-sub{margin:-2px 0 4px;padding:14px 0 6px;}
.cff-subt{font-size:calc(16px * var(--cffs,1));font-weight:600;margin:0 4px 10px;} .cff-subt span{font-weight:500;color:#6b7280;margin-left:6px;}
.cff-urns{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 12px;scrollbar-width:none;-webkit-overflow-scrolling:touch;}
.cff-urns::-webkit-scrollbar{display:none;}
.cff-urn{position:relative;flex:0 0 172px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:10px;padding:10px 10px 12px;border-radius:18px;border:2px solid transparent;background:#fff;font:inherit;color:inherit;cursor:pointer;box-shadow:0 1px 2px rgba(17,24,39,.05);}
.cff-urn.on{border-color:#23439C;box-shadow:0 0 0 4px rgba(35,67,156,.10);}
.cff-urn img,.cff-urn-ph{width:100%;aspect-ratio:1;border-radius:12px;object-fit:contain;}
.cff-urn-ph{display:grid;place-items:center;align-content:center;gap:4px;background:#eef1f6;color:#9aa1ad;}
.cff-urn-ph svg{width:min(2.125rem,51px);height:min(2.125rem,51px);fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;} .cff-urn-ph em{font-style:normal;font-size:calc(12px * var(--cffs,1));}
.cff-urn-t{font-size:calc(14px * var(--cffs,1));font-weight:600;text-align:center;line-height:1.25;}
.cff-urn-ok{position:absolute;top:16px;right:16px;width:26px;height:26px;border-radius:13px;background:#23439C;display:none;place-items:center;box-shadow:0 2px 6px rgba(35,67,156,.35);}
.cff-urn.on .cff-urn-ok{display:grid;} .cff-urn-ok::after{content:"";width:11px;height:6px;border:2.5px solid #fff;border-top:0;border-right:0;transform:translateY(-1px) rotate(-45deg);}
.cff-incl{font-size:calc(14px * var(--cffs,1));color:#6b7280;margin:2px 4px 0;}
.cff-review{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 1px 2px rgba(17,24,39,.04);}
.cff-rrow{display:grid;grid-template-columns:110px 1fr auto;gap:12px;align-items:center;min-height:58px;padding:10px 16px;border-top:1px solid #edf0f5;}
.cff-rrow:first-child{border-top:0;}
.cff-rl{font-size:calc(15px * var(--cffs,1));color:#6b7280;} .cff-rv{font-size:calc(17px * var(--cffs,1));font-weight:600;} .cff-rv small{display:block;font-size:calc(14px * var(--cffs,1));font-weight:500;color:#6b7280;margin-top:2px;}
.cff-edit{min-height:40px;padding:0 4px;border:0;background:transparent;color:#23439C;font:inherit;font-size:calc(16px * var(--cffs,1));font-weight:500;cursor:pointer;}
.cff-consent{font-size:calc(17px * var(--cffs,1));color:#3b4250;background:#fff;border-radius:18px;padding:18px;margin:4px 0 18px;line-height:1.55;}
.cff-sum{background:#fff;border-radius:18px;padding:14px 16px;margin:16px 0;}
.cff-sumt{font-weight:600;}
.cff-fees{width:100%;border-collapse:collapse;margin-top:8px;font-size:calc(16px * var(--cffs,1));font-variant-numeric:tabular-nums;} #cfFamily .cff-fees td{padding:7px 0;color:#4b5563;font-size:calc(16px * var(--cffs,1));border:0;background:none;} .cff-fees td:last-child{text-align:right;}
#cfFamily .cff-fees tr.t td{border-top:1px solid #e1e5ec;padding-top:9px;font-weight:700;color:#14181F;}
.cff-sigwrap{margin-top:16px;}
.cff-sigl{display:flex;justify-content:space-between;align-items:center;font-size:calc(14px * var(--cffs,1));font-weight:600;color:#3b4250;margin-bottom:6px;}
.cff-clear{height:34px;padding:0 12px;border-radius:9px;border:1px solid #d6dbe4;background:#fff;font:inherit;font-size:calc(13px * var(--cffs,1));font-weight:600;color:#4b5563;}
.cff-sigbox{position:relative;border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1px #d6dbe4;}
.cff-sigbox::after{content:"";position:absolute;left:44px;right:22px;bottom:52px;height:1.5px;background:#b8c0cc;pointer-events:none;}
.cff-x{position:absolute;left:20px;bottom:44px;font-size:calc(24px * var(--cffs,1));line-height:1;color:#9aa1ad;pointer-events:none;}
.cff-sig{display:block;width:100%;height:210px;border-radius:18px;touch-action:none;cursor:crosshair;position:relative;z-index:1;}
.cff-sigd{font-size:calc(13px * var(--cffs,1));color:#6b7280;margin-top:6px;text-align:right;}
.cff-thanks{text-align:center;padding:70px 10px;}
.cff-err{margin-top:14px;padding:12px 14px;border-radius:12px;background:#fdf2e3;color:#8a5310;font-size:calc(16px * var(--cffs,1));font-weight:500;}
.cff-bar{position:sticky;bottom:0;z-index:2;padding:12px 0 calc(16px + env(safe-area-inset-bottom,0px));background:linear-gradient(rgba(242,244,248,0),#F2F4F8 26%);}
.cff-bar:empty{display:none;}
.cff-primary{display:flex;align-items:center;justify-content:center;width:100%;min-height:58px;border:0;border-radius:16px;background:#23439C;color:#fff;font:inherit;font-size:calc(18px * var(--cffs,1));font-weight:600;letter-spacing:-.01em;cursor:pointer;box-shadow:0 8px 20px rgba(35,67,156,.22);}
.cff-primary:active{transform:scale(.99);}
.cff-primary.quiet{background:#fff;color:#3b4250;box-shadow:0 1px 2px rgba(17,24,39,.06);font-size:calc(16px * var(--cffs,1));}
.cf-family-sheet button:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(35,67,156,.22);}
/* the drawer card in family mode: always light (the iPad may be in dark mode), larger type for the family */
#cfFamily .disposition-card{background:#fff;border-color:transparent;box-shadow:0 1px 2px rgba(17,24,39,.05);color:#18191F;}
#cfFamily .disposition-card:hover{background:#fff;border-color:transparent;box-shadow:0 7px 18px rgba(17,24,39,.07);}
#cfFamily .disposition-card .dc-title{color:#18191F;font-size:calc(17px * var(--cffs,1));}
#cfFamily .disposition-card .dc-desc{color:#5b6472;font-size:calc(15px * var(--cffs,1));}
#cfFamily .fv-dc .dc-aside{color:#3b4250;}
#cfFamily .fv-dc .dc-mark{border-color:rgba(75,85,99,.35);}
#cfFamily .fv-dc.is-on{border-color:#23439C;box-shadow:0 0 0 3px rgba(35,67,156,.10);}
#cfFamily .fv-dc.is-on .dc-ic{color:#23439C;}
#cfFamily .fv-dc.is-on .dc-mark{border-color:#23439C;background:#23439C;}
#cfFamily .disposition-card:focus-visible{border-color:#23439C;box-shadow:0 0 0 4px rgba(35,67,156,.20);}
@media (pointer:coarse){ #cfFamily .disposition-card{min-height:76px;} }
@media (max-width:700px){ .cff{padding:0 14px;} .cff-card h1.cff-big{font-size:calc(34px * var(--cffs,1));} .cff-rrow{grid-template-columns:1fr auto;} .cff-rrow .cff-rl{grid-column:1/-1;} .cff-lang button{padding:0 7px;} .cff-urn{flex-basis:148px;} }
@media (prefers-reduced-motion:reduce){ .cff-staff.holding::after{transition:none;} .cff-card.enter-fwd,.cff-card.enter-back{animation:none;} .cff-dots span{transition:none;} }
/* printable copy */
#cfPrint{display:none;}
@media print{
  body.cf-printing > *:not(#cfPrint){display:none !important;}
  body.cf-printing #cfPrint{display:block !important;}
}
.cp{font-family:Arial,Helvetica,sans-serif;color:#000;font-size:11.5pt;line-height:1.4;max-width:7.2in;margin:0 auto;}
.cp-head{display:flex;gap:14px;align-items:center;font-size:9.5pt;} .cp-head img{height:48px;}
.cp h1{font-size:17pt;margin:14px 0 2px;} .cp-sub{font-size:9.5pt;color:#444;margin-bottom:10px;}
.cp h2{font-size:11.5pt;text-transform:uppercase;letter-spacing:.06em;margin:14px 0 6px;border-bottom:1px solid #999;padding-bottom:3px;}
.cp-t{border-collapse:collapse;width:100%;} .cp-t td{padding:3px 0;} .cp-t td:first-child{width:90px;color:#444;}
.cp-care div{margin:3px 0;} .cpb{display:inline-block;width:14px;height:14px;border:1px solid #000;margin-right:8px;text-align:center;line-height:0.875rem;font-size:0.6875rem;letter-spacing:0}
.cp-consent{font-size:10.5pt;} .cp-consent.en{font-size:9pt;color:#333;} .cp-note{font-size:9.5pt;}
.cp-sigs{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:14px;} .cp-sigs img{width:100%;height:80px;object-fit:contain;border-bottom:1px solid #000;}
.cp-line{font-size:9pt;color:#333;margin-top:3px;}
.cp-fees{border-collapse:collapse;width:100%;font-size:10.5pt;} .cp-fees td{padding:3px 0;} .cp-fees td:last-child{text-align:right;} .cp-fees tr.t td{border-top:1px solid #000;font-weight:700;}
.cp-foot{font-size:8.5pt;color:#666;margin-top:16px;}

/* n125 · text size on the family's screens (Aa): every word scales; the signature pads keep their size */
#cfFamily[data-ts="l"]{--cffs:1.18;} #cfFamily[data-ts="xl"]{--cffs:1.36;}
.cff-ts{display:inline-flex;align-items:flex-end;padding:3px;border-radius:12px;background:rgba(118,118,128,.12);}
.cff-ts button{min-width:44px;height:38px;border:0;border-radius:9px;background:transparent;color:#4b5563;font:inherit;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;}
.cff-ts button[aria-pressed="true"]{background:#fff;color:#14181F;box-shadow:0 1px 3px rgba(17,24,39,.15);}
.cff-ts button:nth-child(1){font-size:0.875rem;} .cff-ts button:nth-child(2){font-size:1.0625rem;} .cff-ts button:nth-child(3){font-size:1.375rem;}
.cff-nav{grid-template-columns:auto 1fr auto;} .cff-dots{justify-self:center;}
#cfFamily[data-ts="xl"] .cff-nav{grid-template-columns:auto 1fr;} #cfFamily[data-ts="xl"] .cff-nav-r{grid-column:1/-1;justify-self:stretch;justify-content:flex-end;}
@media (max-width:700px){ .cff-nav{grid-template-columns:auto 1fr;} .cff-dots{justify-self:end;} .cff-nav-r{grid-column:1/-1;justify-self:stretch;justify-content:space-between;flex-wrap:wrap;} }
.cff-lang button{min-height:44px;} .cff-staff{height:44px;}
.cff-primary:active:not([disabled]){filter:brightness(.9);}

/* ━━━━━ 6 of 68 · no id ━━━━━ */
/* Documents in the drawer */
.fvd{margin:18px 0 6px;display:flex;flex-direction:column;gap:8px;}
.fvd-head{display:flex;align-items:center;justify-content:space-between;gap:8px;}.fvd-head .sect-title{margin:0;}
.fvd-link{min-height:44px;border:0;background:transparent;color:#4DC8E0;font:inherit;font-size:0.8125rem;font-weight:600;cursor:pointer;padding:0 4px;}
.fvd-list{display:flex;flex-direction:column;gap:8px;}
.fvd-item{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border-radius:14px;background:var(--glass,#131e34);border:1px solid var(--glass-hairline,rgba(77,200,224,.10));color:inherit;font:inherit;text-align:left;cursor:pointer;}
.fvd-item.static{cursor:default;}.fvd-item:not(.static):hover{border-color:rgba(77,200,224,.28);}
.fvd-thumb{flex:0 0 38px;height:46px;border-radius:5px;background:#fff;display:flex;align-items:center;justify-content:center;}
.fvd-thumb svg{width:min(1.25rem,30px);height:min(1.25rem,30px);fill:none;stroke:#3A4558;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.fvd-item.pending .fvd-thumb{background:rgba(56,189,210,.14);}.fvd-item.pending .fvd-thumb svg{stroke:#38BDD2;}
.fvd-b{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;}
.fvd-t{font-size:0.875rem;font-weight:600;}.fvd-s{font-size:0.8125rem;color:var(--ink-500,#7A98B8);}.fvd-ok{font-size:0.75rem;color:var(--ink-500,#7A98B8);letter-spacing:0}
.fvd-chev svg{width:min(1rem,24px);height:min(1rem,24px);fill:none;stroke:currentColor;stroke-width:2;opacity:.5;}
.fvd-mini{min-height:44px;padding:0 12px;border-radius:10px;border:1px solid var(--ctl-border,rgba(150,185,220,.32));background:transparent;color:inherit;font:inherit;font-size:0.8125rem;font-weight:600;cursor:pointer;white-space:nowrap;}
.fvd-mini[disabled]{opacity:.45;cursor:default;}
.fvd-send{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:14px;border:1px dashed var(--ctl-border,rgba(150,185,220,.38));background:transparent;color:inherit;font:inherit;font-size:0.875rem;font-weight:600;cursor:pointer;}
.fvd-send svg{width:min(1rem,24px);height:min(1rem,24px);fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;}
.fvd-empty{font-size:0.8125rem;color:var(--ink-500,#7A98B8);}
/* viewer + packet sheets */
.es-panel.fvd-wide{width:min(880px,calc(100vw - 32px));}
.fvv-body{display:flex;flex-direction:column;align-items:center;gap:14px;}
.fvv-check{align-self:stretch;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;}
.fvv-check svg{width:min(1.5rem,36px);height:min(1.5rem,36px);flex:0 0 24px;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.fvv-check.ok{background:rgba(72,184,136,.12);box-shadow:inset 0 0 0 1px rgba(72,184,136,.35);}.fvv-check.ok svg{stroke:#7FD6AE;}
.fvv-check.bad{background:rgba(232,100,74,.12);box-shadow:inset 0 0 0 1px rgba(232,100,74,.4);}.fvv-check.bad svg{stroke:#E8928A;}
.fvv-check>span{display:flex;flex-direction:column;gap:2px;font-size:0.8125rem;}.fvv-check b{font-size:0.875rem;}
.fvv-meta{align-self:stretch;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:0.8125rem;color:rgba(150,171,191,.85);}
.fvv-meta code{font-family:"SF Mono",ui-monospace,Menlo,monospace;font-size:0.75rem;}
.fvv-page{width:100%;max-width:760px;height:auto;border-radius:3px;box-shadow:0 14px 34px rgba(0,0,0,.4);background:#fff;}
.fvv-foot{display:flex;gap:10px;justify-content:flex-end;align-items:center;}.fvv-foot .es-primary{min-width:140px;padding:0 18px;}
.es-foot .fvv-foot,.es-foot.fvv-foot{flex-direction:row;flex-wrap:wrap;}
.fvp-row{cursor:default;}.fvp-l{display:flex;align-items:center;gap:12px;flex:1;min-width:0;cursor:pointer;}
label.es-row.fvp-l{justify-content:space-between;}
.fvp-l input{width:20px;height:20px;accent-color:#8A82A8;flex:0 0 20px;}
.fvp-ord{display:flex;gap:4px;}.fvp-ord button{width:44px;height:44px;border-radius:9px;border:1px solid rgba(150,185,220,.25);background:transparent;color:inherit;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.fvp-ord button[disabled]{opacity:.3;cursor:default;}.fvp-ord svg{width:min(0.9375rem,22.5px);height:min(0.9375rem,22.5px);fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.fvp-aud{display:flex;}.fvp-aud button{flex:1;}
/* the family's pages */
.fvf-pages{display:flex;flex-direction:column;gap:16px;margin-top:6px;}
.fvf-pages img{width:100%;height:auto;border-radius:6px;box-shadow:0 8px 24px rgba(17,24,39,.12);background:#fff;}
.fvf-wait{padding:40px;text-align:center;color:#6b7280;}
#cfFamily .fvf-noic{grid-template-columns:1fr auto;min-height:64px;align-items:center;}
#cfFamily .fvf-noic .dc-ic{display:none;}
#cfFamily .fvf-noic .dc-title{font-size:calc(17px * var(--cffs,1));}
body:not(.dark) .fvd-link{color:#1F7F96;}
body:not(.dark) .fvd-item{background:#fff;border-color:var(--glass-hairline);}
body:not(.dark) .fvv-meta{color:#6b7280;}
body:not(.dark) .fvp-ord button{border-color:rgba(30,45,90,.15);}
/* n123 design pass: one unmistakable main button, a real disabled state, quieter fingerprint, page markers */
.es-primary[disabled]{opacity:.4;cursor:default;filter:none;}
.es-primary.fvd-solid{background:#187A91;}
body:not(.dark) .es-primary.fvd-solid{background:#1F7F96;}
.fvd-mid{min-height:46px;padding:0 18px;font-size:0.9375rem;border-radius:13px;}
.fvv-sp{flex:1;}
.fvv-foot .es-primary.fvd-solid{min-width:170px;}
.fvv .es-bar-r{display:flex;justify-content:flex-end;}
.fvv-icon{width:44px;height:44px;border:0;border-radius:11px;background:transparent;color:#4DC8E0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;}
.fvv-icon svg{width:min(1.25rem,30px);height:min(1.25rem,30px);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}.fvv-icon[disabled]{opacity:.35;cursor:default;}
body:not(.dark) .fvv-icon{color:#1F7F96;}
.fvv-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;padding:8px 18px 12px;border-bottom:1px solid rgba(255,255,255,.06);}
.fvv-status .fvv-check{align-self:auto;padding:0;background:none!important;box-shadow:none!important;gap:8px;}
.fvv-status .fvv-check svg{width:min(1.1875rem,28.5px);height:min(1.1875rem,28.5px);flex:0 0 19px;}
.fvv-status .fvv-check b{font-size:0.875rem;font-weight:600;}.fvv-check.ok b{color:#7FD6AE;}.fvv-check.bad b{color:#E8928A;}
.fvv-more{min-height:32px;border:0;background:transparent;color:#4DC8E0;font:inherit;font-size:0.875rem;font-weight:500;cursor:pointer;padding:0 4px;}
body:not(.dark) .fvv-more{color:#1F7F96;}body:not(.dark) .fvv-check.ok b{color:#2E8A5E;}body:not(.dark) .fvv-check.bad b{color:#B5402C;}
.fvv-who{font-size:0.875rem;color:rgba(167,194,216,.9);}body:not(.dark) .fvv-who{color:#4b5563;}
.fvv-status+.fvv-meta,.fvv-meta{padding:10px 18px;margin:0;border-bottom:1px solid rgba(255,255,255,.06);align-self:stretch;}
.fvv-body{position:relative;}
.fvv-pno{position:sticky;top:6px;align-self:flex-end;z-index:2;margin-bottom:-36px;padding:5px 11px;border-radius:999px;background:rgba(20,24,31,.74);color:#fff;font-size:0.8125rem;font-weight:600;font-variant-numeric:tabular-nums;}
.fvd-pickrow{gap:14px;}
.fvd-th{flex:0 0 34px;height:44px;border-radius:3px;background:#fff;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.25);display:flex;align-items:flex-start;}
.fvd-th img{width:100%;height:auto;display:block;}
.fvd-pickrow .es-rl{flex:1;}
.fvd-filled{display:flex;flex-direction:column;gap:5px;padding:2px 6px;font-size:0.875rem;}.fvd-filled b{font-weight:600;}
.fvd-sub{font-size:0.8125rem;color:rgba(150,171,191,.85);}body:not(.dark) .fvd-sub{color:#6b7280;}
.fvf-zoombar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 4px;font-size:calc(14px * var(--cffs,1));color:#6b7280;}
.fvf-zbtn{min-height:44px;padding:0 16px;border-radius:12px;border:1px solid rgba(30,45,90,.18);background:#fff;color:#14181F;font:inherit;font-size:calc(15px * var(--cffs,1));font-weight:600;cursor:pointer;}
.fvf-pg{margin:0;display:flex;flex-direction:column;gap:6px;}
.fvf-pg figcaption{font-size:calc(13px * var(--cffs,1));font-weight:600;color:#6b7280;}
.fvf-pz{overflow:auto;border-radius:6px;-webkit-overflow-scrolling:touch;}
.fvf-pages.zoomed img{width:180%;max-width:none;}

/* n125 · HIG pass: pressed states, a spinner inside busy buttons, Increase Contrast, the sheet's grabber looks draggable on touch */
.es-primary:active:not([disabled]),.fvd-mini:active:not([disabled]),.fvd-send:active,.fvd-item:not(.static):active,.cff-primary:active:not([disabled]),.fvp-ord button:active:not([disabled]){filter:brightness(.9);transform:scale(.985);}
.fvd-spin{width:16px;height:16px;margin-right:9px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;display:inline-block;animation:fvdspin .8s linear infinite;vertical-align:-3px;}
@keyframes fvdspin{to{transform:rotate(360deg);}}
@media (max-width:820px){ .end-sheet .es-bar{touch-action:none;cursor:grab;} }
@media (prefers-contrast:more){ .fvd-item,.fvd-mini,.fvd-send{border-color:rgba(200,220,240,.7)!important;} .fvd-s,.fvd-ok,.fvv-who,.fvd-sub,.es-rd{color:#C9D8E6!important;} body:not(.dark) .fvd-s,body:not(.dark) .fvv-who,body:not(.dark) .fvd-sub{color:#374151!important;} }
@media (prefers-reduced-motion:reduce){ .fvd-spin{animation-duration:2s;} .es-primary:active,.fvd-mini:active{transform:none;} }

/* ━━━━━ 7 of 68 · fv-or-css ━━━━━ */
/* Flow ⇄ OR (Oct 2026): the board chip and the drawer's Surgery card — the Records card's look (no color-mix) */
.fv-or-chip{display:inline-flex;align-items:center;gap:6px;margin:6px 6px 2px 0;padding:3px 9px 3px 7px;border-radius:999px;font:600 0.75rem -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;letter-spacing:-.005em;
  color:#2C5F9E;background:rgba(59,130,196,.12);border:1px solid rgba(59,130,196,.26);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fv-or-chip i{width:6px;height:6px;border-radius:50%;background:#3B82C4;flex:0 0 6px}
.fv-or-chip.live{color:#5B41B5;background:rgba(106,79,196,.12);border-color:rgba(106,79,196,.28)}
.fv-or-chip.live i{background:#6A4FC4;box-shadow:0 0 0 3px rgba(106,79,196,.18)}
.fv-or-chip.rec{color:#1F7F8F;background:rgba(56,189,210,.12);border-color:rgba(56,189,210,.3)}
.fv-or-chip.rec i{background:#38BDD2}
body.dark .fv-or-chip{color:#9CC4F0;background:rgba(59,130,196,.16);border-color:rgba(59,130,196,.32)}
body.dark .fv-or-chip.live{color:#CDBEF7;background:rgba(140,115,224,.18);border-color:rgba(140,115,224,.34)}
body.dark .fv-or-chip.rec{color:#8FE3EF;background:rgba(56,189,210,.14);border-color:rgba(56,189,210,.32)}
.fv-or-card .rec-chip.fv-or-st.sched{color:#3B82C4;background:rgba(59,130,196,.12)}
.fv-or-card .rec-chip.fv-or-st.live{color:#6A4FC4;background:rgba(106,79,196,.14)}
.fv-or-card .rec-chip.fv-or-st.rec{color:#1F8FA8;background:rgba(56,189,210,.14)}
.fv-or-card .rec-chip.fv-or-st.done{color:#3B9E74;background:rgba(72,184,136,.18)}
.fv-or-card a.rec-link{text-decoration:none}
.fv-or-card .rec-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fv-or-modal{width:640px}
.fv-or-seg .ap-seg-btn{min-height:40px;padding:0 8px;font-size:0.8125rem}
.fv-or-err{min-height:18px;margin:-8px 0 12px;font-size:0.8125rem;font-weight:600;color:#E4655C}
.fv-or-modal .addpt-foot [data-fvor-x]{flex:0 0 120px}
@media(max-width:700px){.fv-or-modal .addpt-body{padding:18px 18px 4px}.fv-or-modal .addpt-head{padding:18px 18px 14px}.fv-or-modal .addpt-foot{padding:14px 18px 18px}.fv-or-modal .ap-grid.c3{grid-template-columns:1fr 1fr}}

/* ━━━━━ 8 of 68 · fv-dis-css ━━━━━ */
/* Rounds ⇄ sheet discharge (Oct 2026): the Rounds row chip (no color-mix) */

/* ━━━━━ 9 of 68 · no id · PVX-OVERLAY n133 (n132 + initial ':self' + refocus after re-render): closed overlays are hidden and inert; ope ━━━━━ */
.pvx-closed{visibility:hidden!important}

/* ━━━━━ 10 of 68 · no id · PVX-TOPBAR n132: brand and controls keep their width; app links overflow into a More menu; Grid and Forms in e ━━━━━ */
/* PVX-TOPBAR n132 — the brand and the right-hand controls keep their width; the apps get what is left, overflowing into More */
html body nav.topnav{grid-template-columns:max-content minmax(0,1fr) max-content!important;column-gap:12px}
html body nav.topnav .brandwrap{flex:0 0 auto;min-width:0}
html body nav.topnav .nav-center{min-width:0;max-width:100%;justify-self:center!important;overflow:visible!important;flex-wrap:nowrap;position:relative}
html body nav.topnav .nav-right{flex:0 0 auto}
@media(max-width:700px){ html body nav.topnav{grid-template-columns:max-content minmax(0,1fr)!important} html body nav.topnav .nav-center{margin:0!important;padding:0!important;justify-content:flex-start} }
.pvx-more{position:relative;display:flex;flex:0 0 auto}
.pvx-more[hidden]{display:none!important}
.pvx-more-btn{font-family:inherit;cursor:pointer}
.pvx-more-btn[aria-expanded=true]{background:rgba(255,255,255,0.10);color:rgba(255,255,255,.95)}
body:not(.dark) .pvx-more-btn[aria-expanded=true]{background:#EBEBEB;color:#333}
.pvx-more-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:400;min-width:200px;padding:6px;border-radius:14px;display:flex;flex-direction:column;gap:2px;
  background:#101A32;border:1px solid rgba(255,255,255,.08);box-shadow:0 18px 44px rgba(0,0,0,.4)}
body:not(.dark) .pvx-more-menu{background:#fff;border-color:rgba(29,29,31,.1);box-shadow:0 18px 44px rgba(20,28,40,.18)}
.pvx-more-menu[hidden]{display:none!important}
html body nav.topnav .pvx-more-menu .nav-item{flex-direction:row;justify-content:flex-start;gap:10px;padding:10px 12px;font-size:13px!important;letter-spacing:0;white-space:nowrap;width:100%}
html body nav.topnav .pvx-more-menu .nav-item svg{width:18px;height:18px}
.nav-item:focus-visible,.pvx-more-btn:focus-visible{outline:2px solid #4DC8E0;outline-offset:2px}
@media(forced-colors:active){.pvx-more-menu{border:1px solid CanvasText}}

/* ━━━━━ 11 of 68 · no id · PVX-N133: labels for every field (FL-05), keyboard entry points and a Move… menu in place of dragging (FL-02), ━━━━━ */
.pvx-open{all:unset;cursor:pointer;color:inherit;font:inherit;font-weight:inherit;display:inline;border-radius:4px}
.pvx-open:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:2px}
.pvx-move{display:inline-grid;place-items:center;width:26px;height:26px;margin-left:6px;border-radius:8px;border:1px solid var(--glass-border,rgba(255,255,255,.12));background:var(--fill-soft,rgba(255,255,255,.06));color:var(--ink-500,#AAB4C4);cursor:pointer;vertical-align:middle;padding:0;flex:0 0 auto}
.pvx-move svg{width:min(0.875rem,21px);height:min(0.875rem,21px);stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pvx-move:hover{color:var(--ink-900,#fff);background:var(--fill-track,rgba(255,255,255,.12))}
.pvx-move:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:2px}
.card .c-top .pvx-move{margin-left:auto;margin-right:6px}
.pvx-menu{position:fixed;z-index:9700;min-width:220px;padding:6px;border-radius:14px;background:var(--surface-1,#101A32);border:1px solid var(--glass-border,rgba(255,255,255,.1));box-shadow:0 18px 44px rgba(0,0,0,.4);display:flex;flex-direction:column;gap:2px}
body:not(.dark) .pvx-menu{background:#fff;border-color:rgba(29,29,31,.1);box-shadow:0 18px 44px rgba(20,28,40,.18)}
.pvx-menu .pvx-mt{font-size:0.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-400,#8AA2BB);padding:6px 10px 4px}
.pvx-menu button{all:unset;display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:10px;font:600 0.875rem/1.2 inherit;color:var(--ink-900,#F2F6FB);cursor:pointer}
body:not(.dark) .pvx-menu button{color:#14181F}
.pvx-menu button:hover,.pvx-menu button:focus-visible{background:rgba(56,189,210,.14);outline:none}
.pvx-menu button[disabled]{opacity:.45;cursor:default}
@media(forced-colors:active){.pvx-menu{border:1px solid CanvasText}}

/* ━━━━━ 12 of 68 · no id · PVX-N134: layout repairs — FL-06 drawer overflow, RX-02 Rounds sub-nav at ≤1024, FL-03 lobby cards below 1700  ━━━━━ */
/* FL-06 — dropdown panels inside the drawer size to their trigger (the drawer body no longer scrolls sideways) */
#drawer .dd-panel,#locDrawer .dd-panel{min-width:0}
#drawer .assign-pair>*,#drawer .d-grid>*,#drawer .d-cell{min-width:0}
#drawer .d-cell .dd-compact,#drawer .d-cell .dd-compact .dd-btn{max-width:100%;box-sizing:border-box}
#drawer .drawer-body{overflow-x:clip}
/* RX-02 — the Rounds sub-nav gets the Flow sub-nav's narrow-width rules */


/* FL-03 — the lobby card stacks below 1700 px: name on one line, journey as a horizontal track */
@media (max-width:1699px){
  #view-client .cl-cardtop{flex-direction:column;justify-content:flex-start;gap:clamp(6px,.6vw,10px)}
  /* head: medallion · name/breed · priority on one band */
  #view-client .cl-cardmain{flex:0 0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"photo name prio" "photo meta prio";column-gap:clamp(8px,.8vw,12px);row-gap:2px;align-items:center}
  #view-client .cl-mainhead{display:contents}
  #view-client .cl-photo{grid-area:photo;margin:0;width:clamp(38px,2.9vw,48px);height:clamp(38px,2.9vw,48px);font-size:clamp(14px,1.1vw,19px)}
  #view-client .cl-prio{grid-area:prio;align-self:start}
  #view-client .cl-name{grid-area:name;align-self:end;font-size:clamp(14px,1.25vw,22px)}
  #view-client .cl-meta{grid-area:meta;align-self:start;margin-top:0}
  #view-client .cl-name,#view-client .cl-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  #view-client .cl-vtl{margin-top:auto}
  #view-client .cl-vtl{flex:0 0 auto;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:0;padding:clamp(8px,.7vw,12px) 0 0;border-left:0;border-top:1px solid var(--glass-hairline);min-width:0}
  #view-client .cl-vstep2{flex:1 1 0;flex-direction:column;align-items:center;gap:4px;min-width:0}
  #view-client .cl-vstep2::before{left:50%;right:auto;top:calc(clamp(13px,1vw,18px)/2 - 1px);width:100%;height:2px}
  #view-client .cl-vnode{width:clamp(13px,1vw,18px);height:clamp(13px,1vw,18px)}
  #view-client .cl-vlbl{display:none;font-size:clamp(9px,.7vw,12px);text-align:center;white-space:nowrap}
  #view-client .cl-vstep2.current .cl-vlbl{display:block;position:absolute;top:calc(clamp(13px,1vw,18px) + 5px);left:50%;transform:translateX(-50%);max-width:none}
  #view-client .cl-vstep2:first-child.current .cl-vlbl{left:0;transform:none;text-align:left}
  #view-client .cl-vstep2:last-child.current .cl-vlbl{left:auto;right:0;transform:none;text-align:right}
  #view-client .cl-vtl{padding-bottom:calc(clamp(9px,.7vw,12px) + 12px)}
  #view-client .cl-card{gap:clamp(6px,.6vw,10px)}
}
/* fewer, wider cards on tablet-size screens (cards per page follow the grid) */
@media (max-width:1024px){ #view-client .cl-grid{grid-template-columns:repeat(3,1fr)} }
@media (max-width:700px){ #view-client .cl-grid{grid-template-columns:repeat(2,1fr)} }
/* TV layout: the name column beside the journey is ~107 px at 1920; 1.35vw (26 px) let "Testcase"-length words spill 6 px past it */
@media (min-width:1700px){ #view-client .cl-name{font-size:clamp(15px,1.12vw,26px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:normal} #view-client .cl-cardtop{gap:clamp(8px,.8vw,12px)} #view-client .cl-vtl{padding-left:clamp(8px,.7vw,12px)} #view-client .cl-vlbl{font-size:clamp(9px,.68vw,12.5px)} }
/* the "Assigning…" dots animate 1–3 characters; reserve their width so the word is never cut */
#view-client .assigning-dots{display:inline-block;width:1.2em;text-align:left}

/* ━━━━━ 13 of 68 · no id · PVX-N136: Rounds row toggle + keyboard for Rounds' role=button controls (RD-02); ultrasound queue keyboard reo ━━━━━ */
.us-move:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:2px;border-radius:6px}
:where(button.us-move){background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;cursor:grab}
.pvx-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ━━━━━ 14 of 68 · no id · PVX-TYPE n135: contrast + type floor (shared sheet + Flow rules) ━━━━━ */
/* PVX-TYPE n135 — contrast and type floor, shared by every Pravix app (batch 4: FL-08, CL-T10, DTA-S03, SCH-01/02).
   Text colours only: fills, accents, lines and the brand palette are untouched. Every value here was measured against the
   surfaces it sits on (see n135/REGISTER.md): light muted ink #66666B (≥4.9:1 on white, #F2F4F8, #EDEFF3, #E2F0F6, #F4F4F4),
   blue-grey muted #52698A for the portal apps (≥5.0:1 on #F2F4F8), cyan-as-text #0F6B82, green-as-text #12623F, amber-as-text
   #875C00, red-as-text #BE3A2E, blue-as-text #0A66C2; dark muted ink #8FA6BE (≥6.2:1 on every dark surface measured, #1C2333 up).
   An 11 px floor for labels; the shared top bar's 10 px app labels and the 7 px "Powered by" rise to 11 / 9 px. No color-mix(). */
:root,body{
  --ink-400:#66666B; --text-muted:#66666B; --st-meta:#66666B; --muted:#66666B; --tm:#66666B;
  --cyan-ink:#0F6B82; --green-ink:#12623F; --amber-ink:#875C00; --red-ink:#BE3A2E; --blue-ink:#0A66C2; --p1-fill:#D92B22; --p3-ink:#06341A;
}
body.dark,html.dark body,:root.dark{
  --ink-400:#8FA6BE; --text-muted:#8FA6BE; --st-meta:#A7B8CC; --muted:#8FA6BE; --tm:#8FA6BE;
  --cyan-ink:#6FD3E4; --green-ink:#5BD6A8; --amber-ink:#F2C744; --red-ink:#FF8A70; --blue-ink:#7CC0FF; --p1-fill:#D92B22; --p3-ink:#06341A;
}
/* the portal apps re-declare --ink-400 on the top bar and sub-nav (#8E8E93 / #5E7C9C); same scope, measured values */
#pvxTopnav,#pvxSubnav{--ink-400:#66666B}
body.dark #pvxTopnav,body.dark #pvxSubnav{--ink-400:#8FA6BE}
/* the shared top bar (same block in every app): app labels 10 → 11 px, "Powered by" 7 → 9 px */
@media (min-width:1101px),(max-width:760px){.topnav .nav-item,#pvxTopnav .nav-item{font-size:11px}}  /* 761–1100 px is the icon-only strip */
.topnav .pvx-powered,#pvxTopnav .pvx-powered{font-size:9px;letter-spacing:.14em}
.topnav .pvx-powered,.topnav .nav-item:not(.active){color:var(--ink-400)}
/* the portal sub-nav: title (10 px, 3.2:1) and the section links (#6E6E73, 4.35:1 on #F2F4F8) */
.subnav .subnav-title,#pvxSubnav .subnav-title{font-size:0.6875rem!important;color:var(--ink-400)!important}
body:not(.dark) #pvxSubnav .seg:not(.active),body:not(.dark) .subnav .seg:not(.active){color:var(--ink-400)}

/* ── Flow (FL-08): text colours measured on the n134 build; fills and accents unchanged ───────────────────────────── */
/* sub-nav sections (4.35:1) and the muted bits that used the hairline grey (--ink-300) as text */
.subnav .seg:not(.active){color:var(--ink-400)}
.r-empty, .empty-mini, .empty-mini b, .drawer .opt, span.opt{color:var(--ink-400)!important}
.cl-hero-sub{color:var(--ink-400);opacity:1}
/* status words set in the status colour on tinted chips: readable inks in light mode, the lighter tints in dark mode */
.r-state.clean{color:var(--amber-ink)!important}
.r-state.avail, #roomLive, #view-client .cl-livebadge{color:var(--green-ink)!important}
.r-state.busy{color:var(--red-ink)!important}
span.nx{color:var(--cyan-ink)!important}
.cl-date,.cl-foot-l,.cl-qr-title,#view-client .cl-badge-inner{color:var(--cyan-ink)}
#view-client .cl-card.priority-p2 .cl-badge-inner,#view-client .cl-badge.waiting .cl-badge-inner{color:var(--amber-ink)}
.fg-add span,.fg-add{color:var(--blue-ink)}

.cb-pill .cb-statuscol i{font-size:0.6875rem!important}
/* priority pills: P3 keeps its green with dark ink (white was 2.15:1); the P1 fill behind white text darkens one step (4.35 → 4.9) */
.prio.prio-3,#view-client .cl-card.priority-p3 .cl-prio{color:var(--p3-ink)!important}
.prio.prio-1,#view-client .cl-card.priority-p1 .cl-prio,.ci-take.ci-s,.badge-text{background:var(--p1-fill)!important}
.high-icon{color:var(--p3-ink)}
/* dark mode: the Command Center chips had black text */
body.dark .command-kpi__chip{color:var(--ink-900)}
body.dark .cnt{color:var(--ink-700)}
/* type floor: labels under 11 px (inline sizes included) */
.command-kpi__chip, .command-kpi__label, .high-text, .high-icon, span.lbl, span.nx, .disp-label, .command-kpi__sub, p#dashDate, .cl-hero-sub, #clDate, .cl-livebadge, .dd-md, span.rl, #view-client .cl-vlbl, .card .prio, .cb-stat i{font-size:0.6875rem!important}

/* ━━━━━ 15 of 68 · pvx-n143-rd-css ━━━━━ */
/* RD-04: day headings inside Overnight & Events */

/* ━━━━━ 16 of 68 · pvx-n144-css · PVX-N144 · Flow: tables, rooms, drawer, critical alert, New Patient, Client Display, selected state ━━━━━ */
/* FLOW-01: narrow widths scroll the Patients table sideways (never clip Status / Priority / Arrival / Wait) */
@media (max-width:1024px){
  #view-list .tablewrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
  #view-list .tablewrap table{min-width:860px}
}
#view-list .tablewrap:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.pvx-tblhint{display:none;margin:0 0 8px;font-size:0.75rem;font-weight:600;color:var(--ink-500);letter-spacing:0}
.pvx-tblhint.on{display:block}
/* FLOW-05: Rooms footer — the team on its own row; time and status share the second */
.r-foot{flex-wrap:wrap;row-gap:8px}
.r-foot .dctr{flex:1 0 100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r-foot .r-right{flex:1 0 100%;justify-content:space-between;min-width:0}
/* FLOW-06: the drawer summary reflows into readable groups instead of squeezing seven values into one row */
.clin-bar{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:12px 14px}
.clin-bar .cb-stat,.clin-bar .cb-pill{min-width:0}
.clin-bar .cb-stat b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:1.5rem}
.clin-bar .cb-status b{display:flex;align-items:center;gap:7px}
.clin-bar .cb-status .cb-statusdot{flex:0 0 auto}
/* FLOW-08: the critical alert sits below the app bar, so every destination and the alert's own action stay usable */
#critIsland{top:var(--pvx-ci-top,12px)!important}
/* FLOW-09: the eight Command figures sit in balanced rows (4 + 4, or one row of 8 on wide screens; 2 per row on phones) */
#kpiRow{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (min-width:1700px){ #kpiRow{grid-template-columns:repeat(8,minmax(0,1fr))} }
@media (max-width:700px){ #kpiRow{grid-template-columns:repeat(2,minmax(0,1fr))} }
/* FLOW-14: inline error under Patient Name */
.pvx-fielderr{margin-top:6px;font-size:0.8125rem;font-weight:600;color:var(--priority-p1,#E4342B)}
.pvx-fielderr:empty{display:none}
.ap-input[aria-invalid="true"]{border-color:var(--priority-p1,#E4342B)!important}
/* FLOW-02/03: Client Display — fewer, wider cards; the status gets its own full row; phones stack the side panel below */
@media (max-width:1699px){
  #view-client .cl-badgerow{flex-wrap:wrap;row-gap:6px}
  #view-client .cl-badgerow .cl-badge{flex:1 1 100%;max-width:none;justify-content:flex-start}
  #view-client .cl-badgerow .cl-doc{flex:1 1 100%}
  #view-client .cl-name{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.12}
  /* the full-width status row already names the current step; the small step caption repeated it and collided with it */
  #view-client .cl-vstep2.current .cl-vlbl{display:none}
  #view-client .cl-vtl{padding-bottom:clamp(8px,.7vw,12px)}
}
@media (max-width:1699px){ #view-client .cl-grid{grid-template-columns:repeat(3,1fr)} }
@media (max-width:1024px){
  #view-client .cl-grid{grid-template-columns:repeat(2,1fr)}
  #view-client .cl-wrap{height:auto;min-height:calc(100vh - 132px);overflow:visible}
  #view-client .cl-body{grid-template-columns:1fr}
  #view-client .cl-side{height:auto;padding-bottom:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
  #view-client .cl-grid{grid-template-rows:repeat(3,auto)}
}
@media (max-width:700px){
  #view-client .cl-grid{grid-template-columns:1fr;grid-template-rows:repeat(4,auto)}
}

/* ━━━━━ 17 of 68 · pvx-n145-us-css · PVX-N145 · Ultrasound: focus return, request button, KPI badges ━━━━━ */
button.us-flag{font:inherit;font-size:0.6875rem;font-weight:700;line-height:inherit;text-align:left}
button.us-flag:focus-visible{outline:2px solid var(--amber,#EBC95D);outline-offset:2px}
/* UR-02: the Ultrasound figure tiles let their small badges sit inside the tile instead of being cut at the edge */
#app-ultrasound .command-kpi__top, .app-ultrasound .command-kpi__top, [id^="usxKpis"] .command-kpi__top{flex-wrap:wrap;row-gap:6px;min-width:0}
[id^="usxKpis"] .command-kpi__label{min-width:0;overflow-wrap:anywhere}
[id^="usxKpis"] .command-kpi__chip{flex:0 0 auto;max-width:100%}

/* ━━━━━ 18 of 68 · pvx-n148-rd-css · PVX-N148 · Rounds: "Saved" after the server confirms; the Tomorrow list on the server ━━━━━ */


/* ━━━━━ 19 of 68 · pvx-n149-flow-css · PVX-N149 · personal sign-in: the lobby account opens only the lobby display ━━━━━ */
#pvxLobbyAcct{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(5,10,20,.72)}
#pvxLobbyAcct .card{max-width:440px;width:100%;background:var(--surface-0,#0E1628);color:var(--ink-100,#E6EEF6);border:1px solid rgba(150,185,220,.22);border-radius:18px;padding:26px 24px 20px;box-shadow:0 20px 60px rgba(0,0,0,.45);font-family:-apple-system,BlinkMacSystemFont,system-ui,"Segoe UI","SF Pro Display","Helvetica Neue",Arial,sans-serif}
body:not(.dark) #pvxLobbyAcct .card{background:#fff;color:#14181F;border-color:rgba(30,45,90,.12)}
#pvxLobbyAcct h2{margin:0 0 8px;font-size:1.25rem;font-weight:700;letter-spacing:-.01em}
#pvxLobbyAcct p{margin:0 0 18px;font-size:0.875rem;line-height:1.45;opacity:.85}
#pvxLobbyAcct .acts{display:flex;flex-direction:column;gap:10px}
#pvxLobbyAcct a,#pvxLobbyAcct button{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;font:inherit;font-size:0.9375rem;font-weight:600;text-decoration:none;cursor:pointer;border:1px solid rgba(150,185,220,.28);background:transparent;color:inherit}
#pvxLobbyAcct .primary{background:#38BDD2;border-color:#38BDD2;color:#04131B}
#pvxLobbyAcct a:focus-visible,#pvxLobbyAcct button:focus-visible{outline:2px solid #4DC8E0;outline-offset:2px}

/* ━━━━━ 20 of 68 · pvx-n184-css ━━━━━ */
/* PVX-N184 - HIG Layout. Size classes: compact width < 701, regular >= 701; compact height <= 500. */
/* 4. the + is a toolbar button in Flow's sub-nav */
#subnavFlow .fab-add{position:relative;left:auto;bottom:auto;z-index:auto;flex:0 0 auto;width:40px;height:40px;border-radius:11px;
  border:1px solid var(--ctl-border);background:var(--fill-soft);color:var(--ink-700);box-shadow:none;transform:none;
  transition:background .2s var(--ease),color .2s var(--ease),border-color .2s var(--ease);}
#subnavFlow .fab-add svg{width:min(1.1875rem,28.5px);height:min(1.1875rem,28.5px);transition:transform .28s var(--ease-spring);}
#subnavFlow .fab-add:hover{transform:none;background:var(--fill-track);color:var(--ink-900);border-color:rgba(56,189,210,.45);box-shadow:none;}
#subnavFlow .fab-add:hover svg{transform:none;}
#subnavFlow .fab-add:active{transform:scale(.96);}
#subnavFlow .fab-add:focus-visible{outline:2px solid var(--brand-cyan);outline-offset:2px;}
#subnavFlow .fab-add.open{background:rgba(77,200,224,.15);color:var(--brand-cyan);border-color:rgba(77,200,224,.25);box-shadow:none;}
#subnavFlow .fab-add.open svg,#subnavFlow .fab-add.open:hover svg{transform:rotate(45deg);}
body:not(.dark) #subnavFlow .fab-add{color:#1D1D1F;}
body:not(.dark) #subnavFlow .fab-add.open{background:#EBEBEB;color:#636365;border-color:transparent;}
body.dark #subnavFlow .fab-add{box-shadow:none;}
@media (hover:none) and (pointer:coarse){ #subnavFlow .fab-add{width:44px;height:44px;} }
.ops-menu{transform-origin:top right;transform:translateY(-8px) scale(.96);max-width:calc(100vw - 24px);}
.ops-menu.open{transform:none;}
#fvStalePill{left:calc(26px + env(safe-area-inset-left,0px));}
@media (max-width:820px){ #fvStalePill{left:calc(16px + env(safe-area-inset-left,0px));bottom:calc(24px + env(safe-area-inset-bottom,0px));} }
/* regular width: the views strip and search share the row; with larger text the strip scrolls (fade, chevron) and search narrows */
#subnavFlow .switcher{flex:0 1 auto;min-width:0;overflow-x:auto;scrollbar-width:none;}
#subnavFlow .search{flex:0 1 auto;min-width:220px;}
/* regular width: the sub-nav title gives way before the views would wrap */
@media (max-width:1180px) and (min-width:1025px){ #subnavFlow .subnav-title{display:none;} }
/* two-row sub-nav (<= 1024): views on the first row, search and + on the second */
@media (max-width:1024px){
  #subnavFlow .switcher{flex:1 1 100%;min-width:0;}
  #subnavFlow .search{flex:1 1 0;width:auto;min-width:0;}
  #subnavFlow .fab-add{order:11;}
}
/* 5. sub-navs that scroll sideways */
.subnav .switcher.pvx-sw{position:relative;overscroll-behavior-x:contain;scroll-padding-inline:24px;}
.subnav .switcher.pvx-sw .seg{white-space:nowrap;flex:0 0 auto;}
.subnav .switcher.pvx-sw::-webkit-scrollbar{display:none;}
.subnav .switcher.ov-r{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 76px),transparent calc(100% - 30px));mask-image:linear-gradient(90deg,#000 calc(100% - 76px),transparent calc(100% - 30px));}
.subnav .switcher.ov-l{-webkit-mask-image:linear-gradient(90deg,transparent,#000 40px);mask-image:linear-gradient(90deg,transparent,#000 40px);}
.subnav .switcher.ov-l.ov-r{-webkit-mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 76px),transparent calc(100% - 30px));mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 76px),transparent calc(100% - 30px));}
.pvx-swmore{position:absolute;z-index:2;display:none;place-items:center;width:32px;padding:0;border:0;border-radius:10px;background:transparent;color:var(--ink-500);cursor:pointer;}
.pvx-swmore.on{display:grid;}
.pvx-swmore svg{width:min(0.9375rem,22.5px);height:min(0.9375rem,22.5px);}
.pvx-swmore:hover{color:var(--ink-900);background:var(--fill-soft);}
@media (prefers-reduced-transparency:reduce){ .subnav .switcher.ov-r,.subnav .switcher.ov-l{-webkit-mask-image:none;mask-image:none;} }
/* 2. compact height: one slim sub-nav row */
@media (max-height:500px) and (min-width:701px){
  #subnavFlow{flex-wrap:nowrap;padding-top:6px;padding-bottom:6px;row-gap:0;}
  #subnavFlow .switcher{flex:1 1 0;min-width:0;max-width:none;}
  #subnavFlow .search{order:0;flex:0 1 260px;width:auto;}
  #subnavFlow .search .search-wrap{padding:3px;}
  #subnavFlow .search .search-bar{height:36px;}
  #subnavFlow .fab-add{order:0;width:40px;height:40px;}
  #subnavFlow .switcher .seg{min-height:36px;padding-top:6px;padding-bottom:6px;}
}
/* 6. safe areas: content inside them, bars to the edges */
body{padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);}
.topnav,.subnav{margin-left:calc(-1 * env(safe-area-inset-left,0px));margin-right:calc(-1 * env(safe-area-inset-right,0px));
  border-left:env(safe-area-inset-left,0px) solid transparent;border-right:env(safe-area-inset-right,0px) solid transparent;}
.drawer{padding-right:env(safe-area-inset-right,0px);padding-bottom:env(safe-area-inset-bottom,0px);}
.stage{padding-bottom:env(safe-area-inset-bottom,0px);}
/* 1. larger text: card headers wrap; on a phone the Command Center cards go to one column */
html.pvx-text-l .command-kpi__top{flex-wrap:wrap;row-gap:6px;}
html.pvx-text-l .command-kpi__label{white-space:normal;min-width:0;}
@media (max-width:700px){ html.pvx-text-l #kpiRow{grid-template-columns:minmax(0,1fr);} }
.ops-menu{margin-top:0;}
/* 7. Close: 28 pt hit area at least on Mac, 44 pt on touch; the visible button is unchanged */
:where(button.close){position:relative;}
.intake-head .close,.addpt-head .close{position:relative;}
button.close::after{content:"";position:absolute;top:min(0px,calc(50% - 14px));bottom:min(0px,calc(50% - 14px));left:min(0px,calc(50% - 14px));right:min(0px,calc(50% - 14px));}
@media (pointer:coarse){ button.close::after{top:min(0px,calc(50% - 22px));bottom:min(0px,calc(50% - 22px));left:min(0px,calc(50% - 22px));right:min(0px,calc(50% - 22px));} }

/* ━━━━━ 21 of 68 · pvx-n185-css ━━━━━ */
/* PVX-N185 - one floating material (Anesia's n158 glass). Content flat; drawer and pop-up windows solid. */
body{--pvx-glass:rgba(255,255,255,.72);--pvx-glass-strong:rgba(255,255,255,.86);--pvx-glass-edge:rgba(0,0,0,.06);--pvx-glass-hi:rgba(255,255,255,.7);
  --pvx-glass-shadow:0 8px 32px rgba(0,0,0,.10),0 1px 2px rgba(0,0,0,.06);--pvx-glass-ink:#1D1D1F;--pvx-glass-solid:#FFFFFF;--pvx-glass-blur:blur(12px) saturate(160%);}
body.dark{--pvx-glass:rgba(23,35,56,.70);--pvx-glass-strong:rgba(23,35,56,.86);--pvx-glass-edge:rgba(255,255,255,.08);--pvx-glass-hi:rgba(255,255,255,.08);
  --pvx-glass-shadow:0 8px 32px rgba(0,0,0,.45),0 1px 2px rgba(0,0,0,.3);--pvx-glass-ink:#EEF1F6;--pvx-glass-solid:#172440;}
#opsMenu,#searchResults,#fvPanel,#fvTalk.fv-float,#fvStalePill,#flowNet,.toast,#fvToast{background:var(--pvx-glass-strong)!important;-webkit-backdrop-filter:var(--pvx-glass-blur)!important;backdrop-filter:var(--pvx-glass-blur)!important;
  box-shadow:var(--pvx-glass-shadow),inset 0 0 0 .5px var(--pvx-glass-edge),inset 0 1px 0 var(--pvx-glass-hi)!important;}
#opsMenu,#searchResults,#fvPanel{border-color:var(--pvx-glass-edge)!important;}
#fvTalk.fv-float{background:var(--pvx-glass)!important;}
#flowNet,.toast,#fvToast{color:var(--pvx-glass-ink)!important;border-color:var(--pvx-glass-edge)!important;}
body:not(.dark) #flowNet.off svg{color:#B26B00}
body:not(.dark) #flowNet.sync svg,body:not(.dark) #flowNet.up svg{color:#1683A0}
body:not(.dark) #flowNet.ok svg{color:#1E8F5C}
/* 3. menus don't dim: the scrim only catches the click outside */
.ops-scrim,.ops-scrim.open{background:transparent!important;}
/* 4. scrims dim, they don't blur */
#fvStale .fs-scrim{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
.luna-announcement-backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(5,12,26,.62)!important;}
/* 2. the solid surface wherever glass would not help */
html.pvx-noblur :is(#opsMenu, #searchResults, #fvPanel, #fvTalk.fv-float, #fvStalePill, #flowNet, .toast, #fvToast){background:var(--pvx-glass-solid)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){ :is(#opsMenu, #searchResults, #fvPanel, #fvTalk.fv-float, #fvStalePill, #flowNet, .toast, #fvToast){background:var(--pvx-glass-solid)!important;} }
@media (prefers-reduced-transparency:reduce){ :is(#opsMenu, #searchResults, #fvPanel, #fvTalk.fv-float, #fvStalePill, #flowNet, .toast, #fvToast){background:var(--pvx-glass-solid)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;} }
@media (prefers-contrast:more){ :is(#opsMenu, #searchResults, #fvPanel, #fvTalk.fv-float, #fvStalePill, #flowNet, .toast, #fvToast){background:var(--pvx-glass-solid)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  box-shadow:0 0 0 1px var(--pvx-glass-ink),var(--pvx-glass-shadow)!important;} }
@media (forced-colors:active){ :is(#opsMenu, #searchResults, #fvPanel, #fvTalk.fv-float, #fvStalePill, #flowNet, .toast, #fvToast){background:Canvas!important;color:CanvasText!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid CanvasText!important;} }

/* ━━━━━ 22 of 68 · pvx-n186-css ━━━━━ */
/* PVX-N186 - typography */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;}
.version-bar .vb-prog,.version-bar .vb-right{font-size:0.6875rem;}
/* small text that inherits Flow's -0.01em through descendant selectors */
#dashDate,#dashDate .dd-md,.empty span,.site-footer > div,.ap-field label{letter-spacing:0;}

/* ━━━━━ 23 of 68 · pvx-n188-css ━━━━━ */
/* PVX-N188 - motion */
@keyframes pvxViewFade{from{opacity:0}to{opacity:1}}
.view{animation:pvxViewFade .18s ease-out both}
.command-kpi__rail i,.dist .fill,.util-fill{transition-duration:.4s}
@media (prefers-reduced-motion:reduce){
  *:not(.signin-progress),*:not(.signin-progress)::before,*:not(.signin-progress)::after{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
  #confirmBox:not(.confirm-fancy) #confirmOk:not(.danger):hover, .addpt-foot #apCreate:hover, .addpt-foot .btn:hover, .adv button:hover, .btn.danger:hover, .btn.primary.discharge-primary:hover, .btn.primary:hover, .cf-btn.go:hover, .command-kpi:hover, .confirm-fancy .btn.primary:hover, .cpr-pill:hover, .disposition-card:hover, .dnr-pill:hover, .high-badge:hover, .kpi:hover, .loc-pt:hover, .overdue-badge:hover, .pill:hover, .ready-badge:hover, .review-badge:hover, .room-open-badge:hover, .room:hover, .triage-card:hover, .watch-badge:hover, body:not(.dark) .card:hover{transform:none!important}
  .cl-alert-track,.cl-alert-track.marquee{animation:none!important;transform:none!important;width:auto;max-width:100%;flex-wrap:wrap}
  .cl-alert-track .cl-alert-copy{white-space:normal;padding-right:0}
  .cl-alert-track .cl-alert-copy[aria-hidden]{display:none}
}

/* ━━━━━ 24 of 68 · pvx-n189-css ━━━━━ */
/* PVX-N189 - SF Symbols rules, as in Anesia */
/* 1. weight matching (JS sets --pvx-symw per icon, in grid units) */
svg.pvx-sym :is(path, line, polyline, polygon, circle, rect, ellipse){stroke-width:var(--pvx-symw)!important}
/* 2. hierarchical rendering: the secondary layer sits back */
svg .s:not(text){opacity:.45}
:is(.ops-item[data-op=new] .ops-ic, #apModal .aph-ic) svg :is(circle, path){opacity:.45}
:is(.ops-item[data-op=shift] .ops-ic, #shiftModal .aph-ic) svg :is(rect, line){opacity:.45}
:is(.ops-item[data-op=alert] .ops-ic, #alertModal .aph-ic) svg path{opacity:.45}
@media (prefers-contrast:more){ svg .s, :is(.ops-ic, .aph-ic) svg *{opacity:1!important} }
@media (forced-colors:active){ svg .s, :is(.ops-ic, .aph-ic) svg *{opacity:1!important} }
/* PVX-N189 - the selected app in the shared top bar: fill variant on touch (iOS tab bar), outline with a mouse (Mac toolbar) */
@media (hover:none) and (pointer:coarse){
  .topnav .nav-item.active svg :is(path, rect, circle, ellipse, polygon){fill:currentColor;fill-opacity:.5}
}
@media (hover:none) and (pointer:coarse) and (prefers-contrast:more){ .topnav .nav-item.active svg :is(path, rect, circle, ellipse, polygon){fill-opacity:.7} }

/* ━━━━━ 25 of 68 · pvx-n190-css ━━━━━ */
/* PVX-N190 - the Pravix type scale (same steps as Anesia), Apple text-style names */
:root{--pvx-t-caption2:0.6875rem;--pvx-t-caption:0.75rem;--pvx-t-footnote:0.8125rem;--pvx-t-callout:0.875rem;--pvx-t-subhead:0.9375rem;
  --pvx-t-body:1rem;--pvx-t-headline:1.0625rem;--pvx-t-title3:1.25rem;--pvx-t-title2:1.375rem;--pvx-t-title1b:1.5rem;--pvx-t-title1:1.75rem;
  --pvx-t-display:1.875rem;--pvx-t-large:2.125rem}

/* ━━━━━ 26 of 68 · pvx-n191-css ━━━━━ */
/* PVX-N191 - charts: one sparkline style shared with Anesia */
.command-kpi__spark .line{stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.command-kpi__spark.is-empty{visibility:hidden}

/* ━━━━━ 27 of 68 · pvx-n192-css ━━━━━ */
/* PVX-N192 - drag and drop */
.pvx-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ━━━━━ 28 of 68 · pvx-n193-css ━━━━━ */
/* PVX-N193 - entering data */
.pvx-req{color:#E4655C;font-weight:600;margin-left:1px}
/* one message style: the same as Flow's name message (FLOW-14) */
.ap-hint.show{height:auto;min-height:15px;margin-top:6px;font-size:0.8125rem;font-weight:600;opacity:1;color:var(--priority-p1,#E4342B)}
.ap-input[aria-invalid=true]{border-color:rgba(228,101,92,.7)!important;box-shadow:0 0 0 3px rgba(228,101,92,.14)!important}
.pvx-uwrap{position:relative}
.pvx-uwrap .ap-input{padding-right:92px}
.pvx-unit{position:absolute;top:50%;right:6px;transform:translateY(-50%);display:flex;gap:2px;padding:2px;border-radius:9px;background:var(--fill-soft,rgba(120,120,128,.16))}
.pvx-unit button{min-width:36px;height:28px;padding:0 8px;border:0;border-radius:7px;background:transparent;color:inherit;font:inherit;font-size:0.8125rem;font-weight:600;opacity:.7;cursor:pointer}
.pvx-unit button[aria-checked=true]{background:var(--accent,#38BDD2);color:#04222a;opacity:1}
.pvx-unit button:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:1px}
@media (pointer:coarse){ .pvx-unit button{min-width:44px;height:34px} .pvx-uwrap .ap-input{padding-right:106px} }
.btn.pvx-notyet,.btn.pvx-notyet:hover{opacity:.45;transform:none!important;box-shadow:none!important;cursor:default}
.pvx-hours{display:flex;align-items:center;justify-content:center;gap:10px;margin:14px 0 4px}
.pvx-hours input{width:96px;height:44px;text-align:center;font:inherit;font-size:1.25rem;font-weight:600;font-variant-numeric:tabular-nums;border-radius:10px;border:1px solid var(--glass-hairline,rgba(255,255,255,.14));background:var(--fill-soft,rgba(120,120,128,.12));color:inherit}
.pvx-hours button{width:44px;height:44px;border-radius:22px;border:1px solid var(--glass-hairline,rgba(255,255,255,.14));background:var(--fill-soft,rgba(120,120,128,.12));color:inherit;font-size:1.25rem;cursor:pointer}
.pvx-hours-u{font-weight:600;opacity:.75}
.pvx-hours-err{min-height:16px;text-align:center;font-size:0.75rem;font-weight:600;color:#E4655C}

/* ━━━━━ 29 of 68 · pvx-n197-css ━━━━━ */
/* PVX-N197 - notifications */
.us-flag.crit{color:#fff;background:var(--priority-p1,#E4342B);border-color:transparent;font-weight:600}
.us-flag.crit .pvx-gi{margin-right:4px}
.note.sticky{padding-right:40px;box-shadow:0 0 0 1.5px rgba(228,52,43,.45),0 10px 30px rgba(0,0,0,.28)}
.note .n-x{position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:14px;border:0;background:transparent;color:inherit;opacity:.7;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:.875rem}
.note .n-x:hover,.note .n-x:focus-visible{opacity:1;background:rgba(127,127,127,.18)}
.note{position:relative}
@media (pointer:coarse){ .note .n-x{width:44px;height:44px;top:2px;right:2px} }

/* ━━━━━ 30 of 68 · pvx-n201 ━━━━━ */
/* PVX-N201 - touch and hold shows the menu, not the browser's text callout */
@media (pointer:coarse){#board .card[data-pid], #tableBody tr[data-pid], .r-pt[data-pid]{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}}

/* ━━━━━ 31 of 68 · no id ━━━━━ */
/* PVX-N207 - the search keycap */
.search-bar .pvx-skey{position:static;top:auto;transform:none;letter-spacing:.02em;flex:none;align-self:center;margin-right:8px;padding:1px 7px;border-radius:6px;border:1px solid var(--glass-border,rgba(255,255,255,.14));background:var(--fill-soft,rgba(255,255,255,.05));color:var(--ink-400,#8AA2BB);font:600 0.75rem/1.5 -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;pointer-events:none;white-space:nowrap}
body:not(.dark) .search-bar .pvx-skey{border-color:rgba(15,23,42,.14);background:rgba(15,23,42,.04);color:#5B6B80}
.search-bar:focus-within .pvx-skey,.search-bar.has-text .pvx-skey{display:none}
@media (hover:none),(pointer:coarse){.search-bar .pvx-skey{display:none}}

/* ━━━━━ 32 of 68 · no id · PVX-N207: keyboard and menu bar ━━━━━ */
/* PVX-N209 - alerts */
#confirmBox:focus{outline:none}
#confirmBox:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:3px}
#confirmBox .confirm-actions #confirmAlt[hidden]{display:none!important}
/* three choices stack (HIG: the default on top, Cancel at the bottom), on every screen */
#confirmBox.has-alt .confirm-actions{display:flex!important;flex-direction:column-reverse;align-items:stretch;gap:8px;width:auto!important;margin:12px 0 0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
#confirmBox.has-alt .confirm-actions .btn{flex:none!important;width:100%!important;min-height:40px;white-space:nowrap}
#confirmBox.has-alt #confirmCancel{margin-top:4px}

/* ━━━━━ 33 of 68 · pvx-n253-css · PVX-N215: pickers and segmented controls ━━━━━ */
.disposition-card.pvx-locked{opacity:.5;cursor:not-allowed}.disposition-card.pvx-locked .dc-arrow{visibility:hidden}
.disposition-card .dc-note.pvx-lock{display:block;line-height:1.3;text-wrap:balance}.ap-seg-btn.pvx-locked{opacity:.5;cursor:not-allowed}

/* ━━━━━ 34 of 68 · pvx-n254-css ━━━━━ */
.pvx-ykmeds{margin:-4px 0 14px;padding:12px 14px;border-radius:14px;background:var(--fill-soft,rgba(255,255,255,.04));font-size:0.8125rem;line-height:1.45}
.pvx-ykmeds .t{font-size:0.6875rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-400);margin-bottom:4px}
.pvx-ykmeds .l{color:var(--ink-900);font-weight:600}.pvx-ykmeds .u{display:block;margin-top:2px;color:var(--ink-500);font-weight:500}
.pvx-ykmeds button{margin-top:8px;min-height:32px;padding:0 12px;border-radius:9px;border:1px solid var(--glass-hairline,rgba(158,206,231,.2));background:transparent;color:var(--accent,#38BDD2);font:inherit;font-weight:600;cursor:pointer}
body:not(.dark) .pvx-ykmeds button{color:#23439C}.pvx-ykmeds .r{margin-top:10px;display:flex;flex-direction:column;gap:8px}
.pvx-ykmeds .pr{padding-top:8px;border-top:1px solid var(--glass-hairline,rgba(158,206,231,.14))}.pvx-ykmeds .pr b{color:var(--ink-900)}.pvx-ykmeds .pr i{font-style:normal;color:var(--ink-500)}
.pvx-ykmeds .sc{color:var(--ink-500);font-size:0.75rem}

/* ━━━━━ 35 of 68 · pvx-n273-css ━━━━━ */
/* n273 · Rounds loading — the approved Pravix loading design: a slim rounded bar with a fine upper highlight and a
   narrow shimmer, the task in system type, an understated percentage (only when the work can be counted), a delayed
   explanation with Try again, and a crossfade into the list with a check. Light: Treatment's cobalt #23439C (Daniel, Oct 30; the design had navy #0C2952). Dark: cyan #63CDDD. */












/* can't be counted yet: a short segment travels the track, no percentage */









/* the crossfade: the finished loader fades out where it was while the list fades in, nothing moves */









/* the tiles: no counts until there's something to count */

/* ━━━━━ 36 of 68 · n304-css ━━━━━ */
/* n304 · Rounds: HIG Accessibility, Color, Branding (Nov 2 2026). Measured on the sample census at 1440, 1180 (touch), 820 and 390 pt, light and dark. */
/* 1. light mode used the dark-mode amber, red and green (1.4–3.8:1 on white); the suite's readable inks instead (5–6:1) */


/* white on the critical red was 4.35:1: a deeper red behind white words (5.5:1); the dot and the row's edge keep the bright red */








/* 2. the accent marks what you can press or what's selected; labels you can't press are plain (HIG Color, Branding) */



/* 3. status is a shape as well as a colour: critical ◆ diamond, attention ▲ triangle, stable ● dot, discharge ready ○ ring */






/* 4. focus you can see on every field (the ID and assessment borders went from 10 % to 34–42 % cyan) */


/* 5. targets: with a mouse at least 28 pt tall (the doctor names were 17, Tomorrow's checkboxes 15); touch already has 44 */


/* 6. Increase Contrast: stronger inks, firmer edges, chips outlined */

/* ━━━━━ 37 of 68 · pvx-n332 ━━━━━ */
/* ===== n332 · Flow: Design principles, Accessibility, Color (Nov 6 2026). The lobby TV (#view-client) is untouched. ===== */
/* Accessibility · light mode uses the readable inks (it used the dark-mode amber and cyan: long waits were 1.4 : 1 on white) */
body:not(.dark) :is(.wait.warn, .wd-wait.warn, .r-timer.warn){color:var(--amber-ink)!important}
body:not(.dark) :is(.us-flag.req, .rec-req, .tri-edit, #switcher .seg.active){color:var(--cyan-ink)!important}

body:not(.dark) :is(.rec-chip.rec-not_requested){color:var(--ink-400)!important}
body:not(.dark) .r-state.busy{color:#A8291F!important}
html.pvx-tabbar body:not(.dark) :is(#subnavFlow) #switcher .seg.active, html.pvx-tabbar body:not(.dark) #subnavFlow #switcher .seg.active{color:var(--cyan-ink)!important}

body:not(.dark) .status.is-ok .delta{color:var(--green-ink)!important}
/* …and dark mode's quietest labels reach 4.5 : 1 too */
body.dark :is(.cz-total, .tc-status, .rec-chip.rec-not_requested, .range-label){color:var(--ink-400)!important}

/* the footer and version bar sit on navy in both themes */
.site-footer .footer-text,.site-footer .footer-text *,.site-footer > div{color:#A9B6C6!important}
:is(.vb-prog, .vb-brand, .vb-v, #versionLabel){color:#6FD3E4!important}
.vb-copy{color:#A9B6C6!important}

/* Accessibility · a long wait is a shape as well as a colour: a tinted pill with a clock (it was amber or red text only) */
:is(.wait, .wd-wait).warn, :is(.wait, .wd-wait).crit, .r-timer.warn, .r-timer.crit{display:inline-flex;align-items:center;gap:4px;padding:1px 7px;border-radius:99px;background:rgba(235,201,93,.16);box-shadow:inset 0 0 0 1px rgba(235,201,93,.38)}
:is(.wait, .wd-wait, .r-timer).crit{background:rgba(228,52,43,.12);box-shadow:inset 0 0 0 1px rgba(228,52,43,.36)}
body:not(.dark) :is(.wait, .wd-wait, .r-timer).warn{background:rgba(135,92,0,.08);box-shadow:inset 0 0 0 1px rgba(135,92,0,.30)}
body:not(.dark) :is(.wait, .wd-wait, .r-timer).crit{color:var(--red-ink)!important;background:rgba(190,58,46,.08);box-shadow:inset 0 0 0 1px rgba(190,58,46,.30)}
:is(.wait, .wd-wait).warn::before, :is(.wait, .wd-wait).crit::before{content:"";flex:0 0 auto;width:.95em;height:.95em;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center/contain no-repeat}
.pvx-sr332{position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0}

/* Accessibility · nothing under 11 pt: the species is said in words on the card, not in 4.8 pt letters in the avatar */
body:not(.lobby-mode) :is(#view-flow, #view-list, #view-rooms, #view-dashboard, #drawer) .patient-medallion .pm-sp{display:none}


.card .c-reason .c-sp{font-weight:600}

/* Color · the Longest tile's tag is green when it's on target */
.command-kpi__chip.is-ok{color:var(--green-ink)!important;background:rgba(26,158,110,.12)!important;border-color:rgba(26,158,110,.32)!important}

/* Accessibility · the Attention Center opens with the keyboard and Switch Control */
.attn-item[role=button]:focus-visible{outline:3px solid var(--accent,#38BDD2);outline-offset:-3px;border-radius:12px}
.attn-item:focus-within .attn-clear{opacity:1}

/* Increase Contrast · firmer inks and edges everywhere in Flow and Ultrasound (only a few controls had any) */
@media (prefers-contrast:more){
  body:not(.dark){--ink-400:#4A4A50;--text-muted:#4A4A50;--muted:#4A4A50;--tm:#4A4A50;--cyan-ink:#0B5566;--amber-ink:#6E4A00;--red-ink:#9E2A20;--green-ink:#0D4D31;--blue-ink:#0853A0}
  body.dark{--ink-400:#B7C7D8;--text-muted:#B7C7D8;--muted:#B7C7D8;--tm:#B7C7D8;--cyan-ink:#9BE3EF;--amber-ink:#FFD866;--red-ink:#FFA894;--green-ink:#8BE6C2;--blue-ink:#A8D4FF}
  :is(#view-flow .card, #view-list tr, #view-rooms .room, #view-dashboard .attn-item, .command-kpi){outline:1px solid currentColor;outline-color:rgba(128,140,158,.7)}
  :is(.wait, .wd-wait, .r-timer).warn, :is(.wait, .wd-wait, .r-timer).crit{box-shadow:inset 0 0 0 1.5px currentColor}
  .card .edge{width:5px}
  body:not(.dark) .muted,body:not(.dark) .c-reason{color:#3F3F45}
  body.dark .muted,body.dark .c-reason{color:#C9D6E3}
}
/* Design principles · the critical-patient banner never sits over an open patient (see the script below) */
#drawer.pvx-ci-pad{padding-top:var(--pvx-ci-pad,0px)!important}

/* ━━━━━ 38 of 68 · n333-flow-css ━━━━━ */
/* n333: while the More menu is open the critical-patient banner steps aside (it covered the menu; the page is its own layer, so the menu cannot rise above it) */ body:has(.pvx-more-menu:not([hidden])) #critIsland{opacity:0!important;pointer-events:none!important}

/* ━━━━━ 39 of 68 · pvx-n334 ━━━━━ */
/* PVX-N334 - HIG Layout and Materials (Flow) */
/* 1. a card keeps its height in a busy column; the column scrolls instead of squeezing the cards */
.col-body>*{flex-shrink:0}
/* 2. the room made for the critical-patient banner opens smoothly */
[data-pvx-room]{transition:padding-top .32s cubic-bezier(.32,.72,0,1)}
@media (prefers-reduced-motion:reduce){ [data-pvx-room]{transition:none} }
/* 4. larger text: names break between words, never inside one; the move button and priority badge take a second line when the name needs the room */
html.pvx-text-l .card .c-top{flex-wrap:wrap;row-gap:6px}
html.pvx-text-l .card .c-top b{flex:1 1 0;min-width:min(100%,5.5em)}
html.pvx-text-l .card .c-top b .pvx-open{overflow-wrap:break-word;word-break:normal}
html.pvx-text-l .card .c-meta,html.pvx-text-l .card .c-meta .l{flex-wrap:wrap;row-gap:6px}
/* the patient and doctor initials grow with the text instead of spilling out of their circles */
html.pvx-text-l .card .c-top .pt-emoji{width:max(30px,1.5em);height:max(30px,1.5em);grid-template-columns:1fr;flex:0 0 auto}
html.pvx-text-l .card .c-meta .dav{width:max(30px,1.75em);height:max(30px,1.75em);flex:0 0 auto}
html.pvx-text-l .card .c-top .prio{width:auto!important;min-width:max(22px,1.9em);height:max(22px,1.9em)!important;padding:0 .3em;flex:0 0 auto}

/* ━━━━━ 40 of 68 · pvx-n335 ━━━━━ */
/* PVX-N335 - HIG Typography (Flow) */
/* tracking is the system's: SF sets its own at every size, so the page isn't tightened (12 pt card lines were -0.16 pt) */
body{letter-spacing:normal}
/* numbers that change line up: waits, counts, times, percentages */
body{font-variant-numeric:tabular-nums}
/* controls use the page's font and numerals (the Patients filter chips fell back to Arial) */
:where(button,input,select,textarea){font-family:inherit;font-variant-numeric:inherit}
/* capitals are for small eyebrow labels only, never a sentence: empty columns and rooms read in sentence case */
.empty-mini--stage b{text-transform:none;letter-spacing:normal;font-size:0.8125rem;font-weight:600}
.room .r-empty{text-transform:none;letter-spacing:normal}
.fv-wait-chip{letter-spacing:normal}
/* on touch, fields are at least 16 pt so Safari doesn't zoom the page when one is tapped (search was 14, the drawer's pickers 13) */
/* the Client Display (the lobby screen) stays exactly as it was */
#view-client{letter-spacing:-.01em;font-variant-numeric:normal}
#view-client .patient-medallion .pm-init{font-weight:720}
@media (pointer:coarse){ :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){font-size:max(16px,1rem)!important} }

/* ━━━━━ 41 of 68 · pvx-n337 ━━━━━ */
/* PVX-N337 - HIG Dark Mode and Icons (Flow) */
/* Icons: one 24-unit grid; badge symbols at one weight (the badges' 11 pt / 800 labels) */
:is(.watch-icon,.ready-icon,.room-open-icon,.review-icon,.overdue-icon,.high-icon) svg{width:min(0.5625rem,13.5px);height:min(0.5625rem,13.5px);display:block;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
:is(.overdue-icon,.high-icon) svg{stroke-width:3.2}
/* symbols on a light status colour are dark, as text is (Brand §11): white on amber, green and teal was 2.2-2.9 : 1 */
.watch-icon,.ready-icon,.room-open-icon{color:#0B1B2A!important}
/* symbols at 3 : 1 or more against what's behind them (Brand §3; they were 1.5-2.3 : 1) */
.triage-card .tc-chev,.tri-chev{color:var(--ink-500)}
.disposition-card:not(.locked):not([aria-disabled="true"]) .dc-arrow{color:var(--ink-500);opacity:1}
.empty-mini .ico,.empty-mini--stage .ico{color:var(--ink-500)}
body:not(.dark) .cz-target .cz-ic.admit{color:#0F6B82} body:not(.dark) .cz-target .cz-ic.disch{color:#12623F} body:not(.dark) .cz-target .cz-ic.euth{color:#6B3FA0}
body:not(.dark) .ops-item[data-op="new"] .ops-ic,body:not(.dark) .aph-ic{color:#0F6B82}
body:not(.dark) .ops-item[data-op="alert"] .ops-ic{color:#875C00}
/* Add patient: the chosen arrival type and priority read at 4.5 : 1 in both appearances (2.0-3.3 : 1) */
body:not(.dark) .ap-seg-btn.active{color:#0F6B82}
body:not(.dark) .ap-prio-btn[data-prio="1"] b{color:#B3141A} body:not(.dark) .ap-prio-btn[data-prio="2"] b{color:#875C00} body:not(.dark) .ap-prio-btn[data-prio="3"] b{color:#12623F}
body.dark .ap-prio-btn[data-prio="1"] b{color:#FF8A82} body.dark .ap-prio-btn[data-prio="2"] b{color:#F2C744} body.dark .ap-prio-btn[data-prio="3"] b{color:#7DDB9A}
.ap-prio-btn span{color:var(--ink-700)}
body:not(.dark) .pvx-req{color:#B3141A}
/* light: the drawer's disposition symbols (2.3 : 1, #8FB0C4 on white) and Command's KPI chips (2.9-3.9 : 1) */
body:not(.dark) :is(.disposition-card,.disp-terminal) .dc-ic{color:#4F6B80}
body:not(.dark) .command-kpi__chip{color:color-mix(in srgb,var(--kaccent) 45%,#0B1B2A)}
body:not(.dark) .command-kpi__chip.is-warn{color:#B3141A}
/* Dark Mode: with Increase Contrast, small text reaches 7 : 1 (HIG Dark Mode; Treatment n257) */
@media (prefers-contrast: more){
  body.dark{--ink-500:#C9D8E6;--ink-700:#DCE8F3}
  body.dark #view-client{--ink-500:#7A98B8;--ink-700:#A7C2D8}   /* the Client Display (lobby TV) keeps its colours exactly */
  body.dark .subnav .seg.active{color:#9BE7F2}
  body.dark :is(#filterBar .chip,#tableBody .reason,.attn .issue,span.issue,.ap-prio-btn span){color:#D3E0EE}
  body.dark :is(.prio.prio-1,#critIsland .ci-take,.badge-text){background:#A3161C!important;color:#fff!important}
  body.dark .prio.prio-3{color:#021508!important}
  body.dark .ap-prio-btn[data-prio="1"] b{color:#FFB3AD}
  body.dark .pvx-req{color:#FF9A90}
  body.dark :is(.rec-req,.ap-seg-btn.active){color:#9BE7F2}
  body.dark :is(.disp-other,.disp-other span){color:var(--ink-700);opacity:1}
  body.dark .card .wait.warn{color:#FBE29A}
  body.dark .us-flag.req{color:#A6EAF5}
  body.dark span.dd-md{color:#A9CFFF}
  body.dark .ap-prio-btn[data-prio="2"] b{color:#FFE08A}
}

/* ━━━━━ 42 of 68 · pvx-n338 ━━━━━ */
/* PVX-N338 - HIG Layout recheck (Flow) */
/* 1. iPhone tab bar: labels keep the tab bar's size at larger text, as iOS tab bars do (at 200 % they were 22 pt and ran into each other: "CommanPatients") */
@media (max-width:700px){
  html.pvx-tabbar #subnavFlow #switcher .seg{font-size:min(.6875rem,11px)}
  html.pvx-tabbar #subnavFlow #switcher .seg svg{width:min(1.5rem,28px);height:min(1.5rem,28px)}
}
/* 2. the patient drawer's header keeps clear of its Close button (on iPhone the Resuscitation button ran 7 pt under it) */
#drawer .drawer-head .d-name-row{flex-wrap:wrap;row-gap:6px;padding-right:52px;box-sizing:border-box}
/* 3. the critical banner's wait and reason wrap at larger text instead of being cut off ("Waitin…" on iPhone at 200 %) */
html.pvx-text-l #critIsland .ci-meta{white-space:normal;overflow:visible;text-overflow:clip}

/* ━━━━━ 43 of 68 · pvx-n339 ━━━━━ */
/* PVX-N339 - HIG Motion and SF Symbols (Flow) */
/* SF Symbols: the redrawn Close and chevron sit like their neighbours */
.us-x{display:grid;place-items:center;width:32px;height:32px;padding:0}
.us-x svg{width:min(1rem,24px);height:min(1rem,24px)}
@media (pointer:coarse){.us-x{width:44px;height:44px}}
.wd-action svg{width:min(.875rem,21px);height:min(.875rem,21px)}
/* Motion: brief on what people do all day (Brand 8): the drawer opens in 0.3 s (was 0.5 s); sheets fade in and grow from 98 % in 0.2 s (were a 0.42 s spring from 97 % and 4 % lower) */
.drawer{transition-duration:.3s}
@media (max-width:700px) and (prefers-reduced-motion:no-preference){ body .addpt-modal.pvx-ps.open{transition:transform .3s cubic-bezier(.32,.72,0,1),opacity 0s} }   /* iPhone sheets rise in 0.3 s (were 0.42 s) */
:is(.addpt-modal,.intake-modal,.us-modal){transform:translate(-50%,-50%) scale(.98);transition:opacity .2s var(--ease),transform .2s var(--ease)}
:is(.addpt-modal,.intake-modal,.us-modal).open{transform:translate(-50%,-50%) scale(1)}
/* Motion: no decorative loops (Brand 8). The search field's colour glow holds still while you type (it breathed every 2.8 s);
   the critical banner's red edge holds still (it breathed every 2.6 s); the banner's pulsing symbol stays the one live signal */
.search .search-wrap:focus-within::before{animation:none!important}
body.crit-active::after{animation:none!important;opacity:.85}
/* Reduce Motion: only fades remain (HIG Motion; Brand 8). The drawer, sheets, the add menu, search results and messages no longer slide, zoom or spin */
@media (prefers-reduced-motion:reduce){
  .drawer{opacity:0;transition:opacity .15s ease,transform 0s linear .15s!important}
  .drawer.open{opacity:1;transition:opacity .2s ease,transform 0s!important}
  :is(.addpt-modal,.intake-modal,.us-modal):not(.pvx-ps),:is(.addpt-modal,.intake-modal,.us-modal).open:not(.pvx-ps){transform:translate(-50%,-50%)!important;transition:opacity .2s ease!important}
  .ops-menu,.ops-menu.open,.search-results,.search-results.open{transform:none!important;transition:opacity .16s ease!important}
  .ops-item{animation:none!important}
  .fab-add svg{transition:none!important}
  .toast,.toast.show{transform:translateX(-50%)!important;transition:opacity .2s ease!important}
}

/* ━━━━━ 44 of 68 · pvx-n341 · pvx-n340: HIG Writing ━━━━━ */
/* PVX-N341 - the wait trend symbol sits with its number */
.wd-trend{display:inline-flex;align-items:center;justify-content:flex-end;gap:2px}
.wd-trend svg{width:min(.75rem,18px);height:min(.75rem,18px);flex:none}
.wd-trend{white-space:nowrap}
/* the average wait keeps to one line ("1h 10m" broke inside its pill) */
.wd-wait{white-space:nowrap}

/* ━━━━━ 45 of 68 · pvx-n342 ━━━━━ */
/* PVX-N342 - HIG Drag and drop: a card being dragged keeps its size (its hover details opened and pushed the column around mid-drag) */
.card.dragging .card-expand{max-height:0!important;opacity:0!important;margin-top:0!important;transition:none!important}
.card.dragging:hover{transform:scale(.97) rotate(1.5deg)}

/* ━━━━━ 46 of 68 · pvx-n344 ━━━━━ */
/* PVX-N344 - while loading: numbers are placeholders and empty states say "Loading patients…" (Brand 8; Treatment n235) */
.pvx-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html.pvx-flow-loading :is(#view-dashboard,#view-list,#view-flow,#view-rooms) :is(.empty,.empty-mini,#tableEmpty,.board-empty-state,.r-empty){position:relative}
html.pvx-flow-loading :is(#view-dashboard,#view-list,#view-flow,#view-rooms) :is(.empty,.empty-mini,#tableEmpty,.board-empty-state,.r-empty){color:transparent!important}
html.pvx-flow-loading :is(#view-dashboard,#view-list,#view-flow,#view-rooms) :is(.empty,.empty-mini,#tableEmpty,.board-empty-state,.r-empty) > *{visibility:hidden}
html.pvx-flow-loading :is(#view-dashboard,#view-list,#view-flow,#view-rooms) :is(.empty,.empty-mini,#tableEmpty,.board-empty-state,.r-empty)::after{
  content:"Loading patients…";visibility:visible;position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:0 12px;color:var(--ink-500)!important;font-size:0.8125rem;font-weight:500;text-transform:none;letter-spacing:normal}
html.pvx-flow-slow :is(#view-dashboard,#view-list,#view-flow,#view-rooms) :is(.empty,.empty-mini,#tableEmpty,.board-empty-state,.r-empty)::after{content:"Still loading patients — check the connection"}
html.pvx-flow-loading #view-dashboard .command-kpi{position:relative}
html.pvx-flow-loading #view-dashboard .command-kpi :is(.command-kpi__value,.command-kpi__sub,.command-kpi__chip,.command-kpi__spark,.command-kpi__rail){visibility:hidden}
html.pvx-flow-loading #view-dashboard .command-kpi::after{content:"";position:absolute;left:16px;top:58px;width:48px;height:22px;border-radius:7px;background:currentColor;opacity:.10;pointer-events:none}
html.pvx-flow-loading :is(#view-dashboard .badge-text,#view-dashboard .notification-badge,#filterBar .chip .cnt,#view-flow .cz-total,#view-flow .cz-count,#view-rooms .livepill,#view-rooms .r-state){visibility:hidden}

/* ━━━━━ 47 of 68 · pvx-n348 ━━━━━ */
/* PVX-N348 - HIG Printing: a staff view prints as the work itself, on white, whatever the screen's theme.
   Only Command, Patients, the board and Rooms; the lobby TV, the body tag and the consent copy keep their own print rules. */
#pvxPrintHead{display:none;}
.ops-item[data-op="print"] .ops-ic{background:rgba(120,140,165,.14);color:#9FB2C8;}
body:not(.dark) .ops-item[data-op="print"] .ops-ic{color:#52677C;}
.ops-item[data-op="print"] .ops-ic svg path:first-child{opacity:.45}
@media (prefers-contrast:more),(forced-colors:active){ .ops-item[data-op="print"] .ops-ic svg *{opacity:1!important} }
@media print{
  @page{margin:0.45in 0.45in 0.5in;}
  html:has(body.pvx-printing),body.pvx-printing{height:auto!important;min-height:0!important;overflow:visible!important;background:#fff!important;color-scheme:light!important;}
  body.pvx-printing{padding:0!important;color:#0B1B2A;-webkit-print-color-adjust:exact;print-color-adjust:exact;}
  body.pvx-printing > *:not(.app):not(#pvxPrintHead){display:none!important;}
  body.pvx-printing .app{display:block!important;height:auto!important;overflow:visible!important;}
  body.pvx-printing .app > *:not(#stage){display:none!important;}
  body.pvx-printing #stage{display:block!important;overflow:visible!important;height:auto!important;padding:0!important;}
  body.pvx-printing #stage > .view.hidden,body.pvx-printing #view-client{display:none!important;}
  body.pvx-printing #stage *{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;text-shadow:none!important;transition:none!important;}
  body.pvx-printing::before,body.pvx-printing::after{display:none!important;content:none!important;}
  body.pvx-printing #board{display:block!important;overflow:visible!important;height:auto!important;}
  body.pvx-printing #board > .col{width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0 0 12pt!important;overflow:visible!important;break-inside:avoid-page;}
  body.pvx-printing #board > .col .col-body{overflow:visible!important;height:auto!important;display:grid!important;grid-template-columns:1fr 1fr;gap:8pt 10pt;align-items:start;}
  body.pvx-printing #board > .col > :first-child{break-after:avoid;}
  body.pvx-printing #stage :is(.footer-bar,.site-footer,.version-bar),body.pvx-printing #stage :is(.footer-bar,.site-footer,.version-bar) *{background:transparent!important;color:#52677C!important;}
  body.pvx-printing #stage :is(.footer-bar,.site-footer,.version-bar){border-top:.75pt solid #9AAABB!important;break-inside:avoid;}
  body.pvx-printing #pvxPrintHead{display:flex!important;justify-content:space-between;align-items:baseline;gap:16px;font:600 9pt/1.3 -apple-system,"SF Pro Text","Helvetica Neue",Arial,sans-serif;color:#33475B;border-bottom:.75pt solid #9AAABB;padding:0 0 5pt;margin:0 0 10pt;}
  body.pvx-printing #pvxPrintHead span:last-child{font-weight:500;color:#52677C;}
  body.pvx-printing #stage :is(.card,.kpi,.p-row,tr,.rm-card,.room-card,.attn-item,.wd-row,.col-head,.column-head){break-inside:avoid;}
  body.pvx-printing #stage :is(h1,h2,h3,.sec-title,.col-title){break-after:avoid;}
  body.pvx-printing #stage thead{display:table-header-group;}
  body.pvx-printing #stage :is(button.seg,.fab-add,.pvx-skey,.r-cta,.attn-clear,.dd-btn,.filter-dd){box-shadow:none!important;}
}

/* ━━━━━ 48 of 68 · pvx-n349 ━━━━━ */
/* PVX-N349 - HIG Searching + Settings */
#fvTalk[hidden]{display:none!important}
.ops-item[data-op="voice"] .ops-ic{background:rgba(120,140,165,.14);color:#9FB2C8}
body:not(.dark) .ops-item[data-op="voice"] .ops-ic{color:#52677C}
.ops-item[hidden]{display:none!important}
.pvx-scope{display:none;margin:4px 0 0;font-size:.8125rem;line-height:1.3;color:var(--ink-500)}
.pvx-scope.on{display:block}
.pvx-scope b{color:var(--ink-800,#0B1B2A);font-weight:600}
body.dark .pvx-scope b{color:#E6EEF6}
.pvx-scope button{margin-left:8px;vertical-align:baseline;appearance:none;border:0;background:var(--fill-soft,rgba(120,140,165,.14));color:inherit;font:inherit;font-weight:600;font-size:.75rem;padding:4px 10px;border-radius:999px;cursor:pointer;min-height:24px}
.pvx-scope button:hover{color:var(--ink-800,#0B1B2A)}
body.dark .pvx-scope button:hover{color:#fff}
.pvx-scope button:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:2px}
@media (pointer:coarse){ .pvx-scope button{min-height:32px;padding:6px 12px} }
#searchResults .pvx-dym b{color:var(--sr-t,inherit)}
#searchResults .sr-group:has(> .pvx-rclear){position:relative}
#searchResults .pvx-rclear{position:absolute;top:9px;right:12px;appearance:none;border:0;background:none;color:var(--accent,#38BDD2);font-size:.75rem;font-weight:600;cursor:pointer;padding:2px 4px;border-radius:4px}
body:not(.dark) #searchResults .pvx-rclear{color:#0F6B82}
#searchResults .pvx-rclear:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:2px}
@media print{ .pvx-scope.on{display:block!important} .pvx-scope button{display:none!important} }

/* ━━━━━ 49 of 68 · pvx-n350 ━━━━━ */
/* PVX-N350 - HIG Undo and redo: what an undo or redo changed is shown where it happened */
.pvx-touched{outline:2px solid var(--accent,#38BDD2)!important;outline-offset:2px;animation:pvxTouch 1.6s ease-out forwards}
tr.pvx-touched{outline-offset:-2px}
@keyframes pvxTouch{0%{outline-color:var(--accent,#38BDD2)}70%{outline-color:var(--accent,#38BDD2)}100%{outline-color:transparent}}
@media (prefers-reduced-motion:reduce){ .pvx-touched{animation:none} }

/* ━━━━━ 50 of 68 · pvx-n351 ━━━━━ */
/* PVX-N351 - HIG Text views: longer texts grow with what's typed, up to 40% of the window, then scroll */
:is(#alertMessage,#alertNote,#intakeModal .ik-area,#usCQ,#usDx).pvx-grow{resize:none;overflow-y:hidden}
:is(#alertMessage,#alertNote,#intakeModal .ik-area,#usCQ,#usDx).pvx-grow.pvx-grow-max{overflow-y:auto}

/* ━━━━━ 51 of 68 · pvx-n352 ━━━━━ */
/* PVX-N352 - HIG Boxes: the intern supervision box gets a title, styled like the drawer's other section titles */
#pv-intern > .pvx-box-t{margin:0 0 10px}

/* ━━━━━ 52 of 68 · pvx-n353 ━━━━━ */
/* PVX-N353 - HIG Disclosure controls: the drawer's three in-place reveals (Triage details, Messages, Timeline) are one kind of
   control, a disclosure triangle at the leading edge: pointing in when closed, down when open (as in Rounds). Before, Triage and
   Messages were disclosure buttons (trailing, down then up) and Timeline a trailing arrow, so one drawer had three styles. */
.tri-head .tri-chev{order:-1;margin-right:-4px}
.tri-card .tri-chev{transform:rotate(-90deg)}
.tri-card.open .tri-chev{transform:none}
.tri-chev[role=button]{border-radius:6px;cursor:pointer}
.tri-chev[role=button]:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:2px}
.tri-card:not(.open) .tri-detail{visibility:hidden;transition:max-height .42s var(--ease),opacity .3s var(--ease),visibility 0s linear .42s}
.tri-card.open .tri-detail{visibility:visible;transition:max-height .42s var(--ease),opacity .3s var(--ease),visibility 0s}
#commHead .comm-chev{order:-1;transform:rotate(90deg)}
#commHead[aria-expanded="true"] .comm-chev{transform:rotate(180deg)}
#commHead{justify-content:flex-start;gap:8px}
#commHead .comm-headwrap{flex:1;min-width:0}
#dTimelineHead{justify-content:flex-start;gap:8px}
#dTimelineHead .tl-head-right{display:contents}
#dTimelineHead .tl-chevron{order:-1}
#dTimelineHead .timeline-today{margin-left:auto}
[dir=rtl] .tri-card .tri-chev{transform:rotate(90deg)} [dir=rtl] .tri-card.open .tri-chev{transform:none}
[dir=rtl] #commHead .comm-chev{transform:rotate(-90deg)} [dir=rtl] #commHead[aria-expanded="true"] .comm-chev{transform:rotate(180deg)}
[dir=rtl] #dTimelineHead .tl-chevron{transform:scaleX(-1)} [dir=rtl] #dTimelineHead[aria-expanded="true"] .tl-chevron{transform:rotate(90deg)}
@media (prefers-reduced-motion:reduce){ .tri-card .tri-chev,#commHead .comm-chev,#dTimelineHead .tl-chevron{transition:none} }

/* ━━━━━ 53 of 68 · pvx-n354 ━━━━━ */
/* PVX-N354 - HIG Lists and tables */
/* 1. the open patient's row (Patients) and card (the board) stay highlighted while the drawer is open */
#tableBody tr.pvx-current > td{background:rgba(56,189,210,.10)}
#tableBody tr.pvx-current > td:first-child{box-shadow:inset 3px 0 0 var(--accent,#38BDD2)}
body:not(.dark) #tableBody tr.pvx-current > td{background:rgba(15,107,130,.08)}
body:not(.dark) #tableBody tr.pvx-current > td:first-child{box-shadow:inset 3px 0 0 #0F6B82}
#board .card.pvx-current{outline:2px solid var(--accent,#38BDD2);outline-offset:1px}
body:not(.dark) #board .card.pvx-current{outline-color:#0F6B82}
@media (forced-colors:active){ #tableBody tr.pvx-current > td{background:Highlight;color:HighlightText} #board .card.pvx-current{outline-color:Highlight} }
/* 2. column headings sort the list */
thead th[data-sort] .pvx-th{appearance:none;border:0;background:none;padding:0;margin:0;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:4px;border-radius:4px}
thead th[data-sort] .pvx-th:hover{color:var(--ink-700)}
thead th[data-sort] .pvx-th:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:2px}
thead th[aria-sort] .pvx-th{color:var(--ink-800,#0B1B2A)} body.dark thead th[aria-sort] .pvx-th{color:#E6EEF6}
thead th .pvx-sort{width:10px;height:10px;display:inline-block}
thead th .pvx-sort svg{width:10px;height:10px;display:block}
thead th:not([aria-sort]) .pvx-sort{visibility:hidden}
thead th[aria-sort=descending] .pvx-sort svg{transform:rotate(180deg)}
#pvxSortReset{appearance:none;border:0;background:none;font:inherit;font-weight:600;color:var(--accent,#38BDD2);cursor:pointer;padding:0 0 0 6px}
body:not(.dark) #pvxSortReset{color:#0F6B82}
#pvxSortReset[hidden]{display:none}
@media print{ #pvxSortReset{display:none!important} }

/* ━━━━━ 54 of 68 · pvx-n356 ━━━━━ */
/* PVX-N356 - HIG Activity views: Copy and Share are two buttons in the tracker card, each with its symbol */
.msg-track .mt-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.msg-track .mt-acts .mt-copy{margin-top:0;display:inline-flex;align-items:center;gap:6px}
.msg-track .mt-acts .mt-copy svg{width:.875rem;height:.875rem;flex:none}
.msg-track .mt-acts .mt-copy[hidden]{display:none}
body:not(.dark) .msg-track .mt-copy{color:#0F6B82}
.msg-track .mt-copy:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:2px}
@media (pointer:coarse){ .msg-track .mt-acts .mt-copy{min-height:44px;padding:0 14px;font-size:.8125rem} }

/* ━━━━━ 55 of 68 · pvx-n357 ━━━━━ */
/* PVX-N357 - HIG Buttons + Context menus */
/* the "Waiting on …" button on a board card */
button.fv-wait-chip{appearance:none;-webkit-appearance:none;text-align:left;line-height:1.25}
button.fv-wait-chip{padding-right:6px}
button.fv-wait-chip{white-space:normal;border-radius:12px;max-width:100%}
button.fv-wait-chip .fvw-t{min-width:0;overflow-wrap:anywhere}   /* a long flag wraps rather than hiding its words or the ✕ (Brand §4) */
button.fv-wait-chip small{flex:none}
button.fv-wait-chip .fvw-x{width:.875rem;height:.875rem;flex:none;margin-left:2px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;opacity:.75}
button.fv-wait-chip:hover .fvw-x{opacity:1}
button.fv-wait-chip:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:2px}
@media (pointer:coarse){
  body:not(.tv-mode) #board button.fv-wait-chip{min-height:0;min-width:0;position:relative;overflow:visible}
  body:not(.tv-mode) #board button.fv-wait-chip::after{content:"";position:absolute;left:0;right:0;top:calc(50% - 22px);height:44px}
}
/* a press state for the rows and tiles that open something: Patients rows darken (rows only darken), Rooms' tiles darken and settle */
#tableBody tr[data-pid]:active > td{background:rgba(120,140,165,.16)}
body:not(.dark) #tableBody tr[data-pid]:active > td{background:rgba(15,23,42,.07)}
#view-rooms .room:active{filter:brightness(.9);scale:.985}
@media (prefers-reduced-motion:reduce){ #view-rooms .room:active{scale:none} }
/* the context menu's icons and chevrons */
.pvx-cx-list button .i{flex:none;display:inline-flex;width:1rem;height:1rem;opacity:.85}
.pvx-cx-list button .i svg,.pvx-cx-list button .c svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pvx-cx-list button .c{display:inline-flex;width:.875rem;height:.875rem}
@media (pointer:coarse){ .pvx-cx-list button .i{width:1.125rem;height:1.125rem} }
@media (pointer:coarse){#view-dashboard .attn-item[data-pid]{-webkit-touch-callout:none}}

/* ━━━━━ 56 of 68 · pvx-n360 ━━━━━ */
/* PVX-N360 - HIG Pop-up buttons */
.dd-panel.dd-short .dd-search{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;padding:0;margin:0}
.dd-opt.dd-none{border-bottom:1px solid var(--glass-hairline,rgba(120,140,165,.18));border-radius:8px 8px 0 0;margin-bottom:4px;padding-bottom:9px;color:var(--ink-500)}

/* ━━━━━ 57 of 68 · pvx-n361 ━━━━━ */
/* PVX-N361 - HIG Search fields */
@media (min-width:1025px){ .search{width:440px;max-width:31vw} }   /* a wide Mac window (over 1400 pt): room for the whole placeholder */
@media (min-width:1025px) and (max-width:1400px){ .search{width:310px} }   /* n184's size classes */
.dd-search input{padding-right:34px}
.dd-clear{position:absolute;right:16px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:999px;background:transparent;color:var(--ink-400);cursor:pointer}
.dd-clear[hidden]{display:none}
.dd-clear svg{position:static;transform:none;width:18px;height:18px;left:auto;top:auto}
.dd-clear:hover{color:var(--ink-900)}
/* a choice's whole name and load show; a long one wraps rather than ending in "…" (Brand §4) */
.dd-opt .dd-name{white-space:normal;overflow:visible;text-overflow:clip;display:flex;flex-wrap:wrap;align-items:baseline;row-gap:1px;overflow-wrap:anywhere;line-height:1.3}
.dd-opt{min-height:44px;height:auto}
.dd-trigger .dd-name{white-space:normal;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.2;overflow-wrap:anywhere}   /* the button's choice, on two lines if it must */
.fg-search input::-webkit-search-cancel-button,.fg-search input::-webkit-search-decoration{-webkit-appearance:none;display:none}
.fg-x{flex:0 0 auto;display:grid;place-items:center;width:24px;height:24px;margin-right:-4px;padding:0;border:0;border-radius:999px;background:transparent;color:var(--fg-l2);cursor:pointer}
.fg-x svg{width:18px!important;height:18px!important}
.fg-x:hover{color:var(--fg-l1)}
.fg-x{position:relative}
@media (pointer:coarse){ .dd-clear::after,.fg-x::after{content:"";position:absolute;inset:-10px} }

/* ━━━━━ 58 of 68 · pvx-n364 ━━━━━ */
/* PVX-N364 - HIG Token fields */
.rvp-chip-x{display:inline-grid;place-items:center;position:relative}
.rvp-chip-x .rvp-x-ic{width:14px;height:14px;display:block}
@media (pointer:coarse){ .rvp-chip-x::after{content:"";position:absolute;inset:-6px} }   /* 44 pt with the 32 pt button */

/* ━━━━━ 59 of 68 · pvx-n365 ━━━━━ */
/* PVX-N365 - HIG Gauges and Progress indicators */
.pvx-spin{display:inline-block;width:14px;height:14px;margin-right:8px;vertical-align:-2px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;opacity:.75;animation:pvxSpin .8s linear infinite;flex:none}
.pvx-spin-l{display:block;width:28px;height:28px;border-width:3px;margin:0 auto 18px}
@keyframes pvxSpin{to{transform:rotate(360deg)}}
@keyframes pvxSpinFade{from{opacity:.95}to{opacity:.25}}
@keyframes pvxWaitPulse{from{opacity:.05}to{opacity:.16}}
.pvx-wait{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 0}
.pvx-wait-retry{border:0;background:none;padding:0 4px;min-height:32px;color:var(--accent,#38BDD2);font:inherit;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
@media (pointer:coarse){ .pvx-wait-retry{min-height:44px} }
html.pvx-flow-loading #view-dashboard .command-kpi::after{animation:pvxWaitPulse 1.1s ease-in-out infinite alternate}
/* Reduce Motion: progress keeps moving (fades, not spins); n188 had stopped it */
@media (prefers-reduced-motion:reduce){
  .fvd-spin,.otw-spin,#flowNet .fn-spin,.pvx-spin{animation:pvxSpinFade .9s ease-in-out infinite alternate!important}
  html.pvx-flow-loading #view-dashboard .command-kpi::after{animation:pvxWaitPulse 1.1s ease-in-out infinite alternate!important}
  .undo-toast.open .undo-progress{animation:undoDeplete 5s linear forwards!important}
}

/* ━━━━━ 60 of 68 · pvx-n366 ━━━━━ */
/* PVX-N366 - HIG Alerts: three stacked choices are 44 pt on touch, like two */
@media (pointer:coarse){ #confirmBox.has-alt .confirm-actions .btn{min-height:44px} }

/* ━━━━━ 61 of 68 · pvx-n370 ━━━━━ */
/* PVX-N370 - HIG Sheets and Windows (second look) */
/* 1. the critical-patient banner steps behind an open sheet or alert, dimmed with the page (it was drawn over them) */
body.pvx-ci-under #critIsland{z-index:96!important}
/* 2. iPhone sheets for the shells n211 didn't cover (Assign to Dr. …, the Ultrasound request): from the bottom, full width */
@media (max-width:700px){
  body :is(.intake-modal,.us-modal).pvx-ps{top:auto!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;max-width:100%!important;
    max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);border-radius:20px 20px 0 0!important;border-bottom:0;display:flex;flex-direction:column;
    transform:translateY(100%);opacity:0;padding-bottom:env(safe-area-inset-bottom,0px);transition:transform .36s cubic-bezier(.32,.72,0,1),opacity 0s linear .36s}
  body :is(.intake-modal,.us-modal).pvx-ps.open{transform:none;opacity:1;transition:transform .42s cubic-bezier(.32,.72,0,1),opacity 0s}
  body :is(.intake-modal,.us-modal).pvx-ps.pvx-ps-drag{transition:none}
  body :is(.intake-modal,.us-modal).pvx-ps>:is(.intake-body,.us-body,#assignBody){flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
  body .us-modal.pvx-ps .us-head>div.aph-title{display:block;text-align:center;min-width:0}
  body .us-modal.pvx-ps .us-h-t{text-transform:none;letter-spacing:-.01em;font-size:1.0625rem;font-weight:600;line-height:1.25;color:inherit;margin:0}
  body .us-modal.pvx-ps :is(.us-h-name,.us-h-sub){font-size:.75rem;font-weight:500;line-height:1.3;margin:1px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body .us-modal.pvx-ps .us-h-sub{opacity:.75}
  body .pvx-ps .addpt-head .us-x.pvx-ps-btn svg{width:18px;height:18px}
}
@media (max-width:700px) and (prefers-reduced-motion:reduce){body :is(.intake-modal,.us-modal).pvx-ps,body :is(.intake-modal,.us-modal).pvx-ps.open{transition:none}}
/* 3. Mac and iPad: a sheet that has Cancel has no ✕ as well (kept, out of sight, as Esc's target) */
@media (min-width:701px){ .pvx-nox :is(.addpt-head,.intake-head)>.close{display:none!important} }

/* ━━━━━ 62 of 68 · pvx-n371 ━━━━━ */
/* PVX-N371 - HIG Combo boxes */
/* a hospital's address wraps instead of being cut off (Combo boxes: list items no wider than the field) */
.hv-sub{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;line-height:1.3}
/* group headings in a list: Recent / All hospitals, Often from */
.pvx-grp{padding:8px 12px 4px;font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-500,#8A97AA);pointer-events:none}
#otwTowns .pvx-grp{padding:6px 10px 2px}
/* the combo box's pull-down button: Mac (mouse or trackpad) only */
.pvx-cbx{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:26px;height:26px;border:0;border-radius:7px;background:transparent;color:var(--ink-500,#8A97AA);
  display:none;place-items:center;cursor:pointer;padding:0;z-index:1}
.pvx-cbx svg{width:14px;height:14px;display:block;transition:transform .18s ease}
.pvx-cbx[aria-expanded="true"] svg{transform:rotate(180deg)}
.pvx-cbx:hover{color:var(--ink-900,#EEF1F6);background:rgba(127,127,127,.12)}
.pvx-cbx:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:1px}
@media (hover:hover) and (pointer:fine){ .pvx-cbx{display:grid} .pvx-cbx-on>.ap-input{padding-right:36px} }
@media (prefers-reduced-motion:reduce){ .pvx-cbx svg{transition:none} }

/* ━━━━━ 63 of 68 · pvx-n372 ━━━━━ */
/* PVX-N372 - HIG Segmented controls: one kind of content per control (text), where Arrival type is a segmented row */
@media (min-width:701px){ #apArrival .ap-seg-btn>svg{display:none} }
.alert-types .alert-type:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:2px}

/* ━━━━━ 64 of 68 · pvx-n373 ━━━━━ */
/* PVX-N373 - HIG Steppers: On the way's minutes say their unit; no browser arrows */
.otw-minw{display:inline-flex;align-items:center;gap:6px}.otw-minu{font-weight:600;color:var(--ink-700)}

/* ━━━━━ 65 of 68 · pvx-n374 ━━━━━ */
/* PVX-N374 - HIG Text fields, Toggles, Virtual keyboards */
.pvx-clr{position:fixed;z-index:10060;width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:50%;padding:0;margin:0;background:none;color:inherit;cursor:pointer}
.pvx-clr[hidden]{display:none}.pvx-clr::before{content:"";position:absolute;inset:-8px}
.pvx-clr svg{width:16px;height:16px;padding:3px;border-radius:50%;background:rgba(150,185,220,.24);box-sizing:content-box}
body:not(.dark) .pvx-clr svg{background:rgba(12,41,82,.12)}
input.pvx-hasclr{padding-right:48px!important}
html.pvx-kb.pvx-tabbar #subnavFlow #switcher{display:none!important}
html.pvx-kb.pvx-tabbar body{padding-bottom:env(safe-area-inset-bottom,0px)!important}

/* ━━━━━ 66 of 68 · pvx-n375 ━━━━━ */
/* PVX-N375 - HIG App Shortcuts: Flow's shortcuts are findable */
.pvx-ks .pvx-ks-how{margin:2px 0 8px;font-size:.8125rem;color:var(--ink-700,#9fb3c8)}
.pvx-ks .pvx-ks-ic{list-style:none;margin:0;padding:0}.pvx-ks .pvx-ks-ic li{display:flex;justify-content:space-between;gap:16px;padding:6px 0;font-size:.875rem}
.pvx-ks .pvx-ks-ic li span{color:var(--ink-700,#9fb3c8);text-align:right}

/* ━━━━━ 67 of 68 · pvx-n376 ━━━━━ */
/* PVX-N376 - HIG Notifications */
.note.n-open{cursor:pointer}.note.n-open:hover{border-color:var(--accent,#38BDD2)}
.note .n-go{all:unset;font:inherit;color:inherit;cursor:pointer;display:block}.note .n-go:focus-visible{outline:2px solid var(--accent,#38BDD2);outline-offset:2px;border-radius:4px}
.fg-ntf .fg-nk{text-transform:uppercase}
/* Talk to Flow's card on iPhone: the patient's name is whole (it was cut to "Pri…"); the buttons take their own line */
@media (max-width:700px){ #fvPanel .fv-act .fv-t{min-width:calc(100% - 50px)} #fvPanel .fv-t b{white-space:normal} #fvPanel .fv-btns{margin-left:auto} }
/* staff messages carry patient and owner names: never over the Client Display in full screen or on the lobby TV */
body.tv-mode .notes,body.fs-mode .notes{display:none!important}

/* ━━━━━ 68 of 68 · pvx-n377 ━━━━━ */
/* PVX-N377 - a message's link is styled here, not inline */
.note .n-sub a,.note .n-title a{color:var(--accent,#38BDD2);font-weight:700;text-decoration:none}
