.cooktop-planner{padding-bottom:3rem}
.cooktop-planner [hidden]{display:none!important}
.cooktop-planner :is(a,button,input,select,summary):focus-visible{outline:3px solid #246f93;outline-offset:3px}
.cooktop-trail{margin:1.2rem 0;color:var(--muted);font-size:.88rem}
.cooktop-intro{padding:.6rem 0 1.15rem;max-width:70ch}
.cooktop-intro h1{font-size:clamp(2rem,4.5vw,3.1rem);margin-bottom:.6rem;text-wrap:balance}
.cooktop-intro>p{margin-bottom:.45rem}
.cooktop-muted{color:var(--muted);font-size:.9rem}
.cooktop-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1rem,2.7vw,1.65rem);margin:0 0 1.2rem}
.cooktop-planner :is(fieldset,legend){margin:0;padding:0;border:0;min-width:0}
#cooktop-form>fieldset{padding-bottom:1.05rem;margin-bottom:1.05rem;border-bottom:1px solid var(--line)}
.cooktop-planner legend{font-family:var(--serif);font-weight:750;font-size:1.15rem;margin-bottom:.35rem}
.cooktop-planner .cooktop-pan{background:#f8faf8;border-radius:10px;padding:.75rem 1rem 1rem;margin:.55rem 0}
.cooktop-planner .cooktop-pan legend{font-size:.96rem;padding:.04rem .45rem;background:#f8faf8;border-radius:4px}
.cooktop-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:.5rem 0 1rem}
.cooktop-pan .cooktop-fields{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
.cooktop-planner label{display:grid;align-content:end;gap:.25rem;color:var(--ink);font-size:.9rem;font-weight:650;line-height:1.35}
.cooktop-planner :is(input[type=number],select){min-height:44px;min-width:0;width:100%;padding:.55rem .65rem;border:1px solid #9eb4a8;border-radius:7px;background:#fff;color:var(--ink)}
.cooktop-planner :is(input[type=radio],input[type=checkbox]){width:1.05rem;height:1.05rem;flex:none;accent-color:var(--teal)}
.cooktop-planner .cooktop-units{max-width:15rem;margin:0 0 1rem}
.cooktop-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem .9rem}
.cooktop-planner .cooktop-check,.cooktop-actions>label{display:flex;align-items:center;gap:.4rem;min-height:44px}
#model-field{max-width:32rem;margin:.5rem 0}
.cooktop-actions button{min-height:44px;padding:.55rem .7rem;border:1px solid #9eb4a8;border-radius:7px;background:white;color:var(--teal);font-weight:700}
.cooktop-actions button:is(:hover,[aria-pressed=true]){background:var(--wash);color:var(--dark)}
#example-note{margin-top:.75rem;margin-bottom:0}
#cooktop-results,#water-tool{margin:0 0 1.5rem}
.cooktop-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
.cooktop-model{display:flex;flex-direction:column;margin-bottom:.2rem}
.cooktop-model h3{font-size:1.06rem;overflow-wrap:anywhere;margin-bottom:.55rem}
.cooktop-model p{margin-bottom:.55rem}
.cooktop-badge,.cooktop-quote{font-size:.87rem;font-weight:750;color:var(--teal)}
#confirmation .cooktop-badge{color:#72470b}
#excluded .cooktop-badge{color:#874134}
.cooktop-model-links{margin-top:auto;font-size:.88rem}
.cooktop-reasons{font-size:.9rem;padding-left:1.1rem}
.cooktop-sources{font-size:.88rem;margin-top:.6rem;overflow-wrap:anywhere}
.cooktop-planner summary{color:var(--teal);cursor:pointer;font-weight:700}
#confirm-panel,#exclusions{margin:1rem 0}
#exclusions[open]>summary{margin-bottom:.75rem}
#boil-output:not(:empty){display:block;margin-top:.8rem;background:var(--wash);border-radius:8px;padding:.65rem 1rem;font-weight:700}
.cooktop-method,.cooktop-guide{max-width:80ch}
.cooktop-method{padding-top:1rem}
.cooktop-method .cooktop-evidence,.cooktop-guide ul{padding-left:1.15rem}
.cooktop-method li,.cooktop-guide li{margin-bottom:.5rem}
.cooktop-guide section{margin-top:1.8rem}
.cooktop-related,.cooktop-languages{display:flex;flex-wrap:wrap;gap:.55rem 1rem;font-size:.92rem;margin-top:1.5rem}
.cooktop-languages [aria-current=page]{color:var(--ink);font-weight:750;text-decoration:none}
@media(max-width:850px){
  .cooktop-cards,.cooktop-pan .cooktop-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .cooktop-cards,.cooktop-fields,.cooktop-pan .cooktop-fields{grid-template-columns:1fr}
  .cooktop-planner legend{font-size:1rem}
  .cooktop-model-links button{max-width:100%;text-align:start}
  .cooktop-planner .button{white-space:normal}
}
.cooktop-guide output {display:block;overflow-wrap:anywhere;font-weight:650}
.cooktop-guide .cooktop-card {margin-block:1rem}
.cooktop-directory li {margin-block:.45rem}
.footer-tools {margin-block-start:.65rem}
.footer-tools ul {display:flex; flex-wrap:wrap; gap:.3rem 1rem; padding:0; list-style:none}
#focused-budget {max-width:100%}

.cooktop-tool-catalog,.cooktop-tool-footer { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 1.2rem; }
.cooktop-tool-catalog section { min-width: 0; padding: .75rem .9rem; border-top: 2px solid var(--teal); }
.cooktop-tool-catalog h2,.cooktop-tool-footer h2 { font-size: 1rem; margin: 0 0 .55rem; }
.cooktop-tool-catalog ul,.cooktop-tool-footer ul { list-style: none; padding: 0; margin: 0; }
.cooktop-tool-catalog li + li { border-top: 1px solid var(--line); }
.cooktop-tool-catalog a { display: block; min-height: 44px; padding: .54rem 0; font-weight: 650; overflow-wrap: anywhere; }
.cooktop-tool-footer { gap: 1rem 1.65rem; padding-block: .9rem 1.5rem; }
.cooktop-tool-footer li { margin-block: .35rem; }
.cooktop-tool-footer a { text-decoration: none; overflow-wrap: anywhere; }
.cooktop-tool-footer a:hover { text-decoration: underline; }
@media (max-width:720px) { .cooktop-tool-catalog,.cooktop-tool-footer { grid-template-columns: 1fr; } }
.cooktop-intro h1 { overflow-wrap: anywhere; hyphens: auto; }

.cooktop-tool-catalog,.cooktop-tool-footer { grid-template-columns:1fr; }
@media (min-width:721px) {
  .cooktop-tool-catalog,.cooktop-tool-footer { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:1080px) {
  .cooktop-tool-catalog,.cooktop-tool-footer { grid-template-columns:repeat(4,minmax(0,1fr)); }
}

.cooktop-guide.cooktop-directory-page { max-width:none; }
