/* HER FORTUNE ERA Academy — a new learning-product design system */
:root{--ink:#171b27;--ink2:#252b3a;--muted:#7b8190;--paper:#f5f4f0;--white:#fff;--line:#e5e4df;--coral:#e77b61;--coral-dark:#bd563f;--sun:#e8c77b;--mint:#a8c8b7;--serif:"Playfair Display",Georgia,serif;--sans:"DM Sans",Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.65 var(--sans)}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #e8c77b;outline-offset:2px}.app{min-height:100vh}.rail{position:fixed;inset:0 auto 0 0;width:252px;background:var(--ink);color:#f7f5ef;padding:27px 20px 18px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;padding:3px 7px 30px;border-bottom:1px solid #ffffff1c}.brand-symbol{width:42px;height:42px;border:1px solid var(--sun);border-radius:50%;display:grid;place-items:center;color:var(--sun);font:600 17px var(--serif);letter-spacing:-2px}.brand-symbol span{color:var(--coral)}.brand-words{font-size:10px;font-weight:700;letter-spacing:.15em;line-height:1.4}.brand-words small{display:block;color:#b7b9c2;font-size:8px;letter-spacing:.28em;font-weight:500}.rail-label,.eyebrow{font-size:9px;letter-spacing:.19em;font-weight:700;color:#9297a5}.rail-label{margin:27px 8px 11px}.primary-nav{display:grid;gap:5px}.nav-item{border:0;border-radius:7px;background:transparent;color:#c4c6ce;text-align:left;padding:11px 12px;font-size:12px;display:flex;gap:13px;align-items:center}.nav-item:hover,.nav-item.active{background:#ffffff12;color:#fff}.nav-item.active{box-shadow:inset 3px 0 var(--coral)}.nav-icon{font-size:17px;width:17px;text-align:center;color:var(--sun)}.rail-course{margin-top:34px;padding:0 7px}.rail-course .rail-label{margin:0 0 12px}.rail-course-title{font:500 18px/1.25 var(--serif);max-width:170px}.mini-progress,.stat-track{height:4px;background:#ffffff24;border-radius:9px;overflow:hidden;margin-top:17px}.mini-progress span,.stat-track span{display:block;height:100%;width:0;background:var(--coral);transition:width .3s}.rail-progress-copy{display:flex;justify-content:space-between;color:#aeb1bb;font-size:9px;margin-top:8px}.rail-bottom{margin-top:auto;border-top:1px solid #ffffff1c;padding:18px 4px 4px;display:flex;align-items:center;gap:10px}.avatar{width:32px;height:32px;border-radius:50%;background:var(--sun);color:var(--ink);display:grid;place-items:center;font:600 17px var(--serif)}.rail-bottom strong,.rail-bottom small{display:block}.rail-bottom strong{font-size:10px}.rail-bottom small{font-size:9px;color:#aeb1bb}.main{margin-left:252px;min-height:100vh}.topbar{height:67px;background:#f5f4f0ed;backdrop-filter:blur(14px);position:sticky;top:0;z-index:10;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,5vw,70px)}.crumb{font-size:9px;letter-spacing:.16em;color:#737987;font-weight:700}.crumb span{color:var(--coral);padding:0 8px}.top-actions{display:flex;align-items:center;gap:16px}.quiet-btn,.profile-chip{border:0;background:none;color:var(--ink);font-size:11px}.quiet-btn{font-size:20px}.quiet-btn span{font-size:10px;margin-left:5px}.profile-chip{border:1px solid var(--line);border-radius:30px;padding:8px 12px;font-size:8px;letter-spacing:.13em;font-weight:700}.status-dot{display:inline-block;width:7px;height:7px;background:var(--mint);border-radius:50%;margin-right:7px}.mobile-menu{display:none}.view{display:none;padding:50px clamp(24px,5vw,70px) 65px;max-width:1600px;margin:auto}.view.active{display:block}.welcome-row{min-height:390px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px;padding:24px 0 48px}.eyebrow{color:var(--coral-dark);display:flex;align-items:center;gap:9px}.eyebrow-line{height:1px;width:27px;background:var(--coral)}h1,h2,h3,p{margin-top:0}.welcome-row h1,.page-intro h1{font:500 clamp(46px,6.5vw,82px)/1.04 var(--serif);letter-spacing:-.045em;margin:24px 0 17px}.welcome-row h1 em,.page-intro h1 em{color:var(--coral-dark);font-weight:500}.lede{font-size:14px;line-height:1.9;color:#666d7b;max-width:530px}.primary-btn{margin-top:18px;background:var(--ink);color:#fff;border:0;padding:14px 19px;border-radius:4px;font-size:11px;font-weight:700;letter-spacing:.04em;box-shadow:5px 5px 0 var(--sun)}.primary-btn span{margin-left:25px;color:var(--sun)}.hero-art{height:340px;position:relative;display:grid;place-items:center;overflow:hidden}.orbit{position:absolute;border:1px solid #d6d2c8;border-radius:50%;transform:rotate(-24deg)}.orbit-one{width:300px;height:240px}.orbit-two{width:230px;height:320px;transform:rotate(43deg)}.art-core{width:148px;height:148px;border-radius:50%;background:var(--ink);color:var(--sun);display:grid;place-content:center;text-align:center;box-shadow:0 0 0 12px #e77b611c,0 20px 60px #171b2726;z-index:1}.art-core span{font:600 36px var(--serif);letter-spacing:-.05em}.art-core small{font-size:7px;letter-spacing:.22em;line-height:1.5;color:#fff}.art-tag{position:absolute;background:#fff;border:1px solid var(--line);border-radius:30px;padding:7px 12px;font-size:8px;font-weight:700;letter-spacing:.15em;box-shadow:0 8px 25px #171b2710}.tag-a{top:38px;left:17%}.tag-b{top:45%;right:3%}.tag-c{bottom:35px;left:22%}.tag-d{top:18%;right:18%}.art-spark{position:absolute;color:var(--coral);font-size:26px}.spark-a{top:18%;left:40%}.spark-b{bottom:16%;right:25%;color:#b5a05f}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stat-card{background:#fff;border:1px solid var(--line);padding:21px 23px;border-radius:6px;min-height:145px}.stat-label{font-size:8px;letter-spacing:.18em;color:#888e99;font-weight:700}.stat-card strong{display:block;font:600 35px var(--serif);margin:8px 0 2px}.stat-card strong i{font:400 15px var(--sans);color:#9297a2}.stat-card small{font-size:10px;color:#818795}.stat-track{background:#eeece7;margin:7px 0 9px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:52px 0 18px}.section-heading h2{font:500 32px var(--serif);margin:6px 0 0;letter-spacing:-.02em}.text-link,.back-link{border:0;background:none;color:var(--coral-dark);font-size:10px;font-weight:700}.text-link span{margin-left:12px}.continue-card{background:var(--ink);color:white;border-radius:7px;padding:25px 30px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px;position:relative;overflow:hidden}.continue-card:after{content:"";position:absolute;width:250px;height:250px;border:1px solid #ffffff1c;border-radius:50%;right:14%;top:-140px;box-shadow:0 0 0 28px #ffffff08,0 0 0 58px #ffffff06}.continue-card .eyebrow{color:var(--sun)}.continue-card h3{font:500 27px var(--serif);margin:7px 0}.continue-card p{font-size:10px;color:#bfc1c8;margin:0}.continue-card button{position:relative;z-index:1;background:var(--sun);border:0;color:var(--ink);padding:12px 17px;border-radius:3px;font-size:10px;font-weight:700}.lower-heading{margin-top:58px}.section-aside{font-size:10px;color:#858b96;max-width:270px;margin:0}.path-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.path-node{background:#fff;border:1px solid var(--line);border-radius:5px;padding:14px 12px;min-height:95px;text-align:left}.path-node span{display:block;font:500 22px var(--serif);color:var(--coral-dark)}.path-node small{display:block;font-size:8px;color:#6f7581;line-height:1.4;margin-top:5px}.page-intro{padding:22px 0 30px}.page-intro h1{font-size:clamp(44px,6vw,68px);margin:14px 0}.page-intro .lede{max-width:640px}.filter-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin-bottom:20px}.filter-note{font-size:9px;letter-spacing:.14em;font-weight:700;color:#777d89}.filter-actions{display:flex;gap:5px}.filter-btn{border:1px solid transparent;background:none;border-radius:3px;padding:7px 11px;font-size:9px;color:#777d89}.filter-btn.selected{background:#fff;border-color:var(--line);color:var(--ink)}.module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.module-card{background:#fff;border:1px solid var(--line);border-radius:6px;padding:20px;min-height:195px;display:flex;flex-direction:column;position:relative;transition:transform .18s,box-shadow .18s}.module-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #171b2710}.module-top{display:flex;justify-content:space-between;align-items:center}.module-number{font:500 28px var(--serif);color:var(--coral-dark)}.module-state{font-size:8px;letter-spacing:.1em;color:#8a909a}.module-card h3{font:500 20px/1.25 var(--serif);margin:14px 0 6px}.module-card p{font-size:9px;color:#838995;line-height:1.55;margin-bottom:17px}.module-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between}.module-bottom button{border:0;background:none;padding:0;color:var(--coral-dark);font-size:9px;font-weight:700}.module-bottom span{font-size:8px;color:#9297a0}.module-progress{height:3px;background:#efeee9;margin-top:13px;border-radius:5px}.module-progress span{display:block;height:100%;background:var(--mint);width:0}.empty-state{display:none;background:#fff;border:1px dashed #d5d2ca;border-radius:6px;padding:28px;color:#777d89;font-size:12px;text-align:center}.notes-list{display:grid;gap:12px}.note-row{background:#fff;border:1px solid var(--line);border-radius:6px;padding:18px 20px;display:grid;grid-template-columns:200px 1fr;gap:18px}.note-row strong{font:500 17px var(--serif)}.note-row p{font-size:11px;color:#686f7c;white-space:pre-wrap;margin:0}.reader-view{padding-top:25px}.reader-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.reader-tools{display:flex;gap:6px}.tool{background:#fff;border:1px solid var(--line);border-radius:3px;padding:7px 10px;font-size:9px;color:#565d6a}.save-tool{color:var(--coral-dark)}.reader-hero{margin:35px 0 25px;background:var(--ink);color:#fff;padding:48px clamp(24px,5vw,65px);border-radius:7px;position:relative;overflow:hidden}.reader-hero:after{content:attr(data-number);position:absolute;right:5%;top:-35px;font:500 210px/.9 var(--serif);color:#ffffff0b}.reader-hero .eyebrow{color:var(--sun)}.reader-hero h1{font:500 clamp(34px,5vw,58px)/1.08 var(--serif);max-width:760px;margin:13px 0}.reader-hero p{font-size:10px;color:#c4c6ce;letter-spacing:.12em;margin:0}.reader-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:35px;align-items:start}.manuscript{background:#fff;border:1px solid var(--line);border-radius:6px;padding:clamp(24px,4vw,55px);font-size:15px;line-height:1.85;min-width:0}.manuscript h1,.manuscript h2,.manuscript h3,.manuscript h4{font-family:var(--serif);line-height:1.25;color:var(--ink);margin-top:1.7em}.manuscript h1{font-size:32px}.manuscript h2{font-size:25px;border-bottom:1px solid var(--line);padding-bottom:9px}.manuscript h3{font-size:20px}.manuscript p{color:#4c5260}.manuscript li{padding-left:4px;margin:5px 0}.manuscript blockquote{margin:25px 0;padding:12px 20px;border-left:3px solid var(--coral);background:#faf7f1;color:#656b76}.manuscript table{width:100%;border-collapse:collapse;font-size:12px;display:block;overflow-x:auto}.manuscript th,.manuscript td{border:1px solid var(--line);padding:9px;text-align:left;min-width:100px}.manuscript th{background:#f5f4f0}.manuscript img{max-width:100%;height:auto}.manuscript a{color:var(--coral-dark)}.study-panel{display:grid;gap:12px;position:sticky;top:85px}.study-card{background:#fff;border:1px solid var(--line);border-radius:6px;padding:18px}.study-card h3{font:500 22px var(--serif);margin:8px 0}.study-card p{font-size:10px;color:#777d89;line-height:1.65}.study-card label{font-size:9px;font-weight:700;display:block;margin:14px 0 6px}.study-card textarea{width:100%;border:1px solid var(--line);border-radius:4px;padding:10px;font:11px/1.6 var(--sans);resize:vertical;background:#fcfbf8}.save-status{font-size:8px;color:#8b909a;margin-top:6px}.complete-btn{width:100%;border:0;background:var(--ink);color:#fff;border-radius:3px;padding:11px;font-size:9px;font-weight:700}.complete-btn.done{background:#e7f0e9;color:#35614a}.reader-jump{display:grid;gap:7px}.reader-jump button{border:0;background:none;text-align:left;padding:4px 0;color:#737987;font-size:9px}.chapter-footer{margin:25px 0 0;display:flex;justify-content:space-between;gap:15px}.chapter-footer button{background:#fff;border:1px solid var(--line);border-radius:4px;padding:12px 16px;color:var(--ink);font-size:10px}.search-overlay{display:none;position:fixed;inset:0;background:#171b27a8;z-index:50;padding:10vh 20px;overflow:auto}.search-overlay.open{display:block}.search-dialog{max-width:680px;margin:0 auto;background:var(--paper);border-radius:8px;padding:28px}.search-head{display:flex;justify-content:space-between;align-items:start}.search-head h2{font:500 32px var(--serif);margin:5px 0 18px}.close-btn{border:0;background:none;font-size:26px}.search-dialog input{width:100%;padding:14px;border:1px solid var(--line);border-radius:4px;background:#fff}.search-hint{font-size:9px;color:#858b96;margin:9px 0 14px}.search-results{display:grid;gap:7px}.result-item{background:#fff;border:1px solid var(--line);padding:12px;border-radius:4px;text-align:left}.result-item strong{display:block;font:500 16px var(--serif)}.result-item small{font-size:9px;color:#777d89}.footer{border-top:1px solid var(--line);padding:20px clamp(24px,5vw,70px);display:flex;justify-content:space-between;gap:12px;color:#9398a1;font-size:8px;letter-spacing:.13em}.focus-mode .rail,.focus-mode .topbar,.focus-mode .study-panel,.focus-mode .reader-top,.focus-mode .footer{display:none}.focus-mode .main{margin-left:0}.focus-mode .reader-view{max-width:1000px}.focus-mode .reader-layout{grid-template-columns:1fr}.focus-mode .manuscript{font-size:18px}.large-type .manuscript{font-size:18px}.large-type .manuscript p{line-height:2}
@media(max-width:1100px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reader-layout{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.path-strip{grid-template-columns:repeat(4,1fr)}.welcome-row{gap:15px}}
@media(max-width:780px){.rail{transform:translateX(-100%);transition:transform .2s}.rail.open{transform:translateX(0)}.main{margin-left:0}.mobile-menu{display:block;border:0;background:none;font-size:20px;color:var(--ink)}.topbar{padding:0 18px}.crumb{font-size:8px}.top-actions{gap:7px}.profile-chip{display:none}.view{padding:30px 18px 45px}.welcome-row{grid-template-columns:1fr;padding-top:18px;gap:0}.welcome-row h1{font-size:54px}.hero-art{height:230px}.stats-grid{grid-template-columns:1fr}.stat-card{min-height:110px}.section-heading{align-items:start;margin-top:40px}.section-heading h2{font-size:27px}.section-aside{display:none}.continue-card{grid-template-columns:1fr;padding:23px}.continue-card button{justify-self:start}.path-strip{grid-template-columns:repeat(3,1fr)}.module-grid{grid-template-columns:1fr}.filter-row{align-items:start;gap:10px;flex-direction:column}.reader-top{align-items:flex-start;flex-direction:column}.reader-tools{flex-wrap:wrap}.reader-layout{grid-template-columns:1fr}.study-panel{position:static}.reader-hero{padding:30px 23px}.reader-hero:after{font-size:130px}.manuscript{padding:23px;font-size:14px}.note-row{grid-template-columns:1fr;gap:6px}.footer{flex-wrap:wrap}.chapter-footer{flex-direction:column}.search-dialog{padding:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* BRAND CORRECTION + EDITORIAL LESSON EXPERIENCE */
:root{--ink:#35101f;--ink2:#4a182b;--muted:#82727a;--paper:#f7f1eb;--white:#fffdf9;--line:#eadbd5;--coral:#a84452;--coral-dark:#7d263b;--sun:#d8b77a;--mint:#b6c8b2}
body{background:var(--paper);color:#321522}
.rail{background:linear-gradient(165deg,#3c1023 0%,#260b19 100%);color:#fff8f1}
.nav-item:hover,.nav-item.active{background:#ffffff16;color:#fff}
.nav-item.active{box-shadow:inset 3px 0 #d8b77a}
.brand-symbol{border-color:#d8b77a;color:#f0d9a7}
.primary-btn{background:#421426;box-shadow:5px 5px 0 #d8b77a}
.continue-card{background:linear-gradient(110deg,#3b1023,#572033 72%,#32101f)}
.continue-card:after{border-color:#ffffff24}
.art-core{background:radial-gradient(circle at 35% 25%,#722c40,#3b1023 70%);color:#f0d9a7}
.eyebrow{color:#8b3448}
.eyebrow-line{background:#b85c65}
.welcome-row h1 em,.page-intro h1 em{color:#a84452}
.primary-btn span{color:#e6c98f}
.stat-card,.module-card,.manuscript,.study-card,.path-node,.note-row{background:#fffdf9;border-color:#eadbd5}
.stat-track{background:#f0e3dc}
.stat-track span,.mini-progress span{background:#b95b65}
.module-number,.module-bottom button,.text-link,.back-link{color:#8d3047}
.module-progress span{background:#b7c8ad}
.reader-hero{background:linear-gradient(110deg,#3b1023,#65283a);border:1px solid #6c3041}
.reader-hero .eyebrow{color:#e7c98f}
.tool{background:#fffdf9;border-color:#eadbd5}
.save-tool{color:#8d3047}
.study-card textarea{background:#fffaf5;border-color:#eadbd5}
.complete-btn{background:#421426}
.complete-btn.done{background:#edf2e9;color:#426247}
.manuscript{padding:0;overflow:hidden;font-size:15px;line-height:1.9;color:#493943}
.manuscript>p,.manuscript>.editorial-subhead,.manuscript>.section-marker,.manuscript>.key-idea,.manuscript>.insight-list,.manuscript>.list-intro,.manuscript>.question-line{margin-left:clamp(22px,4vw,54px);margin-right:clamp(22px,4vw,54px)}
.manuscript>p{color:#51434a;margin-top:0;margin-bottom:18px}
.lesson-opening{position:relative;padding:clamp(30px,5vw,62px);background:radial-gradient(circle at 88% 8%,#f0d9d2 0,transparent 33%),linear-gradient(135deg,#fffaf5,#f2e4dd);border-bottom:1px solid #e8d5ce;overflow:hidden}
.lesson-opening:after{content:"";position:absolute;width:220px;height:220px;border:1px solid #d8b77a;border-radius:50%;right:-80px;bottom:-125px;box-shadow:0 0 0 18px #d8b77a18,0 0 0 42px #a8445210}
.lesson-kicker{font-size:9px;letter-spacing:.2em;font-weight:700;color:#8b3448;text-transform:uppercase}
.lesson-chapter{font-size:10px;letter-spacing:.2em;color:#8c777e;margin-top:27px;text-transform:uppercase}
.lesson-opening h1{font:500 clamp(34px,5vw,56px)/1.08 var(--serif);letter-spacing:-.035em;color:#35101f;margin:9px 0 16px;max-width:760px;text-transform:capitalize}
.opening-rule{display:flex;gap:5px;align-items:center;margin:19px 0}
.opening-rule span{height:3px;width:24px;background:#b45a65;border-radius:3px}
.opening-rule span:nth-child(2){width:8px;background:#d8b77a}
.opening-rule span:nth-child(3){width:4px;background:#e7cfc3}
.opening-subtitle{font-size:11px!important;letter-spacing:.12em;text-transform:uppercase;color:#8a7279!important;margin:0!important;max-width:700px}
.section-marker{display:flex;align-items:center;gap:15px;margin-top:43px;margin-bottom:17px;padding-bottom:12px;border-bottom:1px solid #eadbd5}
.section-marker>span{flex:0 0 31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#f3e4dc;color:#8d3047;font-size:10px;font-weight:700}
.section-marker h2{font:500 24px/1.25 var(--serif);color:#3a1423;margin:0!important;border:0!important;padding:0!important}
.editorial-subhead{font:600 16px/1.4 var(--sans);color:#873448;margin-top:30px;margin-bottom:12px;letter-spacing:-.01em}
.lead-paragraph{font-size:17px;line-height:1.8;color:#45202e!important;padding-left:17px;border-left:2px solid #c17a7c}
.key-idea{position:relative;margin-top:28px;margin-bottom:30px;padding:24px 27px 25px 30px;background:linear-gradient(115deg,#401426,#65283a);color:#fff8f1;border-radius:5px;box-shadow:0 12px 25px #42142618}
.key-idea:before{content:"“";position:absolute;right:19px;top:-17px;font:80px var(--serif);color:#d8b77a66}
.key-idea-label{font-size:8px;letter-spacing:.2em;color:#e5c88f;font-weight:700}
.key-idea p{font:500 19px/1.55 var(--serif);color:#fff8f1!important;margin:8px 0 0!important;max-width:780px}
.list-intro{font-weight:700;color:#4a1b2b!important;margin-bottom:8px!important}
.insight-list{list-style:none;padding:0;margin-top:10px;margin-bottom:25px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.insight-list li{position:relative;margin:0;padding:12px 13px 12px 34px;background:#faf3ee;border:1px solid #eee0d8;border-radius:4px;font-size:12px;line-height:1.55;color:#57434b}
.insight-list li:before{content:"✦";position:absolute;left:13px;top:12px;color:#ae5a64;font-size:11px}
.question-line{display:flex;align-items:flex-start;gap:12px;margin-top:12px;margin-bottom:12px;padding:13px 16px;background:#f8f0e9;border-left:2px solid #d8b77a;border-radius:0 4px 4px 0}
.question-line>span{flex:0 0 22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#ead7cb;color:#7d263b;font:600 13px var(--serif)}
.question-line p{margin:0!important;color:#4a2634!important;font-size:13px}
.reader-layout{align-items:start}
.study-card{box-shadow:0 6px 20px #3b10230a}
.study-card .eyebrow{color:#8d3047}
.study-card h3{color:#3b1023}
.chapter-footer button{background:#fffdf9;border-color:#eadbd5}
@media(max-width:780px){.lesson-opening{padding:28px 22px}.lesson-opening h1{font-size:38px}.insight-list{grid-template-columns:1fr}.manuscript>p,.manuscript>.editorial-subhead,.manuscript>.section-marker,.manuscript>.key-idea,.manuscript>.insight-list,.manuscript>.list-intro,.manuscript>.question-line{margin-left:20px;margin-right:20px}.section-marker h2{font-size:20px}.key-idea{padding:20px}}

/* Brand lockup correction: keep the complete H·F monogram inside its seal. */
.brand{min-height:78px;gap:13px;padding:2px 5px 22px;align-items:center}
.brand-symbol{
  flex:0 0 52px;width:52px;height:52px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid #d8b77a;border-radius:50%;
  color:#f0d9a7;background:linear-gradient(145deg,#4c1b2d,#2b0d1b);
  font:600 18px/1 var(--serif);letter-spacing:0;
  box-shadow:inset 0 0 0 3px #d8b77a18,0 3px 12px #16081138;
}
.brand-symbol span{display:block;white-space:nowrap;color:#f0d9a7;letter-spacing:-.045em}
.brand-words{font-size:10px;line-height:1.55;letter-spacing:.14em;font-weight:700;white-space:nowrap;color:#fff8f1}
.brand-words small{margin-top:3px;font-size:8px;letter-spacing:.27em;color:#d7c1c4;white-space:nowrap}

/* 12-part visual learning system */
.module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.module-card{padding:0;overflow:hidden;min-height:0;border-radius:9px;box-shadow:0 7px 24px #4a182b0b;transition:transform .22s,box-shadow .22s}
.module-card:hover{transform:translateY(-5px);box-shadow:0 18px 36px #4a182b18}
.module-card-body{padding:18px 20px 17px}
.module-number{font:700 9px var(--sans);letter-spacing:.16em;color:#8c3348}
.module-state{font-size:8px;letter-spacing:.12em;color:#9b8790}
.module-card h3{font:500 20px/1.25 var(--serif);color:#3c1425;margin:13px 0 7px;text-transform:capitalize}
.module-card p{font-size:10px;line-height:1.6;color:#84727a;min-height:30px;margin-bottom:16px}
.module-bottom{padding-top:12px;border-top:1px solid #f0e4df}
.module-bottom button{font-size:10px;color:#8b3047}
.module-bottom button span{margin-left:7px}
.module-progress{height:3px;background:#f1e6e1;margin-top:14px}
.chapter-art{height:154px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#4a182b,#7a3045);isolation:isolate}
.chapter-art:before,.chapter-art:after{content:"";position:absolute;border:1px solid #f6e7c65c;border-radius:50%;z-index:-1}
.chapter-art:before{width:190px;height:190px;transform:rotate(-24deg)}
.chapter-art:after{width:250px;height:105px;transform:rotate(34deg);border-color:#f9e9dc55}
.art-index{position:absolute;left:18px;top:12px;font:500 52px/.9 var(--serif);color:#fff8f12b}
.art-core{width:78px;height:78px;border:1px solid #e5c98f;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#8d4a5a,#401426 72%);box-shadow:0 0 0 8px #f2d9c01a,0 12px 26px #220b1740;z-index:2}
.art-core span{font:500 22px var(--serif);color:#f6dfad;letter-spacing:-.05em}
.art-orbit{position:absolute;border:1px solid #e8d1a37a;border-radius:50%;z-index:1}
.orbit-a{width:150px;height:60px;transform:rotate(30deg)}
.orbit-b{width:140px;height:100px;transform:rotate(-35deg)}
.art-node{position:absolute;width:8px;height:8px;border-radius:50%;background:#e5c98f;box-shadow:0 0 0 4px #e5c98f28}
.node-a{top:32px;left:28%}.node-b{right:25%;bottom:30px}.node-c{right:32%;top:25px}
.art-caption,.art-subcaption{position:absolute;left:19px;bottom:16px;color:#fff8f1;font-size:8px;letter-spacing:.17em;font-weight:700}
.art-subcaption{left:auto;right:18px;bottom:16px;color:#f0d8ad;font-size:7px;letter-spacing:.12em;text-align:right}
.theme-0 .chapter-art,.theme-0.chapter-art{background:linear-gradient(135deg,#3b1023,#8e4252)}
.theme-1 .chapter-art,.theme-1.chapter-art{background:linear-gradient(135deg,#6e3446,#b56c70)}
.theme-2 .chapter-art,.theme-2.chapter-art{background:linear-gradient(135deg,#4d2734,#98734f)}
.theme-3 .chapter-art,.theme-3.chapter-art{background:linear-gradient(135deg,#4b1a30,#a05a62)}
.theme-4 .chapter-art,.theme-4.chapter-art{background:linear-gradient(135deg,#7c3d4c,#c18b76)}
.theme-5 .chapter-art,.theme-5.chapter-art{background:linear-gradient(135deg,#482033,#a65d6b)}
.theme-6 .chapter-art,.theme-6.chapter-art{background:linear-gradient(135deg,#713044,#b97870)}
.theme-7 .chapter-art,.theme-7.chapter-art{background:linear-gradient(135deg,#3e182a,#986070)}
.theme-8 .chapter-art,.theme-8.chapter-art{background:linear-gradient(135deg,#69404a,#b68b78)}
.theme-9 .chapter-art,.theme-9.chapter-art{background:linear-gradient(135deg,#4c2634,#987a60)}
.theme-10 .chapter-art,.theme-10.chapter-art{background:linear-gradient(135deg,#4b1b2b,#9d754c)}
.theme-11 .chapter-art,.theme-11.chapter-art{background:linear-gradient(135deg,#321321,#8d4051)}
.path-strip{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.path-node{position:relative;min-height:125px;padding:12px;overflow:hidden;border-radius:7px}
.path-node .path-number{font:500 20px var(--serif);color:#8b3047;display:block}
.path-mini-art{position:absolute;right:10px;top:7px;font:28px var(--serif);color:#d8b77a}
.path-node small{font-size:9px;line-height:1.4;color:#5f4650;display:block;margin-top:13px}
.reader-hero{display:none}
.reader-view{padding-top:25px}
.reader-layout{grid-template-columns:minmax(0,1fr) 270px;gap:24px}
.manuscript{padding:0;background:#fffdf9;overflow:hidden;border-radius:9px;box-shadow:0 10px 35px #4a182b0a}
.lesson-cover{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);min-height:300px;background:linear-gradient(130deg,#f9f0e9,#fffaf5);border-bottom:1px solid #eadbd5}
.lesson-cover .chapter-art{height:auto;min-height:300px}
.lesson-cover-copy{padding:34px clamp(20px,3vw,40px);display:flex;flex-direction:column;justify-content:center}
.lesson-kicker{font-size:8px;letter-spacing:.19em;color:#8b3047;font-weight:700}
.lesson-chapter{font-size:9px;line-height:1.6;letter-spacing:.14em;text-transform:uppercase;color:#9a777f;margin:18px 0 7px}
.lesson-chapter span{color:#d1ae70;padding:0 4px}
.lesson-cover h1{font:500 clamp(27px,3.1vw,43px)/1.12 var(--serif);letter-spacing:-.035em;color:#381526;margin:0 0 13px;text-transform:capitalize}
.cover-description{font-size:10px;line-height:1.75;color:#806c74;margin:0;max-width:420px}
.cover-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:23px;padding-top:13px;border-top:1px solid #e7d7cf;color:#9b7a7c;font-size:7px;letter-spacing:.13em;font-weight:700}
.lesson-body{padding:clamp(22px,4vw,50px)}
.lesson-body-intro{display:flex;align-items:center;gap:13px;margin-bottom:23px}
.lesson-body-label{font-size:8px;letter-spacing:.18em;color:#9b6570;font-weight:700;white-space:nowrap}
.lesson-body-rule{height:1px;background:#eadbd5;flex:1}
.lesson-section-heading{display:flex;align-items:center;gap:14px;margin:40px 0 17px;padding-bottom:12px;border-bottom:1px solid #eadbd5}
.section-number{flex:0 0 36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#f4e7df;color:#8b3047;font:500 16px var(--serif)}
.lesson-section-heading h2{font:500 23px/1.25 var(--serif);color:#3b1727;margin:2px 0 0}
.section-eyebrow{font-size:7px;letter-spacing:.18em;color:#ae7b75;font-weight:700}
.section-flourish{margin-left:auto;color:#d0ac70;font-size:18px}
.lesson-body>p{font-size:13px;line-height:1.95;color:#58474e;margin:0 0 16px}
.lesson-body>p.lesson-lead{font:500 17px/1.75 var(--serif);color:#542236;padding:17px 20px;background:linear-gradient(110deg,#fbf1eb,#fffaf6);border-left:2px solid #c17a7c;border-radius:0 5px 5px 0;margin:0 0 21px}
.lesson-subheading{font:600 15px/1.4 var(--sans);color:#8b3047;margin:28px 0 12px}
.lesson-list-card{margin:22px 0 26px;padding:19px 21px;background:#faf3ee;border:1px solid #eeded6;border-radius:7px}
.list-card-heading{font-size:8px;letter-spacing:.17em;color:#9a4a57;font-weight:700;margin-bottom:12px}
.list-card-heading span{color:#d0ac70;margin-right:7px}
.lesson-list{margin:0;padding:0 0 0 17px;display:grid;gap:9px}
.lesson-list li{padding-left:4px;color:#58454d;font-size:12px;line-height:1.7}
.lesson-list li::marker{color:#b15b66}
.lesson-quote{margin:25px 0;padding:22px 24px;background:linear-gradient(115deg,#401426,#713348);border-radius:7px;color:#fff8f1;display:flex;gap:14px}
.lesson-quote .quote-mark{font:50px/.7 var(--serif);color:#e3c48d}
.lesson-quote p,.lesson-quote div{font:500 16px/1.65 var(--serif);color:#fff8f1;margin:0}
.lesson-table-wrap{overflow-x:auto;margin:24px 0}
.lesson-table-wrap table{width:100%;border-collapse:collapse;font-size:11px}
.lesson-table-wrap th{background:#4a182b;color:#fff8f1;text-align:left;padding:10px}
.lesson-table-wrap td{padding:10px;border:1px solid #eadbd5;color:#58474e}
.lesson-table-wrap tr:nth-child(even) td{background:#faf3ee}
.lesson-endnote{display:flex;gap:14px;align-items:flex-start;margin:40px 0 4px;padding:20px;background:#f7eee8;border:1px solid #eadbd5;border-radius:7px}
.lesson-endnote>span{font-size:20px;color:#b78c53}
.lesson-endnote strong{font:500 17px var(--serif);color:#481b2d}
.lesson-endnote p{font-size:10px;color:#866f76;margin:5px 0 0}
@media(max-width:1100px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.path-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.lesson-cover{grid-template-columns:.7fr 1.3fr}.lesson-cover .chapter-art{min-height:270px}}
@media(max-width:780px){.module-grid{grid-template-columns:1fr}.path-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.lesson-cover{grid-template-columns:1fr}.lesson-cover .chapter-art{height:160px;min-height:160px}.lesson-cover-copy{padding:25px 22px}.lesson-cover h1{font-size:34px}.lesson-body{padding:22px}.lesson-body>p{font-size:12px}.lesson-section-heading h2{font-size:20px}.lesson-layout{grid-template-columns:1fr}}

/* HIGH-IMPACT LESSON CONTENT: turn dense manuscript passages into teaching moments */
.lesson-body{max-width:100%;padding:clamp(25px,4.5vw,58px)}
.lesson-body>p{max-width:820px;margin-left:auto;margin-right:auto;font-size:14px;line-height:2.02;color:#55434b;margin-bottom:18px}
.lesson-body>p.lesson-lead{max-width:850px;font:500 19px/1.75 var(--serif);color:#512236;background:linear-gradient(105deg,#f7e9e2,#fff9f4);padding:22px 25px;border-left:3px solid #b35b66;border-radius:0 8px 8px 0;margin-top:25px;margin-bottom:27px}
.lesson-subheading{max-width:850px;margin:39px auto 16px;padding-bottom:12px;border-bottom:1px solid #eadbd5;font:500 25px/1.2 var(--serif);color:#43192b}
.method-card{position:relative;display:grid;grid-template-columns:78px 1fr;gap:20px;max-width:900px;margin:25px auto;padding:24px 27px;background:linear-gradient(120deg,#fffaf6,#f7eee8);border:1px solid #eadbd5;border-radius:9px;box-shadow:0 9px 25px #4a182b0a;overflow:hidden}
.method-card:after{content:"";position:absolute;right:-45px;top:-65px;width:180px;height:180px;border:1px solid #d8b77a55;border-radius:50%;box-shadow:0 0 0 14px #d8b77a12,0 0 0 30px #d8b77a0b}
.method-card-top{display:flex;flex-direction:column;align-items:center;gap:7px;padding-top:4px}
.method-index{width:48px;height:48px;border:1px solid #d7b77f;border-radius:50%;display:grid;place-items:center;color:#8a3048;font:500 19px var(--serif);background:#fffaf5}
.method-label{font-size:7px;letter-spacing:.13em;color:#a17c6f;writing-mode:vertical-rl}
.method-card-content{position:relative;z-index:1}
.method-name{font-size:8px;letter-spacing:.2em;font-weight:800;color:#a34d5c}
.method-card h3{font:500 27px/1.15 var(--serif);color:#3d1527;margin:5px 0 9px}
.method-intro{font-size:12px;line-height:1.8;color:#6c555d;margin:0 0 14px}
.method-card-content>p:not(.method-intro){font-size:11px;line-height:1.75;color:#725d63;margin:8px 0}
.method-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}
.method-checks>div{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;background:#fffdf9;border:1px solid #eee1da;border-radius:5px;font-size:10px;line-height:1.55;color:#59444c}
.method-checks span{color:#bd8b55}
.process-visual{max-width:900px;margin:30px auto;padding:21px 22px 24px;background:#421629;border-radius:9px;color:#fff8f1;box-shadow:0 13px 30px #42162920;overflow:hidden}
.process-visual-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:15px;border-bottom:1px solid #ffffff25}
.process-visual-heading span{font-size:8px;letter-spacing:.19em;color:#e5c98f;font-weight:800}
.process-visual-heading small{font-size:9px;color:#e8d7d4}
.process-flow{display:flex;align-items:center;justify-content:center;gap:10px;padding-top:22px;flex-wrap:wrap}
.process-step{min-width:95px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.process-step b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;border:1px solid #d8b77a;color:#f0d8a8;font:500 12px var(--serif)}
.process-step strong{font-size:9px;letter-spacing:.12em;color:#fff8f1}
.process-arrow{color:#d8b77a;font-size:19px}
.checklist-panel{max-width:900px;margin:25px auto;padding:22px 24px;background:#f8f0ea;border:1px solid #eadbd5;border-radius:8px}
.checklist-title{font:500 19px var(--serif);color:#4b1d30;margin-bottom:15px}
.checklist-title span{font-size:14px;color:#c09a60;margin-right:9px}
.checklist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.checklist-item{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;background:#fffdf9;border:1px solid #eee2dc;border-radius:5px;color:#5d4a51;font-size:11px;line-height:1.55}
.checklist-item span{color:#a64f5e;font:500 14px var(--serif)}
.action-steps{max-width:900px;margin:24px auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.action-step{display:flex;gap:13px;align-items:center;padding:17px;background:#fffaf6;border:1px solid #eadbd5;border-radius:7px}
.action-step-number{flex:0 0 36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#4a182b;color:#f1d9a8;font:500 16px var(--serif)}
.action-step-label{font-size:7px;letter-spacing:.17em;color:#ae7b75}
.action-step h4{font:500 16px var(--serif);color:#481b2d;margin:3px 0 0}
.method-explainer{max-width:900px;margin:9px auto;display:flex;align-items:flex-start;gap:11px;padding:10px 15px;border-left:2px solid #d5b27a;background:#fbf5f0}
.method-explainer-mark{color:#ad6570}
.method-explainer p{font-size:12px;line-height:1.7;color:#634d55;margin:0}
.reflection-question{max-width:900px;margin:10px auto;display:flex;align-items:center;gap:12px;padding:13px 16px;background:#fbf5f0;border-radius:5px}
.reflection-question>span{flex:0 0 25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#ecdcd1;color:#8b3047;font:500 15px var(--serif)}
.reflection-question p{margin:0;color:#563444;font-size:12px}
@media(max-width:720px){.method-card{grid-template-columns:48px 1fr;padding:17px 15px;gap:12px}.method-index{width:38px;height:38px}.method-checks,.checklist-grid,.action-steps{grid-template-columns:1fr}.process-flow{gap:7px}.process-step{min-width:65px}.process-step strong{font-size:8px}.process-arrow{font-size:14px}.lesson-body>p{font-size:12px}}

/* Playful, founder-led learning: short scenario challenges with instant coaching */
.challenge-card{position:relative;max-width:930px;margin:54px auto 38px;padding:clamp(22px,4vw,38px);overflow:hidden;border-radius:12px;background:linear-gradient(145deg,#3b1023 0%,#5c2035 68%,#381222 100%);color:#fff8f1;box-shadow:0 20px 45px #3b102326}
.challenge-card:before{content:"";position:absolute;right:-75px;top:-100px;width:270px;height:270px;border:1px solid #d8b77a55;border-radius:50%;box-shadow:0 0 0 16px #d8b77a10,0 0 0 36px #d8b77a0a;pointer-events:none}
.challenge-topline{position:relative;display:flex;justify-content:space-between;gap:12px;padding-bottom:13px;border-bottom:1px solid #ffffff25;color:#e5c98f;font-size:8px;font-weight:800;letter-spacing:.17em}
.challenge-heading{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0}
.challenge-kicker{font-size:8px;letter-spacing:.2em;color:#e2bd82;font-weight:800}
.challenge-heading h2{font:500 clamp(30px,4vw,43px)/1.1 var(--serif);color:#fff8f1;margin:7px 0 0}
.challenge-stamp{width:76px;height:76px;flex:0 0 76px;display:grid;place-content:center;border:1px solid #d8b77a;border-radius:50%;font-size:8px;line-height:1.45;letter-spacing:.15em;text-align:center;color:#f0d8a8;transform:rotate(8deg)}
.challenge-scenario{position:relative;padding:17px 19px;background:#fff8f0;border-radius:7px;color:#4a1b2d}
.scenario-label{font-size:7px;letter-spacing:.18em;font-weight:800;color:#a24d5d}
.challenge-scenario p{font:500 16px/1.55 var(--serif);color:#4b1a2d;margin:7px 0 0}
.challenge-question{position:relative;font:500 22px/1.3 var(--serif);color:#fff8f1;margin:24px 0 14px}
.challenge-options{position:relative;display:grid;gap:9px}
.challenge-option{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 15px;border:1px solid #ffffff35;border-radius:7px;background:#ffffff0d;color:#fff8f1;cursor:pointer;font:500 12px/1.5 var(--sans);transition:background .18s,border-color .18s,transform .18s}
.challenge-option:hover:not(:disabled){background:#ffffff19;border-color:#d8b77a;transform:translateX(3px)}
.challenge-option:disabled{cursor:default;opacity:.78}
.challenge-option.selected{border-color:#e5c98f;background:#ffffff20;opacity:1}
.choice-letter{width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center;border:1px solid #d8b77a;border-radius:50%;color:#f0d8a8;font:500 13px var(--serif)}
.choice-arrow{margin-left:auto;color:#d8b77a;font-size:16px}
.challenge-feedback{position:relative;margin-top:15px;padding:16px 18px;border-radius:7px;background:#fff8f0;color:#4a1b2d}
.challenge-feedback[hidden]{display:none}
.challenge-feedback strong{font:600 13px var(--sans);color:#762c43}
.challenge-feedback p{font-size:11px;line-height:1.7;color:#674d56;margin:7px 0 0}
.challenge-feedback.is-coaching{border-left:3px solid #d5ae72}
.challenge-feedback.is-right{border-left:3px solid #91a984}
.earned-points{display:inline-block;margin-top:11px;color:#8b6840;font-size:8px;font-weight:800;letter-spacing:.14em}
.try-again{margin-top:11px;padding:8px 12px;border:1px solid #d9c4b7;border-radius:4px;background:#fff;color:#70283f;font-size:10px;font-weight:700;cursor:pointer}
.challenge-footer{position:relative;display:flex;justify-content:space-between;gap:12px;margin-top:18px;color:#e4c78f;font-size:7px;letter-spacing:.13em;font-weight:800}
@media(max-width:620px){.challenge-card{margin:36px 0 28px;padding:20px 16px}.challenge-topline{font-size:7px}.challenge-stamp{width:62px;height:62px;flex-basis:62px;font-size:7px}.challenge-question{font-size:20px}.challenge-option{font-size:11px;padding:12px}.challenge-footer{flex-direction:column;gap:7px}}

/* Content-led teaching blocks: make lists and examples feel like an editorial workbook */
.concept-board{max-width:900px;margin:25px auto 30px;padding:22px;background:linear-gradient(135deg,#fbf2eb,#fffaf6);border:1px solid #eadbd5;border-radius:9px}
.concept-board-heading{display:flex;align-items:center;gap:11px;margin-bottom:16px}
.concept-board-heading>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#4a182b;color:#f0d8a8}
.concept-board-heading small{display:block;font-size:7px;letter-spacing:.18em;color:#a66d70;font-weight:800;margin-bottom:3px}
.concept-board-heading strong{display:block;font:500 18px/1.3 var(--serif);color:#4a182b}
.concept-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.concept-tile{display:flex;align-items:flex-start;gap:11px;padding:13px;background:#fffdf9;border:1px solid #eee2dc;border-radius:6px;min-height:60px}
.concept-tile>span{flex:0 0 25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#f4e7df;color:#8b3047;font:500 12px var(--serif)}
.concept-tile p{margin:1px 0 0;font-size:11px;line-height:1.65;color:#5d4a51}
.real-world-example{max-width:900px;margin:23px auto;padding:19px 21px;background:#4a182b;border-radius:8px;position:relative;overflow:hidden}
.real-world-example:after{content:"";position:absolute;width:125px;height:125px;right:-45px;top:-50px;border:1px solid #d8b77a55;border-radius:50%;box-shadow:0 0 0 13px #d8b77a10}
.example-label{font-size:8px;letter-spacing:.16em;color:#e4c78f;font-weight:800;margin-bottom:9px}
.example-label span{margin-right:7px}
.real-world-example p{font:500 15px/1.75 var(--serif);color:#fff8f1;margin:0;position:relative;z-index:1}
@media(max-width:650px){.concept-grid{grid-template-columns:1fr}.concept-board{padding:16px}.concept-board-heading strong{font-size:16px}.real-world-example{padding:16px}}


/* =========================================================
   HER FORTUNE ERA — CONCEPT 2: ELEGANT EDITORIAL JOURNAL
   ========================================================= */
:root{
  --wine:#4a1428;--wine-deep:#2d0d1b;--wine-soft:#7d394a;
  --rose-ink:#8b5360;--champagne:#c9a66a;--champagne-light:#ead9b8;
  --paper:#fffaf2;--paper-warm:#f6eee3;--paper-edge:#e6d8c8;
  --ink:#38212a;--muted:#81747a;--rule:#e7ddd2;
  --serif:"Cormorant Garamond",Georgia,serif;
  --sans:"Manrope",Arial,sans-serif;
}
body{background:#f3eee8;color:var(--ink)}
.app{background:#f7f2ec}
.rail{background:linear-gradient(180deg,#481326,#310d1c 75%,#270a16);border-right:1px solid #d4b47733}
.brand-symbol{border-color:#d8bd84;color:#e7d1a3}
.brand-words{letter-spacing:.12em}
.nav-item{border-radius:4px;letter-spacing:.01em}
.nav-item.active{background:#ffffff13;border-left:2px solid var(--champagne);color:#fff4df}
.nav-icon{color:#d9bc86}
.topbar{background:#fbf8f3eF;border-bottom:1px solid #e8ded4;backdrop-filter:blur(12px)}
.crumb{letter-spacing:.16em}
.view{max-width:1600px}
.welcome-row{background:linear-gradient(110deg,#fbf4eb 0%,#f8efe5 55%,#f1e5d7 100%);border:1px solid #e6d7c6;padding:clamp(28px,5vw,64px);position:relative;overflow:hidden}
.welcome-row:after{content:"";position:absolute;inset:14px;border:1px solid #c9a66a55;pointer-events:none}
.welcome-row h1,.page-intro h1{font-family:var(--serif);font-weight:500;letter-spacing:-.035em;color:#3c1425}
.welcome-row h1 em,.page-intro h1 em{color:#98515e}
.eyebrow{color:#8b5360;letter-spacing:.2em}
.primary-btn,.complete-btn,.memory-save-btn{background:var(--wine);border-radius:3px;box-shadow:3px 3px 0 var(--champagne)}
.primary-btn:hover,.complete-btn:hover,.memory-save-btn:hover{background:#641d37}
.stat-card,.module-card,.study-card{background:#fffdf9;border:1px solid #e6dbcf;box-shadow:0 5px 18px #4a14280a;border-radius:5px}
.stat-card strong{font-family:var(--serif);font-weight:500;color:var(--wine)}
.continue-card{background:linear-gradient(110deg,#4a1428,#67253d);border:1px solid #b88e61;border-radius:4px}
.path-strip .path-card{border-radius:4px;background:#fffaf3}
.reader-view{max-width:1500px}
.reader-top{border-bottom:1px solid var(--rule);padding-bottom:16px}
.reader-hero{background:linear-gradient(105deg,#f9efe5,#fffaf3 58%,#f2e5d7);border:1px solid var(--paper-edge);position:relative;overflow:hidden;padding:clamp(30px,5vw,62px)}
.reader-hero:after{content:"";position:absolute;right:5%;top:15%;width:190px;height:190px;border:1px solid #c9a66a66;border-radius:50%;box-shadow:0 0 0 14px #c9a66a12,0 0 0 30px #c9a66a0b;pointer-events:none}
.reader-hero h1{font-family:var(--serif);font-size:clamp(38px,5vw,62px);font-weight:500;line-height:.98;max-width:780px;color:#3c1425}
.reader-hero p{color:#806a70}
.reader-note-strip{display:flex;align-items:center;gap:12px;margin:0 0 22px;padding:12px 17px;background:#efe4d8;border:1px solid #e0d0bf;color:#8a5660;font-size:9px;letter-spacing:.17em}
.reader-note-strip i{font-family:var(--serif);font-size:16px;letter-spacing:0;color:#62414a}
.note-strip-pin{color:#b08b50;font-size:18px}
.reader-layout{gap:clamp(26px,4vw,54px)}
.manuscript{background:#fffdf9;border:1px solid #e9dfd5;padding:clamp(24px,5vw,70px);box-shadow:0 10px 35px #4a14280a;position:relative}
.manuscript:before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#4a1428,#b77b77,#d4b77d,#f1e5d4)}
.lesson-cover{border:1px solid #d9c5b2;background:#f8eee3;box-shadow:0 10px 30px #3d15200d}
.lesson-cover-copy h1{font-family:var(--serif);font-weight:500;color:#3d1426;letter-spacing:-.03em}
.lesson-cover-copy .cover-description{font-family:var(--serif);font-size:19px;color:#745b62}
.lesson-body{background:transparent}
.lesson-body-intro{margin:28px 0 36px}
.lesson-section-heading{padding:24px 0 18px;border-bottom:1px solid #e5d8cb;margin:44px 0 22px}
.lesson-section-heading h2{font-family:var(--serif);font-size:clamp(27px,3vw,38px);font-weight:500;color:#3d1426}
.section-number{background:#f1e5d8;color:#874657;border:1px solid #e4d1c1}
.section-eyebrow{color:#946c68;letter-spacing:.18em}
.manuscript p{font-size:15px;line-height:1.95;color:#594c51;margin:0 0 19px}
.manuscript p.lesson-lead{font-family:var(--serif);font-size:21px;line-height:1.65;color:#4b2533}
.lesson-subheading{font-family:var(--serif);font-size:25px;color:#5a2539}
.concept-board{background:#f8f0e7;border:1px solid #e5d5c4;border-radius:4px;padding:24px;margin:30px 0;position:relative}
.concept-board:before,.real-world-example:before{content:"";position:absolute;top:-7px;left:26px;width:54px;height:13px;background:#d8bd8c99;transform:rotate(-3deg)}
.concept-board-heading strong{font-family:var(--serif);font-size:23px;color:#512239}
.concept-tile{background:#fffdf9;border:1px solid #e7d9cc;border-radius:3px}
.concept-tile span{background:#f1e4d9;color:#8d5360}
.concept-tile p{font-size:13px;line-height:1.55}
.real-world-example{background:#fff8ed;border:1px solid #ead9c4;border-left:3px solid #b77b77;border-radius:2px;padding:23px 25px;position:relative;margin:26px 0}
.example-label{color:#965d65;letter-spacing:.17em}
.reflection-question{background:#f4ebe2;border-left:3px solid #b77b77}
.method-card{border:1px solid #e5d6c6;background:#fffaf3}
.method-name{font-family:var(--serif);font-size:25px;color:#702b42}
.process-visual{background:#f8f0e7;border:1px solid #e5d5c4}
.challenge-card{background:linear-gradient(145deg,#481326,#68263d);border:1px solid #c9a66a;border-radius:4px;box-shadow:0 14px 30px #35102018}
.challenge-scenario{border-radius:2px}
.challenge-option{border-radius:3px}
.study-panel{gap:18px}
.study-card{padding:24px;position:relative}
.study-card h3{font-family:var(--serif);font-size:27px;font-weight:500;color:#4a1428}
.study-card textarea{background:#fffaf4;border:1px solid #e5d8cb;border-radius:3px;line-height:1.65}
.memory-capture-card{background:#f8eee2;border:1px solid #e2d0bc;box-shadow:3px 4px 0 #e7d9c8}
.memory-save-btn{width:100%;padding:12px 14px;color:#fff7ed;border:0;font:700 10px var(--sans);letter-spacing:.06em;cursor:pointer;margin-top:10px}
.save-status{font-size:10px;color:#8b777b;margin-top:9px}
.complete-btn{border-radius:3px}
.chapter-footer button{border-radius:3px}
.footer{border-top:1px solid #e5d9ce;color:#8e7d7e}
.memory-view{padding-bottom:70px}
.memory-page-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:38px clamp(24px,5vw,60px);background:linear-gradient(110deg,#f9efe5,#fffaf4 62%,#f0e2d3);border:1px solid #e4d3c1;position:relative}
.memory-page-head h1{font:500 clamp(42px,5vw,64px)/1 var(--serif);color:#421529;margin:12px 0}
.memory-page-head h1 em{color:#9c5966}
.memory-book-seal{width:106px;height:106px;border:1px solid #c7a46c;border-radius:50%;display:grid;place-content:center;text-align:center;color:#6a263e;font:500 25px var(--serif);box-shadow:inset 0 0 0 5px #c9a66a22;transform:rotate(7deg)}
.memory-book-seal span{font:700 7px var(--sans);letter-spacing:.15em}
.memory-intro-note{max-width:690px;margin:28px auto 46px;padding:24px 34px 22px;background:#fff9ef;border:1px solid #e8d9c6;box-shadow:0 7px 18px #3e18200b;position:relative;transform:rotate(-.35deg)}
.memory-intro-note:before{content:"";position:absolute;top:-8px;left:45%;width:65px;height:14px;background:#d9c18f99;transform:rotate(2deg)}
.memory-intro-note small{font-size:8px;letter-spacing:.2em;color:#a0646b;font-weight:800}
.memory-intro-note p{font:italic 21px/1.5 var(--serif);color:#633347;margin:9px 0 0}
.paper-pin{position:absolute;right:22px;top:17px;color:#c29b5d}
.memory-toolbar{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid #e2d6ca;padding-bottom:15px;margin-bottom:24px}
.memory-toolbar h2{font:500 30px var(--serif);color:#4a1428;margin:7px 0 0}
.memory-count-stamp{padding:8px 12px;border:1px solid #c9aa78;color:#8a5a4d;font-size:8px;letter-spacing:.16em;transform:rotate(2deg)}
.memory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.memory-paper{min-height:220px;padding:28px 24px 18px;background:#fffaf0;border:1px solid #e5d5c1;box-shadow:0 7px 18px #3813220d;position:relative;transform:rotate(-.4deg)}
.memory-paper-1{background:#f7eee6;transform:rotate(.5deg)}
.memory-paper-2{background:#fffdf8;transform:rotate(-.2deg)}
.memory-paper-3{background:#f5ecdf;transform:rotate(.35deg)}
.memory-paper-clip{position:absolute;right:20px;top:-12px;font-size:32px;color:#b38b53;transform:rotate(90deg)}
.memory-paper-meta{font-size:8px;letter-spacing:.15em;color:#9b6870;font-weight:800;padding-bottom:12px;border-bottom:1px solid #e6d8c8}
.memory-paper>p{font:italic 20px/1.5 var(--serif);color:#52263a;white-space:pre-wrap;margin:16px 0 28px}
.memory-paper-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e6d8c8;padding-top:12px}
.memory-paper-footer time{font-size:9px;color:#8e7e7e}
.memory-paper-footer button{border:0;background:transparent;color:#873d53;font-size:8px;font-weight:800;letter-spacing:.08em;cursor:pointer}
.memory-delete{position:absolute;top:7px;left:10px;border:0;background:transparent;color:#b28a78;font-size:18px;cursor:pointer}
.memory-empty{margin-top:15px}
@media(max-width:1050px){.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.memory-grid{grid-template-columns:1fr}.memory-page-head{align-items:flex-start}.memory-book-seal{width:76px;height:76px;font-size:19px;flex:0 0 76px}.memory-intro-note{margin:22px 0 34px;padding:21px 23px}.memory-intro-note p{font-size:18px}.reader-note-strip{align-items:flex-start;flex-wrap:wrap}.reader-note-strip i{width:100%}}


/* =========================================================
   CONCEPT 1 + 2 BLEND: PLAYFUL SCRAPBOOK × EDITORIAL JOURNAL
   Editorial structure stays calm; scrapbook details add warmth.
   ========================================================= */
:root{
  --scrap-rose:#f3e4df;
  --scrap-blush:#ead1cb;
  --scrap-paper:#fffaf0;
  --scrap-ink:#673047;
  --scrap-pencil:#a56b72;
  --scrap-tape:#d8bf91;
}
/* Keep the editorial grid and typography, add small handmade moments. */
.reader-note-strip{
  position:relative;
  background:linear-gradient(105deg,#f4e8df,#fbf5ec 72%,#f0e3d6);
  border-style:dashed;
  border-color:#dfcbb8;
  box-shadow:2px 3px 0 #e9ddd1;
  transform:rotate(-.18deg);
}
.reader-note-strip:after{
  content:"";
  position:absolute;right:18px;top:-6px;width:48px;height:12px;
  background:#d8bf91a8;transform:rotate(4deg);
}
.concept-board{
  background:
    radial-gradient(circle at 12px 12px,#b98c7620 1px,transparent 1.5px) 0 0/18px 18px,
    #f8f0e7;
  border-style:dashed;
  box-shadow:3px 4px 0 #e9ded2;
}
.concept-board:after{
  content:"KEEP THIS IN MIND";
  position:absolute;right:18px;top:-10px;
  padding:5px 9px;background:#f0dfbd;color:#79533e;
  font:800 7px var(--sans);letter-spacing:.14em;
  transform:rotate(2deg);box-shadow:1px 2px 2px #4a142814;
}
.real-world-example{
  background:#fff9ef;
  box-shadow:2px 4px 0 #eadfd2;
}
.real-world-example:after{
  content:"✎";
  position:absolute;right:17px;top:10px;
  color:#b17d72;font:italic 22px var(--serif);transform:rotate(-12deg);
}
.lesson-section-heading .section-flourish{
  color:#b58c57;
  transform:rotate(12deg);
}
.lesson-section-heading:nth-of-type(odd) .section-number{
  transform:rotate(-5deg);
  border-radius:48% 52% 45% 55%;
}
.method-card{
  position:relative;
  box-shadow:2px 3px 0 #eadfd3;
}
.method-card:before{
  content:"";
  position:absolute;top:-5px;left:22px;width:42px;height:10px;
  background:#d8bf91a0;transform:rotate(-3deg);
}
.reflection-question{
  background:linear-gradient(110deg,#f5e8e2,#fff8ee);
  border:1px dashed #d8b8aa;border-left:3px solid #b77b77;
  box-shadow:2px 3px 0 #eadfd3;
}
.challenge-card{
  position:relative;
  background:
    radial-gradient(circle at 92% 9%,#ffffff12 0 2px,transparent 3px) 0 0/18px 18px,
    linear-gradient(145deg,#481326,#68263d);
}
.challenge-card:after{
  content:"A LITTLE BUSINESS BRAIN TEASER";
  position:absolute;right:22px;bottom:17px;
  color:#f1dcb4a6;font:700 7px var(--sans);letter-spacing:.15em;
  transform:rotate(-2deg);pointer-events:none;
}
.memory-intro-note{
  border-style:dashed;
  box-shadow:4px 5px 0 #e7d9c8,0 8px 18px #3e18200b;
}
.memory-paper{
  border-style:dashed;
  box-shadow:3px 4px 0 #e6d8c8,0 8px 16px #3813220a;
}
.memory-paper:nth-child(3n+1){border-radius:2px 7px 3px 5px}
.memory-paper:nth-child(3n+2){border-radius:7px 2px 5px 3px}
.memory-paper:nth-child(3n){border-radius:4px 6px 2px 7px}
.memory-paper-meta:before{
  content:"✦ ";
  color:#b58c57;
}
.memory-paper-clip{
  font-size:0;
  width:13px;height:34px;right:22px;top:-13px;
  border:2px solid #b58c57;border-bottom-color:transparent;
  border-radius:9px 9px 0 0;transform:rotate(7deg);
}
.memory-paper-clip:after{
  content:"";position:absolute;left:2px;top:7px;width:5px;height:23px;
  border:1.5px solid #b58c57;border-bottom-color:transparent;
  border-radius:6px 6px 0 0;
}
.memory-paper-footer button{
  text-decoration:underline;text-decoration-color:#d7b98b;
  text-underline-offset:3px;
}
.memory-capture-card{
  background:
    linear-gradient(90deg,transparent 0 24px,#e9cfc9 25px,transparent 26px),
    repeating-linear-gradient(180deg,#fbf3e9 0 27px,#e9ddd1 28px,#fbf3e9 29px);
  padding-top:27px;
}
.memory-capture-card:before{
  content:"✦";
  position:absolute;right:18px;top:13px;color:#b58c57;font-size:18px;
}
.memory-capture-card textarea{
  background:#fffdf8e8;
}
.memory-save-btn{
  box-shadow:3px 3px 0 #d8bf91;
}
@media(max-width:650px){
  .reader-note-strip:after{right:10px}
  .concept-board:after{right:10px}
}


/* HER FORTUNE ERA — reference-led burgundy editorial journal system */
:root{
 --ink:#401323;--ink2:#5b1b30;--muted:#806d69;--paper:#f4eadb;--white:#fff9ef;
 --line:#dfcbb5;--coral:#8e3049;--coral-dark:#70233a;--sun:#c49a55;--mint:#b68b77;
 --serif:"Playfair Display",Georgia,serif;--sans:"DM Sans",Arial,sans-serif;
 --scrap-rose:#f4e1d9;--scrap-blush:#ead0c5;--scrap-paper:#fff7e9;--scrap-ink:#67243a;--scrap-pencil:#9b5a62;--scrap-tape:#d4b477;
}
html,body{max-width:100%;overflow-x:hidden}
body{background:#efe3d2;color:#351a20}
.app{background:linear-gradient(90deg,#4b172a 0 252px,#f4eadb 252px)}
.rail{background:linear-gradient(180deg,#641c34,#3f1224 75%);border-right:1px solid #c49a5555;box-shadow:5px 0 22px #32101a18}
.brand{border-bottom:1px solid #d4b47755}
.brand-symbol{border-radius:2px;border-color:#d8b77a;color:#f4dfb5}
.brand-symbol span{color:#f4dfb5}
.brand-words{font-family:var(--serif);font-size:13px;letter-spacing:.08em;color:#f5e7ce}
.brand-words small{color:#d7b98c}
.rail-label{color:#d9b98c}
.nav-item{color:#f1dfd2;border-radius:3px;padding:12px 11px}
.nav-item:hover,.nav-item.active{background:#f2dfc5;color:#56192e}
.nav-item.active{box-shadow:inset 3px 0 #c49a55}
.nav-icon{color:#d8b77a}
.rail-course-title{color:#fff1dd}
.rail-bottom{border-color:#d4b47755}
.rail-bottom strong{color:#fff0df}
.rail-bottom small{color:#d9c1b3}
.avatar{background:#d7b77b;color:#4b172a}
.main{background:#f4eadb;min-width:0}
.topbar{background:#5b192f;color:#fff1df;border-bottom:2px solid #c49a55;padding-inline:clamp(16px,3vw,48px)}
.crumb{color:#f2dfc7}
.crumb span{color:#d8b77a}
.quiet-btn,.profile-chip{color:#fff1df}
.profile-chip{border-color:#d8b77a66}
.view{padding:42px clamp(18px,4vw,58px) 58px}
.eyebrow{color:#873047}
.welcome-row{background:linear-gradient(105deg,#fff8ec,#f1e2d0);border:1px solid #e2cdb2;padding:34px 38px;margin-bottom:30px;box-shadow:0 8px 24px #4b172a0d;position:relative}
.welcome-row:after{content:"";position:absolute;right:22px;top:-7px;width:68px;height:15px;background:#d4b47799;transform:rotate(3deg)}
.welcome-row h1,.page-intro h1{color:#55182e}
.welcome-row h1 em,.page-intro h1 em{color:#8c344b}
.lede{color:#65524b}
.primary-btn{background:#641d36;border-radius:3px;box-shadow:4px 4px 0 #d4b477}
.primary-btn span{color:#f0d9ac}
.hero-art{background:radial-gradient(ellipse at 50% 50%,#e7cdb4,#f5e9d8 70%);border:1px dashed #c9a77f;min-width:0}
.art-core{background:#641d36;color:#f2d9a7;box-shadow:0 0 0 10px #8c344b18,0 18px 40px #42152625}
.art-tag{color:#68223a;background:#fff8ed;border:1px solid #ddc6a8}
.stat-card,.continue-card,.module-card,.study-card,.concept-board,.method-card,.real-world-example,.challenge-card{
 border-radius:4px!important;border-color:#dfc9ae!important;box-shadow:0 4px 13px #4b172a0b!important
}
.stat-card{background:#fff8ed}
.stat-label{color:#8b4050}
.stat-card strong{color:#641d36}
.stat-track{background:#ead9c5}
.stat-track span{background:#8e3049}
.section-heading h2,.memory-toolbar h2{color:#56192e}
.continue-card{background:#fff8ed}
.module-card{background:#fff8ed}
.filter-btn.selected{background:#641d36}
.reader-hero{background:linear-gradient(115deg,#641d36,#431326);border:1px solid #c49a55;color:#fff0df;position:relative;overflow:hidden}
.reader-hero h1{color:#fff0df;max-width:100%;overflow-wrap:anywhere}
.reader-hero .eyebrow{color:#e7c995}
.reader-hero p{color:#ead6c5}
.reader-note-strip{background:#f8eddd;border-color:#d7c0a2;color:#783149}
.reader-layout{grid-template-columns:minmax(0,1.65fr) minmax(260px,.8fr);align-items:start}
.manuscript{min-width:0;background:#fff8ec;border:1px solid #e0c9aa;padding:clamp(20px,3vw,42px);box-shadow:0 8px 24px #4b172a0d}
.manuscript *{max-width:100%;overflow-wrap:anywhere}
.study-panel{min-width:0}
.study-card{background:#fff7e9;border:1px solid #dfc7a9;padding:22px;position:relative}
.study-card:before{content:"";position:absolute;top:-6px;left:24px;width:48px;height:12px;background:#d4b477a6;transform:rotate(-3deg)}
.study-card h3{color:#6a2038}
.study-card textarea,.reflection-question textarea{max-width:100%;min-width:0;background:#fffdf8;border-color:#d8c1a6}
.memory-capture-card{background:repeating-linear-gradient(180deg,#fff8ed 0 27px,#eadccc 28px,#fff8ed 29px);border-style:dashed}
.memory-save-btn,.complete-btn{background:#641d36;color:#fff4e6;border-radius:3px;max-width:100%;white-space:normal}
.complete-btn.done{background:#8b6a42}
.lesson-section-heading h2{color:#641d36}
.concept-board{background:linear-gradient(135deg,#f8eadb,#fff8ed);border:1px dashed #c9aa86}
.real-world-example{background:#fff5e6}
.reflection-question{background:#f7e8dd;border-color:#d7b7a8}
.challenge-card{background:linear-gradient(140deg,#4b1428,#76253e)}
.memory-page-head,.memory-intro-note,.memory-paper{min-width:0}
.memory-book-seal{background:#641d36;border-color:#c49a55;color:#f4dfba}
.memory-intro-note,.memory-paper{background:#fff8ed}
.memory-paper{border-color:#ddc6a8}
.footer{background:#4a1529;color:#e9d4bd;border-top:1px solid #c49a55}
button,a,input,textarea{max-width:100%}
img,svg,video,canvas{max-width:100%;height:auto}
@media(max-width:1050px){
 .app{background:#f4eadb}
 .reader-layout{grid-template-columns:minmax(0,1fr) minmax(230px,.75fr)}
}
@media(max-width:760px){
 .app{background:#f4eadb}
 .rail{box-shadow:8px 0 24px #2b101b33}
 .topbar{padding-inline:14px}
 .view{padding:25px 15px 42px}
 .welcome-row{grid-template-columns:minmax(0,1fr);padding:25px 20px;gap:8px}
 .welcome-row h1,.page-intro h1{font-size:clamp(38px,11vw,58px);overflow-wrap:anywhere}
 .hero-art{height:230px}
 .stats-grid{grid-template-columns:minmax(0,1fr)}
 .reader-layout{grid-template-columns:minmax(0,1fr)}
 .manuscript{padding:20px 16px}
 .reader-hero{padding:25px 20px}
 .study-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
 .study-card{padding:18px}
 .reader-tools{flex-wrap:wrap}
 .reader-top{gap:12px;flex-wrap:wrap}
 .memory-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:420px){
 .topbar{gap:8px}
 .crumb{font-size:8px;letter-spacing:.08em}
 .top-actions{gap:5px}
 .quiet-btn span{display:none}
 .profile-chip{padding:7px 8px;font-size:7px}
 .welcome-row{padding:22px 16px}
 .stat-card{padding:18px}
 .filter-row{align-items:flex-start;flex-direction:column;gap:12px}
 .filter-actions{display:flex;flex-wrap:wrap;gap:6px}
 .memory-toolbar{align-items:flex-start;gap:10px;flex-wrap:wrap}
}


/* ==========================================================
   HER FORTUNE ERA — faithful editorial scrapbook refinement
   Layout discipline: every grid child may shrink; long content wraps.
   ========================================================== */
:root{
  --wine:#5a172d; --wine-deep:#3b1020; --wine-soft:#7a2942;
  --parchment:#f5ead9; --paper-light:#fff8ec; --gold:#c6a064;
  --rose-ink:#6e263a; --rule:#e3cfb5;
}
*{min-width:0}
html,body{width:100%;max-width:100%;overflow-x:clip}
body{background:#eadcc9}
.app{background:var(--parchment)}
.rail{
  background:linear-gradient(180deg,#6b2039 0%,#4c1428 55%,#39101f 100%);
  border-right:1px solid #c7a16a; box-shadow:4px 0 20px #32101b20;
}
.brand{padding:8px 6px 25px;gap:10px}
.brand-symbol{width:38px;height:38px;border-radius:0;border:1px solid #d9bb83}
.brand-symbol span{font-size:14px;letter-spacing:-1px}
.brand-words{font-family:var(--serif);font-size:12px;letter-spacing:.06em;line-height:1.15}
.brand-words small{font-family:var(--sans);font-size:7px;letter-spacing:.2em}
.rail-label{font-size:8px;letter-spacing:.16em;color:#e0c18f}
.primary-nav{gap:6px}
.nav-item{border-radius:2px;padding:11px 10px;font-family:var(--serif);font-size:12px;line-height:1.25}
.nav-item.active{background:#f3e4cf;color:#55182e;box-shadow:inset 3px 0 var(--gold)}
.nav-icon{color:#e1c28d}
.rail-course{border-top:1px solid #e0c18f55;padding-top:16px;margin-top:24px}
.rail-course-title{font-size:17px;line-height:1.3;color:#fff4e4}
.main{background:var(--parchment)}
.topbar{
  background:linear-gradient(90deg,#641d36,#471326);border-bottom:2px solid var(--gold);
  min-height:58px;height:auto;color:#fff2df;
}
.crumb{color:#f1dfc9;letter-spacing:.1em}
.quiet-btn,.profile-chip{color:#fff2df}
.view{max-width:1680px}
.welcome-row{
  background:linear-gradient(115deg,#fff8eb 0%,#f1e0cb 100%);
  border:1px solid #d8bd98;box-shadow:0 8px 20px #4b172a12;
}
.welcome-row:before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:7px;
  background:linear-gradient(#7b2a43,#c59d60,#7b2a43);
}
.welcome-row h1,.page-intro h1{color:#55182e}
.welcome-row h1 em,.page-intro h1 em{color:#8c344b}
.hero-art{border:1px dashed #c8a77c;background:radial-gradient(ellipse at 50% 55%,#e6cbb0,#f8eddd 72%)}
.art-core{background:#5a172d;border:1px solid #c6a064}
.stat-card,.module-card,.study-card,.concept-board,.method-card,.real-world-example,.challenge-card{
  border-radius:3px!important;border:1px solid #dfc9aa!important;
}
.stat-card{background:#fff8ed;position:relative}
.stat-card:after,.module-card:after{
  content:"";position:absolute;top:-5px;right:22px;width:42px;height:10px;
  background:#d4b47799;transform:rotate(3deg);pointer-events:none;
}
.continue-card{background:linear-gradient(110deg,#5a172d,#401323);border:1px solid var(--gold);border-radius:3px}
.continue-card h3{color:#fff2df}
.continue-card p{color:#ead7c6}
.continue-card button{background:#f0dfc4;color:#51182d}
.path-node{background:#fff8ed;border-color:#ddc6a7;border-radius:2px}
.path-node span{color:#76263f}
.reader-top{align-items:center}
.reader-hero{
  margin-top:24px;padding:32px clamp(22px,4vw,52px);
  background:linear-gradient(110deg,#fff8ec,#f0dfca);color:#4a1729;
  border:1px solid #d8bd98;border-left:6px solid #6a2038;
  box-shadow:0 5px 16px #4b172a0d;border-radius:2px;
}
.reader-hero .eyebrow{color:#8a3a4b}
.reader-hero h1{color:#55182e;max-width:900px;line-height:1.12}
.reader-hero p{color:#725c50}
.reader-hero:after{color:#5a172d0a}
.reader-note-strip{
  border:1px dashed #c9aa86;background:#f8eddd;box-shadow:2px 3px 0 #e6d5bf;
  border-radius:2px;padding:13px 18px;gap:12px;
}
.reader-layout{grid-template-columns:minmax(0,1.6fr) minmax(250px,.78fr);gap:22px}
.manuscript{
  background:
    linear-gradient(90deg,transparent 0 36px,#ead4cb 37px,transparent 38px),
    repeating-linear-gradient(180deg,#fff9ef 0 34px,#f4eadb 35px,#fff9ef 36px);
  border:1px solid #d9c2a3;border-radius:2px;
  box-shadow:0 7px 22px #4b172a10;
  padding:clamp(22px,3.5vw,48px) clamp(22px,4vw,54px);
  overflow:hidden;
}
.manuscript h1,.manuscript h2,.manuscript h3,.manuscript h4{color:#5b1b30}
.manuscript h2{border-bottom:1px solid #d9c5a9}
.manuscript blockquote{background:#f7e9dc;border-left-color:#8e3049}
.manuscript table{max-width:100%}
.manuscript pre,.manuscript code{white-space:pre-wrap;overflow-wrap:anywhere}
.study-panel{gap:16px}
.study-card{
  background:#fff8ec;border-radius:2px;box-shadow:3px 4px 0 #e5d5c1!important;
}
.study-card:nth-child(odd){background:#fff5e7}
.study-card h3{color:#641d36}
.study-card textarea{display:block;width:100%;min-height:88px;resize:vertical;overflow-wrap:anywhere}
.memory-capture-card{
  background:
    linear-gradient(90deg,transparent 0 20px,#e8cfc6 21px,transparent 22px),
    repeating-linear-gradient(180deg,#fff8ec 0 27px,#eadccc 28px,#fff8ec 29px);
}
.memory-save-btn,.complete-btn{background:#641d36;color:#fff4e6}
.concept-board{position:relative;background:linear-gradient(135deg,#f7e8d8,#fff9ef)}
.concept-board:before{content:"";position:absolute;top:-6px;left:28px;width:48px;height:12px;background:#d4b477aa;transform:rotate(-4deg)}
.lesson-section-heading h2{color:#641d36}
.reflection-question{background:#f8e9dd;border:1px dashed #d2b3a2}
.challenge-card{background:linear-gradient(145deg,#4a1428,#76263f);color:#fff3e3}
.memory-book-seal{background:#641d36;border-color:#c49a55;color:#f4dfba}
.memory-paper{box-shadow:3px 4px 0 #e6d8c8,0 8px 16px #3813220a}
.footer{background:#451426;color:#ecd9c2;border-top:1px solid var(--gold)}

/* Hard overflow guards for unusually long lesson titles, labels and user notes. */
h1,h2,h3,h4,p,li,small,strong,span,a,button,label,time,td,th{
  overflow-wrap:anywhere;word-break:normal;
}
button{white-space:normal;line-height:1.35}
input,textarea,select{min-width:0;max-width:100%}
.reader-layout>* ,.stats-grid>* ,.module-grid>* ,.memory-grid>* ,.path-strip>*{min-width:0}
.manuscript img,.manuscript iframe,.manuscript video{max-width:100%;height:auto}
.manuscript ul,.manuscript ol{padding-left:1.35em}
.manuscript table{display:block;max-width:100%;overflow-x:auto}
.module-card,.memory-paper,.study-card,.stat-card,.concept-board,.method-card,.real-world-example,.challenge-card{overflow-wrap:anywhere}
@media(max-width:1050px){
  .reader-layout{grid-template-columns:minmax(0,1fr) minmax(220px,.72fr);gap:16px}
}
@media(max-width:780px){
  .app{background:var(--parchment)}
  .rail{width:min(290px,86vw)}
  .topbar{min-height:56px;padding:8px 14px;gap:8px}
  .view{padding:24px 14px 40px}
  .reader-layout{grid-template-columns:minmax(0,1fr)}
  .study-panel{position:static}
  .manuscript{padding:22px 18px}
  .reader-hero{padding:24px 19px}
  .reader-hero h1{font-size:clamp(29px,8vw,42px)}
  .reader-note-strip{align-items:flex-start;flex-wrap:wrap}
  .reader-note-strip i{width:100%}
  .chapter-footer{flex-direction:column}
  .chapter-footer button{width:100%}
  .path-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
  .crumb{font-size:7px;letter-spacing:.05em}
  .top-actions{gap:4px}
  .quiet-btn{padding:4px}
  .welcome-row{padding:23px 16px}
  .welcome-row h1,.page-intro h1{font-size:clamp(34px,10vw,46px)}
  .stats-grid{gap:10px}
  .section-heading{flex-wrap:wrap}
  .filter-actions{flex-wrap:wrap}
  .manuscript{padding:20px 14px}
  .manuscript h1{font-size:27px}
  .manuscript h2{font-size:22px}
  .study-card{padding:16px}
}


/* ==========================================================
   MOBILE EXPERIENCE — deliberate phone-first refinements
   ========================================================== */
@media (max-width: 780px) {
  html, body { width:100%; max-width:100%; overflow-x:hidden; }
  body { font-size:14px; line-height:1.62; }
  .app { min-height:100dvh; }
  .rail {
    position:fixed; inset:0 auto 0 0; z-index:100;
    width:min(320px,88vw); height:100dvh; overflow-y:auto;
    padding:18px 16px max(22px,env(safe-area-inset-bottom));
    transform:translateX(-105%);
    transition:transform .24s ease;
    box-shadow:12px 0 34px #24101c40;
    overscroll-behavior:contain;
  }
  .rail.open { transform:translateX(0); }
  .mobile-menu {
    display:grid; place-items:center; flex:0 0 40px;
    width:40px; height:40px; border:1px solid #c6a064;
    border-radius:3px; background:#fff8ec; color:#5a172d;
    font-size:20px; line-height:1;
  }
  .topbar {
    position:sticky; top:0; min-height:58px; height:auto;
    display:flex; gap:10px; padding:8px 12px;
    padding-top:max(8px,env(safe-area-inset-top));
    z-index:50; box-shadow:0 3px 12px #32101b12;
  }
  .crumb {
    flex:1 1 auto; min-width:0; font-size:8px;
    line-height:1.35; letter-spacing:.07em;
    overflow-wrap:anywhere;
  }
  .crumb span { padding:0 4px; }
  .top-actions { flex:0 0 auto; gap:4px; }
  .quiet-btn { min-width:38px; min-height:38px; padding:6px; }
  .quiet-btn span { display:none; }
  .profile-chip { display:none; }
  .main { margin-left:0; width:100%; min-width:0; }
  .view { width:100%; padding:22px 14px 38px; }
  .welcome-row {
    min-height:0; grid-template-columns:minmax(0,1fr);
    gap:14px; padding:24px 18px 18px; margin-bottom:20px;
  }
  .welcome-row h1,.page-intro h1 {
    font-size:clamp(35px,9.5vw,52px); line-height:1.06;
    letter-spacing:-.04em; margin:16px 0 12px;
  }
  .lede { font-size:13px; line-height:1.75; }
  .hero-art { height:205px; min-height:205px; }
  .orbit-one { width:min(260px,72vw); height:175px; }
  .orbit-two { width:190px; height:235px; }
  .art-core { width:112px; height:112px; }
  .art-tag { font-size:7px; padding:4px 6px; }
  .stats-grid { grid-template-columns:minmax(0,1fr); gap:10px; }
  .stat-card { padding:17px 18px; }
  .section-heading { align-items:flex-start; gap:10px; flex-wrap:wrap; }
  .section-heading h2 { font-size:25px; line-height:1.15; }
  .section-aside { width:100%; }
  .module-grid,.memory-grid { grid-template-columns:minmax(0,1fr)!important; }
  .module-card { min-width:0; }
  .module-card h3,.module-card h2 { overflow-wrap:anywhere; }
  .path-strip { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .path-node { min-width:0; padding:10px 8px; }
  .reader-top { align-items:flex-start; }
  .reader-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
  .reader-hero { margin-top:14px; padding:22px 17px; }
  .reader-hero h1 { font-size:clamp(28px,8vw,39px); line-height:1.12; }
  .reader-hero p { font-size:13px; line-height:1.65; }
  .manuscript {
    padding:22px 16px 24px 25px;
    background:
      linear-gradient(90deg,transparent 0 15px,#ead4cb 16px,transparent 17px),
      repeating-linear-gradient(180deg,#fff9ef 0 32px,#f4eadb 33px,#fff9ef 34px);
  }
  .manuscript p,.manuscript li { font-size:13px; line-height:1.8; }
  .manuscript h2 { font-size:23px; line-height:1.2; }
  .manuscript h3 { font-size:19px; line-height:1.25; }
  .manuscript table { font-size:12px; }
  .study-panel { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
  .study-card { padding:17px 15px; }
  .study-card h3 { font-size:21px; line-height:1.2; }
  .study-card textarea,.reflection-question textarea {
    width:100%; min-height:112px; font-size:16px;
  }
  .memory-save-btn,.complete-btn,.primary-btn { min-height:46px; width:100%; }
  .reader-tools { gap:8px; }
  .reader-tools button { min-height:40px; }
  .filter-row,.memory-toolbar { align-items:stretch; flex-direction:column; gap:10px; }
  .filter-actions { display:flex; flex-wrap:wrap; gap:7px; }
  .filter-btn { min-height:38px; }
  .footer { padding-bottom:max(20px,env(safe-area-inset-bottom)); }
  .search-dialog,.modal-card { width:calc(100vw - 28px); max-width:calc(100vw - 28px); }
  .rail-backdrop {
    display:block; position:fixed; inset:0; z-index:90;
    background:#1c0b13a6; opacity:0; visibility:hidden;
    transition:opacity .2s ease,visibility .2s ease;
  }
  body.nav-open { overflow:hidden; }
  body.nav-open .rail-backdrop { opacity:1; visibility:visible; }
}
@media (max-width: 420px) {
  .view { padding:18px 11px 32px; }
  .topbar { padding-inline:9px; gap:7px; }
  .crumb { font-size:7px; letter-spacing:.035em; }
  .welcome-row { padding:21px 14px 16px; }
  .welcome-row h1,.page-intro h1 { font-size:clamp(32px,9.3vw,42px); }
  .hero-art { height:180px; min-height:180px; }
  .section-heading h2 { font-size:22px; }
  .path-strip { grid-template-columns:minmax(0,1fr); }
  .manuscript { padding:19px 12px 22px 21px; }
  .reader-hero { padding:20px 14px; }
  .reader-hero h1 { font-size:29px; }
  .study-card { padding:15px 13px; }
  .rail { width:min(300px,90vw); }
}
@media (prefers-reduced-motion: reduce) {
  .rail,.rail-backdrop { transition:none!important; }
}


/* ==========================================================
   HER FORTUNE ERA — reference-led editorial scrapbook system
   ========================================================== */
:root{
 --ink:#57182e;--ink-2:#6b2038;--coral:#a65a58;--coral-dark:#681d35;
 --sun:#d7ad62;--paper:#f7eddd;--line:#dfc9aa;--cream:#fff9ef;
 --sans:"DM Sans",sans-serif;--serif:"Playfair Display",Georgia,serif;
}
html,body{background:#f4e8d5;color:#321d22}
body{background:radial-gradient(ellipse at 12% 8%,#fff8e9 0,transparent 35%),#f4e8d5}
.app{background:#f4e8d5}
.rail{
 width:252px;background:linear-gradient(180deg,#681d36 0%,#4b1428 100%);
 color:#fff4e5;padding:24px 17px 18px;border-right:1px solid #c79b5b;
 box-shadow:5px 0 22px #34101b18
}
.brand{align-items:center;gap:10px;padding:3px 4px 25px;border-bottom:1px solid #ffffff30}
.brand-symbol{width:43px;height:43px;border-radius:0;border:1px solid #d7b36f;color:#f6dfb4;background:#ffffff09}
.brand-symbol span{color:#f6dfb4}
.brand-words{font-family:var(--serif);font-size:11px;letter-spacing:.09em;color:#f8e5c5}
.brand-words small{font-family:var(--sans);font-size:7px;letter-spacing:.2em;color:#dcbf9a}
.rail-label{color:#d7b98e;font-size:8px;letter-spacing:.2em}
.primary-nav{gap:5px}
.nav-item{color:#f5e5d0;border-radius:3px;padding:11px 10px;font-size:11px;transition:background .18s}
.nav-item:hover,.nav-item.active{background:#f4e6d4;color:#5a1930;box-shadow:inset 3px 0 #d6ad68}
.nav-icon{color:#d7b36f}
.rail-course{border-top:1px solid #ffffff2b;padding-top:20px}
.rail-course-title{font:600 19px/1.18 var(--serif);color:#fff0dc}
.mini-progress{background:#ffffff30}
.mini-progress span{background:#d9b56e}
.rail-progress-copy,.rail-bottom small{color:#e4cbb0}
.avatar{background:#d9b56e;color:#59182e}
.topbar{
 height:58px;background:#641b34;color:#fff4e5;border:0;
 box-shadow:0 3px 12px #34101b1a;padding:0 clamp(20px,4vw,56px)
}
.crumb{color:#f5dfc0;font-size:9px;letter-spacing:.13em}
.crumb span{color:#d9b56e}
.quiet-btn,.profile-chip{color:#fff4e5}
.profile-chip{border-color:#d6b16c;color:#f7e4c4}
.status-dot{background:#d8b36e}
.view{max-width:none;padding:36px clamp(24px,5vw,72px) 58px}
.welcome-row{
 background:linear-gradient(100deg,#fff8eb 0%,#f8eddd 62%,#ead5bc 100%);
 border:1px solid #d9bd94;box-shadow:0 7px 22px #4b1a2a0c;
 padding:35px 38px;min-height:350px;position:relative;overflow:hidden
}
.welcome-row:after{
 content:"";position:absolute;left:0;top:0;width:100%;height:7px;
 background:linear-gradient(90deg,#681d36 0 32%,#d7ad62 32% 34%,transparent 34%)
}
.welcome-row h1,.page-intro h1{color:#59182f}
.welcome-row h1 em,.page-intro h1 em{color:#8a3948}
.lede{color:#6c5a50}
.eyebrow{color:#8d4650;font-size:8px;letter-spacing:.18em;font-weight:700}
.eyebrow-line{background:#c49a5c}
.primary-btn,.complete-btn,.memory-save-btn{
 background:#681d36;color:#fff4e5;border:1px solid #d2aa69;border-radius:3px;
 box-shadow:0 3px 0 #3e1022;font-weight:600;letter-spacing:.02em
}
.primary-btn:hover,.complete-btn:hover,.memory-save-btn:hover{background:#7a2942}
.hero-art{
 background:linear-gradient(145deg,#681d36,#9b4b54 62%,#6a2739);
 border:5px double #d7ad62;box-shadow:inset 0 0 0 8px #ffffff0b
}
.orbit{border-color:#e8c98a80}
.art-core{background:#56172d;border:1px solid #e0ba72;box-shadow:0 0 0 9px #ffffff12,0 14px 35px #2c0b1c55}
.art-core span{color:#e7c47d}
.art-core small{color:#f4e2c6}
.art-tag{color:#f8e8ce;background:#5a1930;border:1px solid #d7ad62}
.art-spark{color:#e8c47c}
.stats-grid{gap:14px}
.stat-card,.continue-card{
 background:#fff8eb;border:1px solid #dfc9a9;border-radius:2px;
 box-shadow:0 4px 14px #4b1a2a0b
}
.stat-label{color:#8b4850}
.stat-card strong{color:#5b1a31}
.stat-track{background:#eadcc8}
.stat-track span{background:#9d5960}
.section-heading h2{font-family:var(--serif);color:#59182f}
.text-link{color:#762b40}
.module-grid{gap:17px}
.module-card{
 border:1px solid #d9bd94;border-radius:2px;padding:0;min-height:275px;
 background:#fff8eb;box-shadow:0 5px 16px #4b1a2a10;overflow:hidden
}
.module-card:before{
 content:"";display:block;height:124px;flex:0 0 124px;
 background:
 radial-gradient(circle at 50% 50%,#5b1830 0 29px,#d7ad62 30px 31px,transparent 32px),
 radial-gradient(ellipse at 50% 50%,transparent 0 50px,#f1d69b80 51px 52px,transparent 53px),
 radial-gradient(ellipse at 50% 50%,transparent 0 78px,#f1d69b55 79px 80px,transparent 81px),
 linear-gradient(120deg,#57172f,#a34e59 65%,#704052);
 border-bottom:4px double #d4aa68
}
.module-card .module-top,.module-card h3,.module-card p,.module-card .module-link,.module-card .module-meta{
 margin-left:17px;margin-right:17px
}
.module-card .module-top{margin-top:-112px;position:relative;min-height:96px;align-items:flex-start}
.module-number{font:500 42px var(--serif);color:#f0d7ac80}
.module-state{color:#f6e3c9}
.module-card h3{margin-top:24px;color:#59182f;font:500 19px/1.28 var(--serif)}
.module-card p{font-size:10px;color:#8b7669}
.module-card .module-link{margin-top:auto;padding:12px 0;border-top:1px solid #ead9c2;color:#752940}
.filter-row{border-color:#ddc6a4}
.filter-btn{border-radius:2px}
.filter-btn.selected{background:#681d36;color:#fff0dc;border-color:#681d36}
.page-intro{padding:8px 0 26px}
.page-intro h1{font-size:clamp(42px,5vw,66px)}
.reader-hero{
 border-radius:2px;border:1px solid #d5ae6c;
 background:linear-gradient(105deg,#fff8eb 0%,#f3e3ce 100%);
 color:#58182f;padding:36px clamp(24px,4vw,54px);box-shadow:0 6px 20px #4b1a2a0d
}
.reader-hero:after{color:#681d3608}
.reader-hero .eyebrow{color:#8c4750}
.reader-hero h1{color:#59182f;font-size:clamp(34px,4vw,52px)}
.reader-hero p{color:#745f54}
.reader-note-strip{
 background:#f0dfc8;border:1px dashed #c8a875;color:#7a3547;
 padding:11px 16px;font-family:var(--serif);font-style:italic
}
.reader-layout{grid-template-columns:minmax(0,1fr) 330px;gap:22px}
.manuscript{
 background:
 linear-gradient(90deg,transparent 0 29px,#dfbdb0 30px,transparent 31px),
 repeating-linear-gradient(180deg,#fffaf0 0 36px,#f3e8d8 37px,#fffaf0 38px);
 border:1px solid #dec7a7;border-radius:2px;padding:38px 42px 44px 55px;
 box-shadow:0 7px 20px #4b1a2a0c
}
.manuscript h1,.manuscript h2,.manuscript h3,.manuscript h4{color:#59182f}
.manuscript h2{border-color:#ddc5a5}
.manuscript blockquote{
 border-left:3px solid #8a3948;background:#f7e9dc;color:#58182f;
 font:500 21px/1.55 var(--serif);padding:17px 22px
}
.manuscript table{border-color:#dfc9a9}
.manuscript th{background:#681d36;color:#fff2dc}
.manuscript td{background:#fff9ef}
.study-panel{gap:13px}
.study-card{
 background:#fff7e9;border:1px solid #d9c09c;border-radius:2px;
 box-shadow:0 5px 15px #4b1a2a0c;position:relative;padding:20px
}
.study-card:before{
 content:"";position:absolute;top:-5px;left:18px;width:38px;height:10px;
 background:#d8bd7b80;transform:rotate(-3deg)
}
.study-card h3{color:#641d36}
.study-card p{color:#78665a}
.study-card textarea{background:#fffdf8;border:1px solid #d8c3a6;border-radius:1px;color:#39272a}
.memory-capture-card{background:repeating-linear-gradient(180deg,#fff8ec 0 29px,#eadbc7 30px,#fff8ec 31px)}
.progress-study{background:#f8eddd}
.memory-page-head,.memory-intro-note,.memory-card{
 border-radius:2px
}
.memory-page-head{background:#681d36;color:#fff0dc;border:1px solid #d7ad62;padding:28px}
.memory-page-head h1{color:#fff0dc}
.memory-intro-note{background:#fff0d8;border:1px dashed #c5a16c;box-shadow:3px 5px 0 #6a20301a}
.memory-card{background:#fff8eb;border:1px solid #d9c09c;box-shadow:0 4px 13px #4b1a2a0c}
.footer{color:#875c5a;border-top:1px solid #dfc9aa}

/* Keep the reference layout intentional at tablet and phone widths. */
@media(max-width:1050px){
 .reader-layout{grid-template-columns:minmax(0,1fr) 290px;gap:16px}
 .view{padding-left:25px;padding-right:25px}
}
@media(max-width:780px){
 .rail{background:linear-gradient(180deg,#681d36,#4b1428)}
 .topbar{background:#641b34}
 .view{padding:18px 13px 36px}
 .welcome-row{padding:25px 17px 18px;gap:8px}
 .welcome-row h1{font-size:clamp(35px,9vw,48px)}
 .hero-art{height:190px;min-height:190px}
 .module-card{min-height:250px}
 .module-card:before{height:110px;flex-basis:110px}
 .module-card .module-top{margin-top:-100px;min-height:84px}
 .module-card h3{margin-top:20px;font-size:20px}
 .reader-hero{padding:24px 18px;margin-top:18px}
 .reader-hero h1{font-size:clamp(29px,8vw,40px)}
 .reader-layout{grid-template-columns:minmax(0,1fr);gap:15px}
 .manuscript{padding:25px 15px 28px 27px}
 .study-panel{grid-template-columns:minmax(0,1fr)}
 .study-card{padding:19px 16px}
 .memory-page-head{padding:22px 17px}
}
@media(max-width:420px){
 .module-card:before{height:100px;flex-basis:100px}
 .module-card .module-top{margin-top:-92px}
 .module-number{font-size:36px}
 .manuscript{padding-left:23px;padding-right:12px}
 .manuscript blockquote{font-size:18px;padding:14px}
}

/* Original manuscript rendering: retain the authored structure and wording. */
.source-manuscript{
  color:#443238;
  font-family:var(--sans,Arial,sans-serif);
  font-size:15px;
  line-height:1.82;
  overflow-wrap:anywhere;
}
.source-manuscript > h1:first-child{margin-top:0}
.source-manuscript h1{
  color:#59182f;font-family:var(--serif,Georgia,serif);
  font-size:clamp(29px,3.4vw,43px);line-height:1.16;
  margin:34px 0 18px;letter-spacing:-.025em
}
.source-manuscript h2{
  color:#681d36;font-family:var(--serif,Georgia,serif);
  font-size:clamp(23px,2.4vw,31px);line-height:1.25;
  margin:42px 0 18px;padding-bottom:12px;
  border-bottom:1px solid #ddc5a5
}
.source-manuscript h3{
  color:#78364a;font-family:var(--serif,Georgia,serif);
  font-size:20px;line-height:1.35;margin:27px 0 12px
}
.source-manuscript p{margin:0 0 15px;max-width:78ch}
.source-manuscript strong{color:#58182f;font-weight:700}
.source-manuscript em{color:#79515b}
.source-manuscript ul,.source-manuscript ol{padding-left:1.55rem;margin:12px 0 22px}
.source-manuscript li{padding-left:.25rem;margin:5px 0}
.source-manuscript li::marker{color:#9b6d43}
.source-manuscript blockquote{
  margin:24px 0;padding:18px 22px;border-left:3px solid #9b6d43;
  background:#f7e9dc;color:#58182f;font-family:var(--serif,Georgia,serif)
}
.source-manuscript hr{border:0;border-top:1px solid #d9c3a6;margin:34px 0}
.source-manuscript table{width:100%;border-collapse:collapse;margin:22px 0 28px;font-size:14px;line-height:1.55}
.source-manuscript th,.source-manuscript td{padding:11px 12px;border:1px solid #dfc9a9;text-align:left;vertical-align:top}
.source-manuscript th{background:#681d36;color:#fff2dc;font-weight:650}
.source-manuscript td{background:#fff9ef}
.source-manuscript br{content:""}
/* Part I is supplied in legacy line-break markup; retain every line while
   giving the original line breaks readable separation without rewriting text. */
.source-manuscript[data-source-part="I"] br{display:block;margin:.42em 0;content:""}
.companion-challenge{margin-top:42px}
.companion-challenge .challenge-topline{letter-spacing:.12em}
@media(max-width:780px){
  .source-manuscript{font-size:14px;line-height:1.78}
  .source-manuscript h2{margin-top:32px;font-size:25px}
  .source-manuscript h3{font-size:19px}
  .source-manuscript table{display:block;overflow-x:auto;white-space:normal;-webkit-overflow-scrolling:touch}
  .source-manuscript th,.source-manuscript td{min-width:125px;padding:9px}
}
