/* Calculator page (/). Dave approved docs/design/calculator-mockup.html as the design (2026-11-06).
   The block between MOCKUP CSS START and END is the mockup CSS, copied as-is; test/build.test.js checks it
   still matches the mockup. Don't edit it here: change the mockup first. */

/* Manrope, self-hosted (latin subset), instead of the mockup's Google Fonts link. Same weights: 400-800. */
@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/manrope-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/manrope-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/manrope-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/manrope-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/manrope-latin-800-normal.woff2) format("woff2")}

/* MOCKUP CSS START */
:root{
  --bg:#F6F6F3;--card:#FFFFFF;--ink:#16202B;--muted:#4F5A66;--line:#E3E3DE;--track:#E6E6E1;
  --accent:#1E5BD7;--accent-ink:#FFFFFF;--accent-soft:#E8EFFC;--surge:#C76A04;--head:#8A949E;
  --ver-bg:#E1EAFB;--ver-ink:#163F96;--warn-bg:#FFF4E5;--warn-ink:#7A4100;--off:#6B7480;
  box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);color-scheme:light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#121821;--card:#1A2330;--ink:#EAEFF4;--muted:#A7B3C0;--line:#283444;--track:#283444;
    --accent:#77A7FF;--accent-ink:#0B1424;--accent-soft:#1D2D48;--surge:#F2B84B;--head:#6F7C8B;
    --ver-bg:#23406B;--ver-ink:#DCE9FF;--warn-bg:#3A2A12;--warn-ink:#F6D29A;--off:#8794A2;color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#121821;--card:#1A2330;--ink:#EAEFF4;--muted:#A7B3C0;--line:#283444;--track:#283444;
  --accent:#77A7FF;--accent-ink:#0B1424;--accent-soft:#1D2D48;--surge:#F2B84B;--head:#6F7C8B;
  --ver-bg:#23406B;--ver-ink:#DCE9FF;--warn-bg:#3A2A12;--warn-ink:#F6D29A;--off:#8794A2;color-scheme:dark;
}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Manrope,system-ui,sans-serif;font-variant-numeric:tabular-nums}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--card)}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
header{position:sticky;top:env(safe-area-inset-top,0px);z-index:5;background:var(--card);border-bottom:1px solid var(--line)}
header div{max-width:520px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;gap:8px}
header strong{font-size:17px;font-weight:800;flex:1}
main{max-width:520px;margin:0 auto;padding:20px 20px 120px;display:flex;flex-direction:column;gap:24px}
h2{margin:0;font-size:18px;font-weight:800}
.stack{display:flex;flex-direction:column;gap:12px}
.seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;background:var(--track);padding:4px;border-radius:14px}
.seg button{min-height:44px;border:none;border-radius:10px;background:transparent;font-weight:600;font-size:14px;color:var(--muted)}
.seg button[aria-pressed="true"]{background:var(--card);color:var(--ink);font-weight:800;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.inputs{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px}
.inputs label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}
.inputs input,.inputs select{min-height:46px;border-radius:12px;border:1px solid var(--line);background:var(--card);padding:0 12px;font-size:15px;font-weight:600;color:var(--ink)}
.hero{background:var(--card);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:12px}
.hero .lbl{margin:0;font-size:14px;font-weight:600;color:var(--muted)}
.hero .big{margin:0;font-size:64px;font-weight:800;letter-spacing:-2px;line-height:1}
.hero .big small{font-size:28px;letter-spacing:0}
.hero p{margin:0;font-size:15px;line-height:1.5}
.cta{min-height:52px;border-radius:14px;background:var(--accent);color:var(--accent-ink);font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center;text-decoration:none;border:none}
.bar{display:flex;flex-direction:column;gap:6px}
.bar .row{display:flex;justify-content:space-between;gap:10px;font-size:14px;font-weight:600}
.bar .row b{font-weight:800;white-space:nowrap}
.track{height:10px;border-radius:5px;background:var(--track);overflow:hidden}
.track div{height:10px;border-radius:5px}
.hint{margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
.toggle-details{min-height:52px;border-radius:14px;border:1px solid var(--line);background:var(--card);font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;gap:8px}
.toggle-details svg{transition:transform .2s}
.toggle-details[aria-expanded="true"] svg{transform:rotate(180deg)}
.meter{background:var(--card);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:16px}
.kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.kpis div{display:flex;flex-direction:column;gap:4px}
.kpis span{font-size:13px;font-weight:600;color:var(--muted)}
.kpis b{font-size:30px;font-weight:800;letter-spacing:-.5px;line-height:1.1}
.kpis b small{font-size:15px;font-weight:700;color:var(--muted)}
.stackbar{position:relative;display:flex;height:30px;border-radius:8px;overflow:hidden;background:var(--track)}
.scale{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);font-weight:600}
.legend{display:flex;flex-direction:column;gap:8px;font-size:14px}
.legend div{display:flex;align-items:center;gap:10px}
.legend i{width:12px;height:12px;border-radius:3px;flex:none}
.legend span{flex:1}
.list{background:var(--card);border-radius:16px}
.item{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line)}
.item:last-child{border-bottom:none}
.item .t{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.item .t > span:first-child{font-size:15px;font-weight:700}
.item .sub{font-size:12px;color:var(--muted);display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.item .w{font-weight:700;font-size:15px;white-space:nowrap;text-align:right}
.item .w small{display:block;font-size:12px;font-weight:600;color:var(--muted)}
.item.off .t,.item.off .w,.item.off .sub{color:var(--off)}
.badge{font-size:11px;font-weight:700;padding:2px 8px;border-radius:10px;border:1px solid var(--line);color:var(--muted)}
.badge.v{background:var(--ver-bg);color:var(--ver-ink);border-color:transparent}
.badge.s{background:var(--warn-bg);color:var(--warn-ink);border-color:transparent}
.colhead{display:flex;justify-content:flex-end;gap:12px;padding:0 84px 0 16px;font-size:12px;font-weight:700;color:var(--muted)}
.sw{width:52px;height:32px;border-radius:16px;border:none;background:var(--track);position:relative;flex:none}
.sw::after{content:"";position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:12px;background:#FFFFFF;transition:left .15s;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.sw[aria-checked="true"]{background:var(--accent)}
.sw[aria-checked="true"]::after{left:24px}
.rm{border:none;background:transparent;color:var(--accent);font-weight:700;font-size:12px;padding:0;min-height:24px}
.lookup{display:flex;flex-direction:column;gap:8px}
.lookup label{font-size:13px;font-weight:600;color:var(--muted)}
.lookup .row{display:flex;gap:8px}
.lookup input{flex:1;min-width:0;min-height:48px;border-radius:12px;border:1px solid var(--line);background:var(--card);padding:0 14px;font-size:15px;font-weight:600;text-transform:uppercase}
.lookup input::placeholder{text-transform:none;font-weight:500}
.lookup button[type="submit"]{min-height:48px;padding:0 18px;border-radius:12px;border:none;background:var(--ink);color:var(--bg);font-weight:700}
.result{background:var(--card);border:2px solid var(--accent);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:12px}
.result.miss{border-color:var(--surge)}
.result .top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.result .top div{display:flex;flex-direction:column;gap:4px}
.result .top b{font-size:16px}
.result .top span{font-size:13px;color:var(--muted)}
.result .nums{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.result .nums div{background:var(--bg);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:2px}
.result .nums span{font-size:12px;font-weight:600;color:var(--muted)}
.result .nums b{font-size:20px}
.result .acts{display:flex;gap:8px;flex-wrap:wrap}
.result .acts button{flex:1;min-height:46px;border-radius:12px;font-weight:700;border:1px solid var(--line);background:var(--card)}
.result .acts button.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.result p{margin:0;font-size:14px;line-height:1.5}
ol.how{margin:0;padding:0 0 0 22px;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.65}
ol.how b{font-weight:800}
.note{margin:0;font-size:12px;line-height:1.5;color:var(--muted)}
.dock{position:fixed;left:0;right:0;bottom:0;z-index:6;background:var(--card);border-top:1px solid var(--line);padding:10px 20px calc(10px + env(safe-area-inset-bottom,0px));transform:translateY(110%);transition:transform .2s;box-shadow:0 -2px 8px rgba(0,0,0,.06)}
.dock.show{transform:none}
.dock>div{max-width:520px;margin:0 auto;display:flex;align-items:center;gap:14px}
.dock .sz{display:flex;flex-direction:column;flex:none}
.dock .sz span{font-size:12px;font-weight:600;color:var(--muted)}
.dock .sz b{font-size:22px;font-weight:800;line-height:1.1}
.dock .cta{flex:1;min-height:48px;font-size:15px}
.model{background:var(--card);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:8px}
.model .top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.model .top b{font-size:16px}
.model .tag{font-size:12px;font-weight:700;padding:3px 10px;border-radius:10px;background:var(--accent-soft);color:var(--ink);white-space:nowrap}
.model p{margin:0;font-size:14px;line-height:1.5}
.model .fit{color:var(--muted)}
.model .foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:4px}
.model .foot b{font-size:16px}
.model .foot button{min-height:44px;padding:0 16px;border-radius:12px;border:1px solid var(--line);background:var(--card);font-weight:700}
@media (prefers-reduced-motion: reduce){.sw::after,.toggle-details svg,.dock{transition:none}}
/* MOCKUP CSS END */

/* Additions to the mockup, each listed in the pull request. */
/* Skip link (every page has one) and the page's h1, which only screen readers and search engines see. */
.skip-link{position:absolute;left:12px;top:-60px;z-index:20;background:var(--card);color:var(--ink);padding:10px 14px;border-radius:12px;font-weight:700}
.skip-link:focus{top:12px}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
main:focus{outline:none}
/* "Your setup" (details view): the engine's other inputs, two to a row. */
.inputs.pair{grid-template-columns:repeat(2,minmax(0,1fr))}
/* The well pump's pick-list: one box to a row, so the long answers fit on a phone (2026-12-06). */
.inputs.stack{grid-template-columns:minmax(0,1fr)}
.hint a,.note a{color:var(--accent);font-weight:700}
/* Footer links in Learn's muted style on every page (UI polish, Dave 2026-11-23). */
.site-footer a{color:var(--muted);font-weight:400;text-underline-offset:2px}
.site-footer a:hover{color:var(--ink)}
/* The site header, the same as every other page (Dave, 2026-11-09), in the mockup's tokens. It replaces the
   mockup's logo-only header, so these rules override the mockup's header rules. Links in a row from 720px,
   a Menu button (<details>) below that, like style.css. */
.site-header .wrap{max-width:1160px;margin:0 auto;padding:0 16px;min-height:60px;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}
@media (min-width:768px){.site-header .wrap{padding:0 24px}}
.site-header .icon{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.brand{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:800;font-size:17px;line-height:1;color:var(--ink);text-decoration:none}
.brand .icon{color:var(--accent)}
.site-nav{display:flex;gap:4px;margin-right:-8px}
.site-nav a,.site-menu nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;font-weight:600;font-size:15px;color:var(--muted);text-decoration:none;border-radius:10px}
.site-nav a:hover,.site-menu nav a:hover{color:var(--ink);background:var(--bg)}
.site-nav a[aria-current="page"],.site-menu nav a[aria-current="page"]{color:var(--accent);font-weight:700}
.site-menu{display:none}
@media (max-width:719.98px){.site-nav{display:none}.site-menu{display:block}}
.site-menu summary{list-style:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;margin-right:-4px;border:1px solid var(--line);border-radius:10px;font-weight:700;font-size:15px;color:var(--ink);cursor:pointer}
.site-menu summary::-webkit-details-marker{display:none}
.site-menu summary .icon{width:20px;height:20px}
.site-menu[open] summary{background:var(--bg)}
.site-menu nav{position:absolute;left:0;right:0;top:100%;z-index:20;display:flex;flex-direction:column;padding:8px 16px 16px;background:var(--card);border-bottom:1px solid var(--line)}
.site-menu nav a{display:flex;min-height:48px;padding:0 12px;font-size:16px}
/* Calculators dropdown (Dave, 2026-11-14), the same as style.css in the mockup's tokens. */
.nav-drop{position:relative}
.nav-drop summary{list-style:none;display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 8px;font-weight:600;font-size:15px;color:var(--muted);border-radius:10px;cursor:pointer}
.nav-drop summary::-webkit-details-marker{display:none}
.nav-drop summary:hover,.nav-drop[open] summary{color:var(--ink);background:var(--bg)}
.nav-drop summary.current{color:var(--accent);font-weight:700}
.nav-drop .chev{width:16px;height:16px;transition:transform .15s}
.nav-drop[open] .chev{transform:rotate(180deg)}
.nav-drop-list{position:absolute;left:0;top:calc(100% + 4px);z-index:30;min-width:240px;display:flex;flex-direction:column;padding:8px;background:var(--card);border:1px solid var(--line);border-radius:10px}
.nav-drop-list a{width:100%}
.menu-group{margin:8px 0 0;padding:0 12px;font-size:13px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.site-menu nav a.sub{padding-left:24px}
/* The site footer (same links as every other page), in the mockup's tokens. */
.site-footer{background:var(--card);border-top:1px solid var(--line);color:var(--muted);font-size:14px}
.site-footer .wrap{max-width:520px;margin:0 auto;padding:20px 20px calc(96px + env(safe-area-inset-bottom,0px))}
.site-footer p{margin:0 0 8px}
.footer-brand{font-weight:800;color:var(--ink)}
.footer-nav{display:flex;flex-wrap:wrap;gap:0 16px;margin:0 0 8px -8px}
.footer-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px}
.footer-label{display:inline-flex;align-items:center;min-height:44px;padding:0 8px;font-weight:600}
/* "Start here" as a stacked list under its label (UI polish, Dave 2026-11-23). */
.footer-start{margin:0 0 8px -8px}
.footer-start .footer-label{margin:0}
.footer-start ul{list-style:none;margin:0;padding:0}
.footer-start a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px}
/* Space above the footer (UI polish, Dave 2026-11-23): normal spacing under the page. The footer's own bottom
   padding already leaves room for the sticky bar, so the mockup's 120px under main isn't needed as well. */
main{padding-bottom:24px}
/* The ZIP box (UI polish, Dave 2026-11-23): below 420px, ZIP and Home size on their own rows. */
@media (max-width:419.98px){.inputs.top{grid-template-columns:minmax(0,1fr)}}
/* The fuel line's Details, and the line that walks from the summary to the size. */
.fuel{display:flex;flex-direction:column;gap:4px}
.fuel p{margin:0}
.fuel-more summary{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:700;color:var(--accent);cursor:pointer}
.fuel-more[open] summary{margin-bottom:4px}
#breakdown{scroll-margin-top:16px}
/* Opt-in to share typed nameplate values (off by default). */
.inputs label.share{grid-column:1/-1;flex-direction:row;align-items:flex-start;gap:10px;font-weight:500;line-height:1.5;min-height:44px}
.inputs label.share input{width:22px;height:22px;min-height:0;margin:2px 0 0;padding:0;flex:none;accent-color:var(--accent)}
/* Glossary term hints (Dave, 2026-11-09): the same as style.css, in the mockup's tokens. A term is a link
   without JavaScript and a button with it (terms.js); the popup sits over the page, so nothing moves. */
a.term,button.term,.hint a.term,.note a.term{color:inherit;font:inherit;text-decoration:underline dotted;text-decoration-thickness:1.5px;text-underline-offset:3px;text-decoration-color:currentColor}
button.term{background:none;border:0;padding:0;margin:0;cursor:pointer;text-align:inherit;border-radius:4px}
a.term:hover,button.term:hover{text-decoration-style:solid}
.term-wrap{position:relative}
.term-pop{position:absolute;top:calc(100% + 6px);left:0;z-index:30;display:block;width:max-content;max-width:min(320px,calc(100vw - 32px));padding:12px 14px;background:var(--card);border:1px solid var(--muted);border-radius:12px;font:500 15px/1.5 Manrope,system-ui,sans-serif;color:var(--ink);text-align:left;white-space:normal;text-transform:none;letter-spacing:normal}
.term-pop strong{font-weight:800}
.term-pop a{color:var(--accent);font-weight:700}
/* The nameplate box, opened inside the appliance list under its motor (2026-11-11). */
.list > .result{margin:4px 12px 12px;scroll-margin-top:72px}
.list > .item{scroll-margin-top:72px;scroll-margin-bottom:88px}
/* Link buttons on the standalone calculators ("Size a generator for my home…", 2026-11-15): the mockup's .cta is a
 button with one short line; a link with a longer label needs side padding and centered lines when it wraps. */
a.cta{text-align:center;padding:10px 20px}

/* Computer layout (Dave, 2026-11-16; docs/design/calculator-desktop-mockup.html). Every calculator page and the
   room planner wrap their content in .cols-top, .cols-answer and .cols-choices (columns() in src/calc-view.ts).
   Below 1000 px the wrappers vanish (display: contents) and the page is the approved single column, unchanged.
   From 1000 px: the heading row spans the top, the answer stays in view on the right, the choices fill the left,
   and the bottom dock goes (the answer is always on screen). */
.cols-top,.cols-answer,.cols-choices{display:contents}
@media (max-width:999.98px){.desk-only{display:none!important}}
@media (min-width:1000px){
  main:has(>.cols-answer){max-width:1160px;display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:24px 40px;align-items:start;padding:28px 24px 64px}
  main:has(>.cols-answer)>*{grid-column:1/-1}
  /* The note under the choices: the sticky answer can ride down into the last row, so keep the note out of its column. */
  main:has(>.cols-answer)>.note,main:has(>.cols-answer)>#email{grid-column:1}
  main>.cols-top{display:flex;flex-direction:column;gap:16px;max-width:720px}
  main>.cols-top>.seg{max-width:420px;width:100%}
  main>.cols-top.row{flex-direction:row;align-items:flex-end;gap:24px;max-width:none}
  main>.cols-top.row>.seg{flex:0 0 420px}
  main>.cols-top.row>.inputs{grid-template-columns:140px 260px}
  /* The answer: sticky below the site header; a tall one scrolls inside itself, so its foot is never out of reach. */
  main>.cols-answer{display:flex;flex-direction:column;gap:24px;grid-column:2;grid-row:2;position:sticky;top:84px;max-height:calc(100vh - 100px);overflow-y:auto;overscroll-behavior:contain;padding:4px;margin:-4px}
  main>.cols-answer>.stack:not(.hero){background:var(--card);border-radius:20px;padding:20px}
  main>.cols-answer>.meter{flex:none}
  main>.cols-choices{display:flex;flex-direction:column;gap:24px;grid-column:1;grid-row:2;min-width:0}
  main:has(>.cols-answer)>.dock{display:none}
  /* The main calculator: appliances in two columns (one again while a nameplate box is open under its motor, or
     with the details shown, which add a run/start column), and the check-a-unit box after them, as in the mockup. */
  #appliances:not(:has(>.colhead))>.list:not(:has(>.result)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  #appliances:not(:has(>.colhead))>.list:not(:has(>.result))>.item{border-bottom:1px solid var(--line)}
  #appliances:not(:has(>.colhead))>.list:not(:has(>.result))>.item:nth-child(odd){border-right:1px solid var(--line)}
  #appliances:not(:has(>.colhead))>.list:not(:has(>.result))>.item:nth-last-child(2):nth-child(odd),
  #appliances:not(:has(>.colhead))>.list:not(:has(>.result))>.item:last-child{border-bottom:none}
  .cols-choices>#have{order:1}
  .cols-choices>#models{order:2}
  .cols-choices>.how-section{order:3}
  main.planner>.cols-top{max-width:none}
  body:has(main>.cols-answer) .site-footer .wrap{max-width:1160px;padding:20px 24px 32px}
}

/* Affiliate callout under the Battery result (Dave, 2026-11-14): a plain card, no shadow, no accent border. */
.aff{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px}
.aff p{margin:0;font-size:15px;line-height:1.5}
.aff .aff-title{font-weight:800;font-size:16px}
.aff .note{font-size:12px}
.aff-btn{min-height:48px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:var(--ink);font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;text-decoration:none;padding:0 16px}
.aff-btn:hover{background:var(--bg)}
/* ZIP-or-town box (2026-11-19): matching towns as full-width buttons under the box, across both columns. */
.inputs > .suggestions{grid-column:1/-1;display:grid;gap:4px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
.inputs > .suggestions[hidden]{display:none}
.suggestion{display:flex;align-items:center;min-height:44px;padding:0 12px;border:none;border-radius:10px;background:transparent;color:var(--ink);font:inherit;font-weight:600;text-align:left;cursor:pointer}
.suggestion:hover,.suggestion:focus-visible{background:var(--accent-soft)}
.suggestions .hint{margin:6px 10px}
/* A sized item's picker (tankless water heaters, 2026-11-26): one column, so the choices aren't cut off */
.inputs.one{grid-template-columns:minmax(0,1fr)}
