:root {
  --bg: #f2f5f8; --card: #ffffff; --ink: #14202b; --muted: #5d6b78; --line: #e2e7ec;
  --brand: #1f5f8b; --on-brand: #ffffff;
  --ok: #1d7a4f; --ok-bg: #e5f4ec; --warn: #a15c00; --warn-bg: #fdf1e0; --bad: #b3261e; --bad-bg: #fbe9e7;
  --info: #2a5db0; --info-bg: #e8effb;
  --shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 14px rgba(0,0,0,.05);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f151b; --card: #18222c; --ink: #e6edf3; --muted: #93a1ad; --line: #26323d;
    --ok: #5cc98f; --ok-bg: #16301f; --warn: #f0b45a; --warn-bg: #33270f; --bad: #f07f76; --bad-bg: #3a1a18;
    --info: #8fb4f0; --info-bg: #182a44; --shadow: none;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom); }
button { font: inherit; border: 0; border-radius: 12px; padding: 13px 14px; font-weight: 600; cursor: pointer; }
button:active { transform: scale(.98); }
button[disabled] { opacity: .5; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  background: var(--brand); color: var(--on-brand); padding: calc(env(safe-area-inset-top) + 10px) 16px 10px; }
.brand { font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 8px; }
.logo { font-size: 16px; }
.logo-img { width: 28px; height: 28px; border-radius: 7px; }
.icon-btn { background: transparent; color: var(--on-brand); font-size: 22px; line-height: 1; padding: 4px 10px; }

main { max-width: 560px; margin: 0 auto; padding: 14px 16px 40px; }
h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 22px 2px 8px; }
.card { background: var(--card); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 12px; }
.card p { margin: 6px 0; }

.shield { background: var(--brand); color: var(--on-brand); border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; }
.shield b { font-size: 17px; display: block; }
.shield small { opacity: .88; font-size: 13px; }

.alert { border-left: 5px solid var(--warn); }
.alert.hi { border-left-color: var(--bad); }
.alert .t { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; font-size: 12.5px; color: var(--muted); }
.alert .t .tag { white-space: nowrap; }
.alert .item { font-weight: 700; font-size: 17px; margin: 6px 0 4px; }
.alert .meta { font-size: 14px; }
.alert .patient { font-size: 15px; margin: 2px 0 4px; }
.alert .why { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.alert .q { font-weight: 700; margin: 12px 0 8px; font-size: 17px; }
.alert ul.pts { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); }
.btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.yes { background: var(--ok); color: #fff; }
.no { background: var(--bad); color: #fff; }
.tag { font-size: 11.5px; background: var(--info-bg); color: var(--info); border-radius: 99px; padding: 2px 8px; font-weight: 600; }
.tag.urgent { background: var(--bad-bg); color: var(--bad); }

.empty { text-align: center; padding: 26px 12px; }
.empty .big { font-size: 34px; color: var(--ok); }

.hist { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.hist:first-child { border-top: 0; }
.hist .s-confirmed { color: var(--ok); } .hist .s-denied { color: var(--bad); } .hist .s-expired { color: var(--warn); }

.doc { width: 100%; text-align: left; background: var(--card); color: var(--ink); box-shadow: var(--shadow); margin-bottom: 10px;
  display: flex; justify-content: space-between; align-items: center; font-weight: 400; }
.doc b { display: block; }
.primary { background: var(--brand); color: var(--on-brand); width: 100%; }
.secondary { background: var(--card); color: var(--brand); border: 1px solid var(--line); width: 100%; }
.danger-link { background: transparent; color: var(--bad); width: 100%; }
.stack > * + * { margin-top: 10px; }
.notice { background: var(--info-bg); color: var(--ink); }
.notice b { color: var(--info); }
.steps { margin: 6px 0 0; padding-left: 20px; } .steps li { margin: 4px 0; }

.banner { position: fixed; left: 12px; right: 12px; top: calc(env(safe-area-inset-top) + 8px); z-index: 20;
  background: var(--ink); color: var(--bg); border-radius: 14px; padding: 12px 14px; font-weight: 600; box-shadow: 0 8px 30px rgba(0,0,0,.25);
  transform: translateY(-140%); transition: transform .25s ease; max-width: 540px; margin: 0 auto; }
.banner.show { transform: none; }

.sheet { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 30; display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet-card { background: var(--card); width: 100%; max-width: 560px; border-radius: 20px 20px 0 0; padding: 20px 16px calc(env(safe-area-inset-bottom) + 20px); }
.sheet-card h3 { margin: 0 0 8px; }
.foot { text-align: center; margin-top: 20px; }

/* ---- signed-in screens ---- */
.bar-title { font-size: 14px; opacity: .85; text-align: right; }
.bname { display: flex; flex-direction: column; line-height: 1.1; }
.tagline { font-size: 11px; font-weight: 600; letter-spacing: .02em; opacity: .85; margin-top: 2px; }
main { padding-bottom: calc(env(safe-area-inset-bottom) + 84px); }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; background: var(--card);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar[hidden] { display: none; }
.tabbar button { flex: 1; background: transparent; color: var(--muted); border-radius: 0; padding: 8px 4px 10px; font-size: 12px;
  font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative; }
.tabbar button.active { color: var(--brand); }
.tabbar .ti { font-size: 19px; line-height: 1.1; }
.tbadge { position: absolute; top: 4px; left: calc(50% + 8px); background: var(--bad); color: #fff; font-size: 11px; border-radius: 99px; padding: 0 6px; }
.tbadge[hidden] { display: none; }
@media (prefers-color-scheme: dark) { .tabbar button.active { color: #8fc3ea; } }

input, select { font: inherit; width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
select { padding: 13px 8px; }
.lbl { font-weight: 600; font-size: 14px; }
.demo-code { background: var(--warn-bg); border-radius: 10px; padding: 10px 12px; }
.demo-code code { font-weight: 700; }
.card.warn { background: var(--warn-bg); }
.cta { width: 100%; display: flex; justify-content: space-between; align-items: center; background: var(--bad-bg); color: var(--bad);
  text-align: left; font-weight: 400; }
.card-h { font-weight: 700; margin-bottom: 8px; }
/* create an account */
.steps { display: flex; gap: 6px; margin-bottom: 4px; } .steps span { flex: 1; text-align: center; padding: 6px 2px; border-radius: 8px; background: var(--card); color: var(--muted); }
.steps span.on { background: var(--brand); color: var(--on-brand); } .steps span.done { color: var(--ok); }
.who { padding: 10px 12px; border-radius: 10px; background: var(--bg); }
.row2 { display: grid; grid-template-columns: 1fr 92px; gap: 8px; } .row3 { display: grid; grid-template-columns: 1fr 80px 84px; gap: 8px; }
.row2 > *, .row3 > * { min-width: 0; }
.card.verify { border-left: 5px solid var(--warn); }
.card.verify button.secondary { text-align: left; line-height: 1.35; }
.cta.calm { background: var(--card); color: var(--ink, inherit); }
.cta .small { font-weight: 400; }
/* fraud risk score (number and level only) */
.risk { display: flex; gap: 14px; align-items: flex-start; border-left: 6px solid var(--line); }
.risk p { margin: 0 0 6px; }
.rbadge { min-width: 66px; border-radius: 12px; padding: 8px 4px; text-align: center; color: #fff; display: flex; flex-direction: column; }
.rbadge b { font-size: 28px; line-height: 1.1; } .rbadge small { font-size: 11px; opacity: .85; }
.risk.low { border-left-color: var(--ok); } .risk.low .rbadge { background: var(--ok); }
.risk.medium { border-left-color: #b38600; } .risk.medium .rbadge { background: #b38600; color: #1f1700; }
.risk.high { border-left-color: var(--bad); } .risk.high .rbadge { background: var(--bad); }
.seg.seg3 { grid-template-columns: 1fr 1fr 1.4fr; }
.seg.seg3 button { font-size: 13px; }
.seg.kinds { grid-template-columns: 1fr 1.6fr 1fr; }
.seg.kinds button { font-size: 13px; }
.chart .col { position: relative; }
.chart .cv { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--muted); white-space: nowrap; }
.chart.chart-years { margin-top: 16px; gap: 10px; }
.axis { display: flex; justify-content: space-between; margin-top: 4px; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.tile { background: var(--card); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); }
.tile .v { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tile .l { font-size: 13px; color: var(--muted); }
.tile .s { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tile.good .v { color: var(--ok); } .tile.bad .v { color: var(--bad); }

.chart { display: flex; align-items: flex-end; gap: 3px; height: 110px; border-bottom: 1px solid var(--line); }
.chart .col { flex: 1; height: 100%; display: flex; flex-direction: column-reverse; }
.chart i, .legend i { display: block; }
.chart i.ok, .legend i.ok { background: #7aa7c7; } .chart i.wait, .legend i.wait { background: var(--warn); } .chart i.bad, .legend i.bad { background: var(--bad); }
.legend { display: flex; gap: 14px; margin-top: 8px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 5px; } .legend i { width: 10px; height: 10px; border-radius: 2px; }
.hbar { display: grid; grid-template-columns: 1fr 70px 28px; gap: 8px; align-items: center; font-size: 13.5px; padding: 4px 0; }
.meter { height: 8px; background: var(--bg); border-radius: 99px; overflow: hidden; } .meter i { display: block; height: 100%; background: var(--brand); }
.hbar b { text-align: right; font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.tag.ok { background: var(--ok-bg); color: var(--ok); }

.link { background: none; color: var(--brand); padding: 6px 0; font-weight: 600; text-align: left; }
.link.danger { color: var(--bad); }
.link.fill { display: block; width: 100%; padding: 6px 0; font-weight: 600; }
.face { display: flex; align-items: center; justify-content: center; gap: 8px; }
pre.mail { white-space: pre-wrap; font: 12px/1.45 ui-monospace, Menlo, monospace; background: var(--card); border-radius: 8px; padding: 10px; }
.btnlink { display: block; text-align: center; text-decoration: none; border-radius: 12px; padding: 12px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .link { color: #8fc3ea; } }
pre.mail { overflow-wrap: anywhere; }

/* ---- History screen (past Medicare orders) ---- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; margin: 4px 0 2px; scrollbar-width: none; }
.chip { flex: none; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 99px; padding: 7px 13px; font-size: 13.5px; font-weight: 600; }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.card.list { padding: 4px 12px; }
.hrow { display: flex; gap: 12px; align-items: flex-start; padding: 12px 4px; border-top: 1px solid var(--line); cursor: pointer; border-radius: 10px; }
.hrow:first-child { border-top: 0; }
.hrow.sel { background: var(--bad-bg); }
.hrow input[type=checkbox] { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--bad); }
.hrow .flag { width: 22px; flex: none; color: var(--bad); font-size: 18px; text-align: center; }
.hrow.reported { cursor: default; }
.hmain { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14.5px; }
.hdesc { font-size: 13.5px; }
.reported-note { color: var(--bad); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.reported-note .link { padding: 0; font-size: 13px; }
.hist .link.undo { padding: 2px 0 0; font-size: 12px; font-weight: 500; text-decoration: underline; }
.reportbar { position: fixed; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + 58px); z-index: 11; display: grid;
  grid-template-columns: 1fr 2fr; gap: 10px; padding: 10px 16px; background: var(--card); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(0,0,0,.08); max-width: 560px; margin: 0 auto; }
.sheet-list { max-height: 30vh; overflow-y: auto; background: var(--bg); border-radius: 10px; padding: 8px 10px; margin: 8px 0; }
.sheet-list div { padding: 2px 0; }
.sheet-card { max-height: 90vh; overflow-y: auto; }
.radio { display: flex; gap: 10px; align-items: center; font-size: 15px; padding: 4px 0; }
.radio input { width: 20px; height: 20px; accent-color: var(--bad); }
textarea { font: inherit; width: 100%; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); resize: vertical; }
.hmain .tag { align-self: flex-start; }
body.has-reportbar main { padding-bottom: calc(env(safe-area-inset-bottom) + 150px); }

/* History: search box and code filter */
.searchrow { display: flex; gap: 8px; margin: 4px 0 8px; }
.search { flex: 1; position: relative; }
.search .sicon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; pointer-events: none; }
.search input { padding-left: 36px; background: var(--card); }
.filterbtn { background: var(--card); color: var(--brand); border: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }
.filterbtn.on { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.fcount { background: var(--bad); color: #fff; border-radius: 99px; font-size: 11.5px; padding: 0 7px; line-height: 18px; }
.fcount[hidden] { display: none; }
.chip .cn { opacity: .7; font-weight: 500; }
.filtersum { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); margin: 6px 2px 0; }
.filtersum .link { padding: 0; flex: none; }
.sheet-h { display: flex; justify-content: space-between; align-items: center; }
.sheet-h .link { padding: 0; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.fsec { margin-top: 12px; }
.fq { margin: 6px 0; }
.codelist { max-height: 40vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; }
.codelist .fam { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding: 10px 0 2px; }
.coderow { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); cursor: pointer; }
.fam + .coderow { border-top: 0; }
.coderow[hidden], .codelist .fam[hidden] { display: none; }
.coderow input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.cmain { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cdesc { color: var(--ink); }
input[type=search]::-webkit-search-cancel-button { cursor: pointer; }

/* History: Medicare history / Checked by Argus switch */
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 3px; margin-bottom: 12px; }
.seg button { background: transparent; color: var(--muted); padding: 9px 6px; border-radius: 9px; font-size: 14px; }
.seg button.on { background: var(--brand); color: var(--on-brand); }
.hrow.argus { cursor: default; }
.hrow .s-confirmed { color: var(--ok); } .hrow .s-denied { color: var(--bad); } .hrow .s-expired { color: var(--warn); }

/* orders over time */
.seg.seg5 { grid-template-columns: repeat(5, 1fr); } .seg.seg5 button { font-size: 12px; padding: 8px 2px; }
.otot { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin: 2px 0 10px; }
.otot b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; } .otot b.good { color: var(--ok); }
.otot small { color: var(--muted); font-size: 12px; }
.ochart { width: 100%; height: auto; display: block; }
.ochart .gl { stroke: var(--line); } .ochart .gl.d { stroke-dasharray: 3 3; }
.ochart .tl { font-size: 11px; fill: var(--muted); }
.ochart .b { fill: #7aa7c7; } .ochart .bw { fill: var(--warn); } .ochart .bs { fill: var(--bad); }

/* dashboard numbers open the orders behind them */
button.tile { text-align: left; color: inherit; font: inherit; border: 0; cursor: pointer; width: 100%; }
button.tile:active { transform: scale(.98); }
.otot button { background: transparent; border: 0; color: inherit; font: inherit; padding: 4px 2px; border-radius: 10px; cursor: pointer; }
.otot button:active { background: var(--bg); }
.link.back { padding: 4px 0 10px; font-weight: 600; }

/* show password, remember me */
.pwwrap { position: relative; }
.pwwrap input { padding-right: 72px; }
.pwtoggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: transparent; color: var(--brand);
  font-weight: 700; font-size: 14px; padding: 8px 10px; border-radius: 8px; width: auto; }
@media (prefers-color-scheme: dark) { .pwtoggle { color: #8fc3ea; } }
.remember { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 4px 0; }
.remember input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--brand); }

/* fraud reports */
.tabbar button { font-size: 11px; }
.dest { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dest:last-of-type { border-bottom: 0; }
.dest input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--brand); }
textarea { font: inherit; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.repcard { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; color: inherit; font: inherit; border: 0; }
.upd { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; } .upd:last-child { border-bottom: 0; }
.upd .small { flex: none; width: 74px; }
pre.mail { white-space: pre-wrap; word-break: break-word; max-height: 260px; overflow: auto; }
.btnlink { display: block; text-align: center; text-decoration: none; padding: 13px; border-radius: 12px; }

/* score history (shared /history.js): arrow next to the score and the history sheet */
/* the arrow: a white pill inside the coloured score box */
.trend { display: inline-flex; align-items: center; justify-content: center; gap: 3px; align-self: center; margin-top: 6px;
  background: #fff; border-radius: 999px; padding: 2px 9px 2px 7px; line-height: 1; font-weight: 800; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.trend .tri { font-size: 20px; } .trend .delta { font-size: 14px; }
.trend.up { color: #c62828; } .trend.down { color: #1b7f3b; } 
.sheet-in h3 { margin: 0 0 6px; }
.hband.high { fill: #fde4e1; } .hband.medium { fill: #fff3c4; } .hband.low { fill: #e3f3ea; }
.hgrid { stroke: #ddd; } .hlabel { font-size: 11px; fill: #777; } .hline { fill: none; stroke: #222; stroke-width: 2; }
.hdot { stroke: #fff; stroke-width: 2; } .hdot.high { fill: #c0392b; } .hdot.medium { fill: #b38600; } .hdot.low { fill: #1d7a4f; }
.sheet-in table { width: 100%; font-size: 13px; margin-top: 8px; } .sheet-in td, .sheet-in th { padding: 4px 6px; text-align: left; }

.histchart { max-height: 240px; display: block; }

/* the History button right under the score box */
.rcol { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
/* the overall risk banner: the whole card colored by level; tap for the scores behind it */
.ovrisk { width: 100%; display: flex; flex-direction: column; gap: 8px; text-align: left; border: 0; border-left: 6px solid; font: inherit; color: inherit; cursor: pointer; }
.ovrisk .ovtop { display: flex; gap: 12px; align-items: flex-start; }
.ovrisk .ovlvl { min-width: 66px; border-radius: 12px; padding: 10px 4px; text-align: center; color: #fff; font-weight: 800; text-transform: uppercase; font-size: 14px; }
.ovrisk .ovmore { font-weight: 600; align-self: flex-end; }
.ovrisk.low { background: var(--ok-bg); border-color: var(--ok); } .ovrisk.low .ovlvl { background: var(--ok); } .ovrisk.low b, .ovrisk.low .ovmore { color: var(--ok); }
.ovrisk.medium { background: var(--warn-bg); border-color: #b38600; } .ovrisk.medium .ovlvl { background: #b38600; color: #1f1700; } .ovrisk.medium b, .ovrisk.medium .ovmore { color: var(--warn); }
.ovrisk.high { background: var(--bad-bg); border-color: var(--bad); } .ovrisk.high .ovlvl { background: var(--bad); } .ovrisk.high b, .ovrisk.high .ovmore { color: var(--bad); }
.ovscore { display: inline-block; min-width: 34px; text-align: center; font-weight: 700; border-radius: 8px; padding: 3px 6px; color: #fff; }
.ovscore.low { background: var(--ok); } .ovscore.medium { background: #b38600; color: #1f1700; } .ovscore.high { background: var(--bad); }
[data-part] .riskHistory { margin-top: 4px; padding: 4px 6px; font-size: 12px; white-space: nowrap; }
.rcol .riskHistory { padding: 4px 6px; font-size: 12px; white-space: nowrap; }

/* on a computer screen: "Get Horkos on your phone" QR code */
.getphone { position: fixed; right: 24px; bottom: 24px; width: 200px; background: #fff; color: #14202b; border-radius: 14px;
  padding: 14px; box-shadow: 0 6px 24px rgba(0,0,0,.18); text-align: center; font-size: 13px; z-index: 5; }
.getphone img { width: 172px; height: 172px; display: block; margin: 0 auto 8px; }
.getphone p { margin: 6px 0 0; font-size: 12px; color: #4b5866; text-align: left; }
@media (max-width: 899px) { .getphone { display: none !important; } }

/* Order history: lines Argus doubts the physician ordered, quick sorting by kind of item code */
.card.attn { border-left: 5px solid var(--bad); background: var(--bad-bg); }
.card.attn b { color: var(--bad); }
.card.attn p { margin: 6px 0 10px; }
.card.attn button { width: 100%; }
.card.okline { border-left: 5px solid var(--ok); }
.card.okline b { color: var(--ok); }
.tag.warn { background: var(--warn-bg); color: var(--warn); }
.hrow.doubt { box-shadow: inset 4px 0 0 var(--warn); padding-left: 10px; }
.hrow.doubt.high { box-shadow: inset 4px 0 0 var(--bad); }
.hrow .why { color: var(--ink); }
.sortrow { display: flex; align-items: center; gap: 8px; margin: 2px 2px 4px; }
.chip.sm { padding: 4px 11px; font-size: 12.5px; }
h2.codeh .small { font-weight: 500; }
#hlist { scroll-margin-top: 70px; }
h2.grouph { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.selall { padding: 0; flex: none; text-transform: none; letter-spacing: 0; font-weight: 600; }
.sortrow .selall { margin-left: auto; }
.card.notice p + p { margin-top: 8px; }
