  :root {
    --brand: #199FC4; --brand-2: #46C6E8; --brand-ink: #0b5f78;
    --bg: #f4f8fa; --panel: #ffffff; --panel2: #f0f5f8; --line: #dbe5eb;
    --text: #13232d; --muted: #5d7280; --good: #1f9d63; --warn: #d9822b; --bad: #d64545; --info: #199FC4;
  }
  * { box-sizing: border-box; }
  html, body { overflow-x: hidden; }
  body { margin: 0; font: 15px/1.5 "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); }
  a { color: var(--brand-ink); }
  .screen { display: none; min-height: 100vh; min-height: 100dvh; }
  .screen.on { display: block; animation: fade .35s ease; }
  @keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

  /* Landing — compact, button last, tablet-first */
  #land.screen.on { display: flex; flex-direction: column; height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; animation: fade .35s ease; }
  .land { position: relative; flex: 1; min-height: 0; overflow: hidden; color: #fff;
    background:
      radial-gradient(900px 500px at 85% 10%, rgba(70,198,232,.35), transparent 55%),
      radial-gradient(700px 420px at 5% 90%, rgba(245,179,1,.18), transparent 50%),
      linear-gradient(155deg, #052a38 0%, #0a4d66 42%, #117a9c 100%);
    display: flex; flex-direction: column; justify-content: safe center; padding: 24px 28px 28px; }
  .land .glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .4; pointer-events: none; }
  .land .glow.g1 { width: 420px; height: 420px; background: #46C6E8; right: -120px; top: -80px; }
  .land .glow.g2 { width: 320px; height: 320px; background: #f5b301; left: -140px; bottom: -120px; opacity: .2; }
  .land-in { position: relative; max-width: 920px; margin: 0 auto; width: 100%; z-index: 1; overflow-x: hidden; overflow-y: auto; max-height: 100%; }
  .land .eyebrow { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; opacity: .78; font-weight: 600; }
  .land h1 { font-family: "Fraunces", Georgia, serif; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.08; letter-spacing: -.6px; margin: 8px 0 10px; font-weight: 600; }
  .land h1 em { font-style: italic; color: #9ee7f7; }
  .land .lead { font-size: clamp(15px, 1.6vw, 17px); max-width: 700px; opacity: .92; margin: 0 0 16px; line-height: 1.4; }
  .land-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin: 0 0 14px; align-items: stretch; }
  .land-about, .land-sell, .land-how { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 16px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .land-about h2, .land-sell h2, .land-how h2 { font-family: "Fraunces", Georgia, serif; font-size: 17px; margin: 0 0 6px; font-weight: 600; }
  .land-about p, .land-sell p, .land-how p { margin: 0; opacity: .9; font-size: 14px; line-height: 1.4; }
  .sell-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
  .sell-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; opacity: .92; line-height: 1.35; }
  .sell-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #7fe0f7; margin-top: 6px; flex: none; }
  .land-how { margin: 0 0 16px; background: rgba(0,0,0,.18); border-color: rgba(255,255,255,.12); }
  .land-foot { position: relative; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; opacity: .75; }
  .land-cta { display: flex; }
  .start-btn { appearance: none; border: none; cursor: pointer; font: inherit; font-weight: 700; font-size: 17px;
    min-height: 52px; padding: 14px 28px; border-radius: 12px; color: #07384a; background: linear-gradient(180deg, #fff, #d7f4fc);
    box-shadow: 0 10px 28px rgba(0,0,0,.28); transition: transform .15s ease, box-shadow .15s ease; width: 100%; max-width: 360px; }
  .start-btn:hover, .start-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.32); outline: none; }
  @media (max-width: 900px) {
    .land { padding: 20px 22px 24px; }
    .land-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .start-btn { max-width: none; }
  }
  @media (max-width: 700px) {
    .land-grid { grid-template-columns: 1fr; }
  }
  @media (max-height: 820px) {
    .land { padding: 16px 24px 18px; justify-content: flex-start; }
    .land h1 { font-size: clamp(24px, 3.6vw, 34px); margin: 4px 0 6px; }
    .land .lead { margin-bottom: 10px; font-size: 14.5px; }
    .land-grid { margin-bottom: 10px; gap: 10px; }
    .land-about, .land-sell, .land-how { padding: 10px 12px; }
    .land-about h2, .land-sell h2, .land-how h2 { font-size: 15px; margin-bottom: 4px; }
    .land-about p, .land-sell p, .land-how p, .sell-list li { font-size: 13px; }
    .land-how { margin-bottom: 10px; }
    .land-foot { margin-bottom: 10px; font-size: 12px; }
    .start-btn { min-height: 48px; font-size: 16px; padding: 12px 22px; }
  }

  /* Who are you */
  #welcome.screen.on { display: grid; place-items: center; animation: fade .35s ease; }
  .who-sec { position: relative; min-height: 100vh; width: 100%; overflow: hidden; display: grid; place-items: center; padding: 40px 28px;
    background: radial-gradient(1200px 600px at 10% -10%, #2bb5dc 0%, transparent 60%), linear-gradient(140deg, #07384a 0%, #0c5d78 45%, #137fa3 100%); color: #fff; }
  .who-sec .glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; pointer-events: none; }
  .who-sec .glow.g1 { width: 520px; height: 520px; background: #46C6E8; right: -140px; top: -120px; }
  .who-sec .glow.g2 { width: 420px; height: 420px; background: #f5b301; left: -160px; bottom: -180px; opacity: .18; }
  .hero-in { position: relative; max-width: 1040px; width: 100%; text-align: center; }
  .who-sec .eyebrow { font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase; opacity: .8; font-weight: 600; }
  .who-sec h2 { font-family: "Fraunces", Georgia, serif; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -.6px; margin: 12px 0 12px; font-weight: 600; }
  .who-sec h2 span { background: linear-gradient(90deg, #7fe0f7, #f9d56e); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .who-sec .lead { font-size: clamp(15px, 1.8vw, 18px); max-width: 640px; margin: 0 auto; opacity: .92; }
  .who-q { margin: 28px 0 14px; font-size: 19px; font-weight: 700; }
  .hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-cards button { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 18px; padding: 22px 16px 20px; color: #fff; font: inherit; cursor: pointer; min-height: 160px;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; -webkit-tap-highlight-color: transparent; }
  .hero-cards button:hover, .hero-cards button:focus-visible { transform: translateY(-3px); background: rgba(255,255,255,.16); border-color: #7fe0f7; box-shadow: 0 16px 40px rgba(0,0,0,.25); outline: none; }
  .hero-cards .ic { font-size: 36px; display: block; margin-bottom: 6px; }
  .hero-cards b { display: block; font-size: 20px; }
  .hero-cards small { display: block; opacity: .85; font-size: 14px; margin-top: 2px; }
  .hero-cards i { display: block; font-style: normal; font-size: 13px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.18); color: #bfefff; }
  .trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 24px; font-size: 14px; opacity: .8; }
  @media (max-width: 820px) {
    .hero-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .hero-cards button { min-height: 0; padding: 18px 16px; text-align: left; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
    .hero-cards .ic { grid-row: 1 / 3; margin: 0; font-size: 32px; align-self: center; }
    .hero-cards b { font-size: 18px; }
    .hero-cards i { grid-column: 2; margin-top: 8px; padding-top: 8px; }
  }

  /* Wizard */
  .topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 28px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
  .brand { background: none; border: none; font: inherit; font-weight: 800; color: var(--brand-ink); font-size: 16px; cursor: pointer; padding: 0; }
  .brand span { font-weight: 500; color: var(--muted); margin-left: 6px; }
  .who-pill { font-size: 13px; background: #e8f6fb; color: var(--brand-ink); padding: 4px 12px; border-radius: 99px; font-weight: 600; }
  .progress { height: 4px; background: #e6edf1; }
  .progress-in { height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .35s ease; }
  .stepcount { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; margin: 28px 0 10px; }
  .wiz-body, .res-body { display: grid; grid-template-columns: minmax(0, 860px) 290px; gap: 24px; justify-content: center; padding: 0 20px; align-items: start; }
  .res-body { grid-template-columns: minmax(0, 940px) 290px; padding-top: 28px; }
  .steps { min-width: 0; padding-bottom: 130px; }
  .picks { position: sticky; top: 76px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 10px 30px rgba(16, 40, 55, .06); }
  .picks h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .7px; color: var(--muted); display: flex; justify-content: space-between; }
  .picks h4 span { color: var(--brand-ink); text-transform: none; letter-spacing: 0; font-weight: 600; }
  .pick { display: flex; gap: 10px; width: 100%; text-align: left; background: none; border: none; border-radius: 10px; padding: 8px; font: inherit; color: var(--text); cursor: pointer; }
  .pick:hover { background: var(--panel2); }
  .pick .pi { font-size: 18px; line-height: 1.2; flex: none; width: 22px; text-align: center; }
  .pick .pt { flex: 1; min-width: 0; overflow: hidden; }
  .pick .pk { font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; display: block; }
  .pick .pv { font-size: 13.5px; line-height: 1.35; display: block; }
  .pick.cur { background: #e8f6fb; }
  .pick.todo .pv { color: var(--muted); font-style: italic; }
  .pick .ed { margin-left: auto; color: var(--muted); font-size: 12px; opacity: 0; align-self: center; }
  .pick:hover .ed { opacity: 1; }
  #wizard .step:not(.on) { display: none !important; }
  #wizard .step.on { display: block !important; animation: fade .3s ease; }
  #wizard section.card { padding: 30px; border-radius: 18px; box-shadow: 0 10px 30px rgba(16, 40, 55, .07); }
  #wizard section.card > h2 { font-size: 28px; letter-spacing: -.4px; justify-content: center; text-align: center; margin-bottom: 6px; }
  #wizard section.card > .hint:first-of-type { text-align: center; font-size: 15px; margin-bottom: 22px; }
  .cards3.big button { padding: 26px 12px; border-radius: 16px; transition: transform .15s ease, border-color .15s ease; }
  .cards3.big button:hover { transform: translateY(-2px); border-color: var(--brand-2); }
  .cards3.big .ic { font-size: 40px; margin-bottom: 6px; }
  .cards3.big b { font-size: 18px; }
  .wiz-nav { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 28px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 5; }
  .nav-back, .nav-next, .ghost { font: inherit; font-weight: 700; border-radius: 10px; padding: 11px 22px; cursor: pointer; }
  .nav-back, .ghost { background: #fff; border: 1px solid var(--line); color: var(--text); }
  .nav-next { background: linear-gradient(120deg, #0f7fa0, var(--brand)); color: #fff; border: none; box-shadow: 0 6px 16px rgba(25,159,196,.3); min-width: 150px; }
  .nav-next:hover { filter: brightness(1.06); }
  .live { flex: 1; text-align: center; font-size: 13.5px; color: var(--muted); }
  .live b { color: var(--brand-ink); }
  .top-actions { display: flex; gap: 8px; }
  .ghost { padding: 7px 14px; font-size: 13.5px; }

  /* Tablet: must come AFTER base wizard rules so it actually wins */
  @media (max-width: 1100px) {
    body { font-size: 16px; }
    #wizard section.card { padding: 24px; }
    #wizard section.card > h2 { font-size: 24px; }
    .cards3.big button { min-height: 108px; padding: 20px 12px; }
    .seg button, .chip { min-height: 44px; padding: 10px 16px; font-size: 15px; }
    .nav-back, .nav-next { min-height: 48px; padding: 12px 20px; font-size: 16px; }
    table.apps th, table.apps td { font-size: 14px; }
    table.apps input[type=number], table.apps input[type=text] { min-height: 40px; font-size: 16px; }
    .wiz-body, .res-body { grid-template-columns: minmax(0, 1fr); }
    .picks { position: static; order: -1; padding: 10px 12px; }
    .picks .pick-list { display: flex; flex-wrap: wrap; gap: 6px; }
    .picks .pick { flex: 1 1 170px; width: auto; max-width: 280px; min-width: 0; min-height: 44px; background: var(--panel2); padding: 8px 10px; }
    .picks .pick.cur { background: #e8f6fb; }
    .picks .ed { display: none; }
    .picks .pv { font-size: 14px; white-space: normal; }
  }

  /* Results */
  #results aside { min-width: 0; padding-bottom: 60px; }
  .res-kicker { color: var(--good); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 2px; }
  #results .result { padding: 30px; border-radius: 18px; }
  #results .result h2 { font-size: 26px; letter-spacing: -.3px; }
  #results .pkg { padding: 14px; }
  #results .pkg .pr { font-size: 22px; }
  @media (max-width: 640px) { .pkgs, .kpis { grid-template-columns: 1fr !important; } #wizard section.card { padding: 20px; } .brand span { display: none; } .live { display: none; } }
  section.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 18px; box-shadow: 0 1px 2px rgba(16, 40, 55, .04); }
  section.card h2 { margin: 0 0 4px; font-size: 17px; display: flex; align-items: center; gap: 10px; }
  section.card h2 .n { background: var(--brand); color: #fff; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
  .hint { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
  .row { display: flex; flex-wrap: wrap; gap: 14px; }
  .field { display: flex; flex-direction: column; gap: 5px; flex: 1 1 170px; }
  .lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; }
  input[type=number], select, input[type=text] { background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; width: 100%; }
  input:focus, select:focus { outline: 2px solid var(--brand); outline-offset: -1px; }
  .seg { display: flex; flex-wrap: wrap; gap: 8px; }
  .seg button, .chip { background: var(--panel2); border: 1px solid var(--line); color: var(--text); padding: 8px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; }
  .seg button.on, .chip.on { background: var(--brand); color: #fff; border-color: var(--brand); font-weight: 600; }
  .cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cards3 button { background: var(--panel2); border: 2px solid var(--line); border-radius: 12px; padding: 12px 10px; cursor: pointer; font: inherit; color: var(--text); text-align: center; }
  .cards3 button .ic { font-size: 24px; display: block; }
  .cards3 button b { display: block; margin-top: 2px; }
  .cards3 button small { color: var(--muted); display: block; line-height: 1.3; }
  .cards3 button.on { border-color: var(--brand); background: #e8f6fb; }
  table.apps { width: 100%; border-collapse: collapse; font-size: 14px; }
  table.apps th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; padding: 6px; border-bottom: 1px solid var(--line); }
  table.apps td { padding: 5px 6px; border-bottom: 1px solid #edf2f5; vertical-align: middle; }
  table.apps tr.off td:not(:first-child) { opacity: .4; }
  table.apps input[type=number] { padding: 5px 6px; width: 74px; }
  table.apps input[type=text] { padding: 5px 6px; }
  .tag { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--panel2); color: var(--muted); margin-left: 6px; white-space: nowrap; }
  .tag.dc { background: #e3f6ec; color: var(--good); }
  .tag.surge { background: #fdf0e2; color: var(--warn); }
  .app-note { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; margin-top: 2px; }
  .btn { background: transparent; border: 1px dashed var(--line); color: var(--muted); padding: 8px 12px; border-radius: 8px; cursor: pointer; font: inherit; margin-top: 10px; }
  .btn:hover { color: var(--text); border-color: var(--muted); }
  .x { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 16px; }
  .sub { display: none; margin-top: 12px; padding: 14px; background: var(--panel2); border-radius: 10px; }
  .sub.show { display: block; }
  .check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; -webkit-user-select: none; user-select: none; }
  .lbl-block { display: block; margin: 14px 0 6px; }
  .mt-8 { margin-top: 8px; }
  .mt-12 { margin-top: 12px; }
  .mt-14 { margin-top: 14px; }
  .hint-tight { margin: 4px 0 10px; }
  .hint-after-bar { margin: 8px 0 0; }
  .field-end { justify-content: flex-end; }
  .scroll-x { overflow-x: auto; }
  .seg-spaced { margin-bottom: 12px; }
  .cov-block { margin-top: 14px; }
  .legend-spread { justify-content: space-between; }
  .fold-body { margin-top: 8px; }
  .is-hidden { display: none !important; }
  .swatch-solar { background: #f5b301; }
  .swatch-brand { background: var(--brand); }
  .swatch-bad { background: var(--bad); }
  [data-for] { display: none; }
  body.who-user [data-for~=user], body.who-installer [data-for~=installer], body.who-dealer [data-for~=dealer] { display: revert; }
  body.quick .apps-mode { display: none; } body:not(.quick) .quick-mode { display: none; }

  .result { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 4px 18px rgba(16, 40, 55, .06); }
  .result h2 { margin: 0 0 12px; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .banner { font-size: 12.5px; background: #fff7e8; border: 1px solid #f3dcb0; color: #7a5310; padding: 8px 10px; border-radius: 8px; margin-bottom: 12px; }
  .pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
  .pkg { border: 2px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; background: var(--panel2); position: relative; }
  .pkg.on { border-color: var(--brand); background: #e8f6fb; }
  .pkg .nm { font-weight: 700; font-size: 14px; }
  .pkg .rb { position: absolute; top: -9px; right: 8px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 99px; text-transform: uppercase; letter-spacing: .5px; }
  .pkg .pr { font-size: 18px; font-weight: 800; margin: 4px 0 2px; color: var(--brand-ink); }
  .pkg .pr small { font-size: 11px; font-weight: 500; color: var(--muted); }
  .pkg ul { margin: 4px 0 0; padding: 0 0 0 14px; font-size: 12px; color: var(--muted); }
  .summary { background: #e8f6fb; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 12px; }
  .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .kpi { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
  .kpi .k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 600; }
  .kpi .v { font-size: 18px; font-weight: 700; margin-top: 2px; }
  .kpi .d { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
  .bar { height: 10px; background: #e6edf1; border-radius: 99px; overflow: hidden; display: flex; margin: 8px 0 4px; }
  .bar i { display: block; height: 100%; }
  .legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); }
  .legend b { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
  ul.notes { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; }
  ul.notes li { padding: 9px 12px; border-radius: 8px; font-size: 13.5px; border-left: 3px solid; background: var(--panel2); }
  ul.notes li.good { border-color: var(--good); } ul.notes li.warn { border-color: var(--warn); } ul.notes li.bad { border-color: var(--bad); background: #fdf1f1; } ul.notes li.info { border-color: var(--info); }
  h3.sec { font-size: 14px; margin: 20px 0 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  table.parts, table.mini { width: 100%; border-collapse: collapse; font-size: 13px; }
  table.parts th, table.mini th { text-align: right; font-size: 10.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 600; padding: 4px; border-bottom: 1px solid var(--line); }
  table.parts th:nth-child(2), table.mini th:first-child { text-align: left; }
  table.parts td, table.mini td { padding: 7px 4px; border-bottom: 1px solid #edf2f5; vertical-align: top; }
  table.parts td.q { width: 34px; color: var(--muted); font-weight: 600; }
  table.parts td.p, table.mini td.p { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
  table.parts td small { display: block; color: var(--muted); }
  table.parts tr.total td, table.mini tr.total td { border-bottom: none; font-weight: 700; padding-top: 9px; }
  table.mini tr.sub td { color: var(--muted); }
  .alts { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; }
  .alts li { padding: 8px 10px; background: var(--panel2); border-radius: 8px; margin-bottom: 6px; }
  .tech { font-size: 13px; color: var(--muted); }
  .tech table { width: 100%; border-collapse: collapse; }
  .tech td { padding: 4px 0; border-bottom: 1px solid #edf2f5; } .tech td:last-child { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
  .cta { margin-top: 18px; padding: 16px; border-radius: 12px; background: linear-gradient(120deg, #0f7fa0, var(--brand)); color: #fff; }
  .cta b { font-size: 15px; }
  .cta p { margin: 4px 0 12px; font-size: 13.5px; opacity: .95; }
  .cta a.b, .cta button.b { display: inline-block; background: #fff; color: var(--brand-ink); text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 8px; margin: 0 6px 6px 0; font-size: 13.5px; border: none; cursor: pointer; font-family: inherit; }
  .cta .o { background: transparent !important; color: #fff !important; border: 1px solid rgba(255,255,255,.7) !important; }

  /* Email plan modal */
  .mail-modal { display: none; position: fixed; inset: 0; z-index: 40; background: rgba(8, 30, 40, .55); padding: 24px; align-items: center; justify-content: center; }
  .mail-modal.on { display: flex; }
  .mail-sheet { background: #fff; border-radius: 16px; width: min(720px, 100%); max-height: min(90vh, 900px); display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,.28); overflow: hidden; }
  .mail-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #f7fafc; }
  .mail-bar h3 { margin: 0; font-size: 16px; }
  .mail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .mail-actions button, .mail-bar .xclose { font: inherit; font-weight: 700; border-radius: 8px; padding: 8px 12px; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--text); }
  .mail-actions .primary { background: var(--brand); color: #fff; border-color: var(--brand); }
  .mail-bar .xclose { padding: 4px 10px; font-size: 18px; line-height: 1; }
  .mail-preview { overflow: auto; padding: 0; background: #e8eef2; flex: 1; }
  .mail-hint { margin: 0; padding: 10px 18px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
  .small-btn { background: none; border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; white-space: nowrap; }
  .disclaimer { font-size: 12px; color: var(--muted); margin-top: 14px; }
  details.fold { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
  details.fold summary { cursor: pointer; font-weight: 600; font-size: 14px; }
  .print-head { display: none; }
  @media print {
    #land, #welcome, #wizard, .topbar, .no-print, .cta, .pkgs, .banner { display: none !important; }
    #results { display: block !important; min-height: 0; }
    #results aside { padding: 0; max-width: none; }
    .res-body { display: block; padding: 0; }
    .result, #results .result { border: none; box-shadow: none; padding: 0; }
    body.cust .trade-only { display: none !important; }
    .print-head { display: block; margin-bottom: 12px; }
    details.fold { display: block; } details.fold > * { display: block; }
    a { color: var(--text); text-decoration: none; }
  }
