:root {
  --color-paper: #ffffff;
  --color-ink: #14213d;
  --color-ink-hover: #243552;
  --color-text: #424b57;
  --color-muted: #747c86;
  --color-rule: #dfe2e6;
  --color-panel: #f6f7f8;
  --color-gold: #967026;
  --color-error: #98454f;
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --page-width: 1160px;
  --content-width: 1000px;
  --radius-control: 2px;
  --member-navy: #102650;
  --member-text: #34445f;
  --member-muted: #6d7889;
  --member-soft: #f4f8fa;
  --member-pink: #ed5f84;
  --member-cyan: #3aa6c7;
  --member-orange: #eb953d;
  --member-teal: #2d9d94;
  --member-width: 1180px;
}

.qa-admin { display: grid; gap: 3.5rem; }
.qa-source-row { display: grid; grid-template-columns: minmax(18rem, 1fr) repeat(3, auto); gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--color-border, #d8dce2); align-items: baseline; }
.qa-confirm { display: block; margin: 1.5rem 0; }
.qa-confirm input { margin-right: .65rem; }
.qa-admin label:not(.qa-confirm) { display: grid; gap: .6rem; max-width: 52rem; }
.qa-admin label input[type="text"], .qa-admin label input:not([type]) { min-height: 3.25rem; border: 1px solid #cfd4dc; padding: 0 .9rem; font: inherit; }
.qa-action-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.qa-admin-list { margin: 1.5rem 0 0; padding: 0; list-style-position: inside; }
.qa-admin-list li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #dde1e6; }
.learning-check-admin { display: grid; gap: 36px; }
.learning-check-unit-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 16px; }
.learning-check-unit-list button { display: grid; gap: 5px; min-height: 64px; padding: 12px 14px; border: 1px solid #dbe2e7; border-radius: 10px; background: #fff; color: var(--color-ink); text-align: left; }
.learning-check-unit-list button span { color: var(--color-muted); font-size: .86rem; }
.learning-check-unit-list button small { color: #667784; font-size: .76rem; line-height: 1.45; }
.learning-check-unit-list button:hover, .learning-check-unit-list button:focus-visible, .learning-check-unit-list button.is-selected { border-color: var(--color-accent); background: #f3fbfb; }
.learning-check-review-controls { display: grid; gap: 16px; }
.learning-check-review-controls label { display: grid; gap: 7px; max-width: 760px; }
.learning-check-admin-list { display: grid; gap: 24px; }
.learning-check-admin-item { display: grid; gap: 18px; padding: 24px; border: 1px solid #dbe2e7; border-radius: 14px; background: #fff; }
.learning-check-admin-item > header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.learning-check-admin-item > header em { margin-left: auto; color: var(--color-muted); }
.learning-check-admin-item label { display: grid; gap: 7px; }
.learning-check-admin-item textarea { min-height: 96px; resize: vertical; }
.learning-check-admin-item input, .learning-check-admin-item textarea, .learning-check-admin-item select, .learning-check-review-controls input { border: 1px solid #cfd8df; padding: 10px 12px; font: inherit; }
.learning-check-option-editor { grid-template-columns: auto 28px minmax(0, 1fr); align-items: center; margin-top: 8px; }
.learning-check-evidence { margin-top: 12px; padding: 14px; background: #f5f8f9; }
.learning-check-evidence small { display: block; margin-top: 4px; color: var(--color-muted); }
.learning-check-evidence p { white-space: pre-wrap; line-height: 1.75; }
.learning-check-admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.learning-check-admin-actions button { min-height: 44px; padding: 9px 16px; }
.learning-check-bulk-review { display: grid; gap: 14px; border-color: #c8dfe0; background: #f7fbfb; }
.learning-check-bulk-review > button { width: fit-content; min-height: 44px; padding: 9px 16px; }
.learning-check-bulk-confirm { display: grid; gap: 13px; padding: 16px; border: 1px solid #e0b984; border-radius: 10px; background: #fffaf3; }
.learning-check-bulk-confirm label { display: flex; align-items: flex-start; gap: 9px; }
.learning-check-bulk-confirm > div { display: flex; flex-wrap: wrap; gap: 10px; }
.learning-check-bulk-confirm button { min-height: 44px; padding: 9px 16px; }
.qa-member-page { max-width: 70rem; padding-top: 4rem; padding-bottom: 6rem; }
.qa-search { display: grid; grid-template-columns: 1fr auto; gap: .75rem; margin: 2.5rem 0 3rem; }
.qa-search input { min-height: 3.75rem; border: 1px solid #cfd4dc; padding: 0 1rem; font: inherit; font-size: 1.05rem; }
.qa-search button { min-width: 8rem; border: 0; background: #10264b; color: white; font: inherit; }
.qa-question-list { padding: 0; margin: 1rem 0; list-style: none; border-top: 1px solid #d8dce2; }
.qa-question-list a { display: flex; justify-content: space-between; gap: 2rem; padding: 1.5rem 0; color: #10264b; text-decoration: none; border-bottom: 1px solid #d8dce2; font-size: 1.1rem; line-height: 1.7; }
.qa-detail { max-width: 56rem; padding-top: 4rem; padding-bottom: 6rem; }
.qa-detail header { margin: 2rem 0 4rem; }
.qa-detail header h1 { color: #10264b; font-family: var(--font-serif, serif); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.45; font-weight: 500; }
.qa-detail section { padding: 2rem 0; border-top: 1px solid #d8dce2; }
.qa-detail section h2 { color: #10264b; font-size: 1.2rem; margin-bottom: 1rem; }
.qa-detail section p { line-height: 2; white-space: pre-wrap; }
.qa-detail .member-related-learning { max-width: none; padding: 34px 0; }
.qa-detail .member-related-learning .member-section-heading { margin-bottom: 0; }
.qa-detail .member-related-learning .member-unit-list { margin-top: 18px; }
.qa-detail .member-related-learning .member-unit-link { min-height: 0; }
.qa-detail details { margin-top: 2rem; border-top: 1px solid #d8dce2; padding-top: 1.5rem; }
.qa-detail dl { display: grid; grid-template-columns: 9rem 1fr; gap: .75rem 1.5rem; }
.qa-source-open { display: inline-block; margin-top: 1.25rem; color: #10264b; text-underline-offset: 4px; }
@media (max-width: 720px) {
  .qa-source-row, .qa-admin-list li { grid-template-columns: 1fr; gap: .35rem; }
  .qa-search { grid-template-columns: 1fr; }
  .qa-search button { min-height: 3.5rem; }
  .qa-detail dl { grid-template-columns: 1fr; }
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--color-paper); }
body {
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; }

.topbar {
  width: min(var(--page-width), calc(100% - 96px));
  height: 64px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  border-bottom: 0;
}
.topbar::after { content: ""; position: absolute; left: 0; right: 0; top: 63px; height: 1px; background: var(--color-rule); }
.product-name { display: flex; flex-direction: column; font-family: Georgia, "Times New Roman", serif; font-size: 12px; line-height: 1.45; letter-spacing: .16em; }
.product-name small { margin: 0; color: var(--color-ink); font-family: Georgia, "Times New Roman", serif; font-size: 12px; letter-spacing: .16em; }
.admin-label { margin-left: auto; padding-left: 40px; border-left: 1px solid var(--color-gold); color: var(--color-ink); font-size: 13px; font-weight: 600; }
.topbar-admin { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.topbar-admin .admin-label { margin-left: 0; }
.session-actions { display: flex; gap: 14px; }
.session-actions button { padding: 0; border: 0; background: transparent; color: var(--color-muted); font: inherit; font-size: 11px; cursor: pointer; }
.admin-nav-link { color: var(--color-ink); font-size: 12px; text-decoration: none; }
.admin-nav-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.auth-page { width: min(440px, calc(100% - 48px)); margin: 0 auto; padding: 92px 0; }
.auth-brand { display: flex; flex-direction: column; padding-bottom: 24px; border-bottom: 1px solid var(--color-rule); font-family: Georgia, "Times New Roman", serif; font-size: 12px; line-height: 1.45; letter-spacing: .16em; }
.auth-brand small { font: inherit; }
.auth-form { padding-top: 64px; }
.auth-form h1 { font-family: var(--font-serif); font-size: 38px; }
.auth-mode { margin: 8px 0 0; color: var(--color-muted); font-size: 12px; }
.auth-form label, .password-dialog label { display: block; margin-top: 28px; color: var(--color-text); font-size: 13px; }
.auth-form input, .password-dialog input { display: block; width: 100%; height: 46px; margin-top: 7px; padding: 8px 10px; border: 1px solid var(--color-rule); border-radius: var(--radius-control); background: white; color: var(--color-ink); font: inherit; }
.auth-form .button { margin-top: 30px; }
.auth-error { margin: 14px 0 0; color: var(--color-error); font-size: 12px; }
.password-dialog { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 24px; background: rgb(20 33 61 / .28); }
.password-dialog form { width: min(480px, 100%); padding: 38px 40px; background: white; }
.password-dialog h2 { margin: 0; font-size: 24px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 30px; }

.page-shell { width: min(var(--page-width), calc(100% - 96px)); margin: 0 auto; padding: 42px 0 88px; }
.breadcrumb { margin-bottom: 64px; color: var(--color-muted); font-size: 13px; }
.breadcrumb span { margin: 0 8px; }

.content-column { width: min(100%, var(--content-width)); }
.page-intro { padding-top: 0; }
h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.35;
}
.lead { max-width: 600px; margin: 22px 0 0; color: var(--color-text); font-size: 16px; line-height: 1.9; }
.page-intro::after { content: ""; display: block; width: 34px; height: 2px; margin-top: 24px; background: var(--color-gold); }

.source-section { margin-top: 58px; padding-top: 34px; border-top: 1px solid var(--color-rule); }
.source-info h2 { margin: 0 0 12px; color: var(--color-ink); font-size: 14px; font-weight: 600; }
.source-info strong { display: block; overflow-wrap: anywhere; font-size: 24px; font-weight: 500; }
.source-info p { max-width: 640px; margin: 6px 0 0; color: var(--color-muted); font-size: 14px; }
.source-actions { display: flex; gap: 12px; margin-top: 26px; }
.button {
  width: auto;
  min-width: 196px;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid var(--color-ink);
  border-radius: var(--radius-control);
  background: var(--color-paper);
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.button:focus-visible, .result-heading:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
.button:disabled { cursor: not-allowed; opacity: .34; }
.button.primary { min-width: 168px; background: var(--color-ink); color: var(--color-paper); }
.button.primary:not(:disabled):hover { background: var(--color-ink-hover); }
.button.secondary:not(:disabled):hover, .permission-button:hover { background: var(--color-panel); }
.read-only-note { margin: 16px 0 0; color: var(--color-muted); font-size: 13px; line-height: 1.7; }
.permission-button { margin-top: 16px; }
.alert { margin: 0 0 22px; padding: 0 0 12px; border-bottom: 1px solid var(--color-rule); color: var(--color-text); font-size: 12px; }
.alert.error { color: var(--color-error); border-color: var(--color-error); }
.progress-card { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-rule); }
.progress-card div { display: flex; flex-direction: column; }
.progress-card span { color: var(--color-muted); font-size: 11px; }

.summary-section { margin-top: 76px; }
.summary-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.section-label { margin: 0 0 3px; color: var(--color-muted); font-size: 11px; }
.summary-heading h2, .empty-state h2 { margin: 0; font-size: 22px; font-weight: 600; }
.sync-time { display: flex; gap: 14px; color: var(--color-muted); font-size: 11px; }
.sync-time span { color: var(--color-text); }
.sync-time .incomplete { color: var(--color-error); }
.summary-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--color-ink); }
.summary-card { padding: 20px 0; border-bottom: 1px solid var(--color-rule); }
.summary-card + .summary-card { padding-left: 22px; }
.summary-card span { display: block; color: var(--color-text); font-size: 12px; }
.summary-card strong { display: inline-block; margin-top: 6px; font-family: Georgia, serif; font-size: 29px; font-weight: 400; line-height: 1; }
.summary-card small { margin-left: 4px; color: var(--color-muted); font-size: 11px; }

.results { margin-top: 48px; border-top: 1px solid var(--color-ink); }
.import-selection { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--color-ink); }
.import-selection h2 { margin: 0; font-size: 22px; font-weight: 600; }
.import-selection > p { margin: 9px 0 0; color: var(--color-muted); font-size: 13px; }
.selection-list { margin: 24px 0; border-top: 1px solid var(--color-rule); }
.selection-row { display: flex; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--color-rule); cursor: pointer; }
.selection-row input { accent-color: var(--color-ink); }
.selection-row span { display: flex; min-width: 0; flex-direction: column; }
.selection-row strong, .selection-row small { overflow-wrap: anywhere; }
.selection-row strong { font-size: 13px; }
.selection-row small { margin-top: 3px; color: var(--color-muted); font-size: 11px; }
.result-group { border-bottom: 1px solid var(--color-rule); }
.result-heading { width: 100%; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px; padding: 17px 0; border: 0; background: var(--color-paper); color: var(--color-ink); cursor: pointer; text-align: left; }
.result-title { font-weight: 600; }
.result-count, .disclosure { color: var(--color-muted); font-size: 11px; }
.disclosure { min-width: 32px; text-align: right; }
.result-body { border-top: 1px solid var(--color-rule); }
.group-note { margin: 0; padding: 11px 14px; background: var(--color-panel); color: var(--color-text); font-size: 11px; }
.empty-row { margin: 0; padding: 17px 14px; color: var(--color-muted); font-size: 12px; }
.file-list { padding: 0 14px; }
.file-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 16px 0; }
.file-row + .file-row { border-top: 1px solid var(--color-rule); }
.file-icon { display: none; }
.file-main { min-width: 0; display: flex; flex-direction: column; }
.file-main strong, .relative-path { overflow-wrap: anywhere; }
.file-main strong { font-size: 13px; font-weight: 600; }
.relative-path, .failure-code, .file-meta { color: var(--color-muted); font-size: 11px; }
.failure-code { color: var(--color-error); }
.file-meta { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.review-badge { font-family: ui-monospace, monospace; color: var(--color-gold); }

.empty-state { margin-top: 62px; padding-top: 34px; border-top: 1px solid var(--color-rule); }
.empty-state h2 { font-family: var(--font-sans); font-size: 22px; font-weight: 600; }
.empty-state p { margin: 12px 0 0; color: var(--color-ink); font-size: 15px; }
.empty-state .empty-guidance { margin-top: 10px; color: var(--color-muted); font-size: 13px; line-height: 1.8; }
.policy-note { margin-top: 52px; padding: 30px 0 0; border-top: 1px solid var(--color-rule); background: transparent; }
.policy-note p { max-width: 700px; margin: 0; color: var(--color-muted); font-size: 13px; }
.policy-note p + p { margin-top: 4px; }
.policy-note strong { color: var(--color-ink); font-weight: 600; }

.candidate-page { width: min(1320px, calc(100% - 72px)); }
.candidate-organizer { width: 100%; }
.candidate-intro > p:first-child { margin: 0 0 18px; color: var(--color-muted); font-size: 12px; }
.candidate-intro > p:last-child { margin: 18px 0 0; color: var(--color-muted); }
.candidate-summary { display: flex; align-items: baseline; gap: 28px; margin-top: 44px; padding: 20px 0; border-block: 1px solid var(--color-rule); color: var(--color-muted); font-size: 12px; }
.candidate-summary strong { color: var(--color-ink); font-family: Georgia, serif; font-size: 30px; font-weight: 400; }
.candidate-common-confirmation, .candidate-bulk-actions { margin-top: 34px; padding: 26px 0; border-bottom: 1px solid var(--color-rule); }
.candidate-common-confirmation h2, .candidate-bulk-actions h2 { margin: 0; font-size: 19px; }
.candidate-common-confirmation p, .candidate-bulk-actions p { margin: 5px 0 0; color: var(--color-muted); font-size: 12px; }
.candidate-common-confirmation details { margin: 18px 0; color: var(--color-text); font-size: 12px; }
.candidate-common-confirmation summary { cursor: pointer; }
.candidate-common-confirmation ol { max-height: 230px; overflow: auto; margin: 12px 0; padding: 14px 14px 14px 36px; background: var(--color-panel); }
.candidate-common-confirmation li + li { margin-top: 8px; }
.candidate-common-confirmation li small { display: block; color: var(--color-muted); font-family: ui-monospace, monospace; font-size: 9px; overflow-wrap: anywhere; }
.common-checks { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 20px 0; }
.common-checks label { display: flex; align-items: center; gap: 7px; color: var(--color-text); font-size: 12px; }
.common-checks input, .candidate-index-row > input { accent-color: var(--color-ink); }
.candidate-bulk-actions { display: flex; justify-content: space-between; gap: 32px; align-items: end; }
.candidate-workspace { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 52px; margin-top: 42px; }
.candidate-index { align-self: start; border-top: 1px solid var(--color-ink); }
.candidate-index-row { display: grid; grid-template-columns: 24px 1fr; align-items: center; border-bottom: 1px solid var(--color-rule); }
.candidate-index-row > input { justify-self: center; }
.candidate-index button { width: 100%; display: flex; flex-direction: column; gap: 4px; padding: 15px 10px; border: 0; background: white; color: var(--color-ink); text-align: left; cursor: pointer; }
.candidate-index button.active { padding-left: 8px; border-left: 2px solid var(--color-gold); background: var(--color-panel); }
.candidate-index small, .candidate-index span { color: var(--color-muted); font-size: 10px; }
.candidate-index strong { font-size: 13px; line-height: 1.55; }
.candidate-heading { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--color-rule); }
.candidate-heading h2 { margin: 9px 0 5px; font-size: 26px; }
.candidate-heading p, .candidate-heading > span { margin: 0; color: var(--color-muted); font-size: 11px; }
.confidence { color: var(--color-muted); font-size: 10px; }
.confidence.low { color: var(--color-error); }
.candidate-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.candidate-editor label { color: var(--color-muted); font-size: 11px; }
.candidate-editor input, .candidate-editor select { width: 100%; height: 44px; display: block; margin-top: 5px; padding: 7px 10px; border: 1px solid var(--color-rule); border-radius: var(--radius-control); background: white; color: var(--color-ink); font: inherit; }
.candidate-editor h3 { margin: 42px 0 0; font-size: 17px; }
.candidate-resources { margin-top: 14px; border-top: 1px solid var(--color-ink); }
.candidate-resources article { display: grid; grid-template-columns: minmax(260px, 1fr) 170px 180px; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--color-rule); }
.candidate-resource-title { min-width: 0; }
.candidate-resource-title strong, .candidate-resource-title span, .candidate-resource-title small { display: block; overflow-wrap: anywhere; }
.candidate-resource-title strong { font-size: 14px; }
.candidate-resource-title span, .candidate-resource-title small { color: var(--color-muted); font-size: 10px; }
.candidate-resource-title p { margin: 8px 0 0; color: var(--color-text); font-size: 11px; }
.candidate-check-note { grid-column: 1 / -1; color: var(--color-muted); font-size: 10px; }
.candidate-check-note span { margin-right: 12px; color: var(--color-gold); }
.candidate-confirmations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 34px; padding: 24px 0; border-top: 1px solid var(--color-rule); }
.candidate-confirmations label { display: flex; gap: 9px; align-items: center; color: var(--color-text); font-size: 12px; }
.candidate-confirmations input { width: auto; height: auto; margin: 0; accent-color: var(--color-ink); }
.candidate-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.candidate-safety { color: var(--color-muted); font-size: 11px; }

@media (max-width: 900px) {
  .candidate-page { width: min(100% - 36px, 720px); }
  .candidate-summary { flex-wrap: wrap; gap: 10px 20px; }
  .candidate-bulk-actions { align-items: start; flex-direction: column; }
  .candidate-workspace { grid-template-columns: 1fr; gap: 32px; }
  .candidate-index { max-height: 300px; overflow: auto; }
  .candidate-resources article { grid-template-columns: 1fr 1fr; }
  .candidate-resource-title { grid-column: 1 / -1; }
}

.phase2-section { margin-top: 76px; padding-top: 34px; border-top: 1px solid var(--color-ink); }
.phase2-section h2 { margin: 0; font-size: 24px; font-weight: 600; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.section-description { max-width: 700px; margin: 12px 0 0; color: var(--color-muted); font-size: 13px; }
.reviewer-setting { display: flex; align-items: end; gap: 8px; }
.reviewer-setting label { color: var(--color-muted); font-size: 11px; }
.reviewer-setting input { display: block; width: 180px; height: 38px; margin-top: 3px; padding: 7px 9px; border: 1px solid var(--color-rule); border-radius: var(--radius-control); color: var(--color-ink); background: white; font: inherit; }
.button.compact { min-width: 96px; min-height: 40px; padding: 7px 16px; }
.button.danger { border-color: var(--color-error); color: var(--color-error); background: white; }
.small-message, .inline-error { margin: 8px 0 0; color: var(--color-muted); font-size: 12px; }
.inline-error { color: var(--color-error); }
.quiet-empty { margin: 28px 0 0; color: var(--color-muted); }
.review-list { margin-top: 28px; border-top: 1px solid var(--color-rule); }
.review-row { padding: 28px 0 32px; border-bottom: 1px solid var(--color-rule); }
.review-row-heading { display: flex; justify-content: space-between; gap: 24px; }
.review-row-heading h3 { margin: 7px 0 0; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.review-row-heading p { margin: 2px 0 0; color: var(--color-muted); font-size: 12px; overflow-wrap: anywhere; }
.status-text, .current-approved, .revision-number { color: var(--color-muted); font-size: 11px; }
.status-approved, .current-approved { color: var(--color-gold); }
.status-rejected { color: var(--color-error); }
.current-approved { margin-left: 12px; }
.revision-number { white-space: nowrap; }
.revision-meta { display: grid; grid-template-columns: 1fr 1fr 1.4fr; margin: 20px 0 16px; }
.revision-meta div { min-width: 0; padding-right: 20px; }
.revision-meta .hash-meta { grid-column: 1 / -1; margin-top: 10px; }
.revision-meta dt { color: var(--color-muted); font-size: 10px; }
.revision-meta dd { margin: 2px 0 0; color: var(--color-text); font-size: 12px; overflow-wrap: anywhere; }
.hash-meta dd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.text-link { color: var(--color-ink); font-size: 13px; text-underline-offset: 4px; }
.original-video-player { display: block; width: min(100%, 900px); max-height: 560px; margin-top: 16px; background: #000; }
.video-play-test { margin-top: 12px; }
.video-diagnostics { max-width: 900px; margin-top: 16px; padding: 18px 0; border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.video-diagnostics h4 { margin: 0 0 14px; font-size: 14px; }
.video-diagnostics h5 { margin: 18px 0 10px; color: var(--color-ink); font-size: 12px; }
.root-handle-recovery { margin: 0 0 18px; padding: 14px 0; border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.root-handle-recovery p { margin: 0 0 12px; line-height: 1.8; }
.unit-header-actions { display: flex; align-items: center; gap: 18px; }
.learning-preview-shell { width: min(100% - 64px, 1040px); margin: 0 auto; padding: 88px 0 120px; color: var(--color-ink); }
.preview-state { margin: 0 0 22px; color: var(--color-muted); font-size: 13px; }
.learning-preview-shell > h1 { margin: 0; font-family: var(--font-serif); font-size: clamp(36px, 5vw, 62px); font-weight: 400; letter-spacing: .02em; }
.preview-description { max-width: 720px; margin: 28px 0 0; color: var(--color-text); font-size: 17px; line-height: 2; }
.preview-meta { display: flex; gap: 44px; margin: 38px 0 0; }
.preview-meta dt { color: var(--color-muted); font-size: 12px; }
.preview-meta dd { margin: 6px 0 0; }
.preview-resources { margin-top: 72px; border-top: 1px solid var(--color-rule); }
.preview-resources > h2 { margin: 0; padding: 30px 0; font-size: 16px; }
.preview-resource { padding: 34px 0 42px; border-top: 1px solid var(--color-rule); }
.preview-resource > p { margin: 0 0 8px; color: var(--color-muted); font-size: 13px; }
.preview-resource h3 { margin: 0 0 24px; font-size: 24px; }
.preview-resource video { display: block; width: min(100%, 820px); background: #000; }
.member-preview-entry { display: flex; justify-content: flex-end; margin: 0 0 32px; }
.member-preview-shell { width: min(100% - 64px, 1040px); margin: 0 auto; padding: 88px 0 120px; color: var(--color-ink); }
.member-preview-shell > h1 { margin: 0; font-family: var(--font-serif); font-size: clamp(42px, 5vw, 64px); font-weight: 400; }
.member-preview-lead { margin: 22px 0 64px; color: var(--color-muted); font-size: 17px; }
.member-unit-list { border-top: 1px solid var(--color-rule); }
.member-unit-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 38px 0; border-bottom: 1px solid var(--color-rule); color: inherit; text-decoration: none; }
.member-unit-row h2 { margin: 0 0 12px; font-size: 26px; }
.member-unit-row p { margin: 0 0 12px; color: var(--color-text); line-height: 1.8; }
.member-unit-row small, .member-unit-row > span { color: var(--color-muted); }
.member-unit-row:hover h2 { text-decoration: underline; text-underline-offset: 5px; }
.unit-source-search { margin-top: 72px; padding-top: 30px; border-top: 1px solid var(--color-rule); }
.unit-source-search > h2 { margin: 0 0 24px; font-size: 20px; }
.unit-source-search form { display: flex; gap: 12px; max-width: 820px; }
.unit-source-search input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--color-rule); font: inherit; }
.no-source-response { margin: 28px 0 0; color: var(--color-text); }
.unit-search-results article { max-width: 820px; padding: 28px 0; border-bottom: 1px solid var(--color-rule); }
.search-result-count { margin: 30px 0 4px; color: var(--color-text); font-size: 15px; }
.unit-search-results .result-location { margin: 0 0 12px; color: var(--color-muted); font-size: 13px; }
.unit-search-results .result-excerpt { margin: 0 0 18px; line-height: 1.9; white-space: pre-wrap; }
.result-document-link { color: var(--color-ink); text-underline-offset: 5px; }
.evidence-details { margin-top: 18px; color: var(--color-muted); font-size: 12px; }
.evidence-details summary { cursor: pointer; }
.evidence-details dl { display: grid; gap: 7px; margin: 14px 0 0; }
.evidence-details dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.evidence-details dt, .evidence-details dd { margin: 0; overflow-wrap: anywhere; }
.video-diagnostics dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; margin: 0; }
.video-diagnostics div { min-width: 0; }
.video-diagnostics .diagnostic-wide { grid-column: 1 / -1; }
.video-diagnostics dt { color: var(--color-muted); font-size: 10px; }
.video-diagnostics dd { margin: 2px 0 0; color: var(--color-text); font: 11px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
@media (max-width: 700px) { .video-diagnostics dl { grid-template-columns: 1fr; } .video-diagnostics .diagnostic-wide { grid-column: auto; } }
.review-form { margin-top: 22px; padding: 22px 0 0; border-top: 1px solid var(--color-rule); }
.review-form > label { display: block; color: var(--color-text); font-size: 12px; }
.review-form textarea { display: block; width: min(100%, 680px); margin-top: 6px; padding: 10px 12px; border: 1px solid var(--color-rule); border-radius: var(--radius-control); resize: vertical; color: var(--color-ink); background: white; font: inherit; }
.approval-checks { display: flex; gap: 26px; margin-top: 14px; color: var(--color-text); font-size: 12px; }
.approval-checks label { display: flex; align-items: center; gap: 7px; }
.approval-checks input { accent-color: var(--color-ink); }
.review-actions { display: flex; gap: 9px; margin-top: 18px; }
.search-form { display: flex; max-width: 720px; gap: 10px; margin-top: 24px; }
.search-form input { flex: 1; min-width: 0; height: 42px; padding: 8px 11px; border: 1px solid var(--color-rule); border-radius: var(--radius-control); color: var(--color-ink); background: white; font: inherit; }
.search-results { max-width: 720px; margin-top: 24px; border-top: 1px solid var(--color-rule); }
.search-results article { display: flex; flex-direction: column; padding: 16px 0; border-bottom: 1px solid var(--color-rule); }
.search-results article strong { font-size: 14px; }
.search-results article span, .search-results article small { color: var(--color-muted); font-size: 11px; overflow-wrap: anywhere; }
.no-evidence { margin: 0; padding: 18px 0; color: var(--color-text); }
.production-warning { margin-top: 52px; padding: 24px 0 0; border-top: 1px solid var(--color-rule); }
.production-warning strong { font-size: 13px; }
.production-warning p { max-width: 720px; margin: 5px 0 0; color: var(--color-muted); font-size: 12px; }
.backup-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.backup-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--color-rule); }
.backup-summary div { min-width: 0; }
.backup-summary dt { color: var(--color-muted); font-size: 12px; }
.backup-summary dd { margin: 6px 0 0; font-size: 14px; }
.backup-caution { margin: 22px 0 0; color: var(--color-muted); font-size: 12px; line-height: 1.8; }
@media (max-width: 700px) { .backup-summary { grid-template-columns: 1fr; gap: 14px; } }
.source-class-text { margin-left: 10px; color: var(--color-muted); font-size: 11px; }
.search-results article small { display: block; overflow-wrap: anywhere; }
.evidence-text { margin: 8px 0 0; color: var(--color-text); font-size: 13px; line-height: 1.7; }
.extraction-retry { margin-left: 12px; }
.transcript-review { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-rule); }
.transcript-review h4, .transcript-review p { margin: 0 0 8px; }
.transcript-segments { max-width: 900px; margin-top: 18px; border-top: 1px solid var(--color-rule); }
.transcript-segments article { padding: 12px 0; border-bottom: 1px solid var(--color-rule); }
.transcript-segments article p { margin: 5px 0 0; line-height: 1.7; }
.transcript-segments small { color: var(--color-muted); }
.transcript-review-actions { max-width: 900px; margin-top: 20px; }
.transcript-review-actions > label { display: flex; flex-direction: column; gap: 8px; }
.approval-checks select { display: block; min-width: 240px; margin-top: 6px; padding: 8px; border: 1px solid var(--color-rule); background: white; color: var(--color-ink); }
.deletion-list article { padding: 18px 0; border-bottom: 1px solid var(--color-rule); }
.deletion-list span, .deletion-list small { display: block; margin-top: 5px; color: var(--color-muted); overflow-wrap: anywhere; }

.unit-create-section, .unit-list-section { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--color-rule); }
.unit-create-section h2, .unit-list-section h2 { margin: 0; font-size: 23px; }
.editor-form, .resource-add { max-width: 820px; margin-top: 26px; }
.editor-form > label, .resource-add > label, .editor-grid label { display: block; margin-top: 16px; color: var(--color-text); font-size: 12px; }
.editor-form input, .editor-form textarea, .editor-form select, .resource-add input, .resource-add select, .resource-row select {
  display: block; width: 100%; min-height: 42px; margin-top: 5px; padding: 8px 10px; border: 1px solid var(--color-rule);
  border-radius: var(--radius-control); background: white; color: var(--color-ink); font: inherit;
}
.editor-form textarea { resize: vertical; }
.editor-form .button, .resource-add .button { margin-top: 22px; }
.editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.unit-row { padding: 34px 0 42px; border-bottom: 1px solid var(--color-rule); }
.unit-row > header { display: flex; justify-content: space-between; gap: 24px; }
.unit-row h3 { margin: 0; font-size: 20px; }
.unit-row header p { margin: 5px 0 0; color: var(--color-muted); }
.unit-row header > span { color: var(--color-muted); font-size: 11px; }
.unit-meta { display: flex; gap: 42px; margin: 22px 0 0; }
.unit-meta dt, .resource-row small { color: var(--color-muted); font-size: 11px; }
.unit-meta dd { margin: 2px 0 0; font-size: 13px; }
.resource-list, .resource-add { margin-top: 30px; }
.resource-list h4, .resource-add h4 { margin: 0; font-size: 14px; }
.resource-row { display: grid; grid-template-columns: 1fr 240px; gap: 28px; align-items: end; padding: 18px 0; border-bottom: 1px solid var(--color-rule); }
.resource-row-editable { grid-template-columns: minmax(0, 1fr) 180px 240px; }
.resource-row strong, .resource-row small { display: block; overflow-wrap: anywhere; }
.resource-row label { color: var(--color-muted); font-size: 11px; }
.unit-edit-form { margin: 28px 0 8px; padding: 24px 0; border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.unit-edit-form h4 { margin: 0; font-size: 16px; }
.inline-actions { display: flex; gap: 10px; margin-top: 22px; }
.inline-actions .button { margin-top: 0; }

@media (max-width: 1100px) {
  .topbar, .page-shell { width: min(920px, calc(100% - 64px)); }
}

@media (max-width: 700px) {
  .editor-grid, .resource-row { grid-template-columns: 1fr; }
  .unit-meta { flex-direction: column; gap: 10px; }
  .topbar { width: calc(100% - 40px); height: 70px; }
  .page-shell { width: calc(100% - 40px); padding-top: 10px; }
  .breadcrumb { margin-bottom: 42px; }
  .page-intro { padding-top: 0; }
  h1 { font-size: 39px; }
  .lead { margin-top: 16px; font-size: 14px; }
  .source-section { margin-top: 44px; padding-top: 28px; }
  .source-actions { gap: 10px; margin-top: 24px; }
  .source-actions { align-items: stretch; flex-direction: column; }
  .source-actions .button { width: 100%; }
  .summary-section, .empty-state { grid-column: 1; margin-top: 30px; }
  .summary-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .sync-time { flex-direction: column; gap: 1px; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .summary-card + .summary-card { padding-left: 12px; }
  .file-row { grid-template-columns: 1fr; }
  .file-meta { justify-content: space-between; }
  .policy-note { margin-top: 18px; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .reviewer-setting { width: 100%; }
  .reviewer-setting label { flex: 1; }
  .reviewer-setting input { width: 100%; }
  .revision-meta { grid-template-columns: 1fr; gap: 8px; }
  .revision-meta .hash-meta { grid-column: auto; }
  .approval-checks, .review-actions, .search-form { align-items: stretch; flex-direction: column; }
  .review-actions .button, .search-form .button { width: 100%; }
}

/* Member guidance: shown once, then available from the header. */
.member-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.member-usage-notice-link { padding: 0; border: 0; background: transparent; color: var(--lp-muted); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.member-usage-notice-backdrop { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; background: rgb(10 30 55 / .38); }
.member-usage-notice-backdrop[hidden] { display: none; }
.member-usage-notice { position: relative; width: min(620px, 100%); max-height: min(680px, calc(100vh - 48px)); overflow-y: auto; padding: 30px; border: 1px solid #dce7eb; border-radius: 18px; background: #fff; box-shadow: 0 20px 60px rgb(10 30 55 / .18); color: var(--lp-navy); }
.member-usage-notice > p:first-child { margin: 0 0 8px; color: var(--lp-teal); font-size: 13px; font-weight: 700; }
.member-usage-notice h2 { margin: 0 0 18px; font-family: var(--font-serif); font-size: clamp(24px, 4vw, 34px); font-weight: 500; }
.member-usage-notice h2 + p, .member-usage-notice h2 + p + p { margin: 0 0 14px; color: var(--lp-muted); line-height: 1.85; }
.member-usage-notice .member-usage-notice-close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f2f6f8; color: var(--lp-navy); font-size: 24px; line-height: 1; cursor: pointer; }
.member-related-external-guide { max-width: 720px; margin: 10px 0 20px; color: var(--lp-muted); font-size: 14px; line-height: 1.75; }
.member-usage-summary { position: relative; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: -18px 0 26px; padding: 13px 18px; border: 1px solid #dcebed; border-radius: 12px; background: #f6fbfa; color: var(--lp-navy); }
.member-usage-summary p { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 13px; line-height: 1.65; }
.member-usage-summary p span { color: var(--lp-muted); }
.member-usage-summary button { flex: 0 0 auto; padding: 4px 0; border: 0; background: transparent; color: var(--lp-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media (max-width: 700px) {
  .member-header-actions { gap: 8px; }
  .member-usage-notice-link { font-size: 10px; }
  .member-usage-notice-backdrop { align-items: end; padding: 12px; }
  .member-usage-notice { max-height: calc(100vh - 24px); padding: 24px 20px; border-radius: 16px; }
  .member-usage-summary { align-items: flex-start; flex-direction: column; gap: 8px; margin: -6px 0 20px; padding: 13px 14px; }
}

.member-quick-access { position: fixed; z-index: 60; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: grid; justify-items: end; gap: 10px; }
.member-quick-access > button { min-height: 48px; padding: 10px 17px; border: 1px solid rgb(16 48 91 / .12); border-radius: 999px; background: var(--lp-navy); box-shadow: 0 8px 24px rgb(16 48 91 / .16); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.member-quick-access-menu { display: grid; width: min(290px, calc(100vw - 32px)); overflow: hidden; border: 1px solid #dce6eb; border-radius: 14px; background: rgb(255 255 255 / .98); box-shadow: 0 12px 34px rgb(16 48 91 / .14); }
.member-quick-access-menu[hidden] { display: none; }
.member-quick-access-menu a { display: grid; gap: 2px; padding: 14px 16px; color: var(--lp-navy); text-decoration: none; }
.member-quick-access-menu a + a { border-top: 1px solid #e7edf0; }
.member-quick-access-menu a:hover, .member-quick-access-menu a:focus-visible { background: var(--lp-wash-blue); }
.member-quick-access-menu span { color: var(--lp-muted); font-size: 12px; }
@media (max-width: 700px) {
  .member-quick-access { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
  .member-quick-access > button { min-height: 44px; padding: 9px 14px; font-size: 13px; }
}

/* Unified member experience — editorial, source-first, and deliberately quiet. */
.member-app { overflow-x: clip; }
.member-header { width: min(1200px, calc(100% - 64px)); grid-template-columns: 250px 1fr 120px; }
.member-home, .member-unit-page, .member-footer { width: min(1200px, calc(100% - 64px)); }
.member-content { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.member-nav { gap: 34px; }
.member-nav a, .member-admin-link { transition: color .15s ease; }
.member-nav a:hover, .member-admin-link:hover { color: var(--member-cyan); }
.member-preview-notice { color: #7d8694; }

.member-hero {
  grid-template-columns: minmax(0, 58%) minmax(320px, 42%);
  gap: 20px;
  min-height: 590px;
  padding: 54px 0 58px;
}
.member-hero-copy { padding: 22px 0; }
.member-hero h1 { margin: 0; font-size: clamp(38px, 4vw, 52px); line-height: 1.42; }
.member-hero-lead { max-width: 570px; margin-top: 15px; font-size: 16px; line-height: 1.85; }
.member-watercolor { height: 530px; overflow: visible; }
.member-watercolor img { top: 50%; left: 48%; height: 720px; transform: translate(-50%, -50%); }
.member-search-home { max-width: 660px; margin-top: 28px; padding: 24px; border: 1px solid #dce3e8; border-left: 4px solid var(--member-cyan); background: #f8fafb; }
.member-search-home h2 { font-size: 18px; }
.member-search-form input { font-size: 16px; }
.member-search-form button { transition: background .15s ease, transform .15s ease; }
.member-search-form button:not(:disabled):hover { background: #183761; }
.member-search-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 14px; }
.member-search-examples > span { margin-right: 3px; color: var(--member-muted); font-size: 11px; }
.member-search-examples button { min-height: 30px; padding: 3px 10px; border: 1px solid #d9e1e8; border-radius: 16px; background: #fff; color: var(--member-navy); font-size: 12px; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.member-search-examples button:hover { border-color: var(--member-cyan); color: #177b99; }

.member-search-results { margin-top: 25px; }
.member-result-summary { padding-bottom: 14px; border-bottom: 1px solid var(--color-rule); color: var(--member-muted); font-size: 13px; }
.member-result-group { margin-top: 22px; }
.member-result-group > h3 { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: 19px; }
.member-result-group > h3 span { color: var(--member-muted); font-size: 12px; font-weight: 500; }
.member-result-group-qa > h3 { color: var(--member-pink); }
.member-result-group-learning > h3 { color: var(--member-cyan); }
.member-result { padding: 18px 0; }
.member-result-kind { color: var(--member-pink); font-weight: 700; }
.member-result-group-learning .member-result-kind { color: var(--member-cyan); }
.member-result-qa h4 { margin: 0; font-size: 17px; line-height: 1.7; }
.member-result-qa h4 a { color: var(--member-navy); text-decoration: none; }
.member-result-qa h4 a:hover { text-decoration: underline; text-underline-offset: 4px; }

.member-category-nav { padding: 34px 0 42px; }
.member-category-nav a { transition: color .15s ease, border-color .15s ease; }
.member-category-nav a:hover { border-color: var(--member-pink); color: var(--member-pink); }
.member-learning-section { padding: 44px 0 62px; }
.member-section-heading h2 { font-size: clamp(27px, 3vw, 34px); }
.member-theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 26px; border-top: 1px solid var(--color-rule); }
.member-theme-group { padding: 24px 0; border-bottom: 1px solid var(--color-rule); }
.member-theme-group h3 { margin: 0 0 10px; color: var(--member-cyan); font-size: 17px; }
.member-theme-group ul { margin: 0; padding: 0; list-style: none; }
.member-theme-group li + li { border-top: 1px solid #edf0f2; }
.member-theme-group a { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; color: var(--member-navy); text-decoration: none; line-height: 1.55; }
.member-theme-group a:hover { color: var(--member-cyan); }
.member-unit-link { transition: background .15s ease, padding .15s ease; }
.member-unit-link:hover { padding-inline: 12px; background: #fafbfc; }
.member-qa-entry { display: grid; grid-template-columns: 260px 1fr; gap: 52px; align-items: start; }
.member-feature-link { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; min-height: 150px; padding: 24px 28px; border: 1px solid #e0e3e8; border-left: 4px solid var(--member-pink); color: inherit; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.member-feature-link:hover { border-color: #d1a0ad; transform: translateY(-2px); }
.member-feature-label { color: var(--member-pink); font-size: 12px; font-weight: 700; }
.member-feature-link h3 { margin: 5px 0 0; font-size: 21px; }
.member-feature-link p { margin: 7px 0 0; color: var(--member-muted); }
.member-community-qa-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 25px; }
.member-community-qa-list a { display: flex; min-height: 175px; flex-direction: column; padding: 22px; border: 1px solid #e0e3e8; border-top: 3px solid var(--member-pink); color: inherit; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.member-community-qa-list a:hover { border-color: #d1a0ad; transform: translateY(-2px); }
.member-community-qa-list span { color: var(--member-pink); font-size: 11px; font-weight: 700; }
.member-community-qa-list strong { margin-top: 10px; font-size: 16px; line-height: 1.7; }
.member-community-qa-list small { margin-top: auto; padding-top: 14px; color: var(--member-muted); }
.member-more-link { display: inline-block; margin-top: 20px; color: var(--member-navy); font-size: 13px; text-underline-offset: 4px; }

.qa-member-page { max-width: 1200px; padding-top: 42px; padding-bottom: 80px; }
.member-page-heading { max-width: 760px; }
.member-page-heading p { margin: 0 0 4px; color: var(--member-pink); font-size: 13px; font-weight: 700; }
.member-page-heading h1 { margin: 0; font-family: var(--font-serif); font-size: clamp(36px, 4vw, 48px); font-weight: 500; }
.qa-search { max-width: 820px; margin: 30px 0 22px; }
.qa-search input { border-radius: 4px; color: var(--member-navy); }
.qa-search button { border-radius: 4px; cursor: pointer; }
.qa-result-count { color: var(--member-muted); font-size: 13px; }
.qa-question-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 18px; border: 0; counter-reset: none; }
.qa-question-list li { display: flex; min-width: 0; border-top: 1px solid var(--color-rule); }
.qa-question-list a { width: 100%; min-height: 144px; align-items: center; padding: 22px 4px; border-bottom: 0; transition: color .15s ease, padding .15s ease; }
.qa-question-list a:hover { padding-inline: 12px; color: var(--member-pink); }
.qa-question-list a > span { display: flex; flex-direction: column; gap: 7px; }
.qa-question-list small { color: var(--member-pink); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.qa-question-list b { font-size: 18px; font-weight: 400; }

.qa-detail { width: min(780px, calc(100% - 64px)); max-width: 780px; padding-top: 32px; padding-bottom: 80px; }
.qa-detail > .member-back-link { margin: 30px 0 14px; }
.qa-detail header { margin: 0 0 44px; }
.qa-detail-label { margin: 0 0 10px; color: var(--member-pink); font-size: 13px; font-weight: 700; }
.qa-detail header h1 { margin: 0; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.5; }
.qa-detail section { padding: 30px 0; }
.qa-detail section h2 { margin-top: 0; font-size: 19px; }
.qa-detail section p { margin-bottom: 0; font-size: 17px; line-height: 2; }
.qa-detail details { color: var(--member-muted); }
.qa-detail summary { color: var(--member-navy); cursor: pointer; font-weight: 600; }

.member-unit-hero { max-width: 900px; padding: 52px 0 44px; }
.member-unit-hero h1 { margin: 0; font-size: clamp(36px, 4vw, 48px); line-height: 1.45; }
.member-resources { max-width: 980px; }
.member-resource-row { grid-template-columns: 125px minmax(0, 1fr) auto; min-height: 105px; padding: 22px 16px 22px 20px; transition: background .15s ease; }
.member-resource-row:hover { background: #fafbfc; }
.member-resource-kind { font-weight: 700; }
.resource-video .member-resource-kind { color: var(--member-teal); }
.resource-lecture_note .member-resource-kind { color: var(--member-pink); }
.resource-visual .member-resource-kind { color: var(--member-orange); }
.member-resource-action { display: inline-flex; min-height: 42px; align-items: center; padding: 0 16px; border: 1px solid var(--member-navy); border-radius: 3px; text-decoration: none; transition: background .15s ease, color .15s ease; }
.member-resource-action:hover { background: var(--member-navy); color: #fff; }
.member-related-qa { max-width: 980px; padding: 44px 0; border-top: 1px solid var(--color-rule); }
.member-related-qa ul { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--color-rule); }
.member-related-qa li { border-bottom: 1px solid var(--color-rule); }
.member-related-qa a { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; color: var(--member-navy); text-decoration: none; }
.member-related-qa a:hover { color: var(--member-pink); }

@media (max-width: 900px) {
  .member-hero { grid-template-columns: minmax(0, 56%) minmax(280px, 44%); }
  .member-watercolor img { height: 620px; }
  .member-qa-entry { grid-template-columns: 220px 1fr; gap: 30px; }
}

@media (max-width: 700px) {
  .member-header, .member-home, .member-unit-page, .member-footer, .member-content { width: calc(100% - 32px); }
  .member-header { grid-template-columns: 1fr auto; }
  .member-nav { gap: 20px; scrollbar-width: none; }
  .member-hero { display: flex; padding: 32px 0 42px; }
  .member-hero-copy { padding: 0; }
  .member-hero h1 { font-size: 36px; }
  .member-hero-lead { font-size: 15px; }
  .member-search-home { margin-top: 22px; padding: 18px 16px; }
  .member-watercolor { order: -1; height: 220px; margin: 0 -16px 12px; overflow: hidden; }
  .member-watercolor img { top: 50%; left: 50%; height: 400px; }
  .member-qa-entry { display: block; }
  .member-feature-link { margin-top: 22px; min-height: 0; padding: 22px 18px; }
  .member-community-qa-list { grid-template-columns: 1fr; gap: 0; }
  .member-theme-grid { grid-template-columns: 1fr; gap: 0; }
  .member-community-qa-list a { min-height: 0; border-width: 0 0 1px; border-left: 3px solid var(--member-pink); }
  .qa-member-page { padding-top: 30px; }
  .qa-search { grid-template-columns: 1fr; }
  .qa-question-list { grid-template-columns: 1fr; gap: 0; }
  .qa-question-list a { min-height: 112px; }
  .qa-detail { width: calc(100% - 32px); }
  .qa-detail header h1 { font-size: 30px; }
  .qa-detail section p { font-size: 16px; line-height: 1.9; }
  .member-unit-hero { padding-top: 36px; }
  .member-unit-hero h1 { font-size: 34px; }
  .member-resource-row { grid-template-columns: 1fr; min-height: 0; }
  .member-resource-action { width: fit-content; margin-top: 10px; }
  .member-result-group > h3 { flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* 2026-10 accessibility audit: calm color roles, touch-safe controls, and clearer mobile navigation. */
:root {
  --lp-navy: #102b55;
  --lp-blue: #2a99cf;
  --lp-pink: #e85d93;
  --lp-gold: #a9853c;
  --lp-teal: #2b9b91;
}

/* The four home routes use one pink wayfinding color; content types keep their own restrained roles. */
.member-home-entry-grid span,
.member-home-entry-grid span.is-question { color: var(--lp-pink); }

/* Functional controls remain visually quiet while meeting a 44px touch target. */
.member-usage-notice-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 2px;
}
.member-usage-notice .member-usage-notice-close {
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
}
.member-back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: -9px;
  margin-bottom: 25px;
}
.member-resource-completion button,
.member-unit-completion button { min-height: 46px; }
.member-search-examples button { min-height: 44px; }

/* Learning directory rows keep their spare appearance but no longer create small tap targets. */
.foundation-list > li > div > a:first-child,
.foundation-list ul a {
  min-height: 44px;
  align-items: center;
}
.foundation-list > li > div > a:first-child { display: flex; }
.foundation-list ul a { display: flex; }

/* Status and format labels carry meaning, so they should never drop below readable UI text. */
.member-type-label,
.qa-question-list small,
.member-community-qa-list span,
.home-trouble-list a > span,
.trouble-grid a > span,
.interview-list span,
.member-interview-link > div > span,
.member-method-choice span,
.member-method-choice em,
.member-document-pages figcaption,
.member-unit-completion div small,
.member-learning-check-start small,
.member-quick-access-copy small { font-size: 12px; }

/* Keep the floating helper from covering the final action or final line of content. */
.member-app { padding-bottom: 124px; }
.member-footer { margin-bottom: 18px; }

/* The page reveal starts readable and does not animate essential page headings. */
@keyframes lp-page-reveal {
  from { opacity: .72; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.member-content > header,
.member-unit-page > header { animation: none; }

/* At tablet widths, two Q&A columns scan more comfortably than a dense three-column catalogue. */
@media (min-width: 701px) and (max-width: 1100px) {
  .qa-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .member-app { padding-bottom: 112px; }
  .member-nav {
    padding-bottom: 7px;
    scrollbar-width: thin;
    scrollbar-color: rgb(42 153 207 / .5) transparent;
  }
  .member-nav::-webkit-scrollbar { display: block; height: 3px; }
  .member-nav::-webkit-scrollbar-thumb { border-radius: 999px; background: rgb(42 153 207 / .5); }
  .member-nav::-webkit-scrollbar-track { background: transparent; }
  .member-nav a { min-width: 44px; justify-content: center; }
  .member-quick-access { bottom: max(14px, env(safe-area-inset-bottom)); }
}

/* A branded, stable loading state avoids an apparently broken blank page on slower auth/bootstrap checks. */
.beta-loading {
  display: grid;
  width: min(360px, calc(100% - 40px));
  min-height: 100dvh;
  align-content: center;
  justify-items: center;
  margin: 0 auto;
  color: var(--lp-navy);
  text-align: center;
}
.beta-loading strong { font-family: Georgia, "Times New Roman", serif; font-size: 25px; letter-spacing: .04em; }
.beta-loading small { margin-top: -3px; font-size: 9px; font-weight: 750; letter-spacing: .18em; }
.beta-loading span { margin-top: 26px; color: #5f7184; font-size: 14px; }
.beta-loading i {
  width: 34px;
  height: 3px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ebef;
}
.beta-loading i::after {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: var(--lp-blue);
  animation: beta-loading-progress 1.1s ease-in-out infinite alternate;
  content: "";
}
@keyframes beta-loading-progress { to { transform: translateX(122%); } }
@media (prefers-reduced-motion: reduce) {
  .beta-loading i::after { width: 100%; animation: none; opacity: .7; }
}

.external-content-admin { max-width: 1180px; margin: 0 auto; }
.external-content-filters, .external-content-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 20px 0; }
.external-content-filters label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; }
.external-content-filters select { min-width: 180px; min-height: 42px; padding: 8px; }
.external-content-actions button { min-height: 42px; padding: 8px 16px; }
.external-content-review-list { display: grid; gap: 12px; }
.external-content-review-list article { display: grid; grid-template-columns: auto 100px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px; border: 1px solid #dce4e6; border-radius: 12px; background: #fff; }
.external-content-review-list img { width: 100px; height: 72px; object-fit: cover; border-radius: 8px; }
.external-content-review-list h2 { margin: 4px 0; font-size: 18px; }
.external-content-review-list p { margin: 3px 0; }
@media (max-width: 600px) { .external-content-review-list article { grid-template-columns: auto minmax(0, 1fr); } .external-content-review-list img { display: none; } }

/* Member-facing visual completion pass — soft learning space, not a dashboard. */
:root {
  --lp-wash-blue: #f1f9fc;
  --lp-wash-pink: #fff5f7;
  --lp-wash-teal: #f0faf8;
  --lp-wash-orange: #fff8ef;
  --lp-soft-shadow: 0 12px 34px rgb(25 70 105 / .075);
  --lp-lift-shadow: 0 17px 38px rgb(25 70 105 / .115);
}

.member-app { position: relative; }
.member-app::before {
  position: absolute;
  z-index: 0;
  top: 82px;
  right: -90px;
  width: 330px;
  height: 230px;
  border-radius: 48% 52% 62% 38% / 56% 38% 62% 44%;
  background: rgb(67 174 226 / .045);
  filter: blur(2px);
  pointer-events: none;
  content: "";
}
.member-app > * { position: relative; z-index: 1; }
.member-app > .member-usage-notice-backdrop { position: fixed; z-index: 1000; inset: 0; }
.member-app > .member-quick-access { position: fixed; z-index: 60; }
.member-header {
  background: rgb(255 255 255 / .94);
  box-shadow: 0 1px 0 rgb(16 43 85 / .05);
}
.member-nav a { transition: color .18s ease, background-color .18s ease; }
.member-nav a:hover { color: var(--lp-blue); }

.member-preview-notice { background: #fff; }
.learner-home {
  position: relative;
  margin-top: 14px;
  padding: 36px clamp(20px, 3vw, 40px) 32px;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: var(--lp-wash-teal);
}
.learner-home::after {
  position: absolute;
  right: -40px;
  bottom: -72px;
  width: 260px;
  height: 170px;
  border-radius: 58% 42% 47% 53%;
  background: rgb(67 174 226 / .08);
  transform: rotate(-9deg);
  pointer-events: none;
  content: "";
}
.learner-home > * { position: relative; z-index: 1; }
.learner-home-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
.learner-home-heading h1 { color: var(--lp-navy); }
.learner-home-heading p { color: #27867f; }
.learner-continue {
  border: 0;
  border-radius: 15px;
  background: rgb(255 255 255 / .86);
  box-shadow: var(--lp-soft-shadow);
}
.learner-continue::before {
  width: 7px;
  align-self: stretch;
  border-radius: 999px;
  background: var(--lp-teal);
  content: "";
}
.learner-continue { grid-template-columns: 7px minmax(0, 1fr) auto; }
.learner-continue > div { grid-column: 2; }
.learner-continue > a { grid-column: 3; }
.learner-home-row { gap: 20px; }
.learner-overall { padding: 18px 20px; border-radius: 12px; background: rgb(255 255 255 / .56); }
.learner-next { border-left: 0; border-radius: 12px; background: var(--lp-wash-blue); padding: 18px 18px 18px 20px; }
.learner-progress-track { height: 10px; box-shadow: inset 0 1px 2px rgb(16 43 85 / .08); }
.learner-progress-track i { background: linear-gradient(90deg, #42bbae, #34a8c8); }
.learner-path {
  position: relative;
  align-items: flex-start;
  margin-top: 28px;
  padding: 14px 4px 8px;
}
.learner-path a { min-width: 142px; gap: 10px; }
.learner-path a:nth-child(even) { padding-top: 14px; }
.learner-path a:not(:last-child)::after { top: 27px; height: 2px; background: #cfe2e4; transform: rotate(3deg); transform-origin: left; }
.learner-path a:nth-child(even):not(:last-child)::after { top: 41px; transform: rotate(-3deg); }
.learner-path i {
  width: 34px;
  height: 34px;
  border: 2px solid #cad6dd;
  box-shadow: 0 3px 8px rgb(16 43 85 / .06);
}
.learner-path .is-completed i { border-color: var(--lp-teal); box-shadow: 0 0 0 5px rgb(49 184 173 / .09); }
.learner-path .is-in_progress i { width: 38px; height: 38px; margin-top: -2px; background: #fff; box-shadow: 0 0 0 7px var(--lp-orange-soft), 0 5px 14px rgb(239 156 69 / .16); }

.member-hero { position: relative; }
.member-hero::before {
  position: absolute;
  top: 50px;
  right: 18%;
  width: 180px;
  height: 110px;
  border-radius: 47% 53% 58% 42%;
  background: rgb(239 101 135 / .045);
  transform: rotate(13deg);
  pointer-events: none;
  content: "";
}
.member-watercolor { border-radius: 50% 42% 55% 45%; }
.member-search-home { border-color: #d7e7ed; border-radius: 14px; box-shadow: var(--lp-soft-shadow); }
.member-search-form input, .qa-search input { border-radius: 10px; }
.member-search-form button, .qa-search button { border-radius: 10px; }
.member-search-examples button { background: var(--lp-wash-blue); }
.member-search-examples button:nth-of-type(2n) { background: var(--lp-wash-pink); }
.member-search-examples button:nth-of-type(3n) { background: var(--lp-wash-orange); }

.member-learning-section { border-top-color: #e8eef1; }
.member-learning-section:nth-of-type(2n) { position: relative; }
.member-section-heading h2 { letter-spacing: .015em; }
.member-section-heading p { color: #728296; }
.home-foundation-list { gap: 16px; }
.home-foundation-list a {
  border: 0;
  border-radius: 14px;
  background: var(--lp-wash-blue);
  box-shadow: none;
}
.home-foundation-list li:nth-child(2) a { background: var(--lp-wash-orange); }
.home-foundation-list li:nth-child(3) a { background: var(--lp-wash-pink); }
.home-foundation-list a > span { border: 0; background: #fff; box-shadow: 0 3px 9px rgb(16 43 85 / .08); }
.home-trouble-list { border-top: 0; }
.home-trouble-list a { margin: 0 0 8px; padding: 16px; border: 0; border-radius: 11px; background: #fff; }
.home-trouble-list a:hover { background: var(--lp-wash-pink); }
.member-community-qa-list a, .qa-question-list a {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 72%, var(--lp-wash-pink));
  box-shadow: 0 4px 16px rgb(28 61 93 / .055);
}
.member-community-qa-list a::before, .qa-question-list a::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  border-radius: 14px 0 0 14px;
  background: var(--lp-pink);
  content: "";
}
.member-community-qa-list a, .qa-question-list a { position: relative; }
.theme-link-grid { border-top: 0; gap: 10px 28px; }
.theme-link-grid a { padding: 16px 14px; border: 0; border-radius: 10px; background: #fff; }
.theme-link-grid a:hover { background: var(--lp-wash-blue); }
.member-unit-list { border-top: 0; }
.member-unit-link { margin-bottom: 7px; padding: 18px 16px; border: 0; border-radius: 11px; background: #fff; }
.member-unit-link:hover { background: var(--lp-wash-blue); }
.member-interview-link { border-left: 4px solid var(--lp-orange); background: var(--lp-wash-orange); }
.member-interview-description { margin: 8px 0 0; color: var(--lp-muted); font-size: 14px; line-height: 1.7; }
.member-qa-preview { display: -webkit-box; overflow: hidden; margin-top: 8px; color: var(--lp-muted); font-size: 14px; font-weight: 400; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.member-page-heading { position: relative; }
.member-page-heading::after { display: block; width: 42px; height: 5px; margin-top: 18px; border-radius: 99px; background: var(--lp-blue); content: ""; }
.qa-member-page .member-page-heading::after, .qa-detail .qa-detail-label { color: var(--lp-pink); }
.qa-member-page .member-page-heading::after { background: var(--lp-pink); }
.qa-question-list { border-top: 0; }
.qa-detail header { position: relative; padding-bottom: 28px; }
.qa-detail header::after { position: absolute; bottom: 0; left: 0; width: 44px; height: 5px; border-radius: 99px; background: var(--lp-pink); content: ""; }
.qa-detail section { border-top-color: #e8edf1; }
.qa-detail section h2 { display: flex; align-items: center; gap: 10px; }
.qa-detail section h2::before { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-pink); content: ""; }
.qa-detail details { background: var(--lp-surface); }

.member-unit-hero {
  position: relative;
  max-width: none;
  margin-top: 18px;
  padding: 46px clamp(20px, 4vw, 50px) 38px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--lp-wash-blue);
}
.member-unit-hero::after {
  position: absolute;
  right: -55px;
  bottom: -65px;
  width: 260px;
  height: 180px;
  border-radius: 58% 42% 36% 64%;
  background: rgb(49 184 173 / .07);
  transform: rotate(11deg);
  content: "";
}
.member-unit-hero > * { position: relative; z-index: 1; }
.unit-progress-summary { border-top-color: rgb(16 43 85 / .1); }
.member-inline-viewer video, .member-inline-viewer iframe { border: 0; box-shadow: var(--lp-soft-shadow); }
.member-learning-methods { padding-top: 8px; }
.member-method-grid { gap: 10px; padding: 10px; border-radius: 16px; background: var(--lp-surface); }
.member-method-choice {
  border: 0;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
}
.member-method-choice:hover { background: #fff; box-shadow: var(--lp-soft-shadow); }
.member-method-choice.is-selected { background: #fff; box-shadow: inset 0 0 0 2px var(--lp-blue), var(--lp-soft-shadow); }
.member-method-choice.is-complete { background: var(--lp-wash-teal); box-shadow: inset 0 0 0 1px rgb(49 184 173 / .35); }
.member-unit-search-section { border-top: 0; }
.member-unit-search-section .member-search { border: 0; border-radius: 16px; background: var(--lp-wash-blue); }
.member-learning-destination { border: 0; border-radius: 13px; background: #fff; box-shadow: var(--lp-soft-shadow); }
.member-qa-destinations { border-top: 0; gap: 7px; }
.member-qa-destinations a { padding: 14px 16px; border: 0; border-radius: 10px; background: var(--lp-wash-pink); }

.member-external-links { border-top: 1px solid #e5ebef; padding-top: 18px; }
.member-external-links > div { min-height: 0; border: 0; border-radius: 10px; background: transparent; }
.member-external-links > .member-external-question { border-left: 0; background: var(--lp-wash-pink); }
.member-external-links > .member-external-notebook { background: var(--lp-wash-blue); }
.member-external-links a.member-external-action:hover span { transform: translate(2px, -2px); }
.member-external-links a.member-external-action span { transition: transform .18s ease; }
.member-footer { border-top-color: #e7edf0; }

.member-unit-link:hover, .member-unit-link:focus-visible, .home-foundation-list a:hover, .home-foundation-list a:focus-visible,
.member-community-qa-list a:hover, .member-community-qa-list a:focus-visible, .member-learning-destination:hover,
.member-external-links > div:hover, .theme-link-grid a:hover, .theme-link-grid a:focus-visible, .home-trouble-list a:hover,
.home-trouble-list a:focus-visible, .qa-question-list a:hover, .qa-question-list a:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--lp-lift-shadow);
}

@media (max-width: 700px) {
  .member-app::before { width: 190px; height: 140px; }
  .learner-home { margin-top: 10px; padding: 26px 18px 24px; border-radius: 17px; }
  .learner-continue { grid-template-columns: 5px 1fr; gap: 14px; }
  .learner-continue > div { grid-column: 2; }
  .learner-continue > a { grid-column: 1 / -1; }
  .learner-overall { padding-inline: 0; background: transparent; }
  .learner-path { margin-right: -18px; }
  .member-hero::before { right: -20px; }
  .member-search-home { border-radius: 12px; }
  .home-foundation-list a, .member-community-qa-list a, .qa-question-list a { border-radius: 12px; }
  .member-unit-hero { margin-top: 12px; padding: 34px 18px 30px; border-radius: 16px; }
  .member-method-grid { padding: 7px; border-radius: 13px; }
  .member-external-links { padding-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .member-nav a, .member-external-links a.member-external-action span { transition: none !important; }
  .learner-path .is-in_progress i { box-shadow: 0 0 0 5px var(--lp-orange-soft); }
}

/* Member-facing experience. Kept separate from the operational admin UI. */
.member-app {
  min-height: 100vh;
  background: #fff;
  color: var(--member-navy);
}
.member-header {
  width: min(var(--member-width), calc(100% - 64px));
  min-height: 78px;
  display: grid;
  grid-template-columns: 220px 1fr 160px;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
  border-bottom: 1px solid var(--color-rule);
}
.member-brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--member-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: .11em;
  text-decoration: none;
}
.member-brand small {
  margin-top: 5px;
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .13em;
}
.member-nav { display: flex; justify-content: center; gap: 38px; }
.member-nav a, .member-admin-link {
  color: var(--member-navy);
  font-size: 13px;
  text-decoration: none;
}
.member-nav a { position: relative; padding: 28px 0 24px; }
.member-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--member-navy);
}
.member-admin-link { justify-self: end; color: var(--member-muted); }
.member-header a:focus-visible, .member-app button:focus-visible, .member-app input:focus-visible,
.member-app summary:focus-visible, .member-app select:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}
.member-home, .member-unit-page {
  width: min(var(--member-width), calc(100% - 64px));
  margin: 0 auto;
}
.member-preview-notice {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-rule);
  color: var(--member-muted);
  font-size: 11px;
  letter-spacing: .03em;
}
.member-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(350px, 5fr);
  gap: 54px;
  align-items: center;
  min-height: 560px;
  padding: 54px 0 50px;
}
.member-hero-copy { position: relative; z-index: 1; }
.member-kicker {
  margin: 0 0 12px;
  color: var(--member-muted);
  font-size: 12px;
  letter-spacing: .06em;
}
.member-hero h1, .member-unit-hero h1 {
  max-width: 680px;
  color: var(--member-navy);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: .025em;
}
.member-hero h1 { font-size: clamp(38px, 4.1vw, 58px); line-height: 1.42; }
.member-hero-lead {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--member-text);
  font-size: 16px;
  line-height: 2;
}
.member-watercolor {
  position: relative;
  height: 500px;
  overflow: hidden;
  pointer-events: none;
}
.member-watercolor img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 700px;
  max-width: none;
  transform: translate(-49%, -50%);
}
.member-search { margin-top: 34px; }
.member-search-home {
  max-width: 680px;
  padding: 24px 26px;
  border-left: 3px solid var(--member-cyan);
  background: var(--member-soft);
}
.member-search h2 { margin: 0; font-size: 17px; line-height: 1.5; }
.member-search-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 16px; }
.member-search-form input {
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #ccd4de;
  border-radius: 5px;
  background: #fff;
  color: var(--member-navy);
  font: inherit;
}
.member-search-form button {
  min-width: 92px;
  padding: 0 22px;
  border: 1px solid var(--member-navy);
  border-radius: 5px;
  background: var(--member-navy);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.member-search-form button:disabled { cursor: not-allowed; opacity: .48; }
.member-search-form button:not(:disabled):active { transform: translateY(1px); }
.member-search-results { margin-top: 26px; }
.member-result-summary { margin: 0 0 10px; font-weight: 600; }
.member-result-unit { margin: 0 0 5px; color: var(--member-navy); font-size: 15px; font-weight: 600; }
.member-result-kind { margin: 0 0 7px; color: var(--member-muted); font-size: 12px; letter-spacing: .08em; }
.member-result-qa h3 { margin: 0; font-size: 17px; line-height: 1.7; }
.member-result-qa h3 a { color: var(--member-navy); text-decoration: none; }
.member-result {
  padding: 18px 0;
  border-top: 1px solid var(--color-rule);
}
.member-result-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.member-result-page { color: var(--member-navy); font-weight: 600; }
.member-result-open { color: var(--member-navy); font-size: 13px; text-underline-offset: 4px; }
.member-result-excerpt { margin: 12px 0 0; color: var(--member-text); line-height: 1.9; }
.member-result-unit-link { display: inline-block; margin-top: 10px; color: var(--member-navy); font-size: 13px; text-underline-offset: 4px; }
.member-result details { margin-top: 12px; color: var(--member-muted); font-size: 12px; }
.member-result summary { width: fit-content; cursor: pointer; }
.member-result dl { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 10px 0 0; }
.member-result dt { font-weight: 600; }
.member-result dd { margin: 0; overflow-wrap: anywhere; }
.member-no-source { margin: 18px 0 0; color: var(--member-text); }
.member-no-source > p { margin: 0; }
.member-external-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.member-external-links > div { display: grid; gap: 5px; padding: 18px 0; border-top: 1px solid var(--color-rule); }
.member-external-links strong { color: var(--member-navy); font-size: 15px; }
.member-external-links span { color: var(--member-muted); font-size: 13px; }
.member-external-links a { width: fit-content; margin-top: 4px; color: var(--member-navy); font-weight: 700; text-underline-offset: 4px; }
.member-external-links.compact { grid-template-columns: 1fr; gap: 0; margin-top: 20px; }
.knowledge-import-section { margin-bottom: 52px; padding-bottom: 42px; border-bottom: 1px solid var(--color-rule); }
.member-learning-section {
  padding: 42px 0 70px;
  border-top: 1px solid var(--color-rule);
}
.member-category-nav { padding: 38px 0 42px; border-top: 1px solid var(--color-rule); }
.member-category-nav > div:last-child { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 21px; }
.member-category-nav a { padding: 7px 0; border-bottom: 2px solid var(--member-cyan); color: var(--member-navy); text-decoration: none; }
.member-section-heading h2 { margin: 0; font-family: var(--font-serif); font-size: 31px; font-weight: 500; }
.member-section-heading p { margin: 6px 0 0; color: var(--member-muted); }
.member-unit-list { margin-top: 25px; border-top: 1px solid var(--member-navy); }
.member-unit-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 2px;
  border-bottom: 1px solid var(--color-rule);
  color: inherit;
  text-decoration: none;
}
.member-unit-link h3 { margin: 0; font-size: 21px; }
.member-unit-link p { margin: 7px 0 0; color: var(--member-muted); }
.member-unit-link span { font-size: 18px; transition: transform .16s ease; }
.member-unit-link:hover span { transform: translateX(3px); }
.member-empty { margin: 26px 0 0; color: var(--member-muted); }
.member-footer {
  width: min(var(--member-width), calc(100% - 64px));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 38px;
  border-top: 1px solid var(--color-rule);
  color: var(--member-muted);
  font-size: 11px;
  margin: 0 auto;
}
.member-unit-hero { padding: 70px 0 54px; border-bottom: 1px solid var(--color-rule); }
.member-back-link { display: inline-block; margin-bottom: 34px; color: var(--member-muted); text-decoration: none; }
.member-back-link:hover { color: var(--member-navy); }
.member-unit-hero h1 { font-size: clamp(38px, 4.4vw, 54px); }
.member-unit-description { max-width: 720px; margin: 18px 0 0; color: var(--member-text); font-size: 16px; }
.member-unit-meta { display: flex; gap: 36px; margin-top: 26px; color: var(--member-muted); font-size: 13px; }
.member-resources { padding: 48px 0 58px; }
.member-resources > h2 { margin: 0 0 12px; font-family: var(--font-serif); font-size: 28px; font-weight: 500; }
.member-resource-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 25px 12px 25px 18px;
  border-bottom: 1px solid var(--color-rule);
  border-left: 3px solid var(--color-rule);
}
.member-resource-row.resource-lecture_note { border-left-color: var(--member-pink); }
.member-resource-row.resource-video { border-left-color: var(--member-cyan); }
.member-resource-row.resource-visual { border-left-color: var(--member-orange); }
.member-resource-kind { color: var(--member-muted); font-size: 12px; }
.member-resource-row h3 { margin: 0; font-size: 18px; }
.member-resource-action { color: var(--member-navy); font-size: 13px; text-underline-offset: 4px; }
.member-resource-row video {
  grid-column: 2 / -1;
  width: min(100%, 760px);
  margin-top: 8px;
  background: #111;
}
.member-unit-search-section { padding: 48px 0 70px; border-top: 1px solid var(--color-rule); }
.member-unit-search-section .member-search { max-width: 850px; margin-top: 0; }
.member-learning-methods { padding: 48px 0 54px; }
.member-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 25px; }
.member-method-choice { min-height: 154px; padding: 23px 22px; border: 1px solid var(--color-rule); border-top: 3px solid var(--color-rule); border-radius: 3px; background: #fff; color: var(--member-navy); text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.member-method-choice.resource-video { border-top-color: var(--member-teal); }
.member-method-choice.resource-lecture_note { border-top-color: var(--member-pink); }
.member-method-choice.resource-visual { border-top-color: var(--member-orange); }
.member-method-choice:hover { border-color: var(--member-navy); transform: translateY(-1px); }
.member-method-choice.is-selected { border-color: var(--member-navy); background: #f8fafc; }
.member-method-choice span { display: block; color: var(--member-muted); font-size: 11px; }
.member-method-choice strong { display: block; margin-top: 14px; font-size: 18px; }
.member-method-choice small { display: block; margin-top: 12px; color: var(--member-muted); line-height: 1.55; }
.member-inline-viewer { scroll-margin-top: 24px; padding: 34px 0 54px; border-top: 1px solid var(--color-rule); outline: none; }
.member-inline-viewer header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.member-inline-viewer header p { margin: 0 0 5px; color: var(--member-muted); font-size: 12px; }
.member-resource-open-status { width: fit-content; margin: 0 0 16px; padding: 7px 12px; border: 1px solid var(--color-rule); border-radius: 999px; color: var(--member-navy); background: #eefaf7; font-size: 13px; font-weight: 700; }
.member-inline-viewer h2 { margin: 0; font-size: 23px; }
.member-inline-viewer header a { color: var(--member-navy); font-size: 12px; text-underline-offset: 4px; }
.member-inline-viewer video, .member-inline-viewer iframe { display: block; width: 100%; border: 1px solid var(--color-rule); background: #111; }
.member-inline-viewer video { max-height: 72vh; }
.member-inline-viewer iframe { min-height: 72vh; background: #f5f6f7; }
.member-document-preview { width: min(100%, 960px); }
.member-document-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: var(--member-muted); font-size: 12px; }
.member-document-summary a, .member-document-complete-link { color: var(--member-navy); font-weight: 700; text-underline-offset: 4px; }
.member-document-pages { display: grid; gap: 20px; }
.member-document-pages figure { margin: 0; overflow: hidden; border: 1px solid var(--color-rule); background: #f5f6f7; }
.member-document-pages img { display: block; width: 100%; height: auto; background: #fff; }
.member-document-pages figcaption { padding: 8px 12px; color: var(--member-muted); background: #fff; font-size: 11px; text-align: right; }
.member-document-complete-link { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; margin-top: 18px; padding: 10px 18px; border: 1px solid var(--member-navy); border-radius: 3px; text-decoration: none; }
.member-learning-check { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: start; padding: 40px 0; border-top: 1px solid var(--color-rule); }
.member-learning-check, .member-inline-viewer, .beta-resource-viewer { scroll-margin-top: 96px; }
.member-learning-check > div:first-child > p:first-child { margin: 0 0 6px; color: var(--lp-blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.member-learning-check h2 { margin: 0; color: var(--member-navy); font-size: 28px; }
.member-learning-check > div:first-child > p:last-child { margin: 10px 0 0; color: var(--member-muted); line-height: 1.8; }
.member-learning-check > button, .member-learning-check-start button, .member-learning-check-feedback button, .member-learning-check-finished button { min-height: 48px; padding: 11px 20px; border: 1px solid var(--member-navy); border-radius: 6px; background: var(--member-navy); color: white; font-weight: 700; cursor: pointer; }
.member-learning-check-start { display: grid; justify-items: end; gap: 8px; }
.member-learning-check-start small { max-width: 280px; color: var(--member-muted); font-size: 11px; line-height: 1.6; text-align: right; }
.member-learning-check-question, .member-learning-check-finished { grid-column: 1 / -1; width: min(100%, 760px); padding: 24px; border-radius: 12px; background: var(--lp-wash-blue); }
.member-learning-check-question h3 { margin: 8px 0 18px; color: var(--member-navy); font-size: 20px; line-height: 1.7; }
.member-learning-check-options { display: grid; gap: 10px; }
.member-learning-check-options button { min-height: 52px; padding: 12px 15px; border: 1px solid #cddde3; border-radius: 8px; background: white; color: var(--member-navy); font: inherit; text-align: left; cursor: pointer; }
.member-learning-check-options button:hover, .member-learning-check-options button:focus-visible { border-color: var(--lp-blue); }
.member-learning-check-options button.is-selected { border-color: var(--lp-blue); box-shadow: inset 0 0 0 1px var(--lp-blue); }
.member-learning-check-feedback { margin-top: 18px; padding-top: 18px; border-top: 1px solid #d7e5e8; }
.member-learning-check-feedback.is-correct { margin-inline: -8px; padding: 18px 8px 0; border-top-color: #8dcfc4; border-radius: 8px; background: linear-gradient(180deg, rgb(223 246 240 / .72), transparent 72%); }
.member-learning-check-feedback.is-correct > strong { color: #167c70; }
.member-learning-check-feedback p, .member-learning-check-finished p { line-height: 1.8; }
.member-learning-check-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: #dff3ee; color: #167c70; font-weight: 800; animation: quiet-check-in 180ms ease-out both; }
.member-learning-aftercare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 38px; padding: 40px 0; border-top: 1px solid var(--color-rule); }
.member-learning-aftercare > div { min-width: 0; }
.member-learning-aftercare p { margin: 0 0 7px; color: var(--member-muted); font-size: 13px; font-weight: 700; }
.member-learning-aftercare h2 { margin: 0; color: var(--member-navy); font-size: 23px; line-height: 1.5; }
.member-aftercare-qa ul { display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--color-rule); }
.member-aftercare-qa li { border-bottom: 1px solid var(--color-rule); }
.member-aftercare-qa a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 4px; color: var(--member-navy); line-height: 1.65; text-decoration: none; }
.member-aftercare-next { padding-left: 28px; border-left: 3px solid var(--lp-blue); }
.member-aftercare-next small { display: block; margin-top: 7px; color: var(--member-muted); }
.member-aftercare-next > a { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; margin-top: 20px; padding: 10px 17px; border: 1px solid var(--member-navy); border-radius: 6px; background: var(--member-navy); color: #fff; font-weight: 700; text-decoration: none; }
.member-learning-aftercare a { transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease; }
.member-learning-aftercare a:hover, .member-learning-aftercare a:focus-visible { transform: translateY(-2px); }
.member-learning-aftercare a:active { transform: translateY(1px); }
.member-related-external { padding: 40px 0; border-top: 1px solid var(--color-rule); }
.member-related-external-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.member-related-external-card { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-width: 0; min-height: 96px; padding: 12px; border: 1px solid rgba(26, 55, 84, .14); border-radius: 12px; background: #fff; color: var(--member-navy); text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.member-related-external-card:hover, .member-related-external-card:focus-visible { transform: translateY(-2px); border-color: rgba(26, 111, 121, .38); box-shadow: 0 8px 22px rgba(26, 55, 84, .08); background: rgba(244, 251, 250, .72); }
.member-related-external-card:active { transform: translateY(1px); }
.member-related-external-card img, .member-related-external-fallback { width: 72px; height: 72px; border-radius: 9px; object-fit: cover; background: #eef6f5; }
.member-related-external-fallback { display: grid; place-items: center; color: rgba(20, 49, 77, .64); font-family: Georgia, serif; font-size: 27px; }
.member-related-external-fallback.is-voicy { background: #f4f7fb; }
.member-related-external-card > span:not(.member-related-external-fallback) { display: grid; gap: 5px; min-width: 0; }
.member-related-external-card small { color: var(--member-muted); font-size: 12px; letter-spacing: .06em; }
.member-related-external-card strong { font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.member-related-external-card > b { align-self: start; color: var(--member-teal); font-size: 16px; transition: transform 180ms ease; }
.member-related-external-card:hover > b, .member-related-external-card:focus-visible > b { transform: translate(2px, -2px); }
.qa-relation-review-list { display: grid; gap: 16px; margin-top: 18px; }
.qa-relation-review-list article { padding: 18px; border: 1px solid #dbe2e7; border-radius: 10px; background: #fff; }
.qa-relation-review-list h3 { margin: 10px 0 8px; }
.qa-relation-review-list article > div { display: flex; gap: 10px; margin-top: 14px; }
.qa-relation-review-list button { min-height: 42px; padding: 8px 14px; }
@keyframes quiet-check-in { from { opacity: 0; transform: translateY(2px) scale(.94); } to { opacity: 1; transform: none; } }
.member-result-open:is(button) { padding: 0; border: 0; background: transparent; cursor: pointer; }
.member-answer { padding: 26px 0 4px; border-top: 1px solid var(--color-rule); }
.member-answer-label { margin: 0; color: var(--member-muted); font-size: 12px; }
.member-answer-copy { max-width: 720px; margin: 16px 0 24px; color: var(--member-navy); font-size: 17px; line-height: 1.85; letter-spacing: .01em; }
.member-answer-copy p { margin: 0 0 14px; }
.member-answer-copy p:last-child { margin-bottom: 0; }
.member-evidence-details { max-width: 780px; border-top: 1px solid #e5e9ed; }
.member-evidence-details > summary, .member-audit-details > summary { padding: 15px 0; color: var(--member-navy); font-size: 13px; cursor: pointer; }
.member-evidence-content { padding: 4px 0 24px; }
.member-evidence-content > dl, .member-audit-details dl { display: grid; gap: 8px; margin: 0; }
.member-evidence-content dl div, .member-audit-details dl div { display: grid; grid-template-columns: 140px 1fr; gap: 14px; }
.member-evidence-content dt, .member-audit-details dt { color: var(--member-muted); font-size: 12px; }
.member-evidence-content dd, .member-audit-details dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; }
.member-evidence-content blockquote { margin: 22px 0; padding: 18px 20px; border-left: 2px solid var(--member-pink); background: #fafbfc; color: var(--member-text); font-size: 14px; line-height: 1.8; }
.member-evidence-list { display: grid; gap: 28px; padding: 8px 0 26px; }
.member-evidence-source { padding-bottom: 28px; border-bottom: 1px solid #e5e9ed; }
.member-evidence-source:last-child { padding-bottom: 0; border-bottom: 0; }
.member-evidence-source dl { display: grid; gap: 8px; margin: 0; }
.member-evidence-source dl div { display: grid; grid-template-columns: 140px 1fr; gap: 14px; }
.member-evidence-source dt { color: var(--member-muted); font-size: 12px; }
.member-evidence-source dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; }
.member-evidence-source blockquote { margin: 18px 0; padding: 16px 18px; border-left: 2px solid var(--member-pink); background: #fafbfc; color: var(--member-text); font-size: 14px; line-height: 1.75; }
.member-evidence-open { min-height: 43px; padding: 9px 18px; border: 1px solid var(--member-navy); border-radius: 2px; background: #fff; color: var(--member-navy); font: inherit; font-size: 13px; cursor: pointer; }
.member-evidence-open:hover { background: var(--member-navy); color: #fff; }
.member-audit-details { margin-top: 18px; border-top: 1px solid #e5e9ed; }

.member-directory-page { padding: 42px 0 90px; }
.member-directory-page > .member-page-heading { margin: 34px 0 52px; }
.map-section { padding: 44px 0 60px; border-top: 1px solid var(--color-rule); }
.foundation-list { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--member-navy); }
.foundation-list > li { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--color-rule); }
.foundation-list > li > span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--member-navy); border-radius: 50%; font-size: 12px; }
.foundation-list a { display: flex; justify-content: space-between; gap: 20px; color: var(--member-navy); font-size: 21px; font-weight: 700; text-decoration: none; }
.foundation-parent-action {
  flex: 0 0 auto;
  align-self: center;
  color: #91a2af;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  transition: color .2s ease, transform .2s ease;
}
.foundation-parent-link:hover .foundation-parent-action,
.foundation-parent-link:focus-visible .foundation-parent-action { color: var(--member-cyan); transform: translateX(2px); }
.foundation-list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 18px 0 0; padding: 0; list-style: none; }
.foundation-list ul li { border-top: 1px solid #e7ebef; }
.foundation-list ul a { display: block; padding: 14px 10px 14px 0; border-radius: 8px; font-size: 15px; font-weight: 500; transition: padding .2s ease, background-color .2s ease, color .2s ease; }
.foundation-list ul a:hover, .foundation-list ul a:focus-visible { padding-left: 10px; background: #f4f9fa; }
.theme-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin-top: 26px; border-top: 1px solid var(--member-navy); }
.theme-link-grid a { display: block; padding: 22px 2px; border-bottom: 1px solid var(--color-rule); color: var(--member-navy); text-decoration: none; }
.theme-link-grid a:hover, .foundation-list a:hover { color: var(--member-cyan); }
.home-foundation-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; }
.home-foundation-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; min-height: 96px; padding: 18px 20px; border: 1px solid var(--color-rule); color: var(--member-navy); text-decoration: none; }
.home-foundation-list a > span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--member-cyan); border-radius: 50%; color: var(--member-cyan); font-size: 12px; }
.home-foundation-list a:hover { border-color: var(--member-cyan); }
.home-trouble-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 26px; border-top: 1px solid var(--color-rule); }
.home-trouble-list a { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 20px 2px; border-bottom: 1px solid var(--color-rule); color: var(--member-navy); text-decoration: none; }
.home-trouble-list a > span { color: var(--member-pink); font-size: 11px; font-weight: 700; }
.home-trouble-list a:hover strong { color: var(--member-pink); }
.trouble-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--member-navy); }
.trouble-grid a { position: relative; display: flex; min-height: 170px; flex-direction: column; padding: 24px 42px 24px 4px; border-bottom: 1px solid var(--color-rule); color: var(--member-navy); text-decoration: none; }
.trouble-grid a > span { color: var(--member-pink); font-size: 11px; font-weight: 700; }
.trouble-grid strong { margin-top: 9px; font-size: 18px; line-height: 1.65; }
.trouble-grid small { margin-top: 10px; color: var(--member-muted); line-height: 1.65; }
.trouble-grid b { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); }
.trouble-grid a:hover strong { color: var(--member-pink); }
.member-page-heading > span { display: block; margin-top: 18px; color: var(--member-muted); font-size: 15px; line-height: 1.8; }
.trouble-finder { max-width: 920px; margin-bottom: 34px; padding: 24px 26px; border: 1px solid var(--lp-line); border-radius: 18px; background: #fff; box-shadow: var(--lp-shadow); }
.trouble-finder label { display: block; margin-bottom: 14px; color: var(--lp-navy); font-size: 18px; font-weight: 700; }
.trouble-finder input { width: 100%; min-height: 58px; padding: 0 18px; border: 1px solid #ccd5df; border-radius: 10px; color: var(--lp-navy); font: inherit; font-size: 16px; }
.trouble-categories { margin-bottom: 38px; padding: 26px 28px 28px; border: 1px solid #cfe4df; border-radius: 18px; background: #f0faf7; box-shadow: 0 10px 28px rgba(20, 68, 78, .05); }
.trouble-categories > p, .trouble-results > p { margin: 0 0 5px; color: var(--lp-teal); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.trouble-categories h2, .trouble-results h2 { margin: 0; color: var(--lp-navy); font-family: var(--font-serif); font-size: clamp(27px, 3vw, 36px); font-weight: 500; }
.trouble-categories > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.trouble-categories button { display: inline-flex; min-height: 46px; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid #cbdedb; border-radius: 999px; background: #fff; color: var(--lp-navy); font: inherit; font-size: 14px; cursor: pointer; }
.trouble-categories button small { display: grid; min-width: 22px; height: 22px; place-items: center; border-radius: 999px; background: #edf2f5; color: var(--lp-muted); font-size: 11px; }
.trouble-categories button:hover, .trouble-categories button:focus-visible { background: var(--lp-blue-soft); }
.trouble-categories button.is-active { border-color: var(--lp-teal); background: #dff4ef; color: var(--lp-navy); font-weight: 700; box-shadow: inset 0 0 0 1px rgba(29, 150, 137, .12); }
.trouble-categories button.is-active small { background: var(--lp-teal); color: #fff; }
.trouble-results > small { display: block; margin-top: 10px; color: var(--lp-muted); }
.trouble-results { scroll-margin-top: 14px; }
.trouble-results .trouble-grid { margin-top: 24px; }
.trouble-related-learning { margin-top: 58px; padding-top: 42px; border-top: 1px solid var(--lp-line); }
.trouble-related-learning > p { margin: 0 0 5px; color: var(--lp-blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.trouble-related-learning > h2 { margin: 0; color: var(--lp-navy); font-family: var(--font-serif); font-size: clamp(27px, 3vw, 36px); font-weight: 500; }
.trouble-related-learning .member-unit-list { margin-top: 24px; }
.trouble-related-learning .member-unit-link small { color: var(--lp-blue); font-weight: 700; }
.interview-list { border-top: 1px solid var(--member-navy); }
.interview-list > a { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 25px 2px; border-bottom: 1px solid var(--color-rule); color: var(--member-navy); text-decoration: none; }
.interview-list span { color: var(--member-teal); font-size: 11px; font-weight: 700; }
.interview-list h2 { margin: 6px 0; font-size: 21px; }
.interview-list small { color: var(--member-muted); }
.interview-list > a:hover h2 { color: var(--member-teal); }

@media (max-width: 900px) {
  .resource-row-editable { grid-template-columns: minmax(0, 1fr) 160px 200px; gap: 18px; }
  .member-header { grid-template-columns: 1fr auto; }
  .member-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; padding-bottom: 12px; }
  .member-nav a { padding: 5px 0 10px; }
  .member-hero { grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); gap: 22px; }
  .member-watercolor img { height: 600px; }
}

@media (max-width: 700px) {
  .member-header, .member-home, .member-unit-page, .member-footer { width: calc(100% - 40px); }
  .member-header { min-height: 72px; grid-template-columns: 1fr auto; gap: 12px; }
  .member-brand { font-size: 17px; }
  .member-nav { gap: 24px; overflow-x: auto; }
  .member-admin-link { font-size: 11px; }
  .member-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 40px 0 46px; }
  .member-hero h1 { font-size: 38px; }
  .member-hero-lead { font-size: 14px; }
  .member-search-home { padding: 20px 18px; }
  .member-search-form { grid-template-columns: 1fr; }
  .member-search-form button { min-height: 46px; }
  .member-watercolor { height: 260px; margin: 10px -20px 0; }
  .member-watercolor img { height: 440px; transform: translate(-49%, -49%); }
  .member-result-header { align-items: flex-start; flex-direction: column; gap: 6px; }
  .member-result dl { grid-template-columns: 1fr; gap: 0; }
  .member-result dd { margin-bottom: 6px; }
  .member-footer { flex-direction: column; }
  .member-unit-hero { padding: 42px 0 36px; }
  .member-back-link { margin-bottom: 24px; }
  .member-unit-hero h1 { font-size: 36px; }
  .member-unit-meta { flex-direction: column; gap: 5px; }
  .member-resource-row { grid-template-columns: 1fr; gap: 7px; padding: 22px 12px 22px 16px; }
  .member-resource-row video { grid-column: 1; }
  .resource-row-editable { grid-template-columns: 1fr; }
  .inline-actions { align-items: stretch; flex-direction: column; }
  .inline-actions .button { width: 100%; }
  .member-resource-action { margin-top: 5px; }
  .member-method-grid { grid-template-columns: 1fr; gap: 10px; }
  .member-method-choice { min-height: 0; padding: 19px 18px; }
  .member-inline-viewer header { align-items: flex-start; flex-direction: column; gap: 10px; }
  .member-inline-viewer iframe { min-height: 66vh; }
  .member-document-preview { width: 100%; }
  .member-document-summary { align-items: flex-start; flex-direction: column; gap: 6px; }
  .member-document-pages { gap: 14px; }
  .member-document-pages figure { width: 100%; }
  .member-document-complete-link { width: 100%; }
  .member-learning-check { grid-template-columns: 1fr; gap: 18px; }
  .member-learning-check > button { width: 100%; }
  .member-learning-check-start { justify-items: stretch; }
  .member-learning-check-start button { width: 100%; }
  .member-learning-check-start small { max-width: none; text-align: left; }
  .member-learning-check-question, .member-learning-check-finished { padding: 19px 16px; }
  .member-learning-check-options button { min-height: 54px; }
  .member-learning-aftercare { grid-template-columns: 1fr; gap: 28px; }
  .member-related-external-list { grid-template-columns: 1fr; }
  .member-aftercare-next { padding: 0 0 0 18px; }
  .member-aftercare-next > a { width: 100%; justify-content: center; }
  .member-evidence-content dl div, .member-audit-details dl div { grid-template-columns: 1fr; gap: 2px; }
  .member-external-links { grid-template-columns: 1fr; gap: 0; }
  .member-directory-page { width: calc(100% - 40px); padding-top: 26px; }
  .member-directory-page > .member-page-heading { margin: 26px 0 38px; }
  .foundation-list ul, .theme-link-grid, .home-foundation-list, .home-trouble-list, .trouble-grid { grid-template-columns: 1fr; }
  .foundation-list > li { grid-template-columns: 34px 1fr; gap: 12px; }
  .foundation-list a { font-size: 18px; }
  .home-foundation-list { gap: 10px; }
  .home-trouble-list a { grid-template-columns: 58px 1fr auto; }
  .trouble-grid a { min-height: 0; }
  .trouble-finder { margin-bottom: 34px; padding: 20px 16px; }
  .trouble-categories { margin-bottom: 40px; padding: 22px 18px 24px; }
  .trouble-categories > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trouble-categories button { width: 100%; min-width: 0; border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .member-learning-check-mark { animation: none; }
  .member-learning-aftercare a { transition: none; }
  .member-related-external-card, .member-related-external-card > b { transition: none; }
}

/* LEARNING + member design system — shared across every member-facing screen. */
:root {
  --lp-navy: #102b55;
  --lp-navy-deep: #0b2347;
  --lp-text: #263b59;
  --lp-muted: #68778c;
  --lp-line: #dce3ea;
  --lp-surface: #f7fafc;
  --lp-blue: #43aee2;
  --lp-blue-soft: #e8f7fc;
  --lp-pink: #ef6587;
  --lp-pink-soft: #fff0f4;
  --lp-orange: #ef9c45;
  --lp-orange-soft: #fff5e8;
  --lp-teal: #31b8ad;
  --lp-teal-soft: #e8f8f5;
  --lp-radius: 9px;
  --lp-shadow: 0 5px 18px rgba(16, 43, 85, .055);
  --lp-content: 1200px;
  --member-navy: var(--lp-navy);
  --member-text: var(--lp-text);
  --member-muted: var(--lp-muted);
  --member-cyan: var(--lp-blue);
  --member-pink: var(--lp-pink);
  --member-orange: var(--lp-orange);
  --member-teal: var(--lp-teal);
  --color-rule: var(--lp-line);
}

.member-app {
  min-height: 100vh;
  overflow-x: clip;
  background: #fff;
  color: var(--lp-text);
}
.member-header {
  width: min(var(--lp-content), calc(100% - 64px));
  min-height: 82px;
  grid-template-columns: 250px minmax(0, 1fr) auto;
  align-items: stretch;
  border-bottom: 1px solid var(--lp-line);
}
.member-brand { align-self: center; color: var(--lp-navy); letter-spacing: .035em; }
.member-brand strong { font-size: 20px; }
.member-brand small { margin-top: 1px; font-size: 8px; letter-spacing: .14em; }
.member-nav { justify-content: center; gap: clamp(24px, 3.5vw, 52px); }
.member-nav a {
  position: relative;
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 0 2px;
  color: var(--lp-navy);
  font-size: 14px;
  font-weight: 600;
}
.member-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--lp-blue);
  content: "";
}
.member-admin-link { align-self: center; color: var(--lp-muted); font-size: 12px; }
.member-home, .member-unit-page, .member-content, .member-footer { width: min(var(--lp-content), calc(100% - 64px)); }
.member-preview-notice {
  width: fit-content;
  margin: 18px 0 0;
  padding: 4px 8px;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  color: var(--lp-muted);
  font-size: 10px;
}
.member-hero {
  min-height: 535px;
  grid-template-columns: minmax(0, 57%) minmax(320px, 43%);
  gap: 20px;
  padding: 52px 0 62px;
}
.member-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 0; }
.member-kicker { color: var(--lp-blue); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.member-hero h1 { color: var(--lp-navy); font-size: clamp(40px, 4.5vw, 58px); line-height: 1.36; letter-spacing: .025em; }
.member-hero-lead { max-width: 550px; color: var(--lp-text); font-size: 16px; line-height: 1.9; }
.member-watercolor { min-height: 440px; }
.member-watercolor img { height: 680px; opacity: 1; }
.member-search {
  border: 0;
  border-radius: var(--lp-radius);
  background: #fff;
}
.member-search-home {
  max-width: 690px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow);
}
.member-search-home > h2 { margin-bottom: 13px; color: var(--lp-navy); font-size: 17px; }
.member-search-form { gap: 10px; }
.member-search-form input, .qa-search input {
  min-height: 52px;
  border: 1px solid #ccd5df;
  border-radius: 6px;
  background: #fff;
  color: var(--lp-navy);
  font-size: 16px;
}
.member-search-form button, .qa-search button {
  min-height: 52px;
  border-radius: 6px;
  background: var(--lp-navy);
  box-shadow: none;
}
.member-search-examples { align-items: center; gap: 8px; }
.member-search-examples span { color: var(--lp-muted); }
.member-search-examples button {
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--lp-blue-soft);
  color: var(--lp-navy);
}
.member-search-examples button:hover { border-color: var(--lp-blue); }
.member-learning-section { padding: 52px 0 62px; }
.member-section-heading { display: flex; flex-direction: column-reverse; gap: 4px; }
.member-section-heading h2 { color: var(--lp-navy); font-size: clamp(27px, 3vw, 34px); line-height: 1.35; }
.member-section-heading p { margin: 0; color: var(--lp-muted); font-size: 13px; }
.member-more-link { margin-top: 24px; color: var(--lp-navy); font-size: 13px; font-weight: 700; }
.home-foundation-list { gap: 14px; }
.home-foundation-list a {
  min-height: 92px;
  border-radius: var(--lp-radius);
  background: #fff;
  box-shadow: var(--lp-shadow);
}
.home-foundation-list a:hover { transform: translateY(-2px); }
.home-trouble-list a { min-height: 82px; }
.home-trouble-list a > span { width: fit-content; padding: 4px 8px; border-radius: 999px; background: var(--lp-pink-soft); }
.member-community-qa-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.member-community-qa-list a {
  min-height: 148px;
  border: 1px solid var(--lp-line);
  border-left: 3px solid var(--lp-pink);
  border-top-width: 1px;
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
}
.member-community-qa-list span { width: fit-content; padding: 3px 8px; border-radius: 999px; background: var(--lp-pink-soft); }
.member-community-qa-list small { color: var(--lp-navy); font-weight: 700; }
.member-community-qa-list small b { margin-left: 5px; font-weight: 400; }
.theme-link-grid { gap: 0 34px; }
.theme-link-grid a { min-height: 70px; align-items: center; }
.member-unit-list { border-top-color: var(--lp-navy); }
.member-unit-link { min-height: 96px; }
.member-unit-link:hover h3 { color: var(--lp-blue); }
.member-external-links { gap: 14px; margin-top: 34px; }
.member-external-links > div {
  min-height: 150px;
  align-content: center;
  padding: 22px 24px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
}
.member-external-links > .member-external-question { border-left: 3px solid var(--lp-pink); background: var(--lp-pink-soft); }
.member-external-links strong { font-size: 16px; }
.member-external-links a { margin-top: 10px; }
.member-directory-page { padding-top: 28px; }
.member-page-heading { max-width: 780px; }
.member-page-heading h1 { color: var(--lp-navy); font-size: clamp(38px, 5vw, 48px); }
.qa-search { max-width: 840px; }
.qa-result-count { color: var(--lp-muted); font-size: 13px; }
.qa-question-list { gap: 14px; margin-top: 24px; }
.qa-question-list li { border: 0; }
.qa-question-list a {
  min-height: 154px;
  padding: 22px 24px;
  border: 1px solid var(--lp-line);
  border-left: 3px solid var(--lp-pink);
  border-radius: var(--lp-radius);
  background: #fff;
  box-shadow: var(--lp-shadow);
}
.qa-question-list a:hover { padding-inline: 24px; border-color: #e8a9b8; transform: translateY(-2px); }
.qa-question-list small { width: fit-content; padding: 3px 8px; border-radius: 999px; background: var(--lp-pink-soft); }
.qa-detail { width: min(780px, calc(100% - 64px)); }
.qa-detail header h1 { color: var(--lp-navy); font-size: clamp(32px, 4vw, 42px); }
.qa-detail section h2 { color: var(--lp-navy); font-size: 21px; }
.qa-detail section p { font-size: 17px; line-height: 2.05; }
.qa-detail details { padding: 0; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); }
.qa-detail details > summary { padding: 16px 18px; }
.qa-detail details > dl, .qa-detail details > p, .qa-detail details > a { margin-right: 18px; margin-left: 18px; }
.qa-detail details > a { display: inline-block; margin-bottom: 18px; }
.member-unit-hero { max-width: 850px; padding: 58px 0 42px; }
.member-unit-hero h1 { color: var(--lp-navy); font-size: clamp(36px, 4.4vw, 48px); }
.member-unit-description { line-height: 1.9; }
.member-unit-meta div { padding-right: 26px; border-right: 1px solid var(--lp-line); }
.member-inline-viewer { padding: 46px 0 54px; border-top: 0; }
.member-inline-viewer header { max-width: 960px; }
.member-inline-viewer video, .member-inline-viewer iframe { max-width: 960px; border-radius: var(--lp-radius); }
.member-learning-methods { max-width: 960px; padding: 0 0 56px; }
.member-method-guidance { max-width: 720px; margin: 12px 0 20px; color: var(--lp-muted); font-size: 14px; line-height: 1.8; }
.member-method-grid { gap: 12px; }
.member-method-choice {
  min-height: 132px;
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
}
.member-method-choice.resource-video { border-top-color: var(--lp-teal); }
.member-method-choice.resource-lecture_note { border-top-color: var(--lp-blue); }
.member-method-choice.resource-visual { border-top-color: var(--lp-orange); }
.member-method-choice.is-selected { background: var(--lp-blue-soft); }
.member-unit-search-section { max-width: 960px; }
.member-unit-search-section .member-search { padding: 28px; border: 1px solid var(--lp-line); }
.member-unit-search-section .member-search h2 { color: var(--lp-navy); font-size: 27px; }
.member-search-results { margin-top: 30px; }
.member-result-summary { padding: 12px 14px; border-radius: 6px; background: var(--lp-surface); color: var(--lp-muted); font-size: 13px; }
.member-result-group { margin-top: 28px; }
.member-result-group > h3 { color: var(--lp-navy); font-size: 24px; }
.member-result-group > h3 span { display: block; margin-bottom: 4px; color: var(--lp-muted); font-size: 12px; font-weight: 500; }
.member-result { padding: 18px 4px; }
.member-result-kind { width: fit-content; padding: 3px 8px; border-radius: 999px; background: var(--lp-blue-soft); color: var(--lp-blue); }
.member-result-qa .member-result-kind { background: var(--lp-pink-soft); color: var(--lp-pink); }
.member-search-guidance { margin: 0; color: var(--lp-navy); font-family: var(--font-serif); font-size: clamp(23px, 3vw, 30px); }
.member-learning-destinations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.member-learning-destination { display: flex; flex-direction: column; align-items: flex-start; min-height: 190px; padding: 22px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: #fff; }
.member-learning-destination h4 { margin: 10px 0 0; font-size: 20px; line-height: 1.55; }
.member-learning-destination h4 a { color: var(--lp-navy); text-decoration: none; }
.member-learning-destination > p:not(.member-result-kind) { margin: 10px 0 0; color: var(--lp-muted); font-size: 14px; line-height: 1.8; }
.member-learning-destination small { margin-top: 8px; color: var(--lp-muted); }
.member-learning-destination .member-result-unit-link { margin-top: auto; padding-top: 18px; }
.member-qa-destinations { display: grid; margin-top: 12px; border-top: 1px solid var(--lp-line); }
.member-qa-destinations a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--lp-line); color: var(--lp-navy); text-decoration: none; }
.member-qa-destinations span { color: var(--lp-pink); font-size: 12px; font-weight: 700; }
.member-qa-destinations strong { line-height: 1.65; }
.member-qa-destinations small { color: var(--lp-muted); font-weight: 700; }
.member-external-notebook.is-prominent { border-left: 3px solid var(--lp-blue); background: var(--lp-blue-soft); }
.member-external-links a.member-external-action { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 14px; border: 1px solid currentColor; border-radius: 6px; text-decoration: none; transition: transform 120ms ease, opacity 120ms ease, background-color 120ms ease; }
.member-external-links a.member-external-action:hover { background: rgba(16, 48, 91, .05); }
.member-external-links a.member-external-action:active,
.member-external-links a.member-external-action.is-opening { transform: translateY(1px); opacity: .72; background: rgba(16, 48, 91, .09); }
.member-external-action i { width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: member-external-spin 700ms linear infinite; }
@keyframes member-external-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .member-external-links a.member-external-action { transition: none; }
  .member-external-action i { animation: none; border-right-color: currentColor; opacity: .45; }
}
.member-result-excerpt { max-width: 760px; }
.member-answer { padding-top: 10px; border: 0; }
.member-answer-copy { max-width: 720px; color: var(--lp-text); font-size: 17px; line-height: 2; }
.member-evidence-details { max-width: 760px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); }
.member-evidence-details > summary { padding: 15px 18px; }
.member-evidence-private-note { margin: 0; padding: 4px 18px 18px; color: var(--lp-muted); font-size: 13px; }
.member-evidence-list { padding: 0 18px 20px; }
.member-evidence-source blockquote { border-left-color: var(--lp-blue); border-radius: 0 6px 6px 0; }
.member-no-source {
  padding: 22px 24px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-surface);
}
.member-empty { padding: 24px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: var(--lp-surface); }
.member-footer { margin-top: 34px; }

@media (max-width: 900px) {
  .member-header { grid-template-columns: 1fr auto; }
  .member-nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; }
  .member-nav a { min-height: 48px; white-space: nowrap; }
  .member-hero { grid-template-columns: minmax(0, 56%) minmax(260px, 44%); min-height: 500px; }
  .member-watercolor img { height: 590px; }
}

@media (max-width: 700px) {
  .member-header, .member-home, .member-unit-page, .member-content, .member-footer { width: calc(100% - 32px); }
  .member-learning-destinations { grid-template-columns: 1fr; }
  .member-qa-destinations a { grid-template-columns: auto minmax(0, 1fr) auto; }
  .member-qa-destinations small { grid-column: 2; }
  .member-header { min-height: 68px; }
  .member-nav { width: calc(100vw - 32px); gap: 24px; padding-bottom: 0; scrollbar-width: none; }
  .member-admin-link { font-size: 10px; }
  .member-hero { min-height: 0; padding: 34px 0 46px; }
  .member-hero h1 { font-size: 36px; }
  .member-watercolor { height: 235px; margin: 8px -16px 0; }
  .member-watercolor img { height: 420px; }
  .member-search-home { padding: 16px; }
  .member-search-form { grid-template-columns: 1fr; }
  .member-search-form button { width: 100%; }
  .member-search-examples { gap: 7px; }
  .member-learning-section { padding: 42px 0 48px; }
  .home-foundation-list, .member-community-qa-list, .theme-link-grid, .home-trouble-list, .member-external-links, .qa-question-list { grid-template-columns: 1fr; }
  .member-community-qa-list { gap: 10px; }
  .member-community-qa-list a { min-height: 0; }
  .member-external-links > div { min-height: 0; }
  .qa-question-list a { min-height: 118px; }
  .qa-detail { width: calc(100% - 32px); }
  .qa-detail header h1 { font-size: 30px; }
  .qa-detail section p, .member-answer-copy { font-size: 16px; line-height: 1.95; }
  .qa-detail details > dl { grid-template-columns: 1fr; }
  .member-unit-hero { padding: 40px 0 34px; }
  .member-unit-meta { flex-direction: column; }
  .member-unit-meta div { padding: 0; border: 0; }
  .member-inline-viewer { padding-top: 34px; }
  .member-inline-viewer iframe { min-height: 62vh; }
  .member-method-grid { grid-template-columns: 1fr; }
  .member-method-choice { min-height: 0; }
  .member-unit-search-section .member-search { padding: 20px 16px; }
  .member-result-header { align-items: flex-start; }
  .member-evidence-source dl div { grid-template-columns: 1fr; gap: 2px; }
}

/* Reference-fit pass: denser rhythm, compact labels and line icons. */
.member-hero {
  min-height: 420px;
  grid-template-columns: minmax(0, 59%) minmax(300px, 41%);
  padding: 32px 0 42px;
}
.member-hero h1 { font-size: clamp(38px, 4vw, 50px); line-height: 1.32; }
.member-hero-lead { margin: 10px 0 0; font-size: 14px; line-height: 1.75; }
.member-watercolor { min-height: 350px; }
.member-watercolor img { height: 535px; }
.member-search-home { margin-top: 20px; padding: 17px 18px; }
.member-search-home > h2 { margin: 0 0 10px; font-size: 15px; }
.member-search-form input, .qa-search input, .member-search-form button, .qa-search button { min-height: 48px; }
.member-search-examples { margin-top: 10px; }
.member-learning-section { padding: 38px 0 44px; }
.member-section-heading h2 { font-size: clamp(25px, 2.6vw, 31px); }
.member-section-heading p { font-size: 12px; }
.home-foundation-list { margin-top: 20px; }
.home-foundation-list a { min-height: 78px; padding: 14px 16px; box-shadow: none; }
.home-foundation-list a > span { width: 27px; height: 27px; }
.home-trouble-list, .member-community-qa-list, .theme-link-grid, .member-unit-list { margin-top: 20px; }
.home-trouble-list a { min-height: 68px; padding: 15px 2px; }
.member-community-qa-list a { min-height: 126px; padding: 17px 18px; box-shadow: none; }
.member-community-qa-list strong { margin-top: 8px; font-size: 15px; line-height: 1.6; }
.member-community-qa-list small { padding-top: 10px; }
.member-type-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 21px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.member-type-label.is-learning { background: var(--lp-blue-soft); color: #148bbf; }
.member-type-label.is-interview { background: var(--lp-orange-soft); color: #c26b1e; }
.member-list-copy { display: flex; flex-direction: column; gap: 7px; }
.theme-link-grid a { min-height: 66px; padding: 14px 2px; }
.theme-link-grid a b { align-self: center; font-weight: 400; }
.member-unit-link { min-height: 76px; padding: 18px 2px; }
.member-unit-link h3 { margin-top: 6px; font-size: 18px; }
.member-interview-link { border-left: 2px solid var(--lp-orange); padding-left: 14px; }
.member-external-links { margin-top: 26px; }
.member-external-links > div { min-height: 126px; padding: 18px 20px; }
.member-external-question a {
  padding: 7px 12px;
  border-radius: 5px;
  background: var(--lp-navy);
  color: #fff;
  text-decoration: none;
}
.member-external-links > div:not(.member-external-question) { background: #fff; }
.member-directory-page > .member-page-heading { margin-bottom: 34px; }
.member-page-heading h1 { font-size: clamp(34px, 4vw, 44px); }
.qa-question-list { gap: 12px; }
.qa-question-list a { min-height: 128px; padding: 18px 20px; box-shadow: none; }
.qa-question-list a:hover { padding-inline: 20px; }
.qa-detail { padding-top: 26px; }
.qa-detail header { margin-bottom: 30px; }
.qa-detail header h1 { font-size: clamp(30px, 3.5vw, 38px); line-height: 1.45; }
.qa-detail section { padding: 24px 0; }
.qa-detail section p { font-size: 16px; line-height: 1.95; }
.member-unit-hero { padding: 44px 0 32px; }
.member-unit-hero h1 { font-size: clamp(34px, 4vw, 44px); }
.member-inline-viewer { padding: 34px 0 40px; animation: member-viewer-in .16s ease-out both; }
@keyframes member-viewer-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.member-learning-methods { padding-bottom: 42px; }
.member-method-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 18px; }
.member-method-choice {
  position: relative;
  min-height: 104px;
  padding: 16px 16px 14px 52px;
  box-shadow: none;
}
.member-method-icon {
  position: absolute;
  top: 17px;
  left: 16px;
  width: 24px;
  height: 24px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: var(--lp-blue);
}
.member-method-choice.resource-video .member-method-icon { color: var(--lp-teal); }
.member-method-choice.resource-video .member-method-icon::after {
  position: absolute;
  top: 6px;
  left: 9px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
  content: "";
}
.member-method-choice.resource-lecture_note .member-method-icon,
.member-method-choice.resource-visual .member-method-icon,
.member-method-choice.resource-other .member-method-icon { border-radius: 3px; }
.member-method-choice.resource-lecture_note .member-method-icon::before,
.member-method-choice.resource-visual .member-method-icon::before,
.member-method-choice.resource-other .member-method-icon::before {
  position: absolute;
  top: 6px;
  right: 4px;
  left: 4px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
  content: "";
}
.member-method-choice.resource-visual .member-method-icon { color: var(--lp-orange); }
.member-method-choice span { font-size: 10px; }
.member-method-choice strong { margin-top: 8px; font-size: 16px; }
.member-method-choice small { margin-top: 7px; font-size: 11px; }
.member-unit-search-section { padding: 38px 0 52px; }
.member-unit-search-section .member-search { padding: 22px; }
.member-unit-search-section .member-search h2 { font-size: 23px; }
.member-result-group > h3 { font-size: 21px; }
.member-answer-copy { font-size: 16px; line-height: 1.95; }

@media (max-width: 900px) {
  .member-hero { min-height: 400px; }
  .member-watercolor img { height: 490px; }
}

@media (max-width: 700px) {
  .member-hero { padding: 28px 0 36px; }
  .member-hero h1 { font-size: 34px; }
  .member-watercolor { height: 210px; }
  .member-watercolor img { height: 380px; }
  .member-learning-section { padding: 34px 0 40px; }
  .home-foundation-list a { min-height: 68px; }
  .home-trouble-list a { min-height: 64px; }
  .member-community-qa-list a, .qa-question-list a { min-height: 0; }
  .member-method-grid { grid-template-columns: 1fr; }
  .member-method-choice { min-height: 88px; }
}

/* Local learner experience: quiet progress, clear next actions, no gamification. */
.learner-home {
  padding: 46px 0 38px;
  border-bottom: 1px solid var(--lp-line);
}
.learner-home-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.learner-home-heading p, .learner-continue span, .learner-overall > span, .learner-next > span {
  margin: 0;
  color: var(--lp-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.learner-home-heading h1 { margin: 0; font-family: var(--font-serif); font-size: clamp(28px, 3vw, 38px); font-weight: 500; }
.learner-continue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin-top: 25px;
  padding: 25px 28px;
  border: 1px solid #cbdfe7;
  border-left: 4px solid var(--lp-teal);
  border-radius: 8px;
  background: #fbfefe;
}
.learner-continue h2 { margin: 6px 0 14px; font-size: clamp(21px, 2.4vw, 29px); }
.learner-continue > div > small { display: block; margin-top: 9px; color: var(--lp-muted); }
.learner-continue > a, .learner-next a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--lp-navy);
  border-radius: 6px;
  background: var(--lp-navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.learner-continue > a:hover, .learner-continue > a:focus-visible, .learner-next a:hover, .learner-next a:focus-visible { transform: translateY(-2px); box-shadow: 0 7px 16px rgb(16 48 91 / .12); }
.learner-continue > a:active, .learner-next a:active { transform: translateY(1px); box-shadow: none; }
.learner-home-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, .75fr); gap: 30px; margin-top: 22px; }
.learner-overall, .learner-next { padding: 18px 2px 4px; }
.learner-overall small { display: block; margin-top: 8px; color: var(--lp-muted); }
.learner-next { display: grid; grid-template-columns: 1fr auto; gap: 5px 18px; align-items: center; border-left: 2px solid var(--lp-blue); padding-left: 20px; }
.learner-next > span, .learner-next > strong { grid-column: 1; }
.learner-next > a { grid-column: 2; grid-row: 1 / 3; background: #fff; color: var(--lp-navy); }
.learner-progress { display: grid; grid-template-columns: minmax(100px, 1fr) 42px; gap: 12px; align-items: center; max-width: 560px; }
.learner-progress-track { height: 8px; overflow: hidden; border-radius: 999px; background: #e8edf1; }
.learner-progress-track i { display: block; width: var(--progress); height: 100%; border-radius: inherit; background: var(--lp-teal); animation: learner-progress-grow .7s cubic-bezier(.2,.75,.35,1) both; transform-origin: left; }
.learner-progress > strong { color: var(--lp-navy); font-size: 13px; }
@keyframes learner-progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.learner-path { display: flex; gap: 0; overflow-x: auto; margin-top: 30px; padding: 4px 0 10px; scrollbar-width: thin; }
.learner-path a { position: relative; display: grid; min-width: 128px; justify-items: center; gap: 8px; padding: 0 12px; color: var(--lp-muted); font-size: 12px; text-align: center; text-decoration: none; }
.learner-path a:not(:last-child)::after { position: absolute; top: 13px; left: calc(50% + 17px); width: calc(100% - 34px); height: 1px; background: #d8dee4; content: ""; }
.learner-path i { z-index: 1; display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #b9c1c9; border-radius: 50%; background: #fff; font-style: normal; }
.learner-path .is-completed { color: #187c7f; }
.learner-path .is-completed i { border-color: var(--lp-teal); background: var(--lp-teal); color: #fff; }
.learner-path .is-in_progress { color: var(--lp-navy); font-weight: 700; }
.learner-path .is-in_progress i { border-color: var(--lp-orange); color: var(--lp-orange); box-shadow: 0 0 0 4px var(--lp-orange-soft); }
.learner-first-note { margin: 22px 0 0; padding: 18px 0; border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); color: var(--lp-muted); }
.learner-home-skeleton { display: block; min-height: 190px; border-bottom: 1px solid var(--lp-line); }

.unit-progress-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; max-width: 820px; margin-top: 28px; padding: 18px 0 4px; border-top: 1px solid var(--lp-line); }
.unit-progress-summary > div > span { display: block; margin-bottom: 8px; color: var(--lp-muted); font-size: 12px; }
.unit-progress-summary > a { display: grid; grid-template-columns: 1fr auto; gap: 3px 16px; min-width: 240px; padding: 12px 0 12px 18px; border-left: 2px solid var(--lp-blue); color: var(--lp-navy); text-decoration: none; }
.unit-progress-summary > a small { color: var(--lp-muted); }
.unit-progress-summary > a b { grid-column: 2; grid-row: 1 / 3; align-self: center; transition: transform .18s ease; }
.unit-progress-summary > a:hover b { transform: translateX(3px); }
.unit-progress-summary.is-complete .learner-progress-track i { background: var(--lp-teal); }

.member-resource-completion { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 960px; padding: 15px 0; border-bottom: 1px solid var(--lp-line); }
.member-resource-completion > span { color: var(--lp-muted); font-size: 13px; }
.member-resource-completion button, .member-unit-completion button {
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--lp-navy);
  border-radius: 6px;
  background: #fff;
  color: var(--lp-navy);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.member-resource-completion button:hover, .member-resource-completion button:focus-visible, .member-unit-completion button:hover, .member-unit-completion button:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 14px rgb(16 48 91 / .1); }
.member-resource-completion button:active, .member-unit-completion button:active { transform: translateY(1px); box-shadow: none; }
.member-resource-completion button.is-complete { border-color: var(--lp-teal); background: #eff9f8; color: #187c7f; }
.member-method-choice em { display: inline-flex; width: fit-content; margin-top: 9px; color: var(--lp-muted); font-size: 11px; font-style: normal; font-weight: 700; }
.member-method-choice.is-complete { border-color: var(--lp-teal); background: #f5fbfa; }
.member-method-choice.is-complete .member-method-icon::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; border: 0; color: #187c7f; font-size: 14px; animation: learner-check-in .24s ease both; }
.member-method-choice.is-complete .member-method-icon { border-color: var(--lp-teal); background: #fff; }
.member-method-choice.is-progress { border-color: #ebc17d; }
@keyframes learner-check-in { from { opacity: 0; transform: scale(.75); } to { opacity: 1; transform: scale(1); } }
.member-unit-completion { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 25px; padding: 20px 0; border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.member-unit-completion div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 15px; }
.member-unit-completion span { color: var(--lp-muted); font-size: 12px; }
.member-unit-completion div small { flex-basis: 100%; color: var(--lp-muted); font-size: 11px; line-height: 1.6; }
.member-unit-completion.is-complete strong { color: #187c7f; animation: learner-check-in .24s ease both; }
.member-unit-completion.is-complete button { border-color: var(--lp-teal); background: var(--lp-teal); color: #fff; }
.learning-encouragement {
  position: relative;
  display: inline-flex;
  width: min(100%, 680px);
  min-height: 68px;
  align-items: center;
  gap: 14px;
  margin: 18px 0 12px;
  padding: 16px 24px 16px 27px;
  border: 1px solid rgb(16 48 91 / .16);
  border-radius: 16px;
  background: rgb(255 255 255 / .9);
  color: var(--lp-navy);
  box-shadow: 0 5px 16px rgb(16 48 91 / .06);
  animation: learning-encouragement-in .2s ease both;
}
.learning-encouragement::before { width: 5px; height: 34px; flex: 0 0 auto; border-radius: 999px; background: var(--lp-pink); content: ""; }
.learning-encouragement::after { position: absolute; bottom: -9px; left: 38px; width: 16px; height: 16px; border-right: 1px solid rgb(16 48 91 / .16); border-bottom: 1px solid rgb(16 48 91 / .16); background: rgb(255 255 255 / .96); transform: rotate(45deg); content: ""; }
.learning-encouragement p { margin: 0; font-family: var(--font-sans); font-size: clamp(18px, 2vw, 22px); font-weight: 600; line-height: 1.65; letter-spacing: .025em; }
.learning-encouragement-visual { display: inline-flex; flex: 0 0 auto; }
@keyframes learning-encouragement-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }

/* Shared, restrained interaction feedback. */
.member-unit-link, .home-foundation-list a, .member-community-qa-list a, .member-learning-destination,
.member-external-links > div, .theme-link-grid a, .home-trouble-list a {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.member-unit-link:hover, .member-unit-link:focus-visible, .home-foundation-list a:hover, .home-foundation-list a:focus-visible,
.member-community-qa-list a:hover, .member-community-qa-list a:focus-visible, .member-learning-destination:hover,
.member-external-links > div:hover, .theme-link-grid a:hover, .theme-link-grid a:focus-visible, .home-trouble-list a:hover, .home-trouble-list a:focus-visible {
  transform: translateY(-3px);
  border-color: #b8cfdd;
  box-shadow: 0 8px 20px rgb(16 48 91 / .08);
}
.member-app button { transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, opacity .18s ease; }
.member-app button:not(:disabled):hover { transform: translateY(-2px); }
.member-app button:not(:disabled):active { transform: translateY(1px); box-shadow: none; }

@media (max-width: 700px) {
  .learner-home { padding-top: 30px; }
  .learner-home-heading { display: block; }
  .learner-home-heading h1 { margin-top: 5px; }
  .learner-continue, .learner-home-row, .unit-progress-summary { grid-template-columns: 1fr; }
  .learner-continue { gap: 20px; padding: 21px 18px; }
  .learner-continue > a { width: 100%; justify-content: center; }
  .learner-next { grid-template-columns: 1fr; }
  .learner-next > a { grid-column: 1; grid-row: auto; width: fit-content; margin-top: 8px; }
  .unit-progress-summary > a { display: none; }
  .member-resource-completion, .member-unit-completion { align-items: stretch; flex-direction: column; }
  .member-resource-completion button, .member-unit-completion button { width: 100%; }
  .learning-encouragement { width: 100%; min-height: 64px; padding: 14px 17px 14px 19px; border-radius: 14px; }
  .learning-encouragement::after { left: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .learner-progress-track i, .member-method-choice.is-complete .member-method-icon::after,
  .member-unit-completion.is-complete strong, .member-inline-viewer, .learning-encouragement { animation: none !important; }
  .member-unit-link, .home-foundation-list a, .member-community-qa-list a, .member-learning-destination,
  .member-external-links > div, .theme-link-grid a, .home-trouble-list a, .member-app button,
  .learner-continue > a, .learner-next a { transition: none !important; }
}

/* Final cascade: keep the visual language above the legacy member rules. */
.member-header { background: rgb(255 255 255 / .94); box-shadow: 0 1px 0 rgb(16 43 85 / .05); }
.member-nav a { transition: color .18s ease, background-color .18s ease; }
.member-nav a:hover { color: var(--lp-blue); }
.learner-home { position: relative; margin-top: 14px; padding: 36px clamp(20px, 3vw, 40px) 32px; overflow: hidden; border: 0; border-radius: 22px; background: var(--lp-wash-teal); }
.learner-home::after { position: absolute; right: -40px; bottom: -72px; width: 260px; height: 170px; border-radius: 58% 42% 47% 53%; background: rgb(67 174 226 / .08); transform: rotate(-9deg); pointer-events: none; content: ""; }
.learner-home > * { position: relative; z-index: 1; }
.learner-home-heading { display: flex; align-items: flex-start; flex-direction: column; justify-content: flex-start; gap: 3px; }
.learner-home-heading h1 { color: var(--lp-navy); }
.learner-home-heading p { color: #27867f; }
.learner-continue { grid-template-columns: 7px minmax(0, 1fr) auto; border: 0; border-radius: 15px; background: rgb(255 255 255 / .88); box-shadow: var(--lp-soft-shadow); }
.learner-continue::before { width: 7px; align-self: stretch; border-radius: 999px; background: var(--lp-teal); content: ""; }
.learner-continue > div { grid-column: 2; }
.learner-continue > a { grid-column: 3; }
.learner-overall { padding: 18px 20px; border-radius: 12px; background: rgb(255 255 255 / .6); }
.learner-next { border-left: 0; border-radius: 12px; background: var(--lp-wash-blue); padding: 18px 18px 18px 20px; }
.learner-progress-track { height: 10px; box-shadow: inset 0 1px 2px rgb(16 43 85 / .08); }
.learner-progress-track i { background: linear-gradient(90deg, #42bbae, #34a8c8); }
.learner-path { align-items: flex-start; margin-top: 28px; padding: 14px 4px 8px; }
.learner-path a { min-width: 142px; gap: 10px; }
.learner-path a:nth-child(even) { padding-top: 14px; }
.learner-path i { width: 34px; height: 34px; border-width: 2px; box-shadow: 0 3px 8px rgb(16 43 85 / .06); }
.learner-path a:not(:last-child)::after { top: 30px; height: 2px; background: #cfe2e4; transform: rotate(3deg); }
.learner-path a:nth-child(even):not(:last-child)::after { top: 44px; transform: rotate(-3deg); }
.learner-path .is-completed i { box-shadow: 0 0 0 5px rgb(49 184 173 / .09); }
.learner-path .is-in_progress i { width: 38px; height: 38px; margin-top: -2px; background: #fff; box-shadow: 0 0 0 7px var(--lp-orange-soft), 0 5px 14px rgb(239 156 69 / .16); }
.member-search-home { border-color: #d7e7ed; border-radius: 14px; box-shadow: var(--lp-soft-shadow); }
.home-foundation-list a { border: 0; border-radius: 14px; background: var(--lp-wash-blue); box-shadow: none; }
.home-foundation-list li:nth-child(2) a { background: var(--lp-wash-orange); }
.home-foundation-list li:nth-child(3) a { background: var(--lp-wash-pink); }
.home-foundation-list a > span { border: 0; background: #fff; box-shadow: 0 3px 9px rgb(16 43 85 / .08); }
.home-trouble-list, .theme-link-grid, .member-unit-list { border-top: 0; }
.home-trouble-list a, .theme-link-grid a, .member-unit-link { margin-bottom: 7px; padding: 16px; border: 0; border-radius: 11px; background: #fff; }
.home-trouble-list a:hover { background: var(--lp-wash-pink); }
.theme-link-grid a:hover, .member-unit-link:hover { background: var(--lp-wash-blue); }
.member-interview-link { border-left: 4px solid var(--lp-orange); background: var(--lp-wash-orange); }
.member-community-qa-list a, .qa-question-list a { position: relative; border: 0; border-radius: 14px; background: linear-gradient(135deg, #fff 72%, var(--lp-wash-pink)); box-shadow: 0 4px 16px rgb(28 61 93 / .055); }
.member-community-qa-list a::before, .qa-question-list a::before { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; border-radius: 14px 0 0 14px; background: var(--lp-pink); content: ""; }
.member-unit-hero { position: relative; max-width: none; margin-top: 18px; padding: 46px clamp(20px, 4vw, 50px) 38px; overflow: hidden; border: 0; border-radius: 20px; background: var(--lp-wash-blue); }
.member-unit-hero::after { position: absolute; right: -55px; bottom: -65px; width: 260px; height: 180px; border-radius: 58% 42% 36% 64%; background: rgb(49 184 173 / .07); transform: rotate(11deg); content: ""; }
.member-unit-hero > * { position: relative; z-index: 1; }
.member-inline-viewer video, .member-inline-viewer iframe { border: 0; box-shadow: var(--lp-soft-shadow); }
.member-method-grid { gap: 10px; padding: 10px; border-radius: 16px; background: var(--lp-surface); }
.member-method-choice { border: 0; border-radius: 11px; background: transparent; box-shadow: none; }
.member-method-choice:hover { background: #fff; box-shadow: var(--lp-soft-shadow); }
.member-method-choice.is-selected { background: #fff; box-shadow: inset 0 0 0 2px var(--lp-blue), var(--lp-soft-shadow); }
.member-method-choice.is-complete { background: var(--lp-wash-teal); box-shadow: inset 0 0 0 1px rgb(49 184 173 / .35); }
.member-unit-search-section { border-top: 0; }
.member-unit-search-section .member-search { border: 0; border-radius: 16px; background: var(--lp-wash-blue); }
.member-learning-destination { border: 0; border-radius: 13px; box-shadow: var(--lp-soft-shadow); }
.member-qa-destinations { border-top: 0; gap: 7px; }
.member-qa-destinations a { padding: 14px 16px; border: 0; border-radius: 10px; background: var(--lp-wash-pink); }
.member-external-links { border-top: 1px solid #e5ebef; padding-top: 18px; }
.member-external-links > div { min-height: 0; border: 0; border-radius: 10px; }
.member-external-links > .member-external-question { border-left: 0; background: var(--lp-wash-pink); }
.member-external-links > .member-external-notebook { background: var(--lp-wash-blue); }

@media (max-width: 700px) {
  .learner-home { margin-top: 10px; padding: 26px 18px 24px; border-radius: 17px; }
  .learner-home-heading { display: flex; }
  .learner-continue { grid-template-columns: 5px 1fr; gap: 14px; }
  .learner-continue > div { grid-column: 2; }
  .learner-continue > a { grid-column: 1 / -1; }
  .learner-overall { padding-inline: 0; background: transparent; }
  .member-unit-hero { margin-top: 12px; padding: 34px 18px 30px; border-radius: 16px; }
  .member-method-grid { padding: 7px; border-radius: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .member-nav a { transition: none !important; }
  .learner-path .is-in_progress i { box-shadow: 0 0 0 5px var(--lp-orange-soft); }
}

/* Reversible trial companion layer. It occupies no layout space when disabled. */
.learner-home-stage { position: relative; }
.trial-learning-companion {
  position: absolute;
  z-index: 3;
  left: clamp(42%, 48vw, 58%);
  bottom: 74px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  pointer-events: none;
  animation: trial-companion-in .24s ease both;
}
.trial-learning-companion p {
  position: relative;
  max-width: 145px;
  margin: 0 0 54px;
  padding: 7px 10px;
  border: 0;
  border-radius: 12px 12px 4px 12px;
  background: rgb(255 255 255 / .76);
  box-shadow: 0 3px 10px rgb(16 43 85 / .035);
  color: var(--lp-muted);
  font-size: 11px;
  line-height: 1.5;
}
.trial-learning-companion p::after {
  position: absolute;
  right: -7px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  background: rgb(255 255 255 / .76);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  content: "";
}
.trial-companion-asset {
  display: block;
  width: clamp(80px, 7.6vw, 104px);
  height: auto;
  max-height: 112px;
  object-fit: contain;
}
@keyframes trial-companion-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 700px) {
  .trial-learning-companion { left: auto; right: 12px; bottom: 58px; gap: 3px; }
  .trial-learning-companion p { max-width: 126px; margin-bottom: 38px; padding: 6px 8px; font-size: 10px; }
  .trial-companion-asset { width: clamp(60px, 19vw, 78px); max-height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .trial-learning-companion { animation: none; }
}

/* Mobile hardening: preserve the desktop composition while making every member flow touch-safe. */
@media (max-width: 700px) {
  html, body { max-width: 100%; overflow-x: clip; }
  .member-app { min-width: 0; }
  .member-header, .member-home, .member-unit-page, .member-content, .member-footer {
    width: min(100% - 28px, var(--lp-content));
  }
  .member-header { align-items: center; column-gap: 10px; padding-top: 9px; }
  .member-brand strong { font-size: 16px; }
  .member-brand small { font-size: 8px; }
  .member-nav {
    width: calc(100vw - 28px);
    gap: 20px;
    padding: 2px 2px 8px;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
  }
  .member-nav a { min-height: 44px; display: inline-flex; align-items: center; flex: 0 0 auto; scroll-snap-align: start; }
  .member-hero { gap: 18px; }
  .member-hero-copy, .member-search, .member-unit-hero, .member-resources, .member-inline-viewer,
  .member-search-navigation, .member-search-navigation section { min-width: 0; }
  .member-hero h1, .member-unit-hero h1, .member-page-heading h1 { overflow-wrap: anywhere; }
  .member-hero h1 { font-size: clamp(32px, 10.2vw, 38px); }
  .member-hero-lead, .member-unit-description, .member-answer-copy { font-size: 15px; line-height: 1.85; }
  .member-watercolor { order: -1; height: 132px; overflow: hidden; }
  .member-watercolor img { width: 100%; height: 240px; object-fit: contain; object-position: right center; }
  .member-search-home { padding: 18px 15px; }
  .member-search-form { gap: 9px; }
  .member-search-form input, .qa-search input { width: 100%; min-width: 0; font-size: 16px; }
  .member-search-form button, .qa-search button { min-height: 48px; }
  .member-search-examples { gap: 8px; }
  .member-search-examples button { min-height: 40px; padding-inline: 13px; }
  .learner-home { padding-inline: 16px; }
  .learner-home-row { gap: 12px; }
  .learner-path { margin-inline: -4px; padding-bottom: 14px; scroll-snap-type: x proximity; }
  .learner-path a { min-width: 116px; padding-inline: 7px; scroll-snap-align: start; }
  .home-foundation-list a, .home-trouble-list a, .member-unit-link,
  .member-community-qa-list a, .qa-question-list a { min-width: 0; }
  .home-trouble-list a { grid-template-columns: 62px minmax(0, 1fr) auto; }
  .member-unit-link h3, .member-community-qa-list strong, .qa-question-list strong { overflow-wrap: anywhere; }
  .member-external-links { gap: 10px; }
  .member-external-links > div { padding: 17px 16px; }
  .member-external-links a.member-external-action { width: 100%; min-height: 46px; justify-content: center; }
  .member-unit-hero { padding-inline: 17px; }
  .member-unit-meta { display: flex; flex-wrap: wrap; gap: 14px 22px; }
  .member-method-choice { width: 100%; min-height: 92px; }
  .member-inline-viewer video, .member-inline-viewer iframe { width: 100%; max-width: 100%; }
  .member-related-qa a { min-height: 48px; align-items: center; gap: 14px; }
  .member-resource-completion, .member-unit-completion { gap: 12px; }
}

@media (max-width: 430px) {
  .member-learning-section { padding-block: 30px; }
  .member-section-heading h2 { font-size: 25px; }
  .member-unit-hero h1, .member-page-heading h1 { font-size: clamp(29px, 8.7vw, 36px); line-height: 1.35; }
  .learner-continue h2 { font-size: 21px; }
  .learner-progress { grid-template-columns: minmax(0, 1fr) 40px; }
  .home-foundation-list a { grid-template-columns: auto minmax(0, 1fr) auto; padding-inline: 14px; }
}

@media (max-width: 360px) {
  .member-header, .member-home, .member-unit-page, .member-content, .member-footer { width: calc(100% - 22px); }
  .member-nav { width: calc(100vw - 22px); gap: 17px; }
  .member-hero h1 { font-size: 31px; }
  .member-search-home { padding-inline: 12px; }
  .learner-home { padding-inline: 13px; }
  .learner-continue { padding-inline: 13px; }
  .home-trouble-list a { grid-template-columns: 1fr auto; }
  .home-trouble-list a > span { grid-column: 1 / -1; }
}

/* Final Q&A reading treatment shared by local and Cloudflare member surfaces. */
.qa-detail {
  width: min(720px, calc(100% - 64px));
  max-width: 720px;
  padding-top: 26px;
  padding-bottom: 72px;
}
.qa-detail > .member-back-link { margin: 28px 0 16px; }
.qa-detail header { max-width: 680px; margin: 0 0 34px; padding-bottom: 24px; }
.qa-detail header h1 {
  margin: 0;
  color: var(--lp-navy);
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.7vw, 31px);
  font-weight: 500;
  line-height: 1.52;
  overflow-wrap: anywhere;
}
.qa-detail .qa-detail-section {
  padding: 24px 0 28px;
  border-top: 0;
}
.qa-detail .qa-detail-section + .qa-detail-section { margin-top: 2px; }
.qa-detail .qa-detail-section h2 { margin: 0 0 14px; font-size: 20px; }
.qa-detail .qa-detail-section p { margin: 0; font-size: 16px; line-height: 1.95; }
.qa-detail .qa-detail-action {
  margin: 12px 0 20px;
  padding: 24px 26px 26px;
  border-radius: 14px;
  background: var(--lp-pink-soft);
}
.qa-detail .member-related-learning,
.qa-detail .member-related-external {
  margin-top: 14px;
  padding: 30px 0;
  border-top: 0;
}
.qa-detail .member-related-learning { border-top: 1px solid var(--lp-line); }
.qa-detail .member-related-external-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.qa-detail .member-related-external-card {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 84px;
  gap: 12px;
  padding: 11px;
  border-color: rgba(26, 55, 84, .11);
  border-radius: 11px;
  box-shadow: none;
}
.qa-detail .member-related-external-card img,
.qa-detail .member-related-external-fallback { width: 58px; height: 58px; border-radius: 8px; }
.qa-detail .member-related-external-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.qa-detail .member-related-external-card:hover,
.qa-detail .member-related-external-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(239, 101, 135, .30);
  box-shadow: 0 7px 18px rgba(26, 55, 84, .07);
  background: #fff;
}

@media (max-width: 900px) {
  .qa-detail .member-related-external-list { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .qa-detail { width: calc(100% - 28px); padding-top: 20px; padding-bottom: 56px; }
  .qa-detail > .member-back-link { margin-top: 20px; }
  .qa-detail header { margin-bottom: 24px; padding-bottom: 20px; }
  .qa-detail header h1 { font-size: clamp(24px, 6.7vw, 27px); line-height: 1.5; }
  .qa-detail .qa-detail-section { padding: 20px 0 24px; }
  .qa-detail .qa-detail-section h2 { font-size: 19px; }
  .qa-detail .qa-detail-section p { font-size: 16px; line-height: 1.9; }
  .qa-detail .qa-detail-action { margin: 8px 0 16px; padding: 21px 18px 23px; border-radius: 12px; }
  .qa-detail .member-related-learning,
  .qa-detail .member-related-external { padding: 26px 0; }
  .qa-detail .member-related-external-card { min-height: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  .qa-detail .member-related-external-card,
  .qa-detail .member-related-external-card > b { transition: none; }
}

/* Home visual trial restored to the 14:02 review state. */
.member-home-reference-hero { min-height: 0; grid-template-columns: minmax(0, 66%) minmax(280px, 34%); gap: 10px; align-items: start; padding: 24px 18px 12px; }
.member-home-reference-hero::before { right: 8%; }
.member-home-reference-hero .member-hero-copy { justify-content: flex-start; padding: 28px 0 0; }
.member-home-reference-hero h1 { max-width: 760px; font-size: clamp(39px, 3.8vw, 52px); line-height: 1.38; }
.member-home-reference-hero .member-hero-lead { margin-top: 12px; color: #708198; font-size: 15px; line-height: 1.75; }
.member-home-reference-logo { display: grid; height: auto; min-height: 0; overflow: visible; place-items: center; border-radius: 0; }
.member-home-reference-logo img { position: static; width: min(100%, 360px); height: auto; max-width: 360px; transform: none; object-fit: contain; }
.member-home-reference-hero .member-search-home { max-width: 760px; margin-top: 20px; padding: 7px; border: 1px solid #d7e1e8; border-radius: 10px; background: #fff; box-shadow: 0 3px 12px rgb(16 43 85 / .06); }
.member-home-reference-hero .member-search-home > h2, .member-home-reference-hero .member-search-examples { display: none; }
.member-home-reference-hero .member-search-form { gap: 8px; margin: 0; }
.member-home-reference-hero .member-search-form input { height: 52px; padding-left: 20px; border: 0; background: transparent; }
.member-home-reference-hero .member-search-form button { min-width: 120px; border-radius: 7px; }
.member-home-reference-hero .member-search-form button:disabled { background: var(--lp-navy); color: #fff; opacity: 1; }
.member-home-reference-progress { margin-top: 0; }
.member-home-reference-progress .learner-home { margin-top: 0; }
.learner-progress-label { display: block; margin: 0 0 5px; color: var(--lp-muted); font-size: 11px; }
.member-home-reference-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 18px 0 22px; }
.member-home-reference-highlights > section { min-width: 0; padding: 18px 22px 12px; border-radius: 14px; background: #fff; box-shadow: 0 3px 14px rgb(16 43 85 / .045); }
.member-home-reference-highlights header { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.member-home-reference-highlights h2 { margin: 0; color: var(--lp-navy); font-size: 20px; }
.member-home-reference-highlights header a { color: #2589cc; font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.member-home-reference-highlights section > div { display: grid; margin-top: 10px; }
.member-home-reference-highlights section > div > a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-height: 48px; padding: 8px 2px; border-top: 1px solid #edf1f3; color: var(--lp-navy); text-decoration: none; }
.member-home-reference-highlights strong { overflow: hidden; font-size: 13px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.member-home-reference-highlights b { font-size: 20px; font-weight: 400; }
.member-new-badge { padding: 3px 7px; border-radius: 999px; background: var(--lp-pink-soft); color: var(--lp-pink); font-size: 10px; font-weight: 800; line-height: 1.2; }
.member-type-label.is-qa { background: var(--lp-pink-soft); color: var(--lp-pink); }
.member-hero-nowrap { white-space: nowrap; }
.member-home-question { padding: 22px 0 34px; }
.member-home-question > h2 {
  margin: 0;
  color: var(--lp-navy);
  font-family: var(--font-serif), serif;
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: .025em;
}
.member-home-question > p {
  margin: 18px 0 28px;
  color: #344760;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.8;
}
.member-home-question .member-search-home {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0;
  padding: 30px 34px 28px;
  border: 1px solid #d2dfe4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(16 43 85 / .045);
}
.member-home-question .member-search-home > h2 {
  margin-bottom: 22px;
  color: var(--lp-navy);
  font-size: 24px;
}
.member-home-question .member-search-form {
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 18px;
}
.member-home-question .member-search-form input {
  min-height: 66px;
  padding-inline: 24px;
  font-size: 20px;
}
.member-home-question .member-search-form button {
  min-height: 66px;
  border-radius: 10px;
  font-size: 20px;
}
.member-home-question .member-search-examples { margin-top: 20px; }
.member-home-question .member-search-examples button { padding: 10px 18px; border-radius: 999px; }

@media (max-width: 700px) {
  .member-home-reference-hero { display: grid; grid-template-columns: minmax(0, 1fr) 116px; gap: 6px 8px; padding: 24px 4px 18px; }
  .member-home-reference-hero .member-hero-copy { display: contents; }
  .member-home-reference-hero h1 { grid-column: 1; margin: 0; font-size: clamp(27px, 8vw, 34px); line-height: 1.4; }
  .member-home-reference-hero .member-hero-lead { grid-column: 1 / -1; margin: 10px 0 0; font-size: 13px; }
  .member-home-reference-logo { grid-column: 2; grid-row: 1; align-self: start; width: 116px; }
  .member-home-reference-logo img { width: 116px; max-width: 116px; }
  .member-home-reference-hero .member-search-home { grid-column: 1 / -1; margin-top: 10px; }
  .member-home-reference-hero .member-search-form { grid-template-columns: minmax(0, 1fr) 76px; }
  .member-home-reference-hero .member-search-form input { height: 44px; padding-left: 12px; font-size: 13px; }
  .member-home-reference-hero .member-search-form button { min-width: 0; padding-inline: 8px; }
  .member-home-reference-highlights { grid-template-columns: 1fr; gap: 12px; padding-top: 14px; }
  .member-home-reference-highlights > section { padding: 17px 16px 10px; }
  .member-home-reference-highlights header { align-items: flex-start; }
  .member-home-reference-highlights h2 { font-size: 18px; }
  .member-home-reference-highlights header a { white-space: normal; text-align: right; }
  .member-home-reference-highlights strong { white-space: normal; }
  .member-home-reference-highlights section > div > a:nth-child(n + 3) { display: none; }
  .member-home-question { padding: 12px 0 24px; }
  .member-home-question > h2 { font-size: clamp(36px, 11vw, 48px); line-height: 1.38; }
  .member-home-question > p { margin: 12px 0 20px; font-size: 14px; }
  .member-home-question .member-search-home { padding: 20px 16px 18px; border-radius: 16px; }
  .member-home-question .member-search-home > h2 { margin-bottom: 15px; font-size: 20px; }
  .member-home-question .member-search-form { grid-template-columns: 1fr; gap: 10px; }
  .member-home-question .member-search-form input,
  .member-home-question .member-search-form button { min-height: 52px; font-size: 16px; }
  .member-home-question .member-search-examples { gap: 8px; margin-top: 14px; }
  .member-home-question .member-search-examples span { width: 100%; }
}

/* 14:02 home study: match the approved visual reference without changing data or progress rules. */
@media (min-width: 701px) {
  .member-home-reference-hero {
    grid-template-columns: minmax(0, 1.72fr) minmax(330px, .82fr);
    gap: 14px;
    min-height: 390px;
    padding: 44px 18px 22px;
  }
  .member-home-reference-hero .member-hero-copy { padding: 4px 0 0 8px; }
  .member-home-reference-hero h1 {
    max-width: 820px;
    font-size: clamp(44px, 4.35vw, 64px);
    line-height: 1.34;
    letter-spacing: .015em;
  }
  .member-home-reference-hero .member-hero-lead {
    margin-top: 13px;
    font-size: 17px;
    letter-spacing: .03em;
  }
  .member-home-reference-logo {
    align-self: center;
    margin-top: -38px;
  }
  .member-home-reference-logo img {
    width: min(112%, 500px);
    max-width: 500px;
  }
  .member-home-reference-hero .member-search-home {
    max-width: 860px;
    margin-top: 25px;
    padding: 8px;
  }
  .member-home-reference-hero .member-search-form input { height: 58px; font-size: 17px; }
  .member-home-reference-hero .member-search-form button { min-width: 142px; font-size: 17px; }
}

.member-home-reference-progress .learner-home {
  padding: 30px clamp(22px, 3vw, 42px) 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0fbf8 0%, #eefaf8 64%, #edf8fa 100%);
}
.member-home-reference-progress .learner-home-heading h1 {
  margin-top: 2px;
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 500;
  letter-spacing: .02em;
}
.member-home-reference-progress .learner-continue {
  min-height: 152px;
  margin-top: 18px;
  padding: 22px 26px 22px 18px;
}
.member-home-reference-progress .learner-continue h2 {
  margin: 7px 0 14px;
  font-size: clamp(25px, 2.2vw, 34px);
}
.member-home-reference-progress .learner-continue > a {
  min-width: 220px;
  min-height: 62px;
  justify-content: center;
  border-radius: 8px;
  background: var(--lp-navy);
  color: #fff;
  font-size: 17px;
}
.member-home-reference-progress .learner-home-row { gap: 16px; }
.member-home-reference-progress .learner-overall,
.member-home-reference-progress .learner-next {
  min-height: 104px;
  padding: 18px 22px;
  background: rgb(255 255 255 / .78);
}
.member-home-reference-progress .learner-path {
  margin-top: 20px;
  padding-top: 12px;
}
.member-home-reference-progress .learner-path a { min-width: 128px; }
.member-home-reference-progress .learning-encouragement {
  position: absolute;
  top: 27px;
  right: clamp(22px, 3vw, 42px);
  max-width: min(420px, 44%);
  margin: 0;
}

@media (max-width: 700px) {
  .member-home-reference-hero {
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 8px 10px;
    padding: 22px 2px 18px;
  }
  .member-home-reference-hero h1 {
    font-size: clamp(28px, 8.15vw, 35px);
    line-height: 1.42;
    letter-spacing: .01em;
  }
  .member-home-reference-logo { width: 132px; margin-top: -8px; }
  .member-home-reference-logo img { width: 132px; max-width: 132px; }
  .member-home-reference-hero .member-hero-lead {
    margin-top: 2px;
    font-size: 13px;
  }
  .member-home-reference-hero .member-search-home { margin-top: 5px; padding: 6px; }
  .member-home-reference-progress .learner-home { padding: 24px 15px 22px; }
  .member-home-reference-progress .learner-home-heading h1 { font-size: 31px; }
  .member-home-reference-progress .learning-encouragement {
    position: static;
    max-width: none;
    margin-top: 12px;
  }
  .member-home-reference-progress .learner-continue {
    min-height: 0;
    padding: 18px 15px 15px 12px;
  }
  .member-home-reference-progress .learner-continue h2 { font-size: 24px; }
  .member-home-reference-progress .learner-continue > a { min-width: 0; min-height: 50px; }
  .member-home-reference-progress .learner-overall,
  .member-home-reference-progress .learner-next { min-height: 0; padding: 16px; }
  .member-home-reference-progress .learner-path { margin-top: 16px; }
}

@media (min-width: 701px) and (max-width: 1050px) {
  .member-home-reference-hero {
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr);
    min-height: 350px;
    padding-top: 36px;
  }
  .member-home-reference-hero h1 { font-size: clamp(33px, 4.25vw, 42px); }
  .member-home-reference-logo img { width: min(110%, 390px); max-width: 390px; }
}

/* Pixel-guided desktop composition based on the supplied 02/03 reference. */
@media (min-width: 1060px) {
  .member-header,
  .member-home,
  .member-footer { width: min(1540px, calc(100% - 72px)); }
  .member-header { grid-template-columns: 280px 1fr 150px; min-height: 82px; }
  .member-home-reference-hero {
    grid-template-columns: minmax(0, 65%) minmax(360px, 35%);
    min-height: 360px;
    padding: 18px 22px 14px;
  }
  .member-home-reference-hero .member-hero-copy { padding: 0; }
  .member-home-reference-hero h1 {
    max-width: none;
    font-size: clamp(48px, 4.15vw, 68px);
    line-height: 1.28;
  }
  .member-home-reference-hero .member-hero-lead { margin-top: 14px; font-size: 17px; }
  .member-home-reference-logo { margin-top: -28px; }
  .member-home-reference-logo img {
    width: min(112%, 570px);
    max-width: 570px;
    max-height: 500px;
  }
  .member-home-reference-hero .member-search-home {
    width: min(100%, 900px);
    max-width: 900px;
    margin-top: 22px;
    padding: 7px;
  }
  .member-home-reference-hero .member-search-form { position: relative; }
  .member-home-reference-hero .member-search-form::before {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 20px;
    width: 20px;
    height: 20px;
    border: 3px solid var(--lp-navy);
    border-radius: 50%;
    transform: translateY(-58%);
    content: "";
    pointer-events: none;
  }
  .member-home-reference-hero .member-search-form::after {
    position: absolute;
    z-index: 2;
    top: calc(50% + 8px);
    left: 39px;
    width: 10px;
    height: 3px;
    border-radius: 99px;
    background: var(--lp-navy);
    transform: rotate(45deg);
    transform-origin: left center;
    content: "";
    pointer-events: none;
  }
  .member-home-reference-hero .member-search-form input {
    height: 64px;
    padding-left: 62px;
    font-size: 17px;
  }
  .member-home-reference-hero .member-search-form button { min-width: 150px; min-height: 58px; }
}

.member-home-reference-progress .learner-home {
  background: #effbf8;
  box-shadow: none;
}
.member-home-reference-progress .learner-current-progress,
.member-home-reference-progress .learner-overall {
  min-width: 0;
  padding: 18px 22px;
  border-radius: 12px;
  background: rgb(255 255 255 / .86);
}
.member-home-reference-progress .learner-current-progress > span,
.member-home-reference-progress .learner-overall > span {
  display: block;
  margin-bottom: 7px;
  color: var(--lp-muted);
  font-size: 14px;
  font-weight: 700;
}
.member-home-reference-progress .learner-current-progress .learner-progress-track i {
  background: var(--lp-teal);
}
.member-home-reference-progress .learner-home-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}
.member-home-reference-progress .learner-next {
  min-height: 92px;
  margin-top: 16px;
  padding: 17px 22px;
  border: 0;
  border-radius: 12px;
  background: rgb(255 255 255 / .86);
}
.member-home-reference-progress .learner-next > a {
  min-width: 190px;
  justify-content: center;
  border: 1px solid var(--lp-navy);
  border-radius: 8px;
}
.member-home-reference-progress .learner-complete-label {
  display: block;
  color: var(--lp-teal);
  font-size: 14px;
  font-weight: 700;
}
.member-home-reference-progress .learner-path {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: rgb(35 180 184 / .35) transparent;
  scrollbar-width: thin;
}
.member-home-reference-progress .learner-path:active { cursor: auto; }

@media (max-width: 700px) {
  .member-home-reference-progress .learner-home-row { grid-template-columns: 1fr; }
  .member-home-reference-progress .learner-current-progress,
  .member-home-reference-progress .learner-overall { padding: 15px; }
  .member-home-reference-progress .learner-next { grid-template-columns: 1fr; min-height: 0; }
  .member-home-reference-progress .learner-next > a { grid-column: 1; grid-row: auto; min-width: 0; margin-top: 10px; }
  .member-home-reference-progress .learner-path {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
    overflow: visible;
    cursor: auto;
  }
  .member-home-reference-progress .learner-path a { min-width: 0; padding-top: 0; }
  .member-home-reference-progress .learner-path a::after { display: none; }
}

/* Search-led home introduction: the watercolor logo remains the sole colorful focal point. */
.member-home-question { padding-top: 8px; }
.member-home-question .member-search-examples button,
.member-home-question .member-search-examples button:nth-of-type(2n),
.member-home-question .member-search-examples button:nth-of-type(3n) {
  border: 1px solid #d9e4ea;
  background: #f5f9fb;
  color: var(--lp-navy);
  box-shadow: none;
}
.member-home-question .member-search-examples button:hover {
  border-color: #b8d3df;
  background: #edf7fb;
  color: var(--lp-navy);
}
.member-home-question .member-search-examples button:active {
  border-color: #9ecfc8;
  background: #e7f6f3;
}
.member-home-question .member-search-form button:disabled {
  background: #96a3b7;
  color: #fff;
  opacity: 1;
}
.member-home-question .member-search-form button:not(:disabled) {
  background: var(--lp-navy);
  color: #fff;
}

@media (min-width: 1060px) {
  .member-home-reference-hero { min-height: 410px; }
  .member-home-reference-logo { margin-top: -34px; }
  .member-home-reference-logo img {
    width: min(116%, 600px);
    max-width: 600px;
    max-height: 520px;
  }
  .member-home-question { padding: 10px 0 38px; }
  .member-home-question .member-search-home { padding: 30px 34px 27px; }
  .member-home-question .member-search-examples button { min-height: 44px; padding-inline: 20px; font-size: 15px; }
}

/* Final approved home composition: brand hero, learning progress, then compact search. */
@media (min-width: 1060px) {
  .member-home-reference-hero {
    position: relative;
    grid-template-columns: minmax(0, 64%) minmax(360px, 36%);
    min-height: 330px;
    padding: 26px 22px 0;
  }
  .member-home-reference-hero .member-hero-copy {
    position: relative;
    z-index: 2;
    padding-top: 18px;
  }
  .member-home-reference-hero h1 {
    max-width: 880px;
    font-size: clamp(50px, 4.3vw, 68px);
    line-height: 1.26;
  }
  .member-home-reference-logo {
    position: absolute;
    z-index: 1;
    top: -20px;
    right: 5.5%;
    width: min(34vw, 455px);
    margin: 0;
  }
  .member-home-reference-logo img {
    width: 100%;
    max-width: 455px;
    max-height: 455px;
  }
  .member-home-reference-progress {
    position: relative;
    z-index: 2;
    margin-top: 0;
  }
  .member-home-question {
    display: grid;
    grid-template-columns: auto auto minmax(420px, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 14px 18px;
    border: 1px solid #e2edf2;
    border-radius: 14px;
    background: #f7fbfd;
  }
  .member-home-question > h2 {
    margin: 0;
    font-family: var(--font-sans), sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .member-home-question > h2 br { display: none; }
  .member-home-question > p { display: none; }
  .member-home-question .member-search-home { display: contents; }
  .member-home-question .member-search-home > h2 {
    margin: 0;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    white-space: nowrap;
  }
  .member-home-question .member-search-form {
    grid-template-columns: minmax(0, 1fr) 138px;
    gap: 10px;
    margin: 0;
  }
  .member-home-question .member-search-form input,
  .member-home-question .member-search-form button {
    min-height: 52px;
    font-size: 16px;
  }
  .member-home-question .member-search-form input { padding-inline: 18px; }
  .member-home-question .member-search-examples {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0;
  }
  .member-home-question .member-search-examples span { display: none; }
  .member-home-question .member-search-examples button {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .member-home-question .member-search-results { grid-column: 1 / -1; }
}

@media (min-width: 701px) and (max-width: 1059px) {
  .member-home-reference-logo { align-self: end; transform: translateY(18px); }
  .member-home-question > h2 { font-size: clamp(30px, 4.5vw, 42px); }
}

@media (max-width: 700px) {
  .member-home-question { margin-top: 10px; padding-top: 20px; }
  .member-home-question > h2 { font-size: clamp(28px, 8vw, 36px); }
  .member-home-question > p { margin: 10px 0 18px; font-size: 14px; }
}

/* October visual review: foreground brand, quieter type scale, and gentle page motion. */
.learning-encouragement {
  min-height: 58px;
  width: fit-content;
  max-width: min(100%, 520px);
  padding: 12px 24px;
  border-color: rgb(16 48 91 / .12);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgb(16 48 91 / .055);
}
.learning-encouragement::before { display: none; }
.learning-encouragement::after {
  bottom: -7px;
  left: 42px;
  width: 13px;
  height: 13px;
  border-color: rgb(16 48 91 / .12);
  background: #fff;
}
.learning-encouragement p {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .25em;
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.45vw, 19px);
  font-weight: 650;
  line-height: 1.55;
}
.learning-encouragement em { color: var(--lp-pink); font-style: normal; }

@keyframes lp-page-reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.member-home > section,
.member-home > div,
.member-content > section,
.member-content > header,
.member-unit-page > section,
.member-unit-page > header {
  animation: lp-page-reveal .38s cubic-bezier(.22, .7, .28, 1) both;
}
.member-home > :nth-child(3), .member-content > :nth-child(2), .member-unit-page > :nth-child(2) { animation-delay: 45ms; }
.member-home > :nth-child(4), .member-content > :nth-child(3), .member-unit-page > :nth-child(3) { animation-delay: 80ms; }

@media (min-width: 1060px) {
  .member-home-reference-hero {
    min-height: 390px;
    grid-template-columns: minmax(0, 64%) minmax(360px, 36%);
    padding-top: 22px;
  }
  .member-home-reference-hero .member-hero-copy { z-index: 2; padding-top: 24px; }
  .member-home-reference-hero h1 {
    max-width: 830px;
    font-size: clamp(46px, 3.75vw, 58px);
    line-height: 1.3;
  }
  .member-home-reference-logo {
    z-index: 3;
    top: -24px;
    right: 3.5%;
    width: min(35vw, 480px);
  }
  .member-home-reference-logo img { max-width: 480px; max-height: 480px; }
  .member-home-reference-progress { z-index: 1; }
  .member-home-reference-progress .learner-home-heading h1 { font-size: clamp(31px, 2.65vw, 40px); }
  .member-home-reference-progress .learner-continue h2 { font-size: clamp(22px, 1.85vw, 29px); }
  .member-home-reference-progress .learning-encouragement {
    top: 25px;
    right: clamp(22px, 3vw, 42px);
    max-width: 46%;
  }
}

@media (min-width: 701px) and (max-width: 1059px) {
  .member-home-reference-hero { min-height: 330px; }
  .member-home-reference-hero h1 { font-size: clamp(34px, 4.1vw, 43px); }
  .member-home-reference-logo { position: relative; z-index: 3; transform: none; }
  .member-home-reference-progress .learner-home-heading h1 { font-size: 34px; }
}

@media (max-width: 700px) {
  .member-home-reference-hero h1 { font-size: clamp(25px, 7.3vw, 31px); }
  .member-home-reference-logo { position: relative; z-index: 3; }
  .member-home-reference-progress .learner-home-heading h1 { font-size: 28px; }
  .member-home-reference-progress .learner-continue h2 { font-size: 21px; }
  .member-home-question > h2 { font-size: clamp(27px, 7.4vw, 33px); }
  .learning-encouragement {
    width: fit-content;
    max-width: 100%;
    min-height: 54px;
    padding: 11px 18px;
    border-radius: 22px;
  }
  .learning-encouragement::after { left: 28px; }
  .learning-encouragement p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .member-home > section,
  .member-home > div,
  .member-content > section,
  .member-content > header,
  .member-unit-page > section,
  .member-unit-page > header { animation: none !important; }
}

/* Keep the approved logo scale while placing the artwork unmistakably in front. */
.member-home-reference-hero {
  position: relative;
  z-index: 4;
  isolation: isolate;
  overflow: visible;
}
.member-home-reference-hero::before { z-index: 0; }
.member-home-reference-hero .member-hero-copy { z-index: 2; }
.member-home-reference-logo {
  z-index: 8;
  pointer-events: none;
}
.member-home-reference-logo img {
  position: relative;
  z-index: 9;
  top: auto;
  left: auto;
  height: auto;
  transform: none;
  filter: drop-shadow(0 5px 9px rgb(16 48 91 / .035));
}

@media (min-width: 1060px) {
  .member-home-reference-logo {
    top: -48px;
    right: 3.5%;
    width: min(36.5vw, 510px);
  }
  .member-home-reference-logo img {
    width: 100%;
    max-width: 510px;
    max-height: none;
  }
  .member-home-reference-progress { position: relative; z-index: 2; }
}

/* Feedback follow-up: make status, notes and long-form material easier to understand. */
.member-progress-state { display: inline-flex; width: fit-content; min-height: 38px; align-items: center; margin-top: 10px; padding: 7px 14px; border-radius: 999px; background: #eef3f6; color: var(--member-navy); font-size: 15px; }
.member-progress-state.is-completed { background: #e0f7f2; color: #087c76; }
.unit-progress-summary > div > small { display: block; max-width: 560px; margin-top: 10px; color: var(--member-muted); line-height: 1.7; }
.member-service-difference { margin-top: 20px; padding: 18px; border-radius: 12px; background: #f4faf9; }
.member-service-difference > strong { display: block; margin-bottom: 10px; color: var(--member-navy); }
.member-service-difference p { display: grid; grid-template-columns: 120px 1fr; gap: 10px; margin: 7px 0; color: var(--member-muted); line-height: 1.65; }
.member-service-difference b { color: var(--member-navy); }
.member-document-page-link { display: block; color: inherit; }
.member-document-page-link:focus-visible { outline: 3px solid var(--member-sky); outline-offset: 4px; }
.member-learning-note { margin-top: 28px; padding: clamp(22px, 4vw, 34px); border: 1px solid #dce8eb; border-radius: 18px; background: #fbfdfd; }
.member-learning-note p { margin: 0 0 4px; color: var(--member-teal); font-size: 13px; font-weight: 700; }
.member-learning-note h2 { margin: 0 0 16px; color: var(--member-navy); font-family: var(--font-serif); font-size: clamp(23px, 3vw, 31px); font-weight: 500; }
.member-learning-note textarea { box-sizing: border-box; width: 100%; min-height: 112px; resize: vertical; padding: 14px 16px; border: 1px solid #cddadd; border-radius: 10px; background: #fff; color: var(--member-navy); font: inherit; font-size: 16px; line-height: 1.7; }
.member-learning-note small { display: block; margin-top: 8px; color: var(--member-muted); line-height: 1.6; }

@media (max-width: 700px) {
  .member-service-difference p { grid-template-columns: 1fr; gap: 2px; }
  .member-document-summary::after { content: "画像をタップすると大きく見られます"; display: block; width: 100%; margin-top: 7px; color: var(--member-muted); font-size: 12px; }
  .member-home-reference-highlights > section:first-child,
  .member-home .member-community-qa,
  .member-home .member-theme-section { display: none; }
  .member-home-reference-progress .learner-path {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 14px 4px 16px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .member-home-reference-progress .learner-path a { min-width: 116px; padding-inline: 7px; scroll-snap-align: start; }
  .member-home-reference-progress .learner-path a:not(:last-child)::after { display: block; }
}

@media (max-width: 700px) {
  .member-home-reference-hero {
    min-height: 245px;
    grid-template-columns: minmax(0, 1fr) 150px;
    padding-top: 18px;
  }
  .member-home-reference-hero .member-hero-copy { position: relative; z-index: 2; }
  .member-home-reference-hero h1 { max-width: calc(100% - 116px); }
  .member-home-reference-logo {
    position: absolute;
    z-index: 8;
    top: 0;
    right: 0;
    width: 150px;
    margin: 0;
    transform: none;
  }
  .member-home-reference-logo img {
    width: 150px;
    max-width: 150px;
    max-height: none;
  }
  .member-home-reference-progress { position: relative; z-index: 2; }
}

/* Final cascade rule: keep the complete project logo visible at every viewport size. */
.member-home-reference-logo,
.member-home-reference-logo img {
  visibility: visible;
  opacity: 1;
}
.member-home-reference-logo {
  z-index: 10;
  overflow: visible;
}
.member-home-reference-logo img {
  display: block;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 1060px) {
  .member-home-reference-logo {
    top: 0;
    right: 3.5%;
  }
}

@media (max-width: 700px) {
  .member-home-reference-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(118px, 36vw);
    min-height: 0;
  }
  .member-home-reference-hero .member-hero-copy { display: contents; }
  .member-home-reference-hero h1 {
    grid-column: 1;
    grid-row: 1;
    max-width: none;
  }
  .member-home-reference-logo {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    width: min(36vw, 150px);
    margin: 0;
    transform: none;
  }
  .member-home-reference-logo img {
    width: 100%;
    max-width: 150px;
    max-height: none;
  }
  .member-home-reference-hero .member-hero-lead {
    grid-column: 1 / -1;
  }
}

/* Keep the overflowing project artwork above the usage notice and progress panel. */
.member-home-reference-hero {
  z-index: 20;
}

.member-usage-summary,
.member-home-reference-progress {
  position: relative;
  z-index: 2;
}

/* Compact two-choice quick access based on the approved mobile reference. */
.member-quick-access { gap: 8px; }
.member-quick-access-menu {
  width: min(336px, calc(100vw - 24px));
  border: 0;
  border-radius: 17px;
  background: rgb(255 255 255 / .98);
  box-shadow: 0 14px 34px rgb(16 48 91 / .16), 0 3px 9px rgb(16 48 91 / .09);
}
.member-quick-access-menu a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  min-height: 70px;
  padding: 9px 12px;
  transition: background-color .18s ease;
}
.member-quick-access-menu a + a { border-top-color: #edf0f3; }
.member-quick-access-menu a:hover,
.member-quick-access-menu a:focus-visible { background: #f8fcfe; }
.member-quick-access-copy { display: grid; gap: 2px; min-width: 0; }
.member-quick-access-copy strong { color: #17385f; font-size: 14px; font-weight: 750; line-height: 1.35; }
.member-quick-access-copy small { color: #8290a0; font-size: 10px; line-height: 1.4; }
.member-quick-access-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: #ef4d98;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.member-quick-access-icon.is-question {
  border-radius: 50% 50% 50% 12px;
  color: #ef4d98;
}
.member-quick-access-icon.is-library {
  position: relative;
  border: 0;
  color: #20a9e2;
}
.member-quick-access-icon.is-library::before {
  position: absolute;
  top: 4px;
  left: 1px;
  width: 26px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 6px 3px 3px 6px;
  background: linear-gradient(90deg, transparent 46%, currentColor 47% 53%, transparent 54%);
  content: "";
}
.member-quick-access-icon.is-library::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #fff;
  box-shadow: 5px 5px 0 -3px currentColor;
  content: "";
}
.member-quick-access-arrow { color: #25a8df; font-size: 27px; line-height: 1; }
.member-quick-access > button {
  display: inline-grid;
  grid-template-columns: 24px auto 14px;
  gap: 8px;
  align-items: center;
  min-height: 49px;
  padding: 8px 15px 8px 11px;
  border-color: rgb(16 48 91 / .1);
  background: rgb(255 255 255 / .98);
  box-shadow: 0 8px 23px rgb(16 48 91 / .17), 0 2px 5px rgb(16 48 91 / .06);
  color: #17385f;
}
.member-quick-access-button-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid #2aaee5;
  border-radius: 50%;
}
.member-quick-access-button-icon::after {
  position: absolute;
  right: -6px;
  bottom: -3px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #2aaee5;
  transform: rotate(45deg);
  content: "";
}
.member-quick-access-button-label { display: inline-flex; align-items: baseline; font-weight: 750; letter-spacing: .01em; }
.member-quick-access-button-label .is-ask { color: #239fda; }
.member-quick-access-button-label .is-separator { color: #8b95a2; }
.member-quick-access-button-label .is-find { color: #ed4c95; }
.member-quick-access-chevron { color: #ed4c95; transition: transform .18s ease; }
.member-quick-access.is-open .member-quick-access-chevron { transform: rotate(180deg); }

@media (max-width: 700px) {
  .member-quick-access-menu { width: min(330px, calc(100vw - 24px)); }
  .member-quick-access-menu a { min-height: 68px; padding: 9px 12px; }
  .member-quick-access > button { min-height: 46px; padding: 8px 14px; font-size: 13px; }
}

/* First-visit guidance and the permanent "はじめに" guide library. */
body.has-member-onboarding { overflow: hidden; }
.member-onboarding-backdrop {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(10 30 55 / .48);
}
.member-onboarding-backdrop[hidden] { display: none; }
.member-onboarding {
  width: min(900px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid #dbe5ea;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 90px rgb(10 30 55 / .24);
  color: var(--lp-navy);
}
.member-onboarding:focus-visible { outline: 3px solid #27aee4; outline-offset: -5px; }
.member-onboarding-brand { display: grid; width: max-content; color: #10284a; }
.member-onboarding-brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 25px; letter-spacing: .035em; }
.member-onboarding-brand small { margin-top: -2px; font-size: 9px; font-weight: 750; letter-spacing: .18em; }
.member-onboarding-kicker { margin: 30px 0 8px; color: var(--lp-teal); font-size: 13px; font-weight: 750; letter-spacing: .08em; }
.member-onboarding h1 { margin: 0; font-family: var(--font-serif); font-size: clamp(32px, 5vw, 50px); font-weight: 450; line-height: 1.2; }
.member-onboarding-lead { margin: 12px 0 24px; color: var(--lp-muted); font-size: 16px; line-height: 1.8; }
.member-onboarding > video,
.member-guide-card video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid #e2e9ed; border-radius: 18px; background: #f7fafb; }
.member-onboarding-notice { margin-top: 24px; padding: clamp(20px, 3vw, 28px); border: 1px solid #dce8eb; border-radius: 18px; background: #f7fbfb; }
.member-onboarding-notice > p:first-child { margin: 0 0 7px; color: var(--lp-teal); font-size: 12px; font-weight: 750; }
.member-onboarding-notice h2 { margin: 0 0 14px; font-size: clamp(22px, 3vw, 28px); font-weight: 600; }
.member-onboarding-notice h2 + p,
.member-onboarding-notice h2 + p + p { margin: 0 0 12px; color: var(--lp-muted); font-size: 15px; line-height: 1.8; }
.member-onboarding-confirm { display: block; width: 100%; min-height: 54px; margin-top: 24px; border: 0; border-radius: 999px; background: var(--lp-navy); color: #fff; font: inherit; font-size: 15px; font-weight: 750; cursor: pointer; }
.member-onboarding-confirm:hover { background: #173f6f; }
.member-onboarding-confirm:focus-visible { outline: 3px solid #27aee4; outline-offset: 3px; }
.member-onboarding-revisit { display: block; margin-top: 12px; color: var(--lp-muted); font-size: 12px; line-height: 1.6; text-align: center; }
.member-guide-list { display: grid; gap: 28px; margin-top: 44px; }
.member-guide-card { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 42px); border: 1px solid #e0e8ec; border-radius: 26px; background: #fff; box-shadow: 0 14px 40px rgb(16 48 91 / .06); }
.member-guide-card > div > span,
.member-getting-started-notice > p:first-child { color: var(--lp-teal); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.member-guide-card h2 { margin: 8px 0 12px; font-family: var(--font-serif); font-size: clamp(26px, 3vw, 34px); font-weight: 500; line-height: 1.3; }
.member-guide-card p { margin: 0; color: var(--lp-muted); font-size: 15px; line-height: 1.8; }
.member-getting-started-notice { margin-top: 32px; padding: clamp(24px, 4vw, 42px); border: 1px solid #dce8eb; border-radius: 24px; background: #f4faf9; }
.member-getting-started-notice > p { color: var(--lp-muted); line-height: 1.85; }
.member-getting-started-notice h2 { margin: 8px 0 18px; font-family: var(--font-serif); font-size: clamp(26px, 3vw, 36px); font-weight: 500; }
.member-getting-started-notice button { min-height: 46px; margin-top: 12px; padding: 10px 18px; border: 1px solid #b8dce1; border-radius: 999px; background: #fff; color: var(--lp-navy); font: inherit; font-weight: 700; cursor: pointer; }

@media (max-width: 700px) {
  .member-onboarding-backdrop { align-items: end; padding: 10px; }
  .member-onboarding { max-height: calc(100dvh - 20px); padding: 22px 18px; border-radius: 22px; }
  .member-onboarding-kicker { margin-top: 22px; }
  .member-onboarding-lead { font-size: 15px; }
  .member-onboarding-notice { padding: 18px 16px; }
  .member-onboarding-notice h2 + p,
  .member-onboarding-notice h2 + p + p { font-size: 14px; }
  .member-guide-list { margin-top: 30px; }
  .member-guide-card { grid-template-columns: 1fr; padding: 20px 16px; border-radius: 20px; }
  .member-guide-card video { grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .member-onboarding *, .member-guide-card * { scroll-behavior: auto; transition: none !important; animation: none !important; }
}

.member-home-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 4px 0 30px;
}
.member-home-entry-grid > a {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 156px;
  padding: 22px 22px 20px;
  overflow: hidden;
  border: 1px solid #dfe8ec;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgb(16 48 91 / .055);
  color: var(--lp-navy);
  text-decoration: none;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.member-home-entry-grid > a:hover {
  transform: translateY(-3px);
  border-color: #b9dce2;
  box-shadow: 0 18px 42px rgb(16 48 91 / .10);
}
.member-home-entry-grid > a:focus-visible {
  outline: 3px solid #27aee4;
  outline-offset: 3px;
}
.member-home-entry-grid span {
  color: var(--lp-teal);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .1em;
}
.member-home-entry-grid span.is-question { color: #e95a96; }
.member-home-entry-grid strong {
  align-self: end;
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.65vw, 25px);
  font-weight: 500;
  line-height: 1.35;
}
.member-home-entry-grid small {
  margin-top: 8px;
  padding-right: 24px;
  color: var(--lp-muted);
  font-size: 13px;
  line-height: 1.55;
}
.member-home-entry-grid b {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #278fc9;
  font-size: 19px;
  font-weight: 500;
}

@media (max-width: 980px) {
  .member-home-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .member-home-entry-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 24px; }
  .member-home-entry-grid > a {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 14px;
    min-height: 0;
    padding: 18px 48px 17px 18px;
    border-radius: 18px;
  }
  .member-home-entry-grid span { grid-row: 1 / span 2; padding-top: 4px; }
  .member-home-entry-grid strong { align-self: auto; margin: 0; font-size: 20px; }
  .member-home-entry-grid small { margin: 2px 0 0; padding: 0; font-size: 12px; }
  .member-home-entry-grid b { right: 18px; bottom: 50%; transform: translateY(50%); }
}

.member-home-new { margin: 26px 0 0; padding: clamp(22px, 3vw, 32px); border: 1px solid #e0e8ec; border-radius: 24px; background: #fff; box-shadow: 0 12px 34px rgb(16 48 91 / .05); }
.member-home-new > header { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.member-home-new h2 { margin: 0; color: var(--lp-navy); font-family: var(--font-serif); font-size: clamp(24px, 3vw, 32px); font-weight: 500; }
.member-home-new header > a { color: #2589cc; font-size: 13px; font-weight: 700; text-decoration: none; }
.member-home-new > div { display: grid; margin-top: 18px; }
.member-home-new > div > a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; min-height: 58px; padding: 10px 0; border-top: 1px solid #edf1f3; color: var(--lp-navy); text-decoration: none; }
.member-home-new > div > a strong { min-width: 0; font-size: 15px; line-height: 1.55; }
.member-home-new > div > a b { font-size: 22px; font-weight: 400; }

@media (max-width: 700px) {
  .member-home-new { padding: 20px 16px; border-radius: 20px; }
  .member-home-new > header { align-items: flex-start; }
  .member-home-new h2 { font-size: 23px; }
  .member-home-new > div > a { grid-template-columns: auto minmax(0, 1fr) auto; }
  .member-home-new .member-new-badge { grid-column: 2; width: max-content; }
}

/* Keep interviews visually inside the same calm navy/teal system as the other member pages. */
.member-type-label.is-interview {
  background: var(--lp-teal-soft);
  color: #187f82;
}
.member-interview-link {
  border-left-color: var(--lp-teal);
  background: #f4faf9;
}
.member-interview-link:hover,
.member-interview-link:focus-visible { background: #edf8f6; }
.member-interview-link > span,
.interview-list > a > b {
  color: #91a2af;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}
.interview-list > a > b { transition: color .2s ease, transform .2s ease; }
.interview-list > a:hover > b,
.interview-list > a:focus-visible > b { color: var(--lp-teal); transform: translateX(2px); }

/* Final member UI polish: stable navigation, calmer directories, and safe floating controls. */
.member-app { padding-bottom: 104px; }
.member-header-actions { white-space: nowrap; }
.member-nav { min-width: 0; gap: clamp(18px, 2.1vw, 34px); }
.member-nav a { white-space: nowrap; }

.member-directory-page > .member-page-heading { margin-bottom: 38px; }
.member-interview-list,
.interview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 0;
}
.member-interview-link,
.interview-list > a {
  min-height: 218px;
  margin: 0;
  padding: 24px 25px 22px;
  border: 1px solid #e1e9ec;
  border-left: 3px solid var(--lp-teal);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgb(16 43 85 / .055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.member-interview-link:hover,
.member-interview-link:focus-visible,
.interview-list > a:hover,
.interview-list > a:focus-visible {
  border-color: #c9dfdf;
  border-left-color: var(--lp-teal);
  background: #fbfefd;
  box-shadow: 0 10px 28px rgb(16 43 85 / .09);
  transform: translateY(-2px);
}
.member-interview-link h3,
.interview-list h2 { color: var(--lp-navy); line-height: 1.48; }
.member-interview-description {
  color: #53677a;
  font-size: 15px;
  line-height: 1.82;
}
.member-interview-link div > small:last-child,
.interview-list div > small:last-child {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f0f5f6;
  color: #526579;
  font-size: 12px;
}
.member-content,
.member-unit-page { padding-bottom: 34px; }
.learner-home-row > :only-child { grid-column: 1 / -1; }

@media (max-width: 1180px) {
  .member-header {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-top: 8px;
  }
  .member-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .member-nav::-webkit-scrollbar { display: none; }
  .member-nav a { min-height: 52px; padding: 0 2px; }
}

@media (max-width: 820px) {
  .member-interview-list,
  .interview-list { grid-template-columns: 1fr; }
  .member-interview-link,
  .interview-list > a { min-height: 0; padding: 21px 20px; }
}

@media (max-width: 700px) {
  .member-app { padding-bottom: 92px; }
  .member-directory-page > .member-page-heading { margin-bottom: 30px; }
  .member-interview-description { font-size: 15px; line-height: 1.75; }
  .member-quick-access { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .member-interview-link,
  .interview-list > a { transition: none !important; }
}

/* One shared interaction language for every member-facing card. */
:where(
  .qa-index-card,
  .trouble-grid a,
  .member-home-entry-grid > a,
  .member-unit-link,
  .home-foundation-list a,
  .member-community-qa-list a,
  .qa-question-list a,
  .member-learning-destination,
  .member-qa-destinations a,
  .theme-link-grid a,
  .member-interview-link,
  .interview-list > a
) {
  will-change: transform;
  transition:
    transform .2s cubic-bezier(.22, .7, .28, 1),
    box-shadow .2s ease,
    border-color .2s ease,
    background-color .2s ease,
    color .2s ease;
}
:where(
  .qa-index-card,
  .trouble-grid a,
  .member-home-entry-grid > a,
  .member-unit-link,
  .home-foundation-list a,
  .member-community-qa-list a,
  .qa-question-list a,
  .member-learning-destination,
  .member-qa-destinations a,
  .theme-link-grid a,
  .member-interview-link,
  .interview-list > a
) :where(b, .foundation-parent-action, .member-result-unit-link span) {
  transition: transform .2s cubic-bezier(.22, .7, .28, 1);
}

@media (hover: hover) and (pointer: fine) {
  :where(
    .qa-index-card,
    .trouble-grid a,
    .member-home-entry-grid > a,
    .member-unit-link,
    .home-foundation-list a,
    .member-community-qa-list a,
    .qa-question-list a,
    .member-learning-destination,
    .member-qa-destinations a,
    .theme-link-grid a,
    .member-interview-link,
    .interview-list > a
  ):hover {
    z-index: 1;
    border-color: #bfd7dc;
    background-color: #fbfefd;
    box-shadow: 0 12px 30px rgb(16 43 85 / .105);
    transform: translateY(-3px);
  }
  :where(
    .qa-index-card,
    .trouble-grid a,
    .member-home-entry-grid > a,
    .member-unit-link,
    .home-foundation-list a,
    .member-community-qa-list a,
    .qa-question-list a,
    .member-learning-destination,
    .member-qa-destinations a,
    .theme-link-grid a,
    .member-interview-link,
    .interview-list > a
  ):hover :where(b, .foundation-parent-action, .member-result-unit-link span) {
    transform: translateX(4px);
  }
}

:where(
  .qa-index-card,
  .trouble-grid a,
  .member-home-entry-grid > a,
  .member-unit-link,
  .home-foundation-list a,
  .member-community-qa-list a,
  .qa-question-list a,
  .member-learning-destination,
  .member-qa-destinations a,
  .theme-link-grid a,
  .member-interview-link,
  .interview-list > a
):focus-visible {
  z-index: 1;
  border-color: var(--lp-blue);
  box-shadow: 0 0 0 3px rgb(53 173 224 / .2), 0 12px 30px rgb(16 43 85 / .09);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  :where(
    .qa-index-card,
    .trouble-grid a,
    .member-home-entry-grid > a,
    .member-unit-link,
    .home-foundation-list a,
    .member-community-qa-list a,
    .qa-question-list a,
    .member-learning-destination,
    .member-qa-destinations a,
    .theme-link-grid a,
    .member-interview-link,
    .interview-list > a
  ),
  :where(
    .qa-index-card,
    .trouble-grid a,
    .member-home-entry-grid > a,
    .member-unit-link,
    .home-foundation-list a,
    .member-community-qa-list a,
    .qa-question-list a,
    .member-learning-destination,
    .member-qa-destinations a,
    .theme-link-grid a,
    .member-interview-link,
    .interview-list > a
  ) :where(b, .foundation-parent-action, .member-result-unit-link span) {
    transition: none !important;
    transform: none !important;
  }
}
