@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --paper-light: #fcfaf5;
  --ink: #192e3a;
  --muted: #5b686d;
  --coral: #bd4935;
  --coral-soft: #f0ddd2;
  --rule: #d6d4c9;
  --green: #3c6553;
  --green-soft: #e3ebe0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, summary, select { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-underline-offset: 4px; }
button { border-radius: 0; }
button:disabled, input:disabled, select:disabled { cursor: wait; opacity: .55; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
#main:focus { outline: none; }
[hidden] { display: none !important; }
svg { flex-shrink: 0; vertical-align: middle; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 6vw, 5rem); line-height: 1.04; }
h1 em { font-weight: 400; color: var(--coral); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); line-height: 1.14; }
h3 { line-height: 1.3; font-size: 1.1rem; font-weight: 600; }
p { line-height: 1.65; }
button { line-height: 1.35; }
input, select { min-width: 0; min-height: 49px; border: 1px solid #aeb5ae; background: var(--paper-light); color: var(--ink); border-radius: 3px; padding: 12px 14px; font-size: 1rem; }
input::placeholder { color: #6e7777; opacity: 1; }
input:focus, select:focus { border-color: var(--coral); }
label, .field-label { font-size: .875rem; font-weight: 600; line-height: 1.45; }
label { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 14px 18px; color: white; background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.connection { position: sticky; top: 0; z-index: 120; padding: 11px 24px; background: var(--ink); color: white; text-align: center; font-size: .85rem; line-height: 1.5; }
.site-header, #main, .site-footer { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; min-height: 106px; border-bottom: 1px solid var(--rule); gap: 28px; }
.brand-link { text-decoration: none; display: inline-flex; align-items: center; }
.brand { display: inline-flex; align-items: flex-start; font-family: var(--serif); letter-spacing: -.065em; font-size: 2.6rem; font-weight: 700; line-height: 1; }
.brand svg { width: 23px; height: 23px; color: var(--coral); margin: -2px 0 0 4px; stroke: currentColor; stroke-width: 3.5; }
.brand-note { font-size: .76rem; letter-spacing: .03em; color: var(--muted); padding-top: 7px; }
.account { margin-left: auto; position: relative; }
.account summary { list-style: none; display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: .82rem; }
.account summary::-webkit-details-marker { display: none; }
.account-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #e6e4d9; font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1rem; }
.account-chevron { font-size: 1.1rem; }
.account-menu { position: absolute; z-index: 15; top: calc(100% + 12px); right: 0; width: 245px; padding: 22px; background: var(--paper-light); border: 1px solid var(--rule); box-shadow: 0 7px 24px #192e3a12; }
.account-menu p { font-size: .85rem; overflow-wrap: anywhere; }
.account-menu .text-button { margin-top: 12px; }
.page-intro { padding: 56px 0 38px; }
.eyebrow { font-size: .68rem; line-height: 1.5; letter-spacing: .13em; font-weight: 650; text-transform: uppercase; }
.page-intro .eyebrow { margin-bottom: 18px; }
.intro-copy { max-width: 490px; color: var(--muted); margin-top: 22px; font-size: 1rem; line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 50px; padding: 14px 23px; background: var(--ink); color: var(--paper-light); text-decoration: none; border: 1px solid var(--ink); border-radius: 3px; font-size: .86rem; font-weight: 600; transition: background .15s, border-color .15s; }
.button:hover:not(:disabled) { background: #2c4857; border-color: #2c4857; }
.button svg { width: 19px; height: 19px; }
.button-wide { width: 100%; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 7px 0; background: none; border: 0; font-size: .84rem; font-weight: 600; text-decoration: none; }
.text-button:hover { color: var(--coral); }
.icon-button { display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; border: 0; background: var(--ink); color: white; }
.daily-feature { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: 45px; margin-top: 4px; align-items: center; }
.daily-figure { min-width: 0; }
.image-link { position: relative; display: block; min-height: 180px; overflow: hidden; background: #e6e3d7; }
.daily-image { width: 100%; height: 370px; object-fit: contain; }
.image-label { display: inline-flex; align-items: center; gap: 5px; position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; background: var(--paper); color: var(--ink); font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 650; }
.image-label svg { width: 15px; height: 15px; }
.image-credit { color: var(--muted); font-size: .63rem; line-height: 1.7; padding-top: 9px; overflow-wrap: anywhere; }
.image-credit a { text-decoration-color: #aab0a8; }
.daily-copy { padding: 15px 0 26px; }
.daily-copy .eyebrow { color: var(--coral); display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }
.small-rule { width: 22px; height: 1px; background: var(--coral); }
.daily-copy h2 { font-size: clamp(2.2rem, 3.7vw, 3rem); }
.daily-copy > p:not(.eyebrow):not(.microcopy) { font-size: .91rem; color: var(--muted); max-width: 350px; margin-top: 18px; }
.daily-copy .button { margin-top: 27px; }
.daily-copy .microcopy { font-size: .67rem; color: var(--muted); margin-top: 15px; }
.daily-empty { grid-column: 1 / -1; width: 100%; border-block: 1px solid var(--rule); }
.reviews-section { margin-top: 67px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 11px; }
.count-label { font-size: .75rem; color: var(--muted); white-space: nowrap; padding-bottom: 4px; }
.review-list { border-top: 1px solid var(--rule); }
.review-row { display: flex; align-items: center; gap: 22px; text-decoration: none; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.review-row:hover .review-text strong { color: var(--coral); }
.review-image { flex: 0 0 88px; height: 82px; background: #e9e5da; }
.review-image img { width: 100%; height: 100%; object-fit: contain; }
.review-text { display: flex; flex: 1; flex-direction: column; gap: 7px; }
.review-text .eyebrow { font-size: .6rem; }
.review-text strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: -.025em; }
.review-text .muted { font-size: .73rem; }
.muted { color: var(--muted); }
.row-arrow { display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; border: 1px solid var(--rule); border-radius: 50%; }
.quiet-empty { display: flex; gap: 22px; padding: 28px 0; border-block: 1px solid var(--rule); }
.quiet-empty h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; letter-spacing: -.025em; margin-bottom: 8px; }
.quiet-empty p { color: var(--muted); font-size: .86rem; max-width: 680px; }
.empty-line { margin-top: 13px; display: block; flex: 0 0 30px; height: 1px; background: var(--coral); }
.section-note { font-size: .8rem; line-height: 1.7; color: var(--muted); margin-block: 17px; }
.editorial-note { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; padding: 30px 0; border-block: 1px solid var(--rule); }
.editorial-note > span { font-family: var(--serif); font-size: 2.3rem; letter-spacing: -.055em; color: var(--coral); }
.editorial-note p { font-size: .8rem; color: var(--muted); }
.editorial-note strong { color: var(--ink); font-weight: 500; }
.site-footer { margin-top: 46px; padding-bottom: 120px; display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: .65rem; }
.bottom-nav { position: fixed; z-index: 20; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; width: min(430px, 100%); padding: 7px 22px calc(9px + env(safe-area-inset-bottom)); background: var(--paper-light); border: 1px solid var(--rule); border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: 0 -3px 18px #192e3a04; }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 48px; text-decoration: none; color: var(--muted); font-size: .68rem; }
.bottom-nav a[aria-current="page"] { color: var(--coral); font-weight: 650; }
.bottom-nav a[aria-current="page"] svg { stroke-width: 2; }
.bottom-nav a:hover { color: var(--ink); }
.stack-form { display: flex; flex-direction: column; gap: 9px; }
.stack-form label:not(:first-child) { margin-top: 11px; }
.field-hint { font-size: .74rem; line-height: 1.65; color: var(--muted); }
.form-error { color: #a43428; font-size: .83rem; line-height: 1.6; overflow-wrap: anywhere; }
.form-error:empty, .form-success:empty, .copy-status:empty { display: none; }
.form-error:not(:empty) { padding: 9px 0; }
.form-success, .copy-status { font-size: .79rem; color: var(--green); line-height: 1.6; }
.inline-form { display: flex; gap: 9px; }
.inline-form input { flex: 1; width: 0; }
.inline-form .button { gap: 10px; padding-inline: 17px; }
.auth-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 90px; padding-top: 65px; align-items: start; }
.auth-story h1 { font-size: clamp(3rem, 5vw, 4.8rem); margin-top: 19px; }
.auth-story .intro-copy { max-width: 400px; }
.auth-panel { padding-top: 17px; max-width: 400px; }
.auth-panel > .eyebrow { color: var(--coral); margin-bottom: 16px; }
.auth-panel h2 { font-size: 2.6rem; max-width: 360px; }
.auth-tabs { display: flex; margin: 29px 0 25px; border-bottom: 1px solid var(--rule); }
.auth-tabs button { border: 0; border-bottom: 2px solid transparent; background: none; padding: 14px 16px; flex: 1; font-size: .84rem; color: var(--muted); }
.auth-tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--coral); font-weight: 600; }
.auth-panel .button { margin-top: 15px; }
.auth-footnote { font-size: .75rem; line-height: 1.8; color: var(--muted); margin-top: 25px; }
.auth-footer { padding-bottom: 30px; margin-top: 55px; }
.orbit-art { height: 200px; width: 300px; position: relative; margin-top: 20px; isolation: isolate; }
.orbit-ring { position: absolute; border: 1px solid #a6aaa0; width: 160px; height: 160px; border-radius: 50%; top: 8px; }
.ring-one { left: 23px; }
.ring-two { left: 77px; }
.ring-three { left: 50px; top: 35px; width: 160px; height: 106px; border-color: var(--coral); }
.orbit-dot { position: absolute; width: 13px; height: 13px; background: var(--coral); border-radius: 50%; top: 24px; left: 201px; }
.orbit-word { font-family: var(--serif); font-size: 3.4rem; position: absolute; top: 51px; left: 81px; font-style: italic; letter-spacing: -.05em; }
.orbit-caption { position: absolute; bottom: 8px; left: 15px; font-size: .52rem; letter-spacing: .16em; color: var(--muted); }
.learning-steps { padding: 0; margin: 23px 0 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.learning-steps li { display: flex; gap: 15px; }
.learning-steps li > span { font-family: var(--serif); font-size: 1.3rem; color: var(--coral); }
.learning-steps strong { font-size: .82rem; font-weight: 650; }
.learning-steps p { font-size: .77rem; color: var(--muted); margin-top: 3px; }
.invite-notice { padding: 15px 17px; margin-top: 20px; border-left: 2px solid var(--coral); background: var(--coral-soft); }
.invite-notice strong { font-size: .82rem; }
.invite-notice p { font-size: .77rem; margin-top: 5px; }
.back-link { display: inline-flex; gap: 9px; align-items: center; color: var(--muted); font-size: .78rem; min-height: 44px; text-decoration: none; margin-block: 25px 18px; }
.back-link:hover { color: var(--coral); }
.quiz-heading { max-width: 780px; padding: 6px 0 32px; }
.quiz-heading h1 { font-size: clamp(2.5rem, 4.8vw, 4rem); margin-top: 17px; }
.quiz-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 45px; align-items: start; }
.quiz-image-wrap { background: #e6e3d7; height: min(52vw, 540px); display: flex; align-items: center; justify-content: center; }
.quiz-image-wrap img { width: 100%; height: 100%; object-fit: contain; }
.quiz-answer { padding-top: 8px; }
.quiz-answer label { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; letter-spacing: -.025em; margin-bottom: 6px; }
.quiz-answer .button { margin-top: 13px; }
.choice-area { margin: 13px 0 3px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 10px 0; }
.choice { text-align: left; min-height: 52px; border: 1px solid var(--rule); border-radius: 3px; padding: 11px 13px; background: transparent; font-size: .84rem; }
.choice:hover { border-color: var(--ink); }
.choice[aria-pressed="true"] { border-color: var(--coral); background: var(--coral-soft); }
.skip-answer { color: var(--muted); font-size: .78rem; }
.answer-result { display: flex; gap: 13px; align-items: flex-start; padding: 19px 23px; margin: 0 0 28px; background: var(--coral-soft); }
.answer-correct { background: var(--green-soft); }
.answer-result > span { margin-top: 1px; }
.answer-result strong { font-size: .9rem; }
.answer-result p { font-size: .82rem; margin-top: 6px; }
.lesson-heading { max-width: 830px; margin-bottom: 30px; }
.lesson-heading h1 { margin-top: 18px; }
.lesson-summary { font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.6; margin-top: 25px; color: #3a4d54; }
.lesson-figure { max-width: 100%; }
.lesson-figure > img { width: 100%; height: 490px; object-fit: contain; background: #e6e3d7; }
.lesson-body { width: min(800px, 100%); margin: 45px auto 0; }
.facts-section > h2, .feedback-section > h2, .sources-section > h2 { margin-top: 13px; }
.fact-list { list-style: none; margin: 28px 0 0; padding: 0; }
.fact-list li { display: flex; gap: 24px; padding: 24px 0; border-top: 1px solid var(--rule); }
.fact-number { color: var(--coral); font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
.fact-list h3 { font-size: 1rem; margin-bottom: 10px; }
.fact-list p { font-size: .92rem; color: #45585e; line-height: 1.85; }
.curiosity { background: var(--coral-soft); padding: 34px 38px; margin-block: 22px 50px; }
.curiosity .eyebrow { color: #8e382a; }
.curiosity h2 { margin: 10px 0 18px; }
.curiosity > p:last-child { font-family: var(--serif); font-size: 1.3rem; line-height: 1.7; }
.slides-section { margin: 46px 0; }
.slides-section .section-heading { margin-bottom: 12px; }
.slide-viewer { width: 100%; height: 490px; border: 1px solid var(--rule); background: var(--ink); }
.slide-viewer iframe { width: 100%; height: 100%; display: block; border: 0; }
.slide-viewer.is-expanded { position: fixed; z-index: 100; inset: 0; width: 100%; height: 100dvh; border: 0; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }
.slide-expanded-header { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; padding: max(8px, env(safe-area-inset-top)) 18px 8px; gap: 18px; color: var(--paper); background: var(--ink); }
.slide-expanded-header > span { font-size: .78rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.slide-expanded-header .text-button { flex-shrink: 0; color: white; }
.is-expanded iframe { height: 0; flex: 1; min-height: 0; background: var(--paper); }
.viewer-open { overflow: hidden; }
.feedback-section { margin: 48px 0; }
.feedback-section > h2 { margin-bottom: 22px; }
.feedback-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.feedback-row > span { font-size: .87rem; }
.feedback-row > div { display: flex; gap: 6px; }
.thumb-button { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 10px 12px; border: 1px solid transparent; background: none; font-size: .76rem; border-radius: 3px; }
.thumb-button svg { width: 17px; height: 17px; }
.thumb-button:hover { border-color: var(--rule); }
.thumb-button[aria-pressed="true"] { color: #8e382a; border-color: var(--coral); background: var(--coral-soft); }
.feedback-section > .field-hint { margin-top: 13px; }
.sources-section { margin-block: 48px; }
.sources-section ol { list-style: none; padding: 0; margin: 22px 0 0; }
.sources-section li { border-bottom: 1px solid var(--rule); }
.sources-section li a { padding: 18px 0; display: flex; align-items: center; gap: 20px; justify-content: space-between; text-decoration: none; font-size: .84rem; line-height: 1.6; }
.sources-section li a:hover { color: var(--coral); }
.repetition-note { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 26px; }
.lesson-end { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 33px; }
.library-controls { display: flex; gap: 20px; margin-top: 8px; }
.search-field { display: flex; align-items: center; position: relative; flex: 1; }
.search-field > svg { position: absolute; left: 15px; width: 18px; color: var(--muted); }
.search-field input { width: 100%; padding-left: 43px; }
.library-controls select { max-width: 300px; }
.category-progress { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.category-filter { display: inline-flex; align-items: center; gap: 13px; min-height: 42px; padding: 8px 13px; border: 1px solid var(--rule); background: transparent; border-radius: 3px; font-size: .72rem; }
.category-filter strong { font-weight: 650; }
.category-filter strong > span { font-weight: 400; opacity: .75; }
.category-filter.is-selected { border-color: var(--ink); background: var(--ink); color: white; }
.results-count { font-size: .73rem; color: var(--muted); margin: 25px 0 12px; }
.library-list { border-top: 1px solid var(--rule); }
.library-entry { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; padding: 31px 0; border-bottom: 1px solid var(--rule); }
.library-image { display: block; background: #e6e3d7; height: 200px; }
.library-image img { width: 100%; height: 100%; object-fit: contain; }
.library-entry .eyebrow { margin-bottom: 9px; }
.library-entry h2 { font-size: 2rem; }
.library-entry h2 a { display: flex; justify-content: space-between; align-items: center; gap: 18px; text-decoration: none; }
.library-entry h2 a:hover { color: var(--coral); }
.library-summary { margin-top: 11px; font-size: .82rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.learned-date { font-size: .68rem; color: var(--muted); margin-top: 12px; }
.checkpoints { display: flex; flex-wrap: wrap; list-style: none; margin: 21px 0 0; padding: 0; row-gap: 17px; }
.checkpoints li { display: flex; position: relative; flex-direction: column; flex: 1 1 100px; gap: 5px; padding-right: 14px; padding-top: 19px; font-size: .6rem; line-height: 1.5; color: var(--muted); }
.checkpoints li::before { content: ""; position: absolute; height: 1px; background: var(--rule); top: 0; left: 0; width: 100%; }
.checkpoints strong { color: var(--ink); font-size: .67rem; font-weight: 600; }
.checkpoint-dot { display: flex; align-items: center; justify-content: center; position: absolute; top: -7px; left: 0; width: 15px; height: 15px; background: var(--paper); border: 1px solid #aeb5ae; border-radius: 50%; }
.checkpoint-dot svg { width: 11px; height: 11px; }
.is-complete .checkpoint-dot { background: var(--green); color: white; border-color: var(--green); }
.is-due .checkpoint-dot { background: var(--coral); border-color: var(--coral); }
.is-due > span:last-child { color: var(--coral); }
.lesson-checkpoints { padding-bottom: 20px; }
.lesson-checkpoints .checkpoints { margin-top: 35px; }
.library-section-title { font-size: 1.65rem; margin: 25px 0 20px; }
.category-count-hint { margin-top: 10px; }
.available-section { margin-top: 38px; }
.available-entry h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; letter-spacing: -.03em; }
.available-entry .text-button { margin-top: 12px; }
.review-entry { border-bottom: 1px solid var(--rule); padding-bottom: 13px; }
.review-entry .review-row { border-bottom: 0; padding-bottom: 6px; }
.review-entry .image-credit { padding-top: 0; }
.feedback-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.feedback-fields:disabled { opacity: .55; }
.requests-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 43px 0; margin-top: 35px; border-block: 1px solid var(--rule); }
.requests-section h2 { margin: 12px 0 16px; font-size: 2.3rem; }
.requests-section > div > p:not(.eyebrow) { font-size: .84rem; color: var(--muted); }
#own-requests { margin-top: 20px; }
.small-heading { font-size: .77rem; font-weight: 600; margin-bottom: 5px; }
.request-list { padding: 0; margin: 0; list-style: none; }
.request-list li { display: flex; justify-content: space-between; gap: 15px; align-items: baseline; padding: 13px 0; font-size: .8rem; border-bottom: 1px solid var(--rule); }
.request-list li > span:first-child { overflow-wrap: anywhere; min-width: 0; }
.status-label { font-size: .65rem; color: var(--muted); flex-shrink: 0; }
.invite-section { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; border-block: 1px solid var(--rule); padding: 34px 0; margin-top: 5px; }
.invite-section h2 { font-size: 2.5rem; margin: 14px 0 17px; }
.invite-section > div > p:not(.eyebrow) { font-size: .85rem; color: var(--muted); max-width: 360px; }
.copy-field { display: flex; margin-top: 9px; }
.copy-field input { flex: 1; width: 0; font-size: .8rem; border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.copy-field .icon-button { border-radius: 0 3px 3px 0; }
.invite-code-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; font-size: .75rem; }
.invite-code-row strong { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .76rem; letter-spacing: .025em; font-weight: 500; }
.invite-code-row .text-button { font-size: .71rem; }
#friend-form { padding-top: 21px; margin-top: 18px; border-top: 1px solid var(--rule); }
.pending-invite { padding: 25px 29px; background: var(--coral-soft); margin-bottom: 30px; }
.pending-invite h2 { margin-block: 10px 14px; font-size: 2.2rem; }
.pending-invite p:not(.eyebrow) { font-size: .85rem; overflow-wrap: anywhere; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 18px; }
.own-stats, .friends-section { margin-top: 45px; }
.stats-explanation { font-size: .82rem; color: var(--muted); max-width: 770px; margin-bottom: 24px; }
.stats-explanation strong { color: var(--ink); font-weight: 500; }
.stats-scroll { overflow-x: auto; scrollbar-width: thin; }
.stats-table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; font-size: .8rem; }
.stats-table th, .stats-table td { padding: 16px 14px; border-bottom: 1px solid var(--rule); text-align: right; }
.stats-table th:first-child { text-align: left; padding-left: 0; }
.stats-table th:last-child, .stats-table td:last-child { padding-right: 0; }
.stats-table thead th { font-size: .65rem; font-weight: 500; color: var(--muted); vertical-align: bottom; }
.stats-table tbody th { font-weight: 500; }
.retention-count { font-size: 1rem; font-weight: 600; }
.retention-count span { color: var(--muted); font-weight: 400; }
.friend-item { padding: 28px 0 20px; border-top: 1px solid var(--rule); }
.friend-item > header { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 12px; }
.friend-name { display: flex; align-items: center; gap: 11px; min-width: 0; }
.friend-name h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; overflow-wrap: anywhere; }
.remove-friend { font-size: .7rem; color: var(--muted); flex-shrink: 0; }
.empty-state { padding: 65px 0; max-width: 650px; }
.empty-state > .eyebrow { color: var(--coral); margin-bottom: 19px; }
.empty-state h1 { font-size: 3.2rem; }
.empty-state p { color: var(--muted); margin-top: 18px; font-size: .9rem; }
.empty-state .button, .empty-state .text-button { margin-top: 24px; }
.library-empty { padding-block: 43px; }
.initial-loading { padding-top: 50px; }
.initial-loading p { margin-top: 30px; color: var(--muted); font-size: .9rem; }
.page-loading { min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.page-loading p { font-size: .85rem; color: var(--muted); }
.loading-mark { width: 28px; height: 28px; border: 1px solid var(--rule); border-top-color: var(--coral); border-radius: 50%; animation: rotate 1.2s linear infinite; }
.image-unavailable { padding: 24px; color: var(--muted); font-size: .8rem; text-align: center; }
.noscript { padding: 35px; max-width: 640px; margin: auto; }
@keyframes rotate { to { transform: rotate(360deg); } }

@media (min-width: 1100px) {
  .page-intro { position: relative; }
  .page-intro .intro-copy { position: absolute; right: 0; bottom: 47px; width: 315px; font-size: .91rem; }
}
@media (max-width: 900px) {
  .site-header, #main, .site-footer { width: calc(100% - 48px); }
  .daily-feature { gap: 30px; }
  .daily-image { height: 330px; }
  .daily-copy h2 { font-size: 2.35rem; }
  .auth-layout { gap: 40px; }
  .auth-panel h2 { font-size: 2.2rem; }
  .quiz-layout { gap: 28px; grid-template-columns: 1.1fr 1fr; }
  .requests-section, .invite-section { gap: 35px; }
  .library-entry { grid-template-columns: 165px minmax(0, 1fr); gap: 25px; }
  .library-image { height: 165px; }
}
@media (max-width: 650px) {
  .site-header, #main, .site-footer { width: calc(100% - 40px); }
  .site-header { min-height: 81px; gap: 12px; }
  .brand { font-size: 2.15rem; }
  .brand svg { width: 19px; height: 19px; margin-top: -1px; }
  .brand-note { display: none; }
  .account-name { max-width: 100px; font-size: .73rem; }
  .account summary { gap: 6px; }
  .avatar { width: 29px; height: 29px; font-size: .9rem; }
  .page-intro { padding: 33px 0 28px; }
  .page-intro .eyebrow { font-size: .61rem; margin-bottom: 15px; }
  h1 { font-size: 3.35rem; }
  .day-intro { padding: 24px 0; }
  .day-intro h1 { font-size: 2.45rem; }
  .intro-copy { margin-top: 18px; font-size: .85rem; line-height: 1.75; max-width: 340px; }
  .daily-feature { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .daily-image { height: 260px; }
  .image-label { left: 12px; bottom: 12px; padding: 7px 10px; font-size: .58rem; }
  .image-credit { font-size: .58rem; }
  .daily-copy { padding: 18px 0 0; }
  .daily-copy .eyebrow { margin-bottom: 12px; font-size: .62rem; }
  .daily-copy h2 { font-size: 1.9rem; }
  .daily-copy > p:not(.eyebrow):not(.microcopy) { font-size: .83rem; margin-top: 15px; max-width: none; }
  .daily-copy .button { margin-top: 22px; width: 100%; }
  .daily-copy .microcopy { text-align: center; font-size: .62rem; margin-top: 12px; }
  .reviews-section { margin-top: 42px; }
  .section-heading { gap: 10px; margin-bottom: 20px; }
  .section-heading .eyebrow { font-size: .59rem; max-width: 220px; }
  .section-heading h2 { font-size: 2rem; }
  .count-label { font-size: .62rem; padding-bottom: 3px; }
  .review-row { padding: 17px 0; gap: 15px; }
  .review-image { flex-basis: 70px; height: 73px; }
  .review-text { gap: 6px; }
  .review-text .eyebrow { font-size: .55rem; }
  .review-text strong { font-size: 1.3rem; }
  .review-text .muted { font-size: .65rem; line-height: 1.5; }
  .row-arrow { width: 31px; height: 31px; flex-shrink: 0; }
  .row-arrow svg { width: 17px; }
  .quiet-empty { padding-block: 23px; gap: 15px; }
  .quiet-empty p { font-size: .78rem; }
  .empty-line { flex-basis: 19px; }
  .editorial-note { margin-top: 34px; flex-direction: column; align-items: flex-start; gap: 15px; padding-block: 24px; }
  .editorial-note > span { font-size: 2.05rem; }
  .editorial-note p { font-size: .75rem; }
  .site-footer { margin-top: 30px; padding-bottom: 110px; flex-direction: column; gap: 8px; font-size: .6rem; }
  .bottom-nav { border-inline: 0; border-radius: 0; width: 100%; padding-top: 6px; }
  .bottom-nav a { font-size: .65rem; }
  .auth-layout { display: flex; flex-direction: column; gap: 0; padding-top: 32px; }
  .auth-story { display: contents; }
  .auth-story > .eyebrow { order: 0; font-size: .61rem; }
  .auth-story > h1 { order: 1; font-size: 3.15rem; margin-top: 16px; }
  .auth-story > .intro-copy { order: 2; font-size: .85rem; }
  .auth-panel { order: 3; padding-top: 32px; max-width: none; width: 100%; }
  .auth-panel > .eyebrow { display: none; }
  .auth-panel h2 { font-size: 1.9rem; }
  .auth-tabs { margin-top: 14px; }
  .auth-footnote { font-size: .7rem; }
  .orbit-art { order: 5; margin-inline: auto; margin-top: 35px; }
  .learning-steps { order: 4; margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--rule); gap: 21px; width: 100%; }
  .auth-footer { padding-bottom: 25px; }
  .back-link { margin-top: 18px; margin-bottom: 14px; font-size: .73rem; }
  .quiz-heading { padding-bottom: 20px; }
  .quiz-heading > .eyebrow { font-size: .6rem; }
  .quiz-heading h1 { font-size: 2rem; margin-top: 10px; }
  .quiz-layout { display: flex; flex-direction: column; gap: 18px; }
  .quiz-figure, .quiz-answer { width: 100%; }
  .quiz-image-wrap { height: 230px; }
  .quiz-answer { padding-top: 0; }
  .quiz-answer label { font-size: 1.3rem; }
  .answer-result { padding: 17px; margin-bottom: 25px; gap: 10px; }
  .answer-result strong { font-size: .83rem; }
  .answer-result p { font-size: .77rem; }
  .lesson-heading { margin-bottom: 25px; }
  .lesson-heading .eyebrow { font-size: .59rem; }
  .lesson-heading h1 { font-size: 3rem; margin-top: 15px; }
  .lesson-summary { font-size: 1.25rem; line-height: 1.65; margin-top: 19px; }
  .lesson-figure > img { height: 340px; }
  .lesson-body { margin-top: 33px; }
  .fact-list { margin-top: 22px; }
  .fact-list li { gap: 17px; padding-block: 22px; }
  .fact-number { font-size: 1.2rem; }
  .fact-list h3 { font-size: .94rem; }
  .fact-list p { font-size: .85rem; }
  .curiosity { padding: 26px 24px; margin-block: 17px 35px; }
  .curiosity > p:last-child { font-size: 1.2rem; }
  .slides-section { margin-block: 35px; }
  .slides-section .section-heading { flex-wrap: wrap; }
  .slides-section .text-button { font-size: .72rem; }
  .slide-viewer { height: 240px; }
  .section-note { font-size: .75rem; }
  .feedback-section, .sources-section { margin-block: 36px; }
  .feedback-row { flex-wrap: wrap; gap: 8px; padding-block: 14px; }
  .feedback-row > span { flex: 1 0 100%; font-size: .83rem; }
  .feedback-row > div { margin-left: auto; }
  .thumb-button { font-size: .74rem; padding-inline: 11px; }
  .sources-section li a { font-size: .8rem; }
  .lesson-end { flex-direction: column; align-items: stretch; gap: 8px; }
  .library-controls { flex-direction: column; gap: 10px; margin-top: 0; }
  .library-controls select { max-width: none; width: 100%; }
  .category-progress { gap: 7px; margin-top: 14px; }
  .category-filter { font-size: .64rem; min-height: 39px; gap: 8px; padding: 8px 10px; }
  .results-count { margin-top: 21px; font-size: .68rem; }
  .library-entry { grid-template-columns: 80px minmax(0, 1fr); gap: 17px; padding-block: 24px; }
  .library-image { height: 92px; }
  .library-entry .eyebrow { font-size: .57rem; margin-bottom: 7px; }
  .library-entry h2 { font-size: 1.6rem; }
  .library-entry h2 svg { width: 17px; }
  .library-summary { font-size: .75rem; margin-top: 9px; -webkit-line-clamp: 3; }
  .learned-date { font-size: .61rem; margin-top: 10px; }
  .library-entry .checkpoints { margin-left: -97px; margin-top: 28px; }
  .checkpoints li { flex-basis: 70px; font-size: .55rem; padding-right: 8px; }
  .checkpoints strong { font-size: .63rem; }
  .requests-section { display: flex; flex-direction: column; gap: 24px; margin-top: 27px; padding-block: 29px; }
  .requests-section h2 { font-size: 2.15rem; max-width: 320px; }
  .requests-section > div > p:not(.eyebrow) { font-size: .8rem; }
  .inline-form .button { padding-inline: 14px; gap: 7px; font-size: .79rem; }
  .inline-form .button svg { width: 16px; }
  .inline-form input { padding-inline: 11px; }
  .request-list li { font-size: .75rem; }
  .invite-section { display: flex; flex-direction: column; gap: 26px; padding-block: 27px; }
  .invite-section h2 { font-size: 2.15rem; max-width: 290px; }
  .invite-section > div > p:not(.eyebrow) { font-size: .8rem; }
  .invite-code-row { font-size: .7rem; }
  .invite-code-row strong { font-size: .72rem; }
  .pending-invite { padding: 24px 20px; }
  .pending-invite h2 { font-size: 2rem; }
  .pending-invite p:not(.eyebrow) { font-size: .8rem; }
  .pending-invite .button { width: 100%; }
  .button-row { gap: 6px; }
  .own-stats, .friends-section { margin-top: 34px; }
  .stats-explanation { font-size: .76rem; margin-bottom: 16px; }
  .stats-table { font-size: .73rem; }
  .stats-table th, .stats-table td { padding: 14px 7px; }
  .stats-table thead th { font-size: .58rem; line-height: 1.55; }
  .stats-table thead th:nth-child(2) { width: 100px; }
  .retention-count { font-size: .91rem; }
  .friend-item { padding-top: 22px; }
  .friend-name h3 { font-size: 1.3rem; }
  .friend-name { gap: 8px; }
  .empty-state { padding-block: 45px; }
  .empty-state h1 { font-size: 2.8rem; }
  .empty-state p { font-size: .83rem; }
  .connection { padding: 10px 18px; font-size: .74rem; }
}
@media (max-width: 360px) {
  .site-header, #main, .site-footer { width: calc(100% - 32px); }
  h1, .auth-story > h1 { font-size: 2.8rem; }
  .account-name { max-width: 68px; }
  .daily-image { height: 230px; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; }
  .quiz-image-wrap { height: 210px; }
  .lesson-figure > img { height: 290px; }
  .inline-form .button { padding-inline: 11px; }
  .inline-form .button svg { display: none; }
  .stats-table th, .stats-table td { padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .loading-mark { border-top-width: 3px; }
}
