/* Account page: Study Buddy + progress. Large type on purpose (expected readers are 40–60).
   Colours follow the site rules: green = active / answered, no red here. */
body[data-page="account"] { font-size: 19px; }
body[data-page="account"] .page h1 { font-size: clamp(2.2rem, 4.6vw, 2.8rem); }
body[data-page="account"] .page h2 { font-size: 1.8rem; }
body[data-page="account"] .page .meta { font-size: 17px; }
body[data-page="account"] table { font-size: 18px; }
body[data-page="account"] th, body[data-page="account"] td { padding-top: 16px; padding-bottom: 16px; }
body[data-page="account"] thead th { font-size: 16px; }
body[data-page="account"] tbody th, body[data-page="account"] tbody td { font-size: 18px; }
body[data-page="account"] tbody th { color: var(--ink); }
body[data-page="account"] .sub { font-size: 16px; }
body[data-page="account"] .btn.go { min-height: 44px; padding: 0 20px; font-size: var(--fs-small); }
body[data-page="account"] .callout { font-size: 17px; }

.buddy { margin-top: 40px; }
.buddy > h2 { margin-bottom: 16px; }
.bd-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; padding: 16px 24px; border-radius: 16px; background: var(--soft); font-size: 18px; }
.bd-bar .hi { font-weight: 600; font-size: 20px; }
.bd-bar .dd { color: var(--ink-2); }
.bd-bar .dd b { font-size: 22px; color: var(--ink); }
.bd-bar select { font: inherit; font-size: 18px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; min-height: 48px; margin-left: 6px; }
.bd-warn { margin-top: 16px; padding: 16px 24px; border-radius: 16px; background: var(--caution-soft); color: var(--ink); font-size: 18px; line-height: 1.6; }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.pick { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.pick.main { border: 2px solid var(--accent); background: var(--accent-soft); }
.pick .kicker { font-size: 16px; font-weight: 600; color: var(--muted); }
.pick.main .kicker { color: var(--accent-ink); }
.pick h3 { font-size: 1.45rem; line-height: 1.35; }
.pick .line { font-size: 19px; color: var(--ink); line-height: 1.55; }
.pick .why { font-size: 17px; color: var(--ink-2); line-height: 1.6; }
.pick .btn { margin-top: auto; }
.pick .alts { font-size: 17px; color: var(--ink-2); line-height: 1.6; }
.minimap { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.sq { width: 28px; height: 28px; border-radius: 6px; border: 2px solid var(--soft-2); background: transparent; }
.sq.done { background: var(--accent); border-color: var(--accent); }
.sq.prog { border-color: var(--accent); background: var(--accent-soft); }
.sq.lock { border-style: dashed; border-color: var(--line); }
.strips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.strips.one { grid-template-columns: minmax(0, 1fr); }
.strip { padding: 24px 24px; border: 1px solid var(--line); border-radius: 16px; font-size: 19px; }
.strip h3 { font-size: 1.35rem; margin-bottom: 10px; }
.strip ul { list-style: none; margin: 0; padding: 0; }
.strip li { padding: 6px 0; }
.strip li a { font-weight: 600; }
.strip .quote { font-size: 20px; line-height: 1.6; }
.strip .zh { font-size: 22px; margin-bottom: 6px; }
.strip .sub { font-size: 17px; color: var(--ink-2); }
.strip .src { margin-top: 6px; color: var(--muted); }
#progress { margin-top: 56px; }
#progress h2 { margin-bottom: 12px; }
.ptable { width: 100%; }
.ptable th, .ptable td { text-align: left; }
.ptable tbody th { font-weight: 600; }
.pc a { text-decoration: none; }
.pc.done a { color: var(--accent-ink); font-weight: 600; }
.pc.prog a { color: var(--accent-ink); font-weight: 600; }
.pc.new a { color: var(--ink-2); }
.pc.lock a, .pc.none { color: var(--muted); }
@media (max-width: 980px) {
  .picks, .strips { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body[data-page="account"] { font-size: 18px; }
  .pick { padding: 24px 20px; }
  .pick h3 { font-size: 1.35rem; }
  .bd-bar { font-size: 17px; }
}

.ptable td.exp { white-space: nowrap; color: var(--ink-2); font-size: 16px; }
.ptable th a { color: inherit; }
.ntable th { font-weight: 600; }
.np { display: inline-flex; flex-direction: column; gap: 2px; font-size: 16px; }
.np b { font-size: 16px; }
.np small { font-size: 15px; color: var(--muted); }
.np.warn small { color: var(--caution); font-weight: 600; }
.np.ok small { color: var(--accent-ink); font-weight: 600; }
.np.lock, .np.new { color: var(--muted); }
.nh { font-size: 1.1rem; margin: 20px 0 8px; display: flex; align-items: center; gap: 8px; }
.ftag { font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 6px; background: var(--caution); color: var(--bg); }
.ptable th .lvl { display: block; font-size: 15px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.ntable tr.soon th { color: var(--muted); font-weight: 400; }
.nh .sub { font-size: 14px; font-weight: 400; color: var(--muted); }
#notes-prog .grp { margin: 28px 0 0; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--accent-ink); display: flex; align-items: center; gap: 8px; }
#notes-prog .grp.sp { color: var(--caution); margin-top: 36px; }
.ntable { table-layout: fixed; width: 100%; }
.ntable th { width: 58%; }
.picks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .picks.two { grid-template-columns: 1fr; } }
#pick-note .line .np b { font-size: 18px; }
