/* Můj účet — doplněk k book.css */
.acc .cx-card { margin-bottom: 16px; }
.acc-card h1 { margin-top: 6px; }
.btn-block { width: 100%; }
.acc-lead { margin-top: 0; margin-bottom: 20px; }
.acc-sub { margin: 8px 0 0; color: var(--muted); font-size: 14px; word-break: break-all; }
.acc-form { display: flex; flex-direction: column; gap: 16px; }
.acc-row { display: flex; flex-wrap: wrap; gap: 10px; }
.acc-row > * { flex: 1 1 140px; }
.acc-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.acc-gdpr { font-size: 12px; color: var(--faint); }
.acc-email { margin: 0; padding: 12px 0; color: var(--smoke); word-break: break-all; }
.acc-h2 { font-size: 18px; margin: 0 0 16px; }
.code-input {
  font-family: var(--font-mono); font-size: 28px !important; letter-spacing: .5em; text-align: center;
  padding-left: .5em !important;
}
.acc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
@media (max-width: 420px) { .acc-tiles { grid-template-columns: 1fr 1fr; } .acc-tiles .acc-tile:last-child { grid-column: 1 / -1; } }
.acc-tile {
  display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.acc-tile .label { font-size: 10px; }
.acc-tile-v {
  font-family: var(--font-heading); font-weight: 900; color: var(--gold); font-size: 20px; line-height: 1.15;
  overflow-wrap: anywhere;
}
.acc-tile-s { font-size: 12px; color: var(--muted); }
.acc-new { margin-top: 4px; }
.acc-bks { display: flex; flex-direction: column; gap: 12px; }
.acc-bk { padding: 14px; border: 1px solid rgba(var(--gold-rgb), .3); border-left: 3px solid var(--gold); border-radius: var(--radius); background: rgba(var(--gold-rgb), .04); }
.acc-bk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.acc-bk-when { margin: 0; font-weight: 700; text-transform: capitalize; }
.acc-bk-time { margin: 2px 0 0; font-family: var(--font-mono); color: var(--gold); font-size: 18px; }
.acc-bk-tz { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.acc-bk-code { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .15em; }
.acc-bk-svc { margin: 8px 0 12px; color: var(--muted); font-size: 14px; }
.acc-bk-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.acc-bk-actions > button { flex: 1 1 120px; }
.acc-bk-actions .acc-note { margin: 0; }
.acc-move { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.acc-move[hidden] { display: none; }
.acc-move .label { margin: 0; }
.acc-slots { min-height: 48px; }
.acc-slots .spinner { margin: 8px auto; }
.acc-hist { list-style: none; margin: 0; padding: 0; }
.acc-hist li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.acc-hist li:last-child { border-bottom: 0; }
.acc-hist-d { font-family: var(--font-mono); color: var(--muted); font-size: 12px; white-space: nowrap; }
.acc-hist-s { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-hist .badge { margin: 0; font-size: 9px; padding: 3px 6px; }
.alert[hidden] { display: none; }
.acc-watch li { grid-template-columns: auto 1fr auto; }
.acc-watch-del { min-height: 36px; padding: 6px 10px; font-size: 11px; }
/* Od/Do vedle sebe: dvě stejné buňky, obsah se smí zúžit */
.acc-form .acc-row { display: grid; grid-template-columns: 1fr 1fr; }
.acc-row > *, .acc-form .field { min-width: 0; }
.acc-push-on { margin: 0 0 12px; color: var(--ok); font-weight: 600; }
.acc-push .acc-row { margin-bottom: 4px; }

/* Co chci dostávat – tabulka voleb */
.prefs-wrap { overflow-x: auto; margin: 4px 0 8px; }
.prefs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prefs-table th, .prefs-table td { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: center; }
.prefs-table thead th { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.prefs-table tbody th { text-align: left; font-weight: 600; }
.prefs-cell { display: inline-flex; padding: 8px; cursor: pointer; }
.prefs-cell input { width: 22px; height: 22px; min-height: 0; accent-color: var(--gold); cursor: pointer; }
.prefs-lock { opacity: .55; }
.prefs-lock-btn { background: transparent; border: 0; padding: 8px; font-size: 16px; cursor: help; filter: grayscale(1); }
.prefs-push-off { opacity: .55; }
.prefs-legend { list-style: none; margin: 4px 0 8px; padding: 0; font-size: 12px; color: var(--muted); }
.prefs-legend li { padding: 2px 0; }
.prefs-info:empty { display: none; }
.m-list { margin: -8px 0 20px; padding-left: 18px; color: var(--smoke); font-size: 14px; }
.m-list li { margin: 4px 0; }
.m-list[hidden] { display: none; }
.acc-hist-reason { grid-column: 1 / -1; margin-top: -4px; font-size: 12px; color: var(--muted); white-space: normal; }

/* Kredit */
.acc-credit { margin: 0 0 18px; padding: 14px; border: 1px solid rgba(var(--gold-rgb), .45); border-radius: var(--radius); background: rgba(var(--gold-rgb), .06); }
.acc-credit-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.acc-credit-head .label { margin: 0; }
.acc-credit-v { font-family: var(--font-heading); font-weight: 900; color: var(--gold); font-size: 28px; line-height: 1.1; }
.acc-credit-note { margin-top: 8px; }
.acc-credit-hist { margin-top: 10px; }
.acc-credit-hist summary { cursor: pointer; font-size: 13px; color: var(--muted); padding: 4px 0; }
.acc-credit-amt { font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }
.acc-credit-amt.plus { color: var(--ok); }
.acc-paid { display: inline-block; margin-left: 8px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--ok); border: 1px solid currentColor; padding: 1px 6px; border-radius: var(--radius); }
.acc-bk-actions > .acc-pay { flex: 1 1 100%; }
.acc-bk-actions .acc-pay-note { flex: 1 1 100%; }
.acc-credit-what { display: flex; flex-direction: column; min-width: 0; }
.acc-credit-type { font-size: 14px; }
.acc-credit-for { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.acc-credit-list li { align-items: start; }

.acc-rebook { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }

/* K úhradě: QR Platba */
.acc-due { margin: 0 0 18px; padding: 14px; border: 1px solid rgba(var(--gold-rgb), .7); border-radius: var(--radius); background: rgba(var(--gold-rgb), .1); }
.acc-due-pay { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 12px; }
.acc-due-qr { flex: 0 0 auto; width: 200px; max-width: 100%; background: #fff; border-radius: 8px; padding: 4px; line-height: 0; }
.acc-due-qr svg { width: 100%; height: auto; display: block; }
.acc-due-info { flex: 1 1 200px; margin: 0; display: grid; gap: 8px; min-width: 0; }
.acc-due-row dt { font-size: 12px; color: var(--muted); }
.acc-due-row dd { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acc-due-val { font-family: var(--font-mono); font-size: 15px; overflow-wrap: anywhere; }
.acc-copy { font: inherit; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(var(--gold-rgb), .5); background: transparent; color: var(--gold); cursor: pointer; }
.acc-copy:hover { background: rgba(var(--gold-rgb), .12); }
.acc-due-note { margin-top: 10px; }
.acc-due-qrwrap { flex: 0 0 auto; width: 200px; max-width: 100%; display: flex; flex-direction: column; gap: 8px; }
.acc-due-qrwrap .acc-due-qr { width: 100%; }
.acc-due-share { width: 100%; }
