/* CSS riêng của /cong-cu/chon-inverter, nạp sau cong-cu.css. */
.st-tool .page .st-subheading { font-family: var(--font-head); font-weight: 300; font-size: clamp(1.1rem, 2.4vw, 1.6rem); line-height: 1.3; margin: 0 0 24px; }
.st-tool .page h2 { font-family: var(--font-head); font-weight: 500; font-size: 22px; margin: 0; }
.st-tool .pick { display: grid; grid-template-columns: minmax(280px, 440px) minmax(0, 1fr); gap: 24px; align-items: start; }
.st-tool .qs { display: grid; gap: 18px; }
.st-tool fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; }
.st-tool legend { font-weight: 500; padding: 0; margin-bottom: 8px; }
.st-tool .q-n { color: var(--green); font-family: var(--font-head); font-weight: 700; margin-right: 6px; }
.st-tool .opt { display: block; position: relative; }
.st-tool .opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.st-tool .opt span { display: block; border: 1px solid var(--line); border-radius: 4px; padding: 9px 12px; background: #fff; }
.st-tool .opt small { display: block; color: #6c757d; font-size: 13px; }
.st-tool .opt input:checked + span { border-color: var(--green); background: #effaf2; box-shadow: inset 0 0 0 1px var(--green); font-weight: 500; }
.st-tool .opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.st-tool .opt:hover span { border-color: var(--green); }
.st-tool .result { display: grid; gap: 16px; min-width: 0; position: sticky; top: 136px; }
.st-tool .verdict { background: linear-gradient(110deg, #3F55B5, var(--green-nav)); color: #fff; border-radius: 4px; padding: 22px 24px; display: grid; gap: 4px; }
.st-tool .verdict .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.1; color: #FFE23A; }
.st-tool .why { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.st-tool .why-h { font-size: 14px; font-weight: 500; margin: 0 0 6px; }
.st-tool .fit { display: grid; gap: 8px; }
.st-tool .fit-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 46px; gap: 10px; align-items: center; font-size: 14px; }
.st-tool .fit-track { height: 14px; background: #f0f0f0; border-radius: 3px; overflow: hidden; }
.st-tool .fit-bar { height: 100%; background: #b9c2cc; border-radius: 3px; }
.st-tool .fit-row.rec .fit-bar { background: var(--green); }
.st-tool .fit-row.rec { font-weight: 500; }
.st-tool .fit-pct { text-align: right; font-variant-numeric: tabular-nums; }
.st-tool .flow-card h2 { font-size: 17px; }
.st-tool .flow-card svg { display: block; width: 100%; height: auto; margin-top: 8px; }
.st-tool .fl-box { fill: #fff; stroke: #9aa3ab; stroke-width: 1.5; }
.st-tool .fl-solar { fill: #effaf2; stroke: var(--green); }
.st-tool .fl-inv { fill: var(--green); stroke: var(--green); }
.st-tool .fl-batt { fill: var(--warn-bg); stroke: var(--orange); }
.st-tool .fl-grid { fill: #f2f4f6; stroke: #9aa3ab; }
.st-tool .fl-off { fill: none; stroke: #c4c9ce; stroke-dasharray: 4 4; }
.st-tool .fl-line { stroke: #6c757d; stroke-width: 2; fill: none; }
.st-tool .fl-line.g { stroke: var(--green); }
.st-tool .fl-line.o { stroke: var(--orange); }
.st-tool .fl-t { font-family: var(--font-body); font-size: 15px; fill: var(--ink); text-anchor: middle; }
.st-tool .fl-t.w { fill: #fff; font-weight: 500; }
.st-tool .fl-t.m { fill: #6c757d; font-size: 13px; }
.st-tool .flow-note { margin: 8px 0 0; font-size: 14px; color: #555; }
.st-tool .btn-secondary { background: var(--orange); color: #fff; border-radius: 8px; font-size: 17px; padding: 9px 18px; }
.st-tool .acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.st-tool .contact { font-size: 14px; color: #555; margin: 10px 0 0; }
.st-tool .contact a { color: var(--green); font-weight: 500; }
.st-tool .cmp { margin-top: 36px; }
.st-tool .cmp h2 { margin-bottom: 4px; }
.st-tool .hint { font-size: 13px; color: #6c757d; margin: 0 0 12px; }
.st-tool .tbl-wrap { overflow-x: auto; background: #fff; border: 1px solid #e6e6e6; border-radius: 4px; }
.st-tool table { border-collapse: collapse; width: 100%; min-width: 700px; font-size: 15px; }
.st-tool th, .st-tool td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid #eee; }
.st-tool thead th { font-family: var(--font-head); font-weight: 500; font-size: 16px; background: #fafafa; border-bottom: 2px solid var(--line); }
.st-tool tbody th { font-weight: 500; color: #555; width: 160px; background: #fcfcfc; }
.st-tool tr:last-child th, .st-tool tr:last-child td { border-bottom: 0; }
.st-tool td.rec, .st-tool th.rec { background: #effaf2; }
.st-tool thead th.rec { background: var(--green); color: #fff; }
.st-tool .tag { display: inline-block; font-size: 12px; border: 1px solid var(--green); color: #1c8a3c; background: #fff; border-radius: 3px; padding: 0 6px; margin-left: 6px; font-weight: 400; }
.st-tool thead th.rec .tag { border-color: #fff; color: #fff; background: transparent; }
.st-tool .next { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.st-tool .next a { display: block; background: #fff; border: 1px solid #e6e6e6; border-radius: 4px; padding: 14px 16px; text-decoration: none; font-weight: 500; }
.st-tool .next a small { display: block; font-weight: 400; color: #6c757d; margin-top: 2px; }
.st-tool .next a:hover { border-color: var(--green); }
@media (max-width: 991px) {
  .st-tool .pick { grid-template-columns: minmax(0, 1fr); }
  .st-tool .result { position: static; }
}
@media (max-width: 520px) {
  .st-tool .fit-row { grid-template-columns: 96px minmax(0, 1fr) 42px; }
}
