/* Account pages. Colours and buttons come from the library stylesheet. */
.account { max-width: 560px; padding-top: 32px; }
.account h1 { font: 600 clamp(26px, 5vw, 34px)/1.2 var(--font-read); margin: 0 0 8px; }
.account h2 { font: 600 20px/1.3 var(--font-read); margin: 0 0 10px; }
.lead { color: var(--muted); margin: 0 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 0 0 16px; }
.panel.quiet { background: transparent; }
.btn.big { width: 100%; padding: 12px 16px; font-size: 16px; }
.btn.google svg { width: 20px; height: 20px; }
.btn.danger { background: #b3261e; border-color: #b3261e; color: #fff; }
.btn[disabled] { opacity: .55; cursor: default; }
.link { font: inherit; background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; text-decoration: underline; }
.danger-text { color: #b3261e; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
#email-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.row { display: flex; gap: 8px; }
.row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; }
.ok { color: #2e7d32; font-weight: 600; }
#note { background: #fdecea; color: #8a1c14; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
#note.info { background: var(--chip); color: var(--ink); }
.profile { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.profile img { width: 56px; height: 56px; border-radius: 50%; }
.who { flex: 1; min-width: 0; }
.who h1 { margin: 0; overflow-wrap: anywhere; }
.who p { margin: 2px 0 0; overflow-wrap: anywhere; }
.badge { flex: none; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 13px;
  border-radius: 999px; padding: 4px 12px; }
.seller-notes { padding-left: 20px; color: var(--muted); font-size: 14px; }
.seller-notes li { margin: 4px 0; }
.label { font-weight: 600; margin: 0 0 4px; }
.address { margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
code { font-size: 14px; overflow-wrap: anywhere; background: var(--chip); border-radius: 6px; padding: 2px 6px; }
.pending { border-left: 3px solid var(--accent); padding: 4px 0 4px 12px; margin: 16px 0; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.wallets { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.wallets:empty { display: none; }
.wallets .btn { justify-content: flex-start; }
.wallets .official { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--accent); }
.wallets img { width: 24px; height: 24px; border-radius: 6px; }
.confirm { font-size: 14px; margin: 14px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.confirm[hidden] { display: none; }

[hidden] { display: none !important; }
.panel.quiet .actions { margin-top: 0; }
.my-books, .devices { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 14px; }
.my-books li { border-top: 1px solid var(--line); padding-top: 12px; }
.my-books .label { margin: 0; }
.my-books p.small { margin: 2px 0 8px; }
.price-row input { max-width: 120px; }
.devices li { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 14px; }
