/* Konto, Steuerdaten, Einstellungen, Merkliste. Ergänzt stellen.css. */

.konto-title { font-family: var(--display); font-weight: 700; font-size: 32px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 8px; }
.konto-lead { color: var(--muted); max-width: 70ch; margin: 0 0 24px; }
.konto-form { max-width: 520px; }
.konto-alt { margin-top: 20px; font-size: 14px; color: var(--muted); }
.flash + .flash, .flash + .konto-title { margin-top: 12px; }
.flash-warn { background: var(--white); border: 1px solid var(--rust); color: var(--ink); }
.flash { margin-bottom: 12px; }

/* Schaltflächen */
.konto-btn { display: inline-block; border-radius: 10px; padding: 10px 18px; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; text-align: center; }
.konto-btn:hover { text-decoration: none; filter: brightness(.96); }
.konto-btn-dark { background: var(--ink); color: var(--on-dark); }
.konto-btn-line { background: var(--white); color: var(--ink); border-color: var(--line-field); }
.konto-btn-line:hover { border-color: var(--ink); }
.konto-btn-danger { background: var(--rust); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.link-btn { background: none; border: none; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.inline-form { display: inline; margin-left: 8px; }

/* Felder */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .fs legend { font-weight: 600; font-size: 15px; }
.field.has-error input, .field.has-error select, .radios.has-error { border-color: var(--rust); }
.opt { font-weight: 400; color: var(--soft); font-size: 13px; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; cursor: pointer; }
.check input { accent-color: var(--ink); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.check a { text-decoration: underline; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; }
.radios { display: flex; flex-direction: column; gap: 8px; }
.fs { border: 1px solid var(--line-card); border-radius: 14px; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; margin: 0; min-width: 0; background: var(--white); }
.fs legend { padding: 0 6px; }
.field select, .field input { max-width: 100%; }
[data-show-if][hidden] { display: none; }

/* Steuerdaten */
.steuer-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.steuer-grid .konto-form { max-width: none; }
.steuer-preview { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 12px; }
.steuer-preview h2 { font-family: var(--display); font-size: 20px; margin: 0; }
.preview-panel { border-radius: 14px; }

/* Übersicht */
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dash-card { background: var(--white); border: 1px solid var(--line-card); border-radius: 16px; padding: 20px 22px; min-width: 0; }
.dash-wide { grid-column: 1 / -1; }
.dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.dash-head h2 { font-family: var(--display); font-size: 20px; margin: 0; }
.dash-head a { font-size: 14px; text-decoration: underline; }
.dash-count { display: inline-block; min-width: 24px; padding: 0 8px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 700; text-align: center; vertical-align: middle; }
.dash-list { list-style: none; margin: 0; padding: 0; }
.dash-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.dash-item:last-child { border-bottom: none; }
.dash-item-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dash-item-title { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.dash-item-meta { font-size: 13px; color: var(--soft); }
.dash-item-side { text-align: right; font-size: 13px; flex: none; }
.dash-empty { color: var(--muted); font-size: 15px; margin: 8px 0 12px; }
.dash-status.ok { color: var(--ink); font-weight: 600; margin: 0 0 4px; }
.dash-match { padding-top: 8px; }
.dash-match-head { margin: 0 0 4px; }
.deadline.state-soon, .deadline.state-expired { color: var(--rust); font-weight: 600; }
.chip-soft { background: var(--bg); border-radius: 999px; padding: 4px 10px; font-size: 13px; color: var(--muted); white-space: nowrap; }

/* Einstellungen */
.set-card { background: var(--white); border: 1px solid var(--line-card); border-radius: 16px; padding: 20px 22px; margin-bottom: 20px; max-width: 640px; }
.set-card h2 { font-family: var(--display); font-size: 20px; margin: 0 0 12px; }
.set-danger { border-color: var(--rust); }

/* Merkliste */
.merk-list { display: flex; flex-direction: column; }
.merk-item { display: flex; align-items: flex-start; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--line-soft); }
.merk-item .job-row { border-bottom: none; }
.merk-pick { padding-top: 18px; flex: none; }
.merk-pick input { accent-color: var(--ink); width: 18px; height: 18px; }
.merk-body { flex: 1; min-width: 0; }
.merk-item.is-gone { opacity: .85; }
.merk-note-info { font-size: 13px; margin: 0 0 8px; color: var(--muted); }
.merk-note-info.state-expired { color: var(--rust); }
.merk-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; padding-bottom: 12px; }
.merk-note-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1; min-width: 260px; }
.merk-note-label { font-size: 13px; color: var(--soft); }
.merk-note-form input[type="text"] { flex: 1; min-width: 160px; border: 1px solid var(--line-field); border-radius: 10px; padding: 8px 12px; font: inherit; background: var(--field); }
.merk-compare .btn-row { margin-top: 20px; }

@media (max-width: 900px) {
  .steuer-grid { grid-template-columns: minmax(0, 1fr); }
  .steuer-preview { position: static; }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .konto-title { font-size: 26px; }
  .dash-item { flex-wrap: wrap; }
  .dash-item-side { text-align: left; }
}
