/* Foldgate v3: clean and modern. One blue accent on white and slate, Inter throughout. */
:root {
  --cover:   #0F172A;   /* dark slate: footer, strong text on light */
  --cover-2: #1E293B;
  --paper:   #F8FAFC;   /* page background */
  --paper-2: #F1F5F9;   /* subtle panels */
  --card:    #FFFFFF;
  --ink:     #0F172A;
  --muted:   #5B6577;
  --gold:    #2563EB;   /* brand blue (variable names kept from v2 so nothing else needs renaming) */
  --gold-l:  #93C5FD;
  --gold-d:  #1D4ED8;
  --red:     #DC2626;
  --green:   #15803D;
  --line:    #E2E8F0;
  --line-2:  #CBD5E1;
  --accent:  #2563EB;
  --radius:  12px;
  --shadow-s: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow:   0 4px 6px -2px rgba(15, 23, 42, .05), 0 12px 28px -10px rgba(15, 23, 42, .16);
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: var(--sans);
  --mono:  var(--sans);
  --ease:  cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; line-height: 1.08; }
h2 { font-size: clamp(25px, 3vw, 34px); }
h3 { font-size: 19px; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; color: var(--gold); }
p { margin: 0 0 1em; }
a { color: var(--gold-d); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
img, svg { max-width: 100%; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; background: var(--gold); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; top: 0; }
[hidden] { display: none !important; }
.ico svg { width: 100%; height: 100%; }

/* Header */
.site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); color: var(--ink); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 20px var(--sans); color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand:hover { color: var(--gold); }
.nav-links { display: flex; gap: 24px; align-items: center; font-weight: 500; font-size: 14.5px; }
.nav-links a { color: var(--muted); text-decoration: none; position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; color: var(--ink); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 9px; cursor: pointer; }
.nav-toggle svg { display: block; }
.streak-chip { font: 500 12px var(--sans); color: var(--gold-d); background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 999px; padding: 3px 11px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 10px; font: 600 14.5px var(--sans); text-decoration: none; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-s); transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease); }
.btn:hover { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: 0 1px 2px rgba(37, 99, 235, .3); }
.btn-gold:hover { background: var(--gold-d); border-color: var(--gold-d); color: #fff; }
.btn-light { background: var(--card); border-color: var(--line-2); color: var(--ink); }
.btn-light:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink); }
.btn-sm { padding: 6px 14px; font-size: 13.5px; border-radius: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(800px 380px at 90% -80px, rgba(37, 99, 235, .10), transparent 70%), linear-gradient(180deg, #fff, var(--paper)); color: var(--ink); padding: 80px 0 88px; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(640px, 70vw); color: var(--gold); opacity: .10; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.eyebrow { font: 600 12.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 16px; display: block; }
.hero h1 { color: var(--ink); }
.hero h1 em { color: var(--gold); }
.lead { font-size: 18.5px; color: var(--muted); max-width: 54ch; margin: 20px 0 30px; }
.hero .fine { font: 500 13px var(--sans); color: var(--muted); margin-top: 18px; }
.cover-card { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); position: relative; }
.cover-card h2 { font-size: 22px; margin-bottom: 4px; }
.cover-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.cover-row { display: flex; align-items: center; gap: 24px; }
.ring { --p: 0; flex: none; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p) * 1%), #E8EEF7 0); display: grid; place-items: center; transition: background .4s; }
.ring-in { width: 96px; height: 96px; border-radius: 50%; background: var(--card); display: grid; place-content: center; text-align: center; line-height: 1; }
.ring-in strong { font: 700 32px var(--sans); letter-spacing: -.02em; }
.ring-in span { font: 500 11px var(--sans); color: var(--muted); margin-top: 6px; }
.cover-stats { display: grid; gap: 4px; font-size: 14.5px; color: var(--muted); }
.cover-stats b { color: var(--ink); font-weight: 600; }
.resume { margin-top: 20px; padding: 12px 14px; background: #EFF6FF; border: 1px solid #DBEAFE; border-radius: 10px; font-size: 14.5px; }
.resume a { font-weight: 600; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 12px 0 0; }
.grid { display: grid; gap: 22px; }
.grid.programs { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-s); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.program-card { display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.program-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); }
.program-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.p-ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 10%, white); color: var(--accent); }
.p-ico svg { width: 24px; height: 24px; }
.program-card .meta { font: 600 11.5px var(--sans); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.program-card .next { font-size: 14px; margin-top: auto; padding-top: 6px; min-height: 2.8em; }
.program-card h3 a { color: var(--ink); text-decoration: none; }
.program-card h3 a:hover { color: var(--accent); }
.step-num { font: 700 12px var(--sans); color: var(--gold); letter-spacing: .1em; display: block; margin-bottom: 10px; }

/* Progress */
.progress { height: 6px; background: #E8EEF7; border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width .5s var(--ease); }
.pg-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; font: 500 12.5px var(--sans); color: var(--muted); }

/* Inner page headers */
.page-head { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, var(--paper)); color: var(--ink); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-head.accented { background: radial-gradient(600px 240px at 100% -40px, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), linear-gradient(180deg, #fff, var(--paper)); }
.page-head h1 { font-size: clamp(30px, 4.2vw, 44px); color: var(--ink); }
.page-head p { color: var(--muted); max-width: 62ch; margin: 12px 0 0; font-size: 17.5px; }
.page-head .crumb { font: 600 12.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 12px; display: block; }
.page-head .crumb a { color: var(--gold-d); text-decoration: none; }
.page-head .ph-ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 10%, white); color: var(--accent); margin-bottom: 16px; }
.page-head .ph-ico svg { width: 26px; height: 26px; }
.page-body { padding: 40px 0 80px; }

/* Tools */
.tool-group { margin-bottom: 40px; }
.tool-group > h2 { font-size: 24px; margin-bottom: 4px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tool-group > h2 small { font: 500 13px var(--sans); color: var(--muted); }
.tool-group .group-sub { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tool { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow-s); position: relative; overflow: hidden; transition: box-shadow .25s var(--ease), border-color .2s; }
.tool::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent, var(--cover)); }
.tool:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.tool.is-opened { background: #F8FBFF; }
.tool.is-done { background: #F6FBF7; border-color: #CFE8D6; }
.tool.is-done::before { background: var(--green); }
.tool .mark { width: 32px; height: 32px; border-radius: 50%; border: 1.5px dashed var(--line-2); display: grid; place-items: center; font: 500 12px var(--sans); color: var(--muted); }
.tool.is-done .mark { border: 1.5px solid var(--green); color: var(--green); background: #E3F4E8; }
.tool.is-done .mark::before { content: "\2713"; font-size: 15px; }
.tool.is-done .mark span { display: none; }
.tool h3 { font: 600 16.5px var(--sans); letter-spacing: -.005em; }
.tool h3 a { color: var(--ink); text-decoration: none; }
.tool h3 a:hover { color: var(--accent, var(--gold-d)); text-decoration: underline; }
.tool p { margin: 3px 0 0; font-size: 14.5px; color: var(--muted); }
.tool .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag { font: 500 11.5px var(--sans); padding: 2px 9px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); color: var(--muted); }
.tag.state { background: #E3F4E8; border-color: #CFE8D6; color: var(--green); }
.tag.state:empty { display: none; }
.tool .actions { display: flex; gap: 8px; align-items: center; }
.stamp-btn { cursor: pointer; font: 600 13.5px var(--sans); border: 1px solid var(--accent, var(--cover)); background: transparent; color: var(--accent, var(--cover)); border-radius: 8px; padding: 6px 14px; transition: background .2s, color .2s; }
.stamp-btn:hover { background: var(--accent, var(--cover)); color: #fff; }
.stamp-btn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }

/* Filters */
.filters { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 28px; display: grid; gap: 14px; position: sticky; top: 76px; z-index: 20; box-shadow: var(--shadow); }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters input[type=search], .filters select { font: 500 15px var(--sans); padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); min-width: 0; }
.filters input[type=search] { flex: 1 1 220px; }
.filters input[type=search]:focus, .filters select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.chip { font: 500 13.5px var(--sans); border: 1px solid var(--line-2); background: #fff; color: var(--ink); border-radius: 999px; padding: 5px 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }
.result-count { font: 500 13px var(--sans); color: var(--muted); margin-left: auto; }
.no-results { text-align: center; padding: 40px 10px; color: var(--muted); }

/* Passport book */
.book { display: grid; gap: 26px; }
.book-program { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; position: relative; overflow: hidden; box-shadow: var(--shadow-s); }
.book-program::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); }
.book-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.book-head h3 { font-size: 20px; }
.book-title { color: inherit; text-decoration: none; }
.book-title:hover { color: var(--accent); text-decoration: underline; }
.book-count { font: 500 13px var(--sans); color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 22px 12px; }
.slot { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
.stamp { width: 70px; height: 70px; border-radius: 50%; border: 1.5px dashed var(--line-2); background: transparent; color: #94A3B8; font: 500 15px var(--sans); cursor: pointer; position: relative; transition: transform .25s var(--ease), border-color .2s, color .2s; }
.stamp:hover { transform: scale(1.07); border-color: var(--accent); color: var(--accent); }
.slot.is-done .stamp { border: 2.5px solid var(--accent); color: var(--accent); font: 700 24px var(--sans); transform: rotate(var(--r, -4deg)); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.slot.is-done .stamp::before { content: ""; position: absolute; inset: 5px; border: 1.5px solid var(--accent); border-radius: 50%; opacity: .7; }
.slot.is-done .stamp::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.slot-cap { font-size: 12.5px; line-height: 1.3; color: var(--muted); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slot-cap:hover { color: var(--accent); text-decoration: underline; }
.complete-stamp { position: absolute; right: 26px; top: 24px; transform: rotate(-8deg); border: 3px double var(--accent); color: var(--accent); font: 700 17px var(--sans); letter-spacing: .12em; padding: 4px 14px; border-radius: 6px; opacity: .85; }
.badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.badge { background: var(--card); border: 1px dashed var(--line-2); border-radius: 12px; padding: 14px 18px; display: grid; gap: 3px; opacity: .6; }
.badge strong { font-weight: 600; }
.badge span { font-size: 13.5px; color: var(--muted); }
.badge.is-earned { opacity: 1; border: 1px solid #BFDBFE; background: #EFF6FF; box-shadow: var(--shadow-s); }
.badge.is-earned strong { color: var(--gold-d); }
.warn-box { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 22px; }
.io { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin-top: 18px; }
.io textarea { width: 100%; min-height: 100px; font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); resize: vertical; }
.io textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.form-msg { font-size: 14px; margin-top: 8px; min-height: 1.4em; }
.form-msg.ok { color: var(--green); } .form-msg.err { color: var(--red); }
.danger { color: var(--red); border-color: rgba(220, 38, 38, .45); }
.danger:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* Network */
.net-group { margin-bottom: 40px; }
.net-group > h2 { font-size: 22px; margin-bottom: 16px; }
.net-card { display: flex; flex-direction: column; gap: 6px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.net-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.net-card h3 a { color: var(--ink); text-decoration: none; }
.net-card h3 a:hover { color: var(--gold); }
.domain { font: 500 12.5px var(--sans); color: var(--muted); }
.badge-soon { font: 600 10.5px var(--sans); letter-spacing: .06em; text-transform: uppercase; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--muted); margin-left: 8px; vertical-align: middle; }

/* Footer */
.site-footer { position: relative; background: var(--cover); color: rgba(255, 255, 255, .72); padding: 52px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font: 600 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #94A3B8; margin: 0 0 14px; }
.foot-grid a { display: block; color: rgba(255, 255, 255, .74); text-decoration: none; padding: 3px 0; font-size: 14.5px; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-grid p { font-size: 14.5px; max-width: 32ch; }
.foot-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.foot-bottom a { color: rgba(255, 255, 255, .8); }
.foot-grid a.brand { font: 700 20px var(--sans); color: #fff; padding: 0; display: flex; gap: 10px; }
.foot-grid a.brand:hover { color: var(--gold-l); text-decoration: none; }

/* Entrance motion */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-grid > div:first-child > *, .cover-card, .page-head .wrap > *, .program-card, .card, .tool-group, .book-program { animation: rise .6s var(--ease) both; }
.hero h1 { animation-delay: .05s; } .hero .lead { animation-delay: .1s; }
.program-card:nth-child(2) { animation-delay: .05s; } .program-card:nth-child(3) { animation-delay: .1s; } .program-card:nth-child(4) { animation-delay: .15s; }

@media (max-width: 860px) {
  .hero { padding: 52px 0 60px; }
  .hero-art { opacity: .07; right: -140px; }
  .hero-grid, .foot-grid, .io { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: #fff; padding: 18px 28px 24px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .tool { grid-template-columns: auto 1fr; }
  .tool .actions { grid-column: 1 / -1; }
  .filters { position: static; }
  .complete-stamp { position: static; display: inline-block; margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } .btn, .stamp, .progress > span, .program-card, .net-card, .nav-links a::after { transition: none; } html { scroll-behavior: auto; } }
@media print { .site-header, .site-footer, .filters, .btn { display: none; } body { background: #fff; } }

/* ---- accounts ---- */
.auth-card { max-width: 460px; margin: 0 auto; padding: 32px; }
.auth-card h1 { font-size: clamp(26px, 4vw, 32px); margin-bottom: 8px; }
.auth-sub { color: var(--muted); margin-bottom: 20px; }
.auth-foot { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font: 600 14px var(--sans); margin-bottom: 6px; color: var(--ink); }
.form-control { width: 100%; font: 16px var(--sans); padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); }
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.btn-block { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 13px; margin-top: 18px; }
.flash { border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: 15px; }
.flash-ok { background: #ECFDF3; border: 1px solid #BBF0CC; color: #14532D; }
.flash-err { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }
.acct { margin-bottom: 18px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-form .form-control { flex: 1 1 220px; width: auto; }
.pill { display: inline-block; font: 500 12px var(--sans); border-radius: 999px; padding: 3px 12px; }
.pill-ok { background: #ECFDF3; color: #14532D; } .pill-warn { background: #FFFBEB; color: #854D0E; }
.auth-slot { display: inline-flex; gap: 14px; align-items: center; }
.auth-slot a.auth-name { color: var(--ink); font-weight: 600; }
.sync-note { font-size: 14px; }
.consent-list { margin: 10px 0 14px 20px; color: var(--ink); } .consent-list li { margin: 6px 0; }
.site-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.site-row:first-of-type { border-top: 0; }
.ring-in, .book-count, .pg-row, .result-count, .streak-chip, .mark { font-variant-numeric: tabular-nums; }
