/* XAU Society — Price Action. Page-scoped presentation and diagrams. */
html:has(.pa-page), body:has(.pa-page) { overflow-x: clip; overflow-y: visible; }
.pa-page {
  --pa-gold: #e1bc6c;
  --pa-cream: #f2eee4;
  --pa-muted: #aaa99e;
  --pa-line: rgba(225,188,108,.19);
  --pa-green: #87bda6;
  --pa-red: #cd9589;
  color: var(--pa-cream);
  background: #070806;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  isolation: isolate;
}
.pa-page *, .pa-page *::before, .pa-page *::after { box-sizing: border-box; }
.pa-page .container { max-width: 1280px; }
.pa-page [hidden] { display: none !important; }
.pa-page h1, .pa-page h2, .pa-page h3, .pa-page h4, .pa-page p { margin-top: 0; }
.pa-page h1, .pa-page h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.14; letter-spacing: -.045em; text-wrap: balance; }
.pa-page h2 { margin-bottom: 21px; font-size: clamp(2.1rem,3.4vw,2.85rem); }
.pa-page h2 em { color: var(--pa-gold); }
.pa-page h3 { margin-bottom: 14px; font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.35; }
.pa-page h4 { margin-bottom: 10px; font-size: 1rem; font-weight: 600; line-height: 1.45; }
.pa-page p { margin-bottom: 22px; color: var(--pa-muted); font-size: 1rem; line-height: 1.8; }
.pa-page p:last-child { margin-bottom: 0; }
.pa-page a { text-underline-offset: 5px; }
.pa-page a:hover { color: #f4dca8; }
.pa-page a:focus-visible, .pa-page button:focus-visible, .pa-page summary:focus-visible, .pa-page input:focus-visible { outline: 2px solid var(--pa-gold); outline-offset: 5px; }
.pa-page button { font-family: inherit; cursor: pointer; }
.pa-page button:disabled { cursor: default; opacity: .45; }
.pa-page section[id], .pa-page [id^="pa-"] { scroll-margin-top: 91px; }
.pa-page .pa-kicker { margin: 0 0 18px; color: var(--pa-gold); font-size: .75rem; font-weight: 700; letter-spacing: .18em; line-height: 1.6; text-transform: uppercase; }
.pa-heading-tail { display: block; color: var(--pa-gold); font-style: italic; }
.pa-hero { position: relative; padding: 29px 0 79px; background: radial-gradient(ellipse at 80% 48%, rgba(157,109,30,.12), transparent 49%), #070806; }
.pa-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-bottom: 53px; color: #979a8f; font-size: .8125rem; }
.pa-breadcrumb a { color: #c4c4b9; }
.pa-breadcrumb span:last-child { color: #d8c18b; }
.pa-hero-grid { display: grid; grid-template-columns: .9fr 1.16fr; gap: 55px; align-items: center; }
.pa-hero-copy, .pa-terminal, .pa-chart-panel, .pa-prose, .pa-structure-copy, .pa-structure-visual, .pa-sequence-copy, .pa-exercise-copy { min-width: 0; }
.pa-hero-copy h1 { margin-bottom: 27px; font-size: clamp(3rem,4.6vw,4.1rem); line-height: 1.045; }
.pa-page .pa-lead { max-width: 505px; font-size: 1.0625rem; line-height: 1.85; }
.pa-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.pa-page .pa-button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; gap: 9px; padding: 13px 23px; border: 1px solid var(--pa-gold); border-radius: 6px; color: #19160d; background: var(--pa-gold); font-size: .875rem; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.pa-page .pa-button:hover { color: #19160d; border-color: #efd39a; background: #efd39a; transform: translateY(-2px); }
.pa-page .pa-button-outline { color: #e3d8bc; border-color: #4e4634; background: transparent; }
.pa-page .pa-button-outline:hover { color: #f4e6c5; background: #211e14; border-color: #8c7444; }
.pa-hero-notes { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 26px 0 0; padding: 0; color: #9a9d92; font-size: .8125rem; }
.pa-hero-notes li { display: inline-flex; gap: 8px; align-items: center; }
.pa-hero-notes li::before { content: ''; width: 5px; height: 5px; border: 1px solid #a5905d; transform: rotate(45deg); }
.pa-terminal { position: relative; padding: 23px 22px 0; border: 1px solid #4d442f; border-radius: 16px; background: linear-gradient(140deg,#15170f,#0c1009); box-shadow: 0 25px 80px #0005; }
.pa-terminal::before { content: ''; position: absolute; top: -1px; left: 25px; right: 25px; height: 1px; background: linear-gradient(90deg,transparent,#d5b673,transparent); }
.pa-terminal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #303528; }
.pa-instrument { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; color: #eee7d6; }
.pa-instrument > span { color: #a3aa97; font-size: .75rem; line-height: 1.5; }
.pa-instrument > span:first-child { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 3px; border: 1px solid #6c5d38; border-radius: 7px; background: #292719; color: var(--pa-gold); font-family: Georgia,serif; font-size: 1.125rem; }
.pa-instrument strong { display: block; font-size: .9375rem; line-height: 1.3; letter-spacing: .04em; }
.pa-instrument small { display: block; margin-top: 4px; color: #969e8b; font-size: .75rem; line-height: 1.5; }
.pa-chart-meta { color: #9ca58f; font-size: .75rem; line-height: 1.6; text-align: right; }
.pa-chart-meta span, .pa-chart-meta strong { display: block; }
.pa-chart-meta strong { color: #dac38b; font-weight: 500; }
.pa-terminal > .pa-chart { margin-top: 12px; }
.pa-page .pa-hero-caption { padding: 4px 1px 19px; margin: 0; color: #a7b098; font-size: 1rem; line-height: 1.7; }
.pa-page .pa-hero-caption h2 { margin-bottom: 9px; font-family: Arial,Helvetica,sans-serif; font-size: 1.125rem; font-weight: 500; line-height: 1.5; letter-spacing: -.015em; text-wrap: initial; }
.pa-page .pa-hero-caption p { font-size: 1rem; line-height: 1.75; }
.pa-terminal-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px 14px; min-height: 49px; padding: 12px 0; border-top: 1px solid #303528; color: #a5ac96; font-size: .75rem; line-height: 1.5; }
.pa-terminal-footer strong { color: #ddc58a; font-weight: 500; }
.pa-jump-nav { position: sticky; top: 0; z-index: 30; border-top: 1px solid #2b2f22; border-bottom: 1px solid #2b2f22; background: rgba(10,13,8,.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.pa-jump-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 64px; }
.pa-jump-links { display: flex; align-items: center; gap: 28px; min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #675936 transparent; }
.pa-jump-links a { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 63px; border-bottom: 2px solid transparent; color: #b4bba7; font-size: .875rem; white-space: nowrap; }
.pa-jump-links a:hover, .pa-jump-links a[aria-current="location"] { color: var(--pa-gold); border-bottom-color: var(--pa-gold); }
.pa-motion-button { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 43px; gap: 8px; padding: 8px 12px; border: 1px solid #4e5038; border-radius: 5px; background: #171c10; color: #d8ceb0; font-size: .875rem; line-height: 1.3; }
.pa-motion-button:hover { border-color: #b89b5b; }
.pa-section { padding: 95px 0; }
.pa-section-soft { border-top: 1px solid #252c1d; border-bottom: 1px solid #252c1d; background: #0c1009; }
.pa-section-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: end; margin-bottom: 41px; }
.pa-section-heading h2 { margin-bottom: 0; }
.pa-section-heading > p { margin-bottom: 3px; }
.pa-definition-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 90px; }
.pa-prose > p { max-width: 650px; }
.pa-prose strong { color: #d7dac9; font-weight: 600; }
.pa-principles { display: grid; border-top: 1px solid #454d32; }
.pa-principles article { position: relative; min-width: 0; padding: 24px 0 25px 62px; border-bottom: 1px solid #303a24; }
.pa-principles h3 { margin: 0 0 9px; font-size: 1.0625rem; font-weight: 600; }
.pa-principles p { margin: 0; }
.pa-principle-symbol { position: absolute; left: 0; top: 25px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #5d603b; border-radius: 7px; color: #dbc183; background: #1b2212; font-family: Georgia,serif; font-size: 1.25rem; }
.pa-lesson-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: start; }
.pa-chart-panel { padding: 22px; border: 1px solid #3e482e; border-radius: 12px; background: linear-gradient(135deg,#141b0f,#0c1108); }
.pa-chart-panel .pa-chart { margin-inline: auto; }
.pa-page .pa-chart-note { margin: 15px 0 0; padding-top: 16px; border-top: 1px solid #303d24; color: #a6b093; font-size: 1rem; }
.pa-tabs, .pa-structure-tabs, .pa-exercise-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.pa-tabs { margin-bottom: 19px; padding: 4px; border: 1px solid #333e25; border-radius: 7px; background: #0a1007; }
.pa-tabs button, .pa-structure-tabs button, .pa-exercise-tabs button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 10px 18px; border: 1px solid transparent; border-radius: 5px; color: #b0bba0; background: transparent; font-size: .875rem; font-weight: 500; line-height: 1.4; transition: background .2s, border-color .2s, color .2s; }
.pa-tabs button { flex: 1; }
.pa-structure-tabs button, .pa-exercise-tabs button { border-color: #424b30; }
.pa-tabs button[aria-selected="true"], .pa-structure-tabs button[aria-selected="true"], .pa-exercise-tabs button[aria-selected="true"] { color: #eddaaa; background: #2b2e1a; border-color: #8b7948; }
.pa-tabs button:hover, .pa-structure-tabs button:hover, .pa-exercise-tabs button:hover { color: #f0e2bf; background: #202718; border-color: #716840; }
.pa-anatomy { list-style: none; margin: 0; padding: 0; }
.pa-anatomy-item { padding: 18px 0; border-bottom: 1px solid #2f3a22; }
.pa-anatomy-item:first-child { padding-top: 0; }
.pa-anatomy-item h3 { color: #ddd4b5; font-size: 1.0625rem; font-weight: 600; margin: 0 0 9px; }
.pa-anatomy-item p { margin: 0; }
.pa-note { margin-top: 22px; padding: 18px 21px; border-left: 2px solid #ad9356; background: #1a2112; color: #b5bea5; font-size: 1rem; line-height: 1.8; }
.pa-note p { color: inherit; }
.pa-note strong { color: #e0c98f; }
.pa-reading-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 29px; margin-top: 40px; }
.pa-reading-grid article { min-width: 0; padding: 23px 24px 0 0; border-top: 1px solid #495236; border-right: 1px solid #2e3a23; }
.pa-reading-grid article:last-child { border-right: 0; padding-right: 0; }
.pa-reading-grid h3 { color: #dfd6b9; font-size: 1.0625rem; }
.pa-reading-grid p { margin-bottom: 0; }
.pa-structure-tabs { margin-bottom: 25px; }
.pa-structure-panel { padding: 29px; border: 1px solid #424b30; border-radius: 13px; background: #11190c; }
.pa-structure-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 38px; align-items: center; }
.pa-structure-visual { padding-right: 10px; }
.pa-structure-copy h3 { font-family: Georgia,serif; font-size: 1.8rem; font-weight: 400; }
.pa-key-points { padding: 0; margin: 23px 0 0; list-style: none; }
.pa-key-points li { position: relative; padding: 12px 0 12px 23px; border-top: 1px solid #344127; color: #b7c1a7; font-size: 1rem; line-height: 1.75; }
.pa-key-points li::before { content: ''; position: absolute; left: 0; top: 23px; width: 6px; height: 6px; border: 1px solid #c3a860; transform: rotate(45deg); }
.pa-key-points strong { color: #ddd4b4; }
.pa-source-link { display: inline-flex; align-items: center; min-height: 40px; margin-top: 18px; color: #b8ab7c; font-size: .875rem; text-decoration: underline; }
.pa-sequence-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 27px; }
.pa-sequence-tabs button { display: flex; align-items: center; justify-content: flex-start; gap: 13px; min-width: 0; min-height: 67px; padding: 13px 18px; border: 1px solid #39472b; border-radius: 7px; color: #b6c1a6; background: #10190b; font-size: .875rem; font-weight: 500; line-height: 1.5; text-align: left; transition: background .2s,border-color .2s; }
.pa-stage-number { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #5b613a; border-radius: 50%; color: #bda563; font-size: .75rem; }
.pa-sequence-tabs button[aria-selected="true"] { color: #ecd8a6; background: #2a3018; border-color: #91804a; }
.pa-sequence-tabs button[aria-selected="true"] .pa-stage-number { color: #191a0d; background: #dfbc6e; border-color: #dfbc6e; }
.pa-sequence-tabs button:hover { border-color: #8e7d48; background: #1f2813; }
.pa-sequence-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 43px; align-items: center; }
.pa-sequence-copy h3 { font-family: Georgia,serif; font-size: 1.875rem; font-weight: 400; }
.pa-observe-note { margin-top: 24px; padding-top: 21px; border-top: 1px solid #475334; color: #c2caaf; font-size: 1rem; line-height: 1.8; }
.pa-observe-note strong { display: block; margin-bottom: 7px; color: #dfc98e; font-weight: 500; }
.pa-observe-note p { color: inherit; }
.pa-sequence-controls { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #354528; }
.pa-small-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 8px; padding: 10px 17px; border: 1px solid #6a6b41; border-radius: 5px; color: #ddcca0; background: #202a13; font-size: .875rem; line-height: 1.4; }
.pa-small-button:hover:not(:disabled) { border-color: #b69d59; background: #30391c; }
.pa-sequence-position { color: #a2ad8d; font-size: .875rem; text-align: center; }
.pa-pattern-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.pa-pattern-card { min-width: 0; border: 1px solid #404b30; border-radius: 12px; background: #11180c; overflow: hidden; }
.pa-pattern-visual { padding: 17px 27px 0; border-bottom: 1px solid #303c23; background: radial-gradient(ellipse at center,#2a34147d,transparent 67%),#0d1409; }
.pa-pattern-visual .pa-chart, .pa-pattern-visual svg { max-height: 190px; width: 100%; }
.pa-pattern-content { padding: 28px; }
.pa-pattern-content h3 { margin-bottom: 15px; font-family: Georgia,serif; font-size: 1.7rem; font-weight: 400; }
.pa-pattern-content .pa-kicker { margin-bottom: 13px; }
.pa-pattern-content details { margin-top: 23px; padding-top: 0; border-top: 1px solid #3f4a2d; }
.pa-pattern-content summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 52px; padding-top: 15px; color: #d8c38c; font-size: .875rem; cursor: pointer; list-style: none; }
.pa-pattern-content summary::-webkit-details-marker { display: none; }
.pa-pattern-content summary::after { content: '+'; font-size: 1.25rem; }
.pa-pattern-content details[open] summary::after { content: '−'; }
.pa-pattern-content details p { margin: 13px 0 0; }
.pa-false-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: center; }
.pa-fact-list { padding: 0; margin: 25px 0 0; list-style: none; }
.pa-fact-list li { position: relative; padding: 14px 0 14px 24px; border-top: 1px solid #334027; color: #b5c0a5; font-size: 1rem; line-height: 1.75; }
.pa-fact-list li::before { content: '✓'; position: absolute; left: 0; top: 14px; color: #cfb574; }
.pa-workflow { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; border: 1px solid #455234; border-radius: 12px; background: #111b0c; overflow: hidden; }
.pa-step { min-width: 0; padding: 28px 22px; border-right: 1px solid #38472a; }
.pa-step:last-child { border-right: 0; }
.pa-step > span { display: inline-block; margin-bottom: 24px; color: var(--pa-gold); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.pa-step h3 { margin-bottom: 13px; font-family: Georgia,serif; font-size: 1.45rem; font-weight: 400; }
.pa-step p { margin: 0; }
.pa-example-note { margin-top: 23px; padding-left: 20px; border-left: 2px solid #a18d4c; color: #bac3a7; font-size: 1rem; line-height: 1.8; }
.pa-example-note p { color: inherit; }
.pa-practice-box { padding: 30px; border: 1px solid #726c3d; border-radius: 15px; background: radial-gradient(ellipse at 0 0,#2935155c,transparent 60%),#10190a; }
.pa-exercise-tabs { padding-bottom: 25px; margin-bottom: 27px; border-bottom: 1px solid #424e2d; }
.pa-exercise-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 38px; align-items: start; }
.pa-exercise-panel > .pa-chart-panel { padding: 16px; background: #0a1206; }
.pa-exercise-copy h3 { font-family: Georgia,serif; font-size: 1.75rem; font-weight: 400; }
.pa-answer-buttons { display: grid; gap: 10px; margin-top: 24px; }
.pa-answer-buttons button { display: flex; align-items: center; justify-content: flex-start; min-height: 51px; padding: 13px 16px; border: 1px solid #58613b; border-radius: 6px; color: #d1d8bf; background: #1a2610; font-size: .875rem; font-weight: 500; line-height: 1.5; text-align: left; transition: border-color .2s,background .2s; }
.pa-answer-buttons button:hover { border-color: #b6a060; background: #29341a; }
.pa-answer-buttons button[aria-pressed="true"] { border-color: #e1bc6c; color: #f0dba9; background: #33391d; }
.pa-answer-buttons button[data-result="correct"], .pa-answer-buttons button.pa-answer-correct { border-color: #8bbfa0; background: #1a3320; color: #c5e3c9; }
.pa-answer-buttons button[data-result="try"], .pa-answer-buttons button.pa-answer-try { border-color: #c39476; background: #332a1c; color: #e7c8aa; }
.pa-exercise-feedback { margin-top: 20px; padding: 17px 19px; border: 1px solid #6b7041; border-radius: 7px; background: #263218; color: #d1d9bb; font-size: 1rem; line-height: 1.75; }
.pa-exercise-feedback:empty { display: none; }
.pa-exercise-feedback p { color: inherit; }
.pa-exercise-feedback[data-result="correct"] { border-color: #709875; background: #182b17; color: #c4dfbd; }
.pa-exercise-feedback[data-result="try"] { border-color: #94784d; background: #2c2915; color: #decc9d; }
.pa-exercise-reset { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; padding: 8px 0; border: 0; background: transparent; color: #c1b27c; font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.pa-exercise-reset:hover { color: #efd391; }
.pa-mistakes-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 31px; }
.pa-mistakes-grid article { min-width: 0; padding: 27px 0; border-top: 1px solid #465033; }
.pa-mistakes-grid h3 { color: #ded3af; font-size: 1.125rem; font-weight: 500; }
.pa-mistakes-grid p { margin-bottom: 0; }
.pa-volume-note { margin-top: 27px; padding: 26px 29px; border: 1px solid #414c31; border-radius: 10px; background: #11190c; }
.pa-volume-note h3 { color: #dfd6b9; }
.pa-volume-note .pa-source-link { margin: 0 24px 0 0; }
.pa-glossary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 40px; }
.pa-glossary-grid details { min-width: 0; border-bottom: 1px solid #3a492b; }
.pa-glossary-grid summary { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 20px; padding: 19px 0; color: #ddd5b8; font-size: 1rem; font-weight: 500; list-style: none; cursor: pointer; }
.pa-glossary-grid summary::-webkit-details-marker { display: none; }
.pa-glossary-grid summary::after { content: '+'; color: #d8bb72; font-size: 1.25rem; }
.pa-glossary-grid details[open] summary::after { content: '−'; }
.pa-glossary-grid details p { padding: 0 25px 25px 0; margin: 0; }
.pa-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.pa-faq-list { border-top: 1px solid #505a36; }
.pa-faq-list details { border-bottom: 1px solid #354529; }
.pa-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 69px; padding: 21px 0; color: #dfe2ce; font-size: 1rem; font-weight: 500; line-height: 1.55; list-style: none; cursor: pointer; }
.pa-faq-list summary::-webkit-details-marker { display: none; }
.pa-faq-list summary::after { content: '+'; flex: 0 0 20px; color: var(--pa-gold); font-size: 1.375rem; text-align: center; }
.pa-faq-list details[open] summary::after { content: '−'; }
.pa-faq-list details p { padding: 0 38px 25px 0; margin: 0; }
.pa-reading-sources { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 25px; margin-top: 35px; padding-top: 23px; border-top: 1px solid #344527; color: #a4ae90; font-size: .875rem; }
.pa-reading-sources a { display: inline-flex; align-items: center; min-height: 40px; color: #c7c6ab; font-size: .875rem; text-decoration: underline; }
.pa-membership { padding: 88px 0; border-top: 1px solid #59522e; background: radial-gradient(ellipse at 12% 65%,rgba(145,111,37,.15),transparent 59%),#121809; }
.pa-membership-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: center; }
.pa-membership-inner h2 { max-width: 590px; font-size: clamp(2.4rem,3.6vw,3.1rem); }
.pa-membership-inner > div:first-child > p { max-width: 565px; }
.pa-membership-card { min-width: 0; padding: 34px; border: 1px solid #8e7d44; border-radius: 13px; background: linear-gradient(140deg,#2b3218,#1a230e); box-shadow: 0 15px 55px #0004; }
.pa-membership-card h3 { font-family: Georgia,serif; font-size: 1.7rem; font-weight: 400; }
.pa-membership-price { margin: 21px 0 25px; color: #adb797; line-height: 1.2; }
.pa-membership-price strong { color: #f0d99d; font-family: Georgia,serif; font-size: 3.75rem; font-weight: 400; letter-spacing: -.06em; }
.pa-membership-price > span { margin-left: 8px; font-size: 1rem; }
.pa-membership-card ul { padding-left: 20px; margin: 23px 0 27px; color: #c9d0b5; font-size: 1rem; line-height: 1.8; }
.pa-membership-card li { padding: 4px 0; }
.pa-membership-card li::marker { color: var(--pa-gold); }
.pa-membership-card .pa-button { width: 100%; }
.pa-membership-details { margin-top: 18px; color: #aeb79a; font-size: 1rem; line-height: 1.75; }
.pa-membership-details p { color: inherit; }
.pa-membership-details a { color: #c4bb94; text-decoration: underline; }
.pa-related { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; margin-top: 35px; }
.pa-related a { display: flex; flex-direction: column; gap: 7px; min-height: 94px; padding: 20px 0; border-top: 1px solid #4b5632; color: #e1d7b3; font-size: 1rem; }
.pa-related a span, .pa-related a small { color: #a7b28f; font-size: .875rem; line-height: 1.6; }

/* Diagrams use local SVG paths. Textual explanations remain below each visual. */
.pa-chart { display: block; width: 100%; max-width: 100%; height: auto; overflow: visible; }
.pa-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.pa-chart-bg { fill: #0d1408; }
.pa-chart-area { fill: #d9b968; fill-opacity: .07; stroke: none; }
.pa-chart-grid, .pa-grid { fill: none; stroke: #abb899; stroke-width: 1; opacity: .1; }
.pa-zone-support { fill: #7bb598; fill-opacity: .11; stroke: #86bda2; stroke-opacity: .33; stroke-width: 1; }
.pa-zone-resistance { fill: #c99478; fill-opacity: .1; stroke: #c99478; stroke-opacity: .3; stroke-width: 1; }
.pa-zone-value { fill: #d4b160; fill-opacity: .13; stroke: #d4b160; stroke-opacity: .35; stroke-width: 1; }
.pa-candle-up { fill: #dcbc6f; stroke: #dcbc6f; stroke-width: 1.5; }
.pa-candle-down { fill: #75846d; stroke: #8d9c81; stroke-width: 1.5; }
.pa-wick { fill: none; stroke-width: 1.5; }
.pa-price-line { fill: none; stroke: #e1bc6c; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pa-alt-line { fill: none; stroke: #8bc1a8; stroke-width: 2; stroke-dasharray: 6 6; stroke-linecap: round; stroke-linejoin: round; }
.pa-risk-line { fill: none; stroke: #cd9589; stroke-width: 1.6; stroke-dasharray: 5 5; }
.pa-guide-line { fill: none; stroke: #a2b08e; stroke-width: 1; stroke-opacity: .5; stroke-dasharray: 4 5; }
.pa-chart-label { fill: #afba9f; font-family: Arial,sans-serif; font-size: 18px; font-weight: 400; }
.pa-chart-label-gold { fill: #e1bc6c; font-family: Arial,sans-serif; font-size: 18px; }
.pa-chart-label-green { fill: #a0d0b3; font-family: Arial,sans-serif; font-size: 18px; }
.pa-chart-label-red { fill: #d9a699; font-family: Arial,sans-serif; font-size: 18px; }
.pa-wave-label { fill: #e2c783; font-family: Arial,sans-serif; font-size: 20px; font-weight: 700; }
.pa-chart-dot { fill: #eed08a; stroke: #1d2811; stroke-width: 3; }
.pa-draw:not(.pa-alt-line):not(.pa-risk-line):not(.pa-guide-line) { stroke-dasharray: 1; stroke-dashoffset: 0; animation: pa-trace 7s ease-in-out infinite; }
.pa-draw.pa-alt-line, .pa-draw.pa-risk-line { stroke-dasharray: .045 .03; animation: pa-flow 8s linear infinite; }
.pa-chart--candle-bull .pa-candle-body { animation: pa-body-up 8s ease-in-out infinite; }
.pa-chart--candle-bear .pa-candle-body { animation: pa-body-down 8s ease-in-out infinite; }
.pa-chart--candle-doji .pa-candle-body { animation: pa-body-light 8s ease-in-out infinite; }
.pa-chart--pattern-rejection .pa-zone-value, .pa-chart--pattern-engulfing .pa-zone-value,
.pa-chart--pattern-inside .pa-zone-value, .pa-chart--pattern-doji .pa-zone-value,
.pa-chart--false-break .pa-zone-value { animation: pa-zone-light 6s ease-in-out infinite; }
.pa-pulse { transform-box: fill-box; transform-origin: center; animation: pa-pulse 3.6s ease-in-out infinite; }
.pa-paused .pa-chart * { animation-play-state: paused !important; }
.pa-paused .pa-candle-body { clip-path: inset(0) !important; }
@keyframes pa-trace { 0%,7% { stroke-dashoffset: 1; } 62%,100% { stroke-dashoffset: 0; } }
@keyframes pa-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -.75; } }
@keyframes pa-body-up { 0%,5% { clip-path: inset(98% 0 0); } 32%,92% { clip-path: inset(0); } 100% { clip-path: inset(98% 0 0); } }
@keyframes pa-body-down { 0%,5% { clip-path: inset(0 0 98%); } 32%,92% { clip-path: inset(0); } 100% { clip-path: inset(0 0 98%); } }
@keyframes pa-body-light { 0%,100% { fill-opacity: .3; } 30%,80% { fill-opacity: 1; } }
@keyframes pa-zone-light { 0%,100% { fill-opacity: .05; stroke-opacity: .25; } 50% { fill-opacity: .22; stroke-opacity: .7; } }
@keyframes pa-pulse { 0%,100% { opacity: .65; } 50% { opacity: 1; } }

/* The server renders the full lesson. JavaScript progressively adds tabs. */
.pa-page:not(.pa-ready) .pa-chart * { animation: none !important; }
.pa-page:not(.pa-ready) .pa-tabs,
.pa-page:not(.pa-ready) .pa-structure-tabs,
.pa-page:not(.pa-ready) .pa-sequence-tabs,
.pa-page:not(.pa-ready) .pa-sequence-controls,
.pa-page:not(.pa-ready) .pa-exercise-tabs,
.pa-page:not(.pa-ready) .pa-answer-buttons,
.pa-page:not(.pa-ready) .pa-motion-button,
.pa-page:not(.pa-ready) .pa-exercise-reset { display: none; }
.pa-page:not(.pa-ready) .pa-candle-panel + .pa-candle-panel { margin-top: 28px; padding-top: 25px; border-top: 1px solid #44502f; }
.pa-page:not(.pa-ready) .pa-structure-panel + .pa-structure-panel,
.pa-page:not(.pa-ready) .pa-sequence-panel + .pa-sequence-panel,
.pa-page:not(.pa-ready) .pa-exercise-panel + .pa-exercise-panel { margin-top: 31px; }
.pa-page:not(.pa-ready) .pa-exercise-panel + .pa-exercise-panel { padding-top: 29px; border-top: 1px solid #44502f; }

@media (min-width: 1500px) {
  .pa-hero { padding-bottom: 94px; }
  .pa-hero-grid { gap: 70px; }
}
@media (max-width: 1120px) {
  .pa-hero-grid { gap: 31px; grid-template-columns: .9fr 1.12fr; }
  .pa-hero-copy h1 { font-size: 3.4rem; }
  .pa-terminal { padding-inline: 18px; }
  .pa-section-heading { gap: 44px; }
  .pa-definition-grid { gap: 50px; }
  .pa-lesson-layout { gap: 36px; }
  .pa-structure-grid, .pa-sequence-grid { gap: 29px; }
  .pa-sequence-tabs { gap: 8px; }
  .pa-sequence-tabs button { padding: 12px; gap: 10px; }
  .pa-false-grid { gap: 39px; }
  .pa-workflow { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pa-step { padding: 27px; }
  .pa-step:nth-child(3) { border-right: 0; }
  .pa-step:nth-child(-n+3) { border-bottom: 1px solid #38472a; }
  .pa-exercise-panel { gap: 26px; }
  .pa-faq-grid, .pa-membership-inner { gap: 50px; }
}
@media (max-width: 940px) {
  .pa-hero { padding-bottom: 60px; }
  .pa-breadcrumb { margin-bottom: 36px; }
  .pa-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .pa-hero-copy h1 { max-width: 700px; font-size: clamp(3.1rem,7.4vw,4.1rem); }
  .pa-page .pa-lead { max-width: 650px; }
  .pa-terminal { max-width: 790px; width: 100%; padding: 24px 26px 0; }
  .pa-terminal > .pa-chart { max-height: 390px; }
  .pa-jump-nav .container { gap: 18px; }
  .pa-jump-links { gap: 23px; }
  .pa-motion-button { padding-inline: 10px; }
  .pa-section { padding: 76px 0; }
  .pa-section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 35px; }
  .pa-section-heading > p { max-width: 690px; }
  .pa-definition-grid { gap: 36px; grid-template-columns: 1fr 1fr; }
  .pa-principles article { padding-left: 51px; }
  .pa-principle-symbol { width: 34px; height: 36px; }
  .pa-lesson-layout { grid-template-columns: 1fr; gap: 31px; }
  .pa-lesson-layout .pa-chart-panel { max-width: 720px; }
  .pa-anatomy { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 26px; }
  .pa-anatomy-item:nth-child(2) { padding-top: 0; }
  .pa-reading-grid { gap: 22px; }
  .pa-reading-grid article { padding-right: 18px; }
  .pa-structure-grid { grid-template-columns: 1fr; gap: 23px; }
  .pa-structure-visual { padding-right: 0; }
  .pa-structure-visual .pa-chart { max-height: 340px; }
  .pa-key-points { margin-top: 20px; }
  .pa-sequence-grid { grid-template-columns: 1fr; gap: 25px; }
  .pa-sequence-grid .pa-chart { max-height: 350px; }
  .pa-sequence-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pa-sequence-tabs button { padding: 13px 18px; }
  .pa-pattern-grid { gap: 20px; }
  .pa-pattern-content { padding: 24px; }
  .pa-false-grid { grid-template-columns: 1fr; gap: 30px; }
  .pa-false-grid .pa-chart { max-height: 370px; }
  .pa-exercise-panel { grid-template-columns: 1fr; gap: 25px; }
  .pa-exercise-panel .pa-chart { max-height: 340px; }
  .pa-answer-buttons { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pa-answer-buttons button { padding: 13px 15px; }
  .pa-mistakes-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; }
  .pa-faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .pa-membership-inner { grid-template-columns: 1.1fr .9fr; gap: 30px; }
  .pa-membership-card { padding: 27px; }
}
@media (max-width: 650px) {
  .pa-page .container { width: calc(100% - 36px); }
  .pa-page h2 { font-size: 2.25rem; }
  .pa-hero { padding: 23px 0 46px; }
  .pa-breadcrumb { margin-bottom: 30px; font-size: .75rem; gap: 9px; }
  .pa-page .pa-kicker { font-size: .75rem; letter-spacing: .14em; margin-bottom: 16px; }
  .pa-hero-copy h1 { margin-bottom: 23px; font-size: clamp(2.75rem,11.5vw,3.6rem); line-height: 1.06; }
  .pa-page .pa-lead { font-size: 1rem; line-height: 1.85; }
  .pa-actions { gap: 10px; margin-top: 25px; }
  .pa-page .pa-button { padding: 13px 17px; min-height: 49px; }
  .pa-hero-notes { margin-top: 23px; gap: 8px 16px; font-size: .75rem; }
  .pa-hero-grid { gap: 31px; }
  .pa-terminal { padding: 18px 14px 0; border-radius: 12px; }
  .pa-terminal-top { gap: 9px; padding-bottom: 18px; }
  .pa-instrument { gap: 9px; }
  .pa-instrument > span:first-child { min-width: 35px; min-height: 36px; font-size: 1rem; }
  .pa-instrument strong { font-size: .875rem; }
  .pa-instrument small, .pa-chart-meta { font-size: .75rem; }
  .pa-page .pa-hero-caption { padding-bottom: 17px; }
  .pa-terminal-footer { font-size: .75rem; padding: 11px 0; }
  .pa-jump-nav .container { gap: 11px; min-height: 62px; }
  .pa-jump-links { gap: 22px; }
  .pa-jump-links a { min-height: 61px; font-size: .875rem; }
  .pa-motion-button { min-height: 44px; max-width: 133px; padding: 8px 10px; font-size: .875rem; }
  .pa-section { padding: 59px 0; }
  .pa-section-heading { gap: 18px; margin-bottom: 29px; }
  .pa-definition-grid { grid-template-columns: 1fr; gap: 29px; }
  .pa-principles article { padding: 24px 0 24px 54px; }
  .pa-principle-symbol { width: 35px; height: 36px; }
  .pa-chart-panel { padding: 18px 14px; border-radius: 10px; }
  .pa-tabs { gap: 4px; padding: 3px; margin-bottom: 17px; }
  .pa-tabs button, .pa-structure-tabs button, .pa-exercise-tabs button { min-height: 46px; padding: 10px 12px; font-size: .875rem; }
  .pa-anatomy { grid-template-columns: 1fr; gap: 0; }
  .pa-anatomy-item:nth-child(2) { padding-top: 18px; }
  .pa-reading-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 30px; }
  .pa-reading-grid article { padding: 22px 0 0; border-right: 0; }
  .pa-note { padding: 17px 18px; }
  .pa-structure-tabs { gap: 8px; margin-bottom: 21px; }
  .pa-structure-tabs button { flex: 1; }
  .pa-structure-panel { padding: 23px 18px; }
  .pa-structure-visual { margin-inline: -5px; }
  .pa-structure-copy h3 { font-size: 1.7rem; }
  .pa-key-points li { padding-left: 20px; }
  .pa-sequence-tabs { gap: 8px; margin-bottom: 23px; }
  .pa-sequence-tabs button { min-height: 68px; padding: 12px 11px; gap: 9px; font-size: .875rem; }
  .pa-stage-number { width: 24px; height: 24px; font-size: .75rem; }
  .pa-sequence-copy h3 { font-size: 1.75rem; }
  .pa-sequence-controls { gap: 10px; margin-top: 23px; }
  .pa-small-button { padding: 10px 13px; }
  .pa-sequence-position { font-size: .875rem; }
  .pa-pattern-grid { grid-template-columns: 1fr; gap: 23px; }
  .pa-pattern-visual { padding: 15px 20px 0; }
  .pa-pattern-visual .pa-chart, .pa-pattern-visual svg { max-height: 200px; }
  .pa-pattern-content { padding: 25px; }
  .pa-pattern-content h3 { font-size: 1.7rem; }
  .pa-workflow { grid-template-columns: 1fr; }
  .pa-workflow .pa-step { padding: 26px; border-right: 0; border-bottom: 1px solid #38472a; }
  .pa-workflow .pa-step:last-child { border-bottom: 0; }
  .pa-step > span { margin-bottom: 15px; }
  .pa-step h3 { font-size: 1.5rem; }
  .pa-practice-box { padding: 22px 18px; border-radius: 11px; }
  .pa-exercise-tabs { gap: 8px; padding-bottom: 20px; margin-bottom: 23px; }
  .pa-exercise-tabs button { flex: 1; padding: 10px 9px; }
  .pa-exercise-panel > .pa-chart-panel { padding: 9px; }
  .pa-exercise-copy h3 { font-size: 1.7rem; }
  .pa-answer-buttons { grid-template-columns: 1fr; gap: 10px; }
  .pa-answer-buttons button { min-height: 52px; padding: 13px 16px; }
  .pa-exercise-feedback { padding: 17px; }
  .pa-mistakes-grid { grid-template-columns: 1fr; gap: 0; }
  .pa-mistakes-grid article { padding: 25px 0; }
  .pa-volume-note { padding: 23px 20px; }
  .pa-glossary-grid { grid-template-columns: 1fr; gap: 0; }
  .pa-glossary-grid summary { min-height: 67px; }
  .pa-glossary-grid details p { padding-right: 18px; }
  .pa-faq-list summary { gap: 20px; padding: 21px 0; font-size: 1rem; }
  .pa-faq-list details p { padding-right: 20px; }
  .pa-reading-sources { margin-top: 27px; gap: 7px 20px; }
  .pa-membership { padding: 61px 0; }
  .pa-membership-inner { grid-template-columns: 1fr; gap: 30px; }
  .pa-membership-inner h2 { font-size: 2.4rem; }
  .pa-membership-card { padding: 28px; }
  .pa-related { grid-template-columns: 1fr; gap: 0; margin-top: 26px; }
  .pa-related a { min-height: 94px; }
}
@media (max-width: 480px) {
  .pa-chart-minor { display: none; }
  .pa-chart-label, .pa-chart-label-gold, .pa-chart-label-green, .pa-chart-label-red { font-size: 25px; }
  .pa-wave-label { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .pa-page *, .pa-page *::before, .pa-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pa-draw { stroke-dashoffset: 0 !important; }
  .pa-draw:not(.pa-alt-line):not(.pa-risk-line):not(.pa-guide-line) { stroke-dasharray: none !important; }
  .pa-pulse { opacity: 1 !important; }
}
