/* TrueFan Quote Builder: accessible, high-contrast, brand purple from the logo. */
:root {
  --brand: #4a3fd1; --brand-dark: #3a30b0; --brand-soft: #eeedfc;
  --ink: #111827; --muted: #4b5563; --line: #cfd4de; --bg: #f5f6fa; --card: #fff;
  --ok: #0f6b3e; --ok-bg: #e7f6ee; --bad: #b42318; --bad-bg: #fdecea; --warn-bg: #fff6e0;
  --r: 12px; --focus: #1d4ed8;
}
@media (prefers-color-scheme: dark) { :root:not([data-force-light]) { color-scheme: light; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: 13px; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.45 Arial, Helvetica, sans-serif; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
h1 { font-size: 1.35rem; } h2 { font-size: 1.15rem; margin-bottom: 8px; } .sub-h { font-size: 1rem; margin: 22px 0 8px; }
a { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: #fff; padding: 10px 14px; border: 2px solid var(--focus); z-index: 100; }
.skip:focus { top: 8px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 6px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.brand img { display: block; height: 28px; width: auto; background: transparent; }
.top-nav { display: flex; gap: 4px; flex: 1; }
.top-nav a { padding: 6px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 500; min-height: 34px; display: inline-flex; align-items: center; }
.top-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.top-nav a:hover { background: #f0f1f6; }
.who { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.banner { background: var(--warn-bg); border-bottom: 1px solid #f0d58c; padding: 3px 20px; font-size: .85rem; }

main { max-width: 1320px; margin: 0 auto; padding: 10px 20px 60px; }
main:focus { outline: none; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.sub, .hint { color: var(--muted); margin: 2px 0 0; font-size: .92rem; }
.draft-note { color: var(--muted); font-size: .88rem; margin: 0; }

.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 12px; overflow-x: auto; }
.tabs [role="tab"] { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 8px 16px; min-height: 36px; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs [role="tab"][aria-selected="true"] { color: var(--brand-dark); border-bottom-color: var(--brand); }
.tabs [role="tab"]:hover { color: var(--ink); }

.layout > * { min-width: 0; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 24px; align-items: start; }
.preview { position: sticky; top: 52px; max-height: calc(100vh - 64px); overflow: auto; }
@media (max-width: 1099px) { .layout { grid-template-columns: minmax(0, 1fr); } .preview { position: static; max-height: none; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-bottom: 14px; }
.card.success { border-color: var(--ok); background: var(--ok-bg); }
.field { margin: 10px 0; border: 0; padding: 0; min-width: 0; }
fieldset.field { padding: 0; }
legend, label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; padding: 0; }
.req { color: var(--bad); }
.fi, select, input[type="date"], textarea, .field input:not([type="radio"]):not([type="checkbox"]) {
  width: 100%; min-height: 32px; padding: 5px 9px; font: inherit; color: var(--ink); background: #fff; border: 1px solid #8a93a6; border-radius: 5px; }
textarea { resize: vertical; }
.fi[aria-invalid="true"] { border-color: var(--bad); background: #fff8f7; }
.err { color: var(--bad); font-size: .9rem; margin: 6px 0 0; font-weight: 500; }
.err::before { content: "Error: "; font-weight: 700; }
.err-text { color: var(--bad); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 16px; margin: 12px 0; padding: 12px 14px; background: #f8f9fc; border: 1px solid var(--line); border-radius: 8px; }
.facts div { min-width: 0; } .facts dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; } .facts dd { margin: 0; overflow-wrap: anywhere; font-weight: 500; }
.chip { display: inline-block; font-size: .72rem; padding: 1px 8px; border-radius: 99px; background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; vertical-align: middle; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.radios label { display: flex; align-items: center; gap: 8px; font-weight: 500; min-height: 30px; margin: 0; cursor: pointer; }
input[type="radio"], input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--brand); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 14px; font: inherit; font-weight: 600; border-radius: 6px; border: 1px solid transparent; cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; } .btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: #fff; color: var(--brand-dark); border-color: var(--brand); } .btn-secondary:hover { background: var(--brand-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); } .btn-ghost:hover { background: #eceef4; }
.btn-danger { background: #fff; color: var(--bad); border-color: var(--bad); } .btn-danger:hover { background: var(--bad-bg); }
.btn-lg { padding: 8px 20px; min-height: 38px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0; }
.sticky-actions { position: sticky; top: 64px; z-index: 5; background: var(--bg); padding: 10px 0; margin: 0 0 12px; }

.add-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.grow { flex: 1 1 280px; margin: 0; }
.items { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.item { border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; background: #fcfcfe; }
.item-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 4px; }
.item-head h3 { font-size: 1rem; } .item-head small { display: block; color: var(--muted); font-weight: 400; }
.item-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0 12px; }
.disc-pair { display: grid; grid-template-columns: 70px 1fr; gap: 6px; }
.item-net { margin: 8px 0 0; font-weight: 600; }
.empty { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.sum { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 820px; }
.sum th, .sum td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.sum thead th { background: #f1f2f8; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.sum .r { text-align: right; white-space: nowrap; }
.sum tfoot th, .sum tfoot td { font-weight: 600; background: #fafbfd; }
.sum tfoot tr:last-child th, .sum tfoot tr:last-child td { font-size: 1.05rem; background: var(--brand-soft); }

.terms-peek { margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 14px; }
.terms-peek summary { cursor: pointer; padding: 10px 0; font-weight: 600; min-height: 34px; }
.terms-peek h4 { margin: 12px 0 2px; font-size: .92rem; } .terms-peek p { margin: 0 0 6px; font-size: .9rem; color: var(--muted); }

.error-summary { border: 2px solid var(--bad); background: var(--bad-bg); border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; }
.error-summary h2 { color: var(--bad); font-size: 1.05rem; } .error-summary ul { margin: 8px 0 0; padding-left: 20px; }
.error-summary a { color: var(--bad); font-weight: 600; }
.status { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.status li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 8px 12px; border-radius: 8px; background: #f8f9fc; }
.status .ok { color: var(--ok); font-weight: 700; } .status .bad { color: var(--bad); font-weight: 700; }

.paper { background: #e6e8ef; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; overflow: hidden; }
.paper-inner { transform-origin: top left; width: 794px; }
.paper-wide { margin-top: 8px; }
.signin { max-width: 440px; margin: 12vh auto; text-align: center; background: #fff; padding: 32px; border: 1px solid var(--line); border-radius: var(--r); }
#g-btn { display: flex; justify-content: center; margin: 20px 0; }

/* quotes register */
.reg-tools { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; align-items: end; }
.reg-tools .field { margin: 0; flex: 1 1 260px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .8rem; font-weight: 700; }
.badge.issued { background: var(--ok-bg); color: var(--ok); } .badge.expired { background: #fdf0d5; color: #8a5300; } .badge.void { background: #eceef4; color: #374151; }

@media (prefers-reduced-motion: no-preference) { .btn, .top-nav a { transition: background-color .15s ease, color .15s ease; } }
@media print { .top, .banner, .tabs, .actions, .sticky-actions { display: none !important; } }

@media (max-width: 640px) {
  .top { flex-wrap: wrap; gap: 8px 12px; padding: 8px 12px; }
  .top-nav { order: 3; flex-basis: 100%; }
  .who { margin-left: auto; }
  main { padding: 16px 12px 60px; }
  .card { padding: 14px; }
  .item-grid { grid-template-columns: 1fr 1fr; }
  .sticky-actions { top: 100px; }
}

/* ===== Redesign v2 (ui-ux-pro-max: Minimalism & Swiss, navy + blue accent). Remove this block to revert. ===== */
:root {
  --brand: #34288c; --brand-dark: #261c6f; --brand-soft: #efeefc; --accent: #4b3fc9; --accent-dark: #34288c;
  --ink: #1c1938; --muted: #475569; --line: #e2e8f0; --line-strong: #cbd5e1; --bg: #f8fafc; --card: #fff; --focus: #4b3fc9;
  --serif: Georgia, "Times New Roman", serif;
  --shadow: 0 1px 2px rgba(15,23,42,.05);
}
body { background: var(--bg); color: var(--ink); }
a { color: var(--accent-dark); }

/* header */
.top { border-bottom: 1px solid var(--line); box-shadow: none; padding: 8px 24px; gap: 28px; }
.top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand); }
.top { position: sticky; }
.top-nav a { color: var(--muted); font-weight: 600; border-radius: 6px; transition: color .15s, background-color .15s; }
.top-nav a:hover { background: #f3f2fd; color: var(--ink); }
.top-nav a[aria-current="page"] { background: transparent; color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.who { color: var(--muted); }
.banner { background: #fffbeb; color: #78350f; border-bottom: 1px solid #fde68a; }

/* page title */
main { padding-top: 22px; }
.page-head { padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; letter-spacing: -.01em; color: var(--ink); }
.sub { color: var(--muted); }
.sub::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; }
.draft-note { color: var(--muted); }

/* tabs */
.tabs { border-bottom: 1px solid var(--line); gap: 8px; }
.tabs [role="tab"] { color: var(--muted); font-weight: 600; transition: color .15s; }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }

/* cards and section headings */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 20px 22px; }
.card > h2:first-child { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: -.005em; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.card > h2:first-child::before { content: none; }
.card .hint, .card .sub { color: var(--muted); }
legend, label { color: #1e293b; font-weight: 600; }
.req { color: #b91c1c; }

/* fields */
.fi, select, input[type="date"], textarea, .field input:not([type="radio"]):not([type="checkbox"]) {
  border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.fi:hover, select:hover, textarea:hover, .field input:not([type="radio"]):not([type="checkbox"]):hover { border-color: #94a3b8; }
.fi:focus, select:focus, textarea:focus, .field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(75,63,201,.2); outline: none; }
.field input:disabled, .fi:disabled { background: #f1f5f9; color: #475569; }
.facts { background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; }
.facts dt { color: var(--muted); letter-spacing: .06em; }
.chip { background: var(--brand-soft); color: var(--accent-dark); border: 1px solid #d4d1f7; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--accent); }

/* buttons */
.btn { border-radius: 6px; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: none; background-image: none; }
.btn-primary:hover { background: #261c6f; border-color: #261c6f; }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-secondary:hover { background: #f1f5f9; border-color: #94a3b8; }
.btn-ghost { color: var(--muted); border-color: transparent; } .btn-ghost:hover { background: #f1f5f9; color: var(--ink); }
.btn-danger { color: #b91c1c; border-color: #fecaca; } .btn-danger:hover { background: #fef2f2; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sticky-actions { background: linear-gradient(180deg, rgba(248,250,252,.97) 75%, rgba(248,250,252,0)); }

/* line items + summary */
.item { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; }
.item-head h3 { font-family: var(--serif); font-size: 1.1rem; }
.item-net { color: var(--ink); }
.table-wrap { border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: none; }
.sum thead th { background: #f1f5f9; color: #334155; border-bottom: 1px solid var(--line-strong); }
.sum tfoot tr:last-child th, .sum tfoot tr:last-child td { background: var(--brand); color: #fff; }
.terms-peek { background: #fff; border-color: var(--line); }

/* validation + status */
.error-summary { border: 1px solid #fecaca; border-left: 4px solid #b91c1c; background: #fef2f2; border-radius: 6px; }
.status li { background: #f8fafc; border: 1px solid var(--line); }

/* live preview: paper on a desk */
.preview > h2 { font-family: var(--serif); font-size: 1.25rem; }
.paper { background: #e2e8f0; border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: inset 0 1px 3px rgba(15,23,42,.08); }
.paper-inner { box-shadow: 0 8px 24px rgba(15,23,42,.18); }

/* sign-in + register */
.signin { border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: 8px; box-shadow: 0 8px 28px rgba(15,23,42,.08); }
.signin h1 { font-family: var(--serif); }
.badge.issued { background: #ecfdf5; color: #047857; } .badge.expired { background: #fffbeb; color: #92400e; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* logo beside the page title; header logo hidden while the form is showing */
.title-wrap { display: flex; align-items: center; gap: 16px; }
.title-logo { display: block; height: 30px; width: auto; padding-right: 16px; border-right: 1px solid var(--line-strong); }
body:has(#main:not([hidden])) .top .brand { display: none; }
#address { min-height: 32px; resize: vertical; line-height: 1.3; field-sizing: content; }

/* pill-style line item dropdowns, smaller; compact special terms */
#product-pick, .item select {
  appearance: none; -webkit-appearance: none; border-radius: 999px; min-height: 28px; height: 28px; padding: 2px 30px 2px 14px; font-size: .95rem;
  border: 1px solid var(--line-strong); color: var(--ink); cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 10px 6px; }
#product-pick:hover, .item select:hover { border-color: #94a3b8; background-color: #f8fafc; }
#product-pick:focus, .item select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(75,63,201,.2); outline: none; }
#product-pick { width: auto; min-width: 240px; max-width: 100%; }
.add-row { align-items: flex-end; gap: 8px; }
.add-row .field.grow { margin-bottom: 0; }
.add-row .grow { flex: 0 1 auto; }
.add-row .btn { border-radius: 999px; min-height: 28px; padding: 3px 16px; }
.item .disc-pair { grid-template-columns: 64px 1fr; }
.item-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
#special { min-height: 32px; resize: vertical; }

/* pills: contact dropdown, line item values, remove button */
#contact { appearance: none; -webkit-appearance: none; border-radius: 999px; min-height: 32px; padding: 4px 34px 4px 16px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 10px 6px; }
#contact:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(75,63,201,.2); outline: none; }
.item input:not([type="radio"]):not([type="checkbox"]) { border-radius: 999px; min-height: 28px; height: 28px; padding: 2px 14px; font-size: .95rem; }
.item input[type="date"] { padding-right: 10px; }
.item .disc-pair { grid-template-columns: 76px 1fr; }
.item .btn-danger { border-radius: 999px; min-height: 26px; padding: 2px 14px; font-size: .92rem; }
.item-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.item .disc-pair { grid-template-columns: 70px minmax(60px, 1fr); }

/* line item pills: compact, same height as the product picker, width fits the value */
.item-grid { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: flex-start; }
.item-grid .field { margin: 0; min-width: 0; max-width: 220px; }
.item-grid .field label { font-size: .92rem; margin-bottom: 3px; }
.item-grid .field input.fi { width: auto; }
.item-grid .field input.fi[data-key="price"] { width: 118px; }
.item-grid .field input.fi[data-key="qty"], .item-grid .field input.fi[data-key="term"], .item-grid .field input.fi[data-key="tax"] { width: 84px; }
.item-grid .field input.fi[data-key="disc"] { width: 84px; }
.item-grid .field input.fi[data-key="start"] { width: 150px; }
.item-grid .field select.fi { width: auto; min-width: 0; }
.item .disc-pair { display: flex; gap: 6px; }
.item .hint { font-size: .85rem; max-width: 190px; }
.item-grid .field input.fi, .item-grid .field select.fi { height: 28px; min-height: 28px; font-size: .95rem; padding-top: 2px; padding-bottom: 2px; }
.item .btn-danger { min-height: 28px; }

/* review progress: one connected line, dot filled when the step is complete */
.status { display: flex; gap: 0; padding: 6px 0 2px; list-style: none; margin: 0; }
.status li.step { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; background: none; border: 0; padding: 0 4px; }
.status li.step::before { content: ""; position: absolute; top: 8px; left: -50%; right: 50%; height: 2px; background: var(--line-strong); z-index: 0; }
.status li.step:first-child::before { display: none; }
.status li.step.done::before { background: var(--accent); }
.status li.step .dot { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line-strong); box-sizing: border-box; }
.status li.step.done .dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(75,63,201,.18); }
.status li.step .lbl { font-weight: 600; font-size: .95rem; color: var(--ink); }
.status li.step.todo .lbl { color: var(--muted); }
.status li.step .iss { color: #b91c1c; font-size: .85rem; font-weight: 600; }
@media (max-width: 640px) { .status li.step .lbl { font-size: .8rem; } }

/* even spacing between line item pills: each field is exactly as wide as its pill; hints never widen a column */
.item-grid { gap: 12px 20px; }
.item-grid .field { width: max-content; max-width: none; }
.item-grid .field label { white-space: nowrap; }
.item-grid .field input.fi[data-key="term"] { width: 100px; }
.item .hint { width: 0; min-width: 100%; max-width: none; white-space: nowrap; overflow: visible; margin-top: 3px; }

/* smaller progress dots */
.status li.step::before { top: 5px; }
.status li.step .dot { width: 12px; height: 12px; border-width: 2px; }
.status li.step.done .dot { box-shadow: 0 0 0 2px rgba(75,63,201,.16); }
.status li.step { gap: 5px; }

/* uniform grid: every pill the same width, same 20px gap across and 12px between rows */
.item .item-grid { display: grid; grid-template-columns: repeat(4, 140px); gap: 12px 20px; align-items: start; }
.item .item-grid .field { width: auto; min-width: 0; }
.item .item-grid .field input.fi[data-key], .item .item-grid .field select.fi[data-key="freq"] { width: 100%; }
.item .item-grid .disc-pair { display: grid; grid-template-columns: 64px 1fr; gap: 6px; }
.item .item-grid .disc-pair select.fi { width: 100%; padding-right: 24px; background-position: right 9px center; }
.item .item-grid .field label { white-space: nowrap; }
@media (max-width: 760px) { .item .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* "Your information" facts: evenly spaced, one row */
dl.facts { display: flex; flex-wrap: wrap; gap: 10px 56px; }
dl.facts > div { flex: 0 0 auto; }
