/* Website comfort: presentation only, learning and administration keep their data. */
.study-skip {display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;margin-top:12px}
.study-skip .btn {font-size:14px;min-height:44px}
.study-skip small {color:var(--muted);font-size:13px;line-height:1.5}
.study-return-note {color:var(--green);font-size:13px;margin:12px 0}
.recall-free {padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--student)}
.recall-free p {margin:0 0 14px;color:var(--muted);line-height:1.6}
body:not(.is-public) {--web-content-width:1400px;--web-page-gutter:clamp(18px,3vw,48px);font-family:Inter,Arial,sans-serif}
body:not(.is-public) :is(.top.wrap,.tabbar-in.wrap,.dash-v2,.catalog-page,.insights-page,.reading-page,.web-search-page) {width:min(var(--web-content-width),calc(100% - 2 * var(--web-page-gutter)));max-width:var(--web-content-width)}
body:not(.is-public) .top {padding:18px 24px;gap:20px}
body:not(.is-public) .top-search {max-width:420px;flex:1 1 280px}
body:not(.is-public) .top-search .search {min-height:46px}
body:not(.is-public) .top-search input {font-size:16px}
body:not(.is-public) .tabbar .tab {min-height:46px;padding:13px 18px;font-size:14px}
body:not(.is-public) .tabbar .tab:focus-visible,
.web-search-page :is(a,button):focus-visible,
.reading-page :is(a,button,select):focus-visible {outline:3px solid var(--green);outline-offset:4px}
.dash-v2 .dash-welcome {margin-bottom:24px}
.dash-v2 .dash-welcome {flex-wrap:wrap;gap:18px 24px}
.dash-v2 .dash-welcome h1 {min-width:0;line-height:1.3;overflow-wrap:anywhere}
.dash-v2 .dash-welcome h1 span {display:inline;margin:0;color:var(--muted)}
.dash-v2 .home-reassessment {margin-left:auto}
.dash-v2 .daily-training {margin-top:24px}
.dash-v2 .home-resume-priority {margin:0 0 24px;border-color:var(--green);box-shadow:var(--shadow)}
.dash-v2 .home-resume-priority .home-resume-mark svg {width:28px;height:28px}
.dash-v2 .training-main p,.dash-v2 .training-summary li {font-size:15px;line-height:1.65}
.dash-v2 .training-kicker,.dash-v2 .training-summary>small {font-size:12px}
.dash-v2 .duration-choices button {min-height:58px}
.dash-v2 .home-explore-card small {font-size:13px}
.catalog-page .catalog-heading {padding:26px 30px;margin-bottom:24px;min-height:0}
.catalog-page .catalog-heading h1 {font-size:clamp(27px,3vw,36px);line-height:1.2;letter-spacing:-.025em}
.catalog-page .catalog-heading p:not(.catalog-eyebrow) {font-size:16px;line-height:1.55}
.catalog-page .catalog-heading .catalog-eyebrow {font-size:11px;letter-spacing:.1em}
.catalog-page .catalog-guide small,.catalog-page .catalog-badge {font-size:13px}
.catalog-page .catalog-filters button {min-height:46px;font-size:14px}
.catalog-page .catalog-sidebar :is(p,a,strong),.catalog-page .catalog-session p,.catalog-page .catalog-subject p,.catalog-page .catalog-case-body p {font-size:14px;line-height:1.6}
.catalog-page .catalog-level-link {display:flex;align-items:center;min-height:44px;text-underline-offset:4px}
.catalog-page .catalog-session {padding:22px 24px}
.catalog-page .catalog-section-heading p {font-size:15px}
.catalog-page .catalog-subject-bottom small {font-size:13px}
.catalog-page .catalog-search input {font-size:16px;min-height:46px}
.catalog-page .catalog-hint {margin-top:20px}
.insights-page .insights-heading {min-height:0;margin-bottom:24px}
.insights-page .insights-heading h1 {font-size:clamp(29px,3.5vw,40px)}
.insights-page .insights-heading>img {max-width:230px;max-height:170px;object-fit:contain}
.insights-page .insights-stats small,.insights-page .insight-local-note {font-size:13px;line-height:1.65}
.insights-page .insight-panel-head p {font-size:15px;line-height:1.6}
.insights-page .progress-first {padding:26px 28px}
.progress-first>div>h2 {margin:5px 0 12px;font-size:25px}
.progress-first>div>p:not(.editorial-kicker) {color:var(--muted);font-size:16px;line-height:1.65}
.progress-first details>summary {cursor:pointer;min-height:44px;padding:14px 0;color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.progress-first details>.mastery-panel {margin:12px 0 0;box-shadow:none}
.insights-page .insight-next {grid-template-columns:auto minmax(0,1fr) auto;gap:24px}
.insights-page .insight-next>div {min-width:0}
.insights-page .insight-next h2 {font-size:clamp(24px,2.5vw,32px);line-height:1.25;word-break:normal;overflow-wrap:normal}
.reading-page .reading-heading h1 {font-size:clamp(29px,3.5vw,40px)}
.reading-page .reading-heading>p:not(.kicker) {font-size:18px;line-height:1.55}
.reading-topic-picker {display:flex;align-items:center;gap:14px;margin:20px 0;color:var(--muted);font-size:15px}
.reading-topic-picker select {font-size:16px;min-height:46px;max-width:360px;width:100%;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:10px 16px}
.reading-page .reading-tabs button {min-height:46px}
.reading-page .reading-card p,.reading-page .reading-meta,.reading-page .reading-source {font-size:15px;line-height:1.65}
.reading-page .reading-featured {margin-top:24px}
.reading-page .reading-featured-art {max-height:330px}
.reading-page .reading-featured h2 {font-size:clamp(24px,2.3vw,32px);line-height:1.3}
.web-search-page {max-width:1120px;padding-top:12px}
.discovery-heading {margin:10px 0 26px}
.discovery-heading h1 {font-size:clamp(28px,3.2vw,38px);line-height:1.2;letter-spacing:-.025em;margin:8px 0 12px}
.discovery-heading>p:last-child {color:var(--muted);font-size:17px;line-height:1.6}
.discovery-tabs {display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:18px}
.discovery-tabs button {display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;border-radius:14px;padding:11px 17px;background:var(--paper);border:1px solid var(--line);color:var(--ink);font:inherit;font-size:15px;cursor:pointer}
.discovery-tabs button[aria-pressed="true"] {background:var(--ink);color:var(--bg);border-color:var(--ink)}
.discovery-tabs button span {font-variant-numeric:tabular-nums;font-size:13px;opacity:.85}
.search-status,.search-count {font-size:14px;line-height:1.6;color:var(--muted);margin:14px 0}
.search-status.error p {margin:0 0 12px}
.search-topics {margin:24px 0 30px}
.search-topics h2,.discovery-section h2 {font-size:21px;margin:0 0 16px}
.search-topics>div {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.search-topics a {display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);background:var(--student);color:var(--ink);padding:18px 20px;border-radius:18px;text-decoration:none;min-width:0}
.search-topics a>span {font-size:14px;color:var(--muted);line-height:1.5}
.search-topics a small {font-size:14px;margin-top:6px}
.discovery-groups {display:grid;gap:30px}
.discovery-section {min-width:0;border:1px solid var(--line);border-radius:22px;background:var(--paper);padding:24px}
.discovery-section>header {display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px}
.discovery-section>header h2 {margin:0}
.discovery-section>header>span {color:var(--muted);font-size:14px}
.discovery-result {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid var(--line)}
.discovery-result>div {min-width:0}
.discovery-result h3 {font-size:17px;line-height:1.5;margin:0 0 6px}
.discovery-result h3>a {color:var(--ink);text-decoration:none}
.discovery-result p {color:var(--muted);font-size:14px;line-height:1.6;margin:3px 0}
.discovery-result .discovery-excerpt {font-size:15px;max-width:75ch;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.search-result-action {display:inline-flex;align-items:center;min-height:44px;font-size:14px;white-space:nowrap;color:var(--ink);text-underline-offset:4px}
.discovery-section>.btn {margin-top:18px}
.search-empty {padding:28px 0;max-width:65ch}
.search-empty h2 {font-size:23px;line-height:1.4}
.search-empty p {font-size:16px;line-height:1.7;color:var(--muted)}
body:not(.is-public) .study-card .prompt {font-size:clamp(17px,1.5vw,20px);line-height:1.6}
body:not(.is-public) .study-card h2 {font-size:clamp(27px,2.8vw,37px);line-height:1.2}
body:not(.is-public) .written-recall textarea {font-size:17px;line-height:1.6;min-height:105px}
body:not(.is-public) .study-card .btn {min-height:44px}
.study-card .study-report-footer {margin-top:20px;display:flex;flex-direction:column;align-items:center;gap:0}
.study-card .study-report-link {display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:10px 12px;border:0;border-radius:6px;background:transparent;box-shadow:none;color:color-mix(in srgb,var(--muted) 90%,var(--ink));font:inherit;font-size:13px;font-weight:300;line-height:1.5;cursor:pointer;text-decoration:none}
.study-card .study-report-link:hover {color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.study-card .study-report-link:focus-visible {outline:2px solid var(--green);outline-offset:3px}
.study-card #study-report-panel {width:100%;text-align:left}
.study-card #study-report-panel[hidden] {display:none}
.ulna-public .hero-price {font-size:14px;line-height:1.6}
/* Preserve the public homepage's original typeface, title and text sizes. */
@media(max-width:1000px) {
  .insights-page .insight-next {grid-template-columns:1fr}
  .insights-page .insight-next-icon {display:none}
  .search-topics>div {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px) {
  body:not(.is-public) .top {padding:12px 16px;gap:12px}
  body:not(.is-public) .top-search {order:3;max-width:none;flex:1 1 100%}
  body:not(.is-public) .tabbar .tab {font-size:12px;padding:12px 6px;min-width:0}
  .dash-v2 .home-resume {flex-wrap:wrap;gap:16px;padding:20px}
  .dash-v2 .home-resume strong {width:100%;min-height:44px;display:flex;align-items:center;justify-content:flex-end}
  .dash-v2 .home-resume-copy {flex:1;min-width:140px}
  .dash-v2 .home-reassessment {margin-left:0}
  .dash-v2 .daily-training {margin-top:20px}
  .catalog-page .catalog-heading {padding:22px 20px;margin-bottom:20px}
  .catalog-page .catalog-guide {display:none}
  .catalog-page .catalog-sidebar {padding:16px}
  .catalog-page .catalog-session {padding:20px;gap:16px}
  .catalog-page .catalog-session .btn {width:100%;justify-content:space-between}
  .insights-page .insights-heading>img {display:none}
  .insights-page .progress-first {padding:22px 20px}
  .reading-topic-picker {align-items:stretch;flex-direction:column;gap:8px}
  .reading-topic-picker select {max-width:none}
  .web-search-page {padding-top:6px}
  .discovery-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .discovery-tabs button {padding:11px 8px;font-size:14px}
  .search-topics>div {grid-template-columns:1fr}
  .discovery-section {padding:20px 18px}
  .discovery-result {align-items:flex-start;flex-direction:column;gap:6px;padding:18px 0}
  .search-result-action {white-space:normal}
  .ulna-public .hero-actions {gap:12px}
  .ulna-public .hero-actions .button {min-height:48px;padding-left:18px;padding-right:18px}
  .ulna-public .hero-price {display:block;font-size:13px;max-width:32ch;margin-top:16px}
  .ulna-public .intro-offer {display:none}
}
@media(prefers-reduced-motion:reduce) {.web-search-page * {scroll-behavior:auto;transition:none}}
/* Every exploration link remains fully visible, including the last row. */
.dash-v2 .home-lower-fade {-webkit-mask-image:none;mask-image:none}
@media(max-width:700px) {
 .insights-page .insights-heading>div {max-width:100%;padding-bottom:10px}
 .insights-page .insights-heading>div>p:last-child {font-size:17px;line-height:1.6}
}
@media(max-width:700px) {
 body:not(.is-public) .top {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
 body:not(.is-public) .top .brand {grid-column:1;grid-row:1;min-width:0}
 body:not(.is-public) .top .tools {display:flex;grid-column:2;grid-row:1;width:auto;min-width:0;flex-wrap:nowrap;gap:8px}
 body:not(.is-public) .top .top-search {grid-column:1/-1;grid-row:2;width:100%;min-width:0}
 body:not(.is-public) .top .word {font-size:20px}
}
/* These surfaces previously retained fixed cream backgrounds with dark-theme text. */
:root[data-theme=dark] body:not(.is-public) :is(.home-resume,.catalog-session,.goal-strip,.catalog-badge,.reading-topic) {background:var(--paper);color:var(--ink);border-color:var(--line)}
:root[data-theme=dark] body:not(.is-public) .home-resume-copy :is(b,strong) {color:var(--ink)}
:root[data-theme=dark] body:not(.is-public) .home-resume-copy>span {color:var(--muted)}
:root[data-theme=dark] body:not(.is-public) .home-resume-copy small {color:var(--green)}
:root[data-theme=dark] body:not(.is-public) .home-resume>strong {color:var(--ink);border-color:var(--line);background:var(--student)}
:root[data-theme=dark] body:not(.is-public) .home-resume-copy i {background:var(--line)}
:root[data-theme=dark] body:not(.is-public) .home-resume-copy i em {background:var(--green)}
:root[data-theme=dark] body:not(.is-public) .home-reassessment .btn span {background:var(--green-soft);color:var(--green)}
.selection-hint {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 20px;margin:12px 0 18px;padding:8px 0;color:var(--muted);font-size:14px;line-height:1.6}
.selection-hint button.text-plain {min-height:44px;font-size:14px;color:var(--ink);text-underline-offset:4px}
.selection-hint .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}
.account-profile-link {display:inline-block;margin:12px 16px;font-size:14px}
.path-optional-assessment {margin-top:22px;border-top:1px solid var(--line);padding-top:12px}
.path-optional-assessment summary {cursor:pointer;color:var(--muted);padding:8px 0;min-height:44px;font-size:14px}
.path-assessment-callout {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;margin-top:26px;padding:24px;border:1px solid var(--student-line);border-left:3px solid var(--green);border-radius:18px;background:var(--student)}
.path-assessment-badge {color:var(--green);font-size:12px;font-weight:600;letter-spacing:.02em}
.path-assessment-callout h3 {margin:8px 0;font-size:23px;font-weight:500;line-height:1.3}
.path-assessment-callout p {max-width:65ch;margin:0 0 8px;color:var(--muted);font-size:15px;line-height:1.65}
.path-assessment-callout small {font-size:13px;color:var(--muted)}
.path-assessment-callout .btn {display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:46px;font-size:14px;background:var(--paper);color:var(--ink);border-color:var(--green)}
.plus-invitation h3 {font-size:clamp(24px,2.8vw,30px);font-weight:500;line-height:1.25;margin:10px 0}
.plus-invitation>p:not(.kicker),.membership-active p {font-size:16px;line-height:1.65;color:var(--muted);max-width:70ch}
.membership-benefits {display:grid;gap:12px;list-style:none;padding:0;margin:22px 0 26px}
.membership-benefits li {display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:1.6;color:var(--ink)}
.membership-benefits svg {flex-shrink:0;margin-top:3px;color:var(--green)}
.membership-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}
.membership-options>article {min-width:0;display:flex;flex-direction:column;align-items:stretch;border:1px solid var(--line);border-radius:18px;padding:22px;background:var(--paper)}
.membership-options>article:first-child {border-color:var(--student-line);background:var(--student)}
.membership-options .membership-option-label {margin:0 0 12px;color:var(--ink);font-size:14px;font-weight:600}
.membership-options .membership-price {display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;color:var(--ink);margin:0 0 8px}
.membership-price b {font-size:clamp(28px,3vw,36px);line-height:1.2;font-weight:500;letter-spacing:-.04em}
.membership-price span {font-size:14px;color:var(--muted)}
.membership-options article>p:not(.membership-price):not(.membership-option-label) {font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 20px}
.membership-options .btn {display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;font-size:14px;white-space:normal;text-align:left;margin-top:auto;transition:transform .18s}
.membership-terms {font-size:13px;line-height:1.7;color:var(--muted);max-width:90ch}
.membership-security,.membership-help {font-size:13px;color:var(--muted);line-height:1.65}
.membership-help a {color:var(--ink);text-underline-offset:3px}
.membership-active {padding:20px 0 6px}
.membership-active>span {display:inline-block;border:1px solid var(--student-line);background:var(--student);color:var(--ink);border-radius:99px;padding:5px 12px;font-size:12px}
.membership-active h3 {font-size:25px;font-weight:500;line-height:1.3;margin:14px 0 8px}
.membership-optional {margin:16px 0;border-top:1px solid var(--line);padding-top:10px}
.membership-optional summary {min-height:44px;cursor:pointer;padding:10px 0;color:var(--ink);font-size:14px}
.payment-message {padding:14px 16px;border-radius:12px;background:var(--student);color:var(--ink);font-size:14px;line-height:1.6}
.payment-message button {font:inherit;min-height:44px;color:var(--ink)}
.path-adjustment {box-sizing:border-box;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:30px;border:1px solid var(--line);border-radius:24px;background:var(--paper);color:var(--ink);box-shadow:0 24px 90px #0f172a44;overflow:auto}
.path-adjustment::backdrop {background:#101c2d88;backdrop-filter:blur(4px)}
.path-adjustment header {display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.path-adjustment .kicker {margin:0 0 8px;font-size:11px}
.path-adjustment h2 {margin:0;font-size:30px;line-height:1.2;font-weight:500}
.path-adjustment p {font-size:15px;line-height:1.65;color:var(--muted)}
.path-adjustment .path-close {display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);font-size:27px}
.path-adjustment fieldset {min-width:0;border:0;padding:0;margin:24px 0;display:grid;gap:16px}
.path-adjustment legend {padding:0;margin-bottom:14px;font-weight:600;font-size:16px}
.path-adjustment label {display:grid;gap:7px;color:var(--ink);font-size:14px}
.path-adjustment select {box-sizing:border-box;min-width:0;max-width:100%;width:100%;min-height:46px;padding:10px 12px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:11px;font:inherit;font-size:16px}
.path-feedback {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.path-feedback label {position:relative;cursor:pointer}
.path-feedback input {position:absolute;opacity:0;width:1px;height:1px}
.path-feedback span {display:grid;place-items:center;text-align:center;min-height:48px;border:1px solid var(--line);border-radius:11px;padding:8px;font-size:14px}
.path-feedback input:checked+span {background:var(--student);border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}
.path-adjustment :is(button,select):focus-visible,.path-feedback input:focus-visible+span {outline:3px solid var(--green);outline-offset:3px}
.path-adjustment p.path-note {font-size:13px;margin:0;line-height:1.6}
.path-adjustment p.path-error {color:var(--danger);font-size:14px}
.path-adjustment footer {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:26px}
.path-adjustment footer .btn {min-height:46px;font-size:14px;transition:transform .18s}
@media(max-width:700px) {
 .path-adjustment {padding:22px 18px;border-radius:20px}
 .path-adjustment h2 {font-size:26px}
 .path-adjustment footer .btn {flex:1 1 auto}
 .path-feedback {grid-template-columns:1fr}
 .account-profile-link {margin-left:0}
 .path-assessment-callout {grid-template-columns:1fr;gap:18px;padding:20px}
 .path-assessment-callout .btn {justify-self:start}
 .membership-options {grid-template-columns:1fr}
}
