/* elterngeld-en: tool-specific styles (base styles in /shared/css/base.css) */
.note { font-size: .9rem; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 10px; }
.h3 { font-size: 1.1rem; margin: 8px 0 0; }
fieldset.seg { border: 0; padding: 0; margin: 0 0 8px; }
fieldset.seg legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
label.inline, label.check { display: flex; align-items: flex-start; gap: 8px; font-weight: 600; }
label.inline { display: inline-flex; margin: 0 16px 0 0; }
label.check { margin-top: 16px; margin-bottom: 2px; }
label.inline input, label.check input { width: auto; margin-top: 4px; flex: none; }
small.muted { display: block; }
.parents .parent { min-width: 0; }
.result h3 { margin-bottom: 4px; }
.amounts td.num, .amounts th.num, .plan .num { text-align: right; white-space: nowrap; }
.amounts .big-cell { font-size: 1.25rem; font-weight: 700; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.presets button { padding: 6px 12px; font-size: .9rem; }
.table-scroll { overflow-x: auto; }
.plan select { padding: 6px 8px; font-size: .95rem; min-width: 0; }
.plan td { vertical-align: middle; }
.plan tr.over14 td:first-child { color: var(--muted); }
.plan .offset { display: block; font-size: .75rem; color: var(--muted); }
.plan tfoot td { font-weight: 700; border-bottom: 0; }
.msg { border-radius: 8px; padding: 8px 12px; margin: 8px 0; font-size: .95rem; }
.msg.err { background: rgba(200, 40, 40, .10); border: 1px solid rgba(200, 40, 40, .45); }
.msg.warn { background: rgba(160, 110, 0, .10); border: 1px solid rgba(160, 110, 0, .4); }
.msg.ok { background: rgba(31, 111, 92, .10); border: 1px solid rgba(31, 111, 92, .45); }
.ticks { padding-left: 20px; }
.guide h3 { margin-top: 22px; }
.guide ol li, .guide ul li { margin-bottom: 6px; }
.glossary td:first-child { font-weight: 600; width: 45%; }
.btn-secondary { padding: 8px 14px; }
@media (max-width: 560px) {
  .plan th, .plan td { padding: 6px 2px; font-size: .9rem; }
  .amounts th, .amounts td { padding: 6px 2px; font-size: .9rem; }
  .amounts .big-cell { font-size: 1.05rem; }
  .amounts td:first-child { overflow-wrap: anywhere; }
}
@media print {
  header.site, footer.site, h1, .lead, .note, main > section:not(#guide), .no-print, .fd-overlay { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  #guide { border: 0; padding: 0; margin: 0; }
  .guide a { color: #000; }
  .guide a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
  table { page-break-inside: auto; } tr { page-break-inside: avoid; }
}
