:root {
  --navy: #14213d;
  --navy-700: #1d2d50;
  --accent: #c8531b;
  --accent-600: #a8430f;
  --ink: #1a1f2b;
  --muted: #5b6472;
  --line: #e4e7ec;
  --bg: #f6f7f9;
  --card: #ffffff;
  --ok-bg: #e7f6ec; --ok-fg: #1f7a3d;
  --no-bg: #fdeaea; --no-fg: #b3261e;
  --unk-bg: #eef0f3; --unk-fg: #5b6472;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--accent-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Layout ---- */
.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---- Header ---- */
.site-header {
  background: var(--navy);
  color: #fff;
  border-bottom: 3px solid var(--accent);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.12rem; }
.brand:hover { text-decoration: none; }
.brand .mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 800; font-size: .95rem;
}
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: #cdd4e0; font-size: .94rem; font-weight: 500; }
.site-nav a:hover { color: #fff; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 2px; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 56px 0 64px;
}
.hero { text-align: center; }
.hero-home { padding-bottom: 130px; }
.hero h1 { margin: 0 0 12px; font-size: 2.1rem; line-height: 1.15; letter-spacing: -.02em; }
.hero p { margin: 0 auto; max-width: 620px; color: #c4cbd9; font-size: 1.06rem; }
.hero .search-form { text-align: left; }

/* ---- Search ---- */
.search-tabs {
  display: flex; gap: 6px;
  max-width: 760px; margin: 28px auto 0; padding: 0 14px;
  text-align: left;
}
.search-tab {
  border: 0; cursor: pointer;
  padding: 9px 18px 11px; font-size: .9rem; font-weight: 600;
  border-radius: 9px 9px 0 0;
  background: rgba(255,255,255,.14); color: #c4cbd9;
}
.search-tab:hover { background: rgba(255,255,255,.22); color: #fff; }
.search-tab.active { background: var(--card); color: var(--navy); }
.search-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(10,16,32,.18);
  padding: 14px;
  margin: 0 auto;
  max-width: 760px;
}
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-form[hidden] { display: none; }
.search-form .field { flex: 1 1 220px; display: flex; flex-direction: column; }
.search-form .field.state { flex: 0 0 130px; }
.search-form .field.radius { flex: 0 0 170px; }
.search-form input, .search-form select {
  width: 100%; padding: 12px 14px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
  font-family: inherit;
}
.search-form input:focus, .search-form select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; font-size: 1rem; font-weight: 600;
  background: var(--accent); color: #fff; border: 0; border-radius: 8px; cursor: pointer;
}
.btn:hover { background: var(--accent-600); text-decoration: none; }
.btn.secondary { background: #fff; color: var(--navy); border: 1px solid var(--line); }

/* ---- Section / results ---- */
.section { padding: 36px 0 64px; }
.results-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.results-head h2 { margin: 0; font-size: 1.25rem; }
.muted { color: var(--muted); }
.count { color: var(--muted); font-size: .92rem; }

.result-map { height: 380px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 8px; z-index: 0; }
.map-note { color: var(--muted); font-size: .85rem; margin: 0 0 18px; }

.results-tools { display: flex; gap: 12px; align-items: center; margin: -8px 0 14px; font-size: .9rem; color: var(--muted); }
.results-tools a { color: var(--muted); }
.results-tools a.active { color: var(--accent-600); font-weight: 700; text-decoration: none; }
.card-badges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.badge.fee-chip { background: #eef1f6; color: #1f2a44; }
.badge.fee-chip::before, .badge.nfa-chip::before { display: none; }
.badge.nfa-chip { background: #ece6fb; color: #5b3ea8; }

.cards { display: grid; gap: 12px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.card .name { font-weight: 600; font-size: 1.05rem; }
.card .meta { color: var(--muted); font-size: .92rem; margin-top: 2px; }

/* ---- Badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.ok  { background: var(--ok-bg);  color: var(--ok-fg); }
.badge.foundation { background: #fdf3d7; color: #8a6500; border: 1px solid #e8cf8a; }
.badge.foundation::before { display: none; }
.badge.no  { background: var(--no-bg);  color: var(--no-fg); }
.badge.unk { background: var(--unk-bg); color: var(--unk-fg); }

/* ---- Empty / prompt states ---- */
.empty {
  text-align: center; color: var(--muted); background: var(--card);
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 24px;
}

/* ---- Detail page ---- */
.detail { padding: 32px 0 64px; }
.detail .crumb { font-size: .9rem; margin-bottom: 14px; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; margin-bottom: 18px;
}
.detail h1 { margin: 0 0 6px; font-size: 1.7rem; letter-spacing: -.01em; }
.listing-logo {
  float: right; max-height: 84px; max-width: 180px; object-fit: contain;
  border-radius: 8px; margin: 0 0 10px 16px;
}
.detail .sub { color: var(--muted); margin: 0 0 14px; }
.detail h2 { font-size: 1.05rem; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; }
.ship-warning { color: #8a4b00; background: #fff6e6; border-radius: 6px; padding: 4px 10px; font-size: .85rem; font-weight: 600; display: inline-block; margin-top: 6px; }
.addr-note { color: #8a4b00; background: #fff6e6; border-radius: 6px; padding: 8px 12px; font-size: .88rem; font-weight: 600; margin: 0 0 12px; }
.note-pop { position: relative; display: inline-block; }
.note-pop-trigger {
  border: 0; background: none; cursor: help; padding: 0;
  font: inherit; font-size: .85rem; color: var(--accent-600); text-decoration: underline;
}
.note-pop-body {
  display: none; position: absolute; z-index: 10; left: 50%; transform: translateX(-50%);
  bottom: calc(100% + 8px); width: 340px; max-width: 80vw;
  background: var(--navy); color: #e6ebf5; font-weight: 400; font-size: .85rem; line-height: 1.5;
  padding: 12px 14px; border-radius: 8px; box-shadow: 0 8px 24px rgba(10,16,32,.3);
}
.note-pop-body a { color: #ffb38a; }
.note-pop-body::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: var(--navy);
}
.note-pop:hover .note-pop-body, .note-pop:focus-within .note-pop-body { display: block; }
.type-desc { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.type-guide { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.type-guide summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--muted); }
.type-guide summary:hover { color: var(--accent-600); }
.type-groups { margin-top: 12px; font-size: .92rem; }
.type-groups h3 { margin: 14px 0 4px; font-size: .95rem; }
.type-groups h3:first-child { margin-top: 0; }
.type-groups p { margin: 0 0 8px; color: var(--muted); }
.type-groups p strong { color: var(--ink); }
.ez-check { display: inline-block; margin-left: 10px; vertical-align: 1px; }
.ez-check button {
  border: 1px solid var(--line); background: #eef1f6; color: var(--navy);
  font: inherit; font-size: .78rem; font-weight: 600;
  padding: 2px 10px; border-radius: 999px; cursor: pointer;
}
.ez-check button:hover { background: #fff7f2; border-color: var(--accent); color: var(--accent-600); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 600; font-size: .85rem; }

/* ---- Welcome / features ---- */
.welcome { max-width: 880px; margin: 0 auto; }
.welcome-grid {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: 24px; align-items: center; margin-bottom: 4px;
}
.welcome-grid p { margin: 0; }
.process-graphic { width: 100%; height: auto; max-width: 400px; justify-self: end; }
.welcome h2 { font-size: 1.45rem; margin: 0 0 12px; letter-spacing: -.01em; }
.welcome p { color: #374151; margin: 0 0 14px; }
.callout {
  border-left: 4px solid var(--accent); background: #fff7f2;
  padding: 14px 18px; border-radius: 8px; color: #6b3a22; margin: 18px 0;
}
.callout.foundation-callout { border-left-color: #cda434; background: #fdf8e9; color: #6b5200; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.features.overlap { margin-top: -130px; margin-bottom: 34px; }
.features.two { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
}
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; }
.feature .ico {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: #eef1f6; color: var(--navy); font-size: 1.1rem; margin-bottom: 10px;
}

/* ---- API docs ---- */
.docs { max-width: 820px; }
.docs h1 { font-size: 1.8rem; margin: 0 0 6px; }
.docs h2 { font-size: 1.15rem; margin: 26px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.docs h3 { font-size: 1rem; margin: 18px 0 6px; }
.docs p, .docs li { color: #374151; }
.docs code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em; background: #eef1f6; color: #1f2a44; padding: 2px 6px; border-radius: 5px;
}
.docs pre {
  background: #14213d; color: #e6ebf5; padding: 16px 18px; border-radius: 10px;
  overflow-x: auto; font-size: .85rem; line-height: 1.5;
}
.docs pre code { background: none; color: inherit; padding: 0; }
.endpoint {
  display: flex; align-items: center; gap: 10px; font-family: ui-monospace, Menlo, monospace;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 14px; margin: 8px 0; font-size: .92rem;
}
.method { font-weight: 700; color: #1f7a3d; background: var(--ok-bg); padding: 2px 8px; border-radius: 5px; font-size: .8rem; }
.docs table.params { width: 100%; border-collapse: collapse; margin: 8px 0; }
.docs table.params th, .docs table.params td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.docs table.params th { color: var(--muted); font-weight: 600; }
.docs table.params code { font-size: .85em; }

/* ---- Browse pages (state / city) ---- */
.browse-grid {
  list-style: none; padding: 0; margin: 18px 0 0;
  columns: 4 180px; column-gap: 24px;
}
.browse-grid li { margin-bottom: 7px; break-inside: avoid; font-size: .95rem; }
.browse-grid .muted { font-size: .85rem; }

/* ---- FAQ ---- */
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 18px; margin-bottom: 10px;
}
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.faq-item summary:hover { color: var(--accent-600); }
.faq-item p { margin: 10px 0 0; }

/* ---- Forms (claim flow) ---- */
.form-wrap { max-width: 800px; }
.form-section { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 18px; }
.form-section > h2 { margin: 0 0 4px; font-size: 1.12rem; }
.form-section > .hint { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.field-row { margin-bottom: 14px; }
.field-row label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; }
.field-row input[type=text], .field-row input[type=email], .field-row input[type=url],
.field-row input[type=tel], .field-row input[type=file], .field-row input[type=number],
.field-row input[type=time], .field-row input[type=date], .field-row textarea, .grid-2 input, .formset-row input {
  width: 100%; padding: 10px 12px; font-size: .98rem; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); font-family: inherit;
}
.field-row input:focus, .field-row textarea:focus, .formset-row input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.grid-2 { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: end; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500 !important; font-size: .88rem !important; color: var(--muted); margin-top: 6px; }
.check input { width: auto; }
.help { color: var(--muted); font-size: .84rem; margin-top: 4px; }
.errorlist { color: var(--no-fg); font-size: .85rem; list-style: none; padding: 0; margin: 4px 0 0; }

.fee-grid { display: grid; gap: 10px; }
.multi-item, .nfa-kiosk { margin-top: 8px; }
.fee-line { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.fee-line .check { margin: 0; font-weight: 600 !important; color: var(--ink) !important; font-size: .95rem !important; }

.hours-bulk { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; padding: 10px 12px; background: #f6f7f9; border-radius: 8px; font-size: .9rem; color: var(--muted); }
.hours-bulk input[type=time] { width: 130px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; }
.hours-bulk .btn { padding: 8px 14px; font-size: .85rem; width: auto; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.hours-table .day { font-weight: 600; width: 110px; }
.hours-table input[type=time] { width: 130px; }
.hours-table .sep { color: var(--muted); padding: 0 4px; }

.formset-row { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.2fr auto; gap: 10px; align-items: center; margin-bottom: 10px; }
.formset-row .check { margin: 0; }
.add-row { background: #fff; color: var(--navy); border: 1px dashed var(--accent); border-radius: 8px; padding: 9px 16px; font-weight: 600; cursor: pointer; font-size: .9rem; }
.add-row:hover { background: #fff7f2; }
.remove-row { background: none; border: 0; color: var(--no-fg); cursor: pointer; font-size: 1.2rem; line-height: 1; }

.feedback-box textarea, .feedback-box input[type=email] {
  width: 100%; padding: 10px 12px; font-size: .98rem; border: 1px solid var(--line);
  border-radius: 8px; font-family: inherit; margin-bottom: 8px;
}
.feedback-box textarea:focus, .feedback-box input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }

.msg { padding: 12px 16px; border-radius: 8px; margin-bottom: 14px; font-size: .94rem; }
.msg.error { background: var(--no-bg); color: var(--no-fg); }
.msg.info { background: var(--unk-bg); color: var(--unk-fg); }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }

.claim-cta { display: inline-flex; align-items: center; gap: 8px; }

/* ---- Transfer requirements ---- */
.req-flag {
  clear: both; margin-top: 12px; padding: 10px 14px; border-radius: 8px;
  background: #fff6e6; color: #8a4b00; border-left: 4px solid #e69b22;
  font-weight: 600; font-size: .94rem;
}
.req-flag a { color: #8a4b00; text-decoration: underline; }
.req-panel { border-left: 4px solid #e69b22; }
.req-list { margin: 0 0 6px; padding-left: 22px; }
.req-list li { margin-bottom: 6px; }
.req-panel .btn { margin-top: 8px; }
.res-row { row-gap: 6px; }
.res-applies { display: flex; gap: 14px; flex-wrap: wrap; }
.res-applies .check { margin: 0; }

/* ---- Packing slip popup ---- */
.slip-modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 16, 32, .55);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.slip-modal[hidden] { display: none; }
.slip-modal-box {
  background: var(--bg); border-radius: var(--radius); overflow: hidden;
  width: min(900px, 100%); height: min(85vh, 1000px);
  display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(10,16,32,.4);
}
.slip-modal-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy); color: #fff; padding: 10px 16px;
}
.slip-modal-bar button {
  background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.slip-modal iframe { border: 0; flex: 1; width: 100%; }

/* ---- Dealer documents (FFL/SOT sharing) ---- */
.doc-links { display: grid; gap: 10px; }
.doc-link-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.doc-link-row .btn { padding: 8px 16px; font-size: .9rem; }
.doc-request { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.doc-request:last-child { border-bottom: 0; }
.doc-status { display: block; margin-top: 4px; font-size: .88rem; font-weight: 600; }
.doc-status.pending { color: #8a4b00; }
.doc-status.rejected { color: var(--no-fg); }
.doc-request .btn { padding: 8px 16px; font-size: .88rem; }

/* ---- Auth pages (allauth) ---- */
.auth-card { margin-top: 40px; }
.auth-card h1 { font-size: 1.5rem; margin: 0 0 6px; letter-spacing: -.01em; }
.auth-card p { color: var(--muted); margin: 0 0 16px; font-size: .95rem; }
.auth-card form { margin: 0; }
.auth-card label { display: block; font-weight: 600; font-size: .88rem; margin: 12px 0 5px; }
.auth-card input[type=text], .auth-card input[type=email], .auth-card input[type=password],
.auth-card input:not([type]) {
  width: 100%; padding: 11px 13px; font-size: 1rem; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); font-family: inherit;
}
.auth-card input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.auth-card button[type=submit], .auth-card button.primary, .auth-card a.button {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 18px;
  padding: 12px 22px; font-size: 1rem; font-weight: 600; width: 100%;
  background: var(--accent); color: #fff; border: 0; border-radius: 8px; cursor: pointer;
}
.auth-card button[type=submit]:hover { background: var(--accent-600); }
.auth-card a { color: var(--accent-600); }
.auth-card ul { padding-left: 18px; color: var(--muted); font-size: .9rem; }
.auth-card .helptext, .auth-card .form-text { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.auth-card [class*=error], .auth-card .errorlist { color: var(--no-fg); font-size: .85rem; list-style: none; padding: 0; margin: 4px 0; }
.auth-card hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy); color: #aab3c5; margin-top: auto;
  padding: 32px 0; font-size: .9rem;
}
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer a { color: #cdd4e0; }
.site-footer .disclaimer { max-width: 620px; font-size: .82rem; color: #8b95a8; }

.page { display: flex; flex-direction: column; min-height: 100vh; }

@media (max-width: 760px) {
  /* Header: brand + hamburger on one row; the nav opens as a stacked menu. */
  .site-header .container {
    height: auto; flex-wrap: wrap; align-items: center;
    padding-top: 10px; padding-bottom: 10px;
  }
  .brand { white-space: nowrap; }
  .nav-toggle { display: block; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; padding: 8px 0 4px; }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 10px 2px; font-size: 1.02rem; white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  /* Feature boxes stack on phones. */
  .features, .features.two { grid-template-columns: 1fr; }
  .features.overlap { margin-top: -100px; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 1.7rem; }
  .welcome-grid { grid-template-columns: 1fr; }
  .process-graphic { justify-self: center; }
  .card { flex-direction: column; align-items: flex-start; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { margin-top: 8px; }
  /* Keep long names/policies/license numbers inside their panels. */
  .panel, .card, .docs { overflow-wrap: break-word; }
  .panel { padding: 18px 14px; }
  .detail h1 { font-size: 1.35rem; }
  .table th, .table td { padding: 7px 6px; font-size: .9rem; }
  .listing-logo { max-height: 56px; max-width: 120px; margin-left: 10px; }
  .docs pre { font-size: .78rem; }
  .browse-grid { columns: 2 140px; }
  /* Wide reference tables scroll inside their box instead of widening the page. */
  .docs table.params { display: block; overflow-x: auto; }
}
