.tariftool-site {
  color: #17202a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7fafc;
  --tt-fixed-filter-safe-offset: 0px;
}

.tt-is-loading,
.tt-is-loading body {
  cursor: wait !important;
}

.tt-is-loading::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(241, 245, 249, 0.38);
  z-index: 9998;
}

.tt-is-loading::after {
  content: "";
  position: fixed;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  margin-top: -22px;
  border-radius: 50%;
  border: 4px solid #bfd6ff;
  border-top-color: #155eef;
  animation: tt-spin 0.8s linear infinite;
  z-index: 9999;
}

@keyframes tt-spin {
  to {
    transform: rotate(360deg);
  }
}

.tt-site-hero {
  position: relative;
  background: linear-gradient(120deg, #0f766e 0%, #115e59 55%, #134e4a 100%);
  color: #fff;
  padding: 64px 24px 104px;
  overflow: hidden;
}

/* Titelbild als Hintergrund; Farbverlauf-Overlay hält Titel/Text lesbar. */
.tt-site-hero--image {
  background-image: var(--tt-hero-img);
  background-size: cover;
  background-position: center;
}

.tt-site-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, rgba(15, 60, 55, 0.9) 0%, rgba(17, 78, 74, 0.7) 45%, rgba(15, 40, 45, 0.5) 100%);
}

.tt-hero-ov-light.tt-site-hero--image::before {
  background: linear-gradient(120deg, rgba(15, 60, 55, 0.76) 0%, rgba(17, 78, 74, 0.48) 45%, rgba(15, 40, 45, 0.3) 100%);
}

.tt-hero-ov-strong.tt-site-hero--image::before {
  background: linear-gradient(120deg, rgba(10, 40, 38, 0.96) 0%, rgba(12, 55, 52, 0.88) 50%, rgba(10, 35, 38, 0.78) 100%);
}

.tt-site-hero > div {
  position: relative;
  z-index: 1;
}

.tt-site-hero > div,
.tt-filter-shell,
.tt-results-shell {
  max-width: 1320px;
  margin: 0 auto;
}

.tt-site-hero h1 {
  max-width: 920px;
  margin: 0 0 16px;
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.tt-site-hero p {
  max-width: 840px;
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
}

.tt-site-hero--image h1,
.tt-site-hero--image p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
  .tt-site-hero {
    padding: 44px 18px 84px;
  }
  .tt-site-hero h1 {
    font-size: 34px;
  }
  .tt-site-hero p {
    font-size: 17px;
  }
}

.tt-site-hero-secondary {
  background: #334155;
}

.tt-debug-marker {
  margin: 10px auto;
  max-width: 1320px;
  border: 1px dashed #64748b;
  border-radius: 6px;
  background: #f8fafc;
  color: #1e293b;
  padding: 8px 10px;
  display: grid;
  gap: 3px;
  font-size: 12px;
  line-height: 1.35;
}

.tt-debug-marker strong {
  font-size: 12px;
  text-transform: uppercase;
}

.tt-debug-marker-inline {
  margin: 8px 0;
  font-size: 11px;
  padding: 6px 8px;
  background: #eef2f7;
}

.tt-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.tt-filter-band {
  margin-top: -52px;
  padding: 0 20px;
}

.tt-results-band {
  padding: 24px 20px 40px;
}

.tt-results-shell {
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background: #f8fbff;
  padding: 14px;
}

.tt-calc-layout {
  display: block;
}

.tt-panel {
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.tt-panel-inline {
  width: 100%;
}

.tt-panel h2,
.tt-results-head h2 {
  margin: 0;
  font-size: 26px;
}

.tt-filter-head,
.tt-results-head,
.tt-result-top,
.tt-filter-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.tt-results-head {
  align-items: center;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid #dbe6f2;
  border-radius: 12px;
  background: #fff;
}

.tt-results-head h2 {
  font-size: 44px;
  line-height: 1;
}

.tt-results-head span {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  background: #e9f2ff;
  border: 1px solid #c6dafd;
  border-radius: 999px;
  padding: 6px 12px;
}

.tt-filter-head {
  align-items: end;
  margin-bottom: 14px;
}

.tt-filter-summary,
.tt-filter-hints {
  display: grid;
  gap: 4px;
}

.tt-filter-summary {
  min-width: 220px;
}

.tt-filter-summary strong {
  font-size: 18px;
}

.tt-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 10px;
}

.tt-profile-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.tt-profile-form label.is-hidden,
.tt-peak-hint.is-hidden {
  display: none !important;
}

.tt-profile-form input,
.tt-profile-form select,
.tt-profile-form textarea {
  width: 100%;
  border: 1px solid #b8c4d2;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
}

.tt-profile-form input,
.tt-profile-form select {
  min-height: 46px;
}

.tt-filter-actions {
  align-items: end;
  margin-top: 12px;
  grid-column: 1 / -1;
}

.tt-filter-sticky-wrap {
  position: sticky;
  top: 8px;
  z-index: 20;
  width: min(1320px, calc(100% - 20px));
  margin-left: auto;
  margin-right: auto;
  --tt-content-max: 1320px;
  --tt-content-pad: 18px;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  backdrop-filter: none;
}

.tt-filter-sticky-wrap.tt-sticky-fallback {
  position: fixed;
  top: 8px;
  left: max(8px, calc((100vw - 1320px) / 2));
  right: auto;
  width: min(360px, calc(100vw - 16px));
  z-index: 10030;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
}

.tt-filter-sticky-spacer {
  height: 0;
}

.tt-filter-sticky-wrap > .tt-debug-marker {
  max-width: 1320px;
  width: 100%;
  margin: 0 0 8px;
}

.tt-sticky-debug-box {
  max-width: 1320px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px dashed #0f766e;
  border-radius: 8px;
  background: #f0fdf9;
  color: #134e4a;
  font-size: 13px;
  line-height: 1.35;
}

.tt-sticky-debug-box strong {
  display: block;
  margin-bottom: 4px;
}

#ttStickyDebugContent {
  white-space: pre-line;
}

.tt-filter-shell .tt-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  max-width: 1320px;
  width: 100%;
  margin: 0;
}

.tt-filter-sticky-wrap.tt-sticky-fallback > .tt-debug-marker,
.tt-filter-sticky-wrap.tt-sticky-fallback .tt-sticky-debug-box,
.tt-filter-sticky-wrap.tt-sticky-fallback .tt-filter-shell .tt-panel {
  max-width: min(360px, calc(100vw - 16px));
  margin-left: 0;
  margin-right: auto;
}

.tt-filter-sticky-wrap.tt-sticky-fallback .tt-filter-shell .tt-panel {
  grid-template-columns: 1fr;
  padding: 12px;
}

.tt-filter-sticky-wrap.tt-sticky-fallback .tt-filter-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

.tt-filter-sticky-wrap.tt-sticky-fallback .tt-filter-summary,
.tt-filter-sticky-wrap.tt-sticky-fallback .tt-filter-hints,
.tt-filter-sticky-wrap.tt-sticky-fallback .tt-filter-form .tt-filter-head h2 {
  display: none !important;
}

.tt-filter-sticky-wrap.tt-sticky-fallback .tt-filter-head {
  margin-bottom: 6px;
}

.tt-filter-sticky-wrap.tt-sticky-fallback .tt-filter-actions {
  margin-top: 4px;
}

.tt-filter-sticky-wrap.tt-sticky-fallback .tt-checkbox {
  font-size: 12px;
}

html.tt-filter-is-fixed-left .tt-results-shell {
  margin-left: min(var(--tt-fixed-filter-safe-offset), calc(100vw - 8px));
}

.tt-filter-form .tt-filter-head {
  margin: 0;
}

.tt-filter-form .tt-filter-head h2 {
  font-size: 22px;
  line-height: 1.1;
  max-width: 220px;
}

.tt-filter-form .tt-filter-summary strong {
  font-size: 20px;
}

.tt-filter-form .tt-filter-summary span {
  font-size: 14px;
  color: #475467;
}

.tt-filter-form .tt-filter-hints .tt-muted {
  display: none;
}

.tt-filter-form .tt-filter-hints .tt-peak-hint {
  display: block;
}

.tt-checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  font-weight: 500 !important;
}

.tt-checkbox input {
  width: 18px;
  min-height: 18px;
}

.tt-button-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tt-primary-button,
.tt-select-button {
  min-height: 46px;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
}

.tt-primary-button {
  border: 0;
  background: #155eef;
  color: #fff;
}

.tt-select-button {
  margin-top: 10px;
  width: 100%;
  border: 1px solid #0f766e;
  background: #fff;
  color: #0f766e;
}

.tt-open-analysis {
  margin-top: 10px;
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid #1e3a8a;
  background: #e8f0ff;
  color: #1e3a8a;
  font-weight: 700;
  cursor: pointer;
}

.tt-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border: 1px solid #c8d7ea;
  border-radius: 12px;
  background: #ffffff;
}

.tt-overview h2 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 0.95;
}

.tt-overview-metrics,
.tt-result-metrics,
.tt-component-row dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.tt-overview-metrics,
.tt-result-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tt-result-list,
.tt-component-list {
  display: grid;
  width: 100%;
  max-width: 100%;
  gap: 16px;
}

.tt-result-list {
  overflow: hidden;
}

.tt-result-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #c8d7ea;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
}

.tt-result-card.is-best,
.tt-result-card.is-selected {
  border-color: #0f766e;
  box-shadow: 0 18px 34px rgba(15, 118, 110, 0.08);
}

.tt-result-top {
  align-items: start;
}

.tt-result-card h3 {
  margin: 0 0 6px;
  font-size: 34px;
  line-height: 0.95;
}

.tt-total-badge {
  min-width: 240px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f0f6ff;
  border: 1px solid #d2e2fb;
  text-align: right;
}

.tt-result-metrics {
  padding: 16px 0 18px;
}

.tt-detail-hint {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px dashed #bfd0e4;
  border-radius: 10px;
  background: #f8fbff;
  color: #475467;
  font-size: 14px;
}

.tt-analysis-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
}

.tt-analysis-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.tt-analysis-dialog {
  position: relative;
  width: min(1120px, calc(100vw - 26px));
  max-height: calc(100vh - 26px);
  overflow: auto;
  margin: 14px auto;
  border-radius: 14px;
  border: 1px solid #d7e1ef;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.tt-analysis-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tt-analysis-head h4 {
  margin: 0;
  font-size: 34px;
  line-height: 0.95;
}

.tt-analysis-close {
  border: 1px solid #c8d7ea;
  border-radius: 8px;
  background: #fff;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.tt-analysis-sub {
  margin: 8px 0 14px;
  color: #475467;
}

.tt-analysis-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.tt-analysis-kpi {
  border: 1px solid #dbe4ee;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.tt-analysis-kpi--grid { border-color: #8eb4db; background: #f3f8ff; }
.tt-analysis-kpi--electricity { border-color: #8dd6a4; background: #f2fff4; }
.tt-analysis-kpi--metering { border-color: #b7a3ea; background: #f7f4ff; }
.tt-analysis-kpi--regional_fees { border-color: #e7c28d; background: #fff9f2; }

.tt-analysis-kpi span { display: block; color: #475467; font-size: 12px; }
.tt-analysis-kpi strong { display: block; font-size: 22px; line-height: 1; margin-top: 4px; }
.tt-analysis-kpi small { display: block; margin-top: 4px; color: #344054; font-size: 12px; }

.tt-analysis-table-wrap {
  overflow-x: auto;
}

.tt-analysis-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tt-analysis-table th,
.tt-analysis-table td {
  border: 1px solid #dbe4ee;
  padding: 8px 9px;
  text-align: left;
  vertical-align: top;
}

.tt-analysis-table thead th {
  background: #eef4fb;
}

.tt-standard-summary,
.tt-standard-component-list {
  display: grid;
  gap: 16px;
}

.tt-standard-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.tt-standard-card,
.tt-standard-component {
  border-radius: 16px;
  border: 1px solid #dbe4ee;
}

.tt-standard-card {
  padding: 14px 16px;
  background: #fff;
}

.tt-standard-card span,
.tt-standard-card small {
  display: block;
  color: #5b6776;
}

.tt-standard-card strong {
  display: block;
  margin: 6px 0;
  font-size: 22px;
}

.tt-standard-component {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.tt-standard-component-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fbfdff, #f8fafc);
  border-bottom: 1px solid #e5edf5;
}

.tt-standard-card .tt-inline-select select,
.tt-standard-component .tt-inline-select select {
  border-width: 2px;
}

.tt-standard-component-head h4 {
  margin: 0;
  font-size: 18px;
}

.tt-standard-component-head strong {
  font-size: 24px;
}

.tt-standard-component--grid,
.tt-standard-card--grid {
  border-color: #8eb4db;
  background: linear-gradient(180deg, #f3f8ff, #ffffff 42%);
}

.tt-standard-component--grid .tt-standard-component-head,
.tt-standard-card--grid {
  background: linear-gradient(180deg, #e8f2ff, #f7fbff);
}

.tt-standard-component--grid .tt-inline-select select,
.tt-standard-card--grid .tt-inline-select select {
  border-color: #6d9fd1;
}

.tt-standard-component--electricity,
.tt-standard-card--electricity {
  border-color: #8dd6a4;
  background: linear-gradient(180deg, #f2fff4, #ffffff 42%);
}

.tt-standard-component--electricity .tt-standard-component-head,
.tt-standard-card--electricity {
  background: linear-gradient(180deg, #e4f8ea, #f5fcf7);
}

.tt-standard-component--electricity .tt-inline-select select,
.tt-standard-card--electricity .tt-inline-select select {
  border-color: #67be86;
}

.tt-standard-component--metering,
.tt-standard-card--metering {
  border-color: #b7a3ea;
  background: linear-gradient(180deg, #f7f4ff, #ffffff 42%);
}

.tt-standard-component--metering .tt-standard-component-head,
.tt-standard-card--metering {
  background: linear-gradient(180deg, #eee8ff, #f9f6ff);
}

.tt-standard-component--metering .tt-inline-select select,
.tt-standard-card--metering .tt-inline-select select {
  border-color: #9477da;
}

.tt-standard-component--regional_fees,
.tt-standard-card--regional_fees {
  border-color: #e7c28d;
  background: linear-gradient(180deg, #fff9f2, #ffffff 42%);
}

.tt-standard-component--regional_fees .tt-standard-component-head,
.tt-standard-card--regional_fees {
  background: linear-gradient(180deg, #fff2df, #fff9f2);
}

.tt-standard-component--regional_fees .tt-inline-select select,
.tt-standard-card--regional_fees .tt-inline-select select {
  border-color: #d7a563;
}

.tt-standard-component--grid .tt-kicker,
.tt-standard-card--grid span:first-child {
  color: #245e98;
}

.tt-standard-component--electricity .tt-kicker,
.tt-standard-card--electricity span:first-child {
  color: #2f7d48;
}

.tt-standard-component--metering .tt-kicker,
.tt-standard-card--metering span:first-child {
  color: #6a4db0;
}

.tt-standard-component--regional_fees .tt-kicker,
.tt-standard-card--regional_fees span:first-child {
  color: #9b6420;
}

.tt-standard-table-wrap {
  overflow-x: auto;
  padding: 12px 14px 14px;
}

.tt-calc-proof-box {
  margin-top: 12px;
}

.tt-calc-proof-section + .tt-calc-proof-section {
  margin-top: 16px;
}

.tt-calc-proof-section h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

.tt-standard-table-variant {
  display: none;
}

.tt-standard-table-variant.is-active {
  display: block;
}

.tt-enterprise-sheet {
  margin: 10px 0 16px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #fff;
}

.tt-enterprise-sheet-head {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-bottom: 1px solid #e5edf5;
}

.tt-enterprise-sheet-wrap {
  overflow-x: auto;
}

.tt-enterprise-sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tt-enterprise-sheet-table th,
.tt-enterprise-sheet-table td {
  border: 1px solid #e5edf5;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.tt-enterprise-sheet-table thead th {
  font-size: 12px;
  text-transform: uppercase;
  color: #475467;
  background: #f8fafc;
}

.tt-enterprise-full-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tt-enterprise-full-table th,
.tt-enterprise-full-table td {
  border: 1px solid #e5edf5;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.tt-enterprise-full-table thead th {
  font-size: 11px;
  text-transform: uppercase;
  color: #475467;
  background: #f3f7fb;
}

.tt-jsonstd-block {
  padding: 8px 0 16px;
}

.tt-jsonstd-block h4 {
  margin: 6px 12px 8px;
  font-size: 34px;
  line-height: 1.05;
}

.tt-enterprise-full-table--jsonstd thead tr:first-child th {
  background: #cfd8e4;
  color: #1f2937;
  font-size: 14px;
  text-transform: none;
}

.tt-enterprise-full-table--jsonstd thead tr:nth-child(2) th {
  background: #e1e8f1;
  color: #334155;
  font-size: 12px;
  text-transform: none;
}

.tt-enterprise-full-table--jsonstd th,
.tt-enterprise-full-table--jsonstd td {
  border-color: #c9d3df;
}

.tt-enterprise-full-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.tt-time-visual {
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid #dbe4ee;
  border-radius: 12px;
  background: #f8fafc;
}

.tt-time-visual strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #0f172a;
}


.tt-time-row-head {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  padding-right: 10px;
  display: flex;
  align-items: center;
}

.tt-time-axis {
  position: relative;
  height: 16px;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 6px;
}

.tt-time-axis-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
}

.tt-time-axis span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  line-height: 16px;
}

.tt-time-axis span:first-child {
  left: 0;
  transform: none;
}

.tt-time-axis span:nth-child(2) { left: 25%; }
.tt-time-axis span:nth-child(3) { left: 50%; }
.tt-time-axis span:nth-child(4) { left: 75%; }

.tt-time-axis span:last-child {
  left: 100%;
  transform: translateX(-100%);
}

.tt-time-track {
  position: relative;
  height: 28px;
  border-radius: 0;
  background-color: #e5eaf1;
  overflow: hidden;
}

.tt-time-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    rgba(100, 116, 139, 0.35) 0,
    rgba(100, 116, 139, 0.35) 1px,
    transparent 1px,
    transparent calc(100% / 24)
  );
  pointer-events: none;
  z-index: 3;
}

.tt-time-stack {
  display: grid;
  gap: 0;
}

.tt-time-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
}

.tt-time-row:first-child .tt-time-track {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.tt-time-row:last-child .tt-time-track {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.tt-time-segment {
  position: absolute;
  top: 4px;
  height: 20px;
  border-radius: 4px;
  color: #0f172a;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
}

.tt-time-segment--ht { background: #bfdbfe; }
.tt-time-segment--nt { background: #c7d2fe; }
.tt-time-segment--hht { background: #bbf7d0; }
.tt-time-segment--nnt { background: #fde68a; }

.tt-time-note {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
}

.tt-debug-panel {
  margin: 8px 0 10px 0;
  padding: 10px 12px;
  border: 1px dashed #f59e0b;
  border-radius: 10px;
  background: #fffbeb;
  color: #7c2d12;
  font-size: 12px;
  line-height: 1.45;
}

.tt-debug-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: #9a3412;
}


.tt-sheet-hint {
  font-size: 12px;
  color: #5b6776;
}

.tt-standard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background: #fff;
  border: 1px solid #e5edf5;
  border-radius: 12px;
  overflow: hidden;
}

.tt-standard-table th,
.tt-standard-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eceff1;
  text-align: left;
  vertical-align: top;
}

.tt-standard-table thead th {
  color: #23324d;
  font-size: 12px;
  text-transform: uppercase;
  background: #f3f7fb;
  border-bottom: 1px solid #dbe4ee;
}

.tt-standard-table tbody tr:last-child td {
  border-bottom: 0;
}

.tt-standard-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.tt-standard-table td:nth-child(3),
.tt-standard-table td:nth-child(4),
.tt-standard-table td:nth-child(5) {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tt-component-list {
  border-top: 1px solid #e5edf5;
  padding-top: 18px;
}

.tt-component-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.8fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f6;
}

.tt-component-metrics {
  padding: 12px;
  border: 1px solid #dfe8f5;
  border-radius: 12px;
  background: #fff;
}

.tt-component-metrics[data-component-type="grid"] {
  border-color: #8eb4db;
  background: linear-gradient(180deg, #f3f8ff, #ffffff 45%);
}

.tt-component-metrics[data-component-type="electricity"] {
  border-color: #8dd6a4;
  background: linear-gradient(180deg, #f2fff4, #ffffff 45%);
}

.tt-component-metrics[data-component-type="metering"] {
  border-color: #b7a3ea;
  background: linear-gradient(180deg, #f7f4ff, #ffffff 45%);
}

.tt-component-metrics[data-component-type="regional_fees"] {
  border-color: #e7c28d;
  background: linear-gradient(180deg, #fff9f2, #ffffff 45%);
}

.tt-component-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tt-component-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.tt-component-row dl {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tt-total-badge span,
.tt-result-card dt,
.tt-overview dt,
.tt-component-row dt,
.tt-profile-breakdown,
.tt-muted,
.tt-filter-hints,
.tt-result-card p,
.tt-results-head span,
.tt-empty,
.tt-component-row span,
.tt-overview p,
.tt-season-note span {
  color: #5b6776;
}

.tt-total-badge strong,
.tt-result-card dd,
.tt-overview dd,
.tt-component-row dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.tt-total-year {
  display: block;
  margin-top: 4px;
  color: #5b6776;
  font-size: 12px;
}

.tt-total-rate {
  display: block;
  margin-top: 2px;
  color: #5b6776;
  font-size: 13px;
  font-weight: 600;
}

.tt-profile-breakdown {
  margin-top: 16px;
}

.tt-profile-breakdown summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}

.tt-profile-breakdown > summary,
.tt-subdetails > summary {
  list-style: none;
}

.tt-profile-breakdown > summary::-webkit-details-marker,
.tt-subdetails > summary::-webkit-details-marker {
  display: none;
}

.tt-profile-breakdown > summary::before,
.tt-subdetails > summary::before {
  content: "▸ ";
  color: #475467;
}

.tt-profile-breakdown[open] > summary::before,
.tt-subdetails[open] > summary::before {
  content: "▾ ";
}

.tt-tariff-name-list {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.tt-tariff-name-list span {
  display: block;
  margin-bottom: 6px;
  color: #5b6776;
  font-size: 12px;
  font-weight: 700;
}

.tt-tariff-name-list ul {
  margin: 0;
  padding-left: 18px;
}

.tt-tariff-name-list li {
  margin: 0 0 4px;
}

.tt-details-body {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.tt-segment-table-wrap {
  overflow-x: auto;
}

.tt-segment-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}

.tt-segment-table th,
.tt-segment-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5edf5;
  text-align: left;
}

.tt-segment-table thead th {
  color: #475467;
  font-size: 12px;
  text-transform: uppercase;
  background: #f8fafc;
}

.tt-segment-table tbody tr:nth-child(even) td {
  background: #fcfdff;
}

.tt-inline-select {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  margin-top: 4px;
  font-weight: 600;
}

.tt-inline-select select {
  width: auto;
  max-width: 250px;
  min-width: 170px;
  min-height: 36px;
  padding: 6px 10px;
}

.tt-standard-card .tt-inline-select select,
.tt-standard-component .tt-inline-select select {
  max-width: 230px;
}

.tt-tariff-options {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.tt-tariff-option {
  display: none;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 16px;
  background: #f8fafc;
}

.tt-tariff-option.is-active {
  display: block;
}

.tt-tariff-option h4 {
  margin: 0 0 8px;
  font-size: 18px;
}

.tt-tariff-option p {
  margin: 0 0 8px;
}

.tt-price-table {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.tt-price-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.7fr) auto;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e5edf5;
  border-radius: 6px;
  background: #fff;
  align-items: start;
}

.tt-price-row strong,
.tt-price-row b {
  margin: 0;
}

.tt-price-row span {
  color: #475467;
  line-height: 1.45;
}

.tt-subdetails {
  border-top: 1px solid #eef2f6;
  padding-top: 12px;
}

.tt-enterprise-sheet-details {
  border-top: 1px solid #eef2f6;
  padding-top: 12px;
  margin-bottom: 12px;
}

.tt-enterprise-sheet-details > .tt-enterprise-sheet {
  margin-top: 10px;
}

.tt-calculation-list {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f8fafc;
}

.tt-calculation-list p {
  margin: 0;
  line-height: 1.55;
}

.tt-calculation-summary,
.tt-tariff-calc {
  display: grid;
  gap: 14px;
}

.tt-calc-overview,
.tt-calc-card-grid {
  display: grid;
  gap: 12px;
}

.tt-calc-overview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tt-calc-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tt-calc-sections-wrap {
  overflow-x: auto;
}

.tt-calc-sections-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}

.tt-calc-sections-table th,
.tt-calc-sections-table td {
  padding: 10px 12px;
  border: 1px solid #e5edf5;
  text-align: left;
  vertical-align: top;
}

.tt-calc-sections-table thead th {
  color: #475467;
  font-size: 12px;
  text-transform: uppercase;
  background: #f8fafc;
}

.tt-calc-overview-card,
.tt-calc-card {
  padding: 14px 16px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #fff;
}

.tt-calc-overview-card span,
.tt-calc-card p {
  color: #5b6776;
}

.tt-calc-overview-card strong,
.tt-calc-card strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.tt-calc-card h4,
.tt-tariff-calc-head strong {
  margin: 0 0 8px;
  font-size: 16px;
}

.tt-tariff-calc-head {
  display: grid;
  gap: 4px;
}

.tt-calc-miniwrap,
.tt-calc-segments-table-wrap,
.tt-tariff-calc-table-wrap {
  overflow-x: auto;
}

.tt-calc-mini,
.tt-calc-segments-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
}

.tt-calc-mini th,
.tt-calc-mini td,
.tt-calc-segments-table th,
.tt-calc-segments-table td {
  padding: 8px 10px;
  border: 1px solid #e5edf5;
  text-align: left;
  vertical-align: top;
}

.tt-calc-mini thead th,
.tt-calc-segments-table thead th {
  color: #475467;
  font-size: 12px;
  text-transform: uppercase;
  background: #f8fafc;
}

.tt-calc-block {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #fff;
}

.tt-calc-block-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.tt-calc-block-head h5 {
  margin: 0;
  font-size: 15px;
}

.tt-calc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}

.tt-calc-table th,
.tt-calc-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5edf5;
  text-align: left;
  vertical-align: top;
}

.tt-calc-table thead th {
  color: #475467;
  font-size: 12px;
  text-transform: uppercase;
  background: #f8fafc;
}

.tt-calc-subrow td {
  padding-top: 0;
  background: #fcfdff;
}

.tt-season-note {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f8fafc;
}

.tt-season-note strong {
  font-size: 14px;
}

.tt-segment-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 6px 14px;
  font-size: 14px;
}

.tt-empty {
  border: 1px dashed #b8c4d2;
  border-radius: 8px;
  padding: 24px;
}

.tt-empty h3 {
  margin: 0 0 8px;
  color: #17202a;
}

@media (max-width: 1100px) {
  .tt-filter-sticky-wrap {
    position: static;
    top: auto;
    width: auto;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .tt-filter-shell .tt-panel {
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: 0;
  }

  .tt-filter-grid,
  .tt-overview,
  .tt-result-top,
  .tt-component-row,
  .tt-price-row {
    grid-template-columns: 1fr;
  }

  html.tt-filter-is-fixed-left .tt-results-shell {
    margin-left: 0;
  }

  .tt-filter-actions {
    flex-direction: column;
    align-items: start;
  }

  .tt-overview-metrics,
  .tt-result-metrics,
  .tt-component-row dl,
  .tt-standard-summary,
  .tt-calc-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tt-total-badge {
    min-width: 0;
    text-align: left;
  }

  .tt-results-head h2 {
    font-size: 32px;
  }

  .tt-overview h2,
  .tt-result-card h3 {
    font-size: 30px;
  }

  .tt-analysis-head h4 {
    font-size: 28px;
  }

  .tt-analysis-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tt-site-hero {
    padding: 36px 18px 82px;
  }

  .tt-site-hero h1 {
    font-size: 36px;
  }

  .tt-site-hero p {
    font-size: 17px;
  }

  .tt-filter-band,
  .tt-results-band,
  .tt-calc-layout {
    padding-left: 14px;
    padding-right: 14px;
  }

  .tt-filter-shell .tt-panel {
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .tt-calc-proof-section h4 {
    font-size: 18px;
  }

  .tt-filter-form .tt-filter-head h2 {
    font-size: 24px;
  }

  .tt-filter-grid,
  .tt-overview-metrics,
  .tt-result-metrics,
  .tt-component-row dl,
  .tt-standard-summary,
  .tt-segment-grid,
  .tt-calc-overview {
    grid-template-columns: 1fr;
  }

  .tt-button-row {
    width: 100%;
    flex-direction: column;
    align-items: start;
  }

  .tt-results-shell {
    border-radius: 10px;
    padding: 10px;
  }

  .tt-results-head {
    padding: 10px 12px;
  }

  .tt-results-head h2 {
    font-size: 24px;
  }

  .tt-overview h2,
  .tt-result-card h3 {
    font-size: 24px;
  }

  .tt-analysis-dialog {
    width: calc(100vw - 16px);
    margin: 8px auto;
    padding: 12px;
  }

  .tt-analysis-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .tt-analysis-head h4 {
    font-size: 22px;
  }

.tt-analysis-kpi-grid {
  grid-template-columns: 1fr;
}
}

.tt-export-row {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 10px;
}

.tt-sitemap-debug {
  margin: 10px 0 14px;
}

.tt-sitemap-debug-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 10px;
}

.tt-sitemap-debug-grid div {
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  padding: 8px 10px;
  background: #f8fbff;
}

.tt-sitemap-debug-grid strong {
  display: block;
  font-size: 12px;
  color: #475467;
}

.tt-sitemap-debug-grid span {
  display: block;
  margin-top: 2px;
  font-weight: 700;
}

.tt-sitemap-debug-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tt-sitemap-debug-table th,
.tt-sitemap-debug-table td {
  border: 1px solid #dbe4ee;
  padding: 7px 8px;
  vertical-align: top;
  text-align: left;
}

.tt-sitemap-debug-table th {
  background: #eef4fb;
}

.tt-sitemap-debug-table code {
  white-space: normal;
  word-break: break-all;
}

/* Sync-Status-Badge JSON-Editor (nicht übernommen / übernommen) */
.tt-sync-badge {
    display: inline-block;
    margin-top: .5rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
}
.tt-sync-badge-warning {
    background: #fff4e5;
    color: #8a4b00;
    border-color: #ffd8a8;
}
.tt-sync-badge-success {
    background: #e6f7ec;
    color: #1b6b3a;
    border-color: #b7e4c7;
}
.tt-sync-badge-info {
    background: #eef2ff;
    color: #33409e;
    border-color: #c7d2fe;
}

/* Datenquelle nicht erreichbar (LINDAS-Netzfehler) */
.tt-datasource-error {
    border: 1px solid #ffd8a8;
    background: #fff4e5;
    border-radius: 10px;
}
.tt-datasource-error h3 { color: #8a4b00; }
.tt-datasource-error code {
    background: rgba(0,0,0,.06);
    padding: .05rem .3rem;
    border-radius: 4px;
}

/* ------------------------------------------------------------------ */
/* Frontend-Fix JSON-Editor (v0.10.10.17.6.94):                        */
/* Generische Regeln .tt-profile-form label {display:grid} und der     */
/* Rechner-.tt-price-row {display:grid} kollidieren mit dem geteilten  */
/* Editor. Hier gezielt (höhere Spezifität, zuletzt geladen) zurück-   */
/* gesetzt. Nur Frontend – das Backend lädt kein site.css.             */
/* ------------------------------------------------------------------ */
.tariftool-editor-form .tt-price-row {
  display: block;
  grid-template-columns: none;
  padding: 12px;
  border: 1px dashed #c7ced6;
  border-radius: 10px;
  background: #fff;
}
.tariftool-editor-form .tt-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.tariftool-editor-form .tt-span-2 { grid-column: span 2; }
.tariftool-editor-form .tt-choice-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tariftool-editor-form .tt-choice-row .tt-choice-tools { margin-bottom: 0; }
.tariftool-editor-form .tt-choice-tools { display: flex; gap: 6px; margin-bottom: 8px; }
.tariftool-editor-form .tt-choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.tariftool-editor-form .tt-choice-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 7px 10px;
  border: 1px solid #c7ced6;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  gap: 0;
}
.tariftool-editor-form .tt-choice-box.is-selected {
  border-color: #0d6efd;
  background: #eaf2ff;
  color: #0a58ca;
  font-weight: 600;
}
.tariftool-editor-form .tt-choice-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tariftool-editor-form .tt-inline-row-tools { display: flex; gap: 6px; align-items: center; }
.tariftool-editor-form .tt-price-row-name { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tariftool-editor-form .tt-row-price-label { color: #1f4e79; font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.tariftool-editor-form .tt-time-window-row { display: flex; align-items: center; gap: 10px; }
.tariftool-editor-form .tt-time-window-row > .tt-grid-4 { flex: 1 1 auto; min-width: 0; }
.tariftool-editor-form .tt-time-window-row > .tt-remove-time-window { flex: 0 0 auto; align-self: center; }
@media (max-width: 820px) {
  .tariftool-editor-form .tt-time-window-row { align-items: stretch; }
}
.tariftool-editor-form .tt-inline-field { display: flex; align-items: center; gap: 8px; }
.tariftool-editor-form .tt-inline-field > .tt-small-label { margin-bottom: 0; white-space: nowrap; flex: 0 0 auto; }
.tariftool-editor-form .tt-inline-field > .form-control,
.tariftool-editor-form .tt-inline-field > .form-select,
.tariftool-editor-form .tt-inline-field > .tt-inline-row-tools { flex: 1 1 auto; min-width: 0; }
.tariftool-editor-form .tt-grid-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tariftool-editor-form .tt-grid-meta .tt-span-full { grid-column: 1 / -1; }
@media (max-width: 1100px) and (min-width: 821px) {
  .tariftool-editor-form .tt-grid-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .tariftool-editor-form .tt-grid-meta { grid-template-columns: 1fr; }
  .tariftool-editor-form .tt-grid-meta .tt-span-2 { grid-column: span 1; }
}
.tariftool-editor-form .tt-tax-row .tt-inline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
@media (max-width: 820px) {
  .tariftool-editor-form .tt-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Inline-Hilfe "?" an Feld-Labels */
.tt-help{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border-radius:50%;background:#1f4e79;color:#fff;font-size:10px;font-weight:700;line-height:1;cursor:pointer;vertical-align:middle;margin-left:3px;user-select:none}
.tt-help:hover,.tt-help:focus{background:#12385c;outline:none}
.tt-help.tt-help-open{background:#0d2c49;box-shadow:0 0 0 2px rgba(31,78,121,.25)}
.tt-help-inline{margin:4px 0 8px;padding:8px 12px;background:#eef4fb;border:1px solid #cfe0f2;border-left:3px solid #1f4e79;border-radius:6px;font-size:12px;font-weight:400;line-height:1.5;color:#1f2733;max-width:640px}

/* Inline-Hilfe Popup (eigenes Tooltip, kein Clipping in Panels) v0.10.10.17.6.105 */
.tt-help-tip{position:fixed;transform:translate(-50%,-100%);background:#1f2733;color:#fff;padding:7px 10px;border-radius:6px;font-size:12px;font-weight:400;line-height:1.45;max-width:280px;white-space:normal;text-align:left;z-index:99999;pointer-events:none;box-shadow:0 3px 10px rgba(0,0,0,.28)}
.tt-help-tip::after{content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#1f2733}

/* Tarif-Filter, Typ-/Standardtarif-Badges, farbige Karten v0.10.10.17.6.107 */
.tt-type-filter{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.tt-type-filter .btn.is-active{background:#1f4e79;color:#fff;border-color:#1f4e79}
.tt-tariff-card{border-left:5px solid transparent}
.tt-type-badge-card{display:inline-block;border-radius:999px;padding:2px 10px;font-size:11px;font-weight:600;margin-left:8px;vertical-align:middle;white-space:nowrap}
.tt-std-badge{display:inline-block;border-radius:999px;padding:2px 10px;font-size:11px;font-weight:600;margin-left:6px;vertical-align:middle;white-space:nowrap;background:#e6f7ec;color:#1b6b3a}
.tt-cheap-badge{display:inline-block;border-radius:999px;padding:2px 10px;font-size:11px;font-weight:600;margin-left:6px;vertical-align:middle;white-space:nowrap;background:#fdf0d5;color:#8a5a00}

/* Klickbare Zusammenfassungs-Zeilen und Timeline-Bloecke (springen zum Tarif in Schritt 3) */
.tt-sumrow{cursor:pointer;}
.tt-fachtable tbody tr.tt-sumrow:hover{background:#eef4ff;}
.tt-tl-block.tt-sumrow{cursor:pointer;border-radius:8px;transition:background .12s ease;}
.tt-tl-block.tt-sumrow:hover{background:#eef4ff;outline:1px solid #cfe0ff;}

/* Tarifjahr-Badge in der Karten-Kopfzeile */
.tt-year-badge-card{display:inline-block;border-radius:999px;padding:2px 10px;font-size:11px;font-weight:600;margin-left:8px;vertical-align:middle;white-space:nowrap;background:#e8eefc;color:#26407a;border:1px solid #c3d3f5}
.tt-year-badge-card[hidden]{display:none}

/* Jahr-Filter in der Zusammenfassung (Schritt 4) */
.tt-summary-filter{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:.9rem;font-weight:600;color:#3d4753}

/* v152/v154: Nummernkreis in Schritt-3-Karten + kompakte Monats-/Wochentagswahl (Label inline) */
.tt-tariff-num{flex:0 0 auto;min-width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;border:1px solid #cbd8e6;font-weight:700;color:#314255;font-size:14px;margin-top:2px}
.tt-tariff-headmain{flex:1 1 auto;min-width:0}
.tt-choice-row{align-items:center;gap:4px 8px}
.tt-choice-row .tt-small-label{margin:0 4px 0 0;font-weight:600;white-space:nowrap}
.tt-choice-row .tt-choice-tools{gap:4px;margin-bottom:0}
.tt-choice-row .tt-choice-tools .btn{padding:2px 8px;font-size:11px}
.tt-choice-row .tt-choice-grid{gap:4px}
.tt-choice-row .tt-choice-box{min-width:34px;padding:3px 7px;font-size:12px;border-radius:6px}

/* v154: farbige Typ-Badges als Zusammenfassungs-Titel (Tarifblatt-Aufbau) */
.tt-fach-badge{display:inline-block;border-radius:7px;padding:2px 12px;font-size:13px;font-weight:700}
