/* account-page.css — the few things /account needs on top of /acct/account.css, which carries the
   palette, the fonts, the header, the footer, the panels, the notices, the form controls and the
   buttons. Loaded as a file because the strict CSP on this page forbids inline style
   (style-src 'self'), and from /acct/ because that is the prefix OPEN in functions/_middleware.js
   leaves open. No style= attributes anywhere. Written 9 Nov 2026. */

.wrap { max-width: 760px; }

/* the signed-in person's own facts */
.who { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 18px; }

.facts dfn { min-width: 10rem; }
.facts span { min-width: 0; }
.facts .plan-label { font-weight: 700; }

/* a group of small notices at the top: why you are here, and what needs doing */
#need:empty { display: none; }
#need .notice:last-child { margin-bottom: 22px; }

/* the two sign-out / export rows */
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 4px 0 0; }
.row .btn { flex: 0 0 auto; }

/* ---- leaving: deliberate, never hidden, never dressed up ---- */

.leave { border-color: var(--line); }
.leave h2 { margin-bottom: .4em; }
.plain { list-style: none; padding: 0; margin: 0 0 16px; }
.plain li { padding: 8px 0 8px 22px; border-top: 1px solid var(--line-soft); position: relative; }
.plain li:first-child { border-top: 0; }
.plain li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.05em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
}
.plain.kept li::before { background: var(--sky); }
.two { display: grid; gap: 18px; }
.two > div { min-width: 0; }
.two h3 { margin-top: 0; }

.leave .btn.danger { background: #B3291C; border-color: #B3291C; color: #fff; }
.leave .btn.danger:hover { background: #71152F; border-color: #71152F; color: #fff; }
.leave .after { margin-top: 12px; }

#delPanel { border-left: 8px solid #B3291C; }
#delPanel h2 { color: #8C1B3C; }
#delDone h2 { margin-top: 0; }

/* the prompt about data already on this device */
#lt-import ul { margin: 0 0 14px; padding-left: 1.1em; color: var(--ink-soft); font-size: .96rem; }

@media (min-width: 680px) {
  .two { grid-template-columns: 1fr 1fr; }
  .row .btn { min-width: 14rem; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #delPanel h2 { color: #FFB8B0; }
  :root:not([data-theme="light"]) .leave .btn.danger { background: #C0392B; border-color: #C0392B; color: #fff; }
  :root:not([data-theme="light"]) .leave .btn.danger:hover { background: #9E2A1E; border-color: #9E2A1E; color: #fff; }
}
