/* wcen.css — Ward board (lane 7; mod_l7_wcen.json "css"). A table on a computer, a card per patient under 600 px (no sideways scroll).
   Tap targets 44 px and 8 px apart (UX-M1). Grey = no value / no news; a pencil = typed by hand over the WhatsApp value. */
.wcenapp { max-width: 1280px; }
.wcenapp .uifresh { margin: 2px 0 10px; }
.wc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 4px; }
.wc-addbtn, .wc-save, .wc-cancel, .wc-fold, .wc-use, .wc-open { min-height: 44px; min-width: 44px; }
.wc-addbtn { background: var(--accent); color: #fff; padding: 6px 16px; }
.wc-count { color: var(--muted); font-size: 14px; }
.wc-status { margin: 4px 0; min-height: 20px; font-size: 14px; color: var(--ok); }
.wc-sec { margin: 14px 0 22px; }
.wc-sec h2 { font-size: 15px; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .03em; color: var(--accent); }
.wc-n { display: inline-block; min-width: 22px; text-align: center; background: var(--accent-2); color: var(--accent); border-radius: 11px; font-size: 12px; padding: 1px 7px; margin-left: 4px; letter-spacing: 0; }
.wc-fold { background: none; border: 0; color: var(--accent); font: inherit; text-transform: inherit; letter-spacing: inherit; padding: 0 4px; cursor: pointer; }
.wc-fold::before { content: '▸ '; } .wc-fold[aria-expanded=true]::before { content: '▾ '; }
.wc-empty { color: var(--muted); padding: 14px 0; }
.wc-t { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.wc-t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--accent-2); position: sticky; top: 0; }
.wc-t td { padding: 8px 10px; vertical-align: top; border-bottom: 1px solid var(--line2); font-size: 14px; }
.wc-r { cursor: pointer; } .wc-r:hover td { background: #f6f9fb; } .wc-r.open td { background: var(--accent-2); }
.wc-c-bed { width: 130px; } .wc-c-doa { width: 100px; } .wc-c-sd { width: 110px; } .wc-c-name { width: 210px; }
.wc-v { font-weight: 600; } .wc-c-dx .wc-v, .wc-c-sx .wc-v { font-weight: 400; }
.wc-bedn { font-size: 15px; }
.wc-sub { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.wc-nil { color: #657079; }
.wc-man { color: var(--accent); margin-left: 4px; font-size: 12px; cursor: help; }
.wc-ot { margin-left: 6px; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 0 5px; }
.wc-open { background: none; border: 0; padding: 0 4px 0 0; margin: 0; text-align: left; font: inherit; font-weight: 600; color: var(--ink, inherit); cursor: pointer; }
.wc-pt { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 8px; font-size: 12px; }
.wc-g-nonews td, .wc-left .wc-r td { color: var(--muted); } .wc-g-nonews .wc-v, .wc-left .wc-v { font-weight: 400; }
.wc-quiet { color: #b45309; }
.wc-edit td { background: #fbfcfd; padding: 12px 14px; }
.wc-form { max-width: 980px; }
.wc-add { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fff; margin: 8px 0 14px; }
.wc-add h2 { margin-top: 0; }
.wc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; }
.wc-f { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.wc-f input, .wc-f select { min-height: 44px; font-size: 15px; width: 100%; box-sizing: border-box; }
.wc-wa { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.wc-use { background: none; border: 0; color: var(--accent); text-decoration: underline; padding: 0 4px; font-size: 12px; cursor: pointer; }
.wc-trail { margin: 0 0 8px; font-size: 13px; } .wc-trail b { color: var(--accent); margin-right: 6px; }
.wc-hint { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.wc-err { color: #b42318; margin: 8px 0 0; font-size: 14px; }
.wc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.wc-save { background: var(--accent); color: #fff; padding: 6px 22px; }
@media (max-width: 1024px) { .wc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .wc-t, .wc-t tbody { display: block; border: 0; background: none; } .wc-t thead { display: none; }
  .wc-t tr.wc-r { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 0 0 8px; }
  .wc-t tr.wc-r.open { border-color: var(--accent); }
  .wc-t tr.wc-r td { display: block; border: 0; padding: 0; width: auto; background: none !important; }
  .wc-r td::before { content: attr(data-l); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 400; }
  .wc-c-name { grid-column: 1 / -1; order: -2; } .wc-c-name::before { display: none; }
  .wc-c-bed { order: -1; } .wc-c-doa { order: -1; }
  .wc-c-dx { grid-column: 1 / -1; } .wc-c-sx { grid-column: 1 / -1; }
  .wc-c-sd { order: 1; } .wc-c-dx { order: 2; } .wc-c-sx { order: 3; }
  .wc-open { font-size: 17px; }
  .wc-t tr.wc-edit { display: block; margin: -4px 0 10px; } .wc-t tr.wc-edit td { display: block; border: 1px solid var(--accent); border-radius: 10px; padding: 10px 12px; }
  .wc-grid { grid-template-columns: 1fr; }
  .wc-btns button { flex: 1 1 120px; }
}

/* Lab results under a patient (19-Nov-2026): tests as rows, dates as columns; H red, L blue; a card list under 600 px */
.wc-labbtn { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 12px; margin-left: 4px; font-size: 12px; background: var(--accent-2); color: var(--accent); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.wc-labs > td { background: #fbfcfd; padding: 6px 10px 12px; }
.wc-labwrap { overflow-x: auto; }
.wc-lt { border-collapse: collapse; font-size: 13px; background: #fff; border: 1px solid var(--line); }
.wc-lt th, .wc-lt td { padding: 5px 9px; border-bottom: 1px solid var(--line2); text-align: right; white-space: nowrap; }
.wc-lt thead th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.wc-lt tbody th { text-align: left; font-weight: 600; } .wc-lt th:first-child, .wc-lt .wc-ref { text-align: left; }
.wc-lt small { color: var(--muted); font-weight: 400; }
.wc-lt .wc-hi { color: #b42318; font-weight: 700; } .wc-lt .wc-lo { color: #1d4ed8; font-weight: 700; } .wc-lt .wc-ref { color: var(--muted); }
@media (max-width: 600px) { .wc-t tr.wc-labs { display: block; margin: -4px 0 10px; } .wc-t tr.wc-labs > td { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 8px; } .wc-lt tbody th { position: sticky; left: 0; background: #fff; } .wc-lt { font-size: 12px; } .wc-lt th, .wc-lt td { padding: 5px 6px; } }

/* Workstation (21-Nov-2026): the tools strip on top + a "Tasks & papers" panel per patient (round, papers, letters). 44 px targets, wraps on a phone. */
.wc-tg h2, .wc-tg h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin: 0 0 4px; }
.wc-blinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.wc-xblock { display: block; margin-top: 6px; }
.wc-tool, .wc-act, .wc-wsbtn, .wc-link, .wc-unlink { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 12px; font-size: 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--accent); text-decoration: none; cursor: pointer; box-sizing: border-box; }
.wc-act { background: var(--accent); color: #fff; border-color: var(--accent); }
.wc-wsbtn { margin: 4px 4px 0 0; background: var(--accent-2); font-weight: 600; }
.wc-wsbtn small { font-weight: 400; color: var(--muted); margin-left: 2px; }
.wc-ws > td { background: #fbfcfd; padding: 10px 14px 14px; }
.wc-wsbox { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 18px; }
.wc-wsbox > .wc-trail, .wc-wsbox > .wc-hint, .wc-wsbox > .wc-err, .wc-wsbox > form, .wc-wsbox > .wc-found, .wc-wsbox > .wc-btns { grid-column: 1 / -1; }
.wc-wl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wc-wl li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.wc-b { color: var(--muted); font-size: 12px; } .wc-warn { color: #b45309; font-weight: 600; }
.wc-found { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wc-found li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line2); padding-bottom: 6px; }
.wc-find .wc-f input { max-width: 420px; }
@media (max-width: 600px) {
  .wc-t tr.wc-ws { display: block; margin: -4px 0 10px; } .wc-t tr.wc-ws > td { display: block; border: 1px solid var(--accent); border-radius: 10px; padding: 10px; }
  .wc-tool, .wc-act { flex: 1 1 auto; }
}

/* Ward Brain (22-Nov-2026): a chip on the name cell (red / amber by the worst unread insight; a quiet "Brain" button when none) + a panel under the row:
   insight cards on the left, "Add details" / "Ask the brain" on the right (stacked under 900 px). 44 px targets. */
.wc-brainbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 12px; margin: 4px 4px 0 0; font-size: 12px; font-weight: 600; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--accent); cursor: pointer; }
.wc-brainbtn.wc-b-none { color: var(--muted); font-weight: 400; }
.wc-brainbtn.wc-b-red { background: #fde8e6; border-color: #e5877f; color: #b42318; }
.wc-brainbtn.wc-b-amber { background: #fef3dc; border-color: #e0b04f; color: #92400e; }
.wc-brainbtn.wc-b-info { background: var(--accent-2); color: var(--accent); }
.wc-bn { display: inline-block; min-width: 20px; text-align: center; border: 1px solid currentColor; border-radius: 10px; padding: 0 6px; font-size: 12px; line-height: 18px; }
.wc-brain > td { background: #fbfcfd; padding: 10px 14px 14px; }
.wc-bcols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 14px 22px; align-items: start; }
.wc-bins, .wc-bask { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wc-bc { background: #fff; border: 1px solid var(--line); border-left-width: 5px; border-radius: 8px; padding: 8px 12px 10px; }
.wc-bc-red { border-left-color: #d92d20; } .wc-bc-amber { border-left-color: #e0a100; } .wc-bc-info { border-left-color: #6b8aa6; }
.wc-bc-done { opacity: .7; }
.wc-bc header { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.wc-bc header small { color: var(--muted); font-size: 12px; }
.wc-sev { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-radius: 8px; padding: 1px 8px; }
.wc-sev-red { background: #fde8e6; color: #b42318; } .wc-sev-amber { background: #fef3dc; color: #92400e; } .wc-sev-info { background: var(--accent-2); color: var(--accent); }
.wc-bt { margin: 6px 0 2px; font-size: 15px; }
.wc-bb { font-size: 14px; overflow-wrap: anywhere; } .wc-bb p, .wc-bb h4 { margin: 3px 0; } .wc-bb h4 { font-size: 13px; color: var(--accent); }
.wc-bb ul, .wc-bb ol { margin: 3px 0; padding-left: 20px; } .wc-bb code { font-size: 12px; background: var(--accent-2); padding: 0 4px; border-radius: 4px; }
.wc-bmore, .wc-bm { min-height: 44px; min-width: 44px; padding: 0 14px; font-size: 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--accent); cursor: pointer; }
.wc-bmore { border: 0; background: none; text-decoration: underline; padding: 0 4px; }
.wc-bm.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.wc-bact { margin-top: 6px; }
.wc-bform textarea { width: 100%; box-sizing: border-box; min-height: 88px; font: inherit; font-size: 15px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; }
.wc-bform .wc-btns { margin-top: 6px; }
.wc-pend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wc-pend li { color: #8a949c; font-size: 13px; border-left: 3px solid var(--line); padding-left: 8px; overflow-wrap: anywhere; }
.wc-pend-failed { color: #b45309 !important; }
@media (max-width: 1024px) { .wc-bcols { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .wc-t tr.wc-brain { display: block; margin: -4px 0 10px; } .wc-t tr.wc-brain > td { display: block; border: 1px solid var(--accent); border-radius: 10px; padding: 10px; } .wc-bact .wc-bm { flex: 1 1 90px; } }

/* Ward chart (Ward Brain v2, 22-Nov-2026): a "Chart" button + a panel under the row with 8 tabs, SVG charts, source chips and the MO quick-entry sheet. 44 px targets; 600 / 1024 breakpoints only. */
.wc-chartbtn, .wc-ctab, .wc-addent, .wc-src, .wc-void, .wc-ctab-go { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 12px; font-size: 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--accent); cursor: pointer; }
.wc-chartbtn { margin: 4px 4px 0 0; font-weight: 600; background: var(--accent-2); }
.wc-chart > td { background: #fbfcfd; padding: 10px 14px 14px; }
.wc-cbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 4px 0 8px; }
.wc-addent { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 600; }
.wc-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.wc-ctab { flex: 0 0 auto; } .wc-ctab.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.wc-h { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin: 12px 0 4px; }
.wc-redbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; background: #fde8e6; border: 1px solid #e5877f; border-left: 6px solid #d92d20; color: #b42318; border-radius: 8px; padding: 8px 12px; margin-bottom: 8px; }
.wc-redbar span { flex: 1 1 200px; }
.wc-ctab-go { border-color: #b42318; color: #b42318; }
.wc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.wc-tile { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.wc-tile > span { font-size: 11px; text-transform: uppercase; color: var(--muted); } .wc-tile b { font-size: 20px; } .wc-tile b small { font-size: 11px; font-weight: 400; margin-left: 2px; color: var(--muted); }
.wc-tile.warm { border-color: #e0b04f; background: #fef3dc; } .wc-tile.hot { border-color: #e5877f; background: #fde8e6; color: #b42318; }
.wc-src { min-height: 44px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 0 8px; }
.wc-src-wa { color: #0e7a3a; } .wc-src-mo { color: #1d4ed8; } .wc-src-dr { color: #7c3aed; } .wc-src-lab { color: #92400e; } .wc-src-img, .wc-src-pdf, .wc-src-sheet, .wc-src-voice { color: #475467; }
.wc-void { font-size: 12px; color: var(--muted); } .wc-void.ask { color: #b42318; border-color: #b42318; }
.wc-ref { flex-basis: 100%; margin: 2px 0 4px; font-size: 13px; background: var(--accent-2); border-radius: 6px; padding: 4px 8px; overflow-wrap: anywhere; } .wc-ref q { font-style: normal; }
.wc-obs, .wc-tubes, .wc-drugs { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.wc-obs li, .wc-drugs li { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; border-bottom: 1px solid var(--line2); padding-bottom: 2px; } .wc-obs small { color: var(--muted); }
.wc-tube { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; } .wc-tube.nudge { border-color: #e0b04f; } .wc-tube-out { opacity: .65; }
.wc-day { font-weight: 700; color: var(--accent); background: var(--accent-2); border-radius: 8px; padding: 0 8px; } .wc-day.out { color: var(--muted); font-weight: 400; }
.wc-nudge { flex-basis: 100%; color: #92400e; font-weight: 600; font-size: 13px; }
.wc-drug.stopped { opacity: .6; text-decoration: line-through; } .wc-when { color: var(--muted); } .wc-warn { color: #b45309; font-weight: 600; }
.wc-bal { margin: 4px 0; } .wc-pos { color: #1d4ed8; } .wc-neg { color: #b42318; }
.wc-cgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 6px 22px; }
.wc-cblk { min-width: 0; }
.wc-sv { width: 100%; height: auto; max-height: 150px; display: block; } .wc-sv-bg { fill: #fff; stroke: var(--line); }
.wc-sv-t { font-size: 9px; fill: var(--muted); } .wc-sv-day { stroke: var(--line2); stroke-width: 1; }
.wc-sv-ref { stroke-width: 1; stroke-dasharray: 4 3; } .wc-sv-ref.wc-sv-amber, text.wc-sv-amber { stroke: #e0a100; fill: #92400e; } .wc-sv-ref.wc-sv-red, text.wc-sv-red { stroke: #d92d20; fill: #b42318; } text.wc-sv-amber, text.wc-sv-red { stroke: none; }
.wc-sv-line { fill: none; stroke-width: 1.6; } .wc-sv-dot { stroke: #fff; stroke-width: 1; } .wc-sv-dot.hot { fill: #d92d20 !important; }
.wc-sv-temp { stroke: #0e5a8a; } circle.wc-sv-temp { fill: #0e5a8a; } .wc-sv-hr { stroke: #b4236e; } circle.wc-sv-hr { fill: #b4236e; } .wc-sv-sbp { stroke: #1d4ed8; } circle.wc-sv-sbp { fill: #1d4ed8; }
.wc-sv-dbp { stroke: #6b8aa6; } circle.wc-sv-dbp { fill: #6b8aa6; } .wc-sv-spo2 { stroke: #0e7a3a; } circle.wc-sv-spo2 { fill: #0e7a3a; } .wc-sv-rr { stroke: #7c3aed; } circle.wc-sv-rr { fill: #7c3aed; }
.wc-sv-bar { fill: #1d4ed8; } .wc-sv-bar.neg { fill: #b42318; }
.wc-ft { border-collapse: collapse; font-size: 13px; } .wc-ft th, .wc-ft td { padding: 3px 12px 3px 0; text-align: left; border-bottom: 1px solid var(--line2); }
.wc-cday h4 { margin: 8px 0 2px; font-size: 14px; } .wc-cday { border-left: 3px solid var(--line); padding-left: 10px; } .wc-cform textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.wc-eform { background: #fff; border: 1px solid var(--accent); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.wc-eh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px; }
.wc-eform fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 8px 0; padding: 6px 10px 10px; } .wc-eform legend { font-size: 12px; color: var(--muted); text-transform: uppercase; padding: 0 4px; }
.wc-egrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; } .wc-ef input, .wc-ef select { width: 100%; box-sizing: border-box; min-height: 44px; font-size: 16px; } .wc-ef.wc-wide { grid-column: span 2; }
.wc-eform textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
@media (max-width: 1024px) { .wc-cgrid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .wc-t tr.wc-chart { display: block; margin: -4px 0 10px; } .wc-t tr.wc-chart > td { display: block; border: 1px solid var(--accent); border-radius: 10px; padding: 10px; } .wc-egrid { grid-template-columns: repeat(2, 1fr); } .wc-tiles { grid-template-columns: repeat(2, 1fr); } .wc-chart .wc-bcols { grid-template-columns: 1fr; } }
/* 22-Nov-2026 no-jump: the page never moves when a button is tapped (RCA qc_rca 658). Stable scrollbar, browser scroll anchoring on, fixed heights/widths so a state change
   (on / count badge / Read more) never resizes a row or button; the registry seam's buttons, chips and "More" hub follow the same rules. */
html:has(.wcenapp) { scrollbar-gutter: stable; }
.wcenapp { overflow-anchor: auto; }
.wc-t th { height: 36px; box-sizing: border-box; }
.wc-wsbtn, .wc-labbtn, .wc-chartbtn, .wc-brainbtn, .wc-xbtn, .wc-xmore { min-height: 44px; box-sizing: border-box; }
.wc-wsbtn, .wc-brainbtn, .wc-xbtn { font-weight: 600; }
.wc-bm { min-width: 84px; font-weight: 600; box-sizing: border-box; }
.wc-bmore { min-width: 96px; }
.wc-bn { display: inline-block; min-width: 18px; text-align: center; }
.wc-xbtn, .wc-xmore, .wc-xtab { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 0 12px; margin: 4px 4px 0 0; font-size: 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--accent-2); color: var(--accent); cursor: pointer; }
.wc-xtab { min-height: 44px; margin: 0 4px 6px 0; background: #fff; box-sizing: border-box; } .wc-xtab.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.wc-xchip { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; margin: 4px 4px 0 0; font-size: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); }
.wc-xbox { padding: 4px 0; } .wc-xp { border-top: 1px solid var(--line2); padding: 8px 0; } .wc-xp h3 { font-size: 14px; margin: 0 0 6px; }
@media (max-width: 600px) { .wc-t tr.wc-x { display: block; margin: -4px 0 10px; } .wc-t tr.wc-x > td { display: block; border: 1px solid var(--accent); border-radius: 10px; padding: 10px; } }

/* ids chips (wids.js, 22-Nov-2026): IP / UHID / JMH, one tap copies. 44 px targets 8 px apart; wrap, never cut off at 360 px; the toast is fixed, so nothing moves. */
.wc-xchip[data-xk="wids"] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 0; padding: 0; margin: 4px 0 0; border: 0; background: none; border-radius: 0; max-width: 100%; }
.wids-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.wids-c, .wids-all { display: inline-flex; align-items: center; justify-content: center; gap: 4px; box-sizing: border-box; min-height: 44px; min-width: 44px; max-width: 100%; padding: 0 12px; font-size: 13px; line-height: 1.2; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--ink, inherit); overflow-wrap: anywhere; text-align: center; }
button.wids-c, button.wids-all { cursor: pointer; font-family: inherit; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
button.wids-c:hover, button.wids-all:hover { border-color: var(--accent); }
button.wids-c:focus-visible, button.wids-all:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wids-c b { font-weight: 600; font-variant-numeric: tabular-nums; }
.wids-l { color: var(--muted); font-size: 12px; }
.wids-nil { background: none; border-style: dashed; color: var(--muted); }
.wids-nil b { font-weight: 400; color: inherit; }   /* 26-Nov-2026 phone gate U15: #9aa3ab on white was 2.56:1; the chip's own --muted passes */
.wids-all { color: var(--accent); padding: 0; width: 44px; }
.wids-warn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-weight: 700; color: #b45309; cursor: help; }
.wids-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 9999; max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 8px; background: #1f2d3a; color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.wids-toast.on { opacity: 1; }
@media (max-width: 600px) { .wids-c { flex: 0 1 auto; } }
@media (prefers-reduced-motion: reduce) { .wids-toast { transition: none; } }

/* ---- Patient file text, Summary tab and print document (whub.js; the Patient hub screen was folded into the Chart on 28-Nov-2026) ---- */
.whub-host { margin: 0 auto; max-width: 1400px; }
.whub { color: var(--ink); padding: 0 0 24px; }
.whub-b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.whub-b:hover { background: var(--accent-2); }
.whub-b:focus-visible, .wc-sharebtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.whub-b[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.whub-warn { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; margin: 8px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--accent-2); }
.whub-warn p { margin: 0; flex: 1 1 240px; }
.wsh { display: contents; }
.wsh-menu { flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--accent-2); }
.wsh-fmts, .wsh-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.whub-sec { margin: 0 0 16px; min-width: 0; }
.whub-h { font-size: 15px; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .03em; color: var(--accent); }
.whub-g h3 { font-size: 14px; margin: 12px 0 4px; color: var(--accent); }
.whub-ul, .whub-tl { list-style: none; margin: 0; padding: 0; }
.whub-ul li, .whub-tl li { padding: 6px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.whub-src { color: var(--muted); font-size: 12px; white-space: nowrap; border: 1px solid var(--line); border-radius: 10px; padding: 0 8px; margin-left: 4px; }
.whub-tl time { color: var(--muted); font-size: 12px; margin-right: 6px; }
.whub-lstate { display: inline-block; min-width: 56px; }
.whub-ls-due .whub-lstate, .whub-ls-missing .whub-lstate, .whub-due { color: #b45309; }
.whub-ls-ok .whub-lstate { color: var(--ok); }
.whub-chart, .whub-brain, .whub-body { min-width: 0; overflow-wrap: anywhere; }
.whub-chart .wc-labwrap, .whub-chart table { max-width: 100%; }
.whub-lh, .whub-pid { display: none; }
.whub-lh { margin-bottom: 8px; border-bottom: 1px solid var(--ink); padding-bottom: 6px; }
@media (min-width: 1280px) {
  .whub-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
}
@page{size:A4;margin:12mm}@media print{body.whub-print *{visibility:hidden}body.whub-print .whub,body.whub-print .whub *{visibility:visible}body.whub-print .whub{position:absolute;left:0;top:0;width:100%}body.whub-print .whub-head,body.whub-print .whub-jump-bar,body.whub-print .whub-tabs,body.whub-print .whub-noprint,body.whub-print .whub button,body.whub-print .whub .whub-xchip,body.whub-print .whub .wids-bar{display:none}body.whub-print .whub-pid{display:block}body.whub-print .whub-lh{display:block}}


/* ===== Board overhaul (22-Nov-2026, lane A): compact 4-column board, icon buttons, POD + missing-data figure, every panel in the one right-side drawer (wdrawer.js) =====
   Spacing scale 4 / 8 / 12 / 16. Name 16px semibold; secondary text muted 12-13px. Status colours only from the existing tokens / the red-amber-green already used above. */
.wc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.wic { flex: none; vertical-align: middle; }
.wic-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 44px; min-height: 44px; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--card, #fff); color: var(--accent); text-decoration: none; cursor: pointer; font: inherit; line-height: 1; }
.wic-btn:hover { background: var(--accent-2); }
.wic-btn:focus-visible, .wc-miss:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wic-btn[aria-expanded=true] { background: var(--accent); color: #fff; border-color: var(--accent); }
.wic-btn .wc-bn { position: absolute; top: -6px; right: -6px; min-width: 18px; padding: 0 5px; font-size: 11px; line-height: 16px; background: #fff; border-color: var(--line); color: var(--accent); }
.wic-btn .wc-dot, .wc-dot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: #d92d20; border: 2px solid var(--card, #fff); box-sizing: content-box; }
.wc-brainbtn.wic-btn, .wc-chartbtn.wic-btn, .wc-labbtn.wic-btn, .wc-wsbtn.wic-btn, .wc-xbtn.wic-btn { margin: 0; padding: 0; font-size: 0; }
.wc-brainbtn.wic-btn.wc-b-red .wc-bn { color: #b42318; border-color: #e5877f; }
.wc-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.wc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 6px; margin-top: 6px; }   /* 26-Nov-2026: rows 12 px apart so the 44 px missing button (margin -6px) keeps 8 px from a wrapped id chip (UX-M1) */
.wc-pod, .wc-day, .wc-miss { display: inline-flex; align-items: center; gap: 4px; box-sizing: border-box; border-radius: 12px; font-size: 12px; line-height: 1; }
.wc-pod { padding: 5px 10px; background: var(--accent-2); color: var(--accent); font-weight: 700; }
.wc-pod-none { background: transparent; border: 1px dashed var(--line); color: var(--muted); font-weight: 400; }
.wc-day { padding: 5px 10px; border: 1px solid var(--line); color: var(--muted); background: transparent; }
.wc-miss { min-height: 44px; padding: 0 12px; margin: -6px 0; border: 1px solid transparent; font: inherit; font-size: 12px; background: none; }
button.wc-miss-n { background: #fef3dc; border-color: #e0b04f; color: #92400e; font-weight: 600; cursor: pointer; }
button.wc-miss-n:hover { background: #fde9bd; } button.wc-miss-n[aria-expanded=true] { background: #92400e; color: #fff; border-color: #92400e; }
.wc-miss-ok { color: #1a7f37; } .wc-miss-ok .wc-t { font-weight: 400; }
.wc-missn { font-weight: 700; font-size: 13px; }
.wc-xchip { display: inline-flex; align-items: center; }
/* compact table: 4 columns */
.wc-t td { padding: 6px 10px; } .wc-t th { padding: 6px 10px; }
.wc-t { table-layout: fixed; }
.wc-t th:nth-child(1), .wc-t td.wc-c-bed { width: 120px; }
.wc-t th:nth-child(2), .wc-t td.wc-c-name { width: 360px; max-width: 360px; }
.wc-open { font-size: 16px; font-weight: 600; line-height: 1.25; padding: 0 4px 0 0; text-align: left; overflow-wrap: anywhere; }
.wc-adm { font-size: 12px; margin-top: 0; } .wc-sub { font-size: 12px; }
.wc-c-dx, .wc-c-sx { overflow-wrap: anywhere; }
.wc-note { margin-top: 6px; }
.wc-r.open td { background: var(--accent-2); }
.wc-pt.wic-btn { min-height: 44px; }
.wbtn-ico { min-width: 44px; padding: 0; } .wbtn-ico .wbtn-dot { position: absolute; top: -6px; right: -6px; }
.wbtn-row { margin-top: 8px; }
/* the drawer's content: the old panel rows, drawn as blocks (no table, no sticky) */
.wc-dtab, .wc-dtab tbody, .wc-dtab tr, .wc-dtab td { display: block; padding: 0; border: 0; background: none; width: auto; }
.wc-dtab > tbody > tr > td, .wc-dtab .wc-edit td, .wc-dtab .wc-ws > td, .wc-dtab .wc-labs > td, .wc-dtab .wc-brain > td, .wc-dtab .wc-chart > td { padding: 0; background: none; }
.wc-dtab .wc-wsbox { grid-template-columns: 1fr; }
.wc-dtab .wc-grid, .wc-dtab .wc-bcols { grid-template-columns: 1fr; }
.wc-dtab .wc-lt { width: 100%; }
.wc-dtab .wc-f input, .wc-dtab .wc-f select { font-size: 15px; }
.wc-dtab .wc-tabs { flex-wrap: wrap; overflow-x: visible; }
.wc-fillgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wc-fillmsg:empty { display: none; }
@media (max-width: 600px) {
  .wc-fillgrid { grid-template-columns: 1fr; }
  .wc-t tr.wc-r { grid-template-columns: 1fr 1fr; }
  .wc-t th:nth-child(n), .wc-t td.wc-c-bed, .wc-t td.wc-c-name { width: auto; max-width: none; }
  .wc-t { table-layout: auto; }
  .wc-acts { gap: 8px; }
  .wc-t tr.wc-r td { overflow-wrap: anywhere; }
}
/* ---- the card's six buttons (26-Nov-2026, Ward board merge): Chart, Round, Add, Papers, Discharge card, More — icon + word, 44 px, 8 px apart; 3 per row on a phone */
.wc-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; max-width: 420px; }
.wc-cb { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; min-height: 44px; min-width: 44px; padding: 4px 8px; margin: 0;
  border: 1px solid var(--line); border-radius: 10px; background: var(--card, #fff); color: var(--accent); font: inherit; font-size: 13px; font-weight: 600; line-height: 1.15; text-align: center; text-decoration: none; cursor: pointer; overflow-wrap: anywhere; }
.wc-cb:hover { background: var(--accent-2); color: var(--accent); }
.wc-cb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wc-cb[aria-expanded=true] { background: var(--accent); color: #fff; border-color: var(--accent); }
.wc-cb .wic { flex: none; }
/* 26-Nov-2026 phone gate picture: 'Discharg|e card' broke mid-word in a 3-column phone row — words never split; on a phone the icon sits above the word */
.wc-cbw { overflow-wrap: normal; word-break: normal; hyphens: none; }
@media (max-width: 600px) { .wc-cb { flex-direction: column; gap: 2px; padding: 4px 6px; } }
.wc-cb .wc-bn { position: absolute; top: -6px; right: -6px; min-width: 18px; padding: 0 5px; font-size: 11px; line-height: 16px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--accent); }
.wc-cb.wc-cb-red .wc-bn { background: #fff; color: #b42318; border-color: #e5877f; }
.wc-chartbtn.wc-cb { margin: 0; background: var(--accent-2); color: var(--accent); font-size: 13px; }
.wc-chartbtn.wc-cb[aria-expanded=true] { background: var(--accent); color: #fff; }
.wc-amenu { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--card, #fff); color: var(--ink, #1f2933); max-width: 420px; box-sizing: border-box; }
.wc-ami { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card, #fff); color: var(--accent); font: inherit; font-size: 13px; cursor: pointer; }
.wc-ami:hover { background: var(--accent-2); color: var(--accent); }
.wc-ppl li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.wc-ppg + .wc-ppg { margin-top: 10px; }
.wc-ppgh { margin: 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted, #6b7280); }
.wc-ppi, .wc-ppoff { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.wc-ppi.wc-ppok { color: #116329; font-weight: 600; } .wc-ppi.wc-ppok svg { color: #1a7f37; }   /* 28-Nov-2026 OT note approved: green, distinct */
.wc-ppoff { color: var(--muted); background: transparent; cursor: not-allowed; }
.wc-sharebtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; margin-left: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--card, #fff); color: var(--accent); font: inherit; font-size: 13px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .wic-btn { transition: none; } }

/* ---- wtrends.js (lane A ward-trends, 23-Nov-2026): the per-patient key-trends dashboard. Colour only where abnormal; shape carries meaning too. */
.wtr { font-family: inherit; color: var(--ink, #1f2933); font-variant-numeric: tabular-nums; }
.wtr .wtr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.wtr .wtr-card { background: var(--card, #fff); border: 1px solid var(--line, #d9dee3); border-radius: 8px; padding: 6px 8px; min-width: 0; break-inside: avoid; }
.wtr .wtr-card.wtr-abn { border-color: #d9b48a; }
.wtr .wtr-open { display: block; width: 100%; min-height: 44px; text-align: left; background: none; border: 0; padding: 4px 0; margin: 0; font: inherit; color: inherit; cursor: pointer; }
.wtr .wtr-open:focus-visible, .wtr .wtr-b:focus-visible, .wtr .wtr-tile:focus-visible, .wtr .wtr-sp:focus-visible, .wtr .wtr-crow:focus-visible { outline: 2px solid var(--accent, #0e8125); outline-offset: 2px; }
.wtr .wtr-ch, .wtr .wtr-ch2 { display: block; margin: 0 0 4px; font-size: 14px; }
.wtr .wtr-n { font-weight: 600; }
.wtr .wtr-v { font-weight: 600; }
.wtr .wtr-v small, .wtr .wtr-ch small { color: var(--muted, #5f6b76); font-weight: 400; }
.wtr .wtr-ar { font-weight: 600; }
.wtr .wtr-sv { display: block; width: 100%; max-width: 100%; height: auto; overflow: hidden; }
.wtr .wtr-bg { fill: none; stroke: var(--line, #d9dee3); stroke-width: .6; }
.wtr .wtr-band { fill: #5b8a6e; fill-opacity: .14; stroke: none; }
.wtr .wtr-base { stroke: var(--muted, #5f6b76); stroke-width: 1; stroke-dasharray: 5 3; }
.wtr .wtr-ln { stroke: #46596b; stroke-width: 1.6; fill: none; }
.wtr .wtr-gap { stroke: #9aa7b3; stroke-width: 1.2; stroke-dasharray: 1.5 3; fill: none; }
.wtr .wtr-rng { stroke: #46596b; stroke-width: 1.2; }
.wtr .wtr-m { stroke: #fff; stroke-width: .8; }
.wtr .wtr-m.wtr-ok { fill: #5a6f84; }
.wtr .wtr-m.wtr-amber { fill: #b45309; }
.wtr .wtr-m.wtr-red { fill: #b42318; }
.wtr .wtr-m.wtr-lift { stroke: #1f2933; stroke-width: 1.4; stroke-dasharray: 2 1.5; }
.wtr .wtr-due { fill: none; stroke: #5a6f84; stroke-width: 1.4; }
.wtr .wtr-due-missing { stroke: #b45309; }
.wtr .wtr-ev { stroke: #9aa7b3; stroke-width: .8; }
.wtr .wtr-ev-h { stroke-dasharray: 3 3; }
.wtr .wtr-ev-alert, .wtr .wtr-ev-fever { stroke: #b42318; stroke-opacity: .6; }
.wtr .wtr-evt, .wtr .wtr-t { font-size: 9px; fill: var(--muted, #5f6b76); font-family: inherit; font-variant-numeric: tabular-nums; }
.wtr .wtr-t2 { font-size: 8.5px; }
.wtr .wtr-big .wtr-t, .wtr .wtr-big .wtr-evt { font-size: 10px; }
.wtr .wtr-hitc { fill: transparent; pointer-events: all; }
.wtr .wtr-hit { cursor: pointer; }
.wtr .wtr-hit:focus-visible { outline: 2px solid var(--accent, #0e8125); outline-offset: 2px; }
.wtr .wtr-b { box-sizing: border-box; min-height: 44px; min-width: 44px; padding: 8px 12px; margin: 2px 4px 2px 0; font: inherit; font-size: 14px; color: var(--ink, #1f2933); background: var(--card, #fff); border: 1px solid var(--line, #d9dee3); border-radius: 8px; cursor: pointer; }
.wtr .wtr-b[aria-pressed="true"] { border-color: var(--accent, #0e8125); }
.wtr .wtr-tiles { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; }
.wtr .wtr-tile { display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box; min-height: 44px; padding: 6px 10px; text-align: left; font: inherit; font-size: 14px; color: var(--ink, #1f2933); background: var(--card, #fff); border: 1px solid var(--line, #d9dee3); border-radius: 8px; cursor: pointer; }
.wtr .wtr-tile.wtr-tl-amber { border-color: #b45309; color: #7a3a06; }
.wtr .wtr-tile.wtr-tl-red { border-color: #b42318; color: #8a1a11; }
.wtr .wtr-tm { flex: none; }
.wtr-sprow { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; }
.wtr-sp { display: inline-flex; align-items: center; gap: 4px; box-sizing: border-box; min-height: 44px; padding: 2px 6px; font: inherit; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink, #1f2933); background: none; border: 1px solid var(--line, #d9dee3); border-radius: 8px; cursor: pointer; }
.wtr-sp .wtr-spk { flex: none; }
.wtr-sp .wtr-ln { stroke: #46596b; stroke-width: 1.4; }
.wtr-sp .wtr-gap { stroke: #9aa7b3; stroke-dasharray: 1.5 2; }
.wtr-sp .wtr-m.wtr-ok { fill: #5a6f84; }
.wtr-sp .wtr-m.wtr-amber { fill: #b45309; }
.wtr-sp .wtr-m.wtr-red { fill: #b42318; }
.wtr-sp-amber { border-color: #b45309; }
.wtr-sp-red { border-color: #b42318; }
.wtr-sp-amber .wtr-ln { stroke: #b45309; }
.wtr-sp-red .wtr-ln { stroke: #b42318; }
.wtr-cbar { margin: 0 0 8px; }
.wtr-cbtn, .wtr-cbtn:hover { color: var(--ink, #1f2933); box-sizing: border-box; min-height: 44px; min-width: 44px; padding: 8px 12px; font: inherit; font-size: 14px; background: var(--card, #fff); border: 1px solid var(--line, #d9dee3); border-radius: 8px; cursor: pointer; }
.wtr .wtr-chips { display: flex; flex-wrap: wrap; gap: 2px; }
.wtr .wtr-cmp { list-style: none; margin: 8px 0 0; padding: 0; }
.wtr .wtr-crow { display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box; min-height: 44px; padding: 4px 8px; text-align: left; font: inherit; font-size: 14px; color: var(--ink, #1f2933); background: none; border: 0; border-bottom: 1px solid var(--line, #d9dee3); cursor: pointer; }
.wtr .wtr-crow .wtr-cn { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.wtr .wtr-crow.wtr-sp-amber { color: #7a3a06; }
.wtr .wtr-crow.wtr-sp-red { color: #8a1a11; }
.wtr .wtr-flag { display: inline-block; padding: 0 6px; font-size: 12px; border-radius: 4px; border: 1px solid currentColor; }
.wtr .wtr-f-amber, .wtr .wtr-t-amber { color: #b45309; }
.wtr .wtr-f-red, .wtr .wtr-t-red { color: #b42318; }
.wtr .wtr-t-ok { color: inherit; }
.wtr .wtr-tbl { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; font-variant-numeric: tabular-nums; table-layout: auto; overflow-wrap: anywhere; }
.wtr .wtr-tbl th, .wtr .wtr-tbl td { text-align: left; padding: 6px 6px; border-bottom: 1px solid var(--line, #d9dee3); vertical-align: top; }
.wtr .wtr-cap { text-align: left; font-weight: 600; padding: 4px 0; }
.wtr .wtr-r-amber td:first-of-type, .wtr .wtr-r-red td:first-of-type { font-weight: 600; }
.wtr .wtr-in-a { fill: #5b7f9a; } .wtr .wtr-in-b { fill: #7aa38c; } .wtr .wtr-in-c { fill: #a9b8c6; } .wtr .wtr-in-d { fill: #c7cfd6; }
.wtr .wtr-out-a { fill: #c9a24a; } .wtr .wtr-out-b { fill: #8b6fa6; } .wtr .wtr-out-c { fill: #b0654f; } .wtr .wtr-out-d { fill: #4f8a8b; } .wtr .wtr-out-e { fill: #8a8f45; } .wtr .wtr-out-f { fill: #9aa0a6; }
.wtr .wtr-hi { stroke: #b45309; stroke-width: 1.4; }
.wtr .wtr-thr { stroke: #b45309; stroke-width: 1.2; stroke-dasharray: 5 3; }
.wtr .wtr-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; margin-bottom: 8px; }
.wtr .wtr-cut, .wtr .wtr-hint, .wtr .wtr-src { color: var(--muted, #5f6b76); font-size: 13px; margin: 4px 0; }
.wtr .wtr-msg { color: var(--accent, #0e8125); font-size: 14px; }
.wtr .wtr-err { color: #b42318; font-size: 14px; }
.wtr .wtr-h { font-size: 16px; margin: 14px 0 6px; }
.wtr .wtr-h small { color: var(--muted, #5f6b76); font-weight: 400; }
.wtr .wtr-bighead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wtr .wtr-ask { display: flex; flex-wrap: wrap; gap: 2px; margin: 8px 0; }
.wtr .wtr-fixf { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px; }
.wtr .wtr-fixin { box-sizing: border-box; min-height: 44px; width: 96px; font: inherit; }
.wtr .wtr-lifted { font-size: 11px; border: 1px dashed var(--muted, #5f6b76); border-radius: 4px; padding: 0 4px; }
.wtr .wtr-evl summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.wtr .wtr-empty { margin: 6px 0; padding-left: 18px; color: var(--muted, #5f6b76); font-size: 14px; }
.wtr .wtr-tipl { font-size: 14px; margin: 6px 0; }
@media (max-width: 600px) {
  .wtr .wtr-grid, .wtr .wtr-tiles { grid-template-columns: 1fr; }
  .wtr .wtr-bar { flex-direction: column; align-items: flex-start; }
}
@media print {
  .wtr, .wtr .wtr-card { color: #000; background: #fff; }
  .wtr .wtr-grid { grid-template-columns: 1fr 1fr; }
  .wtr .wtr-card { break-inside: avoid; }
  .wtr .wtr-bar button, .wtr .wtr-ask, .wtr .wtr-nav, .wtr .wtr-acts { display: none; }
  .wtr-sprow, .wtr-cbar { display: none; }
}

/* the daily I/O grid in the chart's Fluids tab (24-Nov-2026; research/RESEARCH_ward-io-grid.md): one row per day, newest first; the table scrolls sideways inside its own box
   on a phone (never the page), uses the width on a computer; tabular numerals; blank = not measured; a corner mark = edited; tap a value to correct it */
.wio-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; -webkit-overflow-scrolling: touch; }
.wio { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink); background: #fff; }
.wio th, .wio td { padding: 0 8px; height: 44px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line2); background: #fff; color: var(--ink); }
.wio thead th { position: sticky; top: 0; z-index: 1; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--muted); background: var(--accent-2); white-space: normal; min-width: 56px; line-height: 1.2; }
.wio .wio-day { position: sticky; left: 0; z-index: 2; text-align: left; font-weight: 600; background: #fff; color: var(--ink); border-right: 1px solid var(--line2); }
.wio thead .wio-day { z-index: 3; background: var(--accent-2); color: var(--muted); }
.wio .wio-pod { color: var(--muted); background: #fff; }
.wio thead .wio-pod { background: var(--accent-2); color: var(--muted); }
.wio td.wio-tot { font-weight: 700; background: #f6f9fb; color: var(--ink); } .wio td.wio-bal { font-weight: 700; background: #fff; color: var(--ink); }
.wio td.wio-pos { color: var(--ok); background: #fff; } .wio td.wio-neg { color: var(--err); background: #fff; }
.wio tr.on th, .wio tr.on td { background: var(--accent-2); color: var(--ink); }
.wio td.wio-in, .wio td.wio-out { padding: 0; }
.wio-c { display: block; width: 100%; min-width: 52px; min-height: 44px; padding: 0 8px; text-align: right; font: inherit; font-variant-numeric: tabular-nums; background: transparent; color: var(--ink); border: 0; border-radius: 0; position: relative; }
.wio-c:hover, .wio-c:focus-visible { background: var(--accent-2); color: var(--ink); }
.wio td.on .wio-c, .wio-c[aria-expanded=true] { background: var(--accent-2); color: var(--accent-d); box-shadow: inset 0 0 0 2px var(--accent); }
.wio-nil { display: inline-block; min-width: 1px; }
.wio-ed { position: absolute; top: 3px; right: 3px; width: 0; height: 0; border-top: 7px solid var(--accent); border-left: 7px solid transparent; }
.wio-form { margin: 10px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); max-width: 560px; }
.wio-eh { margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .wio-was { color: var(--muted); background: #fff; }
.wio-fl { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; }
.wio-fl .wc-ef input { font-size: 16px; min-height: 44px; }
.wio-nm { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; }
.wio-nm input { width: 22px; height: 22px; }
.wio-pick { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wio-pk { min-height: 44px; padding: 0 12px; font-size: 13px; font-variant-numeric: tabular-nums; background: #fff; color: var(--accent); border: 1px solid var(--line); border-radius: 8px; }
.wio-pk.on, .wio-pk[aria-pressed=true] { background: var(--accent-2); color: var(--accent-d); border-color: var(--accent); }
.wio-line { display: block; margin-top: 4px; font-variant-numeric: tabular-nums; color: var(--ink); background: transparent; }
@media (max-width: 600px) { .wio { font-size: 12.5px; } .wio th, .wio td { padding: 0 6px; } .wio thead th { min-width: 50px; } }

/* 26-Nov-2026 (Dr Shah: the board = cards only): ONE compact header row — title, freshness, count, icon buttons (44 px, 8 px apart); a toast for saves */
.wc-hdr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 10px; min-width: 0; }
.wc-hdr-t { margin: 0; font-size: 18px; font-weight: 700; }
.wc-hdr-f { font-size: 12px; color: var(--muted); min-width: 0; flex: 1 1 200px; }
.wc-hdr-f * { font-size: 12px; margin: 0; }
.wc-hdr .wc-count { font-size: 14px; font-weight: 600; color: var(--ink); }
.wc-hbtns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1 1 100%; }
.wc-hb { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card, #fff); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.wc-hb:hover { background: var(--accent-2, #eaf3f7); }
.wc-hb:focus-visible, .wc-ti:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wc-hb .wc-dot { position: absolute; top: 6px; right: 6px; }
.wc-badge { min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--err-bg, #fdecea); color: var(--err, #b3261e); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.wc-tools { position: relative; }
.wc-tmenu { position: absolute; z-index: 55; top: calc(100% + 4px); left: 0; min-width: 230px; max-width: calc(100vw - 32px); display: flex; flex-direction: column; gap: 2px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--card, #fff); box-shadow: 0 10px 28px rgba(15, 32, 42, .16); }
.wc-tmenu[hidden] { display: none; }
.wc-ti { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.wc-ti:hover { background: var(--accent-2, #eaf3f7); }
.wc-toast { position: fixed; z-index: 70; left: 50%; bottom: 20px; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 10px; background: var(--ink, #16202a); color: #fff; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); overflow-wrap: anywhere; }
.wc-toast[hidden] { display: none; }
.wc-bhh { margin: 16px 0 6px; font-size: 15px; }
#wcdock[hidden] { display: none; }
@media (max-width: 600px) { .wc-hbw { font-size: 13px; } .wc-hb { padding: 0 10px; } .wc-tmenu { position: fixed; left: 16px; right: 16px; top: auto; min-width: 0; } }

/* tighter phone card: no empty Diagnosis/Surgery label rows (26-Nov-2026) */
@media (max-width: 600px) { .wc-t tr.wc-r { gap: 2px 12px; padding: 8px 10px; } .wc-t tr.wc-r td:has(> .wc-nil:only-child) { display: none; } .wc-acts { margin-top: 10px; } }
/* 26-Nov-2026 diagnosis suggestions (wdx.php): provisional tag, the suggestion from an HPE / imaging report, Accept / Ignore; correction path (complete = a button) */
.wc-dxtag { font-style: italic; color: var(--muted); background: transparent; }
.wc-dxsug { margin-top: 6px; padding: 6px 8px; border-left: 3px solid var(--accent); background: var(--accent-2); color: var(--ink); border-radius: 4px; }
.wc-dxsug .wc-sub { color: var(--ink); background: transparent; }
.wc-dxline { font-weight: 600; }
.wc-dxev summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 12px; color: var(--accent-d); background: transparent; }
.wc-dxev p { margin: 0 0 6px; font-size: 12px; color: var(--muted); background: transparent; white-space: pre-wrap; }
.wc-dxbtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.wc-dxbtn { min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 8px; font: inherit; font-size: 13px; cursor: pointer; }
.wc-dxacc { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.wc-dxacc:hover { background: var(--accent-d); color: #fff; border-color: var(--accent-d); }
.wc-dxign { background: var(--card, #fff); color: var(--ink); border: 1px solid var(--line); }
.wc-dxign:hover { background: var(--accent-2); color: var(--ink); }
.wc-dxbtn:disabled { opacity: .6; cursor: default; }
button.wc-miss-fix { cursor: pointer; background: transparent; color: #1a7f37; border-color: transparent; }
button.wc-miss-fix:hover, button.wc-miss-fix[aria-expanded=true] { background: #e6f4ea; color: #14632b; border-color: #9fd3ad; }
.wc-fixform { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) button.wc-miss-fix { color: #6fd08c; background: transparent; }
  :root:not([data-theme="light"]) button.wc-miss-fix:hover, :root:not([data-theme="light"]) button.wc-miss-fix[aria-expanded=true] { background: #173d24; color: #b6f0c6; border-color: #2f6b40; }
}
/* 27-Nov-2026 Discharge meds drawer (wcen.js dmHtml): flags on top, the lines, each with why + source; theme tokens only (U15) */
.wc-dm .wc-dmhead { margin: 0 0 8px; color: var(--ink); }
.wc-dmflags { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; }
.wc-dmflag { padding: 6px 8px; border-left: 3px solid var(--err); background: var(--accent-2); color: var(--ink); border-radius: 4px; }
.wc-dmchip { display: inline-block; padding: 1px 6px; border-radius: 10px; font-size: 12px; background: var(--accent-2); color: var(--ink); border: 1px solid var(--muted); }
.wc-dmtab { width: 100%; border-collapse: collapse; font-size: 14px; }
.wc-dmtab th, .wc-dmtab td { text-align: left; padding: 4px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.wc-dmtab th { color: var(--muted); font-weight: 600; }
.wc-dmin { width: 100%; min-width: 48px; min-height: 36px; box-sizing: border-box; }
.wc-dmsrc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.wc-dmacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
/* 28-Nov-2026 Labs tab = ONE day-by-day table (wlabs.js): days oldest -> newest, panel heading rows, sticky test column; the scroller is rtl so it opens at the
   right end (newest day visible on a phone) without script, the table inside is ltr so the test column stays on the left. Text colour set with its background (U15). */
.wlb-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.wlb-bar button { min-height: 44px; padding: 0 14px; font: inherit; font-size: 13px; border-radius: 8px; background: var(--card, #fff); color: var(--accent); border: 1px solid var(--line); cursor: pointer; }
.wlb-bar button:hover, .wlb-bar button:focus-visible { background: var(--accent-2); color: var(--accent-d); }
.wc-labwrap.wlb-wrap { direction: rtl; overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; -webkit-overflow-scrolling: touch; }
.wlb-wrap > table.wlb { direction: ltr; border-collapse: separate; border-spacing: 0; border: 0; font-variant-numeric: tabular-nums; color: var(--ink); background: #fff; }
.wlb th, .wlb td { background: #fff; color: var(--ink); }
.wlb thead th { position: sticky; top: 0; z-index: 1; background: var(--accent-2); color: var(--muted); min-width: 58px; line-height: 1.2; }
.wlb thead th small { display: block; font-size: 11px; text-transform: none; letter-spacing: 0; color: var(--muted); background: transparent; }
.wlb thead th.wlb-pre small { font-style: italic; }
.wlb th.wlb-tn, .wlb tbody th[scope=row] { position: sticky; left: 0; z-index: 2; text-align: left; background: #fff; color: var(--ink); border-right: 1px solid var(--line2); max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.wlb thead th.wlb-tn { z-index: 3; background: var(--accent-2); color: var(--muted); }
.wlb tbody th[scope=row] small { display: block; font-size: 11px; color: var(--muted); background: transparent; overflow: hidden; text-overflow: ellipsis; }
.wlb tr.wlb-ph th { position: static; text-align: left; padding: 6px 9px 4px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; background: #f6f9fb; color: var(--accent-d); border-bottom: 1px solid var(--line); }
.wlb tr.wlb-ph th span { position: sticky; left: 9px; }
.wlb td { padding: 0; }
.wlb td.wc-nil { min-width: 44px; }
.wlb-c { display: block; width: 100%; min-width: 52px; min-height: 44px; padding: 0 8px; text-align: right; font: inherit; font-variant-numeric: tabular-nums; white-space: nowrap; background: transparent; color: inherit; border: 0; border-radius: 0; cursor: pointer; }
.wlb-c:hover, .wlb-c:focus-visible { background: var(--accent-2); color: var(--ink); }
.wlb td.on .wlb-c, .wlb-c[aria-expanded=true] { background: var(--accent-2); color: var(--accent-d); box-shadow: inset 0 0 0 2px var(--accent); }
.wlb td.wc-hi .wlb-c { color: #b42318; font-weight: 700; } .wlb td.wc-lo .wlb-c { color: #1d4ed8; font-weight: 700; }
.wlb-f { margin-left: 2px; font-size: 11px; font-weight: 700; color: inherit; background: transparent; }
.wlb-more { margin-left: 3px; padding: 0 3px; font-size: 10.5px; border-radius: 6px; background: var(--accent-2); color: var(--accent-d); font-weight: 600; }
.wlb tr.on th[scope=row] { background: var(--accent-2); color: var(--ink); }
.wlb-det { margin: 8px 0; padding: 8px 10px; }
.wlb-dh { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 4px; }
.wlb-dh .wlb-cancel, .wlb-fix { min-height: 44px; min-width: 44px; padding: 0 12px; font: inherit; font-size: 13px; border-radius: 8px; background: var(--card, #fff); color: var(--accent); border: 1px solid var(--line); cursor: pointer; }
.wlb-base { margin: 0 0 4px; font-size: 13px; color: var(--ink); background: transparent; }
.wlb-vals { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.wlb-vals li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--ink); background: transparent; }
.wlb-vals li.on { font-weight: 600; }
.wlb-vals .wc-hi { color: #b42318; } .wlb-vals .wc-lo { color: #1d4ed8; }
.wlb-form { margin: 8px 0 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); max-width: 560px; }
.wlb-form .wc-ef input { font-size: 16px; min-height: 44px; }
@media (max-width: 600px) { .wlb th.wlb-tn, .wlb tbody th[scope=row] { max-width: 112px; } .wlb thead th { min-width: 50px; } .wlb-c { padding: 0 6px; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wc-labwrap.wlb-wrap, :root:not([data-theme="light"]) .wlb-wrap > table.wlb, :root:not([data-theme="light"]) .wlb th, :root:not([data-theme="light"]) .wlb td,
  :root:not([data-theme="light"]) .wlb th.wlb-tn, :root:not([data-theme="light"]) .wlb tbody th[scope=row], :root:not([data-theme="light"]) .wlb-form { background: var(--card, #1b1f24); color: var(--ink); }
  :root:not([data-theme="light"]) .wlb tr.wlb-ph th { background: var(--accent-2); color: var(--ink); }
  :root:not([data-theme="light"]) .wlb td.wc-hi .wlb-c, :root:not([data-theme="light"]) .wlb-vals .wc-hi { color: #ff8a80; } :root:not([data-theme="light"]) .wlb td.wc-lo .wlb-c, :root:not([data-theme="light"]) .wlb-vals .wc-lo { color: #8ab4ff; }
}

/* tube register (wtubes.js, 28-Nov-2026) */
.wtb-list, .wtb-asks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.wtb-it, .wtb-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 10px 12px; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.wtb-ask { background: var(--accent-2); border-color: var(--accent); display: block; }
.wtb-gone { opacity: .85; }
.wtb-main { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; overflow-wrap: anywhere; }
.wtb-sub, .wtb-note, .wtb-lb { font-size: 13px; color: var(--muted); }
.wtb-lb { color: var(--ink); }
.wtb-chip { display: inline-block; font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 0 6px; margin-left: 4px; }
.wtb-q { margin: 0 0 8px; overflow-wrap: anywhere; }
.wtb-acts, .wtb-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.wtb-acts button, .wtb-bar button { min-height: 44px; min-width: 44px; padding: 8px 14px; font: inherit; font-size: 13px; line-height: 1.25; white-space: normal; text-align: left; border-radius: 8px; background: var(--card, #fff); color: var(--accent); border: 1px solid var(--line); cursor: pointer; }
.wtb-acts button:hover, .wtb-acts button:focus-visible, .wtb-bar button:hover, .wtb-bar button:focus-visible { background: var(--accent-2); color: var(--accent-d); }
.wtb-void { color: var(--muted); } .wtb-void.ask { color: #b3261e; border-color: #b3261e; }
.wtb-form { margin: 8px 0 14px; padding: 12px 14px; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.wtb-fh { margin: 0 0 8px; overflow-wrap: anywhere; }
.wtb-fl { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 12px; }
.wtb-f { display: grid; gap: 2px; font-size: 12px; color: var(--muted); }
.wtb-f.wtb-wide { grid-column: 1 / -1; }
.wtb-f input, .wtb-f select { min-height: 44px; padding: 6px 10px; font: inherit; font-size: 14px; color: var(--ink); background: var(--card, #fff); border: 1px solid var(--line); border-radius: 8px; width: 100%; box-sizing: border-box; }
.wtb-old { margin: 12px 0; } .wtb-old summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 13px; color: var(--accent-d); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wtb-it, :root:not([data-theme="light"]) .wtb-form, :root:not([data-theme="light"]) .wtb-acts button, :root:not([data-theme="light"]) .wtb-bar button, :root:not([data-theme="light"]) .wtb-f input, :root:not([data-theme="light"]) .wtb-f select { background: var(--card, #1b1f24); color: var(--ink); }
  :root:not([data-theme="light"]) .wtb-ask { background: var(--accent-2); }
  :root:not([data-theme="light"]) .wtb-void.ask { color: #ff8a80; border-color: #ff8a80; }
}
/* 28-Nov-2026 tumour markers as rows (wcen.js mkHtml): marker · value · unit · optional date · remove, + Add marker up to 4; a source chip on a found value */
.wc-mkf { grid-column: 1 / -1; }
.wc-mk { display: flex; flex-direction: column; gap: 8px; }
.wc-mkrow { display: grid; grid-template-columns: minmax(110px, 1.2fr) minmax(80px, 1fr) minmax(70px, 0.8fr) minmax(140px, 1.2fr) 44px; gap: 6px; align-items: center; }
.wc-mkrow input, .wc-mkrow select { min-height: 44px; font-size: 15px; width: 100%; box-sizing: border-box; }
.wc-mkdel, .wc-mkadd { min-height: 44px; min-width: 44px; }
.wc-mkadd { align-self: flex-start; padding: 0 14px; }
.wc-mksrc { grid-column: 1 / -1; justify-self: start; font-size: 12px; padding: 2px 8px; border-radius: 10px; background: var(--chip-bg, rgba(0, 0, 0, 0.06)); color: var(--muted); }
@media (max-width: 600px) { .wc-mkrow { grid-template-columns: 1fr 1fr 44px; } .wc-mkrow [data-mk="d"] { grid-column: 1 / 3; } }
