/* Fonts are self-hosted (public/fonts, SIL Open Font Licence): faster, and no visitor data goes to Google. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Alu-Star site styles. Brand: blue #2F4B9E leads, charcoal #15191D, blue #2F4B9E also for call-to-action buttons (orange retired 26 Oct). */
:root {
  --blue: #2F4B9E;
  --blue-light: #A9BDF2;
  --tint: #EAF0FB;
  --ink: #15191D;
  --ink-2: #3E4750;
  --muted: #5B6670;
  --line: #DDE1E4;
  --bg: #F4F5F6;
  --card: #FFFFFF;
  --dark-2: #22282E;
  --orange: #F28C28;
  --head: 'Barlow Condensed', system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id], .result { scroll-margin-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 72px; padding-bottom: 72px; }
.dark { background: var(--ink); color: #FFFFFF; }
.white { background: var(--card); }
.kicker { color: var(--blue); font-weight: 600; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.dark .kicker { color: var(--blue-light); }
.h1 { font-family: var(--head); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; }
.h2 { font-family: var(--head); font-weight: 700; font-size: clamp(32px, 4.5vw, 44px); line-height: 1.05; }
.h3 { font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.1; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.dark .lead { color: #C9D0D6; }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr)); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 6px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-cta { background: var(--blue); color: #FFFFFF; }
.btn-cta:hover { background: #243C80; color: #FFFFFF; }
.btn-cta:hover { background: #E07B17; color: var(--ink); }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { background: #2A3036; color: #FFFFFF; }
.btn-line { border-color: #C3CAD0; color: var(--ink); background: transparent; }
.dark .btn-line { border-color: var(--muted); color: #FFFFFF; }
.btn-light { background: #FFFFFF; color: var(--ink); }

/* Header */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; white-space: nowrap; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; min-height: 44px; padding: 0 14px; font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 1150px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #EEF0F1; }
  .header-call { display: none; }
}

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero .copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero img { flex: 1 1 440px; min-width: 0; width: 100%; height: 400px; object-fit: cover; border-radius: 10px; }

/* Choice buttons (finder etc.) */
.choice { text-align: left; background: #FFFFFF; color: var(--ink); border: 2px solid var(--line); border-radius: 8px; padding: 16px 18px; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 6px; min-height: 96px; }
.choice:hover { border-color: #AEB7C0; }
.choice b { font-weight: 600; font-size: 17px; }
.choice span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.choice[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.choice[aria-pressed="true"] span { color: #DCE4F7; }
.choice.soft[aria-pressed="true"] { background: var(--tint); color: var(--ink); }
.choice.soft[aria-pressed="true"] span { color: var(--muted); }

/* Cards */
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card-link:hover { border-color: #AEB7C0; color: var(--ink); }
.card-img { height: 210px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #FFFFFF; }
.card-img img { width: 100%; height: 100%; }
.card-img .cover { object-fit: cover; }
.card-img .contain { object-fit: contain; padding: 16px; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.chip { background: #EEF0F1; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; }
.tool-link { display: flex; align-items: center; gap: 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.tool-link:hover { border-color: #AEB7C0; color: var(--ink); }
.tool-link small { display: block; font-size: 14px; color: var(--muted); }

/* Finder result */
.result { display: flex; flex-wrap: wrap; }
.result[hidden], [hidden] { display: none !important; }
.result .pic { flex: 1 1 320px; min-height: 280px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #FFFFFF; }
.result .pic .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.result .pic .contain { width: 100%; max-height: 300px; object-fit: contain; padding: 20px; }
.result .txt { flex: 999 1 420px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 14px; }

/* FAQ */
.faq details { background: #FFFFFF; border-radius: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-weight: 600; font-size: 17px; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--blue); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); line-height: 1.7; }

/* Footer */
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.site-footer .col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.site-footer .intro { flex: 1 1 320px; gap: 12px; }
.footer-base { border-top: 1px solid var(--line); background: #FFFFFF; }
.footer-base .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; font-size: 14px; color: var(--muted); }
.footer-base nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.social { display: flex; flex-direction: column; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.social a:hover { color: var(--blue); }

/* Staging banner */
.staging { background: #FFF4E5; color: #6B3A00; text-align: center; font-size: 13px; padding: 6px 12px; }

/* Placeholder page */
.coming { padding: 96px 24px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }

:focus-visible { outline: 3px solid #7FA2F0; outline-offset: 2px; }
@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .hero img { height: 260px; }
}

/* ---------- Product pages ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding: 24px 0 16px; }
.crumbs a { color: var(--muted); }
.pp-hero { padding-bottom: 56px; }
.pp-top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); grid-template-areas: "intro intro" "gal std"; gap: 32px 48px; align-items: start; }
.pp-top > .pp-gallery { grid-area: gal; }
.pp-top > .pp-intro { grid-area: intro; }
.pp-top > .pp-stdbox { grid-area: std; }
@media (max-width: 900px) { .pp-top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "gal" "std"; gap: 24px; } }
.pp-stdbox { grid-area: std; }
.pp-head, .pp-buy { display: flex; flex-direction: column; gap: 16px; }
.pp-head .lead { max-width: 820px; }
.pp-intro { gap: 24px; }

.pp-stdbox { background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.pp-ticks { list-style: none; margin: 0; padding: 0; columns: 2 260px; column-gap: 32px; }
.pp-ticks li { position: relative; padding-left: 26px; margin-bottom: 9px; line-height: 1.45; break-inside: avoid; font-size: 15px; }
.pp-ticks li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.pp-more { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pp-gallery { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pp-main { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #FFFFFF; border-radius: 12px; }
.pp-cap { margin: 0; font-size: 14px; color: var(--ink-2); }
.pp-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.pp-thumb { padding: 0; border: 3px solid transparent; border-radius: 8px; overflow: hidden; background: #FFFFFF; cursor: pointer; height: 72px; opacity: 0.75; }
.pp-thumb[aria-pressed="true"] { border-color: var(--blue); opacity: 1; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-intro { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pp-tag { font-weight: 600; font-size: 18px; color: var(--blue); }
.pp-from { font-size: 15px; }
.pp-from strong { font-family: var(--head); font-size: 36px; }
.pp-confirm { background: #FFF4E5; color: #6B3A00; border-radius: 8px; padding: 14px 16px; font-size: 14px; line-height: 1.5; }
.pp-confirm ul { margin: 6px 0 0; padding-left: 18px; }
.pp-build { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.pp-cfg { flex: 3 1 560px; min-width: 0; }
.pp-sum { flex: 1 1 300px; min-width: 0; position: sticky; top: 84px; }
.pp-sumcard { background: var(--ink); color: #FFFFFF; border-radius: 12px; padding: 24px; }
.pp-sumcard .muted { color: #9AA4AC; }
.pp-sumcard .kicker { color: var(--blue-light); }
.pp-total { font-family: var(--head); font-weight: 700; font-size: 48px; line-height: 1.05; margin-top: 6px; }
.pp-lic { display: flex; gap: 10px; align-items: center; margin: 16px 0; font-size: 14px; color: #C9D0D6; }
.pp-licbadge { background: var(--blue-light); color: var(--ink); font-weight: 700; border-radius: 6px; padding: 4px 10px; white-space: nowrap; }
.pp-meter { margin: 8px 0 16px; display: flex; flex-direction: column; gap: 6px; }
.pp-bar { height: 10px; background: #2A3036; border-radius: 999px; overflow: hidden; }
.pp-bar span { display: block; height: 100%; border-radius: 999px; }
.pp-over { color: #FFB4A8; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.pp-lines { list-style: none; margin: 0 0 18px; padding: 12px 0 0; border-top: 1px solid #2A3036; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.pp-lines li { display: flex; justify-content: space-between; gap: 12px; }
.pp-lines li span:last-child { white-space: nowrap; color: #C9D0D6; }
.pp-sumcard .btn-line { border-color: var(--muted); color: #FFFFFF; }
.pp-group { margin-top: 28px; }
.pp-glabel { font-weight: 600; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pp-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.pp-choices .choice { min-height: 72px; }
.pp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.pp-tilewrap, .pp-rowwrap { display: flex; flex-direction: column; gap: 6px; }
.pp-tile { text-align: left; padding: 0; background: #FFFFFF; border: 3px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; font: inherit; color: var(--ink); display: flex; flex-direction: column; height: 100%; }
.pp-tile[aria-pressed="true"] { border-color: var(--blue); }
.pp-tile:disabled, .pp-row:disabled { opacity: 0.55; cursor: not-allowed; }
.pp-tile img { width: 100%; height: 140px; object-fit: cover; }
.pp-tbody { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; flex-grow: 1; font-size: 14px; line-height: 1.4; }
.pp-tbody b { font-size: 15px; }
.pp-tfoot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; font-weight: 600; }
.pp-tile[aria-pressed="true"] .pp-state { color: var(--blue); }
.pp-tbody small { text-align: right; }
.pp-rows { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #FFFFFF; }
.pp-rowwrap + .pp-rowwrap { border-top: 1px solid #EEF0F1; }
.pp-row { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: #FFFFFF; border: 0; padding: 14px 16px; font: inherit; color: var(--ink); cursor: pointer; min-height: 56px; }
.pp-row[aria-pressed="true"] { background: var(--tint); }
.pp-tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--blue); flex-shrink: 0; }
.pp-row[aria-pressed="true"] .pp-tick { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.pp-rtext { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.pp-rtext b { font-size: 15px; }
.pp-rprice { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; font-size: 14px; }
.pp-qty { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 0 16px 10px; }
.pp-tilewrap .pp-qty { padding: 0 4px; }
.pp-qty button { min-width: 44px; min-height: 36px; border-radius: 6px; border: 2px solid var(--line); background: #FFFFFF; font: inherit; font-weight: 600; cursor: pointer; }
.pp-qty button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.pp-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.pp-std { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; line-height: 1.5; }
.pp-dims { width: 100%; border-collapse: collapse; background: #FFFFFF; border-radius: 10px; overflow: hidden; font-size: 15px; }
.pp-dims th { text-align: left; font-weight: 600; background: #F7F8F9; padding: 12px 16px; width: 42%; }
.pp-dims td { padding: 12px 16px; }
.pp-extras { max-width: 760px; }
.pp-extras th { width: auto; font-weight: 400; background: #FFFFFF; }
.pp-extras td { text-align: right; font-weight: 600; white-space: nowrap; }
.pp-extras tr + tr th, .pp-extras tr + tr td { border-top: 1px solid #E6E9EB; }
.pp-dims tr + tr th, .pp-dims tr + tr td { border-top: 1px solid #EEF0F1; }
.pp-enq { display: flex; flex-wrap: wrap; gap: 40px; }
.pp-enq > .stack { flex: 1 1 360px; }
.pp-form { flex: 1 1 420px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; background: #22282E; border-radius: 12px; padding: 24px; }
.pp-form .full { grid-column: 1 / -1; }
.pp-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.pp-form input, .pp-form textarea { font: inherit; padding: 12px; border: 1px solid #3E4750; border-radius: 6px; background: #FFFFFF; color: var(--ink); font-weight: 400; }
@media (max-width: 900px) { .pp-sum { position: static; } }

/* YouTube: a photo with a play button until clicked, then the video (no YouTube cookies before that) */
.yt { position: relative; aspect-ratio: 16 / 9; background: #15191D; }
.yt-cover { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #15191D; }
.yt-cover img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .15s; }
.yt-cover:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Option tile without a photo */
.pp-noimg { height: 140px; display: flex; align-items: center; justify-content: center; background: var(--tint); color: #A9BDF2; }
.pp-tile[aria-pressed="true"] .pp-noimg { color: var(--blue); }
/* Is it right for you */
.pp-fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pp-fitgood { background: #FFFFFF; border-radius: 12px; padding: 22px; border-top: 4px solid var(--blue); }
.pp-fitalt { background: #FFFFFF; border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.pp-fitalt:hover { border-color: #AEB7C0; color: var(--ink); }
.price-note { font-size: 12px; color: var(--muted); }

/* Printed quote: laid out like the Alu-Star pricelists. Hidden on screen. */
.pq { display: none; }
@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #FFFFFF; }
  body > *:not(main), main > *:not(#dc-root), #dc-root > *:not(.pq) { display: none !important; }
  .pq { display: block !important; font-family: Inter, Arial, sans-serif; color: #000; font-size: 9.5pt; }
  .pq-head { text-align: center; margin-bottom: 8px; }
  .pq-head img { height: 64px; width: auto; margin: 0 auto; }
  .pq-contact { display: flex; justify-content: space-between; font-weight: 600; font-size: 8.5pt; margin-top: 4px; }
  .pq-t { width: 100%; border-collapse: collapse; margin-top: 6px; page-break-inside: auto; }
  .pq-t td, .pq-t th { padding: 2px 4px; border-bottom: 1px solid #DDE3EA; text-align: left; vertical-align: top; }
  .pq-bar td { background: #9CC2E5 !important; font-weight: 700; border-top: 1.5px solid #2E75B6; border-bottom: 1.5px solid #2E75B6; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pq-bar td.c { text-align: center; }
  .pq-sub th { background: #EAF2F8 !important; font-weight: 700; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pq-num td:not(:first-child), .pq-num th:not(:first-child) { text-align: right; white-space: nowrap; }
  .pq-num td:first-child, .pq-num th:first-child { width: 34%; }
  .pq-terms .pq-bar td { font-style: normal; }
  .pq-strong td { font-weight: 700; }
  .pq-total td { font-size: 13pt; font-weight: 700; padding: 4px; }
  .pq-tint td { background: #D9EAF7 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pq-t .r { text-align: right; }
  .pq-terms td { font-style: italic; border-bottom: 0; }
  .pq-fill { border-bottom: 1px solid #999 !important; min-width: 120px; }
  .pq-foot { display: flex; justify-content: space-between; margin-top: 14px; font-size: 8pt; color: #555; }
  tr { page-break-inside: avoid; }
}

/* Trailer finder: step 2 grows out of step 1 like a tree */
.fstep { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; font-size: 17px; margin: 0 0 14px; }
.fstep small { font-weight: 400; font-size: 14px; color: var(--muted); }
.fnum { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.fcats.picked .choice { min-height: 0; padding: 10px 14px; }
.fcats.picked .choice span { display: none; }
.fcats.picked .choice b { font-size: 15px; }
.fcats.picked .choice[aria-pressed="false"] { color: var(--muted); }
.ftree { position: relative; margin: 6px 0 0 13px; padding: 22px 0 4px 31px; border-left: 2px solid var(--blue); display: flex; flex-direction: column; gap: 24px; }
.fnode { position: relative; }
.fnode::before { content: ''; position: absolute; left: -31px; top: 14px; width: 24px; border-top: 2px solid var(--blue); }
.fnode.result::before { top: 32px; }
.fopts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.fopt { display: flex; align-items: flex-start; gap: 12px; text-align: left; background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; font: inherit; color: var(--ink); cursor: pointer; }
.fopt::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid #AEB7C0; box-sizing: border-box; background: #FFFFFF; }
.fopt:hover { border-color: #AEB7C0; }
.fopt b { display: block; font-weight: 600; font-size: 16px; }
.fopt span span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.fopt[aria-pressed="true"] { border-color: var(--blue); background: var(--tint); }
.fopt[aria-pressed="true"]::before { border: 5px solid var(--blue); }
.ftree.flash #finder-q { animation: fflash 1.2s ease-out; }
@keyframes fflash { from { background: var(--tint); box-shadow: 0 0 0 10px var(--tint); } to { background: transparent; box-shadow: 0 0 0 10px transparent; } }
@media (max-width: 600px) { .ftree { margin-left: 6px; padding-left: 20px; } .fnode::before { left: -20px; width: 14px; } }
@media (prefers-reduced-motion: reduce) { .ftree.flash #finder-q { animation: none; } }

.dir-btn { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: #FFFFFF; color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.dir-btn:hover { border-color: #AEB7C0; color: var(--ink); }

.pp-drawing { margin: 20px 0 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.pp-drawing img { display: block; width: 100%; height: auto; }
.pp-drawing figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

.yt-more { display: inline-block; margin: 10px 0 0; font-size: 14px; font-weight: 600; color: var(--blue); }
