/* Copyright (c) 2026 Jake Fourie. All rights reserved. Proprietary and confidential.
   No part of this software may be copied, modified or distributed without written permission. Build mark: pf-a6fcd73d219f7009 */
/* Layout: one-screen app. Brand band on top, view tabs, then a working area with an optional detail drawer on the right.
   Neutral system surfaces by default. Each practice sets its own brand colour, accent, typeface and logo in Settings. */
:root {
  --bg: #f2f3f5;
  --surface: #fbfbfc;
  --raised: #ffffff;
  --ink: #1b1f24;
  --ink-soft: #5c6470;
  --line: #dfe2e7;
  --link: #c3c8d0;
  --brand: #1f2a44;
  --brand-2: #2d3a5c;
  --on-brand: #f6f5f1;
  --on-brand-soft: #c5cad6;
  --accent: #2f6fed;
  --accent-ink: #2456b8;
  --ok: #2f6f4f;
  --warn: #a36a12;
  --bad: #a8402f;
  --idle: #8a8f98;
  --ok-bg: #e3efe6;
  --warn-bg: #f6ead2;
  --bad-bg: #f6e0da;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.08), 0 8px 24px rgba(16, 24, 40, 0.08);
  --display: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --hw: 600;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101317; --surface: #171b21; --raised: #1f242c; --ink: #e8eaed; --ink-soft: #a3abb6; --line: #2d343e; --link: #465060;
    --ok: #7fc79c; --warn: #e2b565; --bad: #ef9482; --idle: #8b939d;
    --ok-bg: #173227; --warn-bg: #3a2e14; --bad-bg: #41211b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #101317; --surface: #171b21; --raised: #1f242c; --ink: #e8eaed; --ink-soft: #a3abb6; --line: #2d343e; --link: #465060;
    --ok: #7fc79c; --warn: #e2b565; --bad: #ef9482; --idle: #8b939d;
    --ok-bg: #173227; --warn-bg: #3a2e14; --bad-bg: #41211b;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
}
/* Optional warm paper surfaces, light theme only. */
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .app[data-surface="warm"] { --bg: #f4efe5; --surface: #fbf8f2; --raised: #ffffff; --line: #e2d8c5; --link: #cdbf9f; --ink: #15201d; --ink-soft: #5a615c; } }
:root[data-theme="light"] .app[data-surface="warm"] { --bg: #f4efe5; --surface: #fbf8f2; --raised: #ffffff; --line: #e2d8c5; --link: #cdbf9f; --ink: #15201d; --ink-soft: #5a615c; }

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 0.9375rem; line-height: 1.5; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.app { height: 100%; display: flex; flex-direction: column; min-height: 0; font-family: var(--body); }
.gut { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Demo strip */
.demo { background: var(--warn-bg); color: var(--ink); border-bottom: 1px solid var(--line); font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; padding-block: 6px; }
.demo b { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
.demo label { display: inline-flex; gap: 6px; align-items: center; }
.demo select, .demo button { background: var(--raised); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; padding: 2px 6px; font-size: 0.8rem; }
.demo .sp { flex: 1; }

/* Brand band */
.band { background: var(--brand); color: var(--on-brand); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-block: 12px; border-bottom: 1px solid var(--brand-2); }
.brandmark { display: flex; gap: 12px; align-items: center; margin-right: auto; min-width: 0; }
.brandmark > div { display: grid; gap: 3px; line-height: 1.1; min-width: 0; }
.brandmark .nm { font-family: var(--display); font-size: 1.12rem; font-weight: var(--hw); letter-spacing: -0.005em; }
.brandmark .tg { font-size: 0.72rem; font-weight: 500; color: var(--on-brand-soft); }
.brandmark img, .logo-box img { max-height: 34px; max-width: 160px; display: block; }
.band .who { font-size: 0.82rem; color: var(--on-brand-soft); }
.band .who b { color: var(--on-brand); font-weight: 600; }
.band select { background: var(--brand-2); color: var(--on-brand); border: 1px solid color-mix(in srgb, var(--on-brand) 22%, transparent); border-radius: 4px; padding: 6px 8px; max-width: 100%; }
.band .ghost { background: transparent; color: var(--on-brand); border: 1px solid color-mix(in srgb, var(--on-brand) 35%, transparent); border-radius: 4px; padding: 6px 10px; }

/* Tabs */
.tabs { background: var(--surface); border-bottom: 1px solid var(--line); display: flex; gap: 2px; overflow-x: auto; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 11px 14px 9px; font-weight: 600; font-size: 0.86rem; color: var(--ink-soft); white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.tab .ct { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: var(--warn-bg); color: var(--warn); font-size: 0.72rem; text-align: center; }

.work { flex: 1; min-height: 0; display: flex; position: relative; }
.main { flex: 1; min-width: 0; min-height: 0; overflow: auto; position: relative; }
.page { max-width: 880px; margin: 0 auto; padding-block: 22px 48px; display: grid; gap: 18px; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--hw); letter-spacing: -0.01em; line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-size: 1.55rem; } h2 { font-size: 1.15rem; } h3 { font-size: 1.05rem; }
.lede { color: var(--ink-soft); max-width: 65ch; margin: 0; }
.eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-ink); }

.btn { background: var(--brand-2); color: var(--on-brand); border: 1px solid var(--brand-2); border-radius: 4px; padding: 7px 12px; font-weight: 600; font-size: 0.84rem; }
.btn.alt { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.sm { padding: 4px 9px; font-size: 0.78rem; }
.btn:disabled { opacity: 0.5; cursor: default; }

/* Map */
.stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; }
.stage.drag { cursor: grabbing; }
.canvas { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.canvas svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.canvas path { fill: none; stroke: var(--link); stroke-width: 1.6; }
.node { position: absolute; width: var(--nw, 214px); height: var(--nh, 66px); display: flex; }
.node-main { flex: 1; min-width: 0; text-align: left; background: var(--raised); border: 1px solid var(--line); border-left: 4px solid var(--c, var(--idle)); border-radius: 6px; padding: 6px 9px; display: grid; align-content: center; gap: 2px; box-shadow: 0 1px 2px rgba(10, 29, 25, 0.06); }
.node.sel .node-main { outline: 2px solid var(--accent); outline-offset: 1px; }
.node .ttl { font-size: 0.8rem; font-weight: 600; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.node .meta { display: flex; gap: 6px; align-items: center; font-size: 0.68rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; }
.node.done .ttl { text-decoration: line-through; color: var(--ink-soft); }
.node.root .node-main { background: var(--brand); color: var(--on-brand); border-color: var(--brand); justify-items: center; text-align: center; }
.node.root .meta { color: var(--on-brand-soft); justify-content: center; }
.node.root .ttl { font-family: var(--display); font-size: 0.95rem; font-weight: var(--hw); }
.node.top .node-main { background: var(--c); border-color: var(--c); color: #fff; }
.node.top .meta { color: rgba(255, 255, 255, 0.85); }
.node .tog { position: absolute; top: calc(var(--nh, 66px) / 2 - 11px); width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); font-size: 0.68rem; font-weight: 600; padding: 0; line-height: 1; }
.node.r .tog { right: -11px; } .node.l .tog { left: -11px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--idle); flex: none; }
.dot.doing { background: var(--warn); } .dot.blocked { background: var(--bad); } .dot.done { background: var(--ok); }
.late { color: var(--bad); font-weight: 600; }
.flag { color: var(--bad); font-weight: 700; }
.maptools { position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); top: 12px; right: max(16px, env(safe-area-inset-right, 0px)); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; pointer-events: none; }
.maptools > * { pointer-events: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; font-size: 0.8rem; margin-right: auto; }
.crumbs button { background: none; border: 0; padding: 2px 2px; color: var(--accent-ink); font-weight: 600; }
.zoom { display: flex; gap: 4px; }
.zoom .btn { background: var(--surface); color: var(--ink); border-color: var(--line); min-width: 32px; }
.legend { position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); bottom: 10px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.72rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; }
.legend span { display: inline-flex; gap: 5px; align-items: center; }

/* Drawer */
.drawer { width: 380px; max-width: 100%; flex: none; background: var(--surface); border-left: 1px solid var(--line); overflow: auto; padding: 16px; display: grid; gap: 14px; align-content: start; }
.drawer .hd { display: flex; gap: 8px; align-items: start; }
.drawer .hd textarea { flex: 1; font-family: var(--display); font-weight: var(--hw); font-size: 1.1rem; line-height: 1.2; border: 1px solid transparent; background: transparent; resize: none; padding: 2px 4px; border-radius: 4px; min-width: 0; }
.drawer .hd textarea:hover, .drawer .hd textarea:focus { border-color: var(--line); background: var(--raised); }
.x { background: none; border: 1px solid var(--line); border-radius: 4px; width: 30px; height: 30px; flex: none; }
.field { display: grid; gap: 4px; }
.field > label, .field > .lb { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.field input[type="text"], .field input[type="date"], .field select, .field textarea { background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; width: 100%; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.seg button { flex: 1; background: var(--raised); border: 0; border-right: 1px solid var(--line); padding: 6px 4px; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--brand-2); color: var(--on-brand); }
.check { display: flex; gap: 8px; align-items: start; font-size: 0.88rem; }
.check input { margin-top: 4px; }
.check.done span { text-decoration: line-through; color: var(--ink-soft); }
.addline { display: flex; gap: 6px; }
.addline input { flex: 1; min-width: 0; background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; }
.pill { display: inline-block; border-radius: 10px; padding: 1px 8px; font-size: 0.72rem; font-weight: 600; background: var(--line); color: var(--ink); }
.pill.p4 { background: var(--bad-bg); color: var(--bad); } .pill.p3 { background: var(--warn-bg); color: var(--warn); } .pill.ok { background: var(--ok-bg); color: var(--ok); }
.private { background: var(--warn-bg); border: 1px dashed var(--warn); border-radius: 4px; padding: 8px; }
.note { font-size: 0.78rem; color: var(--ink-soft); margin: 0; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.danger { color: var(--bad); border-color: var(--bad); background: transparent; }

/* Lists */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.item { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item .t { font-weight: 600; min-width: 0; }
.item .t button { background: none; border: 0; padding: 0; font-weight: 600; text-align: left; }
.item .s { grid-column: 2 / 4; font-size: 0.8rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.item input[type="checkbox"] { width: 18px; height: 18px; }
.item.top3 { background: var(--raised); }
.bar { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ok); }
.tl { display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.tl .ms { position: relative; padding: 0 0 18px 20px; }
.tl .ms::before { content: ""; position: absolute; left: -8px; top: 4px; width: 12px; height: 12px; transform: rotate(45deg); background: var(--idle); border: 2px solid var(--bg); }
.tl .ms.done::before { background: var(--ok); } .tl .ms.doing::before { background: var(--warn); } .tl .ms.blocked::before { background: var(--bad); }
.tl .when { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.wheel { width: 100%; max-width: 360px; height: auto; display: block; margin: 0 auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.86rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); }
th { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
td.num, th.num { text-align: right; }
.up { color: var(--ok); font-weight: 600; } .down { color: var(--bad); font-weight: 600; }
.scroll { overflow-x: auto; }
.rate .qhead { grid-column: 1 / -1; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.rate .qhead:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.rate { display: grid; grid-template-columns: minmax(0, 1fr) 120px 24px; gap: 6px 10px; align-items: center; padding: 14px; font-size: 0.86rem; }

/* Documents */
.drop { border: 2px dashed var(--line); border-radius: 6px; padding: 18px; text-align: center; color: var(--ink-soft); background: var(--surface); }
.drop.over { border-color: var(--accent); }
.doc { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.doc:last-child { border-bottom: 0; }
.doc .nm { font-weight: 600; margin-right: auto; min-width: 0; overflow-wrap: anywhere; }
.sug { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.sug:last-child { border-bottom: 0; }
.sug .top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.sug .top b { margin-right: auto; }
.sug blockquote { margin: 0; padding: 4px 10px; border-left: 3px solid var(--line); color: var(--ink-soft); font-size: 0.82rem; }
.sug .ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.8rem; }
.sug select { background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 4px 6px; max-width: 100%; }
.conf { font-size: 0.72rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--surface); padding: 10px 14px; border-radius: 4px; font-size: 0.86rem; }
.prog { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.25s; }

dialog { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); padding: 20px; width: min(420px, calc(100% - 32px)); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(10, 29, 25, 0.5); }
dialog form { display: grid; gap: 14px; }
.toast { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--brand); color: var(--on-brand); padding: 8px 14px; border-radius: 4px; font-size: 0.84rem; box-shadow: var(--shadow); z-index: 5; max-width: calc(100% - 32px); }

.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 34px; height: 34px; border-radius: 4px; border: 1px solid var(--line); background: var(--raised); font-size: 1.05rem; font-weight: 600; }
.stepper output { min-width: 2.5ch; text-align: center; font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
td select { background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 4px 6px; }
td .btn { white-space: nowrap; }

/* Light header option */
.app[data-band="light"] .band { background: var(--raised); color: var(--ink); border-bottom-color: var(--line); }
.app[data-band="light"] .band .tg, .app[data-band="light"] .band .who { color: var(--ink-soft); }
.app[data-band="light"] .band .who b { color: var(--ink); }
.app[data-band="light"] .band select { background: var(--surface); color: var(--ink); border-color: var(--line); }
.app[data-band="light"] .band .ghost { background: var(--brand-2); color: var(--on-brand); border-color: var(--brand-2); }

/* Home */
.stats { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.9rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.stats b { color: var(--ink); font-size: 1.1rem; }
.stats .late b { color: var(--bad); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 14px; }
.tile { text-align: left; background: var(--raised); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 8px; padding: 16px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.tile:hover { border-color: var(--accent); border-top-color: var(--brand); box-shadow: var(--shadow); }
.tile .tt { font-family: var(--display); font-weight: var(--hw); font-size: 1.2rem; line-height: 1.2; overflow-wrap: anywhere; }
.tile .nx { font-size: 0.84rem; }
.tile .brs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 0.74rem; color: var(--ink-soft); }
.tile .brs span { margin-left: 4px; }
.tile.new { border: 2px dashed var(--line); background: transparent; align-content: center; min-height: 9rem; }
.addline input[type="color"] { flex: none; }

/* Calendar */
.page.wide { max-width: 1120px; }
.calhead { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.calhead h2 { margin-right: auto; font-variant-numeric: tabular-nums; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.cal .dow { background: var(--surface); padding: 6px 8px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.cal .day { background: var(--surface); min-height: 100px; padding: 6px; display: grid; gap: 3px; align-content: start; }
.cal .day.out { background: var(--bg); }
.dn { font-size: 0.76rem; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; justify-self: start; padding: 0 6px; border-radius: 10px; }
.cal .day.today .dn { background: var(--brand-2); color: var(--on-brand); }
.chip { display: flex; gap: 5px; align-items: center; background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; font-size: 0.72rem; text-align: left; min-width: 0; width: 100%; }
.chip .tx { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.chip.ms { border-color: var(--accent); font-weight: 600; }
.chip.done .tx { text-decoration: line-through; color: var(--ink-soft); }
.more { font-size: 0.7rem; color: var(--ink-soft); }
.agenda { display: none; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a { color: var(--accent-ink); font-weight: 600; font-size: 0.86rem; }

/* Settings */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 14px 0; }
.preset { display: flex; gap: 6px; align-items: center; background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px; font-size: 0.82rem; }
.preset[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.preset i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1px solid var(--line); }
.logo-prev { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 14px; }
.logo-box { background: var(--brand); color: var(--on-brand); padding: 10px 14px; border-radius: 4px; min-height: 54px; display: flex; align-items: center; font-size: 0.82rem; }
input[type="color"] { width: 52px; height: 34px; padding: 2px; border: 1px solid var(--line); border-radius: 4px; background: var(--raised); }
.field input[type="email"], .field input[type="tel"] { background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 6px 8px; width: 100%; }

@media (max-width: 700px) { .cal { display: none; } .agenda { display: block; } .form { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .drawer { position: absolute; inset: 0; width: auto; border-left: 0; z-index: 4; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .legend { display: none; }
  .item { grid-template-columns: auto 1fr; }
  .item .s { grid-column: 2; }
  .item > .pill { grid-column: 2; justify-self: start; }
}

/* Ownership marker: an unused rule with a unique name. Its presence in another product shows the code was copied. */
.pf-a6fcd73d219f7009 { outline-offset: 0.0137px; }
