:root { --accent: #2d68bd; --accent-dark: #215298; --accent-soft: #e0ebfc; }
body::before { background: radial-gradient(circle at 14% 8%, #dbe8f577, transparent 32%), radial-gradient(circle at 88% 34%, #e0ecf877, transparent 28%); }
.button-primary { box-shadow: 0 12px 24px #2d68bd24; }
.button-primary:hover, .button-primary:focus-visible { box-shadow: 0 16px 30px #2d68bd30; }
.econ-shell { width: min(calc(100% - 48px), 1180px); margin: 0 auto; padding: 30px 0 36px; }
.econ-shell .breadcrumbs { margin-bottom: 24px; }
.econ-heading { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-bottom: 32px; }
.econ-kicker { font-size: .72rem; font-weight: 500; color: #61677a; letter-spacing: .02em; }
.econ-heading h1 { font-size: clamp(2rem, 3.6vw, 3.3rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.16; margin: 9px 0; }
.econ-heading p { margin: 0; color: var(--muted); font-size: .93rem; }
.econ-heading-actions, .econ-dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.econ-shell .button, .econ-dialog .button, .econ-waiver .button { min-height: 44px; font-size: .78rem; font-weight: 500; padding: 10px 16px; cursor: pointer; }
.econ-workspace { display: grid; grid-template-columns: 246px minmax(0, 1fr); gap: 28px; align-items: start; }
.econ-sidebar { position: sticky; top: 110px; max-height: calc(100dvh - 134px); overflow: auto; scrollbar-width: thin; padding: 21px 16px; background: #ffffff9e; border: 1px solid var(--line); border-radius: 22px; }
.econ-mobile-browse { display: none; }
.econ-search-label { display: block; font-size: .75rem; margin: 0 4px 9px; font-weight: 500; }
.econ-search { position: relative; }
.econ-search input { width: 100%; min-height: 44px; padding: 11px 28px 11px 12px; border: 1px solid #dfe1e4; border-radius: 12px; background: #f7f8f6; color: var(--ink); font-size: .73rem; }
.econ-search kbd { position: absolute; right: 12px; top: 10px; color: #7e8390; font-size: .8rem; }
.econ-progress { display: grid; gap: 9px; font-size: .65rem; color: var(--muted); margin: 20px 4px 22px; }
.econ-progress progress { appearance: none; width: 100%; height: 4px; border: 0; border-radius: 8px; background: #e5e8e7; accent-color: var(--accent); }
.econ-progress progress::-webkit-progress-bar { background: #e5e8e7; border-radius: 8px; }
.econ-progress progress::-webkit-progress-value { background: var(--accent); border-radius: 8px; }
.econ-unit { margin-bottom: 12px; }
.econ-unit > summary { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 8px; color: #4c5363; cursor: pointer; list-style: none; border-radius: 10px; font-size: .75rem; font-weight: 500; transition: background 180ms ease; }
.econ-unit > summary::-webkit-details-marker { display: none; }
.econ-unit > summary:hover { background: #eeeef4; }
.econ-unit-number { display: grid; place-items: center; min-width: 49px; min-height: 28px; padding: 4px 7px; flex-shrink: 0; border-radius: 8px; color: #5d6575; background: #edeef2; font-size: .65rem; white-space: nowrap; }
.econ-unit-indicator { position: relative; width: 12px; height: 12px; flex-shrink: 0; margin-left: auto; color: #8b8f9b; }
.econ-unit-indicator::before, .econ-unit-indicator::after { content: ''; position: absolute; border-radius: 2px; background: currentColor; }
.econ-unit-indicator::before { width: 12px; height: 2px; left: 0; top: 5px; }
.econ-unit-indicator::after { width: 2px; height: 12px; left: 5px; top: 0; transform: scaleY(1); transition: transform 240ms cubic-bezier(.22,1,.36,1); }
.econ-unit[data-expanded="true"] .econ-unit-indicator::after { transform: scaleY(0); }
.econ-unit-links { display: grid; gap: 3px; margin: 4px 0 4px 16px; padding-left: 10px; border-left: 1px solid #e6e7eb; }
.econ-topic { display: flex; align-items: center; min-height: 44px; gap: 8px; padding: 9px 10px; border-radius: 9px; color: #616777; font-size: .71rem; line-height: 1.5; text-decoration: none; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.econ-topic:hover { color: var(--ink); background: #f0f1ee; transform: translateX(2px); }
.econ-topic[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); font-weight: 500; }
.econ-topic.is-reviewed::after { content: '✓'; color: var(--accent); margin-left: auto; }
.econ-sidebar-links { border-top: 1px solid var(--line); display: grid; margin: 18px 5px 0; padding-top: 12px; }
.econ-sidebar-links a { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .72rem; text-decoration: none; }
.econ-sidebar-links a:hover { color: var(--accent); }
.econ-main { min-width: 0; }
.econ-mode-nav { display: flex; gap: 5px; width: fit-content; max-width: 100%; padding: 5px; border-radius: 14px; background: #e9eae5b0; margin-bottom: 27px; }
.econ-mode-nav a { display: flex; min-height: 40px; align-items: center; justify-content: center; text-decoration: none; padding: 8px 17px; border-radius: 10px; font-size: .76rem; color: #626877; transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease; white-space: nowrap; }
.econ-mode-nav a[aria-current="page"] { background: white; color: var(--ink); box-shadow: 0 2px 6px #22232a08; }
.econ-mode-nav a:hover { color: var(--ink); }
.econ-lesson-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.econ-lesson-title { min-width: 0; }
.econ-unit-tag { font-size: .7rem; color: #5e6679; }
.econ-lesson-header h2, .econ-section-title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 500; line-height: 1.2; letter-spacing: -.045em; margin: 10px 0 12px; }
.econ-lesson-header p { font-size: .9rem; color: #676d7a; line-height: 1.8; margin: 0; max-width: 52rem; }
.econ-reviewed { flex-shrink: 0; }
.econ-reviewed[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-dark); border-color: #c1d4ee; }
.econ-graph-card { border: 1px solid #dde1e5; border-radius: 24px; background: #ffffffe8; overflow: hidden; box-shadow: 0 8px 30px #202c3804; }
.econ-graph-heading { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 20px 24px 12px; }
.econ-graph-heading h3 { margin: 0; font-size: .9rem; font-weight: 500; letter-spacing: -.02em; }
.econ-graph-heading p { margin: 5px 0 0; color: var(--muted); font-size: .67rem; }
.econ-graph-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.econ-text-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; color: #616a7a; background: transparent; cursor: pointer; font: inherit; font-size: .72rem; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.econ-text-button:hover { background: #eef1f4; color: #283f5f; }
.econ-text-button:active { transform: scale(.97); }
.econ-variant { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 0 24px 10px; }
.econ-variant label { font-size: .68rem; color: var(--muted); }
.econ-select { max-width: 100%; min-height: 44px; padding: 8px 32px 8px 12px; border: 1px solid #dce0e5; border-radius: 10px; color: #374354; background: #fbfcfc; font: inherit; font-size: .73rem; }
.econ-canvas { width: 100%; min-width: 0; overflow: hidden; }
.econ-graph-scroll-hint { display: none; }
.econ-svg { display: block; width: 100%; max-width: 850px; margin: 0 auto; height: auto; overflow: visible; font-family: Poppins, sans-serif; }
.econ-gridline { stroke: #e9edf0; stroke-width: 1; }
.econ-axis-line { fill: none; stroke: #727d8d; stroke-width: 1.4; }
.econ-zero-line { stroke: #b5bbc5; stroke-width: 1; }
.econ-tick { font-size: 12px; fill: #768093; }
.econ-axis-title { font-size: 15px; fill: #485368; font-weight: 500; }
.econ-curve-label { font-size: 14px; font-weight: 500; }
.econ-region-label { font-size: 13px; font-weight: 500; paint-order: stroke; stroke: #ffffffb8; stroke-width: 4px; }
.econ-point-label, .econ-symbol-label { font-size: 14px; fill: #273d55; font-weight: 500; paint-order: stroke; stroke: white; stroke-width: 5px; stroke-linejoin: round; }
.econ-curve, .econ-area, .econ-point, .econ-direct-label { cursor: pointer; transition: opacity 160ms ease; outline: none; }
.econ-curve.is-muted, .econ-area.is-muted, .econ-point.is-muted, .econ-direct-label.is-muted { opacity: .45; }
.econ-curve.is-selected > path:first-child { stroke-width: 4; }
.econ-curve:focus-visible > path:first-child, .econ-point:focus-visible > circle:first-child { stroke-width: 5; }
.econ-area:focus-visible > path:first-child { stroke-width: 3; stroke-opacity: 1; }
.econ-direct-label:focus-visible text { text-decoration: underline; }
.econ-hit-area { pointer-events: stroke; }
.econ-graph-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.econ-graph-pair > div + div { border-left: 1px solid #edf0f2; }
.econ-panel-title { margin: 8px 24px 0; font-size: .8rem; color: #536176; font-weight: 500; }
.econ-graph-pair .econ-curve-label, .econ-graph-pair .econ-point-label, .econ-graph-pair .econ-symbol-label { font-size: 17px; }
.econ-graph-key { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 24px 18px; }
.econ-key { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; border: 1px solid #e4e7eb; border-radius: 9px; padding: 7px 10px; color: #586477; background: #fff; font: inherit; font-size: .68rem; cursor: pointer; transition: background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.econ-key:hover, .econ-key[aria-pressed="true"] { background: #f0f4f6; border-color: var(--key-color, #98a6b5); }
.econ-key:active { transform: scale(.97); }
.econ-key-dot { width: 16px; height: 3px; border-radius: 5px; background: var(--key-color, #344b65); }
.econ-key[data-kind="area"] .econ-key-dot { height: 12px; border-radius: 3px; opacity: .55; }
.econ-insight { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 118px; padding: 20px 24px; background: #f0f5fc; border-top: 1px solid #dfe7f1; }
.econ-insight h4 { font-size: .85rem; margin: 0 0 5px; font-weight: 500; color: #2c527f; }
.econ-insight p { font-size: .79rem; line-height: 1.75; color: #4e627f; margin: 0; }
.econ-step-actions { display: flex; gap: 5px; align-items: center; white-space: nowrap; }
.econ-step-actions button { width: 38px; min-height: 44px; border: 1px solid #d3dfef; border-radius: 10px; background: #ffffff9e; color: #3f618d; font-size: 1rem; cursor: pointer; transition: background 180ms ease, transform 180ms ease; }
.econ-step-actions button:hover { background: white; transform: translateY(-2px); }
.econ-step-count { font-size: .65rem; color: #4c6586; padding: 0 3px; }
.econ-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 26px; padding: 23px 24px; border-top: 1px solid #e6e9ec; }
.econ-control { min-width: 0; }
.econ-control label { display: flex; justify-content: space-between; gap: 12px; font-size: .72rem; color: #596375; margin-bottom: 10px; }
.econ-control output { color: #294d62; font-weight: 500; white-space: nowrap; }
.econ-control select { width: 100%; }
.econ-control input[type="range"] { width: 100%; height: 26px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.econ-presets { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 24px 20px; }
.econ-presets .econ-key { background: #f5f5f8; }
.econ-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #e5e8ec; }
.econ-metric { min-width: 0; padding: 18px 24px; }
.econ-metric + .econ-metric { border-left: 1px solid #e5e8ec; }
.econ-metric span { display: block; color: #5e687b; font-size: .7rem; margin-bottom: 6px; }
.econ-metric strong { display: block; color: #2e4055; font-size: 1.04rem; font-weight: 500; letter-spacing: -.025em; overflow-wrap: anywhere; }
.econ-model-note { padding: 14px 24px 18px; margin: 0; color: #5d6877; font-size: .73rem; line-height: 1.8; background: #f9faf9; border-top: 1px solid #e8ebed; }
.econ-reading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: 34px; margin: 35px 0 30px; }
.econ-reading h3, .econ-practice-card h3, .econ-reference h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: -.03em; margin: 0 0 15px; }
.econ-reading p { font-size: 1rem; line-height: 1.9; color: #4a5262; margin: 0 0 17px; }
.econ-formula { padding: 16px 18px; background: #eaf0fb; border-radius: 12px; color: #344f78; font-size: .84rem; line-height: 1.9; margin-top: 22px; overflow-wrap: anywhere; }
.econ-application { padding: 23px; border: 1px solid #dde4ef; border-radius: 18px; background: #f7faff; }
.econ-application p { font-size: .81rem; margin-bottom: 0; }
.econ-trap { padding: 21px 0 0; }
.econ-trap h4 { margin: 0 0 8px; color: #8e633e; font-size: .8rem; font-weight: 500; }
.econ-trap p { font-size: .85rem; color: #564b41; }
.econ-practice-card { border: 1px solid #dedfe8; background: #fefeff; border-radius: 20px; padding: 25px; margin: 24px 0; }
.econ-practice-card > p { font-size: .89rem; line-height: 1.85; }
.econ-answers { display: grid; gap: 9px; border: 0; padding: 0; margin: 20px 0; }
.econ-answer { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #e2e4e9; border-radius: 12px; cursor: pointer; transition: background 180ms ease, border-color 180ms ease; }
.econ-answer:hover { border-color: #abb9ce; background: #f8f9fd; }
.econ-answer:has(:checked) { border-color: #7e92b4; background: #eef2f9; }
.econ-answer input { accent-color: #476799; width: 17px; height: 17px; flex-shrink: 0; }
.econ-answer span { font-size: .82rem; line-height: 1.65; }
.econ-answer.is-correct { border-color: #82b49b; background: #eef7f0; }
.econ-answer.is-incorrect { border-color: #ce9b94; background: #fcf1ef; }
.econ-feedback { border-radius: 12px; background: #f0f4f8; color: #3e526c; padding: 15px 17px; margin: 18px 0 0; font-size: .82rem; line-height: 1.8; }
.econ-feedback:empty { display: none; }
.econ-lesson-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.econ-source-details { padding: 18px 0; border-top: 1px solid #e2e4e6; color: #5c6579; font-size: .73rem; }
.econ-source-details summary { cursor: pointer; min-height: 36px; display: flex; align-items: center; font-weight: 500; }
.econ-source-details li { margin: 6px 0; overflow-wrap: anywhere; }
.econ-bottom-note { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin: 30px 0 0; padding-top: 19px; border-top: 1px solid var(--line); font-size: .71rem; line-height: 1.9; color: #5f6878; }
.econ-bottom-note a { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; color: #565f7d; text-underline-offset: 3px; }
.econ-atlas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 24px; }
.econ-atlas-card { display: block; min-width: 0; padding: 19px 21px; border: 1px solid #dfe2e6; background: #ffffffc2; border-radius: 16px; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.econ-atlas-card:hover { transform: translateY(-2px); border-color: #acb8ca; box-shadow: 0 7px 18px #24364c08; }
.econ-atlas-card h3 { font-size: .86rem; font-weight: 500; margin: 7px 0; }
.econ-atlas-card p, .econ-small { color: #727a89; font-size: .72rem; line-height: 1.85; }
.econ-atlas-card p { margin: 0; }
.econ-atlas-card .econ-kicker { font-size: .65rem; color: #7c86a0; }
.econ-reference { margin-top: 25px; }
.econ-reference details { border-bottom: 1px solid #dde1e6; padding: 16px 0; }
.econ-reference summary { cursor: pointer; min-height: 44px; font-size: 1rem; font-weight: 500; }
.econ-reference ul { padding-left: 20px; }
.econ-reference li { font-size: .8rem; line-height: 1.9; margin: 12px 0; color: #535e70; }
.econ-reference a { color: #435e91; }
.econ-notation-list { display: grid; gap: 18px; margin: 0; }
.econ-notation-list dt { font-size: .9rem; font-weight: 500; color: #314861; }
.econ-notation-list dd { margin: 5px 0 0; color: #687386; font-size: .78rem; line-height: 1.85; }
.econ-dialog { width: min(660px, calc(100% - 32px)); }
.econ-dialog p { font-size: .86rem; color: #5e6879; line-height: 1.9; }
.econ-email { display: inline-block; font-size: .82rem; color: #435f93; overflow-wrap: anywhere; margin: 4px 0 22px; }
.econ-waiver { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid #dce5f1; border-radius: 26px; color: var(--ink); background: #fcfdff; box-shadow: var(--shadow); }
.econ-waiver[open] { display: flex; flex-direction: column; }
.econ-waiver::backdrop { background: #1b23333d; backdrop-filter: blur(8px); }
.econ-notice-heading { padding: 25px 28px 19px; border-bottom: 1px solid #e4eaf3; flex-shrink: 0; }
.econ-waiver h2 { font-size: clamp(1.5rem, 4vw, 1.9rem); letter-spacing: -.04em; font-weight: 500; line-height: 1.25; margin: 8px 0 9px; }
.econ-waiver p { font-size: .81rem; line-height: 1.8; color: #53637b; margin: 0; }
.econ-notice-heading > p { color: #62718a; }
.econ-notice-body { padding: 22px 28px; overflow-y: auto; min-height: 0; }
.econ-notice-points { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
.econ-notice-points li { display: grid; grid-template-columns: 29px minmax(0, 1fr); align-items: start; gap: 13px; }
.econ-notice-points li > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-dark); font-size: .66rem; }
.econ-notice-points h3 { font-size: .86rem; font-weight: 500; margin: 2px 0 7px; color: #293f61; }
.econ-notice-points strong { font-weight: 500; color: #293f61; }
.econ-waiver a:not(.button) { color: #374b7d; font-weight: 500; text-underline-offset: 3px; overflow-wrap: anywhere; }
.econ-notice-footer { padding: 17px 28px 22px; border-top: 1px solid #e4eaf3; background: #fcfdff; flex-shrink: 0; }
.econ-waiver .econ-notice-note { padding: 13px 15px; border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; background: var(--accent-soft); font-size: .77rem; color: #263d5c; }
.econ-notice-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 17px; }
.econ-notice-actions .button { min-width: 95px; }
.econ-skip-confirm { border-radius: 24px; }
body:has(.econ-waiver[open]) { overflow: hidden; }
.econ-game { padding: 24px; }
.econ-game-table { width: 100%; border-collapse: separate; border-spacing: 8px; margin: 22px 0; table-layout: fixed; }
.econ-game-table th { font-size: .75rem; font-weight: 500; color: #667185; padding: 10px; }
.econ-game-table td { padding: 0; }
.econ-game-cell { display: flex; justify-content: center; align-items: center; gap: 20px; width: 100%; min-height: 90px; border-radius: 13px; border: 1px solid #e1e5eb; background: #f5f7fa; font-size: 1.5rem; color: #6b7283; cursor: pointer; transition: background 180ms ease, border-color 180ms ease, transform 180ms ease; }
.econ-game-cell:hover { transform: translateY(-2px); border-color: #9dabc0; }
.econ-game-cell.is-nash { border-color: #7caf9a; background: #edf6ef; }
.econ-best { color: #2b7058; text-decoration: underline; text-underline-offset: 6px; font-weight: 500; }
.econ-game-status { min-height: 60px; color: #4d635d; font-size: .82rem; line-height: 1.8; }
.econ-filter-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 20px 0; }
.econ-filter-row label { font-size: .8rem; color: #637083; }
.econ-shell sub, .econ-dialog sub { font-size: .75em; vertical-align: sub; line-height: 0; }
.econ-equations { display: grid; gap: 12px; }
.econ-equation-line { min-width: 0; line-height: 2; }
.econ-equation-label { display: block; margin-bottom: 2px; font: 400 .71rem/1.7 Poppins, sans-serif; color: #5f728f; }
.econ-equation-math { font-family: "Cambria Math", "STIX Two Math", "Times New Roman", serif; font-size: 1.08rem; line-height: 2; overflow-wrap: anywhere; }
.econ-equation-math math { font-size: 1.08em; margin-inline: .12em; }
.econ-equation-math mtext { font-family: "Cambria Math", "STIX Two Math", "Times New Roman", serif; }
.econ-equation-prose { font-size: .79rem; line-height: 1.8; }
.econ-shell :is(button, input, select, summary, a):focus-visible, .econ-waiver :is(button, a):focus-visible { outline: 3px solid #718fb9; outline-offset: 3px; }
.econ-shell [hidden] { display: none !important; }
.econ-shell button:disabled { opacity: .45; cursor: not-allowed; }
.econ-policy-heading { max-width: 750px; margin: 12px 0 30px; }
.econ-policy-heading h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.18; margin: 12px 0 16px; }
.econ-policy-heading > p { color: #5c6b81; font-size: .95rem; line-height: 1.85; margin: 0; }
.econ-policy-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 35px; }
.econ-policy-nav { position: sticky; top: 110px; display: grid; gap: 5px; padding: 15px 0; }
.econ-policy-nav > span { font-size: .7rem; color: #62728a; padding: 0 12px 9px; }
.econ-policy-nav a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border-radius: 11px; color: #506480; text-decoration: none; font-size: .77rem; transition: background-color 180ms ease, transform 180ms ease, color 180ms ease; }
.econ-policy-nav a:hover { background: var(--accent-soft); color: var(--accent-dark); transform: translateX(2px); }
.econ-policy-nav a > span { color: #7b8ca5; font-size: .65rem; }
.econ-disclaimer { min-width: 0; border: 1px solid #dce4ef; border-radius: 24px; background: #ffffffbd; overflow: hidden; }
.econ-disclaimer section { padding: 27px 30px; scroll-margin-top: 110px; }
.econ-disclaimer section + section { border-top: 1px solid #e3e9f1; }
.econ-disclaimer h2 { font-size: 1.13rem; font-weight: 500; letter-spacing: -.025em; color: #2d4569; margin: 0 0 13px; }
.econ-disclaimer p { color: #58677d; font-size: .86rem; line-height: 1.95; margin: 0; }
.econ-disclaimer p + p { margin-top: 14px; }
.econ-disclaimer a { color: var(--accent-dark); overflow-wrap: anywhere; text-underline-offset: 3px; }
.econ-policy-actions { padding: 22px 30px; border-top: 1px solid #e3e9f1; background: #f3f7fd; }
.econ-policy-actions .button { color: white; }
@media (max-width: 760px) {
    .econ-policy-layout { grid-template-columns: 1fr; gap: 22px; }
    .econ-policy-nav { position: static; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; }
    .econ-policy-nav > span { flex-basis: 100%; padding-left: 0; }
    .econ-policy-nav a { border: 1px solid #dce4ef; background: #ffffffa8; font-size: .71rem; }
    .econ-disclaimer section, .econ-policy-actions { padding: 22px; }
    .econ-notice-heading { padding: 20px 20px 16px; }
    .econ-notice-body { padding: 19px 20px; }
    .econ-notice-footer { padding: 15px 20px 18px; }
    .econ-notice-points { gap: 19px; }
}
@media (max-width: 1200px) {
    .econ-shell { width: calc(100% - 40px); }
    .econ-workspace { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
    .econ-graph-pair { grid-template-columns: 1fr; }
    .econ-graph-pair > div + div { border-left: 0; border-top: 1px solid #e7e9eb; }
    .econ-reading { grid-template-columns: 1fr; gap: 20px; }
    .econ-lesson-header { flex-direction: column; gap: 14px; }
}
@media (max-width: 900px) {
    .econ-workspace { grid-template-columns: 1fr; }
    .econ-sidebar { position: static; max-height: none; padding: 14px 18px; }
    .econ-mobile-browse { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: #404d63; font: inherit; font-size: .85rem; cursor: pointer; }
    .econ-sidebar:not(.is-open) #topic-browser { display: none; }
    .econ-sidebar.is-open #topic-browser { padding-top: 15px; }
    .econ-heading { align-items: flex-start; }
    .econ-heading-actions { flex-direction: column; }
    .econ-unit-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .econ-reading { grid-template-columns: minmax(0,1.3fr) minmax(220px,1fr); gap: 24px; }
}
@media (max-width: 640px) {
    .econ-shell { width: calc(100% - 28px); padding-top: 23px; }
    .econ-heading { flex-direction: column; gap: 19px; margin-bottom: 23px; }
    .econ-heading-actions { flex-direction: row; }
    .econ-heading h1 { font-size: 2rem; }
    .econ-heading p { font-size: .84rem; }
    .econ-heading-actions .button { font-size: .72rem; }
    .econ-mode-nav { gap: 2px; padding: 4px; width: 100%; justify-content: space-between; }
    .econ-mode-nav a { padding: 8px; font-size: .65rem; min-height: 44px; }
    .econ-unit-links { grid-template-columns: 1fr; }
    .econ-lesson-header h2 { font-size: 1.7rem; }
    .econ-lesson-header p { font-size: .84rem; }
    .econ-graph-heading { padding: 18px 16px 9px; flex-wrap: wrap; gap: 7px; }
    .econ-variant { padding: 0 16px 9px; }
    .econ-canvas { overflow-x: auto; scrollbar-width: thin; }
    .econ-graph-scroll-hint { display: block; font-size: .68rem; color: #5c697b; padding: 0 16px; margin: 4px 0 12px; }
    .econ-svg { min-width: 540px; }
    .econ-graph-key { padding: 8px 16px 16px; }
    .econ-key { min-height: 44px; font-size: .68rem; }
    .econ-insight { grid-template-columns: 1fr; padding: 18px 16px; gap: 12px; min-height: 150px; }
    .econ-step-actions { justify-content: flex-end; }
    .econ-controls { grid-template-columns: 1fr; padding: 20px 16px; gap: 19px; }
    .econ-control label { font-size: .75rem; }
    .econ-control input[type="range"] { height: 34px; }
    .econ-metric { padding: 15px 12px; }
    .econ-metric strong { font-size: .89rem; }
    .econ-metric span { font-size: .61rem; }
    .econ-model-note { padding: 14px 16px; }
    .econ-reading { grid-template-columns: 1fr; gap: 20px; margin-top: 25px; }
    .econ-reading p { font-size: .86rem; }
    .econ-atlas-grid { grid-template-columns: 1fr; }
    .econ-practice-card { padding: 20px 17px; }
    .econ-bottom-note { flex-direction: column; gap: 8px; }
    .econ-lesson-footer { align-items: stretch; }
    .econ-lesson-footer a { flex: 1; }
    .econ-waiver { border-radius: 22px; }
    .econ-waiver h2 { font-size: 1.6rem; }
    .econ-notice-actions .button { flex: 1; }
    .econ-game { padding: 18px 10px; }
    .econ-game-table { border-spacing: 4px; }
    .econ-game-table th { font-size: .65rem; padding: 5px; }
    .econ-game-cell { min-height: 80px; font-size: 1.2rem; gap: 9px; }
}
@media print {
    .site-header, .econ-sidebar, .econ-mode-nav, .econ-heading-actions, .econ-controls, .econ-graph-actions, .econ-lesson-footer, .econ-bottom-note, .econ-reviewed, .econ-step-actions { display: none !important; }
    .econ-workspace, .econ-reading { display: block; }
    .econ-shell { width: 100%; }
    .econ-graph-card, .econ-practice-card { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) {
    .econ-unit-indicator::after { transition: none !important; }
    .econ-shell *, .econ-waiver, .econ-waiver::backdrop { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.econ-heading { margin-bottom: 22px; }
.econ-heading h1 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.econ-unit-links { display: block; margin-left: 4px; padding-left: 0; border: 0; }
.econ-topic-group { margin: 8px 0 17px; }
.econ-workbook-topic { display: flex; align-items: flex-start; gap: 8px; padding: 7px 4px; color: #465166; font-size: .72rem; font-weight: 500; line-height: 1.6; }
.econ-workbook-topic strong { min-width: 25px; color: #817d9b; font-size: .69rem; font-weight: 500; }
.econ-topic-group .econ-topic { margin-left: 30px; font-size: .69rem; min-height: 40px; }
.econ-topic-group > .econ-small { display: block; margin: 0 5px 5px 32px; font-size: .62rem; }
.econ-mode-nav { position: relative; border-radius: 999px; padding: 5px; gap: 4px; }
.econ-mode-nav [data-tabs-indicator] { position: absolute; left: 0; top: 0; border-radius: 999px; background: white; box-shadow: 0 2px 8px #1824370b; pointer-events: none; }
.econ-mode-nav a { position: relative; z-index: 1; border-radius: 999px; }
.econ-mode-nav a[aria-current="page"] { background: transparent; box-shadow: none; }
.econ-mode-nav { overflow-x: auto; scrollbar-width: thin; }
.econ-mode-nav a { flex-shrink: 0; }
.econ-lesson-header { margin-bottom: 15px; }
.econ-lesson-header h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 8px 0 9px; }
.econ-takeaways { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 20px; }
.econ-key-rule, .econ-key-warning { padding: 13px 16px; border-radius: 12px; font-size: .73rem; line-height: 1.8; }
.econ-key-rule { color: #3d526f; background: #e9eef7; }
.econ-key-warning { color: #77563f; background: #f5ede3; }
.econ-studio { display: grid; grid-template-columns: minmax(0, 1fr) 235px; align-items: stretch; border-top: 1px solid #e8eced; }
.econ-visual-column { min-width: 0; padding-top: 12px; }
.econ-studio-sidebar { min-width: 0; background: #f4f7fc; border-left: 1px solid #e1e7f0; padding: 16px; }
.econ-inspector-tabs { display: flex; gap: 3px; border-radius: 10px; padding: 4px; background: #e7edf7; margin-bottom: 18px; }
.econ-inspector-tab { flex: 1; min-height: 40px; padding: 6px; border: 0; background: transparent; border-radius: 8px; font: inherit; font-size: .65rem; color: #5b6e89; cursor: pointer; transition: background 180ms ease, color 180ms ease; }
.econ-inspector-tab[aria-pressed="true"] { background: white; color: var(--accent-dark); box-shadow: 0 2px 5px #18332306; }
.econ-studio .econ-insight { display: flex; flex-direction: column; align-items: stretch; min-height: 230px; gap: 18px; padding: 0; border: 0; background: transparent; }
.econ-studio .econ-insight h4 { font-size: .92rem; }
.econ-studio .econ-insight p { font-size: .8rem; line-height: 1.9; }
.econ-studio .econ-step-actions { margin-top: auto; justify-content: flex-end; }
.econ-studio .econ-controls { grid-template-columns: 1fr; padding: 0; border: 0; gap: 20px; }
.econ-studio .econ-control label { display: block; font-size: .72rem; }
.econ-studio .econ-control output { display: block; margin-top: 5px; }
.econ-studio-sidebar .econ-metrics { grid-template-columns: 1fr; margin-top: 24px; }
.econ-studio-sidebar .econ-metric { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 0; }
.econ-studio-sidebar .econ-metric + .econ-metric { border-left: 0; border-top: 1px solid #e1e6e3; }
.econ-studio-sidebar .econ-metric span { font-size: .67rem; margin: 0; }
.econ-studio-sidebar .econ-metric strong { font-size: .85rem; text-align: right; }
.econ-studio .econ-select { font-size: .68rem; padding-left: 8px; }
.econ-studio .econ-graph-pair { grid-template-columns: 1fr; }
.econ-studio .econ-graph-pair > div + div { border-left: 0; border-top: 1px solid #e6e9ed; }
.econ-graph-key { padding: 6px 16px 14px; gap: 5px; }
.econ-key { min-height: 36px; padding: 6px 8px; font-size: .64rem; }
.econ-axis-line { stroke: #111b26; stroke-width: 3.5; }
.econ-axis-symbol { fill: #17202a; font-size: 26px; font-weight: 500; }
.econ-axis-title { fill: #687387; font-size: 12px; font-weight: 400; }
.econ-curve-label { font-size: 17px; font-weight: 500; paint-order: stroke; stroke: white; stroke-width: 5px; stroke-linejoin: round; }
.econ-point-label, .econ-symbol-label { font-size: 17px; }
.econ-region-label { font-size: 15px; }
.econ-floating-tooltip { position: fixed; z-index: 1200; width: max-content; max-width: min(310px, calc(100vw - 24px)); padding: 15px 17px; border: 1px solid #cddbef; border-radius: 14px; background: #fffffff5; color: #304d77; box-shadow: 0 12px 35px #1e2f4c1c; backdrop-filter: blur(12px); }
.econ-floating-tooltip[hidden] { display: none; }
.econ-floating-tooltip strong { font-size: .83rem; font-weight: 500; }
.econ-floating-tooltip p { font-size: .76rem; line-height: 1.8; margin: 7px 0 0; color: #526785; }
.econ-notes-card { margin-top: 24px; padding: 24px; border: 1px solid #dde2e6; border-radius: 20px; background: #ffffffa8; }
.econ-notes-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #e2e6ea; padding-bottom: 14px; margin-bottom: 22px; }
.econ-notes-tab { border: 0; background: transparent; border-radius: 10px; min-height: 44px; padding: 10px 14px; font: inherit; font-size: .76rem; color: #737c8d; cursor: pointer; transition: background 180ms ease, color 180ms ease; }
.econ-notes-tab[aria-pressed="true"] { color: #374f72; background: #ecf0f7; }
.econ-notes-card .econ-reading { margin: 0; grid-template-columns: minmax(0, 1fr); }
.econ-notes-card .econ-practice-card { border: 0; padding: 0; margin: 0; background: transparent; }
.econ-notes-card .econ-reading > aside { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.econ-notes-card .econ-application { background: #f3f7fc; padding: 18px; }
.econ-reference { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.econ-reference > details { padding: 20px; border: 1px solid #dfe3e8; border-radius: 17px; background: #ffffffb5; align-self: start; }
.econ-reference > details summary { font-size: .9rem; }
.econ-reference .econ-practice-card { grid-column: 1/-1; margin: 0; }
.econ-atlas-card { padding: 22px; }
.econ-section-title + .econ-small { max-width: 48rem; font-size: .86rem; }
.econ-reading[hidden], .econ-practice-card[hidden], .econ-controls[hidden], .econ-insight[hidden] { display: none !important; }
@media (max-width: 1250px) and (min-width: 901px) {
    .econ-workspace { grid-template-columns: 215px minmax(0, 1fr); gap: 18px; }
    .econ-studio { grid-template-columns: minmax(0,1fr); }
    .econ-studio-sidebar { border-left: 0; border-top: 1px solid #e1e7f0; }
    .econ-studio .econ-insight { min-height: 0; }
    .econ-studio .econ-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
    .econ-studio { grid-template-columns: minmax(0,1fr) 220px; }
    .econ-unit-links { display: block; }
}
@media (max-width: 640px) {
    .econ-studio { grid-template-columns: minmax(0,1fr); }
    .econ-studio-sidebar { border-left: 0; border-top: 1px solid #e1e7f0; padding: 16px; }
    .econ-studio .econ-insight { min-height: 0; }
    .econ-inspector-tabs { margin-bottom: 13px; }
    .econ-inspector-tab { font-size: .75rem; min-height: 44px; }
    .econ-takeaways { grid-template-columns: 1fr; gap: 8px; }
    .econ-key-warning { display: none; }
    .econ-notes-card { padding: 17px; }
    .econ-notes-tab { padding: 8px; font-size: .69rem; }
    .econ-notes-card .econ-reading > aside, .econ-reference { grid-template-columns: 1fr; }
    .econ-svg { min-width: 0; width: 100%; }
    .econ-graph-scroll-hint { display: none; }
    .econ-key { min-height: 44px; font-size: .67rem; }
    .econ-graph-pair .econ-curve-label, .econ-graph-pair .econ-point-label, .econ-graph-pair .econ-symbol-label { font-size: 17px; }
}

.econ-workspace.is-overview { grid-template-columns: minmax(0, 1fr); }
.econ-welcome { display: grid; gap: 34px; }
.econ-welcome-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; padding: 30px 0 10px; }
.econ-welcome-copy h2 { font-size: clamp(1.85rem, 3.1vw, 2.7rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.2; margin: 14px 0 20px; text-wrap: balance; }
.econ-welcome-copy > p { font-size: 1rem; line-height: 1.85; color: #525d6e; max-width: 34rem; margin: 0; }
.econ-welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.econ-welcome-copy > .econ-welcome-tip { font-size: .78rem; line-height: 1.8; color: #636e80; margin-top: 17px; }
.econ-how-to { padding: 25px 27px; border: 1px solid #dce4f0; border-radius: 23px; background: #ffffffbd; }
.econ-how-to h3, .econ-welcome-section-heading h3, .econ-welcome-help h3 { margin: 0; font-size: 1.1rem; font-weight: 500; letter-spacing: -.025em; }
.econ-how-to ol { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 21px; }
.econ-how-to li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; }
.econ-how-to li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-dark); font-size: .67rem; }
.econ-how-to h4 { font-size: .85rem; font-weight: 500; color: #2e476d; margin: 2px 0 5px; }
.econ-how-to p { font-size: .79rem; line-height: 1.8; color: #56657e; margin: 0; }
.econ-how-to strong { font-weight: 500; color: #344b70; }
.econ-welcome-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.econ-welcome-section-heading p { font-size: .85rem; color: #626c7d; line-height: 1.8; margin: 7px 0 0; }
.econ-welcome-count { font-size: .72rem; color: #687285; white-space: nowrap; }
.econ-welcome-units, .econ-welcome-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.econ-welcome-unit { display: grid; grid-template-columns: 33px minmax(0, 1fr); gap: 14px; align-items: start; padding: 22px; border: 1px solid #dee3e7; border-radius: 18px; background: #ffffffb3; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.econ-welcome-unit:hover, .econ-welcome-tool:hover { transform: translateY(-2px); border-color: #aabacc; background: white; box-shadow: 0 8px 24px #283d5909; }
.econ-welcome-unit:active, .econ-welcome-tool:active { transform: translateY(0) scale(.99); }
.econ-welcome-unit-number { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); font-size: .73rem; }
.econ-welcome-unit .econ-kicker { font-size: .63rem; color: #6a7283; }
.econ-welcome-unit h4 { font-size: .91rem; line-height: 1.5; font-weight: 500; letter-spacing: -.02em; margin: 6px 0 9px; }
.econ-welcome-unit p { font-size: .77rem; line-height: 1.8; color: #657083; margin: 0; }
.econ-welcome-unit-footer { grid-column: 2; align-self: end; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 10px; font-size: .64rem; color: #6c7686; }
.econ-welcome-link { color: #3e5c83; font-size: .72rem; font-weight: 500; }
.econ-welcome-tool { display: flex; flex-direction: column; padding: 23px; border: 1px solid #dfe4e8; border-radius: 18px; background: #f9faf8; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.econ-welcome-tool .econ-kicker { color: #68778b; font-size: .66rem; }
.econ-welcome-tool h4 { font-size: 1.06rem; font-weight: 500; letter-spacing: -.02em; margin: 9px 0; }
.econ-welcome-tool p { font-size: .83rem; line-height: 1.85; color: #5d6a7e; margin: 0 0 22px; }
.econ-welcome-tool .econ-welcome-link { margin-top: auto; }
.econ-welcome-help { display: flex; align-items: center; justify-content: space-between; gap: 32px; border-top: 1px solid #dce2e4; padding-top: 25px; }
.econ-welcome-help p { font-size: .84rem; color: #606a7c; line-height: 1.85; margin: 10px 0 0; max-width: 48rem; }
.econ-welcome-help strong { font-weight: 500; color: #3e4b62; }
.econ-welcome-help .button { flex-shrink: 0; }
@media (max-width: 1000px) {
    .econ-welcome-intro { gap: 28px; align-items: start; }
    .econ-how-to { padding: 22px; }
    .econ-welcome-units { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .econ-welcome-tools { gap: 12px; }
    .econ-welcome-tool { padding: 20px; }
}
@media (max-width: 640px) {
    .econ-mode-nav { justify-content: flex-start; }
    .econ-welcome { gap: 27px; }
    .econ-welcome-intro { grid-template-columns: 1fr; padding-top: 5px; gap: 25px; }
    .econ-welcome-copy h2 { font-size: 1.85rem; }
    .econ-welcome-copy > p { font-size: .9rem; }
    .econ-welcome-actions { display: grid; grid-template-columns: 1fr; }
    .econ-welcome-actions .button { width: 100%; }
    .econ-how-to { padding: 21px; }
    .econ-welcome-section-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
    .econ-welcome-units, .econ-welcome-tools { grid-template-columns: 1fr; gap: 12px; }
    .econ-welcome-unit { padding: 20px; }
    .econ-welcome-help { flex-direction: column; align-items: stretch; gap: 20px; }
}
