/* Site styles. One light theme: warm paper, deep ink, amber accent. */
:root {
  --ink: #14182B;
  --ink-2: #212848;
  --paper: #F6F1E7;
  --paper-2: #EDE6D6;
  --card: #FBF8F1;
  --amber: #E0A33A;
  --amber-deep: #8A5A05;
  --design: #B4532A;
  --slate: #4B5066;
  --mist: #B4B9CC;
  --rule: #D8CFBA;
  --danger: #9B2C2C;
  --ok: #2F6B4F;
  --radius: 16px;
  --wrap: 1120px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: Inter, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--amber-deep); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font: 600 clamp(2.1rem, 6vw, 3.4rem)/1.05 var(--serif); letter-spacing: -.01em; }
h2 { font: 600 clamp(1.5rem, 3.6vw, 2.1rem)/1.15 var(--serif); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
small { font-size: .82em; color: var(--slate); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; color: var(--amber-deep); margin: 0 0 .9em; }
.lead { font-size: 1.15rem; line-height: 1.5; }
.hint { font-size: .88rem; color: var(--slate); margin: .35em 0 0; }
.note { background: var(--paper-2); border-radius: 12px; padding: 12px 16px; font-size: .95rem; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

/* header and footer */
.site-header { background: var(--ink); color: var(--paper); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 1.15rem var(--serif); text-decoration: none; color: var(--paper); }
.brand:hover { color: var(--amber); }
.brand-mark { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: 18px; font-size: .92rem; }
.nav a { text-decoration: none; color: var(--mist); }
.nav a:hover { color: var(--paper); }
.langs { display: inline-flex; gap: 2px; border: 1px solid #3A4166; border-radius: 999px; padding: 2px; }
.langs a { padding: 2px 9px; border-radius: 999px; font-weight: 600; font-size: .78rem; }
.langs a[aria-current] { background: var(--paper); color: var(--ink); }
@media (max-width: 560px) { .nav { gap: 12px; font-size: .85rem; } .nav a.nav-calc { display: none; } .brand { font-size: 1.05rem; } }
.site-footer { background: var(--ink); color: var(--mist); padding: 36px 0 44px; margin-top: 48px; font-size: .92rem; }
.site-footer a { color: var(--paper); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-small { font-size: .8rem; margin: .4em 0 0; }

/* sections */
.section { padding: 48px 0; }
.section.tinted { background: var(--paper-2); }
.two { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; gap: 48px; } }
.plain { list-style: none; padding: 0; margin: 0 0 1em; }
.plain li { padding: 6px 0; border-bottom: 1px solid var(--rule); }
.plain li:last-child { border-bottom: 0; }
.plain.attention li { border-color: var(--amber); }

/* hero and calculator */
.hero { background: var(--ink); color: var(--paper); padding: 36px 0 56px; }
.hero .eyebrow { color: var(--amber); }
.hero-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; padding-top: 24px; } }
.hero .lead { color: var(--mist); }
.points { list-style: none; padding: 0; margin: 1.4em 0 0; }
.points li { position: relative; padding: 6px 0 6px 26px; color: var(--mist); }
.points li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--amber); }
.calc { background: var(--card); color: var(--ink); border-radius: 22px; padding: 26px 24px 28px; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); }
.calc-title { font: 600 1.35rem var(--serif); margin-bottom: 14px; }
.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.field legend, .field > label:not(.check) { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 6px; display: block; }
.row { display: flex; gap: 10px; align-items: flex-end; }
.row label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.row label span { font-size: .78rem; color: var(--slate); }
.row .grow { flex: 1; }
.calc .date-row input[name=day], .calc .time-row input { width: 4.6em; text-align: center; }
.calc .date-row input[name=year] { width: 6em; text-align: center; }
.colon { font-weight: 700; padding-bottom: 12px; }
input[type=text], input:not([type]), select {
  font: inherit; color: inherit; background: #fff; border: 1.5px solid var(--rule); border-radius: 12px;
  padding: 11px 12px; width: 100%; min-height: 48px; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 32px; }
input:focus, select:focus { border-color: var(--ink); outline: 3px solid var(--amber); outline-offset: 0; }
input:disabled { background: var(--paper-2); color: var(--slate); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; margin-top: 10px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.consent { margin: 4px 0 18px; font-size: .88rem; color: var(--slate); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--ink); color: var(--paper); }
.button.primary { background: var(--amber); border-color: var(--amber); color: var(--ink); width: 100%; }
.calc .button.primary { min-height: 54px; font-size: 1.05rem; }
.button.primary:hover { background: #EDB556; border-color: #EDB556; color: var(--ink); }
.prose .button.primary, .message .button.primary { width: auto; }
.button.ghost { border-color: var(--rule); }
.button.danger { border-color: var(--danger); color: var(--danger); }
.button.danger:hover { background: var(--danger); color: #fff; }
.alert { background: #FBECEC; border: 1.5px solid var(--danger); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: .95rem; }
.alert-title { font-weight: 600; margin: 0 0 4px; }
.alert ul { margin: 0; padding-left: 20px; }
.combo { position: relative; }
.combo-list { position: absolute; left: 0; right: 0; z-index: 5; margin: 4px 0 0; padding: 6px; list-style: none; background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: 0 12px 30px rgba(20, 24, 43, .18); max-height: 320px; overflow: auto; }
.combo-list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.combo-list li[aria-selected=true], .combo-list li:hover { background: var(--paper-2); }
.combo-list small { display: block; }
.options { margin-top: 8px; }

/* steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--card); border-radius: var(--radius); padding: 22px 22px 8px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 700; margin-bottom: 12px; }

/* chart page */
.chart-head { background: var(--ink); color: var(--paper); padding: 32px 0 36px; }
.chart-head .eyebrow { color: var(--amber); }
.born { color: var(--mist); margin-bottom: 22px; }
.summary { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; }
@media (min-width: 560px) { .summary { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .summary { grid-template-columns: repeat(4, 1fr); } }
.summary-item { background: var(--ink-2); border-radius: 14px; padding: 14px 16px; min-width: 0; }
/* the plain words first, the term of the system after them */
.summary dt { font-size: .95rem; color: var(--paper); margin-bottom: 6px; line-height: 1.3; }
.summary dt small { display: block; margin-top: 2px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); }
.summary dd { margin: 0; font-weight: 600; font-size: 1.25rem; line-height: 1.25; overflow-wrap: anywhere; color: var(--amber); }
.summary dd small { display: block; font-weight: 400; font-size: .88rem; color: var(--mist); margin-top: 3px; }
.summary dd small.varies { color: var(--amber); font-size: .78rem; }
.varies-note { font-size: .92rem; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.jump a { text-decoration: none; font-size: .88rem; color: var(--paper); border: 1px solid #3A4166; border-radius: 999px; padding: 6px 14px; }
.jump a:hover { background: var(--paper); color: var(--ink); }
.chart-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.chart-figure { margin: 0; background: var(--card); border-radius: 22px; padding: 14px 14px 18px; position: relative; }
@media (min-width: 940px) { .chart-grid { grid-template-columns: minmax(340px, 440px) 1fr; gap: 48px; align-items: start; } .chart-figure { position: sticky; top: 16px; } }
.chart-figure svg { display: block; width: 100%; height: auto; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 8px 6px 0; font-size: .82rem; color: var(--slate); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.swatch.defined { background: #E6AE4C; }
.swatch.open { background: #FFFDF8; border: 1.5px solid #6B7088; }
.swatch.line { height: 5px; border-radius: 3px; width: 20px; }
.swatch.personality { background: var(--ink); }
.swatch.design { background: var(--design); }
.chart-figure .hint { margin: 8px 6px 0; }
.gate-tip { position: absolute; left: 14px; right: 14px; bottom: 14px; background: var(--ink); color: var(--paper); border-radius: 12px; padding: 10px 14px; font-size: .9rem; }
.block { background: var(--card); border-radius: var(--radius); padding: 22px 24px 10px; margin-bottom: 16px; }
.block-label { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-deep); font-weight: 600; margin-bottom: 6px; }
.block h3 { font: 600 1.45rem var(--serif); }
.one-liner { font-weight: 600; }
.sub { border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 4px; }
.pair { display: grid; gap: 12px; margin: 0 0 1em; }
@media (min-width: 620px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair > div { background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.pair dt { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.pair dd { margin: 0; font-size: .95rem; }
.try, .watch, .question { border-left: 3px solid var(--amber); padding-left: 14px; }
.watch { border-color: var(--mist); }
.question { border-color: var(--design); font-style: italic; }
.grade { border-left: 4px solid var(--amber); padding: 4px 0 4px 16px; font-size: 1.05rem; }
.grade-a, .grade-b { border-color: var(--ok); }
.grade-d, .grade-e { border-color: var(--design); }
table { width: 100%; border-collapse: collapse; }
.passport th, .passport td { text-align: left; vertical-align: top; padding: 12px 10px 12px 0; border-top: 1px solid var(--rule); font-weight: 400; }
.passport th { width: 42%; font-weight: 600; }
.passport th small { display: block; font-weight: 400; overflow-wrap: anywhere; }
.passport td p { margin: 0 0 6px; }
.passport tr.stable td { color: var(--ok); }
.passport tr.changes td { color: var(--design); }
.centers { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .centers { grid-template-columns: 1fr 1fr; } }
.center-card { background: var(--card); border-radius: var(--radius); padding: 0 20px; border: 2px solid transparent; }
.center-card[open] { padding-bottom: 12px; }
.center-card.is-active { border-color: var(--ink); }
.center-card summary { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; padding: 16px 0; list-style: none; font-weight: 600; }
.center-card summary::-webkit-details-marker { display: none; }
.center-card summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; font-weight: 400; color: var(--slate); }
.center-card[open] summary::after { content: "–"; }
.center-card .dot { width: 16px; height: 16px; border-radius: 5px; background: #FFFDF8; border: 1.5px solid #6B7088; flex: none; margin-top: 4px; }
.center-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.center-theme { font-weight: 400; font-size: .9rem; color: var(--slate); }
.center-card.defined .dot { background: #E6AE4C; border-color: #E6AE4C; }
.center-state { font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-top: -6px; }
.group-title { font: 600 1.25rem var(--serif); margin: 28px 0 12px; display: flex; align-items: center; gap: 10px; }
.count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; border-radius: 15px; background: var(--ink); color: var(--paper); font: 600 .9rem var(--sans); padding: 0 8px; }
.measure { max-width: 760px; }
.gate-chip { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 13px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; margin: 0 3px 3px 0; padding: 0 6px; }
.gate-chip.design { background: var(--design); }
.gate-chip.both { background: linear-gradient(90deg, var(--design) 50%, var(--ink) 50%); }
.activations { max-width: 420px; }
.activations th, .activations td { padding: 7px 8px; border-top: 1px solid var(--rule); text-align: center; font-variant-numeric: tabular-nums; }
.activations thead th { border-top: 0; font-size: .85rem; }
.activations thead small { display: block; font-weight: 400; }
.activations tbody th { font-weight: 400; color: var(--slate); font-size: .92rem; }
.activations td.design { color: var(--design); font-weight: 600; }
.activations td.personality { font-weight: 600; }
.fold { border-top: 1px solid var(--rule); padding: 10px 0; }
.fold summary { cursor: pointer; font-weight: 600; }
.offset-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 10px; }
.offset-form label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: var(--slate); }
.offset-form input { width: 6em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-block; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 4px 14px; font-size: .85rem; font-weight: 600; }
.end-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.end-actions form { margin: 0; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 22px; }
.message { text-align: left; padding-top: 24px; }

/* the chart drawing (same rules as in the standalone SVG) */
.hd-chart{--hd-ink:#14182B;--hd-design:#B4532A;--hd-defined:#E6AE4C;--hd-open:#FFFDF8;--hd-outline:#6B7088;--hd-track:#DDD5C2;--hd-muted:#8A8DA0;--hd-on-dark:#FFFDF8;font-family:var(--sans)}
.hd-chart .track{fill:none;stroke:var(--hd-track);stroke-width:8;stroke-linecap:round}
.hd-chart .half{fill:none;stroke-width:8;stroke-linecap:butt}
.hd-chart .half.personality{stroke:var(--hd-ink)}
.hd-chart .half.design{stroke:var(--hd-design)}
.hd-chart .half.stripe{stroke:var(--hd-design);stroke-dasharray:6 6}
.hd-chart .hub{fill:var(--hd-track)}
.hd-chart .hub.on{fill:var(--hd-ink)}
.hd-chart .center .rim{fill:var(--hd-outline);stroke:var(--hd-outline);stroke-width:11;stroke-linejoin:round}
.hd-chart .center .body{stroke-width:8;stroke-linejoin:round}
.hd-chart .center.defined .rim{fill:var(--hd-defined);stroke:var(--hd-defined)}
.hd-chart .center.defined .body{fill:var(--hd-defined);stroke:var(--hd-defined)}
.hd-chart .center.open .body,.hd-chart .center.empty .body{fill:var(--hd-open);stroke:var(--hd-open)}
.hd-chart .center.empty .rim{fill:var(--hd-muted);stroke:var(--hd-muted);opacity:.75}
.hd-chart .gate text{font-size:9px;font-weight:600;text-anchor:middle;dominant-baseline:central;fill:var(--hd-muted)}
.hd-chart .gate.in-defined text{fill:#6A4A0C}
.hd-chart .gate.on text{fill:var(--hd-on-dark)}
.hd-chart .gate .dot.personality{fill:var(--hd-ink)}
.hd-chart .gate .dot.design{fill:var(--hd-design)}
.hd-chart [data-center],.hd-chart [data-gate]{cursor:pointer}
.hd-chart [data-center]:focus-visible .rim,.hd-chart [data-center].is-active .rim{stroke:var(--hd-ink);stroke-width:15}
.hd-chart [data-gate]:focus-visible circle,.hd-chart [data-gate].is-active circle{stroke:var(--hd-ink);stroke-width:2}
.hd-chart :focus{outline:none}

@media print {
  .site-header, .site-footer, .calc, #save, #feedback, .like, .jump, .offer-box, .end-actions, .fold, .skip { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .section { padding: 18px 0; }
  .chart-head { background: #fff; color: #000; }
  .summary-item { background: #f2f2f2; color: #000; }
  .center-card { break-inside: avoid; }
}

/* the personal reading */
.button.on-dark { border-color: var(--mist); color: var(--paper); }
.button.on-dark:hover { background: var(--paper); color: var(--ink); }
.chart-head .actions { margin-top: 18px; }
.chart-head .button.primary { width: auto; }
.preview-note { margin-top: 20px; }
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; }
.report-main { min-width: 0; max-width: 760px; width: 100%; margin: 0 auto; }
.rtoc { background: var(--card); border-radius: var(--radius); padding: 20px 24px 12px; }
.rtoc h2 { font-size: 1.2rem; }
.rtoc ol { margin: 0; padding-left: 22px; }
.rtoc li { padding: 3px 0; }
.rtoc a[aria-current] { font-weight: 600; text-decoration-color: var(--amber); text-decoration-thickness: 3px; }
.report-side { max-width: 760px; width: 100%; margin: 0 auto; }
.report-side .rfigure { max-width: 400px; margin: 0 auto 20px; position: static; }
@media (min-width: 1000px) {
  /* the chart stays beside the text: every center, channel and gate opens its explanation */
  .report-layout { grid-template-columns: minmax(300px, 380px) minmax(0, 720px); gap: 48px; align-items: start; justify-content: center; }
  .report-side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; margin: 0; }
  .report-side .rfigure { max-width: none; }
  .report-main { margin: 0; }
  .report-main > .rchapter:first-child { margin-top: 0; }
}
.hd-chart .channel.defined, .report-page .hd-chart .channel.spoke { cursor: pointer; }
.hd-chart .channel.defined:focus-visible .half, .hd-chart .channel.is-active .half { stroke-width: 13; }
.is-target { outline: 3px solid var(--amber); outline-offset: 3px; }
.rsection:focus, .rgates li:focus { outline: none; }
.chart-toggle { position: fixed; right: 16px; bottom: 16px; z-index: 30; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font: 600 1rem var(--sans); box-shadow: 0 8px 24px rgba(20, 24, 43, .35); cursor: pointer; }
.chart-toggle[hidden] { display: none; }
@media (min-width: 1000px) { .chart-toggle { display: none; } }
@media (max-width: 999px) {
  /* phones: the chart opens over the text from the floating button */
  .report-page.chart-open { overflow: hidden; }
  .report-page.chart-open .report-side { position: fixed; inset: 0; z-index: 20; max-width: none; background: var(--paper); overflow: auto; padding: 16px 16px 88px; }
}
.rchapter { border-top: 2px solid var(--ink); margin-top: 44px; padding-top: 26px; }
.rnumber { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-deep); margin: 0 0 .6em; }
.rlead { font-size: 1.1rem; color: var(--slate); }
.rsection { background: var(--card); border-radius: var(--radius); padding: 22px 24px 10px; margin: 16px 0; }
.rsection h3 { font: 600 1.4rem var(--serif); }
.rsection.minor h3 { font-size: 1.2rem; }
.rsection.experiment { border-left: 4px solid var(--amber); }
.rlabel { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-deep); font-weight: 600; margin: 0 0 6px; }
.rone { font-weight: 600; }
.rnote { border-left: 3px solid var(--amber); padding-left: 14px; }
.rnote.watch { border-color: var(--mist); }
.rnote.plain { border-color: var(--rule); }
.rnote.question { border-color: var(--design); font-style: italic; }
.rnote.accuracy { border: 0; background: var(--paper-2); border-radius: 12px; padding: 10px 14px; font-size: .95rem; }
.rsection.together { border: 2px solid var(--amber); }
.rsection.together h3 { font-size: 1.2rem; }
.rdivider { font: 600 1.3rem var(--serif); margin: 32px 0 8px; }
.rfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 8px; }
@media (min-width: 620px) { .rfacts { grid-template-columns: repeat(3, 1fr); } }
.rfacts > div { background: var(--card); border-radius: 14px; padding: 12px 14px; }
.rfacts dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 3px; }
.rfacts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.rfacts dd small { display: block; font-weight: 400; }
.rconclusions { list-style: none; counter-reset: c; padding: 0; margin: 0; }
.rconclusions li { counter-increment: c; position: relative; background: var(--card); border-radius: var(--radius); padding: 16px 20px 16px 62px; margin-bottom: 10px; }
.rconclusions li::before { content: counter(c); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.rtable th, .rtable td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-top: 1px solid var(--rule); font-weight: 400; }
.rtable th { width: 42%; font-weight: 600; }
.rtable th small { display: block; font-weight: 400; overflow-wrap: anywhere; }
.rtable td p { margin: 0 0 6px; }
.rtable tr.stable td { color: var(--ok); }
.rtable tr.changes td { color: var(--design); }
.rplain { list-style: none; padding: 0; }
.rplain li { padding: 5px 0; border-bottom: 1px solid var(--rule); }
.rgates { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (min-width: 720px) { .rgates { grid-template-columns: 1fr 1fr; } }
.rgates li { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border-radius: 12px; padding: 10px 12px; font-size: .95rem; }
.rgates small { display: block; }
.rsmall { font-size: .85rem; color: var(--slate); }

/* invitation code and feedback */
.button.filled { background: var(--ink); color: var(--paper); }
.button.filled:hover { background: var(--ink-2); color: var(--paper); }
.form-error { color: var(--danger); font-weight: 600; }
.code-form { margin-top: 12px; }
.code-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.code-row { display: flex; flex-wrap: wrap; gap: 10px; }
.code-row input { flex: 1 1 200px; width: auto; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
textarea { font: inherit; color: inherit; background: #fff; border: 1.5px solid var(--rule); border-radius: 12px; padding: 11px 12px; width: 100%; resize: vertical; }
textarea:focus { border-color: var(--ink); outline: 3px solid var(--amber); outline-offset: 0; }
.feedback-form > label { display: block; font-weight: 600; font-size: .95rem; margin: 18px 0 6px; }
.feedback-form .actions { margin-top: 14px; }
.rating { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.rating legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 8px; }
.rating-row { display: inline-flex; gap: 8px; }
.rating-row label { position: relative; cursor: pointer; }
.rating-row input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rating-row span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--rule); background: #fff; font-weight: 600; }
.rating-row input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.rating-row input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 8px 0; border-top: 1px solid var(--rule); }
.rating-name { flex: 1 1 220px; }
.rating-line .rating-row span { width: 38px; height: 38px; font-size: .9rem; }

/* purchase page */
.buy-chapters { padding-left: 22px; margin: 0 0 1em; }
.buy-chapters li { padding: 3px 0; }
.buy-form { background: var(--card); border-radius: var(--radius); padding: 22px 24px 18px; margin: 28px 0 20px; }
.buy-form h2 { font-size: 1.3rem; }
.buy-form .check { margin: 12px 0; }
.buy-price { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--rule); margin: 18px 0 14px; padding-top: 14px; }
.buy-price strong { font: 600 1.6rem var(--serif); }
.buy-form .button.primary { min-height: 54px; font-size: 1.05rem; }

/* the short portrait: plain words first, every term explained where it is met */
.explain { font-size: .92rem; color: var(--slate); border-left: 3px solid var(--rule); padding-left: 12px; }
.origin { font-size: .92rem; color: var(--slate); }
.lines { list-style: none; padding: 0; margin: 0 0 1em; }
.lines li { padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.lines li:last-child { border-bottom: 0; }
/* what is told in the reading only */
.locked { border-top: 1px solid var(--rule); padding-top: 10px; font-size: .92rem; color: var(--slate); }
.locked::before { content: ""; display: inline-block; width: 9px; height: 9px; border: 2px solid var(--amber-deep); border-radius: 50%; margin-right: 8px; }
.block.teaser { border: 2px solid var(--amber); }
.block.teaser h3 { font-size: 1.2rem; }
.fade { max-height: 3.3em; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 92%); mask-image: linear-gradient(to bottom, #000 0%, transparent 92%); }
/* one tap: "is this like you?" */
.like { border-top: 1px solid var(--rule); padding: 12px 0 14px; margin-top: 4px; }
.like-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.like-question { font-weight: 600; font-size: .95rem; margin-right: 6px; }
@media (max-width: 560px) { .like-question { flex-basis: 100%; } }
.chip { min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1.5px solid var(--rule); background: #fff; color: var(--ink); font: 600 .92rem var(--sans); cursor: pointer; }
.chip:hover, .chip:focus-visible { border-color: var(--ink); }
.like-thanks { margin: 0; font-size: .95rem; color: var(--ok); font-weight: 600; }
/* the contents of the full reading of this very chart */
.outline { list-style: none; counter-reset: o; padding: 0; margin: 24px 0; }
.outline li { counter-increment: o; position: relative; background: var(--card); border-radius: var(--radius); padding: 16px 20px 6px 62px; margin-bottom: 10px; }
.outline li::before { content: counter(o); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.outline h3 { font-size: 1.08rem; margin-bottom: .35em; }
.outline p { font-size: .97rem; margin-bottom: .45em; }
.outline li > p:last-child { margin-bottom: .7em; }
.outline .started { font-size: .82rem; font-weight: 600; color: var(--ok); }
.outline.compact li { padding-bottom: 2px; }
.offer-box { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px 24px 14px; }
.offer-box .button.primary { min-height: 54px; font-size: 1.05rem; }
.rated { font-weight: 600; }
.time-block { margin-top: 28px; }
.time-block h3 { font: 600 1.25rem var(--serif); }
.tech > summary { font-size: 1.05rem; }
.tech h3 { margin-top: 1.4em; }
/* coming back to a chart */
.remember-form { margin: 0 0 1em; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--slate); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: var(--amber-deep); }
.my-charts { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.my-charts li { background: var(--card); border-radius: var(--radius); padding: 18px 22px 8px; }
.my-charts h2 { font-size: 1.35rem; margin-bottom: .3em; }
.my-charts p { margin-bottom: .6em; }
.my-new { margin-top: 28px; }
.my-new .button.primary { width: auto; }
/* the readers' ratings shown to visitors */
.ratings h2 { margin-bottom: .6em; }
.ratings-label { font-weight: 600; margin-bottom: .5em; }
.ratings-label small { font-weight: 400; margin-left: 6px; }
.share-bar { display: block; width: 100%; height: 16px; border-radius: 8px; margin-bottom: 8px; }
.share-yes { fill: var(--ok); background: var(--ok); }
.share-partly { fill: var(--amber); background: var(--amber); }
.share-no { fill: var(--mist); background: var(--mist); }
.share-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 0 0 1em; font-size: .9rem; }
.share-legend li { display: inline-flex; align-items: center; gap: 6px; }

/* the team's page */
.team { padding-top: 28px; padding-bottom: 48px; }
.team h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.team h2 { margin-top: 1.6em; }
.team-page .nav a[aria-current] { color: var(--paper); font-weight: 600; text-decoration: underline; }
.team-table { margin-bottom: 1em; font-size: .95rem; }
.team-table th, .team-table td { text-align: left; vertical-align: top; padding: 8px 12px 8px 0; border-top: 1px solid var(--rule); font-weight: 400; }
.team-table thead th { border-top: 0; font-size: .82rem; color: var(--slate); }
.team-table td { font-variant-numeric: tabular-nums; }
.team-total th, .team-total td { font-weight: 600; background: var(--paper-2); }
.team-comments li small { display: block; }

/* an element hidden by its attribute stays hidden whatever its display rule says */
.button[hidden], .like-form[hidden], .like-thanks[hidden] { display: none; }
