/* hmf-tools.de – Kundenbereich (/konto/). Baut auf style.css auf (card, btn, note, field …). */
.konto { display: grid; gap: 20px; }
.konto > .form-status:empty { display: none; }
.konto [hidden] { display: none !important; }
.konto-busy p { margin: 0; color: var(--text-2); }
.konto-form { margin-top: 18px; }
.konto-form .btn { justify-self: start; }
.konto-sent { text-align: center; }
.konto-sent .tile-icon { margin-inline: auto; }
.konto-sent p { margin-bottom: .8em; }
.konto-sent .cta-row { justify-content: center; margin: 12px 0 0; }
.konto-sent:focus, [data-konto-heading]:focus { outline: none; }

.konto-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.konto-bar p { margin: 0; color: var(--text-2); word-break: break-word; }
[data-konto-list] { display: grid; gap: 20px; }

.konto-order { display: grid; gap: 14px; }
.konto-order:hover { transform: none; }
.konto-order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.konto-order-head h3 { margin: 0; }
.konto-meta { margin: -6px 0 0 !important; }
.konto-order .note { margin: 0; }

.konto-badge { display: inline-flex; align-items: center; padding: .25em .8em; border-radius: 999px; font-size: .85rem; font-weight: 700; white-space: nowrap; background: var(--surface-2); color: var(--text-2); }
.konto-badge-completed { background: var(--ok-soft); color: var(--ok); }
.konto-badge-pending, .konto-badge-pruefen { background: var(--warn-soft); color: var(--warn); }
.konto-badge-blocked, .konto-badge-reversed { background: var(--err-soft); color: var(--err); }

.konto-key { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: var(--brand-soft); }
.konto-key-label { font-size: .85rem; font-weight: 700; color: var(--brand-text); flex-basis: 100%; }
.konto-key-value { flex: 1 1 auto; min-width: 0; font: 700 1.08rem/1.3 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .04em; color: var(--text); word-break: break-all; background: none; padding: 0; }

.konto-devices h4 { margin: 0 0 8px; font-size: 1rem; }
.konto-devices p { margin: 0; }
.konto-device-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.konto-device-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.konto-device-list li > div { display: grid; gap: 2px; min-width: 0; }
.konto-device-list strong { word-break: break-word; }

.konto-actions { margin: 4px 0 0 !important; justify-content: flex-start; }
.konto-actions .btn .icon { width: 18px; height: 18px; }
.konto-foot { margin: 8px 0 0; }

@media (max-width: 520px) {
  .konto-device-list li .btn { width: 100%; }
}
