/* drivebro — Ratgeber Motorfahrzeugsteuer (motorfahrzeugsteuer*.html, erzeugt von werkzeuge/steuerseiten_bauen.mjs): Tabellen und Kantonsliste */
.st-text{max-width:none}
.st-text>p,.st-text>ul,.st-text>h2{max-width:72ch}
.st-tabelle-wrap{overflow-x:auto;margin:0 0 14px;border:1px solid var(--linie);border-radius:8px;background:#fff}
.st-tabelle-wrap:focus-visible{outline:3px solid color-mix(in srgb,var(--akzent) 35%,transparent);outline-offset:2px}
.st-tabelle{width:100%;border-collapse:collapse;font-size:15px;font-variant-numeric:tabular-nums}
.st-tabelle th,.st-tabelle td{padding:10px 14px;border-bottom:1px solid var(--linie);text-align:right;vertical-align:top;white-space:nowrap}
.st-tabelle thead th{background:var(--flaeche);font-size:13.5px;font-weight:700;color:var(--tinte)}
.st-tabelle th[scope="row"],.st-tabelle thead th:first-child{text-align:left}
.st-tabelle tbody tr:last-child th,.st-tabelle tbody tr:last-child td{border-bottom:0}
.st-tabelle tbody tr:hover{background:color-mix(in srgb,var(--flaeche) 60%,transparent)}
.st-tabelle a{color:var(--tinte);font-weight:600}
.st-gross td:last-child{text-align:left;white-space:normal;min-width:260px;color:var(--text);font-size:14px}
.st-gross th[scope="row"]{white-space:normal;min-width:180px}
.st-gross th small{display:block;margin-top:2px;font-weight:400;font-size:12.5px;color:var(--grau)}
.st-betrag{font-weight:700;color:var(--tinte)}
.st-beispiele{margin:0 0 18px;padding-left:20px;font-size:14px;line-height:1.55;color:var(--grau)}
.st-ungefaehr{display:flex;gap:10px;align-items:flex-start;max-width:72ch}
.st-kantone{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:6px 18px;max-width:none!important;padding:0;list-style:none}
.st-kantone a{display:inline-flex;align-items:center;min-height:32px;color:var(--tinte)}
@media (max-width:760px){.st-tabelle th,.st-tabelle td{padding:9px 10px;font-size:14px}}
/* Beispiele am Telefon untereinander statt seitlich wischen (Funktionstest 30.10.2026: «So gerechnet» war abgeschnitten): Fahrzeug und
   Betrag in einer Zeile, die Rechnung darunter mit ihrem Spaltentitel; der Tabellenkopf bleibt für Vorleseprogramme */
@media (max-width:760px){
  .st-tabelle-wrap:has(.st-gross){overflow-x:visible}
  .st-gross,.st-gross tbody{display:block;width:100%}
  .st-gross thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
  .st-gross tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px;border-bottom:1px solid var(--linie)}
  .st-gross tbody tr:last-child{border-bottom:0}
  .st-gross th,.st-gross td,.st-gross tbody tr:last-child th,.st-gross tbody tr:last-child td{padding:0;border:0}
  .st-gross th[scope="row"]{min-width:0}
  .st-gross td:last-child{grid-column:1/-1;min-width:0;font-size:13.5px}
  .st-gross td:last-child::before{content:"So gerechnet: ";font-weight:600;color:var(--tinte)}
}
.rg-text .st-kantone li{padding-left:0;margin:0}
.rg-text .st-kantone li::before{display:none}
.rg-text .st-beispiele li{padding-left:0}
.rg-text .st-beispiele li::before{display:none}
