/* In Perpetuity - a contract on a desk: manila ground, cream paper, navy ink, a red pen for deal-breakers, amber for
 * "negotiate", green for "fine". Serif for the document and the headings, a system sans for the controls. */
:root {
  --bg: #efe8d8; --bg2: #e6ddc8; --paper: #fffdf6; --card: #fbf8ef; --ink: #1c2333; --muted: #5a6172; --line: #ddd2bb; --rule: #ece3cf;
  --pen: #b4232c; --pen-soft: #f7d9d6; --amber: #9a5a00; --amber-soft: #fbe6c2; --green: #23683f; --green-soft: #d6efdc; --blue: #2a5795; --blue-soft: #dce6f5;
  --navy: #1f2e4d; --navy-ink: #f6f1e4; --shadow: 0 1px 0 rgba(60, 45, 20, .06), 0 6px 18px rgba(60, 45, 20, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #15171c; --bg2: #1d2027; --paper: #20232b; --card: #1b1e25; --ink: #ece6d8; --muted: #a7adba; --line: #343946; --rule: #2a2e38;
  --pen: #ff7a72; --pen-soft: #4a2326; --amber: #f2bd5c; --amber-soft: #43331a; --green: #74d39a; --green-soft: #1d3a29; --blue: #93b8f5; --blue-soft: #1f2d45;
  --navy: #c9d6f2; --navy-ink: #141820; --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .3);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); overflow-x: hidden; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; }
h2 { font-size: 1.25rem; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
h3 { font-size: 1rem; margin: 16px 0 8px; }
code { font-family: var(--mono); font-size: .88em; background: var(--bg2); padding: 1px 4px; border-radius: 4px; }
.hidden { display: none !important; }
.small { font-size: .86rem; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.warn { color: var(--amber); }
.r { text-align: right; }
.block { display: block; }

/* Header and lanes */
.bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--paper); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.back { color: var(--muted); text-decoration: none; font-size: .9rem; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 1.1rem; }
.logo { width: 28px; height: 28px; }
.lg-paper { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; }
.lg-rule { stroke: var(--muted); stroke-width: 1.4; fill: none; }
.lg-pen { stroke: var(--pen); stroke-width: 2; fill: none; stroke-linecap: round; }
.session { margin-left: auto; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 13px; font: 600 13px var(--font); cursor: pointer; text-decoration: none; }
.pill:hover:not(:disabled) { border-color: var(--ink); }
.pill:disabled { opacity: .5; cursor: not-allowed; }
.pill.solid { background: var(--navy); color: var(--navy-ink); border-color: var(--navy); }
.pill.solid:hover:not(:disabled) { filter: brightness(1.12); border-color: var(--navy); }
.pill.ghost { background: transparent; cursor: default; }
.pill.tiny { padding: 3px 10px; font-size: 12px; }
.pill.big { padding: 10px 20px; font-size: 15px; }
.lanes { background: var(--bg2); border-bottom: 1px solid var(--line); }
.lanes-in { max-width: 1180px; margin: 0 auto; display: flex; gap: 6px; padding: 8px 16px; overflow-x: auto; }
.lane { border: 1px solid transparent; background: transparent; color: var(--muted); border-radius: 10px; padding: 7px 12px; font: 600 14px var(--font); cursor: pointer; white-space: nowrap; }
.lane.on { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.lane .ln { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: var(--navy-ink); font-size: 11px; margin-right: 4px; }
.lane .lsub { font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 4px; }

/* Layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 18px 16px 40px; }
.hero { padding: 10px 0 18px; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: var(--pen); font-weight: 700; margin: 0 0 6px; }
.hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); margin: 0 0 10px; max-width: 22ch; font-weight: 600; }
.hl { font-style: italic; color: var(--pen); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: color-mix(in srgb, var(--pen) 55%, transparent); }
.lede { max-width: 70ch; color: var(--muted); margin: 0 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chips-label { font-size: .86rem; color: var(--muted); margin-right: 2px; }
.chip { border: 1px dashed var(--muted); background: transparent; color: var(--ink); border-radius: 999px; padding: 5px 12px; font: 13px var(--font); cursor: pointer; }
.chip.on { border-style: solid; border-color: var(--navy); background: var(--navy); color: var(--navy-ink); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); margin-bottom: 16px; min-width: 0; }
.stepno { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--ink); font: 700 12px var(--font); flex: none; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.f { display: block; font-size: .86rem; font-weight: 600; margin: 8px 0 4px; }
.f input, .f select, .f textarea, textarea, .t input, .t select { display: block; width: 100%; margin-top: 4px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 8px; padding: 8px 10px; font: 400 14px var(--font); }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus, button:focus-visible, .sheet:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
.moneyin { display: flex; gap: 4px; margin-top: 4px; }
.moneyin select { width: auto; flex: none; margin: 0; padding: 8px 4px; }
.moneyin input { margin: 0; min-width: 0; }
.drop { border: 1px dashed transparent; border-radius: 10px; }
.drop.over { border-color: var(--blue); background: var(--blue-soft); }
.drop textarea { font-family: var(--serif); font-size: 15px; }
.drop-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.filebtn { font-size: .82rem; color: var(--blue); text-decoration: underline; cursor: pointer; }
.filebtn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.notes { list-style: none; padding: 0; margin: 8px 0; }
.notes li { padding: 6px 10px; border-left: 3px solid var(--line); margin-bottom: 4px; font-size: .88rem; background: var(--paper); border-radius: 0 6px 6px 0; }
.notes li.warn { border-left-color: var(--amber); color: var(--ink); }
.notes li.info { border-left-color: var(--blue); }
.notes li.none { color: var(--muted); }
.roundbox { margin: 10px 0; padding: 8px 12px; border: 1px dashed var(--line); border-radius: 8px; }
.roundbox h3 { margin: 0 0 4px; font-size: .95rem; }
.termhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.termhead h3 { margin: 0; }
.terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.t { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); }
.t span { display: flex; align-items: center; gap: 5px; }
.t input, .t select { padding: 6px 8px; font-size: 13.5px; margin-top: 3px; color: var(--ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--muted); display: inline-block; }
.dot.on { background: var(--green); border-color: var(--green); }

/* The redline */
.disp-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.disp-top h2 { margin: 0; }
.tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.tab { border: 0; background: transparent; color: var(--muted); font: 600 12px var(--font); padding: 5px 11px; cursor: pointer; }
.tab.on { background: var(--navy); color: var(--navy-ink); }
.tab:disabled { opacity: .45; cursor: not-allowed; }
.sheet { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 22px 20px 22px 44px; font: 15px/1.9 var(--serif); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 560px; overflow-y: auto; position: relative;
  background-image: linear-gradient(to right, transparent 32px, color-mix(in srgb, var(--pen) 35%, transparent) 32px, color-mix(in srgb, var(--pen) 35%, transparent) 33px, transparent 33px), repeating-linear-gradient(to bottom, transparent 0, transparent calc(1.9em - 1px), var(--rule) calc(1.9em - 1px), var(--rule) 1.9em);
  background-position: 0 0, 0 22px; }
.sheet-empty { color: var(--muted); font-style: italic; margin: 0; white-space: normal; }
mark.rl { background: transparent; color: inherit; padding: 0 1px; border-radius: 2px; text-decoration-line: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
mark.rl.lv-fix { background: var(--pen-soft); text-decoration-color: var(--pen); text-decoration-style: wavy; }
mark.rl.lv-warn { background: var(--amber-soft); text-decoration-color: var(--amber); }
mark.rl.lv-info { background: var(--blue-soft); text-decoration-color: var(--blue); text-decoration-style: dotted; }
mark.rl.lv-ok { background: var(--green-soft); text-decoration-color: var(--green); }
.rl-n { font: 700 10px var(--font); margin-left: 2px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: var(--paper); vertical-align: super; }
.margin { list-style: none; counter-reset: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.mn { position: relative; padding: 8px 10px 8px 36px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; }
.mn::before { content: attr(value); position: absolute; left: 9px; top: 8px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font: 700 10px var(--font); background: var(--ink); color: var(--paper); }
.mn.lv-fix { border-left: 4px solid var(--pen); }
.mn.lv-warn { border-left: 4px solid var(--amber); }
.mn.lv-info { border-left: 4px solid var(--blue); }
.mn.lv-ok { border-left: 4px solid var(--green); }
.mn p { margin: 3px 0 0; }
.mn .mask { font-weight: 600; }
.legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 5px; }
.sw { width: 14px; height: 10px; border-radius: 2px; display: inline-block; border-bottom: 2px solid; }
.sw.lv-fix { background: var(--pen-soft); border-color: var(--pen); }
.sw.lv-warn { background: var(--amber-soft); border-color: var(--amber); }
.sw.lv-info { background: var(--blue-soft); border-color: var(--blue); }
.sw.lv-ok { background: var(--green-soft); border-color: var(--green); }

/* What it is worth */
.verdict-tag { font: 700 12px var(--font); text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; border: 1.5px solid currentColor; }
.verdict-tag:empty { display: none; }
.v-sign, .v-accept { color: var(--green); }
.v-counter { color: var(--amber); }
.v-walk, .v-decline { color: var(--pen); }
.thermo { margin: 12px 0 4px; min-height: 60px; }
.thermo-svg { display: block; width: 100%; height: auto; overflow: visible; }
.thermo-empty { color: var(--muted); font-style: italic; margin: 8px 0; }
.z-walk { fill: var(--pen-soft); stroke: var(--pen); stroke-width: 1; }
.z-counter { fill: var(--amber-soft); stroke: var(--amber); stroke-width: 1; }
.z-sign { fill: var(--green-soft); stroke: var(--green); stroke-width: 1; }
.z-lab { font: 700 11px var(--font); fill: var(--ink); opacity: .75; text-transform: uppercase; letter-spacing: .08em; }
.tick { stroke: var(--muted); stroke-width: 1; }
.tick-main { stroke: var(--ink); stroke-width: 2; }
.tick-lab { font: 600 11px var(--font); fill: var(--muted); }
.tick-val { font: 12px var(--mono); fill: var(--ink); }
.mk-line { stroke-width: 2; }
.mk-line.mk-offer { stroke: var(--ink); }
.mk-line.mk-ask { stroke: var(--blue); }
.mk-line.mk-min { stroke: var(--muted); stroke-dasharray: 4 3; }
.mk-head.mk-offer { fill: var(--ink); }
.mk-head.mk-ask { fill: var(--blue); }
.mk-head.mk-min { fill: var(--muted); }
.mk-lab { font: 700 12.5px var(--font); }
.mk-lab.mk-offer { fill: var(--ink); }
.mk-lab.mk-ask { fill: var(--blue); }
.mk-lab.mk-min { fill: var(--muted); font-weight: 600; }
.worthgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.est { font: 600 10px var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--amber); border: 1px solid currentColor; border-radius: 4px; padding: 1px 5px; vertical-align: middle; margin-left: 4px; }
.tablewrap { overflow-x: auto; max-width: 100%; }
table.stack { width: 100%; border-collapse: collapse; font-size: .9rem; }
.stack th { text-align: left; font: 600 .76rem var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border-bottom: 1.5px solid var(--ink); padding: 6px 8px; }
.stack th.r { text-align: right; }
.stack td { padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.stack tr.sum td { font-weight: 700; border-top: 1.5px solid var(--ink); }
.stack tr.offer td { font-weight: 700; color: var(--blue); }
.stack tfoot th { border-top: 1.5px solid var(--ink); border-bottom: 0; color: var(--ink); font-size: .9rem; text-transform: none; letter-spacing: 0; }
.stack td.none { color: var(--muted); font-style: italic; }
.readflags { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.readflags li { font-size: .88rem; padding: 6px 10px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.readflags li.ok { color: var(--green); }
.lv { display: inline-block; font: 700 10px var(--font); text-transform: uppercase; letter-spacing: .06em; padding: 1px 6px; border-radius: 4px; margin-right: 4px; }
.lv-fix .lv { background: var(--pen); color: var(--paper); }
.lv-warn .lv { background: var(--amber); color: var(--paper); }
.lv-info .lv { background: var(--blue); color: var(--paper); }
.rules { margin-top: 12px; font-size: .88rem; }
.rules summary { cursor: pointer; font-weight: 600; }
.rules li { margin: 4px 0; }

/* Ask, progress, results */
.ask form { margin-top: 6px; }
.runrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.tools { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.gate { background: var(--amber-soft); border: 1px solid var(--amber); border-radius: 10px; padding: 10px 12px; font-size: .9rem; margin: -6px 0 16px; }
.gate .pill { margin-left: 4px; }
.progress-card .ptitle { font-weight: 700; margin: 0 0 8px; font-family: var(--serif); }
.steps { list-style: none; padding: 0; margin: 0 0 8px; }
.step { padding: 3px 0; color: var(--muted); font-size: .9rem; }
.step.active { color: var(--ink); font-weight: 600; }
.step.done { color: var(--green); }
.step-ic { display: inline-block; width: 16px; font-family: var(--mono); }
.raw { white-space: pre-wrap; font: .8rem/1.4 var(--mono); max-height: 320px; overflow: auto; background: var(--paper); padding: 10px; border-radius: 8px; }
.result { border-top: 4px solid var(--navy); }
.rhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rhead h2 { margin: 0; }
.stamp { font: 800 13px var(--font); text-transform: uppercase; letter-spacing: .1em; padding: 5px 12px; border: 2.5px solid currentColor; border-radius: 6px; transform: rotate(-3deg); display: inline-block; color: var(--muted); }
.stamp.v-sign, .stamp.v-accept { color: var(--green); }
.stamp.v-counter { color: var(--amber); }
.stamp.v-walk, .stamp.v-decline { color: var(--pen); }
.summary { font-size: 1.02rem; font-family: var(--serif); margin: 12px 0; }
.clauses { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; counter-reset: cl; }
.clause { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; border-left-width: 4px; }
.clause.cl-ok { border-left-color: var(--green); }
.clause.cl-negotiate { border-left-color: var(--amber); }
.clause.cl-walk { border-left-color: var(--pen); }
.clhead { display: flex; gap: 8px; align-items: center; }
.cltag { font: 700 10.5px var(--font); text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 4px; }
.cltag.cl-ok { background: var(--green-soft); color: var(--green); }
.cltag.cl-negotiate { background: var(--amber-soft); color: var(--amber); }
.cltag.cl-walk { background: var(--pen-soft); color: var(--pen); }
.cltopic { font-size: .8rem; color: var(--muted); font-weight: 600; }
.clq { margin: 6px 0; padding: 2px 0 2px 10px; border-left: 2px solid var(--line); font: italic .95rem/1.5 var(--serif); color: var(--ink); }
.clq.notfound { border-left-color: var(--amber); text-decoration: underline dotted var(--amber); }
.clause p { margin: 4px 0 0; font-size: .9rem; }
.clask { font-weight: 600; }
.twocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.asks { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.asks li { font-size: .9rem; }
.pri { display: inline-block; font: 700 10px var(--font); text-transform: uppercase; letter-spacing: .06em; padding: 1px 6px; border-radius: 4px; background: var(--bg2); color: var(--muted); }
.ask-must .pri { background: var(--pen); color: var(--paper); }
.lines-plain { padding-left: 18px; margin: 0; font-size: .9rem; }
.lines-plain li { margin: 3px 0; }
.lines-plain li.none, .asks li.none, .clauses li.none { color: var(--muted); list-style: none; font-style: italic; }
.recon { margin-top: 14px; }
.handoff { margin-top: 14px; }
.letter { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; margin: 10px 0; box-shadow: inset 0 2px 0 var(--rule); }
.subj { margin: 0 0 8px; font-size: .92rem; }
.email { white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.6 var(--serif); margin: 0; }
.walk { font-weight: 600; margin: 0; font-family: var(--serif); }

/* Saved, footer, toasts */
.hist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.hrow { display: flex; gap: 8px; align-items: center; padding: 8px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.hinfo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hist li.none { color: var(--muted); font-style: italic; font-size: .9rem; }
.foot { max-width: 1180px; margin: 0 auto; padding: 0 16px 32px; color: var(--muted); font-size: .84rem; }
.toasts { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); display: grid; gap: 6px; z-index: 50; width: min(92vw, 520px); }
.toast { padding: 10px 14px; border-radius: 10px; background: var(--navy); color: var(--navy-ink); box-shadow: var(--shadow); font-size: .9rem; transition: opacity .5s; }
.toast.err { background: var(--pen); color: #fff; }
:root[data-theme="dark"] .toast.err { color: #1a0d0d; }
.toast a { color: inherit; font-weight: 700; }
.toast.gone { opacity: 0; }

/* Docs pages */
.doc { max-width: 900px; margin: 0 auto; padding: 24px 16px 48px; }
.doc h1 { font-size: 2rem; line-height: 1.2; }
.doc h2 { font-size: 1.35rem; margin-top: 32px; display: block; }
.doc h3 { font-size: 1.05rem; margin-top: 22px; }
.doc pre { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px; overflow-x: auto; font: .8rem/1.45 var(--mono); max-width: 100%; }
.doc pre code { background: none; border: none; padding: 0; white-space: pre; }
.doc table { border-collapse: collapse; width: 100%; font-size: .9rem; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc td code { white-space: normal; }
.codegroup .tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 12px 0 0; border: 0; padding: 0; background: none; border-radius: 0; overflow: visible; }
.codegroup .tab { font-size: .8rem; padding: 4px 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 6px 6px 0 0; }
.codegroup .tab.active { background: var(--navy); color: var(--navy-ink); border-color: var(--navy); }
.codegroup pre { margin-top: 0; border-top-left-radius: 0; }
.statebox { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.tokenrow { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.tokenbox { font-family: var(--mono); font-size: 13px; background: var(--paper); border: 1px solid var(--line); padding: 8px 12px; border-radius: 8px; overflow-wrap: anywhere; flex: 1; }

@media (max-width: 860px) {
  .two, .worthgrid, .twocol { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .grid3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .grid3 > :last-child { grid-column: 1 / -1; }
  .terms { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sheet { padding: 16px 12px 16px 34px; font-size: 14.5px; background-image: linear-gradient(to right, transparent 24px, color-mix(in srgb, var(--pen) 35%, transparent) 24px, color-mix(in srgb, var(--pen) 35%, transparent) 25px, transparent 25px), repeating-linear-gradient(to bottom, transparent 0, transparent calc(1.9em - 1px), var(--rule) calc(1.9em - 1px), var(--rule) 1.9em); background-position: 0 0, 0 16px; }
  .lane .lsub { display: none; }
  .bar { gap: 8px; }
  .card { padding: 13px; }
}
