/* Generated by scripts/build-apercus.mjs from src/apercus/paper.css: do not edit. */
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/dm-mono-latin-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/dm-mono-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/dm-mono-latin-ext-500.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/dm-mono-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/familjen-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Familjen Grotesk'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/familjen-grotesk-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

html, body { margin: 0; background: transparent; }
/* Upsilar Paper — the site's application illustrations, redrawn from the learner app's Paper skin.
   Colours, faces, radii and shadows are the Upsilar Paper design system's tokens; sizes are the app's
   steps scaled about 1.15× so a view reads at 860 × 555 (the method's 512 × 400 states use .is-small). */
:root {
  --surface: #ffffff; --ground: #f9f7f5; --mat: #f1efec; --line: #e6e2dd; --dash: #cfc9c0;
  --faint: #918b82; --muted: #65668b; --ink: #1f1a43;
  --brand: #4f46e5; --brand-ink: #3730a3; --brand-50: #edf0ff; --brand-200: #c7cffd; --brand-300: #9da9f8; --hl-brand: #b7c1fb;
  --progress: #1eb39e; --progress-solid: #19a693; --progress-ink: #037465; --progress-50: #e9f7f5; --progress-200: #a5e1d8; --hl-progress: #8fd9cf;
  --hook: #ee6438; --hook-ink: #b54016; --hook-50: #fdf1ed; --hook-200: #f9c4b3;
  --ok: #818cf8; --wrong: #a21caf; --wrong-50: #fbeefb; --skip: #94a3b8; --warning-ink: #b45309;
  --sans: "Familjen Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sh-card: 0 2px 6px #28241e0a, 0 6px 16px #28241e10;
  --sh-entry: 0 1px 2px #28241e08;
  --sh-glass: inset 0 1.5px 0 rgb(255 255 255 / .9), 0 2px 6px rgb(40 36 30 / .04), 0 6px 16px rgb(40 36 30 / .07);
}

/* The illustration's frame: the warm ground, its own corners, one shell container 28px in. */
.ax { position: relative; overflow: hidden; box-sizing: border-box; border-radius: 16px; background: var(--ground); padding: 28px;
  font-family: var(--sans); color: var(--ink); font-size: 16px; line-height: 1.3; -webkit-font-smoothing: antialiased; }
.ax *, .ax *::before, .ax *::after { box-sizing: border-box; }
.ax :where(h1, h2, h3, h4, p, ul, ol, li, figure, dl, dd) { margin: 0; padding: 0; list-style: none; }
.ax :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; text-align: left; cursor: default; }
.ax svg { display: block; flex: none; }
.ax[data-hue="progress"] { --hue: var(--progress); --hue-ink: var(--progress-ink); --hl: var(--hl-progress); }
.ax[data-hue="brand"] { --hue: var(--brand); --hue-ink: var(--brand); --hl: var(--hl-brand); }
.ax[data-hue="none"] { --hue: var(--faint); --hue-ink: var(--muted); --hl: var(--hl-brand); }

/* The shell's container: the app's 22px glass (two warm veils), the one place Paper allows a veil. */
.gl { height: 100%; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; border-radius: 26px;
  background: linear-gradient(180deg, #ffffffa6, #ffffff40), linear-gradient(180deg, #f6f4f1d9, #ece9e4b8); box-shadow: var(--sh-glass); }

/* Type: two faces, named steps. */
.eb { display: flex; align-items: center; gap: 9px; font: 500 12.5px/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--hue-ink); white-space: nowrap; }
.eb::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--hue); flex: none; }
.lab { font: 500 12.5px/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tag { font: 500 11.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.mono { font-family: var(--mono); }
.h1 { font-size: 30px; line-height: 1.12; font-weight: 600; letter-spacing: -.012em; }
.h2 { font-size: 25px; line-height: 1.14; font-weight: 600; letter-spacing: -.01em; }
.h3 { font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.h4 { font-size: 18px; line-height: 1.25; font-weight: 600; }
.lede { font-size: 17px; line-height: 1.42; }
.body { font-size: 16px; line-height: 1.38; }
.sm { font-size: 15px; line-height: 1.35; font-weight: 500; }
.cap { font-size: 14px; line-height: 1.35; color: var(--muted); }
.mu { color: var(--muted); }
.b { font-weight: 600; }
.nw { white-space: nowrap; }
.hl { padding: 0 .1em; margin-inline: -.05em; border-radius: .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(transparent 38%, var(--hl) 38% 96%, transparent 96%); }
.hl.is-brand { background: linear-gradient(transparent 38%, var(--hl-brand) 38% 96%, transparent 96%); }
.hl.is-progress { background: linear-gradient(transparent 38%, var(--hl-progress) 38% 96%, transparent 96%); }
.head { display: flex; flex-direction: column; gap: 6px; }
.ln { display: block; height: 9px; border-radius: 999px; background: var(--line); }

/* Surfaces. */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-card); }
.well { background: var(--ground); border: 1px solid var(--line); border-radius: 14px; }
.row { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--sh-entry); }
.row.is-go { border: 1.5px solid var(--brand); padding: 9.5px 13.5px; }
.row.is-prog { border: 1.5px solid var(--progress); padding: 9.5px 13.5px; }
.row.is-off { border: 1.5px dashed var(--dash); background: transparent; box-shadow: none; }
.rule { height: 1px; background: var(--line); flex: none; }
.tile-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }

/* Buttons: the light primary, the faint-ringed capsule, a text link. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--brand-200); color: var(--brand-ink); font-size: 16px; font-weight: 600; white-space: nowrap; flex: none; }
.capb { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--faint); color: var(--ink); font-size: 16px; font-weight: 600; white-space: nowrap; flex: none; }
.btn.is-sm, .capb.is-sm { height: 38px; padding: 0 16px; font-size: 15px; }
.capb.is-off { border-style: dashed; border-color: var(--dash); color: var(--muted); background: transparent; font-weight: 500; }
.link { color: var(--brand-ink); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.round { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-50); color: var(--brand-ink); display: grid; place-items: center; flex: none; }

/* Choices that are not buttons: chips, segmented tabs, pills. */
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 500; white-space: nowrap; }
.chip.on { border: 1.5px solid var(--brand); color: var(--brand-ink); font-weight: 600; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #ffffff8c; border: 1px solid var(--line); flex: none; }
.tabs > span { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.tabs > .on { border: 1.5px solid var(--brand); background: var(--surface); color: var(--brand-ink); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--brand-50); color: var(--brand-ink); font-size: 14px; font-weight: 600; white-space: nowrap; flex: none; }
.pill.is-tag { height: 24px; padding: 0 9px; font: 500 11.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.pill.is-bad { background: var(--wrong-50); color: var(--wrong); }
.pill.is-prog { background: var(--progress-50); color: var(--progress-ink); }
.pill.is-line { background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 500; }

/* Progress: a bar, a chapter ladder, status discs, checkboxes. */
.bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; display: flex; flex: none; }
.bar > i { display: block; height: 100%; background: var(--progress); border-radius: 999px; }
.segs { display: flex; gap: 4px; }
.segs > i { flex: 1; height: 7px; border-radius: 3px; background: var(--line); }
.segs > i.on { background: var(--progress); }
.st { width: 20px; height: 20px; border-radius: 50%; border: 1.8px solid var(--brand); display: grid; place-items: center; color: #fff; flex: none; }
.st.is-done { background: var(--progress-solid); border-color: var(--progress-solid); }
.st.is-half { border-color: var(--progress-ink); background: linear-gradient(180deg, var(--surface) 50%, var(--progress-200) 50%); }
.st.is-lock { border: 1.6px dashed var(--dash); color: var(--faint); }
.cb { width: 20px; height: 20px; border-radius: 6px; border: 1.6px solid var(--faint); background: var(--surface); display: grid; place-items: center; color: #fff; flex: none; }
.cb.on { background: var(--brand); border-color: var(--brand); }

/* Answer choices: at rest, chosen, and graded. */
.opts { display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 16px; }
.opt > .l { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 500 12.5px/1 var(--mono); color: var(--muted); flex: none; }
.opt > .r { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.opt.sel { border: 2px solid var(--brand); background: var(--brand-50); padding: 6px 13px; }
.opt.sel > .l { background: var(--brand); border-color: var(--brand); color: #fff; }
.opt.ok { border: 2px solid var(--ok); background: var(--brand-50); padding: 6px 13px; }
.opt.ok > .l { background: var(--ok); border-color: var(--ok); color: #fff; }
.opt.ok > .r { color: var(--brand-ink); }
.opt.bad { border: 2px solid var(--wrong); background: var(--wrong-50); padding: 6px 13px; }
.opt.bad > .l { background: var(--wrong); border-color: var(--wrong); color: #fff; }
.opt.bad > .r { color: var(--wrong); }

/* Session and results registers: answer cells and graded tiles. */
.cells { display: flex; gap: 5px; }
.cell { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; font: 500 12.5px/1 var(--mono); color: var(--muted); flex: none; }
.cell.is-ans { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-ink); }
.cell.is-cur { border: 2px solid var(--brand); color: var(--brand-ink); }
.tiles { display: grid; gap: 6px; }
.tile { position: relative; height: 56px; border-radius: 10px; background: var(--ok); color: #fff; display: grid; place-items: center; }
.tile > b { position: absolute; left: 6px; top: 5px; font: 500 11px/1 var(--mono); }
.tile.is-bad { background: var(--wrong); }

/* Courses: a book cover with its chapter spine. */
.cover { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; height: 104px; padding: 11px 12px 10px 24px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-entry); }
.cover > .spine { position: absolute; left: 9px; top: 11px; bottom: 10px; width: 6px; display: flex; flex-direction: column; gap: 3px; }
.cover > .spine > i { flex: 1; border-radius: 2px; background: var(--line); }
.cover > .spine > i.on { background: var(--progress); }
.cover > .t { font-size: 15.5px; line-height: 1.2; font-weight: 600; }
.cover > .s { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.cover.is-read > .s { color: var(--progress-ink); }
.cover.is-next { border: 2px solid var(--brand); box-shadow: 0 0 0 4px var(--brand-50); padding: 10px 11px 9px 23px; }
.cover.is-next > .s { color: var(--brand-ink); font-weight: 600; }
.cover.is-locked { background: transparent; border: 1.5px dashed var(--dash); box-shadow: none; }
.cover.is-locked > .t { color: var(--muted); }

/* The method's small states: the app's own steps, unscaled. */
.ax.is-small { padding: 16px; font-size: 13px; border-radius: 14px; }
.ax.is-small .gl { padding: 14px 16px; gap: 10px; border-radius: 20px; }
.ax.is-small .eb, .ax.is-small .lab { font-size: 10.5px; gap: 7px; }
.ax.is-small .eb::before { width: 7px; height: 7px; }
.ax.is-small .card { border-radius: 16px; }
.ax.is-small .btn, .ax.is-small .capb { height: 32px; padding: 0 13px; font-size: 13px; gap: 6px; }
.ax.is-small .opt { min-height: 34px; padding: 4px 10px; gap: 9px; font-size: 13px; border-radius: 10px; }
.ax.is-small .opt.sel, .ax.is-small .opt.ok, .ax.is-small .opt.bad { padding: 3px 9px; }
.ax.is-small .opt > .l { width: 22px; height: 22px; font-size: 10.5px; }
.ax.is-small .pill { height: 22px; padding: 0 8px; font-size: 11.5px; }
.ax.is-small .pill.is-tag { height: 20px; font-size: 10px; }
