/* Datum & Zeit -- Route "Tage berechnen".
   Uebernommen aus kukanilea-tagerechner/styles.css (Stand 5cb179a3f): genau die
   Regeln, die styles.css dieser Werkstatt nicht schon gleichlautend
   traegt. Laedt NACH styles.css; die Shell-Bloecke (KUK-SHELL:CSS,
   KUK-ZIELGROESSEN) kommen von dort und stehen hier nicht. */

.tool-actions { display: flex; align-items: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 20px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.form-field input[type="text"], .form-field input[type="number"], .form-field input[type="date"] { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 16px; font-family: var(--font-sans); color: var(--ink); background: var(--white); max-width: 220px; }
.form-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.field-hint { font-size: 13px; color: var(--ink-4); margin: 0; }
.date-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 20px; margin: 0 0 20px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-2); background: var(--white); color: var(--ink-2); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chip-hint { font-size: 12.5px; color: var(--ink-4); margin: -2px 0 0; }
.tr-result { margin-top: 22px; }
.tr-result-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.tr-stat { background: var(--blue-tint); border: 1px solid var(--blue-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.tr-stat.is-primary { background: var(--blue); border-color: var(--blue-2); }
.tr-stat.is-primary .tr-stat-label { color: rgba(255,255,255,.75); }
.tr-stat.is-primary .tr-stat-value { color: var(--white); }
.tr-stat-label { font-size: 12px; color: var(--ink-4); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.tr-stat-value { font-size: 22px; font-weight: 700; color: var(--blue-2); margin-top: 4px; }
.tr-stat-sub { font-size: 12.5px; color: var(--ink-4); margin-top: 2px; }
.breakdown { margin: 18px 0 0; padding: 0; list-style: none; }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.breakdown li:first-child { border-top: none; }
.breakdown li b { color: var(--ink); }
.source-note { font-size: 12.5px; color: var(--ink-4); margin-top: 16px; }
.source-note a { color: var(--ink-4); text-decoration: underline; }
.prose-table-wrap { overflow-x: auto; }
.prose-table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose-table-wrap th, .prose-table-wrap td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.prose-table-wrap th { color: var(--ink-4); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
@media print {
  .site-header, .site-footer, .tool-actions, .privacy-note { display: none; }
}

/* Abweichung vom Original, nur Barrierefreiheit (2026-10-16): die
   Unterzeile der Hauptkachel stand in --ink-4 auf --blue, Kontrast
   1,65:1 (axe color-contrast, WCAG 1.4.3). Sie bekommt die Farbe der
   Beschriftung darueber. kukanilea-tagerechner traegt den Befund weiter. */
.tr-stat.is-primary .tr-stat-sub { color: rgba(255,255,255,.75); }
