/* STEUER14 site. Dark, in the app's tester look: tabs, framed tables, status pictograms. One stylesheet, no inline styles. */
:root {
  --bg: #0a0a0a;
  --panel: #161616;
  --head: #2a2c2f;
  --grid: #2e2e2e;
  --ink: #ffffff;
  --ink-2: #d8d8d8;
  --mute: #9a9a9a;
  --red: #d5001c;
  --red-hover: #e81f37;
  --frame: #7e1621;
  --ok: #1e8e3e;
  --warn: #d48a00;
  --bad: #c1121f;
  --neutral: #6e6e6e;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 'Inter', -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, pre { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 36px; }

/* Top bar */
.top { position: relative; z-index: 3; border-bottom: 1px solid var(--grid); }
.home .top { position: absolute; inset: 0 0 auto 0; border-bottom: 0; }
.bar { display: flex; align-items: center; height: 76px; gap: 40px; }
.mark { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.mark b { color: var(--red); font-weight: 700; }
.bar nav { display: flex; gap: 28px; font-size: 14.5px; color: rgba(255, 255, 255, 0.76); }
.bar nav a:hover, .side a:hover, .bar nav a[aria-current] { color: var(--ink); }
.side { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 14.5px; color: rgba(255, 255, 255, 0.76); }

/* Buttons: square, like the tester's function bar */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px;
  font-size: 15px; font-weight: 600;
  border: 1px solid var(--grid); border-radius: 3px;
  background: var(--panel); color: var(--ink);
}
.btn:hover { border-color: #4a4a4a; }
.btn.primary { background: var(--red); border-color: var(--red); }
.btn.primary:hover { background: var(--red-hover); border-color: var(--red-hover); }
.side .btn { height: 36px; padding: 0 16px; font-size: 14px; color: var(--ink); }

/* Hero: the workshop, black and white */
.hero { position: relative; min-height: 760px; display: flex; align-items: flex-end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; filter: grayscale(1) contrast(1.02) brightness(0.74); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 11, 0.94) 0%, rgba(11, 11, 11, 0.78) 34%, rgba(11, 11, 11, 0.1) 72%), linear-gradient(180deg, rgba(11, 11, 11, 0.82) 0%, rgba(11, 11, 11, 0) 22%), linear-gradient(0deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 30%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 150px; padding-bottom: 84px; }
.hero h1 { font-size: 72px; line-height: 1.02; font-weight: 600; letter-spacing: -0.032em; }
.hero h1 span { display: block; }
:lang(zh) .hero h1 { line-height: 1.12; }
.lede { margin-top: 26px; max-width: 540px; font-size: 20px; line-height: 1.5; color: #d6d6d6; }
.cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.proof { margin-top: 28px; font-size: 14.5px; color: #d6d6d6; }
.proof a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.proof strong { font-weight: 600; color: var(--ink); }
.proof img { display: block; }
.proof .tp-logo { margin-top: -3px; }
.hero .btn:not(.primary) { background: rgba(22, 22, 22, 0.7); border-color: rgba(255, 255, 255, 0.4); }
.hero .btn:not(.primary):hover { border-color: #fff; }

/* Facts strip */
.facts { margin: 0 0 72px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); font-size: 15px; }
.facts div { padding: 20px 24px 22px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--grid); }
.facts dt { font-size: 13.5px; color: var(--mute); }
.facts dd { margin: 4px 0 0; font-weight: 600; }

/* Page header of a section: title and a one-line verdict, as on a tester page */
.head { padding-top: 96px; padding-bottom: 24px; }
.head h2 { font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.head p { margin-top: 8px; color: var(--mute); max-width: 720px; }

/* Tabs over the product screens */
.tabs { display: flex; flex-wrap: wrap; gap: 2px; }
.tabs input { position: absolute; opacity: 0; pointer-events: none; }
.tabs label {
  height: 44px; padding: 0 22px; display: inline-flex; align-items: center;
  background: #2b2b2b; color: var(--ink-2); font-size: 15px; font-weight: 500; cursor: pointer;
}
.tabs label:hover { background: #3a3a3a; }
.tabs input:checked + label { background: var(--frame); color: var(--ink); font-weight: 600; }
.tabs input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: -2px; }
.screens { flex-basis: 100%; border: 2px solid var(--frame); background: var(--panel); }
.screens figure { display: none; margin: 0; }
.screens figcaption { padding: 14px 18px; border-top: 1px solid var(--grid); background: var(--head); color: var(--ink-2); font-size: 14.5px; }
#t1:checked ~ .screens .s1, #t2:checked ~ .screens .s2, #t3:checked ~ .screens .s3,
#t4:checked ~ .screens .s4, #t5:checked ~ .screens .s5 { display: block; }

/* Tester table */
.tt-scroll { border: 2px solid var(--frame); background: var(--panel); overflow-x: auto; }
.tt { width: 100%; border-collapse: collapse; font-size: 15px; }
.tt th, .tt td { height: 46px; padding: 8px 18px; text-align: left; border-bottom: 1px solid var(--grid); border-right: 1px solid var(--grid); }
.tt th:last-child, .tt td:last-child { border-right: 0; }
.tt tbody tr:last-child td, .tt tfoot td { border-bottom: 0; }
.tt thead th { background: var(--head); color: var(--ink-2); font-weight: 600; font-size: 14px; white-space: nowrap; }
.tt thead th small { display: block; font-weight: 400; color: var(--mute); font-size: 13px; }
.tt td:first-child { font-weight: 600; }
.tt td.note { color: var(--mute); font-weight: 400; }
.tt .c { text-align: center; width: 150px; }
.tt tfoot td { background: var(--head); border-top: 1px solid var(--grid); padding: 14px 18px; vertical-align: middle; }
.tt tfoot .btn { width: 100%; height: 40px; padding: 0 10px; font-size: 14px; }
.tt .price { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tt .price small { display: block; font-size: 13px; font-weight: 400; color: var(--mute); letter-spacing: 0; }
.sub { font-weight: 400; color: var(--mute); margin-left: 8px; }
.sub.first { margin: 0 8px 0 0; }

.pic { display: inline-block; width: 20px; height: 20px; border-radius: 50%; vertical-align: middle; background: var(--neutral) center / 12px 12px no-repeat; }
.pic.ok { background-color: var(--ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.3 2.3 4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pic.none { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pic.pending { background: none; border: 2px solid var(--neutral); }
.pic.warn { background-color: var(--warn); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.6v4.2' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='6' cy='9.3' r='1' fill='%23fff'/%3E%3C/svg%3E"); }
.pic.bad { background-color: var(--bad); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.4 3.4l5.2 5.2M8.6 3.4L3.4 8.6' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pic.busy { background: none; border: 2px solid var(--neutral); border-top-color: var(--ink); animation: busy 1s linear infinite; }
@keyframes busy { to { transform: rotate(360deg); } }
.state { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; line-height: 20px; }
.state .pic { flex: none; }

.only-s { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 14px; color: var(--mute); font-size: 13.5px; }
.legend .pic { width: 16px; height: 16px; background-size: 10px 10px; margin-right: 8px; }

/* Running text under a table or a screen: one column, reading width */
.prose { margin-top: 22px; max-width: 760px; color: var(--ink-2); }
.prose p + p, .prose p + h3, .prose ul + p, .prose p + ul { margin-top: 14px; }
.prose h3 { font-size: 17px; font-weight: 600; color: var(--ink); }
.prose ul { margin: 0; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.head + .prose { margin-top: 0; }

/* A legal text: one reading column of numbered sections */
.doc { max-width: 760px; padding-top: 28px; color: var(--ink-2); }
.doc h2 { margin-top: 44px; font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.doc > h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 24px; font-size: 16px; font-weight: 600; color: var(--ink); }
.doc p, .doc ul, .doc ol, .doc .tt-scroll { margin-top: 12px; }
.doc ul, .doc ol { margin-bottom: 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc strong { font-weight: 600; color: var(--ink); }
.doc .tt.kv td:first-child { width: 200px; }

/* Two notes side by side under the plans table */
.notes { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--grid); background: var(--panel); }
.notes div { padding: 22px 24px 24px; }
.notes div + div { border-left: 1px solid var(--grid); }
.notes h3 { font-size: 16px; font-weight: 600; }
.notes p { margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* Function bar: the VIN check and the closing line */
.fbar { margin-top: 104px; background: var(--head); border-top: 1px solid #3a3d42; border-bottom: 1px solid #3a3d42; }
.fbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 26px; padding-bottom: 26px; }
.fbar h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.fbar p { margin-top: 4px; color: var(--ink-2); font-size: 15px; }
.fbar .btn { flex-shrink: 0; }
.fbar .btn:not(.primary) { background: var(--bg); }

/* Questions */
.faq { border-top: 1px solid var(--grid); }
.faq details { border-bottom: 1px solid var(--grid); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 22px; line-height: 1; color: var(--mute); }
.faq details[open] summary::after { content: '\2013'; }
.faq p { padding: 0 48px 20px 0; color: var(--ink-2); max-width: 760px; }

/* Footer. A page that ends on a function bar (main.flush) meets it without a gap. */
main { padding-bottom: 112px; }
main.flush { padding-bottom: 0; }
.flush + .foot { border-top: 0; }
.foot { border-top: 1px solid var(--grid); font-size: 14px; color: var(--mute); }
.foot .cols { display: grid; grid-template-columns: 1fr repeat(5, max-content); gap: 32px 36px; padding-top: 48px; padding-bottom: 40px; }
.foot h3 { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a:hover, .foot .mark { color: var(--ink); }
.foot .legal { padding-bottom: 36px; font-size: 12.5px; line-height: 1.6; }
.foot .legal div { border-top: 1px solid var(--grid); padding-top: 20px; }
.foot .legal p + p { margin-top: 8px; }

/* Phone menu: a plain disclosure, no script */
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; height: 36px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 3px; font-size: 14px; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 0; background: var(--panel); border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); padding: 6px 18px; }
.menu nav a { padding: 13px 0; border-bottom: 1px solid var(--grid); font-size: 16px; color: var(--ink); }
.menu nav a:last-child { border-bottom: 0; }

/* Header of an inner page: title and one verdict line */
.page-head { padding-top: 76px; padding-bottom: 8px; }
.page-head h1 { font-size: 48px; line-height: 1.06; font-weight: 600; letter-spacing: -0.03em; max-width: 900px; }
.page-head > p { margin-top: 18px; max-width: 660px; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.page-head .cta { margin-top: 30px; }
.page-head .proof { margin-top: 26px; font-size: 14.5px; color: var(--ink-2); }
.page-head > p.updated { margin-top: 14px; font-size: 14.5px; color: var(--mute); }
/* A photo of the thing the page is about, beside the title */
.page-head.photo { display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 64px; align-items: start; }
.page-head.photo > * { grid-column: 1; }
.page-head.photo > figure { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
.page-head.photo img { display: block; width: 100%; height: auto; }

/* A function shown with its screen: framed like a tester table, three facts in the foot */
.shot { border: 2px solid var(--frame); background: var(--panel); }
.shot ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--head); border-top: 1px solid var(--grid); font-size: 14.5px; color: var(--ink-2); }
.shot li { padding: 14px 18px; }
.shot li + li { border-left: 1px solid var(--grid); }

/* Two-column tester table: a name and what it is */
.tt.kv td:first-child { width: 280px; white-space: nowrap; }
.tt.kv td { height: auto; padding-top: 13px; padding-bottom: 13px; vertical-align: top; }
.tt.kv td + td { color: var(--ink-2); }
.tt .num { text-align: center; color: var(--mute); font-weight: 400; }
.tt.steps { counter-reset: step; }
.tt.steps tbody tr { counter-increment: step; }
.tt.steps .num, .tt.steps td.num:first-child { width: 72px; }
.tt.steps td:nth-child(2) { width: 240px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.tt td.act { width: 230px; }
.tt td.act .btn { width: 100%; height: 40px; padding: 0 12px; font-size: 14.5px; }
.tt td.file { width: 250px; color: var(--ink-2); white-space: nowrap; }
.tt td small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 400; color: var(--mute); }
/* Links inside running text */
.tt td a:not(.btn), .legend a, .notes a:not(.btn), .faq p a, .legal a, .prose a, .doc p a, .doc li a, .updated a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--neutral); text-underline-offset: 3px; }
.tt td a:not(.btn):hover, .legend a:hover, .notes a:not(.btn):hover, .faq p a:hover, .legal a:hover, .prose a:hover, .doc p a:hover, .doc li a:hover, .updated a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.tt td:first-child a:not(.btn) { color: var(--ink); }
.tt td.price-cell { width: 170px; white-space: nowrap; }

.notes pre { margin-top: 10px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--grid); font: 400 13.5px/1.6 ui-monospace, 'SF Mono', Menlo, monospace; color: var(--ink-2); overflow-x: auto; }
.notes.one { grid-template-columns: 1fr; }
.notes p + p { margin-top: 14px; }
code { font: 400 0.92em ui-monospace, 'SF Mono', Menlo, monospace; color: var(--ink); white-space: nowrap; }
.tt td small.only-s { display: none; }

/* Numbers strip on the features page */
.facts.stats { margin: 56px 0 0; }
.facts.stats dd { font-size: 26px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.fbar.end { margin-top: 104px; }

/* Text on the left, a form on the right */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 64px; align-items: start; }
.split .page-head { padding-bottom: 0; }
.split .form { margin-top: 84px; }
.split .tt-scroll { margin-top: 30px; }

/* A form in the tester frame */
.form { border: 2px solid var(--frame); background: var(--panel); padding: 6px 24px 24px; }
.form .intro { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.form p a, .check a, .after a { color: var(--ink); text-decoration: underline; text-decoration-color: #5a5a5a; text-underline-offset: 3px; }
.field { margin-top: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; }
.field input, .filter input, .lookup input {
  display: block; width: 100%; height: 46px; margin-top: 8px; padding: 0 14px;
  background: var(--bg); border: 1px solid #4a4a4a; border-radius: 3px;
  color: var(--ink); font: inherit; -webkit-appearance: none; appearance: none;
}
.field input:focus, .filter input:focus, .lookup input:focus { outline: 0; border-color: var(--ink); }
.field input::placeholder, .filter input::placeholder, .lookup input::placeholder { color: var(--neutral); }
.field input.vin { text-transform: uppercase; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.field input.vin::placeholder { letter-spacing: 0; }
.hint { margin-top: 6px; font-size: 13.5px; color: var(--mute); }
.check { margin-top: 20px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); }
.captcha { margin-top: 20px; }
.form button.btn { width: 100%; margin-top: 20px; height: 48px; font: 600 16px/1 inherit; font-family: inherit; cursor: pointer; }
.form button.btn:disabled { opacity: 0.55; cursor: default; }
.after { margin-top: 16px; font-size: 14.5px; color: var(--mute); }
[hidden] { display: none !important; }

/* What a form or a lookup answers: a pictogram and one line */
.msg { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 20px; color: var(--ink); }
.msg .pic { flex: none; }
.msg.small { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.msg.small .pic { width: 16px; height: 16px; background-size: 10px 10px; margin-top: 2px; }
.msg.box { margin-top: 0; padding: 18px 20px; border: 1px solid var(--grid); background: var(--panel); font-size: 16px; line-height: 1.5; }
.msg.box .pic { margin-top: 2px; }

/* The VIN report */
.report .head { padding-top: 48px; padding-bottom: 16px; }
.report .head h2 { font-size: 22px; }
.report .car { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.report .car img { width: 100%; border: 1px solid var(--grid); background: var(--panel); }
.report .tt td { height: auto; padding-top: 11px; padding-bottom: 11px; vertical-align: top; }
.report .tt.kv td:first-child { width: 200px; }
.report .tt td:first-child { font-weight: 400; white-space: nowrap; }
.report .tt.kv td:first-child, .report .tt td b { font-weight: 600; }
.report .line + .line { margin-top: 4px; }
.report .empty { color: var(--ink-2); }
.tag { display: inline-block; margin-left: 6px; padding: 0 7px; border: 1px solid #4a4a4a; border-radius: 3px; font-size: 12.5px; line-height: 20px; color: var(--ink-2); white-space: nowrap; }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.actions button.btn { font-family: inherit; cursor: pointer; }
.print-only { display: none; }

/* The recipe list: one table per car, a head row per group, long descriptions folded */
.filter { max-width: 460px; margin-top: 24px; }
.filter input { margin-top: 0; }
.tt tr.grp th { height: 40px; background: var(--head); color: var(--ink); font-size: 14px; font-weight: 600; border-right: 0; scroll-margin-top: 12px; }
.tt tr.grp th span { margin-left: 8px; font-weight: 400; color: var(--mute); }
.tt tr.grp th a { margin-left: 16px; font-weight: 400; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--neutral); text-underline-offset: 3px; }
.tt tr.grp th a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.recipes .tt tr[id] { scroll-margin-top: 12px; }
.tt tbody + tbody tr.grp th { border-top: 1px solid var(--grid); }
.tt tbody:not(:last-child) tr:last-child td { border-bottom: 1px solid var(--grid); }
.tt td details summary { cursor: pointer; list-style: none; }
.tt td details summary::-webkit-details-marker { display: none; }
.tt td details summary::after { content: '+'; margin-left: 8px; color: var(--mute); }
.tt td details[open] summary::after { content: '\2013'; }
.tt td details p { margin-top: 8px; }
.tt td.links a { display: inline-block; margin-right: 14px; }
.recipes .tt td { height: auto; padding-top: 12px; padding-bottom: 12px; vertical-align: top; }
.recipes .tt td:first-child { width: 270px; }
.recipes .tt td + td { color: var(--ink-2); }
section[id] { scroll-margin-top: 12px; }

/* Fault-code pages (tools/site_fault_codes.py): the path above the title, the code box, tables of codes */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 20px; font-size: 14px; color: var(--mute); }
.crumbs a:hover { color: var(--ink); }
.crumbs a::after { content: '/'; margin-left: 8px; color: var(--neutral); }
.page-head h1 span { display: block; margin-top: 10px; font-size: 26px; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink-2); }
.page-head > p.orig { margin-top: 6px; font-size: 15px; color: var(--mute); }
.lookup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 460px; margin-top: 28px; }
.lookup input { flex: 1; min-width: 0; margin-top: 0; text-transform: uppercase; }
.lookup input::placeholder { text-transform: none; }
.lookup button.btn { height: 46px; font-family: inherit; cursor: pointer; }
.lookup .msg { flex-basis: 100%; margin-top: 2px; }
.tt.kv.codes td:first-child { width: 150px; font-variant-numeric: tabular-nums; }
.tt.kv.units td:first-child { width: 300px; white-space: normal; }
.tt.kv.units td.links { width: 250px; }
.tt.kv.units td.lamp { white-space: nowrap; }
.prose h3 + ul { margin-top: 8px; }
.prose ul + h3 { margin-top: 22px; }
.source { margin-top: 28px; max-width: 760px; font-size: 13.5px; color: var(--mute); }

/* Nothing found */
.lost { padding-top: 120px; padding-bottom: 40px; }
.lost .num { font-size: 15px; font-weight: 600; color: var(--mute); }
.lost h1 { margin-top: 10px; line-height: 1.1; }
.lost h1 + p { margin-top: 12px; }

/* Ad measurement question (js/meta.js), asked where the law wants it */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 600px; margin: 0 auto; padding: 14px 16px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--panel); border: 1px solid #4a4a4a; border-radius: 3px;
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
}
.consent span { flex: 1 1 260px; }
.consent a { color: var(--ink); text-decoration: underline; text-decoration-color: #5a5a5a; text-underline-offset: 3px; }
.consent button.btn { height: 36px; padding: 0 16px; font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; }

@media print {
  @page { margin: 12mm; }
  body { background: #fff; color: #000; }
  .top, .foot, .consent, .actions, .has-report main > section:not(.report), .report > .head, .report .notes { display: none; }
  .print-only { display: block; margin-bottom: 4mm; font-size: 14pt; font-weight: 700; }
  .report, .report * { color: #000 !important; background: transparent !important; border-color: #999 !important; }
  .report .tt-scroll { overflow: visible; border-width: 1px; }
  .report .tt th, .report .tt td { padding: 1.4mm 2mm; font-size: 9.5pt; }
  .report .tt tr { page-break-inside: avoid; }
  .report .car { grid-template-columns: 1fr 60mm; }
  .report .head { padding-top: 5mm; padding-bottom: 2mm; }
  .report .head h2 { font-size: 12pt; }
  .report .pic { display: none; }
  main { padding-bottom: 0; }
}

/* Phones and narrow windows. Not for paper: a printed page keeps the wide layout. */
/* Five link columns beside the mark: on a narrow desktop window they need the tighter gap to fit. */
@media screen and (max-width: 1040px) {
  .foot .cols { column-gap: 24px; }
}

@media screen and (max-width: 900px) {
  .wrap { padding: 0 18px; }
  .bar > nav, .side > a:not(.btn) { display: none; }
  .hero { min-height: 620px; }
  .hero > img { object-position: 62% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(11, 11, 11, 1) 8%, rgba(11, 11, 11, 0.72) 55%, rgba(11, 11, 11, 0.35) 100%); }
  .hero .wrap { padding-top: 110px; padding-bottom: 48px; }
  .hero h1 { font-size: 40px; }
  .hero h1 span { display: inline; }
  :lang(zh) .hero h1 span { display: block; }
  .lede { font-size: 17px; }
  .facts { grid-template-columns: 1fr 1fr; margin-bottom: 48px; }
  .facts div { padding: 16px 14px 16px 0; }
  .facts div + div { padding-left: 14px; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--grid); }
  .head { padding-top: 64px; }
  .head h2 { font-size: 25px; }
  .tabs label { height: 40px; padding: 0 3px; font-size: 12.5px; flex: 1 1 auto; justify-content: center; }
  .tt { font-size: 14px; }
  .tt th, .tt td { padding: 8px 10px; }
  .tt .c { width: 64px; }
  .tt .hide-s { display: none; }
  .only-s { display: block; }
  .tt thead th { font-size: 12.5px; padding: 8px 6px; white-space: normal; }
  .tt thead th:first-child { padding-left: 10px; }
  .tt tfoot td { padding: 12px 6px; }
  .tt tfoot td:first-child { padding-left: 10px; font-size: 13px; }
  .plan-cta { margin-top: 14px; display: grid; gap: 8px; }
  .plan-cta p { margin-top: 6px; font-size: 13.5px; color: var(--mute); }
  .tt .price { font-size: 17px; }
  .tt tfoot .btn { font-size: 12.5px; padding: 0 4px; }
  .sub, .sub.only-s { display: block; margin: 0; font-size: 13px; }
  .notes { grid-template-columns: 1fr; margin-top: 28px; }
  .notes div { padding: 18px 16px 20px; }
  .notes div + div { border-left: 0; border-top: 1px solid var(--grid); }
  .fbar { margin-top: 64px; }
  .fbar .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .foot .cols > div:first-child { grid-column: 1 / -1; }
  .bar { gap: 12px; }
  .side { gap: 10px; }
  .menu { display: block; }
  .page-head { padding-top: 44px; }
  .page-head.photo { display: block; }
  .page-head.photo > figure { margin-top: 30px; max-width: 300px; }
  .page-head h1 { font-size: 32px; }
  .page-head h1 span { font-size: 20px; }
  .page-head > p { font-size: 17px; }
  .shot ul { grid-template-columns: 1fr; }
  .shot li { padding: 11px 14px; }
  .shot li + li { border-left: 0; border-top: 1px solid var(--grid); }
  .tt.kv, .tt.kv tbody, .tt.kv tr, .tt.kv td { display: block; width: auto; }
  .tt.kv thead { display: none; }
  .tt.kv td, .tt.kv td:first-child { width: auto; white-space: normal; border-right: 0; }
  .tt.kv td:first-child { border-bottom: 0; padding-bottom: 0; }
  .tt.kv td + td { padding-top: 4px; }
  .tt.kv tr:last-child td + td { border-bottom: 0; }
  .tt.kv td.num, .tt.kv td.hide-s { display: none; }
  .tt.kv.units td.links { width: auto; }
  .tt.kv.units td { border-bottom: 0; padding-bottom: 0; }
  .tt.kv.units td.none { display: none; }
  .tt.kv.units tr { padding-bottom: 13px; border-bottom: 1px solid var(--grid); }
  .tt.kv.units tr:last-child { border-bottom: 0; }
  .tt.kv.plans tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px 12px 18px; border-bottom: 1px solid var(--grid); }
  .tt.kv.plans tr:last-child { border-bottom: 0; }
  .tt.kv.plans td { padding: 0; border: 0; }
  .tt.kv.plans td:first-child { grid-area: 1 / 1; align-self: center; font-size: 16px; }
  .tt.kv.plans td.price-cell { grid-area: 1 / 2; text-align: right; }
  .tt.kv.plans td:nth-child(2) { grid-area: 2 / 1 / 3 / 3; }
  .tt.kv.plans td.act { grid-area: 3 / 1 / 4 / 3; width: auto; margin-top: 8px; }
  .tt.kv.plans .price small { display: inline; margin-left: 8px; }
  .tt.steps td:nth-child(2) { width: auto; white-space: normal; border-bottom: 0; padding-top: 13px; padding-bottom: 0; }
  .tt.steps td:nth-child(2)::before { content: counter(step) '. '; color: var(--mute); font-weight: 400; }
  main { padding-bottom: 72px; }
  .tt td.act { width: 124px; }
  .tt td.act .btn { font-size: 13px; padding: 0 6px; }
  .fbar.end { margin-top: 64px; }
  .tt td small.only-s { display: block; }
  .phone { padding-top: 28px; }
  .phone .notes { margin-top: 0; }
  .facts.stats { margin-top: 36px; }
  .facts.stats dd { font-size: 21px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split .form { margin-top: 0; }
  .report .tt:not(.kv) { min-width: 700px; }
  .recipes .tt, .recipes .tt tbody, .recipes .tt tr, .recipes .tt td, .recipes .tt tr.grp th { display: block; width: auto; }
  .recipes .tt thead { display: none; }
  .recipes .tt tr.grp th { height: auto; padding: 11px 10px; text-align: left; }
  .recipes .tt td { border-right: 0; }
  .recipes .tt td:first-child { width: auto; border-bottom: 0; padding-bottom: 0; }
  .recipes .tt td + td { padding-top: 4px; }
  .form { padding: 2px 16px 18px; }
  .report .car { grid-template-columns: 1fr; }
  .report .tt.kv td:first-child { width: auto; }
  .lost { padding-top: 72px; }
}
