:root{
  --mdfa-ink:#21105e;
  --mdfa-ink2:#2a146f;
  --mdfa-violet:#7512e6;
  --mdfa-violet2:#5d2fc7;
  --mdfa-soft:#f7f3ff;
  --mdfa-soft2:#fbf9ff;
  --mdfa-line:#e6e0ef;
  --mdfa-line2:#f0ecf5;
  --mdfa-text:#5b5274;
  --mdfa-muted:#83799b;
  --mdfa-green:#35b79a;
  --mdfa-shadow:0 12px 34px rgba(55,34,96,.045);
}

.mdfa-root{max-width:1240px;margin:0 auto;padding:26px 22px 54px;background:#fff;color:var(--mdfa-ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.58;-webkit-font-smoothing:antialiased}
.mdfa-root *{box-sizing:border-box}
.mdfa-root a{color:var(--mdfa-violet2);text-decoration:none}
.mdfa-root button,.mdfa-root input,.mdfa-root textarea,.mdfa-root select{font:inherit}
.mdfa-root h1,.mdfa-root h2,.mdfa-root .mdfa-serif{font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif;font-weight:500;color:#1e0b62}
.mdfa-root h3,.mdfa-root p{margin-top:0}
.mdfa-hidden{display:none!important}

/* Header */
.mdfa-top{display:grid;grid-template-columns:auto auto 1fr auto auto auto;gap:17px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--mdfa-line)}
.mdfa-mark{width:48px;height:48px;display:grid;place-items:center}
.mdfa-mark svg{width:46px;height:46px;stroke:var(--mdfa-ink);fill:none;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.mdfa-brand{font-size:12px;font-weight:760;letter-spacing:.065em;white-space:nowrap}
.mdfa-brand small{display:block;margin-top:2px;color:var(--mdfa-muted);font-size:9.5px;font-weight:450;letter-spacing:.035em}
.mdfa-nav{display:flex;justify-content:center;gap:23px;font-size:10px}
.mdfa-nav a{color:#554b72;padding:9px 0;border-bottom:2px solid transparent}
.mdfa-nav a.is-active{color:var(--mdfa-violet);border-bottom-color:var(--mdfa-violet)}
.mdfa-head-icon{width:34px;height:34px;display:grid;place-items:center;border:0;background:transparent;cursor:pointer;color:var(--mdfa-ink)}
.mdfa-head-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.mdfa-save-state{display:flex;align-items:center;gap:6px;color:var(--mdfa-muted);font-size:8px;text-transform:uppercase;letter-spacing:.075em;white-space:nowrap}
.mdfa-save-state b{color:var(--mdfa-green);font-size:10px}
.mdfa-save-state[data-mode="saving"] b{color:#9b7a31}.mdfa-save-state[data-mode="error"] b{color:#b14a56}
.mdfa-user{border-left:1px solid var(--mdfa-line);padding-left:14px;display:flex;align-items:center;gap:9px;font-size:10px;white-space:nowrap}
.mdfa-avatar{width:34px;height:34px;border:1px solid var(--mdfa-line);border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:700;letter-spacing:.04em}
.mdfa-cosmic{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin:16px 0 18px;color:#6334bc;font-size:8.5px;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;overflow:auto;padding-bottom:2px}
.mdfa-cosmic::-webkit-scrollbar{display:none}
.mdfa-cosmic svg{width:14px;height:14px;stroke:var(--mdfa-violet);fill:none;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2px}
.mdfa-cosmic .sep{color:var(--mdfa-violet);font-size:10px}
.mdfa-cosmic button{border:1px solid var(--mdfa-line);background:#fff;border-radius:999px;padding:5px 8px;color:#7257a5;font-size:7.5px;text-transform:uppercase;letter-spacing:.07em;cursor:pointer}

/* Hero */
.mdfa-hero{display:grid;grid-template-columns:1.2fr .9fr;gap:36px;align-items:end;padding-top:4px}
.mdfa-eyebrow,.mdfa-section-title{display:flex;align-items:center;gap:10px;color:#5d35b4;font-size:9px;text-transform:uppercase;letter-spacing:.13em;font-weight:750}
.mdfa-eyebrow .dot{width:9px;height:9px;border-radius:50%;background:var(--mdfa-violet)}
.mdfa-hero h1{font-size:47px;line-height:.98;letter-spacing:-.035em;margin:11px 0 13px}
.mdfa-hero-copy{max-width:720px;color:#655b7d;font-family:"Roboto Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:10px;line-height:1.65}
.mdfa-symbol-line{display:flex;flex-wrap:wrap;gap:10px 17px;margin-top:16px;color:#583c96;font-size:8.5px;text-transform:uppercase;letter-spacing:.065em}
.mdfa-symbol-line span{display:inline-flex;align-items:center;gap:6px}
.mdfa-symbol-line svg{width:14px;height:14px;stroke:var(--mdfa-violet);fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.mdfa-symbol-line .plus{color:var(--mdfa-violet);font-weight:700}
.mdfa-hero-tools{border:1px solid var(--mdfa-line);border-radius:7px;padding:16px;display:flex;align-items:center;gap:16px;background:#fff;box-shadow:var(--mdfa-shadow)}
.mdfa-hero-tool{flex:1;display:grid;grid-template-columns:25px 1fr;gap:8px;align-items:center}
.mdfa-hero-tool+.mdfa-hero-tool{border-left:1px solid var(--mdfa-line);padding-left:15px}
.mdfa-hero-tool svg{width:23px;height:23px;stroke:var(--mdfa-violet);fill:none;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.mdfa-hero-tool strong{display:block;font-size:9px;font-weight:700}.mdfa-hero-tool small{display:block;margin-top:2px;color:var(--mdfa-muted);font-size:7px;text-transform:uppercase;letter-spacing:.06em}
.mdfa-btn{border:1px solid var(--mdfa-violet);background:#fff;color:var(--mdfa-violet);padding:10px 13px;border-radius:4px;font-size:8.5px;font-weight:650;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none!important}
.mdfa-btn.primary{background:var(--mdfa-violet);color:#fff}.mdfa-btn.soft{background:var(--mdfa-soft)}
.mdfa-btn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}

/* Status + phases */
.mdfa-status{display:grid;grid-template-columns:240px 1fr 1fr;border:1px solid var(--mdfa-line);border-radius:7px;margin:24px 0 14px;background:#fff}
.mdfa-status-cell{padding:16px 20px;border-right:1px solid var(--mdfa-line);min-width:0}.mdfa-status-cell:last-child{border-right:0}
.mdfa-progress-cell{display:flex;align-items:center;gap:15px}.mdfa-donut{--p:42;width:54px;height:54px;border-radius:50%;background:conic-gradient(var(--mdfa-violet) calc(var(--p)*1%),#eee9f6 0);position:relative;flex:0 0 auto}.mdfa-donut:after{content:"";position:absolute;inset:8px;background:#fff;border-radius:50%}
.mdfa-big{font-family:Inter,ui-sans-serif,sans-serif;font-size:28px;line-height:1;font-weight:620;letter-spacing:-.045em}.mdfa-tiny{font-size:7.5px;color:var(--mdfa-muted);text-transform:uppercase;letter-spacing:.09em;font-weight:700}
.mdfa-focus-row{display:grid;grid-template-columns:30px 1fr;gap:11px;align-items:center}.mdfa-focus-icon{width:30px;height:30px}.mdfa-focus-icon svg{width:30px;height:30px;stroke:var(--mdfa-violet);fill:none;stroke-width:1.15}
.mdfa-focus-title{font-family:"Cormorant Garamond",Georgia,serif;font-size:18px;color:#24105f;line-height:1.05;margin-top:4px}
.mdfa-save-row{display:grid;grid-template-columns:30px 1fr;gap:11px;align-items:center}.mdfa-save-row svg{width:28px;height:28px;stroke:var(--mdfa-violet);fill:none;stroke-width:1.15}.mdfa-saved-copy{font-size:9px;color:#675d82;margin-top:4px}.mdfa-saved-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--mdfa-green);margin-left:6px}
.mdfa-phasebar{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin:14px 9px 26px}.mdfa-phase{font-size:7.5px;color:#6f6490;text-transform:uppercase;letter-spacing:.065em}.mdfa-phase span{float:right}.mdfa-track{height:5px;background:#ece8f4;border-radius:999px;margin-top:7px;overflow:hidden}.mdfa-fill{height:100%;background:var(--mdfa-violet);border-radius:inherit;transition:width .2s}

/* Tabs */
.mdfa-tabs{display:flex;gap:2px;border:1px solid var(--mdfa-line);border-radius:7px;padding:7px;margin-bottom:24px;overflow:auto;background:#fff}.mdfa-tabs::-webkit-scrollbar{display:none}.mdfa-tab{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:9px 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:#665b83;font-size:8.5px;cursor:pointer}.mdfa-tab svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round}.mdfa-tab.is-active{color:var(--mdfa-violet);border-bottom-color:var(--mdfa-violet)}

/* Sections */
.mdfa-panel{display:none}.mdfa-panel.is-active{display:block}.mdfa-section{margin:27px 0}.mdfa-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:13px}.mdfa-section-head small{color:#7c70a0;font-size:7.5px;text-transform:uppercase;letter-spacing:.075em}.mdfa-section-title:before{content:"▶";color:var(--mdfa-violet);font-size:10px}.mdfa-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.mdfa-card{border:1px solid var(--mdfa-line);border-radius:7px;padding:17px;background:#fff;box-shadow:var(--mdfa-shadow)}
.mdfa-card h3{margin:0;color:#5b2bbb;font-size:9px;text-transform:uppercase;letter-spacing:.085em}.mdfa-card p{color:#655b7d;font-size:9.5px;line-height:1.58}
.mdfa-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.mdfa-card-head h3{display:flex;align-items:center;gap:7px}.mdfa-card-head svg{width:17px;height:17px;stroke:var(--mdfa-violet);fill:none;stroke-width:1.15}

/* Learning path */
.mdfa-path{display:grid;grid-template-columns:repeat(9,1fr);gap:8px;overflow:visible}.mdfa-module-tile{position:relative;min-height:94px;padding:9px 8px 10px;border-radius:5px;background:linear-gradient(145deg,#55409e,#745ab5);color:#fff;cursor:pointer;border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.035);transition:transform .12s,border-color .12s}.mdfa-module-tile:hover{transform:translateY(-1px)}.mdfa-module-tile.is-active{border-color:#d6c3ff;box-shadow:0 0 0 2px #f1ebff}.mdfa-module-tile:not(:last-child):after{content:"›";position:absolute;right:-8px;top:39px;color:var(--mdfa-violet);font:400 14px/1 Inter,sans-serif;z-index:2}.mdfa-module-num{font-family:"Roboto Mono",ui-monospace,monospace;font-size:7px;letter-spacing:.075em;opacity:.95}.mdfa-module-icon{height:24px;margin:6px 0 5px;display:flex;align-items:center}.mdfa-module-icon svg{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:.72;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.mdfa-module-title{font-family:"Roboto Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:8.2px;line-height:1.32;font-weight:400;letter-spacing:-.02em}.mdfa-module-tile.is-done:before{content:"✓";position:absolute;right:7px;top:6px;font-size:7px;font-weight:500}

/* Home content */
.mdfa-checklist{list-style:none;padding:0;margin:9px 0 0}.mdfa-checklist li{display:grid;grid-template-columns:18px 1fr 15px;gap:9px;align-items:center;border-top:1px solid var(--mdfa-line2);padding:8px 0;font-size:9px;color:#3f3562}.mdfa-check{width:17px;height:17px;border:1.5px solid var(--mdfa-violet);border-radius:50%;display:grid;place-items:center;cursor:pointer;font-size:8px}.mdfa-check.is-done{background:var(--mdfa-violet);color:#fff}
.mdfa-textarea,.mdfa-select,.mdfa-input{width:100%;border:1px solid #e4ddee;background:#fff;color:var(--mdfa-ink);border-radius:5px;padding:10px 11px;font-size:9.5px;outline:none}.mdfa-textarea{min-height:102px;resize:vertical}.mdfa-textarea:focus,.mdfa-select:focus,.mdfa-input:focus{border-color:#c9afe8;box-shadow:0 0 0 3px #f6f0ff}.mdfa-field{margin-top:10px}.mdfa-field label{display:block;margin-bottom:5px;color:var(--mdfa-muted);font-size:7px;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
.mdfa-current{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:0}.mdfa-current>div{padding:6px 20px;border-right:1px solid var(--mdfa-line)}.mdfa-current>div:first-child{padding-left:0}.mdfa-current>div:last-child{border-right:0}.mdfa-current h2{font-size:25px;line-height:1;margin:4px 0 7px}.mdfa-current p{font-size:9.5px;line-height:1.55;color:#695f83}.mdfa-learn{list-style:none;padding:0;margin:5px 0 0;font-size:8.5px;line-height:1.9}.mdfa-learn li{display:flex;gap:7px;align-items:flex-start}.mdfa-learn li:before{content:"✦";color:var(--mdfa-violet)}
.mdfa-resource-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.mdfa-resource{border:1px solid var(--mdfa-line);border-radius:5px;padding:13px;min-height:84px;font-size:8.5px;background:#fff;cursor:pointer}.mdfa-resource strong{display:flex;align-items:center;gap:7px;color:#3c217c;font-size:9px;margin-bottom:5px}.mdfa-resource svg{width:18px;height:18px;stroke:var(--mdfa-violet);fill:none;stroke-width:1.05}.mdfa-resource span{color:#786e95;line-height:1.45}.mdfa-everyday{display:grid;grid-template-columns:1.65fr 1fr;gap:17px}.mdfa-practice-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.mdfa-practice-mini{border:1px solid var(--mdfa-line);padding:12px;min-height:94px;font-size:8.5px;color:#6a607f}.mdfa-practice-mini strong{display:flex;gap:7px;align-items:flex-start;color:#3b2673;font-size:8.7px;line-height:1.35;margin-bottom:6px}.mdfa-practice-mini svg{width:18px;height:18px;stroke:var(--mdfa-violet);fill:none;stroke-width:1;flex:0 0 auto}.mdfa-field-guide li{border-top:1px solid var(--mdfa-line2);padding:9px 0;font-size:8.5px;display:flex;justify-content:space-between}.mdfa-return{display:grid;grid-template-columns:185px 1fr 145px;gap:17px;align-items:center}.mdfa-return h3{font-size:9px;letter-spacing:.09em;text-transform:uppercase;color:#5c2ab6;margin:0;display:flex;gap:8px;align-items:center}.mdfa-return h3 svg{width:19px;height:19px;stroke:var(--mdfa-violet);fill:none;stroke-width:1.1}.mdfa-return p{font-size:8.5px;color:#786e95;margin:0;line-height:1.55}

/* My Path / pacing */
.mdfa-page-head{margin:4px 0 22px}.mdfa-page-head h1{font-size:41px;line-height:1;margin:10px 0 9px}.mdfa-page-head p{max-width:790px;color:#665b7d;font-size:11px;line-height:1.65}
.mdfa-path-layout{display:grid;grid-template-columns:1.45fr .75fr;gap:14px;align-items:start}.mdfa-control-card{border:1px solid var(--mdfa-line);border-radius:8px;background:#fff;padding:18px;box-shadow:var(--mdfa-shadow)}.mdfa-control-card h3{font-size:11px;color:#30156e;margin:0 0 5px}.mdfa-control-card p{font-size:9px;color:#756b8e;line-height:1.5;margin-bottom:10px}.mdfa-side-stack{display:grid;gap:12px}
.mdfa-pace-options{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:13px 0}.mdfa-pace-option{border:1px solid var(--mdfa-line);border-radius:6px;background:#fff;padding:10px 9px;text-align:left;cursor:pointer;color:#574d6f}.mdfa-pace-option b{display:block;color:#351675;font-size:8.5px;margin-bottom:3px}.mdfa-pace-option span{display:block;font-size:7.5px;line-height:1.35;color:#857b99}.mdfa-pace-option.is-active{border-color:#b891ed;background:#f8f3ff;box-shadow:0 0 0 2px #f0e8ff}
.mdfa-pacing-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mdfa-weekdays{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.mdfa-weekday{width:38px;height:31px;border:1px solid var(--mdfa-line);background:#fff;border-radius:5px;color:#6c6183;font-size:7.5px;cursor:pointer}.mdfa-weekday.is-active{background:var(--mdfa-violet);border-color:var(--mdfa-violet);color:#fff}
.mdfa-pacing-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.mdfa-helper{margin-top:9px;color:#817795;font-size:7.7px;line-height:1.5}
.mdfa-capacity-options{display:grid;gap:6px;margin-top:10px}.mdfa-capacity-btn{border:1px solid var(--mdfa-line);background:#fff;border-radius:6px;text-align:left;padding:9px 10px;cursor:pointer}.mdfa-capacity-btn b{display:block;color:#3b2178;font-size:8px}.mdfa-capacity-btn span{display:block;color:#847a98;font-size:7.5px;margin-top:2px}.mdfa-capacity-btn.is-active{border-color:#c2a5e7;background:#f9f5ff}.mdfa-advice{margin-top:10px;padding:10px;border-radius:6px;background:var(--mdfa-soft);font-size:8px;color:#62567c;line-height:1.5}.mdfa-advice strong{color:#3d217e}
.mdfa-path-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:15px}.mdfa-metric{border:1px solid var(--mdfa-line);border-radius:7px;padding:13px;background:#fff}.mdfa-metric b{display:block;color:#4f24a7;font-size:18px;letter-spacing:-.03em}.mdfa-metric span{display:block;margin-top:3px;color:#83799a;font-size:7px;text-transform:uppercase;letter-spacing:.08em}
.mdfa-planner{border:1px solid var(--mdfa-line);border-radius:8px;background:#fff;overflow:hidden}.mdfa-planner-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--mdfa-line)}.mdfa-planner-head strong{font-size:10px}.mdfa-planner-head span{font-size:7.5px;color:#847a9a}.mdfa-calendar-controls{display:flex;align-items:center;gap:6px}.mdfa-calendar-controls button{width:28px;height:28px;border:1px solid var(--mdfa-line);background:#fff;border-radius:5px;color:#60469a;cursor:pointer}.mdfa-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.mdfa-cal-dow{padding:8px 6px;border-bottom:1px solid var(--mdfa-line);border-right:1px solid var(--mdfa-line2);font-size:7px;text-transform:uppercase;letter-spacing:.08em;color:#83799a;text-align:center}.mdfa-cal-day{min-height:92px;padding:7px;border-right:1px solid var(--mdfa-line2);border-bottom:1px solid var(--mdfa-line2);background:#fff}.mdfa-cal-day.is-other{background:#fcfbfd;color:#aaa}.mdfa-cal-day.is-today{background:#faf6ff}.mdfa-cal-date{font-size:7.5px;color:#756a90}.mdfa-cal-event{margin-top:5px;padding:5px 6px;border-radius:4px;background:#f3ecff;color:#49258b;font-size:6.9px;line-height:1.35;cursor:pointer}.mdfa-cal-event small{display:block;color:#7c6c9b;font-size:6.4px;margin-top:2px}.mdfa-cal-more{margin-top:4px;color:#795db0;font-size:6.5px}
.mdfa-upcoming{display:grid;gap:0;border:1px solid var(--mdfa-line);border-radius:8px;overflow:hidden}.mdfa-upcoming-row{display:grid;grid-template-columns:110px 1fr 135px;gap:15px;padding:12px 15px;border-bottom:1px solid var(--mdfa-line2);align-items:start;background:#fff}.mdfa-upcoming-row:last-child{border-bottom:0}.mdfa-upcoming-row .date{color:#5c2bbb;font-size:7.5px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.mdfa-upcoming-row strong{display:block;font-size:9px;color:#36255f}.mdfa-upcoming-row p{margin:3px 0 0;color:#817794;font-size:7.5px;line-height:1.45}.mdfa-upcoming-row .meta{text-align:right;font-size:7px;color:#83799a}.mdfa-upcoming-row.is-complete{opacity:.52}.mdfa-upcoming-empty{padding:17px;color:#817794;font-size:8px}
.mdfa-integration{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.mdfa-integration .mdfa-field{margin:0}.mdfa-integration textarea{min-height:74px}

/* Modules */
.mdfa-lesson-list{display:grid;grid-template-columns:270px 1fr;gap:17px}.mdfa-lesson-menu button{width:100%;text-align:left;padding:11px 12px;border:1px solid var(--mdfa-line);border-bottom:0;background:#fff;color:#473b65;font-size:8.5px;cursor:pointer}.mdfa-lesson-menu button:last-child{border-bottom:1px solid var(--mdfa-line)}.mdfa-lesson-menu button.is-active{background:var(--mdfa-soft);border-left:3px solid var(--mdfa-violet);color:#3e227c}.mdfa-lesson-content{border:1px solid var(--mdfa-line);padding:22px;min-height:330px;border-radius:7px}.mdfa-lesson-content h2{font-size:29px;line-height:1;margin:6px 0 12px}.mdfa-lesson-content p{font-family:Georgia,serif;color:#51466d;line-height:1.65;font-size:13px}.mdfa-practice-prompt{margin:18px 0;padding:15px;border:1px solid var(--mdfa-line);border-radius:6px;background:#faf8ff}.mdfa-practice-prompt p{font-size:12.5px;margin:7px 0 0}

/* Journal */
.mdfa-tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.mdfa-tool{background:var(--mdfa-soft2);border:1px solid #e6def0;padding:16px;border-radius:7px}.mdfa-tool h3{font-family:"Cormorant Garamond",Georgia,serif;font-size:18px;color:#32146f;margin:0 0 7px}.mdfa-tool p{font-size:8.5px;color:#6c617f;line-height:1.55}.mdfa-tool .mdfa-input,.mdfa-tool .mdfa-select,.mdfa-tool .mdfa-textarea{margin-top:8px}
.mdfa-journal-entries{font-size:8.5px;color:#5f5476}.mdfa-journal-entry{border-top:1px solid var(--mdfa-line2);padding:10px 0}.mdfa-journal-entry strong{color:#3e2776}

/* Practice Toolkit */
.mdfa-practice-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mdfa-practice-card{border:1px solid var(--mdfa-line);border-radius:8px;background:#fff;padding:15px}.mdfa-practice-card h3{font-family:"Cormorant Garamond",Georgia,serif;font-size:18px;color:#31136c;margin:0 0 5px}.mdfa-practice-card p{font-size:8.5px;color:#716783;line-height:1.52;min-height:52px}.mdfa-practice-status{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.mdfa-practice-status button{border:1px solid var(--mdfa-line);background:#fff;border-radius:999px;padding:6px 7px;font-size:6.8px;color:#756a8c;cursor:pointer}.mdfa-practice-status button.is-active{background:#4b287f;color:#fff;border-color:#4b287f}.mdfa-rhythm{margin-top:8px}.mdfa-practice-map{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.mdfa-map-col{border:1px solid var(--mdfa-line);border-radius:7px;padding:12px;background:#fff;min-height:110px}.mdfa-map-col h4{margin:0 0 8px;color:#5a2caf;font-size:7.5px;text-transform:uppercase;letter-spacing:.08em}.mdfa-map-item{padding:6px 0;border-top:1px solid var(--mdfa-line2);font-size:7.5px;color:#5f5477}

/* Library */
.mdfa-library-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mdfa-library-card{border:1px solid var(--mdfa-line);border-radius:8px;padding:16px;background:#fff}.mdfa-library-card svg{width:25px;height:25px;stroke:var(--mdfa-violet);fill:none;stroke-width:1}.mdfa-library-card h3{font-family:"Cormorant Garamond",Georgia,serif;font-size:20px;color:#32136f;margin:9px 0 5px}.mdfa-library-card p{font-size:8.5px;color:#6f6486;line-height:1.5}.mdfa-library-card .mdfa-btn{margin-top:7px}
.mdfa-note{padding:10px 11px;border-radius:6px;background:var(--mdfa-soft);color:#65597d;font-size:8px;line-height:1.5}.mdfa-note strong{color:#3e2378}

@media(max-width:1050px){
  .mdfa-top{grid-template-columns:auto auto 1fr auto auto}.mdfa-save-state{display:none}.mdfa-nav{gap:14px}.mdfa-path{grid-template-columns:repeat(5,1fr)}.mdfa-module-tile:nth-child(5):after{display:none}.mdfa-resource-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:820px){
  .mdfa-root{padding:17px 13px 42px}.mdfa-top{grid-template-columns:auto 1fr auto auto}.mdfa-nav{display:none}.mdfa-brand{white-space:normal}.mdfa-cosmic{justify-content:flex-start}.mdfa-hero,.mdfa-grid-2,.mdfa-everyday,.mdfa-current,.mdfa-return,.mdfa-lesson-list,.mdfa-path-layout{grid-template-columns:1fr}.mdfa-hero h1{font-size:37px}.mdfa-hero-tools{margin-top:3px;flex-wrap:wrap}.mdfa-status{grid-template-columns:1fr}.mdfa-status-cell{border-right:0;border-bottom:1px solid var(--mdfa-line)}.mdfa-status-cell:last-child{border-bottom:0}.mdfa-phasebar{grid-template-columns:1fr 1fr}.mdfa-path{grid-template-columns:repeat(3,1fr)}.mdfa-module-tile:nth-child(3n):after{display:none}.mdfa-resource-grid,.mdfa-practice-grid,.mdfa-tool-grid,.mdfa-practice-cards,.mdfa-library-grid{grid-template-columns:repeat(2,1fr)}.mdfa-path-metrics,.mdfa-practice-map{grid-template-columns:1fr 1fr}.mdfa-calendar-grid{min-width:720px}.mdfa-planner{overflow:auto}.mdfa-planner-head{position:sticky;left:0;background:#fff;z-index:3}.mdfa-upcoming-row{grid-template-columns:90px 1fr}.mdfa-upcoming-row .meta{text-align:left;grid-column:2}.mdfa-integration{grid-template-columns:1fr 1fr}.mdfa-current>div{border-right:0;border-bottom:1px solid var(--mdfa-line);padding:13px 0}.mdfa-current>div:last-child{border-bottom:0}
}
@media(max-width:540px){
  .mdfa-user span:not(.mdfa-avatar){display:none}.mdfa-hero h1{font-size:31px}.mdfa-hero-tool+.mdfa-hero-tool{border-left:0;padding-left:0}.mdfa-hero-tools{display:grid;grid-template-columns:1fr 1fr}.mdfa-hero-tools .mdfa-btn{grid-column:1/-1}.mdfa-phasebar{grid-template-columns:1fr}.mdfa-path{grid-template-columns:repeat(2,1fr)}.mdfa-module-tile:nth-child(3n):after{display:block}.mdfa-module-tile:nth-child(2n):after{display:none}.mdfa-resource-grid,.mdfa-practice-grid,.mdfa-tool-grid,.mdfa-practice-cards,.mdfa-library-grid,.mdfa-practice-map,.mdfa-path-metrics,.mdfa-integration{grid-template-columns:1fr}.mdfa-pace-options{grid-template-columns:1fr 1fr}.mdfa-pacing-fields{grid-template-columns:1fr}.mdfa-page-head h1{font-size:33px}.mdfa-return{padding:13px}.mdfa-calendar-grid{min-width:650px}.mdfa-tabs{margin-left:-2px;margin-right:-2px}
}

/* ===== v1.6 focused polish + first-load hardening ===== */
/* Samson-derived type system: Roboto for interface copy, Roboto Mono for utility/navigation. */
.mdfa-root{
  font-family:"Roboto",Arial,sans-serif;
}
.mdfa-root button,
.mdfa-root input,
.mdfa-root textarea,
.mdfa-root select{
  font-family:"Roboto",Arial,sans-serif;
}

/* Header utility row: COURSE HUB now shares the date / day / Moon line. */
.mdfa-course-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:15px 0 8px;
  min-height:28px;
}
.mdfa-course-hub-label{
  display:inline-flex;
  align-items:center;
  gap:9px;
  flex:0 0 auto;
  color:#5d35b4;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:8px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.105em;
  font-weight:600;
}
.mdfa-course-hub-label .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--mdfa-violet);
  flex:0 0 auto;
}
.mdfa-cosmic{
  flex:1 1 auto;
  justify-content:flex-end;
  margin:0;
  padding:0;
  min-width:0;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.4px;
  line-height:1.2;
  letter-spacing:.055em;
}
.mdfa-cosmic span{
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.mdfa-cosmic b{font-weight:500}
.mdfa-cosmic .sep{
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:8px;
  font-weight:500;
}
.mdfa-cosmic button{
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:6.6px;
  line-height:1;
  padding:5px 7px;
  border-radius:999px;
}

/* Top navigation + portal nav: deliberately tiny and technical. */
.mdfa-nav{
  gap:20px;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:8px;
  line-height:1;
}
.mdfa-nav a{
  padding:9px 0 8px;
  font-weight:400;
  letter-spacing:-.015em;
}
.mdfa-tabs{
  padding:6px;
}
.mdfa-tab{
  gap:6px;
  padding:8px 11px;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.7px;
  line-height:1;
  font-weight:400;
  letter-spacing:-.018em;
}
.mdfa-tab svg{width:15px;height:15px;stroke-width:1}

/* Hero begins immediately after the utility row now that Course Hub moved up. */
.mdfa-hero{padding-top:0}

/* Small Samson-style field typography; strong specificity prevents theme form overrides. */
.mdfa-root .mdfa-textarea,
.mdfa-root .mdfa-select,
.mdfa-root .mdfa-input{
  font-family:"Roboto Mono","Courier New",monospace !important;
  font-size:8px !important;
  line-height:1.48 !important;
  font-weight:400 !important;
  color:#35256c !important;
  padding:9px 10px !important;
}
.mdfa-root .mdfa-textarea::placeholder,
.mdfa-root .mdfa-input::placeholder{
  font-family:"Roboto Mono","Courier New",monospace !important;
  font-size:8px !important;
  color:#8b809e !important;
  opacity:1;
}
.mdfa-root .mdfa-select option{font-size:8px}
.mdfa-root .mdfa-card [data-field="quickNotes"]{
  min-height:94px;
}
.mdfa-root .mdfa-card select[data-field="focus"]{
  min-height:34px;
}

/* Checklist circles: explicitly reset button styling so themes cannot turn them into pills/ovals. */
.mdfa-root button.mdfa-check{
  all:unset;
  box-sizing:border-box !important;
  width:17px !important;
  height:17px !important;
  min-width:17px !important;
  min-height:17px !important;
  display:grid !important;
  place-items:center !important;
  flex:0 0 17px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid var(--mdfa-violet) !important;
  border-radius:50% !important;
  background:#fff !important;
  color:#fff !important;
  font-family:"Roboto Mono","Courier New",monospace !important;
  font-size:7px !important;
  line-height:1 !important;
  text-align:center !important;
  cursor:pointer !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  box-shadow:none !important;
}
.mdfa-root button.mdfa-check.is-done{
  background:var(--mdfa-violet) !important;
  border-color:var(--mdfa-violet) !important;
}
.mdfa-root button.mdfa-check:focus-visible{
  outline:2px solid #c9afe8 !important;
  outline-offset:2px !important;
}
.mdfa-checklist li{
  grid-template-columns:17px minmax(0,1fr) 12px;
  gap:10px;
  min-height:36px;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.7px;
  line-height:1.3;
}
.mdfa-row-arrow{
  color:var(--mdfa-violet);
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:9px;
  text-align:right;
}

/* Learning Path: number upper-right, very fine symbols, compact one-line final title. */
.mdfa-module-tile{
  min-height:94px;
  padding:11px 9px 10px;
}
.mdfa-module-num{
  position:absolute;
  top:8px;
  right:8px;
  margin:0;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:6.6px;
  line-height:1;
  letter-spacing:.04em;
  opacity:.9;
}
.mdfa-module-icon{
  height:27px;
  margin:10px 0 7px;
}
.mdfa-module-icon svg{
  width:18px;
  height:18px;
  stroke-width:.62;
}
.mdfa-module-title{
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.15px;
  line-height:1.28;
  font-weight:400;
  letter-spacing:-.025em;
}
.mdfa-module-tile:last-child .mdfa-module-title{
  white-space:nowrap;
  font-size:7px;
}
.mdfa-module-tile.is-done:before{
  left:8px;
  right:auto;
  top:7px;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:6.5px;
}

/* Current module CTA: small purple button, white text, mono. */
.mdfa-root .mdfa-current .mdfa-continue-btn,
.mdfa-root .mdfa-current .mdfa-btn.primary{
  margin-top:9px;
  padding:7px 10px !important;
  border-radius:4px !important;
  background:var(--mdfa-violet) !important;
  color:#fff !important;
  font-family:"Roboto Mono","Courier New",monospace !important;
  font-size:7px !important;
  line-height:1 !important;
  font-weight:500 !important;
  letter-spacing:-.015em;
  white-space:nowrap;
}
.mdfa-current{min-height:146px}

/* Everyday Mysticism: vertically aligned, centered header, one-line titles, three-line copy space. */
.mdfa-everyday{
  align-items:stretch;
}
.mdfa-everyday-left{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.mdfa-everyday-left .mdfa-section-head{
  flex:0 0 auto;
}
.mdfa-practice-grid{
  flex:1 1 auto;
  align-items:stretch;
}
.mdfa-practice-mini{
  min-height:112px;
  height:100%;
  padding:17px 10px 12px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  font-family:"Roboto",Arial,sans-serif;
  font-size:8px;
  line-height:1.42;
}
.mdfa-practice-mini-head{
  min-height:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:100%;
  margin:2px 0 13px;
  color:#32136f;
  text-align:center;
}
.mdfa-practice-mini-head svg{
  width:15px;
  height:15px;
  flex:0 0 15px;
  stroke:var(--mdfa-violet);
  fill:none;
  stroke-width:.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mdfa-practice-mini-head strong{
  display:block;
  margin:0;
  color:#32136f;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:6.85px;
  line-height:1;
  font-weight:500;
  letter-spacing:-.035em;
  white-space:nowrap;
}
.mdfa-practice-mini p{
  margin:0;
  min-height:calc(3 * 1.42em);
  color:#6a607f;
  font-size:7.7px;
  line-height:1.42;
}
.mdfa-field-guide{
  height:100%;
  min-height:100%;
  display:flex;
  flex-direction:column;
}
.mdfa-field-guide .mdfa-card-head{flex:0 0 auto}
.mdfa-field-guide ul{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

/* Return area: more copy, tighter CTA, same quiet editorial density as Samson. */
.mdfa-return{
  grid-template-columns:175px minmax(0,1fr) 126px;
  gap:20px;
  min-height:94px;
  padding:17px 18px;
}
.mdfa-return p{
  font-family:"Roboto",Arial,sans-serif;
  font-size:8.15px;
  line-height:1.58;
  color:#73698c;
}
.mdfa-root .mdfa-return .mdfa-resume-btn{
  justify-self:end;
  padding:7px 10px !important;
  min-width:0 !important;
  border-radius:4px !important;
  background:var(--mdfa-violet) !important;
  border-color:var(--mdfa-violet) !important;
  color:#fff !important;
  font-family:"Roboto Mono","Courier New",monospace !important;
  font-size:6.8px !important;
  line-height:1 !important;
  font-weight:500 !important;
  letter-spacing:-.02em;
  white-space:nowrap;
}
.mdfa-root .mdfa-return .mdfa-resume-btn svg{width:12px;height:12px}

/* Small consistency polish on headings and utility labels. */
.mdfa-tiny,
.mdfa-section-title,
.mdfa-section-head small,
.mdfa-card h3,
.mdfa-field label{
  font-family:"Roboto Mono","Courier New",monospace;
}

@media(max-width:820px){
  .mdfa-course-meta{align-items:flex-start;flex-direction:column;gap:8px}
  .mdfa-cosmic{justify-content:flex-start;width:100%}
  .mdfa-return{grid-template-columns:1fr;gap:11px}
  .mdfa-root .mdfa-return .mdfa-resume-btn{justify-self:start}
  .mdfa-practice-mini-head strong{white-space:normal;line-height:1.18}
}


/* ===== v1.7 readability + alignment pass ===== */
/* Center both navigation systems. Roboto Mono stays deliberately small and technical. */
.mdfa-nav{
  justify-self:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  gap:18px;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.2px;
  line-height:1;
}
.mdfa-nav a{
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.2px;
  font-weight:400;
  letter-spacing:-.02em;
}
.mdfa-tabs{
  justify-content:center;
}
.mdfa-tab{
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.2px;
  font-weight:400;
  letter-spacing:-.025em;
}

/* Replace the under-used Practice Journal status cell with useful pacing context. */
.mdfa-path-status-row{
  display:grid;
  grid-template-columns:32px minmax(0,1fr);
  gap:12px;
  align-items:center;
  min-height:48px;
}
.mdfa-path-status-row>svg{
  width:30px;
  height:30px;
  stroke:var(--mdfa-violet);
  fill:none;
  stroke-width:1.15;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mdfa-path-status-title{
  margin-top:4px;
  color:#281064;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:9px;
  line-height:1.25;
  font-weight:500;
}
.mdfa-path-status-next{
  margin-top:4px;
  color:#756b8e;
  font-family:"Roboto",Arial,sans-serif;
  font-size:8.2px;
  line-height:1.35;
}

/* Materials: every description is intentionally two lines. */
.mdfa-resource{
  min-height:96px;
  padding:15px 14px;
}
.mdfa-resource strong{
  margin-bottom:7px;
  font-size:9.2px;
}
.mdfa-resource span{
  display:block;
  min-height:2.9em;
  color:#716685;
  font-family:"Roboto",Arial,sans-serif;
  font-size:8.7px;
  line-height:1.45;
}

/* Current Module: more breathing room and readable support copy. */
.mdfa-current{
  grid-template-columns:1.2fr .9fr 1.05fr;
  min-height:178px;
  padding:21px 21px !important;
  align-items:stretch;
}
.mdfa-current>div{
  padding:5px 27px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}
.mdfa-current>div:first-child{padding-left:0}
.mdfa-current>div:last-child{padding-right:0}
.mdfa-current .mdfa-tiny{
  font-size:8px;
  line-height:1.25;
}
.mdfa-current h2{
  font-size:28px;
  line-height:1.02;
  margin:6px 0 9px;
}
.mdfa-current p{
  font-size:10.2px;
  line-height:1.62;
  margin-bottom:0;
}
.mdfa-current .mdfa-track{
  height:6px;
  margin:12px 0 11px !important;
}
.mdfa-current .mdfa-learn{
  margin-top:8px;
  font-size:9.2px;
  line-height:1.72;
}
.mdfa-current .mdfa-learn li{
  gap:8px;
}
.mdfa-root .mdfa-current .mdfa-continue-btn{
  margin-top:18px;
  align-self:flex-start;
}

/* Everyday Mysticism: larger, left-aligned and allowed to fill its cards. */
.mdfa-everyday{
  grid-template-columns:1.9fr 1fr;
  gap:17px;
  align-items:stretch;
}
.mdfa-practice-grid{
  gap:9px;
}
.mdfa-practice-mini{
  min-height:132px;
  padding:18px 14px 15px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  font-family:"Roboto",Arial,sans-serif;
}
.mdfa-practice-mini-head{
  min-height:22px;
  justify-content:flex-start;
  align-items:center;
  gap:7px;
  margin:0 0 17px;
  text-align:left;
}
.mdfa-practice-mini-head svg{
  width:16px;
  height:16px;
  flex:0 0 16px;
}
.mdfa-practice-mini-head strong{
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:8.15px;
  line-height:1.05;
  font-weight:500;
  letter-spacing:-.04em;
  white-space:nowrap;
}
.mdfa-practice-mini p{
  margin:0;
  color:#625777;
  font-family:"Roboto",Arial,sans-serif;
  font-size:9.35px;
  line-height:1.5;
  min-height:4.5em;
}
.mdfa-field-guide{
  min-height:100%;
}
.mdfa-field-guide li{
  font-size:9px;
  line-height:1.45;
}

/* Your Way Back In: this is guidance, not microcopy. Make it comfortably readable. */
.mdfa-return{
  grid-template-columns:175px minmax(0,1fr) 135px;
  gap:22px;
  min-height:112px;
  padding:20px 20px;
}
.mdfa-return h3{
  font-size:10.5px;
  line-height:1.25;
}
.mdfa-return h3 svg{
  width:21px;
  height:21px;
}
.mdfa-return p{
  color:#665b7d;
  font-family:"Roboto",Arial,sans-serif;
  font-size:9.65px;
  line-height:1.65;
}
.mdfa-root .mdfa-return .mdfa-resume-btn{
  padding:8px 11px !important;
  font-size:7.6px !important;
}

@media(max-width:1050px){
  .mdfa-nav{gap:12px;font-size:6.9px}
  .mdfa-nav a{font-size:6.9px}
  .mdfa-everyday{grid-template-columns:1.7fr 1fr}
  .mdfa-practice-mini-head strong{font-size:7.7px}
}
@media(max-width:820px){
  .mdfa-tabs{justify-content:flex-start}
  .mdfa-current{padding:18px !important}
  .mdfa-current>div{padding:15px 0}
  .mdfa-everyday{grid-template-columns:1fr}
  .mdfa-practice-mini-head strong{white-space:normal;font-size:8.2px}
  .mdfa-return{grid-template-columns:1fr;gap:12px}
}

/* ===== v1.8 density + lower-page readability pass ===== */
/* The learning-path tiles stay intentionally compact; everything below them is reading copy, not microcopy. */
.mdfa-checklist li{
  min-height:39px;
  padding:9px 0;
  font-size:9.35px;
  line-height:1.42;
}
.mdfa-card-head h3{font-size:9.5px}
.mdfa-card-head .mdfa-tiny{font-size:7.9px}

/* Current Module: larger reading copy, breathing room, and a deliberate gap after the title. */
.mdfa-current{
  grid-template-columns:1.18fr .88fr 1.04fr;
  min-height:190px;
  padding:25px 25px !important;
}
.mdfa-current>div{
  padding:6px 30px;
}
.mdfa-current .mdfa-tiny{
  font-size:8.3px;
  letter-spacing:.085em;
}
.mdfa-current h2{
  font-size:29px;
  margin:7px 0 0;
}
.mdfa-current .mdfa-current-intro{
  margin:0;
  padding-top:12px;
  max-width:430px;
  font-size:10.9px;
  line-height:1.66;
  color:#5f5579;
}
.mdfa-current .mdfa-current-progress-copy{
  margin:8px 0 0;
  font-size:10.1px;
  line-height:1.72;
  color:#5f5579;
}
.mdfa-current .mdfa-learn{
  margin-top:12px;
  font-size:9.9px;
  line-height:1.72;
}
.mdfa-current .mdfa-learn li{margin-bottom:2px}
.mdfa-root .mdfa-current .mdfa-continue-btn{
  margin-top:20px;
  font-size:7.5px !important;
}

/* Materials & Resources: richer copy + a quiet action line so the cards actually feel useful and complete. */
.mdfa-resource-grid{gap:10px}
.mdfa-resource{
  min-height:126px;
  padding:16px 15px 13px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
}
.mdfa-resource strong{
  margin-bottom:10px;
  font-size:9.8px;
  line-height:1.2;
}
.mdfa-resource strong svg{width:19px;height:19px;flex:0 0 19px}
.mdfa-resource span{
  min-height:3.05em;
  color:#625875;
  font-family:"Roboto",Arial,sans-serif;
  font-size:9.7px;
  line-height:1.52;
}
.mdfa-resource em{
  display:block;
  margin-top:auto;
  padding-top:11px;
  color:#6c3fc6;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.35px;
  line-height:1.2;
  font-style:normal;
  letter-spacing:.015em;
  text-transform:uppercase;
}

/* Everyday Mysticism: readable left-aligned cards with enough real content to fill the space. */
.mdfa-everyday{grid-template-columns:1.92fr 1fr;gap:18px}
.mdfa-practice-grid{gap:10px}
.mdfa-practice-mini{
  min-height:156px;
  padding:18px 15px 14px;
  background:#fff;
}
.mdfa-practice-mini-head{
  min-height:24px;
  margin:0 0 15px;
  gap:8px;
  justify-content:flex-start;
  text-align:left;
}
.mdfa-practice-mini-head svg{
  width:17px;
  height:17px;
  flex:0 0 17px;
  stroke-width:.95;
}
.mdfa-practice-mini-head strong{
  font-size:9.1px;
  line-height:1.2;
  letter-spacing:-.025em;
  white-space:nowrap;
}
.mdfa-practice-mini p{
  margin:0;
  min-height:auto;
  color:#5f5575;
  font-size:10.05px;
  line-height:1.55;
}
.mdfa-practice-mini>small{
  display:block;
  margin-top:auto;
  padding-top:12px;
  color:#7650bb;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.1px;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.015em;
}
.mdfa-field-guide{min-height:156px;padding:18px 18px 14px}
.mdfa-field-guide .mdfa-card-head{margin-bottom:6px}
.mdfa-field-guide li{
  padding:11px 0;
  font-size:9.7px;
  line-height:1.45;
}

/* Your Way Back In: treat it like a real return system, not a thin footer. */
.mdfa-return{
  position:relative;
  grid-template-columns:220px minmax(0,1fr) 145px;
  gap:26px;
  min-height:138px;
  padding:23px 24px;
  overflow:hidden;
  background:linear-gradient(100deg,#faf6ff 0%,#fff 58%,#fdfbff 100%);
  border-color:#ded3ef;
  box-shadow:0 14px 34px rgba(63,37,110,.055);
}
.mdfa-return:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:3px;
  background:var(--mdfa-violet);
  opacity:.8;
}
.mdfa-return-brand{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
}
.mdfa-return-icon{
  width:42px;
  height:42px;
  border:1px solid #d8c9ee;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  flex:0 0 42px;
}
.mdfa-return-icon svg{
  width:21px;
  height:21px;
  stroke:var(--mdfa-violet);
  fill:none;
  stroke-width:1.1;
}
.mdfa-return-brand small{
  display:block;
  margin-bottom:3px;
  color:#8669b8;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.2px;
  line-height:1.1;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.mdfa-return .mdfa-return-brand h3{
  display:block;
  margin:0;
  color:#24105f;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:22px;
  line-height:1;
  font-weight:500;
  letter-spacing:-.02em;
  text-transform:none;
}
.mdfa-return-body p{
  margin:0;
  color:#5e5474;
  font-family:"Roboto",Arial,sans-serif;
  font-size:10.3px;
  line-height:1.62;
}
.mdfa-return-options{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:11px;
}
.mdfa-return-options span{
  border:1px solid #e1d8ee;
  border-radius:999px;
  padding:5px 8px;
  background:#fff;
  color:#6c4aa5;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7px;
  line-height:1;
  white-space:nowrap;
}
.mdfa-root .mdfa-return .mdfa-resume-btn{
  justify-self:end;
  align-self:center;
  padding:9px 11px !important;
  font-size:7.5px !important;
}

@media(max-width:1050px){
  .mdfa-current{padding:22px !important}
  .mdfa-current>div{padding:7px 20px}
  .mdfa-practice-mini-head strong{font-size:8.5px}
  .mdfa-practice-mini p{font-size:9.6px}
  .mdfa-return{grid-template-columns:190px minmax(0,1fr) 132px;gap:18px}
  .mdfa-return-options span{font-size:6.6px}
}
@media(max-width:820px){
  .mdfa-current{min-height:0}
  .mdfa-current .mdfa-current-intro{padding-top:8px}
  .mdfa-resource-grid{grid-template-columns:repeat(2,1fr)}
  .mdfa-practice-mini{min-height:138px}
  .mdfa-return{grid-template-columns:1fr;gap:14px}
  .mdfa-root .mdfa-return .mdfa-resume-btn{justify-self:start}
}

/* v1.8 final readability tune after live-scale QA. */
.mdfa-checklist li{font-size:9.75px}
.mdfa-current .mdfa-current-intro{font-size:11.35px;line-height:1.68}
.mdfa-current .mdfa-current-progress-copy{font-size:10.55px;line-height:1.75}
.mdfa-current .mdfa-learn{font-size:10.35px;line-height:1.74}
.mdfa-resource strong{font-size:10.05px}
.mdfa-resource span{font-size:10.05px;line-height:1.5}
.mdfa-practice-mini-head strong{font-size:9.35px}
.mdfa-practice-mini p{font-size:10.35px;line-height:1.55}
.mdfa-field-guide li{font-size:10px}
.mdfa-return-body p{font-size:10.65px;line-height:1.62}


/* ===== v1.9 Samson nav + My Path + return-system refinement ===== */
/* Top header navigation: still technical, but now legible at the live site scale. */
.mdfa-nav{
  gap:24px;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:9.6px;
  line-height:1;
}
.mdfa-nav a{
  padding:10px 0 9px;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:9.6px;
  font-weight:500;
  letter-spacing:.015em;
}

/* More breathing room after the main statement. */
.mdfa-hero h1{margin-bottom:18px}
.mdfa-hero-copy{margin-top:0}

/* Purple actions: one consistent Academy button language. */
.mdfa-root .mdfa-btn.primary{
  min-height:34px;
  padding:9px 13px !important;
  border-radius:5px;
  font-family:"Roboto Mono","Courier New",monospace !important;
  font-size:8.8px !important;
  line-height:1 !important;
  letter-spacing:.045em !important;
  font-weight:600 !important;
  text-transform:none !important;
}
.mdfa-root .mdfa-btn.primary svg{width:13px;height:13px}

/* Home portal navigation borrows Samson's clean white navigation strip. */
.mdfa-course-nav{
  display:flex;
  justify-content:center;
  gap:0 !important;
  margin:18px 0 0;
  padding:0 12px !important;
  border:0 !important;
  border-top:1px solid #eee8f4 !important;
  border-bottom:1px solid #ddd0ef !important;
  border-radius:0 !important;
  background:rgba(255,255,255,.98) !important;
  box-shadow:none !important;
  overflow-x:auto;
}
.mdfa-course-nav .mdfa-tab{
  position:relative;
  flex:0 0 auto;
  padding:12px 13px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#6d28c9 !important;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:9.3px !important;
  line-height:1;
  letter-spacing:.025em;
  font-weight:600;
  box-shadow:none !important;
}
.mdfa-course-nav .mdfa-tab:not(:last-child):after{
  content:"";
  position:absolute;
  top:10px;bottom:10px;right:0;
  width:1px;background:#eee8f4;
}
.mdfa-course-nav .mdfa-tab:hover,
.mdfa-course-nav .mdfa-tab.is-active{background:#f7f1ff !important;color:#5d15b8 !important}
.mdfa-course-nav .mdfa-tab svg{width:13px;height:13px;stroke-width:1}

/* Current module: clearer reading rhythm and more useful detail. */
.mdfa-current{grid-template-columns:1.12fr .86fr 1.22fr}
.mdfa-current .mdfa-current-intro{font-size:11.35px;line-height:1.72;max-width:470px;padding-top:14px}
.mdfa-current .mdfa-current-progress-copy{
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:9.65px;
  line-height:1.92;
  color:#51486a;
}
.mdfa-progress-symbol{display:inline-block;min-width:13px;color:var(--mdfa-violet);font-weight:700}
.mdfa-current .mdfa-learn{font-size:9.75px;line-height:1.62;margin-top:11px}
.mdfa-current .mdfa-learn li{margin-bottom:4px}
.mdfa-current .mdfa-learn li::marker{color:var(--mdfa-violet)}
.mdfa-root .mdfa-current .mdfa-continue-btn{margin-top:21px;font-size:8.4px !important}

/* Everyday Mysticism: copy fills the card while the action stays neatly aligned right. */
.mdfa-practice-mini{min-height:164px}
.mdfa-practice-mini p{font-size:9.75px;line-height:1.5;min-height:4.5em}
.mdfa-practice-mini>small{
  width:100%;
  padding-top:10px;
  text-align:right;
  font-size:7.4px;
  letter-spacing:.025em;
}
.mdfa-field-guide li{
  min-height:38px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:10px;
  line-height:1.35;
}

/* Samson-inspired Return module. */
.mdfa-return-system{
  margin-top:20px;
  border:1px solid #d9c3fb;
  border-radius:15px;
  background:linear-gradient(100deg,#f5edff 0%,#faf6ff 100%);
  padding:18px 20px 15px;
  box-shadow:0 12px 28px rgba(81,31,139,.045);
}
.mdfa-return-system-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:15px}
.mdfa-return-heading{display:flex;align-items:center;gap:12px}
.mdfa-return-system-icon{width:35px;height:35px;display:grid;place-items:center;border:1px solid #ccb0ef;border-radius:9px;background:#fff}
.mdfa-return-system-icon svg{width:18px;height:18px;stroke:var(--mdfa-violet);fill:none;stroke-width:1.1}
.mdfa-return-heading small{display:block;margin-bottom:3px;color:#7b57b3;font-family:"Roboto Mono","Courier New",monospace;font-size:7.2px;letter-spacing:.095em;text-transform:uppercase}
.mdfa-return-heading h3{margin:0;color:#43118d;font-family:"Roboto Mono","Courier New",monospace;font-size:12px;line-height:1.2;font-weight:600;letter-spacing:.02em}
.mdfa-return-system-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #d9c3fb;border-bottom:1px solid #d9c3fb}
.mdfa-return-action{
  position:relative;
  min-height:87px;
  padding:14px 14px 12px;
  border:0;
  border-right:1px solid #d9c3fb;
  background:transparent;
  color:#4e287f;
  text-align:left;
  cursor:pointer;
}
.mdfa-return-action:last-child{border-right:0}
.mdfa-return-action>span{display:block;margin-bottom:6px;color:#7512e6;font-size:12px;line-height:1}
.mdfa-return-action strong{display:block;margin-bottom:4px;color:#5f16ba;font-family:"Roboto Mono","Courier New",monospace;font-size:8.5px;line-height:1.25;font-weight:600}
.mdfa-return-action small{display:block;color:#79618f;font-family:"Roboto",Arial,sans-serif;font-size:8.35px;line-height:1.45}
.mdfa-return-action:hover{background:rgba(255,255,255,.55)}
.mdfa-return-system-note{margin:11px 0 0;color:#735993;font-family:"Roboto",Arial,sans-serif;font-size:8.55px;line-height:1.55}
.mdfa-return-system .mdfa-resume-btn{flex:0 0 auto}

/* My Path: editorial overview first, compact controls second. */
.mdfa-path-page-head{margin-bottom:18px}
.mdfa-path-page-head h1{font-size:38px;line-height:1.02;margin-bottom:10px}
.mdfa-path-page-head p{max-width:930px;font-size:10.4px;line-height:1.65}
.mdfa-subnav{justify-content:center;margin-bottom:18px}
.mdfa-path-summary{
  display:grid;
  grid-template-columns:.9fr .75fr 1.45fr;
  border:1px solid var(--mdfa-line);
  border-radius:9px;
  background:#fff;
  overflow:hidden;
  margin-bottom:16px;
}
.mdfa-path-summary>div{padding:15px 17px;border-right:1px solid var(--mdfa-line)}
.mdfa-path-summary>div:last-child{border-right:0}
.mdfa-path-summary small{display:block;margin-bottom:5px;color:#806a9e;font-family:"Roboto Mono","Courier New",monospace;font-size:7.3px;letter-spacing:.085em;text-transform:uppercase}
.mdfa-path-summary strong{display:block;color:#35116f;font-family:"Roboto",Arial,sans-serif;font-size:11.1px;line-height:1.35;font-weight:500}
.mdfa-path-layout-v2{grid-template-columns:1.5fr .72fr;gap:15px}
.mdfa-control-card{padding:19px;border-radius:9px;box-shadow:0 10px 25px rgba(64,35,102,.035)}
.mdfa-control-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:11px;border-bottom:1px solid var(--mdfa-line2)}
.mdfa-control-card-head small{display:block;margin-bottom:4px;color:#8a6aae;font-family:"Roboto Mono","Courier New",monospace;font-size:6.9px;letter-spacing:.085em;text-transform:uppercase}
.mdfa-control-card-head h3{margin:0;font-family:"Roboto Mono","Courier New",monospace;font-size:10.8px;color:#34116f}
.mdfa-control-card-head>span{color:#8b7b9c;font-family:"Roboto Mono","Courier New",monospace;font-size:7px;line-height:1.3;text-align:right}
.mdfa-control-intro{margin:10px 0 0 !important;font-size:9.35px !important;line-height:1.55 !important}
.mdfa-pace-options{gap:8px;margin:14px 0 16px}
.mdfa-pace-option{min-height:74px;padding:11px 10px;border-radius:7px}
.mdfa-pace-option b{font-size:9px;margin-bottom:5px}
.mdfa-pace-option span{font-size:7.9px;line-height:1.42}
.mdfa-pacing-fields{gap:10px}
.mdfa-study-days-field{margin-top:12px}
.mdfa-weekday{min-width:38px;height:30px;font-size:8.3px}
.mdfa-pacing-actions{margin-top:14px;display:flex;gap:8px;flex-wrap:wrap}
.mdfa-pacing-actions .mdfa-btn:not(.primary){min-height:34px;padding:9px 13px;font-family:"Roboto Mono","Courier New",monospace;font-size:8.5px;letter-spacing:.035em;border-radius:5px}
.mdfa-helper{margin-top:11px;padding-top:10px;border-top:1px solid var(--mdfa-line2);font-size:7.7px;line-height:1.5}
.mdfa-path-side-stack{gap:12px}
.mdfa-capacity-options{gap:7px}
.mdfa-capacity-btn{padding:11px;border-radius:7px}
.mdfa-capacity-btn b{font-size:8.7px}.mdfa-capacity-btn span{font-size:7.9px;line-height:1.4;margin-top:3px}
.mdfa-advice{font-size:8.3px;line-height:1.55}
.mdfa-im-back-card{background:linear-gradient(145deg,#faf6ff,#fff)}
.mdfa-path-metrics{margin-top:15px}
.mdfa-metric{padding:14px 16px}.mdfa-metric b{font-size:18px}.mdfa-metric span{font-size:7.4px}
.mdfa-planner-head{padding:15px 16px}.mdfa-planner-head strong{font-size:11px}.mdfa-planner-head span{font-size:7.8px}
.mdfa-cal-day{min-height:100px}.mdfa-cal-date{font-size:8px}.mdfa-cal-event{font-size:7.2px;padding:6px}.mdfa-cal-event small{font-size:6.7px}

/* Footer inspired by Samson's quiet project stamp, with real legal links. */
.mdfa-footer{
  margin-top:48px;
  padding:22px 8px 8px;
  border-top:1px solid #e8e1ef;
  color:#746985;
  text-align:center;
}
.mdfa-footer-brand{
  padding:0 0 16px;
  border-bottom:1px solid #eee8f4;
  color:#32116f;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:8.2px;
  line-height:1.2;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:600;
}
.mdfa-footer-brand span{color:#7512e6;margin:0 7px}
.mdfa-footer-links{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;padding:13px 0 8px}
.mdfa-footer-links a{color:#6d4e93 !important;font-family:"Roboto Mono","Courier New",monospace;font-size:7.5px;letter-spacing:.05em;text-transform:uppercase;text-decoration:none !important}
.mdfa-footer-links a:hover{text-decoration:underline !important;color:#7512e6 !important}
.mdfa-footer-meta{color:#988ba6;font-family:"Roboto Mono","Courier New",monospace;font-size:6.9px;letter-spacing:.04em;text-transform:uppercase}

@media(max-width:1050px){
  .mdfa-nav{gap:18px}.mdfa-nav a{font-size:8.8px}
  .mdfa-course-nav .mdfa-tab{font-size:8.4px !important;padding:11px 10px !important}
  .mdfa-return-system-grid{grid-template-columns:repeat(2,1fr)}
  .mdfa-return-action:nth-child(2){border-right:0}.mdfa-return-action:nth-child(-n+2){border-bottom:1px solid #d9c3fb}
  .mdfa-path-layout-v2{grid-template-columns:1.25fr .75fr}
}
@media(max-width:820px){
  .mdfa-path-summary,.mdfa-path-layout-v2{grid-template-columns:1fr}
  .mdfa-path-summary>div{border-right:0;border-bottom:1px solid var(--mdfa-line)}.mdfa-path-summary>div:last-child{border-bottom:0}
  .mdfa-return-system-head{align-items:flex-start;flex-direction:column}.mdfa-return-system-grid{grid-template-columns:1fr}.mdfa-return-action{border-right:0;border-bottom:1px solid #d9c3fb}.mdfa-return-action:last-child{border-bottom:0}
  .mdfa-course-nav{justify-content:flex-start}
}

/* ===== v1.10 responsive hardening: modular layout at every container width ===== */
/* The Academy can sit inside Elementor/WordPress containers of different widths.
   Use the portal's own width—not only the browser viewport—to decide when modules reflow. */
.mdfa-root{
  box-sizing:border-box;
  width:min(100%,1240px);
  max-width:1240px;
  min-width:0;
  container-type:inline-size;
  container-name:mdfa-portal;
  overflow-x:clip;
}

/* Grid/flex children must be allowed to shrink instead of forcing a column outside its card. */
.mdfa-top>* ,
.mdfa-hero>* ,
.mdfa-status>* ,
.mdfa-grid-2>* ,
.mdfa-path>* ,
.mdfa-current>* ,
.mdfa-resource-grid>* ,
.mdfa-everyday>* ,
.mdfa-practice-grid>* ,
.mdfa-path-summary>* ,
.mdfa-path-layout-v2>* ,
.mdfa-return-system>* ,
.mdfa-return-system-grid>* ,
.mdfa-footer>*{
  min-width:0;
  max-width:100%;
}

/* Return module: preserve one contained Samson-style block; no fourth-column escape. */
.mdfa-return-system{
  width:100%;
  max-width:100%;
  overflow:hidden;
  isolation:isolate;
}
.mdfa-return-system-head{
  min-width:0;
  max-width:100%;
  flex-wrap:wrap;
}
.mdfa-return-heading{min-width:0;max-width:100%}
.mdfa-return-system-grid{
  width:100%;
  max-width:100%;
  grid-template-columns:repeat(4,minmax(0,1fr));
  overflow:hidden;
}
.mdfa-return-action{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin:0 !important;
  box-sizing:border-box !important;
  white-space:normal !important;
  overflow:hidden;
  overflow-wrap:break-word;
  word-break:normal;
  border-radius:0 !important;
}
.mdfa-return-action>span,
.mdfa-return-action strong,
.mdfa-return-action small{
  width:auto;
  min-width:0;
  max-width:100%;
  white-space:normal !important;
  overflow-wrap:break-word;
}
.mdfa-return-system-note{
  width:100%;
  max-width:100%;
  overflow-wrap:break-word;
}
.mdfa-return-system .mdfa-resume-btn{
  min-width:0;
  max-width:100%;
  white-space:nowrap;
}

/* Footer remains a centered, contained project stamp at every zoom level. */
.mdfa-footer{width:100%;max-width:100%;overflow:hidden}
.mdfa-footer-brand,.mdfa-footer-meta{max-width:100%;overflow-wrap:anywhere}
.mdfa-footer-links{max-width:100%;gap:clamp(9px,1.7vw,18px)}
.mdfa-footer-links a{white-space:nowrap}

/* Container queries make the plugin responsive even when Elementor narrows the content
   without the browser itself crossing a viewport breakpoint. */
@container mdfa-portal (max-width: 1050px){
  .mdfa-top{grid-template-columns:auto auto minmax(0,1fr) auto auto}
  .mdfa-save-state{display:none}
  .mdfa-nav{gap:14px}
  .mdfa-path{grid-template-columns:repeat(5,minmax(0,1fr))}
  .mdfa-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mdfa-return-system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mdfa-return-action{border-right:1px solid #d9c3fb !important;border-bottom:0 !important}
  .mdfa-return-action:nth-child(2n){border-right:0 !important}
  .mdfa-return-action:nth-child(-n+2){border-bottom:1px solid #d9c3fb !important}
  .mdfa-path-layout-v2{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)}
}

@container mdfa-portal (max-width: 820px){
  .mdfa-top{grid-template-columns:auto minmax(0,1fr) auto auto}
  .mdfa-nav{display:none}
  .mdfa-brand{white-space:normal}
  .mdfa-cosmic{justify-content:flex-start}
  .mdfa-hero,.mdfa-grid-2,.mdfa-everyday,.mdfa-current,.mdfa-lesson-list,.mdfa-path-layout{grid-template-columns:1fr}
  .mdfa-status{grid-template-columns:1fr}
  .mdfa-status-cell{border-right:0;border-bottom:1px solid var(--mdfa-line)}
  .mdfa-status-cell:last-child{border-bottom:0}
  .mdfa-phasebar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mdfa-path{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mdfa-resource-grid,.mdfa-practice-grid,.mdfa-tool-grid,.mdfa-practice-cards,.mdfa-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mdfa-path-metrics,.mdfa-practice-map{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mdfa-integration{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mdfa-current>div{border-right:0;border-bottom:1px solid var(--mdfa-line);padding:13px 0}
  .mdfa-current>div:last-child{border-bottom:0}
  .mdfa-path-summary,.mdfa-path-layout-v2{grid-template-columns:1fr}
  .mdfa-path-summary>div{border-right:0;border-bottom:1px solid var(--mdfa-line)}
  .mdfa-path-summary>div:last-child{border-bottom:0}
  .mdfa-return-system-head{align-items:flex-start;flex-direction:column;gap:12px}
  .mdfa-return-system-grid{grid-template-columns:1fr}
  .mdfa-return-action{border-right:0 !important;border-bottom:1px solid #d9c3fb !important}
  .mdfa-return-action:last-child{border-bottom:0 !important}
  .mdfa-return-system .mdfa-resume-btn{align-self:flex-start}
}

@container mdfa-portal (max-width: 540px){
  .mdfa-user span:not(.mdfa-avatar){display:none}
  .mdfa-phasebar{grid-template-columns:1fr}
  .mdfa-path{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mdfa-resource-grid,.mdfa-practice-grid,.mdfa-tool-grid,.mdfa-practice-cards,.mdfa-library-grid,.mdfa-practice-map,.mdfa-path-metrics,.mdfa-integration{grid-template-columns:1fr}
  .mdfa-pace-options{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mdfa-pacing-fields{grid-template-columns:1fr}
  .mdfa-return-system{padding:15px 14px 13px;border-radius:12px}
  .mdfa-return-system-head{padding-bottom:12px}
  .mdfa-return-action{min-height:0;padding:13px 10px 12px}
  .mdfa-return-system-note{font-size:9px;line-height:1.6}
  .mdfa-footer-links{gap:10px 14px}
}

/* ===== v1.11 mobile content-height repair + consistent section navigation ===== */
/* Inner pages now use the exact same Academy section navigation as Start. */
.mdfa-panel-nav{
  margin:18px 0 24px;
}

/* Theme/Elementor-safe card sizing. The Academy cards should be content-sized,
   not inherit equal-height or 100%-height behavior from a parent/theme. */
.mdfa-resource-grid,
.mdfa-practice-grid,
.mdfa-return-system-grid{
  grid-auto-rows:auto;
}
.mdfa-resource,
.mdfa-practice-mini,
.mdfa-field-guide,
.mdfa-return-system,
.mdfa-return-system-head,
.mdfa-return-system-grid,
.mdfa-return-action{
  box-sizing:border-box;
}

@media(max-width:820px){
  .mdfa-course-nav,
  .mdfa-panel-nav{
    justify-content:flex-start !important;
    width:100%;
    max-width:100%;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
  }

  /* Materials + Everyday: each stacked card hugs its content on phones/tablets. */
  .mdfa-resource-grid,
  .mdfa-practice-grid{
    align-items:start !important;
    align-content:start !important;
    grid-auto-rows:max-content !important;
  }
  .mdfa-resource,
  .mdfa-practice-mini,
  .mdfa-field-guide{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    align-self:start !important;
  }
  .mdfa-resource span,
  .mdfa-practice-mini p{
    min-height:0 !important;
    height:auto !important;
  }
  .mdfa-resource em,
  .mdfa-practice-mini>small{
    margin-top:12px !important;
    padding-top:0 !important;
  }
  .mdfa-field-guide ul{
    flex:0 0 auto !important;
    height:auto !important;
    min-height:0 !important;
    justify-content:flex-start !important;
  }

  /* Return module: explicit auto-height reset protects against mobile Safari/theme
     button rules creating hundreds of pixels of empty vertical space. */
  .mdfa-return-system{
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
  }
  .mdfa-return-system-head{
    display:flex !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }
  .mdfa-return-system-grid{
    display:grid !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    grid-template-columns:1fr !important;
    grid-auto-rows:max-content !important;
    align-items:start !important;
    align-content:start !important;
  }
  .mdfa-return-action{
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    padding:14px 12px 13px !important;
    align-self:start !important;
  }
  .mdfa-return-action>span,
  .mdfa-return-action strong,
  .mdfa-return-action small{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }
  .mdfa-return-system-note{
    height:auto !important;
    min-height:0 !important;
  }
}

@media(max-width:540px){
  .mdfa-resource-grid,
  .mdfa-practice-grid{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }
  .mdfa-resource{
    padding:17px 16px 15px !important;
  }
  .mdfa-resource strong{
    margin-bottom:9px !important;
  }
  .mdfa-resource em{
    margin-top:14px !important;
  }
  .mdfa-practice-mini{
    padding:17px 15px 15px !important;
  }
  .mdfa-practice-mini-head{
    margin-bottom:11px !important;
  }
  .mdfa-field-guide{
    padding:16px 15px 12px !important;
  }
  .mdfa-return-system{
    padding:15px 14px 13px !important;
  }
  .mdfa-return-system-head{
    padding-bottom:12px !important;
    gap:10px !important;
  }
  .mdfa-return-system-grid{
    margin:0 !important;
  }
  .mdfa-return-action{
    padding:13px 10px 12px !important;
  }
  .mdfa-return-system-note{
    margin-top:11px !important;
  }
}

/* Container-query equivalents for narrow Elementor columns even on wide browsers. */
@container mdfa-portal (max-width:820px){
  .mdfa-resource-grid,
  .mdfa-practice-grid{align-items:start !important;align-content:start !important;grid-auto-rows:max-content !important}
  .mdfa-resource,
  .mdfa-practice-mini,
  .mdfa-field-guide{height:auto !important;min-height:0 !important;max-height:none !important;align-self:start !important}
  .mdfa-resource span,
  .mdfa-practice-mini p{min-height:0 !important;height:auto !important}
  .mdfa-return-system,
  .mdfa-return-system-head,
  .mdfa-return-system-grid,
  .mdfa-return-action{height:auto !important;min-height:0 !important;max-height:none !important}
  .mdfa-return-system-grid{grid-auto-rows:max-content !important;align-items:start !important;align-content:start !important}
}

@container mdfa-portal (max-width:540px){
  .mdfa-resource-grid,
  .mdfa-practice-grid{grid-template-columns:1fr !important}
}

/* ===== v1.12 My Path responsive rebuild ===== */
/* Keep type readable; let the modules reflow instead of scaling the entire page down. */
.mdfa-path-page{min-width:0}
.mdfa-path-page .mdfa-panel-nav{margin-top:18px;margin-bottom:28px}
.mdfa-path-page .mdfa-path-page-head{max-width:980px;margin-bottom:20px}
.mdfa-path-page .mdfa-path-page-head h1{font-size:clamp(36px,4.2cqi,48px);line-height:1.02}
.mdfa-path-page .mdfa-path-page-head p{max-width:880px;font-size:11px;line-height:1.65}

.mdfa-path-page .mdfa-path-summary{grid-template-columns:minmax(0,.9fr) minmax(0,.9fr) minmax(0,1.5fr)}
.mdfa-path-page .mdfa-path-summary>div{min-width:0;padding:16px 18px}
.mdfa-path-page .mdfa-path-summary small{font-size:7.6px}
.mdfa-path-page .mdfa-path-summary strong{font-size:11.4px;overflow-wrap:anywhere}

/* Planner owns the row on medium layouts; side cards move as modules instead of squeezing it. */
.mdfa-path-page .mdfa-path-layout-v2{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,.72fr);gap:16px;align-items:start}
.mdfa-path-page .mdfa-pacing-card{min-width:0;overflow:hidden}
.mdfa-path-page .mdfa-pace-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0 17px}
.mdfa-path-page .mdfa-pace-option{min-width:0;min-height:78px;padding:12px 12px}
.mdfa-path-page .mdfa-pace-option b{font-size:9.4px;line-height:1.25}
.mdfa-path-page .mdfa-pace-option span{font-size:8.35px;line-height:1.5}
.mdfa-path-page .mdfa-pacing-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.mdfa-path-page .mdfa-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;width:100%}
.mdfa-path-page .mdfa-weekday{width:100%;min-width:0;height:32px;font-family:"Roboto Mono","Courier New",monospace;font-size:8.2px}
.mdfa-path-page .mdfa-pacing-actions .mdfa-btn{min-height:36px;padding:9px 13px !important;font-size:8.6px !important}
.mdfa-path-page .mdfa-control-card{min-width:0}
.mdfa-path-page .mdfa-control-card h3{font-size:11px}
.mdfa-path-page .mdfa-control-intro{font-size:9.7px !important}
.mdfa-path-page .mdfa-path-side-stack{min-width:0}
.mdfa-path-page .mdfa-capacity-btn{padding:12px}
.mdfa-path-page .mdfa-capacity-btn b{font-size:9.1px}
.mdfa-path-page .mdfa-capacity-btn span{font-size:8.2px}
.mdfa-path-page .mdfa-advice{font-size:8.8px;line-height:1.6}

.mdfa-path-page .mdfa-path-metrics{gap:10px;margin-top:18px}
.mdfa-path-page .mdfa-metric{padding:15px 16px;min-height:74px}
.mdfa-path-page .mdfa-metric b{font-size:20px}
.mdfa-path-page .mdfa-metric span{font-size:7.7px;line-height:1.35}

/* Desktop calendar remains a real calendar. */
.mdfa-path-page .mdfa-planner{overflow:hidden}
.mdfa-path-page .mdfa-calendar-grid{width:100%;min-width:0;grid-template-columns:repeat(7,minmax(0,1fr))}
.mdfa-path-page .mdfa-cal-day{min-width:0;min-height:102px;padding:8px}
.mdfa-path-page .mdfa-cal-dow{font-size:7.5px}
.mdfa-path-page .mdfa-cal-date{font-size:8.2px}
.mdfa-path-page .mdfa-cal-event{font-size:7.55px;line-height:1.35;padding:6px 7px;overflow-wrap:anywhere}
.mdfa-path-page .mdfa-cal-event small{font-size:6.9px}
.mdfa-calendar-mobile{display:none}

/* Coming Up is a card deck, not 8 long microscopic table rows. */
.mdfa-path-page .mdfa-upcoming{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;border-radius:0;overflow:visible;background:transparent}
.mdfa-upcoming-card{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:13px;align-items:center;min-width:0;padding:14px 14px;border:1px solid var(--mdfa-line);border-radius:8px;background:#fff;box-shadow:var(--mdfa-shadow)}
.mdfa-upcoming-date{padding-right:11px;border-right:1px solid var(--mdfa-line2);font-family:"Roboto Mono","Courier New",monospace;text-transform:uppercase;color:#7246b2}
.mdfa-upcoming-date span{display:block;font-size:7px;letter-spacing:.09em}
.mdfa-upcoming-date b{display:block;margin-top:3px;color:#3d176f;font-size:9px;line-height:1.2}
.mdfa-upcoming-copy{min-width:0}
.mdfa-upcoming-copy strong{display:block;color:#342061;font-size:10px;line-height:1.35}
.mdfa-upcoming-copy p{margin:4px 0 0;color:#817794;font-size:8px;line-height:1.4}
.mdfa-upcoming-action{display:grid;justify-items:end;gap:7px;color:#83799a;font-family:"Roboto Mono","Courier New",monospace;font-size:7.2px;white-space:nowrap}
.mdfa-upcoming-action .mdfa-btn{padding:7px 9px !important;font-size:7.4px !important;min-width:62px}
.mdfa-upcoming-empty{grid-column:1/-1;padding:18px;border:1px solid var(--mdfa-line);border-radius:8px;background:#fff;font-size:9px}

/* Integration has room to write; no more four tiny boxes across. */
.mdfa-path-page .mdfa-integration{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mdfa-path-page .mdfa-integration textarea{min-height:92px !important;font-size:9px !important;line-height:1.55 !important}
.mdfa-path-page .mdfa-integration .mdfa-field label{font-size:7.8px}

/* Preserve Learning Path tile proportions; if nine no longer fit, make a swipe rail instead of shrinking them. */
.mdfa-path-page [data-path="path"]{grid-template-columns:repeat(9,minmax(105px,1fr));gap:8px}
.mdfa-path-page [data-path="path"] .mdfa-module-title{font-size:7.35px}

/* Medium Academy container: planner becomes full-width, the two side cards share a second row. */
@container mdfa-portal (max-width:1000px){
  .mdfa-path-page .mdfa-path-layout-v2{grid-template-columns:1fr}
  .mdfa-path-page .mdfa-path-side-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .mdfa-path-page .mdfa-upcoming{grid-template-columns:1fr}
  .mdfa-path-page [data-path="path"]{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(132px,1fr);overflow-x:auto;overflow-y:hidden;padding-bottom:7px;scroll-snap-type:x proximity;scrollbar-width:thin}
  .mdfa-path-page [data-path="path"] .mdfa-module-tile{scroll-snap-align:start;min-height:104px}
  .mdfa-path-page [data-path="path"] .mdfa-module-tile:after{display:none!important}
}

@container mdfa-portal (max-width:760px){
  .mdfa-path-page .mdfa-path-summary{grid-template-columns:1fr 1fr}
  .mdfa-path-page .mdfa-path-summary>div{border-bottom:1px solid var(--mdfa-line)}
  .mdfa-path-page .mdfa-path-summary>div:nth-child(2){border-right:0}
  .mdfa-path-page .mdfa-path-summary>div:last-child{grid-column:1/-1;border-bottom:0}
  .mdfa-path-page .mdfa-pacing-fields{grid-template-columns:1fr}
  .mdfa-path-page .mdfa-path-side-stack{grid-template-columns:1fr 1fr}
  .mdfa-path-page .mdfa-path-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mdfa-path-page .mdfa-calendar-grid{display:none}
  .mdfa-calendar-mobile{display:grid}
  .mdfa-mobile-cal-row{all:unset;box-sizing:border-box;display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;padding:13px 14px;border-bottom:1px solid var(--mdfa-line2);background:#fff;cursor:pointer}
  .mdfa-mobile-cal-row:last-child{border-bottom:0}
  .mdfa-mobile-cal-row.is-complete{opacity:.58}
  .mdfa-mobile-cal-date{padding-right:10px;border-right:1px solid var(--mdfa-line2);color:#7651a9;font-family:"Roboto Mono","Courier New",monospace;font-size:8px;line-height:1.4;text-transform:uppercase}
  .mdfa-mobile-cal-date b{display:block;color:#3b176f;font-size:8.6px}
  .mdfa-mobile-cal-copy{min-width:0}
  .mdfa-mobile-cal-copy strong{display:block;color:#341a68;font-size:9.6px;line-height:1.35}
  .mdfa-mobile-cal-copy small{display:block;margin-top:3px;color:#83799a;font-size:8px;line-height:1.4}
  .mdfa-mobile-cal-time{display:flex;align-items:center;gap:7px;color:#7651a9;font-family:"Roboto Mono","Courier New",monospace;font-size:7.5px;white-space:nowrap}
  .mdfa-mobile-cal-time i{font-style:normal;color:var(--mdfa-violet);font-size:11px}
  .mdfa-mobile-cal-empty{padding:17px;color:#817794;font-size:9px;line-height:1.55}
  .mdfa-path-page .mdfa-integration{grid-template-columns:1fr}
}

@container mdfa-portal (max-width:560px){
  .mdfa-path-page .mdfa-panel-nav{margin-bottom:22px}
  .mdfa-path-page .mdfa-path-page-head h1{font-size:34px}
  .mdfa-path-page .mdfa-path-page-head p{font-size:10px}
  .mdfa-path-page .mdfa-path-summary{grid-template-columns:1fr}
  .mdfa-path-page .mdfa-path-summary>div,.mdfa-path-page .mdfa-path-summary>div:nth-child(2){grid-column:auto;border-right:0;border-bottom:1px solid var(--mdfa-line)}
  .mdfa-path-page .mdfa-path-summary>div:last-child{grid-column:auto;border-bottom:0}
  .mdfa-path-page .mdfa-pace-options{grid-template-columns:1fr}
  .mdfa-path-page .mdfa-pace-option{min-height:0}
  .mdfa-path-page .mdfa-weekdays{grid-template-columns:repeat(4,minmax(0,1fr))}
  .mdfa-path-page .mdfa-path-side-stack{grid-template-columns:1fr}
  .mdfa-path-page .mdfa-path-metrics{grid-template-columns:1fr 1fr}
  .mdfa-path-page .mdfa-planner-head{align-items:flex-start;flex-direction:column}
  .mdfa-path-page .mdfa-calendar-controls{width:100%;justify-content:flex-start}
  .mdfa-mobile-cal-row{grid-template-columns:64px minmax(0,1fr);gap:10px}
  .mdfa-mobile-cal-time{grid-column:2;justify-self:start;margin-top:-4px}
  .mdfa-upcoming-card{grid-template-columns:64px minmax(0,1fr);gap:10px}
  .mdfa-upcoming-action{grid-column:2;grid-auto-flow:column;justify-content:start;justify-items:start;align-items:center}
  .mdfa-path-page [data-path="path"]{grid-auto-columns:148px}
}

/* Viewport fallbacks for browsers that do not support container queries. */
@media(max-width:1000px){
  .mdfa-path-page .mdfa-path-layout-v2{grid-template-columns:1fr}
  .mdfa-path-page .mdfa-path-side-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .mdfa-path-page .mdfa-upcoming{grid-template-columns:1fr}
}
@media(max-width:760px){
  .mdfa-path-page .mdfa-calendar-grid{display:none!important}.mdfa-calendar-mobile{display:grid!important}
  .mdfa-path-page .mdfa-integration{grid-template-columns:1fr}
}
@media(max-width:560px){
  .mdfa-path-page .mdfa-pace-options,.mdfa-path-page .mdfa-path-side-stack{grid-template-columns:1fr}
}


/* ===== v1.13 progress rhythm + Field Guide-inspired interior pages ===== */
.mdfa-current-progress-list{
  display:grid;
  gap:9px;
  margin-top:2px;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:9.85px;
  line-height:1.5;
  color:#51486a;
}
.mdfa-progress-line{
  display:grid;
  grid-template-columns:15px minmax(0,1fr);
  align-items:start;
  gap:5px;
}
.mdfa-progress-line strong{
  color:#33136f;
  font-weight:700;
}
.mdfa-progress-next{
  margin-top:3px;
  padding-top:9px;
  border-top:1px solid #eee8f6;
}
.mdfa-progress-next strong{color:var(--mdfa-violet)}

/* Shared outlined guide language: same visual family as the Field Guide card. */
.mdfa-guide-board{
  margin-top:17px;
  border:1px solid var(--mdfa-line);
  border-radius:11px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(69,31,122,.025);
}
.mdfa-guide-board-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:68px;
  padding:14px 17px;
  border-bottom:1px solid var(--mdfa-line);
  background:linear-gradient(180deg,#fff 0%,#fdfbff 100%);
}
.mdfa-guide-board-title{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}
.mdfa-guide-icon{
  width:34px;height:34px;
  flex:0 0 34px;
  display:grid;place-items:center;
  border:1px solid #d8c9ed;
  border-radius:9px;
  color:var(--mdfa-violet);
  background:#fff;
  font-size:16px;
  line-height:1;
}
.mdfa-guide-board-title small,
.mdfa-guide-kicker{
  font-family:"Roboto Mono","Courier New",monospace;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#8269a5;
  font-size:7.4px;
}
.mdfa-guide-board-title small{display:block;margin-bottom:4px}
.mdfa-guide-board-title strong{
  display:block;
  color:#3d187e;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:10.4px;
  line-height:1.25;
  letter-spacing:.015em;
}
.mdfa-guide-kicker{white-space:nowrap}

/* Practice Toolkit: structured rows instead of plain floating cards. */
.mdfa-toolkit-guide .mdfa-practice-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
}
.mdfa-toolkit-guide .mdfa-practice-card{
  min-width:0;
  border:0;
  border-radius:0;
  background:#fff;
  padding:0;
  display:grid;
  grid-template-rows:auto auto;
}
.mdfa-toolkit-guide .mdfa-practice-card:nth-child(odd){border-right:1px solid var(--mdfa-line)}
.mdfa-toolkit-guide .mdfa-practice-card:nth-child(n+3){border-top:1px solid var(--mdfa-line)}
.mdfa-practice-card-main{
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:10px;
  padding:17px 17px 13px;
}
.mdfa-practice-number{
  padding-top:3px;
  color:#7b4ac7;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:8px;
  font-weight:600;
  letter-spacing:.08em;
}
.mdfa-toolkit-guide .mdfa-practice-card h3{
  margin:0 0 6px;
  color:#351273;
  font-size:19px;
  line-height:1.1;
}
.mdfa-toolkit-guide .mdfa-practice-card p{
  min-height:0;
  margin:0;
  color:#706680;
  font-size:9.2px;
  line-height:1.55;
}
.mdfa-practice-card-controls{
  display:grid;
  grid-template-columns:minmax(0,1fr) 128px;
  align-items:end;
  gap:12px;
  padding:12px 17px 15px 57px;
  border-top:1px solid #f0ebf6;
  background:#fdfbff;
}
.mdfa-toolkit-guide .mdfa-practice-status{
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.mdfa-toolkit-guide .mdfa-practice-status button{
  padding:6px 8px;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:6.8px;
  line-height:1;
  letter-spacing:.015em;
}
.mdfa-toolkit-guide .mdfa-rhythm{margin:0}
.mdfa-toolkit-guide .mdfa-rhythm label{
  display:block;
  margin-bottom:5px;
  color:#8a769f;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:6.7px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.mdfa-toolkit-guide .mdfa-rhythm .mdfa-select{
  margin:0;
  min-height:33px;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.4px;
}

/* Everyday Mysticism: one designed guide system with divided rows. */
.mdfa-everyday-guide-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.mdfa-everyday-guide-row{
  min-width:0;
  display:grid;
  grid-template-columns:30px minmax(0,1fr) 18px;
  gap:10px;
  align-items:center;
  padding:18px 17px;
  background:#fff;
}
.mdfa-everyday-guide-row:nth-child(odd){border-right:1px solid var(--mdfa-line)}
.mdfa-everyday-guide-row:nth-child(n+3){border-top:1px solid var(--mdfa-line)}
.mdfa-row-symbol{
  color:#7a4bc2;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:8px;
  font-weight:600;
  letter-spacing:.08em;
}
.mdfa-everyday-guide-row h3{
  margin:0 0 5px;
  color:#351273;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:18px;
  line-height:1.05;
}
.mdfa-everyday-guide-row p{
  margin:0;
  color:#706680;
  font-size:9px;
  line-height:1.55;
}
.mdfa-row-arrow{
  justify-self:end;
  color:#5f18c4;
  font-size:14px;
  line-height:1;
}

/* The old return note was intentionally removed in v1.13. */
.mdfa-return-system-note{display:none !important}

@container mdfa-portal (max-width:760px){
  .mdfa-toolkit-guide .mdfa-practice-cards,
  .mdfa-everyday-guide-grid{grid-template-columns:1fr}
  .mdfa-toolkit-guide .mdfa-practice-card:nth-child(odd),
  .mdfa-everyday-guide-row:nth-child(odd){border-right:0}
  .mdfa-toolkit-guide .mdfa-practice-card:nth-child(n+2),
  .mdfa-everyday-guide-row:nth-child(n+2){border-top:1px solid var(--mdfa-line)}
  .mdfa-practice-card-controls{grid-template-columns:1fr;padding-left:57px}
}
@container mdfa-portal (max-width:520px){
  .mdfa-guide-board-head{align-items:flex-start;padding:13px 14px}
  .mdfa-guide-kicker{display:none}
  .mdfa-practice-card-main{padding:15px 14px 12px;grid-template-columns:26px minmax(0,1fr)}
  .mdfa-practice-card-controls{padding:11px 14px 14px 50px}
  .mdfa-everyday-guide-row{padding:16px 14px;grid-template-columns:26px minmax(0,1fr) 16px}
  .mdfa-toolkit-guide .mdfa-practice-card h3,
  .mdfa-everyday-guide-row h3{font-size:17px}
  .mdfa-toolkit-guide .mdfa-practice-card p,
  .mdfa-everyday-guide-row p{font-size:9.4px;line-height:1.55}
  .mdfa-current-progress-list{font-size:9.6px;gap:8px}
}

@media(max-width:760px){
  .mdfa-toolkit-guide .mdfa-practice-cards,
  .mdfa-everyday-guide-grid{grid-template-columns:1fr}
  .mdfa-toolkit-guide .mdfa-practice-card:nth-child(odd),
  .mdfa-everyday-guide-row:nth-child(odd){border-right:0}
  .mdfa-toolkit-guide .mdfa-practice-card:nth-child(n+2),
  .mdfa-everyday-guide-row:nth-child(n+2){border-top:1px solid var(--mdfa-line)}
  .mdfa-practice-card-controls{grid-template-columns:1fr;padding-left:57px}
}

/* ===== v1.14 My Path controls + Learning Path spacing ===== */
/* Wide My Path: both columns share one visual bottom edge instead of leaving the planner short. */
.mdfa-path-page .mdfa-path-layout-v2{
  align-items:stretch;
}
.mdfa-path-page .mdfa-pacing-card{
  height:100%;
  display:flex;
  flex-direction:column;
}
.mdfa-path-page .mdfa-pacing-card .mdfa-helper{
  margin-top:auto;
  padding-top:12px;
}
.mdfa-path-page .mdfa-path-side-stack{
  align-self:stretch;
  height:100%;
  align-content:start;
}

/* I’m Back now visibly returns a next place and a real lesson action. */
.mdfa-wayback-result{
  display:grid;
  gap:7px;
}
.mdfa-wayback-kicker{
  color:#7a58ab;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.2px;
  line-height:1.2;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.mdfa-wayback-result strong{
  color:#391477;
  font-size:10px;
  line-height:1.35;
}
.mdfa-wayback-result p{
  margin:0 !important;
  color:#766b8b !important;
  font-size:8.4px !important;
  line-height:1.55 !important;
}
.mdfa-wayback-open{
  justify-self:start;
  margin-top:2px;
}

/* Calendar navigation: Today is a real text button, arrows own their own square controls. */
.mdfa-path-page .mdfa-calendar-controls{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:nowrap;
  overflow:visible;
}
.mdfa-path-page .mdfa-calendar-controls button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:32px;
  margin:0;
  padding:0;
  border:1px solid var(--mdfa-line);
  border-radius:6px;
  background:#fff;
  color:#5f35aa;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:8.5px;
  line-height:1;
  white-space:nowrap;
  overflow:visible;
  box-shadow:none;
}
.mdfa-path-page .mdfa-calendar-controls [data-cal-prev],
.mdfa-path-page .mdfa-calendar-controls [data-cal-next]{
  flex:0 0 34px;
  width:34px;
  min-width:34px;
  padding:0;
  font-size:15px;
}
.mdfa-path-page .mdfa-calendar-controls [data-cal-today]{
  flex:0 0 auto;
  width:auto;
  min-width:72px;
  padding:0 14px;
  font-size:8px;
  letter-spacing:.035em;
}

/* Learning Path: taller editorial cards + a dedicated arrow gutter. */
.mdfa-path{
  gap:16px;
}
.mdfa-module-tile{
  min-height:118px;
  padding:13px 11px 12px;
  display:flex;
  flex-direction:column;
  overflow:visible;
}
.mdfa-module-num{
  top:10px;
  right:10px;
  font-size:6.9px;
}
.mdfa-module-icon{
  height:31px;
  margin:13px 0 9px;
}
.mdfa-module-icon svg{
  width:20px;
  height:20px;
}
.mdfa-module-title,
.mdfa-module-tile:last-child .mdfa-module-title{
  margin-top:auto;
  min-height:2.6em;
  display:flex;
  align-items:flex-end;
  white-space:normal;
  font-size:7.55px;
  line-height:1.32;
  overflow-wrap:normal;
  word-break:normal;
}
.mdfa-module-tile:not(:last-child):after{
  right:-14px;
  top:50%;
  width:12px;
  transform:translateY(-50%);
  text-align:center;
  color:#7443c4;
  font:400 15px/1 "Roboto Mono","Courier New",monospace;
  z-index:4;
}

/* The dedicated My Path journey can carry the larger cards without shrinking them. */
.mdfa-path-page [data-path="path"]{
  grid-template-columns:repeat(9,minmax(112px,1fr));
  gap:16px;
}
.mdfa-path-page [data-path="path"] .mdfa-module-tile{
  min-height:122px;
}
.mdfa-path-page [data-path="path"] .mdfa-module-title{
  font-size:7.55px;
}

/* Correct row-end arrows for the home grid as columns collapse. */
@media(max-width:1050px){
  .mdfa-root .mdfa-path{gap:15px}
  .mdfa-root .mdfa-path .mdfa-module-tile:nth-child(5n):after{display:none}
}
@media(max-width:820px){
  .mdfa-root .mdfa-path .mdfa-module-tile:nth-child(5n):after{display:block}
  .mdfa-root .mdfa-path .mdfa-module-tile:nth-child(3n):after{display:none}
}
@media(max-width:540px){
  .mdfa-root .mdfa-path{gap:14px}
  .mdfa-root .mdfa-path .mdfa-module-tile:nth-child(3n):after{display:block}
  .mdfa-root .mdfa-path .mdfa-module-tile:nth-child(2n):after{display:none}
  .mdfa-module-tile{min-height:112px}
}

/* Once My Path becomes a swipe rail, keep the cards large and let the rail carry width. */
@container mdfa-portal (max-width:1120px){
  .mdfa-path-page [data-path="path"]{
    display:grid;
    grid-auto-flow:column;
    grid-template-columns:none;
    grid-auto-columns:minmax(150px,170px);
    gap:18px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:2px 3px 10px;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
  }
  .mdfa-path-page [data-path="path"] .mdfa-module-tile{
    min-height:122px;
    scroll-snap-align:start;
  }
  .mdfa-path-page [data-path="path"] .mdfa-module-tile:not(:last-child):after{
    display:block !important;
    right:-15px;
  }
}
@container mdfa-portal (max-width:760px){
  .mdfa-path-page .mdfa-path-layout-v2{align-items:start}
  .mdfa-path-page .mdfa-pacing-card{height:auto}
  .mdfa-path-page .mdfa-path-side-stack{height:auto}
  .mdfa-path-page .mdfa-calendar-controls{width:auto;justify-content:flex-start}
}
@container mdfa-portal (max-width:560px){
  .mdfa-path-page [data-path="path"]{grid-auto-columns:152px}
}

/* Viewport fallbacks for browsers without container queries. */
@media(max-width:1120px){
  .mdfa-path-page [data-path="path"]{
    gap:18px;
  }
}
@media(max-width:760px){
  .mdfa-path-page .mdfa-calendar-controls{width:auto;justify-content:flex-start}
}

/* ===== v1.15 Complete Module Reader ===== */
/* Five student-ready modules are live in this build. Unfinished modules remain visible in the journey without exposing draft teaching. */
.mdfa-module-tile.is-unavailable{
  cursor:default;
  background:linear-gradient(145deg,#f7f3ff,#efe8fa);
  color:#6f5e8f;
  border-color:#e3daf0;
  box-shadow:none;
}
.mdfa-module-tile.is-unavailable:hover{transform:none}
.mdfa-module-tile.is-unavailable .mdfa-module-icon svg{stroke:#8c6fba}
.mdfa-module-tile.is-unavailable .mdfa-module-num{color:#8068a6;opacity:1}
.mdfa-module-badge{
  margin-top:5px;
  color:#7657a5;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:6px;
  line-height:1.2;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.mdfa-phase.is-pending{color:#9a8bab}
.mdfa-phase.is-pending .mdfa-track{background:#f2eef6}
.mdfa-phase.is-pending span{color:#8e7aa9;font-family:"Roboto Mono",ui-monospace,monospace}

/* Module selector: same modular behavior at wide and narrow widths. */
.mdfa-module-switch{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin:0 0 18px;
  padding:8px;
  border:1px solid var(--mdfa-line);
  border-radius:9px;
  background:#fff;
  box-shadow:var(--mdfa-shadow);
}
.mdfa-module-switch-btn{
  min-width:0;
  min-height:58px;
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:9px;
  align-items:center;
  padding:9px 10px;
  border:1px solid transparent;
  border-radius:6px;
  background:#fff;
  color:#51416f;
  text-align:left;
  cursor:pointer;
}
.mdfa-module-switch-btn:hover{background:#fbf9ff;border-color:#eee8f6}
.mdfa-module-switch-btn.is-active{background:#f3edff;border-color:#d8c8f2;color:#401583}
.mdfa-module-switch-btn>span{
  width:28px;height:28px;border:1px solid #ded5ec;border-radius:50%;display:grid;place-items:center;
  color:#7444bd;font-family:"Roboto Mono",ui-monospace,monospace;font-size:8px;letter-spacing:.04em;
}
.mdfa-module-switch-btn.is-active>span{background:#7512e6;color:#fff;border-color:#7512e6}
.mdfa-module-switch-btn strong{font-family:"Roboto Mono",ui-monospace,monospace;font-size:8.7px;line-height:1.35;font-weight:500;letter-spacing:.01em}

/* Complete module reader shell. */
.mdfa-module-reader{
  display:grid;
  grid-template-columns:minmax(245px,292px) minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.mdfa-module-reader .mdfa-lesson-menu{
  position:sticky;
  top:18px;
  display:grid;
  gap:10px;
  min-width:0;
}
.mdfa-reader-module{
  padding:18px 17px 16px;
  border:1px solid var(--mdfa-line);
  border-radius:8px;
  background:linear-gradient(150deg,#faf8ff,#fff);
}
.mdfa-reader-module-num{
  margin-bottom:7px;
  color:#7d5aae;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:7.5px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.mdfa-reader-module h2{
  margin:0;
  font-size:27px;
  line-height:.98;
  letter-spacing:-.025em;
}
.mdfa-reader-module p{
  margin:9px 0 0;
  color:#75698d;
  font-size:9.7px;
  line-height:1.55;
}
.mdfa-part-nav{
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid var(--mdfa-line);
  border-radius:8px;
  overflow:hidden;
  background:#fff;
}
.mdfa-part-nav button{
  min-width:0;
  display:flex;
  align-items:center;
  gap:7px;
  padding:10px 11px;
  border:0;
  border-right:1px solid var(--mdfa-line2);
  border-bottom:1px solid var(--mdfa-line2);
  background:#fff;
  color:#655b7c;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:7.8px;
  line-height:1.25;
  text-transform:uppercase;
  letter-spacing:.035em;
  cursor:pointer;
  text-align:left;
}
.mdfa-part-nav button:nth-child(2n){border-right:0}
.mdfa-part-nav button:nth-last-child(-n+2){border-bottom:0}
.mdfa-part-nav button span{color:#7b32d5;font-size:10px}
.mdfa-part-nav button.is-active{background:#f4eeff;color:#431381;font-weight:600}
.mdfa-item-nav{
  border:1px solid var(--mdfa-line);
  border-radius:8px;
  overflow:hidden;
  background:#fff;
}
.mdfa-item-nav>.mdfa-tiny{padding:10px 12px;border-bottom:1px solid var(--mdfa-line2);background:#fbfaff}
.mdfa-item-nav button{
  width:100%;
  display:block;
  padding:10px 12px;
  border:0;
  border-bottom:1px solid var(--mdfa-line2);
  background:#fff;
  color:#5d5275;
  font-size:9px;
  line-height:1.42;
  text-align:left;
  cursor:pointer;
}
.mdfa-item-nav button:last-child{border-bottom:0}
.mdfa-item-nav button:hover{background:#fbf9ff}
.mdfa-item-nav button.is-active{background:#f5f0ff;color:#41147d;box-shadow:inset 3px 0 0 #7512e6;font-weight:600}
.mdfa-item-nav button b{color:#35a883}
.mdfa-reader-resources{
  display:grid;
  gap:0;
  border:1px solid var(--mdfa-line);
  border-radius:8px;
  background:#fff;
  overflow:hidden;
}
.mdfa-reader-resources>.mdfa-tiny{padding:10px 12px;border-bottom:1px solid var(--mdfa-line2);background:#fbfaff}
.mdfa-reader-resources a{
  display:grid;
  grid-template-columns:18px 1fr;
  gap:8px;
  align-items:start;
  padding:10px 12px;
  border-bottom:1px solid var(--mdfa-line2);
  color:#51446c;
}
.mdfa-reader-resources a:last-child{border-bottom:0}
.mdfa-reader-resources a>span{color:#7512e6;font-size:12px;line-height:1}
.mdfa-reader-resources strong{display:block;font-size:8.8px;line-height:1.35}
.mdfa-reader-resources small{display:block;margin-top:3px;color:#8b7da0;font-size:7px;line-height:1.4}
.mdfa-reader-resources a.is-advanced{background:#fcfaff}

/* Article surface - editorial like the printed collateral, but readable on screen. */
.mdfa-module-reader .mdfa-lesson-content,
.mdfa-reader-content{
  min-width:0;
  min-height:0;
  padding:0;
  border:1px solid var(--mdfa-line);
  border-radius:9px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 16px 44px rgba(64,35,106,.045);
}
.mdfa-article-head{
  padding:28px 32px 25px;
  border-bottom:1px solid var(--mdfa-line);
  background:linear-gradient(180deg,#fdfcff 0,#fff 100%);
}
.mdfa-article-eyebrow{
  margin-bottom:10px;
  color:#7337c1;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:8px;
  line-height:1.2;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.mdfa-article-head h2,
.mdfa-module-reader .mdfa-lesson-content h2{
  max-width:820px;
  margin:0;
  color:#24105f;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:39px;
  line-height:.99;
  letter-spacing:-.032em;
  font-weight:500;
}
.mdfa-article-deck{
  max-width:760px;
  margin:13px 0 0!important;
  color:#5f4e7d!important;
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-size:19px!important;
  line-height:1.25!important;
}
.mdfa-learning-loop{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  margin-top:22px;
  border:1px solid var(--mdfa-line);
  border-radius:6px;
  overflow:hidden;
  background:#fff;
}
.mdfa-learning-loop span{
  padding:8px 7px;
  border-right:1px solid var(--mdfa-line2);
  color:#75668d;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:6.8px;
  line-height:1.2;
  letter-spacing:.03em;
  text-align:center;
  text-transform:uppercase;
  white-space:nowrap;
}
.mdfa-learning-loop span:last-child{border-right:0}
.mdfa-article-body{
  max-width:860px;
  margin:0 auto;
  padding:31px 38px 38px;
}
.mdfa-source-block{
  position:relative;
  margin:0 0 24px;
  padding:0 0 22px;
  border-bottom:1px solid var(--mdfa-line2);
}
.mdfa-source-block:last-child{margin-bottom:0;border-bottom:0;padding-bottom:0}
.mdfa-source-block h3{
  margin:0 0 11px;
  color:#31116f;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:24px;
  line-height:1.04;
  font-weight:600;
  letter-spacing:-.015em;
  text-transform:none;
}
.mdfa-source-block p,
.mdfa-module-reader .mdfa-lesson-content .mdfa-source-block p{
  margin:0 0 11px;
  color:#4f4664;
  font-family:Roboto,Inter,Arial,sans-serif;
  font-size:13.6px;
  line-height:1.76;
}
.mdfa-source-block p:last-child{margin-bottom:0}
.mdfa-source-block.is-practice,
.mdfa-reader-content.is-practices .mdfa-source-block{
  margin-left:-8px;
  margin-right:-8px;
  padding:20px 21px;
  border:1px solid #e2d7f3;
  border-radius:8px;
  background:#faf7ff;
}
.mdfa-source-block.is-practice h3{color:#6520bd}
.mdfa-source-block.is-return,
.mdfa-reader-content.is-return .mdfa-source-block{
  margin-left:-8px;
  margin-right:-8px;
  padding:20px 21px;
  border:1px solid #d7c7ee;
  border-radius:8px;
  background:linear-gradient(145deg,#f2ebff,#fbf9ff);
}
.mdfa-source-block.is-source,
.mdfa-reader-content.is-sources .mdfa-source-block{
  padding:16px 18px;
  border:1px solid #e7e1ed;
  border-radius:7px;
  background:#fcfbfd;
}
.mdfa-reader-content.is-sources .mdfa-source-block p{font-size:11.2px;line-height:1.65}
.mdfa-reader-content.is-workbook .mdfa-source-block{
  padding:19px 20px;
  border:1px solid #e8e1ef;
  border-radius:8px;
  background:#fff;
}
.mdfa-reader-content.is-workbook .mdfa-source-block h3{font-size:21px}
.mdfa-source-quote{
  margin:15px 0!important;
  padding:14px 18px;
  border-left:2px solid #7b2bda;
  background:#fbf8ff;
  color:#3f286e!important;
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-size:18px!important;
  line-height:1.35!important;
}
.mdfa-source-checkline,.mdfa-source-bullet{padding-left:2px;color:#513e72!important}
.mdfa-answer-line{
  display:inline-block;
  min-width:170px;
  height:1em;
  border-bottom:1px solid #cfc4dc;
  vertical-align:-1px;
}

/* Reference tables from the source manuscript keep their content, but gain the same clean ink-light system as the printables. */
.mdfa-source-table-wrap{
  width:100%;
  margin:17px 0 7px;
  overflow-x:auto;
  border:1px solid var(--mdfa-line);
  border-radius:7px;
  background:#fff;
}
.mdfa-source-table{width:100%;min-width:560px;border-collapse:collapse;table-layout:auto}
.mdfa-source-table th,
.mdfa-source-table td{
  padding:10px 11px;
  border-right:1px solid var(--mdfa-line2);
  border-bottom:1px solid var(--mdfa-line2);
  color:#554b69;
  font-size:10.2px;
  line-height:1.5;
  text-align:left;
  vertical-align:top;
}
.mdfa-source-table th{
  background:#f7f3ff;
  color:#472379;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:7.5px;
  line-height:1.35;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:600;
}
.mdfa-source-table tr:last-child td{border-bottom:0}
.mdfa-source-table th:last-child,.mdfa-source-table td:last-child{border-right:0}

.mdfa-reader-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:18px 24px;
  border-top:1px solid var(--mdfa-line);
  background:#fbfaff;
}
.mdfa-reader-actions,.mdfa-reader-pager{display:flex;gap:8px;flex-wrap:wrap}
.mdfa-reader-footer .mdfa-btn{
  min-height:34px;
  padding:9px 13px;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:8px;
  letter-spacing:.035em;
  text-transform:none;
}

/* Responsive: preserve readable type; change the module layout instead of miniaturizing it. */
@container mdfa-portal (max-width:980px){
  .mdfa-module-switch{display:flex;overflow-x:auto;scrollbar-width:thin}
  .mdfa-module-switch-btn{flex:0 0 185px}
  .mdfa-module-reader{grid-template-columns:225px minmax(0,1fr);gap:13px}
  .mdfa-article-head{padding:25px 27px 22px}
  .mdfa-article-head h2,.mdfa-module-reader .mdfa-lesson-content h2{font-size:35px}
  .mdfa-article-body{padding:27px 29px 34px}
  .mdfa-source-block p,.mdfa-module-reader .mdfa-lesson-content .mdfa-source-block p{font-size:13px}
  .mdfa-learning-loop{grid-template-columns:repeat(3,1fr)}
  .mdfa-learning-loop span:nth-child(3){border-right:0}
  .mdfa-learning-loop span:nth-child(-n+3){border-bottom:1px solid var(--mdfa-line2)}
}
@container mdfa-portal (max-width:760px){
  .mdfa-module-reader{grid-template-columns:1fr}
  .mdfa-module-reader .mdfa-lesson-menu{position:static;display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .mdfa-reader-module{grid-column:1/-1}
  .mdfa-part-nav{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}
  .mdfa-part-nav button{border-right:1px solid var(--mdfa-line2);border-bottom:1px solid var(--mdfa-line2)}
  .mdfa-part-nav button:nth-child(2n){border-right:1px solid var(--mdfa-line2)}
  .mdfa-part-nav button:nth-child(4n){border-right:0}
  .mdfa-item-nav{grid-column:1/-1;display:flex;overflow-x:auto;scrollbar-width:thin}
  .mdfa-item-nav>.mdfa-tiny{display:none}
  .mdfa-item-nav button{flex:0 0 205px;border-right:1px solid var(--mdfa-line2);border-bottom:0;box-shadow:none!important}
  .mdfa-item-nav button.is-active{box-shadow:inset 0 -3px 0 #7512e6!important}
  .mdfa-reader-resources{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,1fr)}
  .mdfa-reader-resources>.mdfa-tiny{grid-column:1/-1}
  .mdfa-reader-resources a{border-right:1px solid var(--mdfa-line2)}
  .mdfa-reader-resources a:nth-child(odd){border-right:0}
  .mdfa-article-head{padding:24px 21px 21px}
  .mdfa-article-head h2,.mdfa-module-reader .mdfa-lesson-content h2{font-size:34px}
  .mdfa-article-deck{font-size:18px!important}
  .mdfa-article-body{padding:25px 22px 31px}
  .mdfa-source-block h3{font-size:23px}
  .mdfa-source-block p,.mdfa-module-reader .mdfa-lesson-content .mdfa-source-block p{font-size:13.2px;line-height:1.72}
}
@container mdfa-portal (max-width:520px){
  .mdfa-module-switch{margin-left:-2px;margin-right:-2px;padding:6px}
  .mdfa-module-switch-btn{flex-basis:170px;min-height:54px}
  .mdfa-module-reader .mdfa-lesson-menu{grid-template-columns:1fr}
  .mdfa-part-nav{grid-template-columns:repeat(2,1fr)}
  .mdfa-part-nav button:nth-child(4n){border-right:1px solid var(--mdfa-line2)}
  .mdfa-part-nav button:nth-child(2n){border-right:0}
  .mdfa-reader-resources{grid-template-columns:1fr}
  .mdfa-reader-resources a{border-right:0}
  .mdfa-article-head{padding:22px 17px 19px}
  .mdfa-article-head h2,.mdfa-module-reader .mdfa-lesson-content h2{font-size:31px;line-height:1.02}
  .mdfa-article-deck{font-size:17px!important}
  .mdfa-learning-loop{grid-template-columns:repeat(2,1fr)}
  .mdfa-learning-loop span:nth-child(3){border-right:1px solid var(--mdfa-line2)}
  .mdfa-learning-loop span:nth-child(2n){border-right:0}
  .mdfa-learning-loop span:nth-child(-n+4){border-bottom:1px solid var(--mdfa-line2)}
  .mdfa-article-body{padding:22px 16px 28px}
  .mdfa-source-block{margin-bottom:20px;padding-bottom:18px}
  .mdfa-source-block.is-practice,.mdfa-source-block.is-return,.mdfa-reader-content.is-practices .mdfa-source-block,.mdfa-reader-content.is-return .mdfa-source-block{margin-left:0;margin-right:0;padding:17px 16px}
  .mdfa-reader-content.is-workbook .mdfa-source-block{padding:17px 15px}
  .mdfa-source-block h3{font-size:22px}
  .mdfa-source-block p,.mdfa-module-reader .mdfa-lesson-content .mdfa-source-block p{font-size:13px;line-height:1.68}
  .mdfa-source-quote{font-size:17px!important}
  .mdfa-reader-footer{align-items:stretch;flex-direction:column;padding:15px 16px}
  .mdfa-reader-actions,.mdfa-reader-pager{width:100%}
  .mdfa-reader-footer .mdfa-btn{flex:1}
  .mdfa-answer-line{min-width:110px}
}

@media(max-width:760px){
  .mdfa-module-switch{display:flex;overflow-x:auto}
  .mdfa-module-reader{grid-template-columns:1fr}
}

/* v1.15 library refinements */
.mdfa-library-card{position:relative;display:flex;flex-direction:column;min-height:205px}
.mdfa-library-card p{flex:1}
.mdfa-library-badge{position:absolute;top:13px;right:13px;padding:4px 6px;border:1px solid #d8c7f1;border-radius:999px;background:#f7f3ff;color:#6a36a2;font-family:"Roboto Mono",ui-monospace,monospace;font-size:6.8px;line-height:1;letter-spacing:.045em;text-transform:uppercase}
.mdfa-library-card--restricted{background:linear-gradient(180deg,#fff 0,#fbf8ff 100%)}
@container mdfa-portal (max-width:520px){.mdfa-library-card{min-height:0}.mdfa-library-badge{position:static;align-self:flex-start;margin-bottom:6px}}

/* ===== v1.16 complete course + native workbook/Field Guide ===== */
.mdfa-workbook-status{
  display:inline-flex;align-items:center;gap:6px;margin-top:13px;padding:6px 9px;
  border:1px solid #dacaf1;border-radius:999px;background:#f7f3ff;color:#6530ad;
  font-family:"Roboto Mono",ui-monospace,monospace;font-size:7px;letter-spacing:.045em;text-transform:uppercase;
}
.mdfa-reader-content.is-workbook .mdfa-article-body{max-width:900px}
.mdfa-workbook-copy{margin:0 0 17px!important;color:#5f5573!important;font-family:Roboto,Arial,sans-serif!important;font-size:12.7px!important;line-height:1.7!important}
.mdfa-workbook-note{margin:0 0 14px;padding:14px 16px;border:1px solid #e9e1f2;border-radius:7px;background:#fbf9ff}
.mdfa-workbook-note h3{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-size:20px;line-height:1.08;color:#371170;font-weight:600}
.mdfa-workbook-field{position:relative;margin:0 0 15px;padding:16px 17px 13px;border:1px solid #e2d9ed;border-radius:8px;background:#fff}
.mdfa-workbook-field>label{display:block;margin:0 0 9px;color:#3d1a78;font-family:"Cormorant Garamond",Georgia,serif;font-size:19px;line-height:1.15;font-weight:600}
.mdfa-workbook-textarea,.mdfa-workbook-input{width:100%;border:1px solid #ddd3e9;border-radius:6px;background:#fcfbff;color:#43375a;outline:0}
.mdfa-workbook-textarea{min-height:92px;resize:vertical;padding:11px 12px;font-family:Roboto,Arial,sans-serif;font-size:12px;line-height:1.55}
.mdfa-workbook-input{min-height:42px;padding:8px 10px;font-family:"Roboto Mono",ui-monospace,monospace;font-size:10px}
.mdfa-workbook-textarea:focus,.mdfa-workbook-input:focus{border-color:#8d57d5;box-shadow:0 0 0 3px #f3edff}
.mdfa-workbook-choices{display:flex;flex-wrap:wrap;gap:7px}
.mdfa-workbook-choices button{padding:7px 10px;border:1px solid #d9cfea;border-radius:999px;background:#fff;color:#65557b;font-size:8px;cursor:pointer}
.mdfa-workbook-choices button.is-active{background:#7512e6;border-color:#7512e6;color:#fff}
.mdfa-workbook-saved{margin-top:8px;color:#8b7ca0;font-family:"Roboto Mono",ui-monospace,monospace;font-size:6.8px;letter-spacing:.04em;text-transform:uppercase}
.mdfa-workbook-reference{margin:0 0 16px}

/* Native Everyday Mysticism reader. */
.mdfa-native-collection{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:17px;align-items:start}
.mdfa-collection-nav{position:sticky;top:18px;border:1px solid var(--mdfa-line);border-radius:8px;background:#fff;overflow:hidden}
.mdfa-collection-nav button{width:100%;display:grid;grid-template-columns:38px 1fr;gap:9px;align-items:center;padding:12px 13px;border:0;border-bottom:1px solid var(--mdfa-line2);background:#fff;color:#5e5274;text-align:left;cursor:pointer}
.mdfa-collection-nav button:last-child{border-bottom:0}
.mdfa-collection-nav button span{color:#7c4bbc;font-family:"Roboto Mono",ui-monospace,monospace;font-size:7px}
.mdfa-collection-nav button strong{font-family:"Cormorant Garamond",Georgia,serif;font-size:16px;line-height:1.05;font-weight:600}
.mdfa-collection-nav button.is-active{background:#f5f0ff;color:#361170;box-shadow:inset 3px 0 0 #7512e6}
.mdfa-collection-content{min-width:0;border:1px solid var(--mdfa-line);border-radius:9px;background:#fff;overflow:hidden;box-shadow:var(--mdfa-shadow)}
.mdfa-collection-content .mdfa-article-body{max-width:850px}

/* Native Modern Mystic's Field Guide. */
.mdfa-fieldguide-head{margin-bottom:17px}
.mdfa-fg-toolbar{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);gap:12px;margin-bottom:14px}
.mdfa-fg-search-wrap{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:8px;padding:8px 11px;border:1px solid var(--mdfa-line);border-radius:7px;background:#fff}
.mdfa-fg-search-wrap svg{width:17px;height:17px;stroke:#7444bd;fill:none;stroke-width:1.3}
.mdfa-fg-search-wrap input{width:100%;border:0;outline:0;background:transparent;color:#51456c;font-size:10px}
.mdfa-fg-categories{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--mdfa-line);border-radius:7px;overflow:hidden}
.mdfa-fg-categories button{min-width:0;padding:9px 10px;border:0;border-right:1px solid var(--mdfa-line2);background:#fff;color:#665a7d;font-size:8px;line-height:1.25;cursor:pointer;text-align:left}
.mdfa-fg-categories button:last-child{border-right:0}
.mdfa-fg-categories button span{display:inline-grid;place-items:center;width:19px;height:19px;margin-right:6px;border:1px solid #d9caeb;border-radius:50%;color:#732fd0;font-family:"Roboto Mono",ui-monospace,monospace;font-size:7px}
.mdfa-fg-categories button.is-active{background:#f4eeff;color:#41157d}
.mdfa-fieldguide-reader{display:grid;grid-template-columns:minmax(250px,300px) minmax(0,1fr);gap:17px;align-items:start}
.mdfa-fg-entry-nav{position:sticky;top:18px;max-height:72vh;overflow:auto;border:1px solid var(--mdfa-line);border-radius:8px;background:#fff}
.mdfa-fg-entry-nav button{width:100%;display:grid;grid-template-columns:38px 1fr;gap:2px 9px;padding:11px 12px;border:0;border-bottom:1px solid var(--mdfa-line2);background:#fff;text-align:left;cursor:pointer;color:#5b4e70}
.mdfa-fg-entry-nav button:last-child{border-bottom:0}
.mdfa-fg-entry-nav button span{grid-row:1/3;color:#742dc8;font-family:"Roboto Mono",ui-monospace,monospace;font-size:7px;padding-top:2px}
.mdfa-fg-entry-nav button strong{font-family:"Cormorant Garamond",Georgia,serif;font-size:15.5px;line-height:1.08;font-weight:600}
.mdfa-fg-entry-nav button small{color:#8d809e;font-size:6.7px;line-height:1.3;text-transform:uppercase;letter-spacing:.04em}
.mdfa-fg-entry-nav button.is-active{background:#f5f0ff;color:#311166;box-shadow:inset 3px 0 0 #7512e6}
.mdfa-fg-empty{padding:16px;color:#817493;font-size:9px;line-height:1.5}
.mdfa-fg-content{min-width:0;border:1px solid var(--mdfa-line);border-radius:9px;background:#fff;overflow:hidden;box-shadow:var(--mdfa-shadow)}
.mdfa-fg-article-head{padding:30px 33px 25px;border-bottom:1px solid var(--mdfa-line);background:linear-gradient(180deg,#fdfcff,#fff)}
.mdfa-fg-article-head h2{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:41px;line-height:.98;letter-spacing:-.03em;color:#21105e}
.mdfa-fg-article-head p{max-width:740px;margin:13px 0 0;color:#63557b;font-family:"Cormorant Garamond",Georgia,serif;font-size:18px;line-height:1.3}
.mdfa-fg-article-body{max-width:850px;margin:0 auto;padding:31px 38px 38px}
.mdfa-fg-article-body section{margin:0 0 24px;padding-bottom:22px;border-bottom:1px solid var(--mdfa-line2)}
.mdfa-fg-article-body section:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
.mdfa-fg-article-body h3{margin:0 0 10px;color:#35116e;font-family:"Cormorant Garamond",Georgia,serif;font-size:24px;line-height:1.05;font-weight:600}
.mdfa-fg-article-body p{margin:0 0 11px;color:#504664;font-family:Roboto,Arial,sans-serif;font-size:13.4px;line-height:1.75}
.mdfa-fg-footer{padding:14px 20px;border-top:1px solid var(--mdfa-line);background:#fbfaff;color:#877a98;font-family:"Roboto Mono",ui-monospace,monospace;font-size:7px;text-transform:uppercase;letter-spacing:.055em}

/* Global source doorway. */
.mdfa-global-sources{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.mdfa-source-module-card{min-height:122px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:16px;border:1px solid var(--mdfa-line);border-radius:8px;background:linear-gradient(155deg,#fff,#fbf8ff);color:#44325f;text-align:left;cursor:pointer}
.mdfa-source-module-card span{margin-bottom:auto;color:#7d5aae;font-family:"Roboto Mono",ui-monospace,monospace;font-size:7px;letter-spacing:.09em}
.mdfa-source-module-card strong{font-family:"Cormorant Garamond",Georgia,serif;font-size:19px;line-height:1.05;color:#32106b}
.mdfa-source-module-card small{margin-top:7px;color:#796a90;font-size:7.5px}
.mdfa-source-module-card:hover{border-color:#cdb8e7;background:#f8f4ff}

@container mdfa-portal (max-width:820px){
  .mdfa-native-collection,.mdfa-fieldguide-reader{grid-template-columns:1fr}
  .mdfa-collection-nav,.mdfa-fg-entry-nav{position:static;display:flex;overflow-x:auto;max-height:none;scrollbar-width:thin}
  .mdfa-collection-nav button{flex:0 0 220px;border-right:1px solid var(--mdfa-line2);border-bottom:0}
  .mdfa-fg-entry-nav button{flex:0 0 235px;border-right:1px solid var(--mdfa-line2);border-bottom:0}
  .mdfa-fg-toolbar{grid-template-columns:1fr}
  .mdfa-global-sources{grid-template-columns:repeat(2,1fr)}
}
@container mdfa-portal (max-width:560px){
  .mdfa-workbook-field{padding:14px 13px}.mdfa-workbook-field>label{font-size:18px}.mdfa-workbook-textarea{font-size:13px}
  .mdfa-fg-categories{grid-template-columns:1fr}.mdfa-fg-categories button{border-right:0;border-bottom:1px solid var(--mdfa-line2)}.mdfa-fg-categories button:last-child{border-bottom:0}
  .mdfa-fg-article-head{padding:23px 18px 20px}.mdfa-fg-article-head h2{font-size:33px}.mdfa-fg-article-head p{font-size:17px}
  .mdfa-fg-article-body{padding:24px 17px 28px}.mdfa-fg-article-body h3{font-size:22px}.mdfa-fg-article-body p{font-size:13px;line-height:1.7}
  .mdfa-global-sources{grid-template-columns:1fr}.mdfa-source-module-card{min-height:105px}
}
.mdfa-reader-native-links{display:grid;border:1px solid var(--mdfa-line);border-radius:8px;background:#fff;overflow:hidden}
.mdfa-reader-native-links>.mdfa-tiny{padding:10px 12px;border-bottom:1px solid var(--mdfa-line2);background:#fbfaff}
.mdfa-reader-native-links button{display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:start;padding:10px 12px;border:0;border-bottom:1px solid var(--mdfa-line2);background:#fff;color:#51446c;text-align:left;cursor:pointer}
.mdfa-reader-native-links button:last-child{border-bottom:0}.mdfa-reader-native-links button:hover{background:#faf7ff}
.mdfa-reader-native-links button>span{color:#7512e6;font-size:12px;line-height:1}.mdfa-reader-native-links strong{display:block;font-size:8.8px;line-height:1.35}.mdfa-reader-native-links small{display:block;margin-top:3px;color:#8b7da0;font-size:7px;line-height:1.4}
@container mdfa-portal (max-width:760px){.mdfa-reader-native-links{grid-column:1/-1;grid-template-columns:1fr 1fr}.mdfa-reader-native-links>.mdfa-tiny{grid-column:1/-1}.mdfa-reader-native-links button:first-of-type{border-right:1px solid var(--mdfa-line2)}}
@container mdfa-portal (max-width:520px){.mdfa-reader-native-links{grid-template-columns:1fr}.mdfa-reader-native-links button:first-of-type{border-right:0}}


/* ===== v1.17 Native Academy Glossary ===== */
.mdfa-glossary-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:12px;align-items:center;margin-bottom:12px}
.mdfa-glossary-search-wrap{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:9px;padding:11px 13px;border:1px solid var(--mdfa-line);border-radius:8px;background:#fff;box-shadow:0 4px 16px rgba(48,25,92,.035)}
.mdfa-glossary-search-wrap svg{width:18px;height:18px;stroke:#7444bd;fill:none;stroke-width:1.25}
.mdfa-glossary-search-wrap input{width:100%;border:0;outline:0;background:transparent;color:#4d4262;font:400 14px/1.35 Roboto,Arial,sans-serif}
.mdfa-glossary-search-wrap input::placeholder{color:#9b90aa}
.mdfa-glossary-count{padding:10px 12px;border:1px solid var(--mdfa-line);border-radius:8px;background:#fbf9ff;color:#766887;font:500 10px/1.2 "Roboto Mono",ui-monospace,monospace;text-transform:uppercase;letter-spacing:.045em;white-space:nowrap}
.mdfa-glossary-categories{display:flex;gap:7px;overflow-x:auto;padding:1px 1px 8px;margin-bottom:4px;scrollbar-width:thin}
.mdfa-glossary-categories button{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--mdfa-line);border-radius:999px;background:#fff;color:#615473;font:500 10px/1.2 Roboto,Arial,sans-serif;cursor:pointer}
.mdfa-glossary-categories button span{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:999px;background:#f4effb;color:#6f2dbd;font:600 8px/1 "Roboto Mono",ui-monospace,monospace}
.mdfa-glossary-categories button.is-active{border-color:#cdb2ef;background:#f5efff;color:#42137c}
.mdfa-glossary-categories button.is-active span{background:#7512e6;color:#fff}
.mdfa-glossary-letters{display:flex;gap:3px;overflow-x:auto;padding:7px 0 12px;margin-bottom:3px;scrollbar-width:thin}
.mdfa-glossary-letters button{flex:0 0 auto;min-width:29px;height:29px;padding:0 6px;border:1px solid var(--mdfa-line2);border-radius:5px;background:#fff;color:#71657f;font:600 9px/1 "Roboto Mono",ui-monospace,monospace;cursor:pointer}
.mdfa-glossary-letters button:first-child{min-width:45px}
.mdfa-glossary-letters button.is-active{border-color:#7512e6;background:#7512e6;color:#fff}
.mdfa-glossary-letters button:disabled{opacity:.28;cursor:default}
.mdfa-glossary-reader{display:grid;grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:17px;align-items:start}
.mdfa-glossary-list{position:sticky;top:18px;max-height:72vh;overflow:auto;border:1px solid var(--mdfa-line);border-radius:9px;background:#fff;box-shadow:0 5px 18px rgba(43,21,86,.035)}
.mdfa-glossary-list>button{width:100%;display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:start;padding:11px 12px;border:0;border-bottom:1px solid var(--mdfa-line2);background:#fff;text-align:left;color:#584b6c;cursor:pointer}
.mdfa-glossary-list>button:last-child{border-bottom:0}
.mdfa-glossary-list>button>span{display:grid;place-items:center;width:26px;height:26px;border:1px solid #e0d3ef;border-radius:50%;color:#7227c8;font:600 8px/1 "Roboto Mono",ui-monospace,monospace}
.mdfa-glossary-list>button strong{display:block;margin:1px 0 4px;font:600 17px/1.05 "Cormorant Garamond",Georgia,serif;color:#3c255d}
.mdfa-glossary-list>button small{display:block;color:#94879f;font:500 7px/1.3 "Roboto Mono",ui-monospace,monospace;text-transform:uppercase;letter-spacing:.045em}
.mdfa-glossary-list>button.is-active{background:#f6f1ff;box-shadow:inset 3px 0 0 #7512e6}
.mdfa-glossary-empty{padding:18px;color:#786b87;font:400 13px/1.55 Roboto,Arial,sans-serif}
.mdfa-glossary-entry{min-width:0;border:1px solid var(--mdfa-line);border-radius:9px;background:#fff;overflow:hidden;box-shadow:var(--mdfa-shadow)}
.mdfa-glossary-entry-head{padding:31px 34px 24px;border-bottom:1px solid var(--mdfa-line);background:linear-gradient(180deg,#fdfcff,#fff)}
.mdfa-glossary-entry-head h2{margin:0;color:#21105e;font:500 43px/.98 "Cormorant Garamond",Georgia,serif;letter-spacing:-.03em}
.mdfa-glossary-aliases{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:14px;color:#7d708d;font:500 9px/1.3 "Roboto Mono",ui-monospace,monospace;text-transform:uppercase;letter-spacing:.04em}
.mdfa-glossary-aliases b{padding:5px 7px;border:1px solid #e1d6ee;border-radius:4px;background:#faf7ff;color:#603d84;font-weight:500;text-transform:none;letter-spacing:0}
.mdfa-glossary-entry-body{max-width:860px;margin:0 auto;padding:31px 38px 38px}
.mdfa-glossary-definition{margin:0;color:#4e4560;font:400 16px/1.75 Roboto,Arial,sans-serif}
.mdfa-glossary-related,.mdfa-glossary-actions{margin-top:28px;padding-top:22px;border-top:1px solid var(--mdfa-line2)}
.mdfa-glossary-related h3,.mdfa-glossary-actions h3{margin:0 0 11px;color:#3b176f;font:600 21px/1.05 "Cormorant Garamond",Georgia,serif}
.mdfa-glossary-related>div{display:flex;flex-wrap:wrap;gap:7px}
.mdfa-glossary-related button{padding:7px 9px;border:1px solid #d9c9ec;border-radius:999px;background:#faf7ff;color:#5c3286;font:500 11px/1.2 Roboto,Arial,sans-serif;cursor:pointer}
.mdfa-glossary-related button:hover{background:#f1e9ff;border-color:#b996e6}
.mdfa-glossary-actions>div{display:flex;flex-wrap:wrap;gap:9px}
.mdfa-glossary-footer{padding:14px 20px;border-top:1px solid var(--mdfa-line);background:#fbfaff;color:#877a98;font:500 8px/1.3 "Roboto Mono",ui-monospace,monospace;text-transform:uppercase;letter-spacing:.055em}
@media(max-width:900px){.mdfa-glossary-reader{grid-template-columns:1fr}.mdfa-glossary-list{position:static;display:flex;max-height:none;overflow-x:auto}.mdfa-glossary-list>button{flex:0 0 235px;border-right:1px solid var(--mdfa-line2);border-bottom:0}.mdfa-glossary-toolbar{grid-template-columns:1fr}.mdfa-glossary-count{justify-self:start}.mdfa-glossary-entry-head{padding:25px 20px 21px}.mdfa-glossary-entry-head h2{font-size:36px}.mdfa-glossary-entry-body{padding:26px 20px 30px}}
@media(max-width:560px){.mdfa-glossary-search-wrap input{font-size:16px}.mdfa-glossary-definition{font-size:15.5px;line-height:1.7}.mdfa-glossary-entry-head h2{font-size:33px}.mdfa-glossary-categories button{font-size:11px}.mdfa-glossary-list>button{flex-basis:220px}.mdfa-glossary-related button{font-size:12px}}

/* ===== v1.18 Academy Chassis + Courses + Support ===== */
.mdfa-access-hidden{display:none!important}
.mdfa-page-head{max-width:850px;margin:8px 0 28px}.mdfa-page-head h1{margin:8px 0 10px;font-size:44px;line-height:1;letter-spacing:-.03em}.mdfa-page-head>p{max-width:760px;color:#625774;font:400 14px/1.7 Roboto,Arial,sans-serif}
.mdfa-academy-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;border:1px solid var(--mdfa-line);border-radius:10px;background:linear-gradient(135deg,#fbf8ff,#fff 62%);box-shadow:var(--mdfa-shadow)}
.mdfa-academy-banner h2{margin:4px 0 7px;font-size:30px;line-height:1}.mdfa-academy-banner p{margin:0;max-width:680px;color:#675b79;font-size:13px;line-height:1.6}.mdfa-academy-banner .mdfa-btn{flex:0 0 auto;font-size:10px;padding:12px 15px}
.mdfa-course-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mdfa-course-card{display:flex;flex-direction:column;min-height:310px;padding:21px;border:1px solid var(--mdfa-line);border-radius:10px;background:#fff;box-shadow:var(--mdfa-shadow)}.mdfa-course-card.is-compact{min-height:230px}.mdfa-course-card.is-owned{border-color:#dacbf1;background:linear-gradient(160deg,#fff,#fcfaff)}.mdfa-course-card.is-paused{opacity:.8;background:#fcfbfd}
.mdfa-course-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.mdfa-course-type,.mdfa-course-status{font:600 8px/1.2 "Roboto Mono",ui-monospace,monospace;text-transform:uppercase;letter-spacing:.07em}.mdfa-course-type{color:#6f3fb4}.mdfa-course-status{padding:5px 7px;border-radius:999px;background:#f4eefc;color:#674782}.mdfa-course-card h2{margin:18px 0 4px;font-size:30px;line-height:1}.mdfa-course-subtitle{margin:0 0 13px!important;color:#693bb0!important;font:500 10px/1.45 "Roboto Mono",ui-monospace,monospace!important}.mdfa-course-desc{font-size:12.5px!important;line-height:1.65!important;flex:1}.mdfa-course-price{display:flex;align-items:baseline;gap:10px;margin:auto 0 13px}.mdfa-course-price strong{font:600 28px/1 "Cormorant Garamond",Georgia,serif;color:#2d1269}.mdfa-course-price span{color:#78698d;font-size:10px}.mdfa-course-progress{margin:auto 0 14px}.mdfa-course-progress>div:first-child{display:flex;justify-content:space-between;color:#6f6380;font-size:9px;text-transform:uppercase;letter-spacing:.05em}.mdfa-course-progress small{display:block;margin-top:6px;color:#887a99;font-size:9px}.mdfa-course-card-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.mdfa-course-card-actions .mdfa-btn{font-size:10px;padding:11px 14px}.mdfa-text-button{border:0;background:transparent;color:#6a3caf;font-size:9px;text-decoration:underline;cursor:pointer;padding:7px 3px}
.mdfa-empty-state{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:24px;border:1px dashed #d8cbea;border-radius:9px;background:#fbf9ff;color:#655976}.mdfa-empty-state strong{color:#32116e;font-family:"Cormorant Garamond",Georgia,serif;font-size:24px}.mdfa-empty-state span{font-size:12px;line-height:1.55}
.mdfa-academy-current-module{display:block;margin-bottom:7px;color:#743cc4;font:600 8px/1.2 "Roboto Mono",ui-monospace,monospace;text-transform:uppercase;letter-spacing:.07em}.mdfa-academy-current h2,[data-academy-current] h2{margin:3px 0 9px;font-size:28px}.mdfa-academy-link-stack{display:grid}.mdfa-academy-link-stack button{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 0;border:0;border-bottom:1px solid var(--mdfa-line2);background:transparent;text-align:left;color:#4f4265;cursor:pointer}.mdfa-academy-link-stack button:last-child{border-bottom:0}.mdfa-academy-link-stack strong{font-size:11px}.mdfa-academy-link-stack span{color:#847595;font-size:9px}
.mdfa-course-catalog{display:grid;gap:28px}.mdfa-course-catalog-note{margin-bottom:22px;padding:14px 16px;border:1px solid #ded0f0;border-radius:8px;background:#faf6ff;color:#605270;font-size:11px;line-height:1.6}.mdfa-course-catalog-note strong{color:#371472}.mdfa-catalog-feature .mdfa-course-card{min-height:280px}.mdfa-catalog-feature .mdfa-course-card h2{font-size:36px}
.mdfa-course-overview-hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start;padding:28px;border:1px solid var(--mdfa-line);border-radius:11px;background:linear-gradient(145deg,#fff,#fbf7ff);box-shadow:var(--mdfa-shadow)}.mdfa-course-overview-hero h1{margin:7px 0 4px;font-size:49px;line-height:.95}.mdfa-course-overview-sub{color:#683ab0;font:500 11px/1.5 "Roboto Mono",ui-monospace,monospace}.mdfa-course-overview-hero>div>p:not(.mdfa-course-overview-sub){max-width:720px;color:#615670;font-size:13px;line-height:1.7}.mdfa-course-overview-hero aside{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #e3d9ef;border-radius:9px;background:#fff}.mdfa-course-overview-hero aside>strong{font-family:"Cormorant Garamond",Georgia,serif;font-size:25px;color:#33136e}.mdfa-course-overview-hero aside small{color:#827493;font-size:9px;line-height:1.5}.mdfa-course-overview-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.mdfa-course-overview-actions .mdfa-btn{font-size:10px;padding:11px 14px}.mdfa-back-link{margin-bottom:13px;border:0;background:transparent;color:#7550a5;padding:0;font-size:9px;cursor:pointer}
.mdfa-primer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.mdfa-primer-grid article{padding:16px;border:1px solid var(--mdfa-line);border-radius:8px;background:#fff}.mdfa-primer-grid article>span{color:#7a50b4;font:600 8px/1 "Roboto Mono",monospace}.mdfa-primer-grid h3{margin:14px 0 8px;color:#33116f;font:600 19px/1.05 "Cormorant Garamond",Georgia,serif}.mdfa-primer-grid p{margin:0;color:#6b5f78;font-size:10.5px;line-height:1.55}
.mdfa-course-module-list{display:grid;gap:8px}.mdfa-course-module-list button{width:100%;display:grid;grid-template-columns:74px minmax(0,1fr) 24px;gap:12px;align-items:center;padding:14px 16px;border:1px solid var(--mdfa-line);border-radius:8px;background:#fff;text-align:left;color:#55486a}.mdfa-course-module-list button.is-open{cursor:pointer}.mdfa-course-module-list button.is-open:hover{border-color:#ccb4ea;background:#faf6ff}.mdfa-course-module-list button>span{color:#7c58a7;font:600 7.5px/1.2 "Roboto Mono",monospace}.mdfa-course-module-list strong{display:block;color:#3c205e;font:600 20px/1.05 "Cormorant Garamond",Georgia,serif}.mdfa-course-module-list small{display:block;margin-top:4px;color:#7c6e8a;font-size:9.5px;line-height:1.45}.mdfa-course-module-list b{color:#7512e6;font-size:17px}.mdfa-course-module-list .is-locked{opacity:.55}
.mdfa-course-resource-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.mdfa-course-resource-list a,.mdfa-course-resource-list button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:13px 15px;border:1px solid var(--mdfa-line);border-radius:7px;background:#fff;color:#4e4063;text-align:left;cursor:pointer}.mdfa-course-resource-list strong{color:#35156e;font-size:11px}.mdfa-course-resource-list span{color:#837392;font-size:8.5px}.mdfa-upgrade-callout{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:32px 0 8px;padding:24px;border:1px solid #d7c4ee;border-radius:10px;background:#f8f2ff}.mdfa-upgrade-callout h2{margin:5px 0 8px;font-size:31px}.mdfa-upgrade-callout p{margin:0;max-width:720px;color:#655675;font-size:12px;line-height:1.6}
.mdfa-support-search{max-width:760px;display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:center;margin-top:19px;padding:12px 15px;border:1px solid #d9cceb;border-radius:9px;background:#fff;box-shadow:var(--mdfa-shadow)}.mdfa-support-search>span{font-size:20px;color:#7749b7}.mdfa-support-search input{width:100%;border:0;outline:0;background:transparent;color:#443656;font:400 15px/1.35 Roboto,Arial,sans-serif}.mdfa-support-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:18px;align-items:start}.mdfa-support-sidebar{position:sticky;top:16px;border:1px solid var(--mdfa-line);border-radius:9px;background:#fff;overflow:hidden}.mdfa-support-sidebar>.mdfa-tiny{display:block;padding:12px 14px;border-bottom:1px solid var(--mdfa-line2);background:#fbfaff}.mdfa-support-categories{display:grid;max-height:70vh;overflow:auto}.mdfa-support-categories button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:11px 13px;border:0;border-bottom:1px solid var(--mdfa-line2);background:#fff;text-align:left;color:#574867;cursor:pointer}.mdfa-support-categories button:last-child{border-bottom:0}.mdfa-support-categories button strong{font-size:10.5px}.mdfa-support-categories button>span{color:#8b78a1;font:600 8px/1.3 "Roboto Mono",monospace}.mdfa-support-categories button small{grid-column:1/-1;color:#90849b;font-size:8.5px;line-height:1.35}.mdfa-support-categories button.is-active{background:#f6f0ff;box-shadow:inset 3px 0 0 #7512e6}.mdfa-support-results-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:10px}.mdfa-support-results-head h2{margin:4px 0 0;font-size:28px}.mdfa-support-results-head>span{color:#887a96;font:600 8px/1.2 "Roboto Mono",monospace;text-transform:uppercase;letter-spacing:.05em}.mdfa-support-faqs{display:grid;gap:8px}.mdfa-support-faq{border:1px solid var(--mdfa-line);border-radius:8px;background:#fff;overflow:hidden}.mdfa-support-faq summary{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 16px;cursor:pointer;list-style:none;color:#3b205c;font:600 16px/1.25 "Cormorant Garamond",Georgia,serif}.mdfa-support-faq summary::-webkit-details-marker{display:none}.mdfa-support-faq summary b{color:#7512e6;font:400 18px/1 Roboto,sans-serif}.mdfa-support-faq[open] summary b{transform:rotate(45deg)}.mdfa-support-faq>div{padding:0 16px 16px;border-top:1px solid var(--mdfa-line2);background:#fdfcff}.mdfa-support-faq p{margin:13px 0 8px;color:#5d5269;font:400 12.5px/1.7 Roboto,Arial,sans-serif}.mdfa-support-faq small{color:#8a7b98;font:600 7.5px/1.3 "Roboto Mono",monospace;text-transform:uppercase;letter-spacing:.05em}.mdfa-support-wayback{display:flex;justify-content:space-between;gap:22px;align-items:center;margin:28px 0;padding:23px;border:1px solid #dac8ef;border-radius:10px;background:#f8f3ff}.mdfa-support-wayback:empty{display:none}.mdfa-support-wayback h2{margin:5px 0 8px;font-size:29px}.mdfa-support-wayback p{margin:0;color:#655874;font-size:12px;line-height:1.6}.mdfa-support-contact{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;padding:27px;border:1px solid var(--mdfa-line);border-radius:11px;background:#fff;box-shadow:var(--mdfa-shadow)}.mdfa-support-contact-copy h2{margin:8px 0 10px;font-size:34px;line-height:1}.mdfa-support-contact-copy>p{color:#62566e;font-size:12px;line-height:1.65}.mdfa-support-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mdfa-support-form label{display:grid;gap:5px}.mdfa-support-form label>span{color:#736582;font:600 8px/1.2 "Roboto Mono",monospace;text-transform:uppercase;letter-spacing:.05em}.mdfa-support-form input,.mdfa-support-form textarea,.mdfa-support-form select{width:100%;border:1px solid #ded5e8;border-radius:6px;background:#fff;color:#43364f;padding:10px 11px;font:400 14px/1.4 Roboto,Arial,sans-serif;outline:none}.mdfa-support-form input:focus,.mdfa-support-form textarea:focus,.mdfa-support-form select:focus{border-color:#8a4de0;box-shadow:0 0 0 2px #f0e6ff}.mdfa-support-wide{grid-column:1/-1}.mdfa-support-hp{position:absolute!important;left:-9999px!important}.mdfa-support-submit-row{display:flex;align-items:center;gap:12px;margin-top:13px}.mdfa-support-submit-row .mdfa-btn{font-size:10px;padding:12px 15px}.mdfa-support-submit-row span{color:#685d73;font-size:10px}
.mdfa-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.mdfa-account-profile{display:flex;align-items:center;gap:12px;margin-bottom:13px}.mdfa-account-profile .mdfa-avatar{width:48px;height:48px;font-size:12px}.mdfa-account-profile strong,.mdfa-account-profile small{display:block}.mdfa-account-profile strong{color:#32136e;font-size:15px}.mdfa-account-profile small{margin-top:3px;color:#857991;font-size:10px}.mdfa-account-course-list{display:grid}.mdfa-account-course-list button{display:flex;justify-content:space-between;gap:13px;padding:11px 0;border:0;border-bottom:1px solid var(--mdfa-line2);background:transparent;text-align:left;cursor:pointer}.mdfa-account-course-list strong{color:#3b2459;font-size:11px}.mdfa-account-course-list span{color:#7c6a90;font-size:9px}.mdfa-credentials-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mdfa-credential-card{padding:18px;border:1px solid #d9cae9;border-radius:9px;background:linear-gradient(145deg,#fff,#faf7ff)}.mdfa-credential-card h3{margin:8px 0 7px;color:#32126e;font:600 24px/1 "Cormorant Garamond",Georgia,serif}.mdfa-credential-card p{margin:0 0 11px;color:#746681;font-size:10px}.mdfa-credential-card code{display:inline-block;padding:5px 7px;border-radius:4px;background:#f1eafb;color:#5f2f9a;font-size:9px}.mdfa-credential-card>small{display:block;margin-top:6px;color:#91849c;font-size:8px}.mdfa-library-card.mdfa-access-hidden{display:none!important}

@media(max-width:1050px){.mdfa-primer-grid{grid-template-columns:repeat(3,1fr)}.mdfa-support-layout{grid-template-columns:235px minmax(0,1fr)}.mdfa-support-contact{grid-template-columns:1fr}.mdfa-course-overview-hero{grid-template-columns:1fr 240px}}
@media(max-width:820px){.mdfa-page-head h1{font-size:39px}.mdfa-course-card-grid{grid-template-columns:1fr}.mdfa-course-card{min-height:0}.mdfa-course-overview-hero{grid-template-columns:1fr}.mdfa-course-overview-hero h1{font-size:42px}.mdfa-primer-grid{grid-template-columns:1fr 1fr}.mdfa-support-layout{grid-template-columns:1fr}.mdfa-support-sidebar{position:static}.mdfa-support-categories{display:flex;max-height:none;overflow-x:auto}.mdfa-support-categories button{flex:0 0 210px;border-right:1px solid var(--mdfa-line2);border-bottom:0}.mdfa-support-contact{padding:21px}.mdfa-account-grid{grid-template-columns:1fr}.mdfa-credentials-grid{grid-template-columns:1fr 1fr}.mdfa-course-resource-list{grid-template-columns:1fr}.mdfa-upgrade-callout,.mdfa-support-wayback,.mdfa-academy-banner{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.mdfa-page-head h1{font-size:35px}.mdfa-page-head>p{font-size:13px}.mdfa-academy-banner{padding:18px}.mdfa-academy-banner h2{font-size:27px}.mdfa-course-card{padding:17px}.mdfa-course-card h2{font-size:28px}.mdfa-course-overview-hero{padding:20px}.mdfa-course-overview-hero h1{font-size:38px}.mdfa-primer-grid{grid-template-columns:1fr}.mdfa-course-module-list button{grid-template-columns:62px minmax(0,1fr) 18px;padding:12px}.mdfa-course-module-list strong{font-size:18px}.mdfa-support-search input{font-size:16px}.mdfa-support-faq summary{font-size:18px}.mdfa-support-faq p{font-size:14px}.mdfa-support-form-grid{grid-template-columns:1fr}.mdfa-support-wide{grid-column:auto}.mdfa-support-form input,.mdfa-support-form textarea,.mdfa-support-form select{font-size:16px}.mdfa-credentials-grid{grid-template-columns:1fr}.mdfa-academy-link-stack button{align-items:flex-start;flex-direction:column;gap:2px}}

/* v1.18 mobile global navigation: keep Academy destinations reachable without shrinking type. */
@media(max-width:820px){
  .mdfa-top .mdfa-nav{
    display:flex;
    grid-column:1/-1;
    width:100%;
    max-width:100%;
    justify-self:stretch;
    justify-content:flex-start;
    gap:22px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    padding:9px 1px 2px;
    border-top:1px solid var(--mdfa-line2);
  }
  .mdfa-top .mdfa-nav::-webkit-scrollbar{display:none}
  .mdfa-top .mdfa-nav a{
    flex:0 0 auto;
    font-size:12px;
    line-height:1.2;
    padding:5px 0 8px;
    white-space:nowrap;
  }
}
@media(max-width:820px){
  .mdfa-top .mdfa-mark{grid-column:1;grid-row:1}
  .mdfa-top .mdfa-brand{grid-column:2;grid-row:1}
  .mdfa-top .mdfa-head-icon{grid-column:3;grid-row:1}
  .mdfa-top .mdfa-user{grid-column:4;grid-row:1}
  .mdfa-top .mdfa-nav{grid-column:1/-1;grid-row:2}
}

/* ===== v1.19 Start-page hierarchy: Study Tools -> Explore + Practice -> Sources -> Return ===== */
.mdfa-study-tools-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
}
.mdfa-study-tool{
  width:100%;
  min-width:0;
  min-height:164px;
  padding:18px 16px 15px;
  border:1px solid var(--mdfa-line);
  border-radius:7px;
  background:#fff;
  box-shadow:var(--mdfa-shadow);
  color:inherit;
  text-align:left;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  transition:border-color .14s ease,transform .14s ease,box-shadow .14s ease;
}
.mdfa-study-tool:hover,
.mdfa-study-tool:focus-visible{
  border-color:#cdb9ec;
  box-shadow:0 13px 30px rgba(76,35,128,.07);
  transform:translateY(-1px);
  outline:none;
}
.mdfa-study-tool-icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  margin-bottom:13px;
  border:1px solid #e0d4ef;
  border-radius:7px;
  background:#fcfaff;
}
.mdfa-study-tool-icon svg{
  width:16px;
  height:16px;
  stroke:var(--mdfa-violet);
  fill:none;
  stroke-width:1.05;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mdfa-study-tool>strong{
  color:#3d1878;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:9.4px;
  line-height:1.3;
  font-weight:600;
}
.mdfa-study-tool>span:not(.mdfa-study-tool-icon){
  margin-top:9px;
  color:#625875;
  font-family:"Roboto",Arial,sans-serif;
  font-size:9.85px;
  line-height:1.55;
}
.mdfa-study-tool>em{
  margin-top:auto;
  padding-top:14px;
  color:#6c3fc6;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.4px;
  line-height:1.2;
  font-style:normal;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.mdfa-explore-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:13px;
}
.mdfa-explore-card{
  position:relative;
  width:100%;
  min-width:0;
  min-height:218px;
  padding:22px 21px 18px;
  border:1px solid #dfd5eb;
  border-radius:10px;
  background:linear-gradient(145deg,#fff 0%,#fdfbff 100%);
  color:inherit;
  text-align:left;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  box-shadow:0 12px 29px rgba(55,34,96,.035);
  overflow:hidden;
  transition:border-color .14s ease,transform .14s ease,box-shadow .14s ease;
}
.mdfa-explore-card:after{
  content:"";
  position:absolute;
  right:-34px;
  top:-38px;
  width:104px;
  height:104px;
  border:1px solid #eee5fa;
  border-radius:50%;
  pointer-events:none;
}
.mdfa-explore-card:hover,
.mdfa-explore-card:focus-visible{
  border-color:#c9b4eb;
  box-shadow:0 15px 34px rgba(76,35,128,.065);
  transform:translateY(-1px);
  outline:none;
}
.mdfa-explore-icon{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  margin-bottom:17px;
  border:1px solid #d9c8ef;
  border-radius:50%;
  background:#fff;
  position:relative;
  z-index:1;
}
.mdfa-explore-icon svg{
  width:18px;
  height:18px;
  stroke:var(--mdfa-violet);
  fill:none;
  stroke-width:1;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mdfa-explore-kicker{
  display:block;
  margin-bottom:5px;
  color:#7c62a5;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.2px;
  line-height:1.2;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.mdfa-explore-card>strong{
  display:block;
  color:#2e0f69;
  font-family:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  font-size:22px;
  line-height:1.05;
  font-weight:600;
}
.mdfa-explore-copy{
  display:block;
  margin-top:10px;
  color:#625875;
  font-family:"Roboto",Arial,sans-serif;
  font-size:10px;
  line-height:1.58;
}
.mdfa-explore-card>em{
  margin-top:auto;
  padding-top:17px;
  color:#681dc6;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.5px;
  line-height:1.2;
  font-style:normal;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.mdfa-sources-home-section{margin-top:30px;margin-bottom:29px}
.mdfa-sources-home{
  width:100%;
  min-width:0;
  padding:17px 3px;
  border:0;
  border-top:1px solid var(--mdfa-line);
  border-bottom:1px solid var(--mdfa-line);
  border-radius:0;
  background:transparent;
  color:inherit;
  text-align:left;
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  cursor:pointer;
}
.mdfa-sources-home:hover,
.mdfa-sources-home:focus-visible{
  background:#fcfaff;
  outline:none;
}
.mdfa-sources-home-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid #e2d8ee;
  border-radius:8px;
  background:#fff;
}
.mdfa-sources-home-icon svg{
  width:17px;
  height:17px;
  stroke:var(--mdfa-violet);
  fill:none;
  stroke-width:1.05;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mdfa-sources-home-copy{display:block;min-width:0}
.mdfa-sources-home-copy small{
  display:block;
  margin-bottom:3px;
  color:#7550aa;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.15px;
  line-height:1.2;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.mdfa-sources-home-copy strong{
  display:inline;
  margin-right:7px;
  color:#37156f;
  font-family:"Roboto",Arial,sans-serif;
  font-size:10px;
  line-height:1.45;
  font-weight:600;
}
.mdfa-sources-home-copy>span{
  color:#736987;
  font-family:"Roboto",Arial,sans-serif;
  font-size:9.65px;
  line-height:1.48;
}
.mdfa-sources-home>em{
  color:#681dc6;
  font-family:"Roboto Mono","Courier New",monospace;
  font-size:7.4px;
  line-height:1.2;
  font-style:normal;
  letter-spacing:.02em;
  text-transform:uppercase;
  white-space:nowrap;
}

@container mdfa-portal (max-width: 1050px){
  .mdfa-study-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container mdfa-portal (max-width: 820px){
  .mdfa-explore-grid{grid-template-columns:1fr}
  .mdfa-explore-card{min-height:0}
  .mdfa-sources-home{grid-template-columns:36px minmax(0,1fr)}
  .mdfa-sources-home>em{grid-column:2;margin-top:3px}
}
@container mdfa-portal (max-width: 540px){
  .mdfa-study-tools-grid{grid-template-columns:1fr}
  .mdfa-study-tool{min-height:0;padding:17px 16px 15px}
  .mdfa-study-tool>em{margin-top:13px;padding-top:0}
  .mdfa-explore-card{padding:20px 18px 17px}
  .mdfa-explore-card>strong{font-size:21px}
  .mdfa-sources-home{padding:15px 2px;gap:12px}
  .mdfa-sources-home-copy strong,.mdfa-sources-home-copy>span{display:block;margin:0}
  .mdfa-sources-home-copy>span{margin-top:3px}
}

/* =========================================================
   v1.20 Assessments + Completion
   ========================================================= */
.mdfa-assessments-page{max-width:1180px;margin:0 auto}
.mdfa-assessment-page-head{margin-bottom:22px}
.mdfa-assessment-summary{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:22px;align-items:stretch;padding:22px;border:1px solid var(--mdfa-line);border-radius:10px;background:linear-gradient(145deg,#fff 0%,#fbf8ff 100%);box-shadow:var(--mdfa-shadow)}
.mdfa-assessment-summary h2{font-size:30px;line-height:1;margin:5px 0 9px}
.mdfa-assessment-summary p{max-width:690px;margin:0;color:#665c7d;font-size:10px;line-height:1.65}
.mdfa-assessment-summary-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e6dff0;border-radius:8px;background:#fff;overflow:hidden}
.mdfa-assessment-summary-stats>div{padding:16px 13px;border-right:1px solid #eee8f5;display:flex;flex-direction:column;justify-content:center;min-width:0}.mdfa-assessment-summary-stats>div:last-child{border-right:0}
.mdfa-assessment-summary-stats strong{font-family:"Cormorant Garamond",Georgia,serif;color:#2c1268;font-size:21px;line-height:1.05;font-weight:600}.mdfa-assessment-summary-stats span{margin-top:5px;color:#86799d;font-family:"Roboto Mono",monospace;font-size:6.8px;line-height:1.35;text-transform:uppercase;letter-spacing:.07em}
.mdfa-assessment-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.mdfa-assessment-module-card{border:1px solid var(--mdfa-line);border-radius:9px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(55,34,96,.035)}
.mdfa-assessment-module-card>header{padding:16px 17px 13px;border-bottom:1px solid var(--mdfa-line2);background:#fdfbff}.mdfa-assessment-module-card>header h3{margin:3px 0 3px;font-family:"Cormorant Garamond",Georgia,serif;color:#2d106d;font-size:21px;line-height:1.08;font-weight:600}.mdfa-assessment-module-card>header small{color:#8a809d;font-size:7.5px}
.mdfa-assessment-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 16px;border-bottom:1px solid var(--mdfa-line2)}.mdfa-assessment-list>div:last-child{border-bottom:0}.mdfa-assessment-list>div.is-final{background:#fbf8ff}.mdfa-assessment-list b{display:block;color:#3b2378;font-size:9px}.mdfa-assessment-list>div>div>span:not(.mdfa-assessment-state){display:block;margin-top:2px;color:#8a809e;font-size:7.5px}.mdfa-assessment-list .mdfa-btn{min-width:116px}
.mdfa-assessment-state{display:inline-flex!important;width:max-content;margin-top:6px!important;padding:4px 6px;border:1px solid #e5ddec;border-radius:999px;color:#7d7192!important;font-family:"Roboto Mono",monospace;font-size:6.6px!important;line-height:1.15!important;text-transform:uppercase;letter-spacing:.05em}.mdfa-assessment-state.is-done{border-color:#cfbaf0;background:#f7f1ff;color:#5c2db0!important}
.mdfa-assessment-capstone{display:grid;grid-template-columns:1.25fr .75fr;gap:14px;margin:30px 0}.mdfa-assessment-capstone article{padding:22px;border:1px solid #d9c9ef;border-radius:10px;background:linear-gradient(145deg,#faf6ff,#fff);box-shadow:0 12px 28px rgba(76,35,128,.045)}.mdfa-assessment-capstone h2{font-size:30px;line-height:1;margin:5px 0 9px}.mdfa-assessment-capstone p{color:#675c7c;font-size:9.8px;line-height:1.62}.mdfa-assessment-capstone .mdfa-btn{margin-top:14px}
.mdfa-assessment-credential{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin:28px 0;padding:19px 20px;border:1px solid var(--mdfa-line);border-radius:9px;background:#fff}.mdfa-assessment-credential.is-ready{border-color:#cdb2ef;background:#f9f4ff}.mdfa-assessment-credential h2{font-size:25px;line-height:1;margin:4px 0 6px}.mdfa-assessment-credential p{margin:0;max-width:760px;color:#6e6383;font-size:9.2px;line-height:1.55}

.mdfa-assessment-workspace{margin:30px 0 10px;padding-top:6px;border-top:1px solid var(--mdfa-line)}
.mdfa-assessment-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;margin:14px 0 20px}.mdfa-assessment-head h1{margin:6px 0 7px;font-size:39px;line-height:.98}.mdfa-assessment-head p{margin:0;color:#746887;font-family:"Roboto Mono",monospace;font-size:8px;line-height:1.55}.mdfa-assessment-head aside{min-width:165px;padding:12px 14px;border:1px solid var(--mdfa-line);border-radius:7px;background:#fff}.mdfa-assessment-head aside strong{display:block;margin-top:3px;color:#33136f;font-family:"Cormorant Garamond",Georgia,serif;font-size:20px}.mdfa-assessment-head aside small{display:block;margin-top:3px;color:#8b809e;font-size:7px}
.mdfa-assessment-question-list{display:grid;gap:12px}
.mdfa-assessment-question{margin:0;padding:18px;border:1px solid var(--mdfa-line);border-radius:9px;background:#fff;min-width:0}.mdfa-assessment-question legend{width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:start;padding:0 2px;color:#34216c;font-family:"Roboto",Arial,sans-serif;font-size:11px;line-height:1.48;font-weight:600}.mdfa-assessment-question legend>span{display:grid;place-items:center;width:26px;height:26px;border:1px solid #dcccf0;border-radius:50%;color:#6f35c0;font-family:"Roboto Mono",monospace;font-size:7px}.mdfa-assessment-question legend small{padding-top:5px;color:#8a7c9e;font-family:"Roboto Mono",monospace;font-size:6.5px;line-height:1.3;text-transform:uppercase;letter-spacing:.06em;font-weight:500}
.mdfa-assessment-options{display:grid;gap:7px;margin-top:14px;padding-left:40px}.mdfa-assessment-options label{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr);gap:9px;align-items:center;padding:10px 11px;border:1px solid #e8e1f1;border-radius:7px;background:#fff;color:#625777;font-size:9.5px;line-height:1.45;cursor:pointer;transition:border-color .12s,background .12s}.mdfa-assessment-options label:hover{border-color:#cfb9eb;background:#fdfaff}.mdfa-assessment-options label.is-selected{border-color:#b98fe7;background:#f8f1ff;color:#3e2378}.mdfa-assessment-options input{width:16px;height:16px;margin:0;accent-color:var(--mdfa-violet)}
.mdfa-assessment-submit{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin-top:16px;padding:15px 16px;border:1px solid var(--mdfa-line);border-radius:8px;background:#faf8ff}.mdfa-assessment-submit strong{display:block;color:#462281;font-size:9px}.mdfa-assessment-submit span{display:block;margin-top:3px;color:#817594;font-size:8px}.mdfa-assessment-submit>div:last-child{display:flex;gap:8px}.mdfa-btn:disabled{opacity:.4;cursor:not-allowed}

.mdfa-assessment-result{padding:22px;border:1px solid #d8c6ed;border-radius:10px;background:linear-gradient(145deg,#faf5ff,#fff)}
.mdfa-assessment-score{display:grid;grid-template-columns:130px minmax(0,1fr);gap:20px;align-items:center}.mdfa-assessment-score>span{display:grid;place-items:center;min-height:104px;border:1px solid #d6c2ee;border-radius:8px;background:#fff;color:#4d1c9d;font-family:"Cormorant Garamond",Georgia,serif;font-size:34px;line-height:1}.mdfa-assessment-score h2{margin:2px 0 5px;font-size:32px;line-height:1}.mdfa-assessment-score p{margin:0;color:#746887;font-size:8.5px}.mdfa-assessment-result-map{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.mdfa-assessment-result-map>div{padding:14px;border:1px solid #e6ddf0;border-radius:8px;background:#fff}.mdfa-assessment-result-map p{margin:7px 0 0;color:#6e6282;font-size:9px;line-height:1.55}.mdfa-review-links{display:grid;gap:6px;margin-top:8px}.mdfa-review-links button{width:100%;padding:9px 10px;border:1px solid #e7def0;border-radius:6px;background:#fff;text-align:left;cursor:pointer}.mdfa-review-links strong{display:block;color:#4e2a88;font-size:8.5px}.mdfa-review-links span{display:block;margin-top:2px;color:#876fa4;font-size:7px}.mdfa-assessment-result-actions{display:flex;gap:8px;margin-top:18px}
.mdfa-assessment-review{margin-top:24px}.mdfa-answer-review{margin-bottom:9px;padding:15px;border:1px solid var(--mdfa-line);border-radius:8px;background:#fff}.mdfa-answer-review.is-correct{border-left:3px solid #9c78d8}.mdfa-answer-review.is-review{border-left:3px solid #c8a7e8}.mdfa-answer-review header{display:grid;grid-template-columns:28px minmax(0,1fr) 24px;gap:9px;align-items:start}.mdfa-answer-review header>span{color:#7b5fab;font-family:"Roboto Mono",monospace;font-size:7px}.mdfa-answer-review header strong{color:#3d2674;font-size:9.5px;line-height:1.45}.mdfa-answer-review header b{color:#7b42c4}.mdfa-answer-review p{margin:10px 0 0;color:#665a7b;font-size:8.5px}.mdfa-answer-review p small{display:block;margin-bottom:3px;color:#998ca9;text-transform:uppercase;letter-spacing:.06em}.mdfa-answer-review>div{margin-top:10px;padding:10px;border-radius:6px;background:#faf7ff;color:#675b7d;font-size:8.5px;line-height:1.55}.mdfa-answer-review>button{margin-top:9px;padding:0;border:0;background:transparent;color:#6e34bb;font-size:7.5px;cursor:pointer;text-transform:uppercase;letter-spacing:.04em}

.mdfa-reader-assessments{margin-top:14px;padding-top:12px;border-top:1px solid var(--mdfa-line)}.mdfa-reader-assessments>.mdfa-tiny{margin-bottom:7px}.mdfa-reader-assessments button,.mdfa-reader-assessments a{width:100%;display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:start;padding:9px;border:1px solid var(--mdfa-line)!important;border-radius:6px;background:#fff!important;color:#56466f!important;text-align:left;cursor:pointer}.mdfa-reader-assessments button+button,.mdfa-reader-assessments a+a,.mdfa-reader-assessments button+a,.mdfa-reader-assessments a+button{margin-top:6px}.mdfa-reader-assessments button>span,.mdfa-reader-assessments a>span{color:#7b3ed0;font-size:11px}.mdfa-reader-assessments strong{display:block;color:#4a277f;font-size:8px}.mdfa-reader-assessments small{display:block;margin-top:2px;color:#8a809b;font-size:6.7px;line-height:1.35}
.mdfa-practice-check-callout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;margin:20px 0;padding:15px 16px;border:1px solid #dccaf1;border-radius:8px;background:#faf6ff}.mdfa-practice-check-callout h3{margin:4px 0 4px;color:#39166f;font-family:"Cormorant Garamond",Georgia,serif;font-size:20px}.mdfa-practice-check-callout p{margin:0!important;color:#756988!important;font-family:"Roboto",Arial,sans-serif!important;font-size:8.5px!important}

.mdfa-final-integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.mdfa-final-integration-field{display:flex;flex-direction:column;padding:13px;border:1px solid var(--mdfa-line);border-radius:8px;background:#fff}.mdfa-final-integration-field span{margin-bottom:7px;color:#4b2781;font-size:8px;font-weight:700}.mdfa-final-integration-field textarea{width:100%;min-height:108px;padding:10px;border:1px solid #e2d9eb;border-radius:6px;background:#fdfcff;color:#51466a;font-family:"Roboto",Arial,sans-serif;font-size:16px;line-height:1.5;resize:vertical}.mdfa-final-integration-field textarea:focus{outline:2px solid rgba(117,18,230,.16);border-color:#c6a9e8}.mdfa-final-integration-confirm{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.mdfa-final-integration-confirm label{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start;padding:13px;border:1px solid #ded3ea;border-radius:8px;background:#faf7ff;cursor:pointer}.mdfa-final-integration-confirm input{width:17px;height:17px;margin:1px 0 0;accent-color:var(--mdfa-violet)}.mdfa-final-integration-confirm strong{display:block;color:#3f2377;font-size:9px}.mdfa-final-integration-confirm small{display:block;margin-top:3px;color:#817491;font-size:7.5px;line-height:1.45}

@container mdfa-portal (max-width: 920px){
  .mdfa-assessment-summary{grid-template-columns:1fr}.mdfa-assessment-module-grid{grid-template-columns:1fr}.mdfa-assessment-capstone{grid-template-columns:1fr}.mdfa-final-integration-grid{grid-template-columns:1fr}.mdfa-assessment-head{grid-template-columns:1fr}.mdfa-assessment-head aside{width:100%}
}
@container mdfa-portal (max-width: 680px){
  .mdfa-assessment-summary-stats{grid-template-columns:1fr}.mdfa-assessment-summary-stats>div{border-right:0;border-bottom:1px solid #eee8f5}.mdfa-assessment-summary-stats>div:last-child{border-bottom:0}.mdfa-assessment-list>div{grid-template-columns:1fr}.mdfa-assessment-list .mdfa-btn{width:100%}.mdfa-assessment-credential{grid-template-columns:1fr}.mdfa-assessment-question{padding:15px 13px}.mdfa-assessment-question legend{grid-template-columns:28px minmax(0,1fr)}.mdfa-assessment-question legend small{grid-column:2}.mdfa-assessment-options{padding-left:0}.mdfa-assessment-submit{grid-template-columns:1fr}.mdfa-assessment-submit>div:last-child{display:grid;grid-template-columns:1fr}.mdfa-assessment-submit .mdfa-btn{width:100%}.mdfa-assessment-score{grid-template-columns:1fr}.mdfa-assessment-score>span{min-height:82px}.mdfa-assessment-result-map{grid-template-columns:1fr}.mdfa-assessment-result-actions{display:grid;grid-template-columns:1fr}.mdfa-final-integration-confirm{grid-template-columns:1fr}.mdfa-practice-check-callout{grid-template-columns:1fr}.mdfa-practice-check-callout .mdfa-btn{width:100%}
}

/* v1.20.1 assessment hotfix: readable type, stable controls, cleaner hierarchy */
.mdfa-assessments-page{max-width:1180px}
.mdfa-assessment-page-head p{font-size:14px;line-height:1.65;max-width:780px}
.mdfa-assessment-summary{padding:24px;gap:24px}
.mdfa-assessment-summary h2{font-size:32px;line-height:1.05}
.mdfa-assessment-summary p{font-size:14px;line-height:1.65}
.mdfa-assessment-summary-stats strong{font-size:24px}
.mdfa-assessment-summary-stats span{font-size:10px;line-height:1.45}
.mdfa-assessment-module-card>header{padding:18px 18px 15px}
.mdfa-assessment-module-card>header h3{font-size:24px;line-height:1.08}
.mdfa-assessment-module-card>header small{font-size:12px;line-height:1.4}
.mdfa-assessment-list>div{padding:15px 17px;gap:18px}
.mdfa-assessment-list b{font-size:14px;line-height:1.35}
.mdfa-assessment-list>div>div>span:not(.mdfa-assessment-state){font-size:12px;line-height:1.45;margin-top:4px}
.mdfa-assessment-state{margin-top:8px!important;padding:5px 8px;font-size:9.5px!important;line-height:1.2!important}
.mdfa-assessment-list .mdfa-btn{min-width:156px;font-size:11.5px;line-height:1.25;padding:10px 13px;white-space:normal}
.mdfa-assessment-capstone article{padding:24px}
.mdfa-assessment-capstone h2{font-size:32px}
.mdfa-assessment-capstone p{font-size:14px;line-height:1.65}
.mdfa-assessment-credential{padding:22px 23px}
.mdfa-assessment-credential h2{font-size:28px}
.mdfa-assessment-credential p{font-size:14px;line-height:1.65}
.mdfa-assessment-head{margin:18px 0 24px}
.mdfa-assessment-head h1{font-size:42px;line-height:1.02}
.mdfa-assessment-head p{font-size:12px;line-height:1.55}
.mdfa-assessment-head aside{min-width:190px;padding:14px 16px}
.mdfa-assessment-head aside strong{font-size:22px}
.mdfa-assessment-head aside small{font-size:11px;line-height:1.4}
.mdfa-assessment-question-list{gap:16px}
.mdfa-assessment-question{padding:21px 20px}
.mdfa-assessment-question legend{grid-template-columns:34px minmax(0,1fr) auto;gap:12px;font-size:16px;line-height:1.5}
.mdfa-assessment-question legend>span{width:30px;height:30px;font-size:10px}
.mdfa-assessment-question legend small{font-size:9.5px;line-height:1.35;padding-top:6px}
.mdfa-assessment-options{gap:9px;margin-top:17px;padding-left:46px}
.mdfa-assessment-options label{grid-template-columns:21px minmax(0,1fr);gap:10px;padding:12px 13px;font-size:15px;line-height:1.5;min-height:48px}
.mdfa-assessment-options input{width:18px;height:18px}
.mdfa-assessment-submit{padding:17px 18px;gap:20px}
.mdfa-assessment-submit strong{font-size:13px;line-height:1.35}
.mdfa-assessment-submit span{font-size:12px;line-height:1.45}
.mdfa-assessment-submit .mdfa-btn,.mdfa-assessment-result-actions .mdfa-btn,.mdfa-assessment-capstone .mdfa-btn,.mdfa-assessment-credential .mdfa-btn{font-size:11.5px;padding:11px 14px}
.mdfa-assessment-score{grid-template-columns:145px minmax(0,1fr)}
.mdfa-assessment-score>span{font-size:38px}
.mdfa-assessment-score h2{font-size:34px}
.mdfa-assessment-score p{font-size:13px;line-height:1.5}
.mdfa-assessment-result-map p{font-size:13px;line-height:1.6}
.mdfa-review-links strong{font-size:12px;line-height:1.35}
.mdfa-review-links span{font-size:10.5px;line-height:1.4}
.mdfa-answer-review{padding:17px}
.mdfa-answer-review header strong{font-size:14px;line-height:1.5}
.mdfa-answer-review header>span{font-size:10px}
.mdfa-answer-review p{font-size:13px;line-height:1.55}
.mdfa-answer-review>div{font-size:13px;line-height:1.65;padding:12px}
.mdfa-answer-review>button{font-size:10.5px;line-height:1.35}
.mdfa-final-integration-field>span{font-size:13px}
.mdfa-final-integration-field textarea{font-size:16px;line-height:1.55}
.mdfa-final-integration-confirm label{font-size:14px;line-height:1.5}
.mdfa-practice-check-callout p{font-size:13px;line-height:1.6}

@media (max-width:760px){
  .mdfa-assessment-page-head h1{font-size:34px;line-height:1.04}
  .mdfa-assessment-page-head p{font-size:15px}
  .mdfa-assessment-summary{padding:18px}
  .mdfa-assessment-summary h2{font-size:28px}
  .mdfa-assessment-summary p{font-size:15px}
  .mdfa-assessment-summary-stats strong{font-size:23px}
  .mdfa-assessment-summary-stats span{font-size:10px}
  .mdfa-assessment-module-card>header h3{font-size:25px}
  .mdfa-assessment-module-card>header small{font-size:12px}
  .mdfa-assessment-list b{font-size:14px}
  .mdfa-assessment-list>div>div>span:not(.mdfa-assessment-state){font-size:12px}
  .mdfa-assessment-state{font-size:9.5px!important}
  .mdfa-assessment-list .mdfa-btn{width:100%;min-width:0;font-size:12px;padding:12px 14px}
  .mdfa-assessment-capstone p,.mdfa-assessment-credential p{font-size:14px}
  .mdfa-assessment-head h1{font-size:34px}
  .mdfa-assessment-head p{font-size:12px}
  .mdfa-assessment-question{padding:17px 14px}
  .mdfa-assessment-question legend{grid-template-columns:32px minmax(0,1fr);font-size:16px;line-height:1.5}
  .mdfa-assessment-question legend small{grid-column:2;font-size:10px}
  .mdfa-assessment-options{padding-left:0}
  .mdfa-assessment-options label{font-size:16px;line-height:1.45;padding:12px;min-height:52px}
  .mdfa-assessment-submit strong{font-size:14px}
  .mdfa-assessment-submit span{font-size:13px}
  .mdfa-assessment-submit .mdfa-btn{font-size:12px;padding:13px 15px}
  .mdfa-answer-review header strong,.mdfa-answer-review p,.mdfa-answer-review>div{font-size:14px}
  .mdfa-final-integration-field textarea{font-size:16px}
}
.mdfa-assessments-page button,
.mdfa-assessments-page input,
.mdfa-assessments-page label,
.mdfa-assessments-page textarea{position:relative;z-index:2;pointer-events:auto}

/* =========================================================
   v1.20.2 portal-wide readability + layout repair
   Fixes inherited mockup-scale type, Elementor-width squeeze,
   card text clipping, and undersized interactive targets.
   ========================================================= */
.mdfa-root{
  width:min(1380px,calc(100vw - 56px));
  max-width:1380px;
  margin-left:50%;
  margin-right:0;
  transform:translateX(-50%);
  font-size:14px;
  line-height:1.62;
}
.mdfa-root button{white-space:normal}

/* Global Academy chrome */
.mdfa-brand{font-size:14px;line-height:1.2}
.mdfa-brand small{font-size:11px;line-height:1.4;margin-top:4px}
.mdfa-nav{gap:25px;font-size:12.5px}
.mdfa-nav a{font-size:12.5px;line-height:1.35;padding:10px 0}
.mdfa-save-state{font-size:10px;line-height:1.3}
.mdfa-save-state b{font-size:12px}
.mdfa-user{font-size:12px}
.mdfa-avatar{font-size:10.5px}
.mdfa-course-hub-label{font-size:10px}
.mdfa-cosmic{font-size:9.8px;line-height:1.35;gap:11px}
.mdfa-cosmic button{font-size:9px;padding:6px 9px}

/* Shared labels + controls */
.mdfa-eyebrow,.mdfa-section-title{font-size:10.5px;line-height:1.3}
.mdfa-section-head small{font-size:9.5px;line-height:1.35}
.mdfa-tiny{font-size:9.5px;line-height:1.35}
.mdfa-btn{font-size:11.5px;line-height:1.3;padding:11px 15px;min-height:38px}
.mdfa-root .mdfa-input,
.mdfa-root .mdfa-select,
.mdfa-root .mdfa-textarea{font-size:14px;line-height:1.5}
.mdfa-field label{font-size:10px;line-height:1.35}

/* Hero */
.mdfa-hero-copy{font-size:13px;line-height:1.7;max-width:760px}
.mdfa-symbol-line{font-size:10.5px;line-height:1.4;gap:10px 19px}
.mdfa-hero-tool strong{font-size:12px;line-height:1.35}
.mdfa-hero-tool small{font-size:9.5px;line-height:1.35}

/* Progress + course navigation */
.mdfa-focus-title{font-size:21px;line-height:1.1}
.mdfa-saved-copy{font-size:11.5px;line-height:1.45}
.mdfa-phase{font-size:9.5px;line-height:1.35}
.mdfa-tabs{gap:4px;padding:8px}
.mdfa-tab{font-size:11px!important;line-height:1.35;padding:10px 12px!important}
.mdfa-course-nav .mdfa-tab{font-size:11px!important;padding:10px 11px!important}

/* Learning path: still compact, no longer microscopic */
.mdfa-path{gap:10px}
.mdfa-module-tile{min-height:118px;padding:12px 10px 12px}
.mdfa-module-num{font-size:9px;line-height:1.3}
.mdfa-module-icon{height:28px;margin:8px 0 7px}
.mdfa-module-icon svg{width:23px;height:23px}
.mdfa-module-title{font-size:10.5px;line-height:1.38;letter-spacing:-.01em}
.mdfa-module-tile.is-done:before{font-size:10px}

/* Start-page working areas */
.mdfa-card h3{font-size:11.5px;line-height:1.35}
.mdfa-card p{font-size:13px;line-height:1.65}
.mdfa-checklist li{font-size:12.5px;line-height:1.45;padding:10px 0}
.mdfa-check{width:20px;height:20px;font-size:10px}
.mdfa-current h2{font-size:30px;line-height:1.04}
.mdfa-current p,.mdfa-current .mdfa-current-intro{font-size:13px!important;line-height:1.65!important}
.mdfa-current .mdfa-current-progress-copy{font-size:12.5px;line-height:1.6}
.mdfa-current .mdfa-learn{font-size:12px;line-height:1.65}
.mdfa-root .mdfa-current .mdfa-continue-btn{font-size:11.5px!important}

/* Study Tools: allow real wrapping; never clip a sentence. */
.mdfa-study-tools-grid{gap:14px}
.mdfa-study-tool{min-height:190px;padding:20px 18px 17px;overflow:visible}
.mdfa-study-tool>strong{font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.mdfa-study-tool>span:not(.mdfa-study-tool-icon){font-size:13px;line-height:1.6;white-space:normal!important;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.mdfa-study-tool>em{font-size:9.5px;line-height:1.35;white-space:normal}

/* Explore + Practice */
.mdfa-explore-grid{gap:16px}
.mdfa-explore-card{min-height:244px;padding:24px 23px 20px}
.mdfa-explore-kicker{font-size:9.5px;line-height:1.3}
.mdfa-explore-card>strong{font-size:27px;line-height:1.05}
.mdfa-explore-copy{font-size:13px;line-height:1.65;white-space:normal!important;overflow-wrap:anywhere}
.mdfa-explore-card>em{font-size:9.5px;line-height:1.35}

/* Sources + return */
.mdfa-sources-home{padding:19px 4px}
.mdfa-sources-home-copy small{font-size:9.5px;line-height:1.3}
.mdfa-sources-home-copy strong{font-size:13px;line-height:1.45}
.mdfa-sources-home-copy>span{font-size:12.5px;line-height:1.55}
.mdfa-sources-home>em{font-size:9.5px;line-height:1.3}
.mdfa-return-heading small{font-size:9.5px;line-height:1.35}
.mdfa-return-heading h3{font-size:15px;line-height:1.3}
.mdfa-return-action strong{font-size:11.5px;line-height:1.35}
.mdfa-return-action small{font-size:11px;line-height:1.55}
.mdfa-return-system-note{font-size:11px;line-height:1.6}

/* Keep assessment hotfix sizing intact and improve in-module assessment links. */
.mdfa-reader-assessments strong{font-size:12px;line-height:1.4}
.mdfa-reader-assessments small{font-size:10.5px;line-height:1.45}
.mdfa-reader-assessments button,.mdfa-reader-assessments a{padding:11px 12px;text-decoration:none!important}
.mdfa-practice-check-callout p{font-size:13px!important;line-height:1.6!important}

/* Footer should be quiet, not illegible. */
.mdfa-footer,.mdfa-footer a{font-size:9.5px;line-height:1.5}

@media(max-width:1050px){
  .mdfa-root{width:calc(100vw - 32px)}
  .mdfa-nav,.mdfa-nav a{font-size:11.5px}
  .mdfa-module-title{font-size:10px}
}
@media(max-width:820px){
  .mdfa-root{width:calc(100vw - 20px);padding:18px 14px 44px}
  .mdfa-brand{font-size:13px}
  .mdfa-brand small{font-size:10.5px}
  .mdfa-root .mdfa-input,.mdfa-root .mdfa-select,.mdfa-root .mdfa-textarea{font-size:16px}
  .mdfa-tabs{padding:6px}
  .mdfa-tab,.mdfa-course-nav .mdfa-tab{font-size:11.5px!important;min-height:42px}
  .mdfa-path{gap:9px}
  .mdfa-module-tile{min-height:122px}
  .mdfa-module-title{font-size:11px}
  .mdfa-study-tool{min-height:0}
  .mdfa-explore-card{min-height:0}
}
@media(max-width:540px){
  .mdfa-root{width:calc(100vw - 12px);padding-left:12px;padding-right:12px}
  .mdfa-hero-copy{font-size:14px}
  .mdfa-symbol-line{font-size:11px}
  .mdfa-section-title{font-size:11px}
  .mdfa-study-tool>strong{font-size:13px}
  .mdfa-study-tool>span:not(.mdfa-study-tool-icon){font-size:14px}
  .mdfa-explore-card>strong{font-size:25px}
  .mdfa-explore-copy{font-size:14px}
  .mdfa-sources-home-copy strong{font-size:13.5px}
  .mdfa-sources-home-copy>span{font-size:13px}
  .mdfa-return-action strong{font-size:12px}
  .mdfa-return-action small{font-size:12px}
}

/* v1.20.3+ assessment routing reliability */
.mdfa-back-link{text-decoration:none!important}
.mdfa-reader-assessments a{box-sizing:border-box;text-decoration:none!important}

/* v1.20.4 assessment focus view: when a quiz/final is open, replace the long overview instead of rendering the test below it. */
.mdfa-assessments-page.is-assessment-open .mdfa-assessment-page-head{display:none!important}
.mdfa-assessments-page.is-assessment-open [data-assessment-workspace]{margin-top:0}
.mdfa-assessments-page.is-assessment-open .mdfa-assessment-workspace{margin-top:0}

/* =========================================================
   v1.20.5 interactive workbook repair
   ========================================================= */
.mdfa-workbook-status{
  font-size:10px;
  line-height:1.35;
  padding:7px 10px;
}
.mdfa-reader-content.is-workbook .mdfa-article-body{max-width:980px}
.mdfa-workbook-copy{
  font-size:15px!important;
  line-height:1.7!important;
}
.mdfa-workbook-note{padding:16px 18px}
.mdfa-workbook-note h3{font-size:23px;line-height:1.12}
.mdfa-workbook-field,
.mdfa-workbook-table-wrap{
  margin:0 0 18px;
  padding:18px;
  border:1px solid #dfd5eb;
  border-radius:9px;
  background:#fff;
}
.mdfa-workbook-field>label{
  font-size:20px;
  line-height:1.22;
  margin-bottom:11px;
}
.mdfa-workbook-subprompt{
  margin:15px 0 9px;
  color:#3d1a78;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:18px;
  line-height:1.25;
  font-weight:600;
}
.mdfa-workbook-textarea,
.mdfa-workbook-input,
.mdfa-workbook-table-input{
  width:100%;
  border:1px solid #d8cde6;
  border-radius:7px;
  background:#fcfbff;
  color:#34294c;
  outline:0;
  font-family:Roboto,Arial,sans-serif;
  font-size:16px;
  line-height:1.55;
}
.mdfa-workbook-textarea{min-height:112px;resize:vertical;padding:13px 14px}
.mdfa-workbook-input{min-height:48px;padding:10px 12px}
.mdfa-workbook-table-input{min-height:68px;resize:vertical;padding:9px 10px}
.mdfa-workbook-textarea:focus,
.mdfa-workbook-input:focus,
.mdfa-workbook-table-input:focus{
  border-color:#8d57d5;
  box-shadow:0 0 0 3px #f3edff;
}
.mdfa-workbook-choices{display:flex;flex-wrap:wrap;gap:8px}
.mdfa-workbook-choices button{
  min-height:40px;
  padding:9px 12px;
  border:1px solid #d9cfea;
  border-radius:999px;
  background:#fff;
  color:#57476e;
  font-size:13px;
  line-height:1.25;
  cursor:pointer;
}
.mdfa-workbook-choices button:hover{border-color:#a987d7;background:#faf7ff}
.mdfa-workbook-choices button.is-active{background:#7512e6;border-color:#7512e6;color:#fff}
.mdfa-workbook-saved{
  margin-top:10px;
  color:#776a8c;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:10px;
  line-height:1.35;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.mdfa-workbook-saved[data-state="saving"]{color:#8a641e}
.mdfa-workbook-saved[data-state="saved"]{color:#5a4a72}
.mdfa-workbook-check{
  display:flex!important;
  align-items:flex-start;
  gap:12px;
  margin:0!important;
  font-family:Roboto,Arial,sans-serif!important;
  font-size:15px!important;
  line-height:1.55!important;
  color:#453a5c!important;
  font-weight:500!important;
  cursor:pointer;
}
.mdfa-workbook-check input{
  width:20px;
  height:20px;
  flex:0 0 20px;
  margin:2px 0 0;
  accent-color:#7512e6;
}
.mdfa-workbook-table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.mdfa-workbook-table{width:100%;min-width:660px;border-collapse:collapse;background:#fff}
.mdfa-workbook-table th,
.mdfa-workbook-table td{border:1px solid #e4dced;padding:11px 12px;text-align:left;vertical-align:top}
.mdfa-workbook-table th{
  background:#f8f4ff;
  color:#3d1a78;
  font-size:12px;
  line-height:1.4;
  font-weight:700;
}
.mdfa-workbook-table td{color:#554b67;font-size:14px;line-height:1.5}
.mdfa-workbook-table td:first-child:not(:has(textarea)){font-weight:650;color:#3f3260}

@media (max-width:700px){
  .mdfa-workbook-field,.mdfa-workbook-table-wrap{padding:15px 13px}
  .mdfa-workbook-field>label{font-size:19px}
  .mdfa-workbook-textarea,
  .mdfa-workbook-input,
  .mdfa-workbook-table-input{font-size:16px!important}
  .mdfa-workbook-choices button{font-size:13px;min-height:42px}
  .mdfa-workbook-table{min-width:620px}
  .mdfa-workbook-copy{font-size:15px!important}
}
.mdfa-workbook-subfield{margin-top:13px}
.mdfa-workbook-subfield>label{display:block;margin:0 0 7px;color:#3d1a78;font-size:13px;font-weight:700;line-height:1.35}
.mdfa-workbook-inline-sentence{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 9px;
  color:#453a5c;font-size:15px;line-height:1.65;
}
.mdfa-workbook-inline-input{
  min-width:170px;flex:1 1 190px;min-height:42px;
  padding:8px 10px;border:1px solid #d8cde6;border-radius:7px;
  background:#fcfbff;color:#34294c;outline:0;font-size:16px;line-height:1.4;
}
.mdfa-workbook-inline-input:focus{border-color:#8d57d5;box-shadow:0 0 0 3px #f3edff}
@media (max-width:700px){
  .mdfa-workbook-inline-sentence{font-size:15px}
  .mdfa-workbook-inline-input{font-size:16px!important;min-width:145px}
}

/* ===== v1.20.6 source-faithful digital student packs ===== */
.mdfa-workbook-pack-nav{display:grid;gap:8px;margin:18px 0 14px;padding-top:16px;border-top:1px solid #eee8f5}
.mdfa-workbook-pack-nav>.mdfa-tiny{margin-bottom:2px}
.mdfa-workbook-pack-nav button{display:grid;gap:3px;width:100%;padding:11px 12px;border:1px solid #e1d8ed;border-radius:8px;background:#fff;color:#38245e;text-align:left;cursor:pointer;transition:.16s ease}
.mdfa-workbook-pack-nav button strong{font-family:Roboto,Arial,sans-serif;font-size:13px;line-height:1.3;font-weight:700}
.mdfa-workbook-pack-nav button span{font-family:"Roboto Mono",ui-monospace,monospace;font-size:10px;line-height:1.4;color:#88779f}
.mdfa-workbook-pack-nav button:hover{border-color:#bea2e6;background:#fbf9ff}
.mdfa-workbook-pack-nav button.is-active{border-color:#8c52d9;background:#f7f1ff;box-shadow:inset 3px 0 0 #7512e6}
.mdfa-workbook-page-nav button{display:flex!important;align-items:flex-start!important;gap:8px!important}
.mdfa-workbook-page-nav button>span{flex:0 0 auto;color:#7512e6;font-family:"Roboto Mono",ui-monospace,monospace}
.mdfa-reader-content.is-authentic-workbook .mdfa-article-body{max-width:1020px}
.mdfa-pack-form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;align-items:start}
.mdfa-pack-field{grid-column:1/-1;position:relative;padding:17px 18px 14px;border:1px solid #e2d9ed;border-radius:9px;background:#fff}
.mdfa-pack-field.is-half{grid-column:span 6}.mdfa-pack-field.is-third{grid-column:span 4}.mdfa-pack-field.is-full{grid-column:1/-1}
.mdfa-pack-field>label{display:block;margin:0 0 9px;color:#3d1a78;font-family:"Cormorant Garamond",Georgia,serif;font-size:21px;line-height:1.16;font-weight:600}
.mdfa-pack-field .mdfa-workbook-input,.mdfa-pack-field .mdfa-workbook-textarea,.mdfa-pack-field .mdfa-workbook-table-input{font-size:16px}
.mdfa-pack-field .mdfa-workbook-textarea{min-height:118px}
.mdfa-pack-source-details{margin-top:18px;border:1px solid #e4dced;border-radius:9px;background:#fbf9ff;overflow:hidden}
.mdfa-pack-source-details summary{cursor:pointer;padding:13px 16px;color:#5f447e;font-family:"Roboto Mono",ui-monospace,monospace;font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.mdfa-pack-source-details>div{padding:0 16px 17px;color:#675c78;font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.7;white-space:normal}
.mdfa-workbook-reference-page{padding:20px 22px;border:1px solid #e4dced;border-radius:10px;background:#fff}
.mdfa-pack-source-copy{margin-top:10px;color:#574c67;font-family:Roboto,Arial,sans-serif;font-size:15px;line-height:1.72}
.mdfa-pack-row-label{font-weight:700!important;color:#3b2660!important;background:#fbf9ff}
.mdfa-pack-checkcell{text-align:center!important;vertical-align:middle!important}
.mdfa-pack-checkcell input{width:20px;height:20px;accent-color:#7512e6}
.mdfa-pack-table select.mdfa-workbook-table-input{width:100%;min-height:46px;padding:8px 9px;border:1px solid #ddd3e9;border-radius:6px;background:#fcfbff;color:#43375a}
.mdfa-reader-content.is-authentic-workbook .mdfa-workbook-status{margin-top:8px}
.mdfa-reader-content.is-authentic-workbook .mdfa-article-deck{max-width:820px}
@media(max-width:760px){
  .mdfa-pack-form-grid{display:block}
  .mdfa-pack-field{margin-bottom:13px;padding:15px 13px}
  .mdfa-pack-field>label{font-size:20px}
  .mdfa-pack-field .mdfa-workbook-input,.mdfa-pack-field .mdfa-workbook-textarea,.mdfa-pack-field .mdfa-workbook-table-input,.mdfa-pack-table select.mdfa-workbook-table-input{font-size:16px!important}
  .mdfa-workbook-reference-page{padding:16px 14px}
  .mdfa-pack-source-copy{font-size:15px}
  .mdfa-pack-source-details summary{font-size:10px}
}

/* ===== v1.20.9 slim PDF workbook page + digital answer layer ===== */
.mdfa-reader-content.is-authentic-workbook .mdfa-article-body{max-width:1060px}
.mdfa-workbook-document{margin:4px 0 30px;padding:18px;border:1px solid #ded4e9;border-radius:12px;background:#faf8fd}
.mdfa-workbook-document-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 14px;padding:0 2px}
.mdfa-workbook-document-head>div:first-child{display:grid;gap:4px}
.mdfa-workbook-document-head strong{color:#28134f;font-family:"Cormorant Garamond",Georgia,serif;font-size:22px;line-height:1.18;font-weight:600}
.mdfa-workbook-document-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.mdfa-workbook-document-actions a{display:inline-flex;align-items:center;min-height:38px;padding:7px 11px;border:1px solid #d8cde7;border-radius:7px;background:#fff;color:#5f2aa7;font-family:"Roboto Mono",ui-monospace,monospace;font-size:10px;font-weight:600;letter-spacing:.035em;text-decoration:none;text-transform:uppercase}
.mdfa-workbook-document-actions a:hover{border-color:#a97be2;background:#f7f1ff;color:#4d168f}
.mdfa-workbook-document-frame{display:block;width:min(100%,800px);margin:0 auto;border:1px solid #d6cbe2;border-radius:4px;background:#fff;box-shadow:0 16px 42px rgba(45,24,76,.10);overflow:hidden;text-decoration:none;cursor:zoom-in}
.mdfa-workbook-document-frame img{display:block;width:100%;height:auto;margin:0;background:#fff}
.mdfa-workbook-document-frame.is-pdf{height:min(78vh,980px);min-height:720px;cursor:default}
.mdfa-workbook-document-frame.is-pdf iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.mdfa-workbook-document-caption{max-width:800px;margin:12px auto 0;color:#726580;font-family:Roboto,Arial,sans-serif;font-size:13px;line-height:1.6;text-align:center}
.mdfa-workbook-answer-layer{margin:0 0 22px;padding:22px;border:1px solid #d9ccea;border-radius:12px;background:#fff;box-shadow:0 8px 26px rgba(52,25,88,.04)}
.mdfa-workbook-answer-layer.is-reference{background:#fbf9ff}
.mdfa-workbook-answer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 18px;padding:0 0 17px;border-bottom:1px solid #eee7f5}
.mdfa-workbook-answer-head>div{max-width:730px}
.mdfa-workbook-answer-head h3{margin:4px 0 5px;color:#28134f;font-family:"Cormorant Garamond",Georgia,serif;font-size:30px;line-height:1.05;font-weight:600}
.mdfa-workbook-answer-head p{margin:0;color:#665a75;font-family:Roboto,Arial,sans-serif;font-size:14px;line-height:1.65}
.mdfa-workbook-answer-save{flex:0 0 auto;padding:7px 9px;border:1px solid #e3d8f0;border-radius:999px;background:#f8f3ff;color:#6c32b4;font-family:"Roboto Mono",ui-monospace,monospace;font-size:9px;font-weight:600;letter-spacing:.055em;text-transform:uppercase}
.mdfa-pack-accessible-copy{margin-top:16px;background:#fff}
.mdfa-reader-content.is-authentic-workbook .mdfa-pack-form-grid{margin-top:0}
.mdfa-reader-content.is-authentic-workbook .mdfa-pack-field{background:#fdfcff}
@media(max-width:760px){
  .mdfa-workbook-document{margin-bottom:22px;padding:10px;border-radius:9px}
  .mdfa-workbook-document-head{align-items:flex-start;display:grid;gap:10px;margin-bottom:10px}
  .mdfa-workbook-document-head strong{font-size:20px}
  .mdfa-workbook-document-actions{justify-content:flex-start}
  .mdfa-workbook-document-actions a{font-size:9px;min-height:36px}
  .mdfa-workbook-document-frame{width:100%;box-shadow:0 10px 28px rgba(45,24,76,.08)}
  .mdfa-workbook-document-frame.is-pdf{height:620px;min-height:520px}
  .mdfa-workbook-document-caption{padding:0 4px;font-size:13px;text-align:left}
  .mdfa-workbook-answer-layer{padding:17px 13px;border-radius:9px}
  .mdfa-workbook-answer-head{display:grid;gap:10px;margin-bottom:15px;padding-bottom:14px}
  .mdfa-workbook-answer-head h3{font-size:27px}
  .mdfa-workbook-answer-head p{font-size:14px}
  .mdfa-workbook-answer-save{justify-self:start}
}

/* ===== v1.20.11 Media Library PDF connection state ===== */
.mdfa-workbook-document.is-missing{border-style:dashed;background:#fffaf8}
.mdfa-workbook-missing{max-width:800px;margin:0 auto;padding:28px 24px;text-align:center}
.mdfa-workbook-missing strong{display:block;margin:6px 0 8px;color:#28134f;font-family:"Cormorant Garamond",Georgia,serif;font-size:28px;line-height:1.15}
.mdfa-workbook-missing p{max-width:680px;margin:0 auto;color:#6d5d72;font-size:14px;line-height:1.65}


/* ===== v1.20.12 split-view workbook workspace ===== */
.mdfa-reader-content.is-authentic-workbook .mdfa-article-body{
  width:100%;
  max-width:none;
  padding:18px 18px 24px;
}
.mdfa-workbook-article-head{padding-bottom:20px}
.mdfa-workbook-article-head h2{max-width:none}
.mdfa-workbook-page-meta{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:11px;
}
.mdfa-workbook-page-meta span{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:4px 8px;
  border:1px solid #e4daef;
  border-radius:999px;
  background:#fff;
  color:#765f91;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:9px;
  line-height:1.2;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.mdfa-workbook-split{
  display:grid;
  grid-template-columns:minmax(0,46fr) minmax(0,54fr);
  gap:18px;
  align-items:start;
}
.mdfa-workbook-pane{
  min-width:0;
  border:1px solid #ded4e9;
  border-radius:11px;
  background:#fff;
  overflow:hidden;
}
.mdfa-workbook-preview-pane{
  position:sticky;
  top:18px;
  align-self:start;
  background:#faf8fd;
}
body.admin-bar .mdfa-workbook-preview-pane{top:50px}
.mdfa-workbook-pane-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:64px;
  padding:12px 14px;
  border-bottom:1px solid #e9e1f1;
  background:#fdfbff;
}
.mdfa-workbook-pane-head>div:first-child{display:grid;gap:3px;min-width:0}
.mdfa-workbook-pane-head strong{
  color:#30145f;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:19px;
  line-height:1.12;
  font-weight:600;
}
.mdfa-workbook-preview-pane .mdfa-workbook-document-actions{gap:6px}
.mdfa-workbook-preview-pane .mdfa-workbook-document-actions a{
  min-height:32px;
  padding:6px 8px;
  font-size:8.5px;
}
.mdfa-workbook-preview-pane .mdfa-workbook-document-frame{
  width:100%;
  max-width:none;
  margin:0;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.mdfa-workbook-preview-pane .mdfa-workbook-document-frame.is-pdf{
  height:auto;
  min-height:0;
  aspect-ratio:8.5 / 11;
  background:#fff;
}
.mdfa-workbook-preview-pane .mdfa-workbook-document-frame.is-pdf iframe{width:100%;height:100%}
.mdfa-workbook-pane-note{
  padding:9px 12px 10px;
  border-top:1px solid #ece5f3;
  color:#847792;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:8.5px;
  line-height:1.35;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.mdfa-workbook-response-pane{padding-bottom:14px}
.mdfa-workbook-response-head{background:#fff}
.mdfa-workbook-response-head strong{font-size:23px}
.mdfa-workbook-response-intro{
  margin:0!important;
  padding:13px 15px 14px;
  border-bottom:1px solid #eee7f5;
  color:#6d627c!important;
  font-family:Roboto,Arial,sans-serif!important;
  font-size:12.5px!important;
  line-height:1.55!important;
}
.mdfa-workbook-response-pane .mdfa-pack-form-grid{
  display:grid;
  gap:10px;
  padding:12px;
}
.mdfa-workbook-response-pane .mdfa-pack-field{
  padding:14px 14px 12px;
  border-radius:8px;
  box-shadow:none;
}
.mdfa-workbook-response-pane .mdfa-pack-field>label{font-size:18px}
.mdfa-workbook-response-pane .mdfa-workbook-textarea{min-height:102px}
.mdfa-workbook-response-pane .mdfa-workbook-saved{font-size:8.5px}
.mdfa-workbook-reference-message{padding:18px 16px 20px}
.mdfa-workbook-reference-message p{
  margin:0!important;
  color:#655a75!important;
  font-family:Roboto,Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1.65!important;
}
.mdfa-workbook-preview-pane.is-missing{border-style:dashed;background:#fffaf8}
.mdfa-workbook-preview-pane.is-missing .mdfa-workbook-missing{padding:52px 22px}
.mdfa-workbook-preview-pane.is-missing .mdfa-workbook-missing>strong{font-size:25px}
.mdfa-workbook-mobile-tabs{display:none}
.mdfa-pack-accessible-copy{
  margin:18px 0 0;
  width:100%;
}

@container mdfa-portal (max-width:1050px){
  .mdfa-workbook-split{grid-template-columns:minmax(0,44fr) minmax(0,56fr);gap:12px}
  .mdfa-workbook-pane-head{align-items:flex-start;display:grid}
  .mdfa-workbook-preview-pane .mdfa-workbook-document-actions{justify-content:flex-start}
  .mdfa-workbook-response-pane .mdfa-pack-field.is-half{grid-column:1/-1}
}

@container mdfa-portal (max-width:760px){
  .mdfa-reader-content.is-authentic-workbook .mdfa-article-body{padding:12px 12px 20px}
  .mdfa-workbook-article-head{padding-bottom:18px}
  .mdfa-workbook-page-meta{gap:5px}
  .mdfa-workbook-page-meta span{font-size:8.5px}
  .mdfa-workbook-split{
    display:block;
    position:relative;
  }
  .mdfa-workbook-mobile-tabs{
    position:sticky;
    top:0;
    z-index:8;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4px;
    margin:0 0 10px;
    padding:4px;
    border:1px solid #ddd1eb;
    border-radius:9px;
    background:rgba(255,255,255,.96);
    box-shadow:0 6px 18px rgba(55,28,91,.08);
    backdrop-filter:blur(8px);
  }
  body.admin-bar .mdfa-workbook-mobile-tabs{top:32px}
  .mdfa-workbook-mobile-tabs button{
    min-height:42px;
    padding:9px 10px;
    border:0;
    border-radius:6px;
    background:transparent;
    color:#675778;
    font-family:"Roboto Mono",ui-monospace,monospace;
    font-size:10px;
    font-weight:650;
    letter-spacing:.025em;
    text-transform:uppercase;
    cursor:pointer;
  }
  .mdfa-workbook-mobile-tabs button.is-active{background:#f3ebff;color:#4b178a}
  .mdfa-workbook-preview-pane{position:static;top:auto}
  .mdfa-workbook-split.is-pane-designed .mdfa-workbook-response-pane{display:none}
  .mdfa-workbook-split.is-pane-response .mdfa-workbook-preview-pane{display:none}
  .mdfa-workbook-pane-head{display:flex;align-items:center}
  .mdfa-workbook-preview-pane .mdfa-workbook-document-actions{justify-content:flex-end}
  .mdfa-workbook-preview-pane .mdfa-workbook-document-frame.is-pdf{
    height:min(72vh,680px);
    min-height:480px;
    aspect-ratio:auto;
  }
  .mdfa-workbook-response-pane .mdfa-pack-form-grid{display:block;padding:10px}
  .mdfa-workbook-response-pane .mdfa-pack-field{margin-bottom:10px}
  .mdfa-workbook-response-pane .mdfa-pack-field:last-child{margin-bottom:0}
  .mdfa-workbook-response-intro{font-size:13.5px!important}
}

@container mdfa-portal (max-width:520px){
  .mdfa-workbook-pane-head{display:grid;gap:8px;padding:11px 12px}
  .mdfa-workbook-preview-pane .mdfa-workbook-document-actions{justify-content:flex-start}
  .mdfa-workbook-preview-pane .mdfa-workbook-document-frame.is-pdf{height:64vh;min-height:430px}
  .mdfa-workbook-response-pane .mdfa-pack-field>label{font-size:19px}
}

/* ===== v1.20.15 direct-write workbook page ===== */
.mdfa-reader-content.is-direct-workbook .mdfa-article-body{
  width:100%;
  max-width:860px;
  margin:0 auto;
  padding:18px 18px 24px;
}
.mdfa-workbook-write-shell{
  width:min(100%,790px);
  margin:0 auto 18px;
  border:1px solid #ddd3e8;
  border-radius:12px;
  background:#faf8fd;
  box-shadow:0 10px 28px rgba(47,25,80,.06);
  overflow:hidden;
}
.mdfa-workbook-write-shell.is-missing{border-style:dashed;background:#fffaf8}
.mdfa-workbook-write-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:68px;
  padding:11px 13px;
  border-bottom:1px solid #e7dfef;
  background:#fff;
}
.mdfa-workbook-write-toolbar>div:first-child{display:grid;gap:2px;min-width:0}
.mdfa-workbook-write-toolbar strong{
  overflow:hidden;
  color:#30145f;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:20px;
  line-height:1.1;
  font-weight:600;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mdfa-workbook-write-toolbar small{
  color:#806f92;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:8.5px;
  line-height:1.3;
  letter-spacing:.025em;
  text-transform:uppercase;
}
.mdfa-workbook-write-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.mdfa-workbook-write-actions>a,
.mdfa-workbook-mode-toggle button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 8px;
  border:1px solid #d9cee6;
  border-radius:7px;
  background:#fff;
  color:#5d3193;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:8.5px;
  line-height:1.1;
  letter-spacing:.025em;
  text-decoration:none;
  text-transform:uppercase;
  cursor:pointer;
}
.mdfa-workbook-mode-toggle{display:inline-flex;gap:2px;padding:2px;border:1px solid #dfd5ea;border-radius:8px;background:#f8f4fc}
.mdfa-workbook-mode-toggle button{border:0;background:transparent;color:#756684}
.mdfa-workbook-mode-toggle button.is-active{background:#fff;color:#5f22a9;box-shadow:0 1px 4px rgba(57,28,88,.12)}
.mdfa-workbook-write-stage{
  position:relative;
  width:100%;
  aspect-ratio:8.5/11;
  background:#fff;
  overflow:hidden;
}
/* v1.20.16: author display rules must never override HTML's hidden state. */
.mdfa-workbook-write-stage [hidden]{display:none!important}
.mdfa-workbook-write-stage>canvas,
.mdfa-wb-pdf-fallback{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#fff;
}
.mdfa-wb-direct-overlay{
  position:absolute;
  inset:0;
  z-index:3;
  transition:opacity .18s ease;
}
.mdfa-workbook-write-shell.is-original .mdfa-wb-direct-overlay{opacity:0;pointer-events:none}
.mdfa-wb-direct-field{display:none;position:absolute;z-index:3;min-width:12px;min-height:12px}
.mdfa-wb-direct-field.is-mapped{display:block}
.mdfa-wb-direct-field.is-unmapped{display:none!important}
.mdfa-wb-direct-input,
.mdfa-wb-direct-cell{
  box-sizing:border-box;
  width:100%;
  height:100%;
  margin:0!important;
  padding:4px 6px!important;
  border:1px solid rgba(118,66,176,.24)!important;
  border-radius:4px!important;
  outline:0;
  background:rgba(255,255,255,.52)!important;
  color:#332548!important;
  box-shadow:none!important;
  font-family:Roboto,Arial,sans-serif!important;
  font-size:12px!important;
  line-height:1.28!important;
  resize:none!important;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.mdfa-wb-direct-input:hover,
.mdfa-wb-direct-cell:hover{background:rgba(255,255,255,.75)!important;border-color:rgba(117,18,230,.38)!important}
.mdfa-wb-direct-input:focus,
.mdfa-wb-direct-cell:focus{background:rgba(255,255,255,.94)!important;border-color:#8641d3!important;box-shadow:0 0 0 2px rgba(134,65,211,.16)!important}
.mdfa-wb-direct-field.is-date .mdfa-wb-direct-input,
.mdfa-wb-direct-field.is-text .mdfa-wb-direct-input{padding:3px 5px!important;font-size:11px!important}
.mdfa-wb-direct-choices{
  display:flex!important;
  align-items:flex-start;
  align-content:flex-start;
  flex-wrap:wrap;
  gap:3px!important;
  width:100%;
  height:100%;
  overflow:auto;
}
.mdfa-wb-direct-choices button{
  min-height:20px!important;
  padding:2px 5px!important;
  border-color:rgba(111,61,168,.25)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.68)!important;
  color:#4c3567!important;
  font-size:8.5px!important;
  line-height:1.15!important;
  text-transform:none!important;
}
.mdfa-wb-direct-choices button:hover{background:rgba(255,255,255,.92)!important}
.mdfa-wb-direct-choices button.is-active{background:#6f22c8!important;border-color:#6f22c8!important;color:#fff!important}
.mdfa-wb-direct-check,
.mdfa-wb-direct-cell.is-check{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  min-width:22px;
  min-height:22px;
  padding:0;
  border:1px solid rgba(112,66,165,.28);
  border-radius:5px;
  background:rgba(255,255,255,.72);
  cursor:pointer;
}
.mdfa-wb-direct-check input,
.mdfa-wb-direct-cell.is-check input{position:absolute;opacity:0;pointer-events:none}
.mdfa-wb-direct-check span,
.mdfa-wb-direct-cell.is-check span{color:transparent;font-size:14px;font-weight:800}
.mdfa-wb-direct-check:has(input:checked),
.mdfa-wb-direct-cell.is-check:has(input:checked){background:#6e22c7;border-color:#6e22c7}
.mdfa-wb-direct-check:has(input:checked) span,
.mdfa-wb-direct-cell.is-check:has(input:checked) span{color:#fff}
.mdfa-wb-direct-table{
  display:grid;
  grid-template-columns:repeat(var(--mdfa-direct-cols),minmax(0,1fr));
  grid-template-rows:repeat(var(--mdfa-direct-rows),minmax(0,1fr));
  gap:2px;
  width:100%;
  height:100%;
}
.mdfa-wb-direct-table-spacer{display:block}
.mdfa-wb-direct-table textarea,
.mdfa-wb-direct-table select{min-width:0;min-height:0;padding:2px 3px!important;font-size:9px!important}
.mdfa-workbook-write-loading{
  position:absolute;
  inset:0;
  z-index:5;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:24px;
  background:rgba(250,248,253,.94);
  color:#5c4a6d;
  text-align:center;
}
.mdfa-workbook-write-loading strong{color:#35165f;font-family:"Cormorant Garamond",Georgia,serif;font-size:21px;font-weight:600}
.mdfa-workbook-write-loading span:not(.mdfa-workbook-loader){max-width:480px;font-size:12px;line-height:1.5}
.mdfa-workbook-loader{width:24px;height:24px;border:2px solid #e3d8ee;border-top-color:#7512e6;border-radius:50%;animation:mdfaWbSpin .8s linear infinite}
@keyframes mdfaWbSpin{to{transform:rotate(360deg)}}
.mdfa-workbook-write-stage.is-fallback .mdfa-workbook-write-loading{inset:auto 12px 12px;align-items:flex-start;gap:2px;padding:9px 11px;border:1px solid #eadff2;border-radius:7px;background:rgba(255,255,255,.94);text-align:left}
.mdfa-workbook-write-stage.is-fallback .mdfa-workbook-loader{display:none}
.mdfa-workbook-write-stage.is-fallback .mdfa-workbook-write-loading strong{font-size:15px}
.mdfa-workbook-write-note{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:8px 11px;
  border-top:1px solid #ece5f3;
  background:#fcfaff;
  color:#806f90;
  font-family:"Roboto Mono",ui-monospace,monospace;
  font-size:8px;
  line-height:1.35;
  letter-spacing:.025em;
  text-transform:uppercase;
}
.mdfa-workbook-backup-editor{
  width:min(100%,790px);
  margin:14px auto 0;
  border:1px solid #e2d8ec;
  border-radius:9px;
  background:#fff;
  overflow:hidden;
}
.mdfa-workbook-backup-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;cursor:pointer;list-style:none;color:#513272}
.mdfa-workbook-backup-editor>summary::-webkit-details-marker{display:none}
.mdfa-workbook-backup-editor>summary span{font-family:"Roboto Mono",ui-monospace,monospace;font-size:10px;font-weight:600;letter-spacing:.035em;text-transform:uppercase}
.mdfa-workbook-backup-editor>summary small{color:#8a7d96;font-family:Roboto,Arial,sans-serif;font-size:11px;font-weight:400;text-align:right}
.mdfa-workbook-backup-editor[open]>summary{border-bottom:1px solid #eee6f4;background:#fbf9fd}
.mdfa-workbook-backup-editor>.mdfa-pack-form-grid{padding:13px}
.mdfa-workbook-backup-editor .mdfa-pack-field{padding:13px 14px}
.mdfa-workbook-backup-editor .mdfa-pack-field>label{font-size:18px}
.mdfa-workbook-backup-editor .mdfa-workbook-textarea{min-height:82px}

@container mdfa-portal (max-width:760px){
  .mdfa-reader-content.is-direct-workbook .mdfa-article-body{padding:12px 10px 20px}
  .mdfa-workbook-write-shell{width:100%;border-radius:9px}
  .mdfa-workbook-write-toolbar{display:grid;align-items:start;padding:10px}
  .mdfa-workbook-write-toolbar strong{font-size:19px;white-space:normal}
  .mdfa-workbook-write-actions{justify-content:flex-start}
  .mdfa-workbook-write-actions>a,.mdfa-workbook-mode-toggle button{font-size:8px;min-height:30px}
  .mdfa-wb-direct-input,.mdfa-wb-direct-cell{padding:2px 3px!important;font-size:11px!important}
  .mdfa-wb-direct-field.is-date .mdfa-wb-direct-input,.mdfa-wb-direct-field.is-text .mdfa-wb-direct-input{font-size:10px!important}
  .mdfa-wb-direct-choices button{font-size:7.5px!important;min-height:18px!important;padding:2px 4px!important}
  .mdfa-workbook-write-note{display:grid;gap:3px;font-size:7.5px}
  .mdfa-workbook-backup-editor>summary{display:grid;gap:4px}
  .mdfa-workbook-backup-editor>summary small{text-align:left}
}


/* ===== v1.20.18 native-page interaction: keep the PDF's real lines/circles/boxes ===== */
.mdfa-wb-direct-field.is-text .mdfa-wb-direct-input,
.mdfa-wb-direct-field.is-date .mdfa-wb-direct-input,
.mdfa-wb-direct-field.is-textarea .mdfa-wb-direct-input,
.mdfa-wb-direct-table textarea,
.mdfa-wb-direct-table select{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#2f2540!important;
  padding:1px 3px!important;
  outline:0!important;
}
.mdfa-wb-direct-field.is-textarea .mdfa-wb-direct-input{
  line-height:1.5!important;
}
.mdfa-wb-direct-input::placeholder,
.mdfa-wb-direct-cell::placeholder{color:transparent!important}
.mdfa-wb-direct-input:hover,
.mdfa-wb-direct-cell:hover{
  border-color:transparent!important;
  background:rgba(117,18,230,.025)!important;
  box-shadow:none!important;
}
.mdfa-wb-direct-input:focus,
.mdfa-wb-direct-cell:focus{
  border-color:transparent!important;
  background:rgba(117,18,230,.045)!important;
  box-shadow:inset 0 0 0 1px rgba(117,18,230,.10)!important;
}
.mdfa-wb-direct-field.is-date input::-webkit-calendar-picker-indicator{display:none!important}

/* Choice controls are invisible hit areas over the PDF's printed option text/circles. */
.mdfa-wb-direct-field.is-choice{pointer-events:none}
.mdfa-wb-direct-choices{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  overflow:visible!important;
  pointer-events:none;
}
.mdfa-wb-direct-choices button{
  position:absolute!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:transparent!important;
  font-size:0!important;
  line-height:0!important;
  pointer-events:auto;
  cursor:pointer;
  overflow:visible;
}
.mdfa-wb-direct-choices button span{opacity:0!important;pointer-events:none}
.mdfa-wb-direct-choices button::before{
  content:"";
  position:absolute;
  left:4px;
  top:50%;
  width:7px;
  height:7px;
  border-radius:50%;
  background:transparent;
  transform:translateY(-50%);
  transition:background .12s ease,box-shadow .12s ease;
}
.mdfa-wb-direct-choices button:hover,
.mdfa-wb-direct-choices button:focus{
  background:rgba(117,18,230,.025)!important;
  outline:0!important;
}
.mdfa-wb-direct-choices button:focus::before{box-shadow:0 0 0 2px rgba(117,18,230,.18)}
.mdfa-wb-direct-choices button.is-active{background:transparent!important;border-color:transparent!important;color:transparent!important}
.mdfa-wb-direct-choices button.is-active::before{background:#4f286f;box-shadow:0 0 0 1px rgba(79,40,111,.12)}

/* Single checks use the PDF's own printed square/circle; only the mark is added. */
.mdfa-wb-direct-check,
.mdfa-wb-direct-cell.is-check{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  padding:0;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  cursor:pointer;
}
.mdfa-wb-direct-check input,
.mdfa-wb-direct-cell.is-check input{position:absolute;opacity:0;inset:0;width:100%;height:100%;pointer-events:auto;cursor:pointer}
.mdfa-wb-direct-check span,
.mdfa-wb-direct-cell.is-check span{
  position:absolute;
  left:3px;
  top:50%;
  color:transparent!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:800;
  transform:translateY(-53%);
  pointer-events:none;
}
.mdfa-wb-direct-check:has(input:checked),
.mdfa-wb-direct-cell.is-check:has(input:checked){background:transparent!important;border-color:transparent!important}
.mdfa-wb-direct-check:has(input:checked) span,
.mdfa-wb-direct-cell.is-check:has(input:checked) span{color:#4f286f!important}
.mdfa-wb-direct-check:hover,
.mdfa-wb-direct-cell.is-check:hover{background:rgba(117,18,230,.025)!important}

/* The PDF supplies all rules and table borders; the interaction layer does not redraw them. */
.mdfa-wb-direct-table{gap:0!important}
.mdfa-wb-direct-table textarea,
.mdfa-wb-direct-table select{font-size:9px!important}

/* ===== v1.20.19 visual-coordinate alignment ===== */
.mdfa-wb-direct-input,
.mdfa-wb-direct-cell{
  font-size:var(--mdfa-direct-font,10px)!important;
  line-height:var(--mdfa-direct-line,1.15)!important;
}
.mdfa-wb-direct-field.is-rule-aligned .mdfa-wb-direct-input{
  padding:0 2px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  line-height:var(--mdfa-direct-line,1.15)!important;
}
.mdfa-wb-direct-field.is-rule-aligned textarea.mdfa-wb-direct-input{
  overflow:hidden!important;
  white-space:nowrap!important;
}
.mdfa-wb-direct-choices button::before{
  left:var(--mdfa-mark-x,4px)!important;
  top:var(--mdfa-mark-y,50%)!important;
  width:var(--mdfa-mark-size,6px)!important;
  height:var(--mdfa-mark-size,6px)!important;
  transform:translate(-50%,-50%)!important;
}
.mdfa-wb-direct-check span,
.mdfa-wb-direct-cell.is-check span{
  left:var(--mdfa-mark-x,4px)!important;
  top:var(--mdfa-mark-y,50%)!important;
  width:var(--mdfa-mark-size,6px)!important;
  height:var(--mdfa-mark-size,6px)!important;
  border-radius:50%!important;
  background:transparent!important;
  color:transparent!important;
  font-size:0!important;
  transform:translate(-50%,-50%)!important;
}
.mdfa-wb-direct-check:has(input:checked) span,
.mdfa-wb-direct-cell.is-check:has(input:checked) span{
  background:#4f286f!important;
  color:transparent!important;
}

/* ===== v1.21 native workbook + Academy density refinements ===== */
:root{--mdfa-hover:#F7F1FF}

/* The top context row now names the current Academy area, so page heads do not repeat it. */
.mdfa-course-hub-label{font-size:10.5px!important;line-height:1.2!important;min-height:22px}
.mdfa-panel>.mdfa-page-head .mdfa-eyebrow{display:none!important}

/* Theme-proof hover state: soft lavender, never the WordPress/theme pink. */
.mdfa-root .mdfa-study-tool:hover,
.mdfa-root .mdfa-study-tool:focus-visible,
.mdfa-root .mdfa-explore-card:hover,
.mdfa-root .mdfa-explore-card:focus-visible,
.mdfa-root .mdfa-academy-link-stack button:hover,
.mdfa-root .mdfa-course-module-list button.is-open:hover,
.mdfa-root .mdfa-item-nav button:hover,
.mdfa-root .mdfa-workbook-pack-nav button:hover,
.mdfa-root .mdfa-source-module-card:hover,
.mdfa-root .mdfa-reader-native-links button:hover{
  background:#F7F1FF!important;
  background-color:#F7F1FF!important;
  color:inherit!important;
}

/* Give Current Focus + My Path more visual center between their tiny label and the lower rule. */
.mdfa-status-cell{padding-top:18px!important;padding-bottom:19px!important}
.mdfa-focus-title,.mdfa-path-status-title{margin-top:7px!important}
.mdfa-path-status-next{margin-top:5px!important}
.mdfa-focus-row,.mdfa-path-status-row{align-items:center!important}

/* Desktop density follows the user's preferred browser-90% composition. */
@media(min-width:1180px){
  .mdfa-root{zoom:.90}
}
@supports not (zoom:1){
  @media(min-width:1180px){
    .mdfa-root{transform:scale(.90);transform-origin:top center;width:111.111%;margin-left:-5.555%;margin-right:-5.555%}
  }
}

/* Native workbook shell: web form that visually behaves like a designed workbook page. */
.mdfa-reader-content.is-native-workbook .mdfa-article-body{max-width:1080px}
.mdfa-workbook-native-shell{margin:4px 0 28px;border:1px solid #ddd2e9;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(48,25,82,.04)}
.mdfa-workbook-native-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 16px;border-bottom:1px solid #e8e0f0;background:#fff}
.mdfa-workbook-native-toolbar>div:first-child{display:grid;gap:3px;min-width:0}
.mdfa-workbook-native-toolbar strong{color:#35136e;font-family:"Cormorant Garamond",Georgia,serif;font-size:21px;line-height:1.05;font-weight:600}
.mdfa-workbook-native-toolbar small{color:#867797;font-family:"Roboto Mono",ui-monospace,monospace;font-size:8.5px;line-height:1.35;text-transform:uppercase;letter-spacing:.055em}
.mdfa-workbook-native-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.mdfa-workbook-native-actions a{display:inline-flex;align-items:center;min-height:36px;padding:7px 10px;border:1px solid #d8cce6;border-radius:7px;background:#fff;color:#5e2aa5;font-family:"Roboto Mono",ui-monospace,monospace;font-size:9px;font-weight:600;letter-spacing:.035em;text-transform:uppercase;text-decoration:none!important}
.mdfa-workbook-native-actions a:hover{background:#F7F1FF!important;border-color:#bda2e3}
.mdfa-workbook-native-stage{padding:24px;background:#fcfbfe}
.mdfa-workbook-native-stage>[data-wb-native-interactive]{max-width:900px;margin:0 auto}
.mdfa-ws-original-frame{display:block;width:min(100%,900px);height:min(80vh,1040px);min-height:720px;margin:0 auto;border:1px solid #d8cce5;border-radius:6px;background:#fff}
.mdfa-ws-original-frame[hidden],[data-wb-native-interactive][hidden]{display:none!important}

/* Page itself */
.mdfa-websheet{width:100%;min-height:1050px;padding:64px 72px 42px;border:1px solid #d7c8e7;border-radius:3px;background:#fff;color:#1d1730;box-shadow:0 16px 42px rgba(48,25,82,.075);font-family:"Roboto Mono",ui-monospace,monospace}
.mdfa-ws-head{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:24px;align-items:start}
.mdfa-ws-title-wrap{display:grid;grid-template-columns:4px minmax(0,1fr);gap:26px;align-items:start}
.mdfa-ws-accent{display:block;width:3px;height:92px;background:#7512e6}
.mdfa-ws-head h3{margin:0;color:#17121f;font-family:"Cormorant Garamond",Georgia,serif;font-size:43px;line-height:.98;font-weight:600;letter-spacing:-.02em}
.mdfa-ws-head p{max-width:610px;margin:14px 0 0;color:#564a68;font-family:"Roboto Mono",ui-monospace,monospace;font-size:10.5px;line-height:1.65}
.mdfa-ws-stage{display:grid;justify-items:center;gap:6px;color:#7512e6;text-align:center;text-transform:uppercase;letter-spacing:.10em;font-size:8px;line-height:1.2}
.mdfa-ws-stage svg{width:38px;height:38px;stroke:#7512e6;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.mdfa-ws-progress-rule{position:relative;height:2px;margin:20px 0 34px;background:#e5d8f7}
.mdfa-ws-progress-rule span{position:absolute;left:0;top:0;width:55px;height:3px;background:#7512e6}
.mdfa-ws-body{display:block}
.mdfa-ws-footer{display:flex;justify-content:space-between;gap:18px;margin-top:54px;padding-top:16px;border-top:1px solid #e5daf2;color:#6c5a85;font-size:7.5px;line-height:1.3;letter-spacing:.10em;text-transform:uppercase}

/* Workbook prompts */
.mdfa-ws-form-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 28px}
.mdfa-ws-prompt{grid-column:1/-1;min-width:0}
.mdfa-ws-prompt.is-half{grid-column:span 3}
.mdfa-ws-prompt.is-third{grid-column:span 2}
.mdfa-ws-prompt>label,.mdfa-ws-static-block>label,.mdfa-ws-table-title{display:block;margin:0 0 8px;color:#6a21d3;font-family:"Roboto Mono",ui-monospace,monospace;font-size:9px;font-weight:600;line-height:1.35;letter-spacing:.13em;text-transform:uppercase}
.mdfa-ws-prompt>small{display:block;margin:-2px 0 8px;color:#877a95;font-family:Roboto,Arial,sans-serif;font-size:10.5px;line-height:1.45}
.mdfa-root .mdfa-ws-line-input,.mdfa-root .mdfa-ws-lined-textarea,.mdfa-root .mdfa-ws-table-input,.mdfa-root .mdfa-ws-select{width:100%;border:0!important;border-radius:0!important;outline:0!important;background-color:transparent!important;color:#2b2339!important;box-shadow:none!important;font-family:"Roboto Mono",ui-monospace,monospace!important;font-size:12px!important;font-weight:400!important}
.mdfa-root .mdfa-ws-line-input{height:34px;padding:3px 2px 7px!important;border-bottom:1px solid #d8c7f2!important}
.mdfa-root .mdfa-ws-lined-textarea{min-height:74px;padding:3px 2px 0!important;line-height:31px!important;resize:vertical;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 30px,#d8c7f2 30px,#d8c7f2 31px)!important;background-attachment:local!important}
.mdfa-root .mdfa-ws-line-input:focus,.mdfa-root .mdfa-ws-lined-textarea:focus,.mdfa-root .mdfa-ws-table-input:focus{background-color:#fbf8ff!important;box-shadow:0 0 0 3px rgba(117,18,230,.055)!important}
.mdfa-ws-prompt.is-statement{padding:16px 18px;border-radius:6px;background:#f5f0fb}
.mdfa-ws-prompt.is-statement .mdfa-ws-line-input,.mdfa-ws-prompt.is-statement .mdfa-ws-lined-textarea{background-color:transparent!important}

/* Choice rows use real web buttons while preserving the printed-circle language. */
.mdfa-ws-choice-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px 18px;margin-top:5px}
.mdfa-root button.mdfa-ws-choice{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:7px;color:#272032;cursor:pointer;font-family:"Roboto Mono",ui-monospace,monospace;font-size:10.5px;line-height:1.35}
.mdfa-ws-choice-dot{position:relative;width:12px;height:12px;border:1.5px solid #7512e6;border-radius:50%;background:#fff;flex:0 0 auto}
.mdfa-ws-choice.is-active .mdfa-ws-choice-dot:after{content:"";position:absolute;inset:2.5px;border-radius:50%;background:#7512e6}
.mdfa-root button.mdfa-ws-choice:hover{color:#5b1eb2!important;background:transparent!important}
.mdfa-ws-check{display:inline-flex;align-items:center;gap:8px;color:#2d2539;font-family:"Roboto Mono",ui-monospace,monospace;font-size:9.5px;line-height:1.4;cursor:pointer}
.mdfa-ws-check input{position:absolute;opacity:0;pointer-events:none}
.mdfa-ws-check-box{display:grid;place-items:center;width:14px;height:14px;border:1.5px solid #7512e6;border-radius:50%;color:transparent;font-size:9px;line-height:1;background:#fff}
.mdfa-ws-check input:checked+.mdfa-ws-check-box{background:#7512e6;color:#fff}

/* Page-specific layouts */
.mdfa-ws-example{margin:22px 0 28px;padding:18px 20px;border-radius:6px;background:#f3eef9;color:#3d334a}
.mdfa-ws-example>span{display:block;margin-bottom:7px;color:#7512e6;font-size:8.5px;letter-spacing:.12em;text-transform:uppercase}
.mdfa-ws-example p{margin:0!important;color:#413746!important;font-family:"Cormorant Garamond",Georgia,serif!important;font-size:16px!important;line-height:1.35!important;font-style:italic}
.mdfa-ws-example em{font-style:normal}
.mdfa-ws-question-card{margin:0 0 24px;padding:17px 18px;border:1px solid #d5c3ef;border-radius:6px;background:#fff}
.mdfa-ws-question-card>.mdfa-ws-prompt{margin-bottom:12px}
.mdfa-ws-two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:14px}
.mdfa-ws-answer-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;margin-top:13px}
.mdfa-ws-date-row{max-width:220px;margin-bottom:24px}
.mdfa-ws-static-block{margin:0 0 24px}
.mdfa-ws-static-choices{display:flex;flex-wrap:wrap;gap:10px 22px;padding:8px 0 19px;border-bottom:2px solid #7512e6;color:#2d243b;font-size:10.5px}
.mdfa-ws-scope-table{margin-bottom:28px;border-top:1px solid #d9ccef}
.mdfa-ws-scope-table>div{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;padding:10px 0;border-bottom:1px solid #e4daf2}
.mdfa-ws-scope-table strong{font-family:"Cormorant Garamond",Georgia,serif;font-size:17px;font-weight:600;color:#2c2435}
.mdfa-ws-scope-table span{font-family:"Roboto Mono",ui-monospace,monospace;font-size:9.5px;line-height:1.55;color:#403648}
.mdfa-ws-ovi{margin:6px 0 28px;border-top:2px solid #7512e6}
.mdfa-ws-ovi-head,.mdfa-ws-ovi-row{display:grid;grid-template-columns:140px 1fr 1.12fr;gap:22px;align-items:start}
.mdfa-ws-ovi-head{padding:9px 0;color:#615375;font-size:8px;letter-spacing:.12em;text-transform:uppercase}
.mdfa-ws-ovi-row{min-height:92px;padding:12px 0;border-bottom:1px solid #e3d9ef}
.mdfa-ws-ovi-row strong{font-family:"Cormorant Garamond",Georgia,serif;font-size:18px;line-height:1.15;font-weight:600;color:#2a2232}
.mdfa-ws-ovi-row em{font-family:"Cormorant Garamond",Georgia,serif;font-size:15px;line-height:1.28;color:#857991}
.mdfa-ws-ovi-row .mdfa-ws-table-input{min-height:58px!important;padding:2px!important;line-height:29px!important;resize:vertical;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 28px,#d8c7f2 28px,#d8c7f2 29px)!important}
.mdfa-ws-reference-copy{margin:0 0 28px;padding:18px;border:1px solid #e5dbef;border-radius:6px;background:#fcfbfe;color:#4b4056;font-family:"Roboto Mono",ui-monospace,monospace;font-size:9px;line-height:1.65;white-space:normal}

/* Generic native workbook tables */
.mdfa-ws-prompt.is-table{margin-top:2px}
.mdfa-ws-table-scroll{overflow:auto}
.mdfa-ws-table{width:100%;min-width:650px;border-collapse:collapse}
.mdfa-ws-table th,.mdfa-ws-table td{padding:9px 10px;border:1px solid #e0d4eb;text-align:left;vertical-align:top}
.mdfa-ws-table thead th{color:#6221bd;background:#faf7ff;font-size:8.5px;text-transform:uppercase;letter-spacing:.07em}
.mdfa-ws-table tbody th{color:#342a42;background:#fcfbfd;font-family:"Cormorant Garamond",Georgia,serif;font-size:16px;font-weight:600}
.mdfa-root .mdfa-ws-table-input{min-height:54px;padding:6px!important;resize:vertical}
.mdfa-root .mdfa-ws-select{min-height:36px;padding:5px!important;border-bottom:1px solid #d8c7f2!important}

@media(max-width:900px){
  .mdfa-workbook-native-stage{padding:12px}
  .mdfa-websheet{min-height:0;padding:38px 30px 30px}
  .mdfa-ws-head{grid-template-columns:minmax(0,1fr) 72px;gap:14px}
  .mdfa-ws-title-wrap{gap:17px}.mdfa-ws-accent{height:72px}.mdfa-ws-head h3{font-size:34px}.mdfa-ws-head p{font-size:10px}
  .mdfa-ws-form-grid{gap:20px 18px}.mdfa-ws-prompt.is-half{grid-column:1/-1}.mdfa-ws-prompt.is-third{grid-column:span 3}
  .mdfa-ws-two-col,.mdfa-ws-answer-row{grid-template-columns:1fr}
  .mdfa-ws-scope-table>div{grid-template-columns:1fr;gap:3px}
  .mdfa-ws-ovi-head,.mdfa-ws-ovi-row{grid-template-columns:110px 1fr}.mdfa-ws-ovi-head span:nth-child(3){display:none}.mdfa-ws-ovi-row .mdfa-ws-table-input{grid-column:2}
}
@media(max-width:620px){
  .mdfa-workbook-native-toolbar{align-items:flex-start;flex-direction:column}.mdfa-workbook-native-actions{justify-content:flex-start}
  .mdfa-websheet{padding:28px 18px 24px}.mdfa-ws-head{grid-template-columns:1fr}.mdfa-ws-stage{justify-items:start;grid-auto-flow:column;justify-content:start;align-items:center}.mdfa-ws-stage svg{width:28px;height:28px}
  .mdfa-ws-title-wrap{grid-template-columns:3px 1fr;gap:13px}.mdfa-ws-accent{height:64px}.mdfa-ws-head h3{font-size:31px}.mdfa-ws-progress-rule{margin:16px 0 26px}
  .mdfa-ws-form-grid{grid-template-columns:1fr}.mdfa-ws-prompt.is-half,.mdfa-ws-prompt.is-third{grid-column:1}
  .mdfa-ws-choice-row{gap:10px 16px}.mdfa-root button.mdfa-ws-choice{font-size:11px}
  .mdfa-ws-ovi-head{display:none}.mdfa-ws-ovi-row{grid-template-columns:1fr;gap:5px}.mdfa-ws-ovi-row .mdfa-ws-table-input{grid-column:1}.mdfa-ws-ovi-row em{margin-bottom:5px}
  .mdfa-ws-footer{font-size:6.8px}
  .mdfa-ws-original-frame{height:650px;min-height:520px}
}

/* ===== v1.21.2 live UI corrections ===== */
:root{--mdfa-hover:#F7F1FF}

/* Force the requested soft-purple hover even when a WordPress theme injects
   aggressive button hover/background rules. */
body .mdfa-root button.mdfa-study-tool:hover,
body .mdfa-root button.mdfa-study-tool:focus-visible,
body .mdfa-root button.mdfa-explore-card:hover,
body .mdfa-root button.mdfa-explore-card:focus-visible,
body .mdfa-root .mdfa-academy-link-stack button:hover,
body .mdfa-root .mdfa-course-module-list button.is-open:hover,
body .mdfa-root .mdfa-item-nav button:hover,
body .mdfa-root .mdfa-workbook-pack-nav button:hover,
body .mdfa-root .mdfa-source-module-card:hover,
body .mdfa-root .mdfa-reader-native-links button:hover{
  background:#F7F1FF!important;
  background-color:#F7F1FF!important;
  background-image:none!important;
  border-color:#d9c7ef!important;
  color:inherit!important;
}

/* Current Focus / My Path: give the title/copy more breathing room beneath
   the utility label and vertically center the group inside the status band. */
.mdfa-status-cell:not(.mdfa-progress-cell){
  display:flex!important;
  align-items:center!important;
  min-height:98px!important;
  padding-top:18px!important;
  padding-bottom:18px!important;
}
.mdfa-focus-row,.mdfa-path-status-row{width:100%;align-items:center!important}
.mdfa-focus-title,.mdfa-path-status-title{margin-top:10px!important}
.mdfa-path-status-next{margin-top:6px!important;line-height:1.45!important}

/* Learning Path readability. */
.mdfa-module-tile{min-height:102px!important}
.mdfa-module-title{
  font-size:9.7px!important;
  line-height:1.28!important;
  font-weight:500!important;
  color:#fff!important;
}
.mdfa-module-num{font-size:7.5px!important;color:#fff!important;opacity:1!important}
.mdfa-module-icon{height:27px!important;margin:7px 0 7px!important;opacity:1!important}
.mdfa-module-icon svg{
  width:21px!important;
  height:21px!important;
  stroke:#fff!important;
  stroke-width:1.45!important;
  opacity:1!important;
}

/* Student Notes / Current Practice Focus were visually too small. */
.mdfa-card textarea.mdfa-textarea[data-field="quickNotes"]{
  min-height:108px!important;
  font-size:11px!important;
  line-height:1.55!important;
  padding:12px 13px!important;
}
.mdfa-card textarea.mdfa-textarea[data-field="quickNotes"]::placeholder{font-size:10.5px!important;opacity:.8}
.mdfa-card select.mdfa-select[data-field="focus"]{
  min-height:38px!important;
  font-size:10.8px!important;
  padding:9px 12px!important;
}
.mdfa-card .mdfa-field:has([data-field="focus"]) label{font-size:8px!important;margin-bottom:7px!important}

/* Make the whole Academy feel like browser zoom 90% on desktop.  This is
   intentionally desktop-only; phone/tablet keep full-size controls. */
@media (min-width:1180px){
  .mdfa-root{zoom:.90!important}
}
@supports not (zoom:1){
  @media (min-width:1180px){
    .mdfa-root{
      transform:scale(.90)!important;
      transform-origin:top center!important;
      width:111.111%!important;
      margin-left:-5.555%!important;
      margin-right:-5.555%!important;
    }
  }
}

/* Native workbook controls get the same hover language and readable sizing. */
.mdfa-workbook-native-actions button:hover,
.mdfa-workbook-native-actions a:hover,
.mdfa-workbook-mode-toggle button:hover{
  background:#F7F1FF!important;
  background-image:none!important;
}
.mdfa-websheet input,
.mdfa-websheet textarea,
.mdfa-websheet select,
.mdfa-websheet button{font-size:inherit}

/* ===== v1.21.3 definitive neutral hover correction =====
   Elementor/theme button hover styles were still bleeding into Academy cards.
   Use the Academy root ID for deliberately higher specificity and neutralize
   pseudo-element overlays that can paint the theme accent over the button. */
html body #mdfa-academy-root button.mdfa-study-tool:hover,
html body #mdfa-academy-root button.mdfa-study-tool:focus-visible,
html body #mdfa-academy-root button.mdfa-explore-card:hover,
html body #mdfa-academy-root button.mdfa-explore-card:focus-visible,
html body #mdfa-academy-root .mdfa-academy-link-stack button:hover,
html body #mdfa-academy-root .mdfa-course-module-list button.is-open:hover,
html body #mdfa-academy-root .mdfa-item-nav button:hover,
html body #mdfa-academy-root .mdfa-workbook-pack-nav button:hover,
html body #mdfa-academy-root button.mdfa-source-module-card:hover,
html body #mdfa-academy-root .mdfa-reader-native-links button:hover {
  background:#F7F1FF !important;
  background-color:#F7F1FF !important;
  background-image:none !important;
  border-color:#D9C7EF !important;
  color:inherit !important;
}

/* The Study Tools cards are where the theme accent was most visible. */
html body #mdfa-academy-root button.mdfa-study-tool:hover,
html body #mdfa-academy-root button.mdfa-study-tool:focus-visible {
  box-shadow:0 13px 30px rgba(76,35,128,.07) !important;
  transform:translateY(-1px);
}
html body #mdfa-academy-root button.mdfa-study-tool:hover::before,
html body #mdfa-academy-root button.mdfa-study-tool:hover::after,
html body #mdfa-academy-root button.mdfa-study-tool:focus-visible::before,
html body #mdfa-academy-root button.mdfa-study-tool:focus-visible::after {
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
}
html body #mdfa-academy-root button.mdfa-study-tool:hover > *,
html body #mdfa-academy-root button.mdfa-study-tool:focus-visible > * {
  background-color:transparent !important;
}
html body #mdfa-academy-root button.mdfa-study-tool:hover > .mdfa-study-tool-icon,
html body #mdfa-academy-root button.mdfa-study-tool:focus-visible > .mdfa-study-tool-icon {
  background:#FCFAFF !important;
}


/* Phase 1 repair candidate: neutral hover/focus for lesson-specific controls. */
#mdfa-academy-root [data-panel="modules"] :is(.mdfa-part-nav button,.mdfa-item-nav button,.mdfa-module-switch-btn,.mdfa-reader-native-links button,.mdfa-reader-assessments a,.mdfa-reader-step,.mdfa-workbook-pack-nav button):not(.is-active):is(:hover,:focus-visible),
#mdfa-academy-root [data-panel="assessments"] :is(.mdfa-assessment-options label,.mdfa-review-links button,.mdfa-assessment-list .mdfa-btn):not(.is-selected):is(:hover,:focus-visible) {
  background-color:#F7F1FF !important;
  background-image:none !important;
  border-color:#D9C7EF !important;
}
#mdfa-academy-root [data-panel="modules"] :is(.mdfa-part-nav button,.mdfa-item-nav button,.mdfa-module-switch-btn,.mdfa-reader-native-links button,.mdfa-reader-assessments a):focus-visible,
#mdfa-academy-root [data-panel="assessments"] :is(.mdfa-assessment-options input,.mdfa-review-links button):focus-visible {outline:2px solid #9871C4 !important;outline-offset:2px}
#mdfa-academy-root .mdfa-lesson-finished{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:#543185}

/* v1.21.5 - one unambiguous lesson navigation action */
#mdfa-academy-root .mdfa-reader-footer.mdfa-lesson-footer{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:22px 26px;background:#fbfaff;
}
#mdfa-academy-root .mdfa-lesson-footer-back,
#mdfa-academy-root .mdfa-lesson-footer-forward{display:flex;flex-direction:column;gap:9px;align-items:flex-start}
#mdfa-academy-root .mdfa-lesson-footer-forward{align-items:flex-end;margin-left:auto;max-width:min(100%,440px)}
#mdfa-academy-root .mdfa-lesson-footer-back .mdfa-btn{min-height:44px;padding:11px 17px;font-size:12px;font-weight:600;border-radius:6px}
#mdfa-academy-root .mdfa-reader-footer .mdfa-lesson-next{
  min-height:48px;min-width:230px;padding:13px 22px!important;border-radius:6px;
  font-family:Roboto,Arial,sans-serif!important;font-weight:700!important;font-size:14px!important;line-height:1.3!important;
  letter-spacing:0!important;text-transform:none;box-shadow:0 3px 12px rgba(75,35,115,.11)
}
#mdfa-academy-root .mdfa-reader-quiet{
  border:0;background:transparent;box-shadow:none;color:#66448a;
  padding:5px 3px;min-height:28px;text-decoration:underline;text-underline-offset:3px;
  font-family:Roboto,Arial,sans-serif;font-size:12px;font-weight:500;line-height:1.3;
  cursor:pointer
}
#mdfa-academy-root .mdfa-reader-quiet small{color:#756885;font-size:11px}
#mdfa-academy-root .mdfa-reader-save-hint{font-family:Roboto,Arial,sans-serif;font-size:11px;line-height:1.45;color:#786b89;text-align:right}
#mdfa-academy-root .mdfa-lesson-complete-state{
  display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:0;
  padding:12px 26px;background:#f7f1ff;border-top:1px solid #e8def4
}
#mdfa-academy-root .mdfa-lesson-complete-state>span{font-size:12px;color:#4c3070;font-weight:700}
#mdfa-academy-root .mdfa-lesson-complete-state .mdfa-reader-quiet{font-size:11px}
#mdfa-academy-root .mdfa-reader-footer.mdfa-lesson-footer .mdfa-reader-quiet:is(:hover,:focus-visible),
#mdfa-academy-root .mdfa-lesson-complete-state .mdfa-reader-quiet:is(:hover,:focus-visible){
  background:#f7f1ff!important;color:#4d2879!important;border-radius:3px
}
#mdfa-academy-root .mdfa-reader-footer.mdfa-lesson-footer :is(button):focus-visible,
#mdfa-academy-root .mdfa-lesson-complete-state button:focus-visible{outline:3px solid #8e6ac1;outline-offset:3px}
#mdfa-academy-root .mdfa-practice-check-callout{grid-template-columns:minmax(0,1fr);padding:17px 20px}
#mdfa-academy-root .mdfa-practice-check-callout p{font-size:12.5px!important;line-height:1.6!important}
@container mdfa-portal (max-width:520px){
  #mdfa-academy-root .mdfa-reader-footer.mdfa-lesson-footer{flex-direction:column-reverse;align-items:stretch;padding:18px 17px;gap:16px}
  #mdfa-academy-root .mdfa-lesson-footer-back,
  #mdfa-academy-root .mdfa-lesson-footer-forward{align-items:stretch;width:100%;margin:0;max-width:none}
  #mdfa-academy-root .mdfa-reader-footer .mdfa-lesson-next{width:100%;min-width:0;font-size:14px!important;min-height:50px}
  #mdfa-academy-root .mdfa-lesson-footer-back .mdfa-btn{align-self:flex-start}
  #mdfa-academy-root .mdfa-reader-save-hint{text-align:left}
  #mdfa-academy-root .mdfa-lesson-complete-state{padding:12px 17px}
}

/* v1.21.6: final Phase 1 focus and assessment navigation polish */
#mdfa-academy-root .mdfa-assessment-workspace .mdfa-back-link {
  display:inline-flex;align-items:center;min-height:42px;padding:9px 12px;
  margin-bottom:16px;border-radius:5px;line-height:1.3;text-decoration:none;
  border:1px solid #e3d5f1;background:#fff;color:#543378
}
#mdfa-academy-root .mdfa-assessment-workspace .mdfa-back-link:is(:hover,:focus-visible),
#mdfa-academy-root .mdfa-assessment-result-actions .mdfa-btn:not(.primary):is(:hover,:focus-visible),
#mdfa-academy-root [data-panel="modules"] .mdfa-reader-footer .mdfa-btn:not(.primary):is(:hover,:focus-visible) {
  background:#F7F1FF!important;border-color:#cbb5e6!important;color:#4d2879!important
}
#mdfa-academy-root .mdfa-assessment-workspace .mdfa-back-link:focus-visible,
#mdfa-academy-root .mdfa-assessment-result-actions .mdfa-btn:focus-visible {
  outline:3px solid #9070c1;outline-offset:2px
}
#mdfa-academy-root .mdfa-assessment-result-actions {display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#mdfa-academy-root .mdfa-assessment-result-actions .mdfa-btn {min-height:44px;white-space:normal;text-align:center}
#mdfa-academy-root [data-academy-current] .mdfa-btn {min-height:44px}

#mdfa-academy-root .mdfa-assessment-submit .mdfa-btn,
#mdfa-academy-root .mdfa-assessment-result-actions .mdfa-btn {
  min-height:46px;padding:12px 17px!important;
  font-family:Roboto,Arial,sans-serif!important;font-size:13px!important;
  letter-spacing:0!important;line-height:1.35!important;text-transform:none!important;
  border-radius:6px;
}
#mdfa-academy-root .mdfa-assessment-submit strong {font-size:13px}
#mdfa-academy-root .mdfa-assessment-submit span {font-size:12px;line-height:1.5}
@media (max-width:540px) {
  #mdfa-academy-root .mdfa-assessment-submit .mdfa-btn {width:100%;white-space:normal}
}


/* v1.21.8 | Focused reader typography and module chooser polish.
   Restore the original sidebar and section navigation from v1.21.6.
   Do not modify lesson progress, workbook structure or navigation behaviors. */

/* Allow the actual full-width area to support one coherent line on desktop. */
#mdfa-academy-root [data-panel="modules"] .mdfa-page-head {max-width:none}
#mdfa-academy-root [data-panel="modules"] .mdfa-page-head h1 {
  max-width:980px;
  font-size:clamp(30px,2.75vw,37px);
  line-height:1.12;
  letter-spacing:-.018em;
  text-wrap:balance;
}
#mdfa-academy-root [data-panel="modules"] .mdfa-page-head > p {
  max-width:1060px;
  font-size:14.2px;
  line-height:1.6;
  text-wrap:balance;
}

/* Five modules on the first row and four full-width tiles on the second.
   No dead corner, no fake tenth module. Navigation glyphs have a purpose. */
#mdfa-academy-root .mdfa-module-switch {
  grid-template-columns:repeat(20,minmax(0,1fr));
  gap:8px;
}
#mdfa-academy-root .mdfa-module-switch-btn {
  grid-column:span 4;
  grid-template-columns:30px minmax(0,1fr) 13px;
  gap:9px;
  min-height:61px;
  padding:10px 11px;
}
#mdfa-academy-root .mdfa-module-switch-btn:nth-child(n+6) {grid-column:span 5}
#mdfa-academy-root .mdfa-module-switch-btn > span {width:30px;height:30px;font-size:10px}
#mdfa-academy-root .mdfa-module-switch-btn strong {
  font-family:Roboto,Arial,sans-serif;
  font-size:12.4px;
  line-height:1.25;
  letter-spacing:0;
  font-weight:500;
  text-wrap:pretty;
}
#mdfa-academy-root .mdfa-module-switch-btn::after {
  content:'\2192';
  justify-self:end;
  color:#ab96c5;
  font:500 16px/1 Roboto,Arial,sans-serif;
  transition:transform .15s ease,color .15s ease;
}
#mdfa-academy-root .mdfa-module-switch-btn:is(:hover,:focus-visible,.is-active)::after {
  color:#6d30a6;
  transform:translateX(2px);
}

/* The sidebar card and Overview / Lessons / Workbook navigation deliberately
   inherit their exact v1.21.6 sizes, density, and two-column layout. */
#mdfa-academy-root .mdfa-reader-module p {text-wrap:balance}
#mdfa-academy-root .mdfa-reader-module h2 {text-wrap:balance}

/* These exploratory links were genuinely microscopic in the original CSS.
   Improve their readability without modifying the sidebar's main navigation. */
#mdfa-academy-root .mdfa-reader-native-links > .mdfa-tiny {
  font-size:10px;
  line-height:1.35;
  letter-spacing:.065em;
  padding:11px 12px;
}
#mdfa-academy-root .mdfa-reader-native-links button {padding:11px 12px;gap:8px}
#mdfa-academy-root .mdfa-reader-native-links button > span {font-size:14px}
#mdfa-academy-root .mdfa-reader-native-links strong {
  font-size:11.3px;
  line-height:1.4;
  text-wrap:pretty;
}
#mdfa-academy-root .mdfa-reader-native-links small {
  font-size:9.8px;
  line-height:1.4;
  text-wrap:pretty;
}

/* Keep expressive headlines, but avoid lonely last words on desktop.
   text-wrap:balance matters on bold passages, which are rendered as h3. */
#mdfa-academy-root .mdfa-article-head h2,
#mdfa-academy-root .mdfa-module-reader .mdfa-lesson-content .mdfa-article-head h2 {
  max-width:none;
  font-size:clamp(28px,2.35vw,32px);
  line-height:1.13;
  letter-spacing:-.022em;
  text-wrap:balance;
  hyphens:none;
}
#mdfa-academy-root .mdfa-article-body .mdfa-source-block h3 {
  font-size:clamp(21px,1.95vw,24px);
  line-height:1.19;
  text-wrap:balance;
  hyphens:none;
}
#mdfa-academy-root .mdfa-article-body .mdfa-source-block p {
  font-size:14.4px;
  line-height:1.73;
  text-wrap:pretty;
}
#mdfa-academy-root .mdfa-article-body .mdfa-source-block p.mdfa-source-quote {
  font-size:18.5px!important;
  line-height:1.45!important;
  text-wrap:balance;
}
#mdfa-academy-root .mdfa-learning-loop span {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:9px 5px;
  font-size:10.4px;
  line-height:1.2;
  letter-spacing:0;
  white-space:nowrap;
}

@container mdfa-portal (max-width:1100px) {
  #mdfa-academy-root .mdfa-module-switch {display:flex;overflow-x:auto;scrollbar-width:thin}
  #mdfa-academy-root .mdfa-module-switch-btn {flex:0 0 211px}
}
@container mdfa-portal (max-width:760px) {
  #mdfa-academy-root .mdfa-article-head h2,
  #mdfa-academy-root .mdfa-module-reader .mdfa-lesson-content .mdfa-article-head h2 {font-size:29px}
  #mdfa-academy-root .mdfa-module-switch-btn {flex-basis:205px}
}
@container mdfa-portal (max-width:520px) {
  #mdfa-academy-root [data-panel="modules"] .mdfa-page-head h1 {font-size:30px}
  #mdfa-academy-root [data-panel="modules"] .mdfa-page-head > p {font-size:14px}
  #mdfa-academy-root .mdfa-article-head h2,
  #mdfa-academy-root .mdfa-module-reader .mdfa-lesson-content .mdfa-article-head h2 {font-size:27px;line-height:1.15}
  #mdfa-academy-root .mdfa-article-body .mdfa-source-block p {font-size:14px}
  #mdfa-academy-root .mdfa-learning-loop span {font-size:10.6px}
}


/* v1.21.9 — Approved module navigation and honest informational learning rhythm.
   All other sidebar/reader/workbook/progress styling is inherited unchanged from v1.21.8. */
#mdfa-academy-root .mdfa-module-switch {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:9px;
  padding:9px;
  margin-bottom:18px;
  align-items:stretch;
  background:#fff;
}
#mdfa-academy-root .mdfa-module-switch-btn {
  grid-column:auto!important;
  display:grid;
  grid-template-columns:30px minmax(0,1fr) 19px;
  align-items:center;
  gap:8px;
  min-width:0;
  min-height:69px;
  padding:10px 9px;
  border:1px solid #e5d9f2;
  border-radius:7px;
  background:#F7F1FF;
  color:#321560;
  box-shadow:none;
  transition:border-color .16s ease,background-color .16s ease;
}
#mdfa-academy-root .mdfa-module-switch-btn:hover,
#mdfa-academy-root .mdfa-module-switch-btn:focus-visible {
  background:#F3EBFD;
  border-color:#bea3e0;
}
#mdfa-academy-root .mdfa-module-switch-btn.is-active {
  background:#F7F1FF;
  border-color:#c6a9e8;
  color:#321560;
}
#mdfa-academy-root .mdfa-module-switch-btn::after {content:none!important;display:none!important}
#mdfa-academy-root .mdfa-module-switch-btn>span:first-child {
  width:30px;
  height:30px;
  border:1px solid #d2bee9;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  color:#754ab0;
  font:600 10px/1 "Roboto Mono",ui-monospace,monospace;
}
#mdfa-academy-root .mdfa-module-switch-btn.is-active>span:first-child {
  background:#7512e6;
  color:#fff;
  border-color:#7512e6;
}
#mdfa-academy-root .mdfa-module-switch-btn strong {
  display:block;
  min-width:0;
  font:500 12.2px/1.35 "Roboto",Arial,sans-serif;
  letter-spacing:0;
  text-wrap:nowrap;
  white-space:nowrap;
}
#mdfa-academy-root .mdfa-module-switch-icon {
  display:flex;
  justify-content:center;
  align-items:center;
  width:19px;
  height:19px;
  color:#835aad;
  font-style:normal;
}
#mdfa-academy-root .mdfa-module-switch-icon svg {
  display:block;
  width:19px;
  height:19px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#mdfa-academy-root .mdfa-module-highlight {
  grid-column:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 20px;
  align-items:center;
  gap:6px;
  min-width:0;
  min-height:69px;
  padding:9px 11px;
  text-align:left;
  border:1px solid #c8a9e9;
  border-radius:7px;
  background:#eee1fd;
  color:#391968;
  cursor:pointer;
  transition:background-color .16s ease,border-color .16s ease;
}
#mdfa-academy-root .mdfa-module-highlight:hover,
#mdfa-academy-root .mdfa-module-highlight:focus-visible {
  background:#e8d7fb;
  border-color:#a77acc;
}
#mdfa-academy-root .mdfa-module-highlight .mdfa-highlight-text {min-width:0;display:flex;flex-direction:column;gap:2px}
#mdfa-academy-root .mdfa-module-highlight .mdfa-highlight-eyebrow {
  font:600 9px/1.25 "Roboto Mono",ui-monospace,monospace;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#7547ab;
}
#mdfa-academy-root .mdfa-module-highlight strong {
  font:600 12.2px/1.25 "Roboto",Arial,sans-serif;
  white-space:nowrap;
  color:#391968;
}
#mdfa-academy-root .mdfa-module-highlight small {
  font:400 10px/1.25 "Roboto",Arial,sans-serif;
  color:#71548b;
  white-space:nowrap;
}
#mdfa-academy-root .mdfa-module-highlight>svg {
  display:block;width:19px;height:19px;
  fill:none;stroke:#8456af;stroke-width:1.6;
  stroke-linejoin:round;stroke-linecap:round;
}
#mdfa-academy-root .mdfa-module-switch :is(button):focus-visible {
  outline:2px solid #7542bb;outline-offset:2px
}
/* A description of the method, not six clickable-looking tabs. */
#mdfa-academy-root .mdfa-learning-loop {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  column-gap:15px;
  row-gap:7px;
  min-height:41px;
  padding:10px 13px;
  margin-top:18px;
  border:1px solid #e8dff3;
  border-radius:6px;
  overflow:visible;
  background:#fbfaff;
}
#mdfa-academy-root .mdfa-learning-loop .mdfa-learning-loop-label {
  padding:0;
  min-height:0;
  border:0;
  color:#744f9d;
  font:600 9.2px/1.4 "Roboto Mono",ui-monospace,monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}
#mdfa-academy-root .mdfa-learning-loop-stages {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  column-gap:10px;
  row-gap:5px;
}
#mdfa-academy-root .mdfa-learning-loop-stages span {
  min-height:0;
  padding:0;
  border:0;
  background:none;
  color:#584875;
  font:500 11.6px/1.35 "Roboto",Arial,sans-serif;
  text-transform:none;
  letter-spacing:0;
  white-space:nowrap;
}
#mdfa-academy-root .mdfa-learning-loop-stages b {
  color:#aa8fc4;
  font-size:13px;
  line-height:1;
  font-weight:400;
}
@container mdfa-portal (max-width:1100px) {
  #mdfa-academy-root .mdfa-module-switch {
    display:flex;flex-wrap:nowrap;
    gap:8px;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
    padding:9px;
  }
  #mdfa-academy-root .mdfa-module-switch-btn,
  #mdfa-academy-root .mdfa-module-highlight {
    flex:0 0 224px;
    min-height:67px;
    scroll-snap-align:start;
  }
}
@container mdfa-portal (max-width:860px) {
  #mdfa-academy-root .mdfa-learning-loop {display:block;padding:10px 12px}
  #mdfa-academy-root .mdfa-learning-loop .mdfa-learning-loop-label {
    display:block;margin:0 0 8px;text-align:left;
  }
  #mdfa-academy-root .mdfa-learning-loop-stages {
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px 10px;justify-items:start;
  }
  #mdfa-academy-root .mdfa-learning-loop-stages b {display:none}
  #mdfa-academy-root .mdfa-learning-loop-stages span {font-size:11.4px}
}
@media (prefers-reduced-motion:reduce) {
  #mdfa-academy-root .mdfa-module-switch-btn,
  #mdfa-academy-root .mdfa-module-highlight {transition:none}
}


/* v1.21.10: module navigation only. Preserve established typography and sidebar design. */
@container mdfa-portal (max-width: 760px) {
  #mdfa-academy-root .mdfa-part-nav button:nth-last-child(-n+4){border-bottom:0}
}
@container mdfa-portal (max-width: 520px) {
  #mdfa-academy-root .mdfa-part-nav button:nth-last-child(-n+4){border-bottom:1px solid var(--mdfa-line2)}
  #mdfa-academy-root .mdfa-part-nav button:nth-last-child(-n+2){border-bottom:0}
}


/* === v1.21.11: My Path + shared action hover consistency ===================
   Hello Elementor's generic button:hover background must not override the
   Academy's visual language. Scope these rules to real controls, leaving the
   selected states, lesson reader, module tiles, workbooks and layout intact. */

/* Quiet/shared Academy actions always hover in the approved soft lavender. */
html body #mdfa-academy-root .mdfa-panel .mdfa-btn:not(.primary):not(:disabled):is(:hover,:focus-visible),
html body #mdfa-academy-root .mdfa-course-nav button.mdfa-tab:not(:disabled):is(:hover,:focus-visible),
html body #mdfa-academy-root [data-panel="path"] button.mdfa-pace-option:not(:disabled):is(:hover,:focus-visible),
html body #mdfa-academy-root [data-panel="path"] button.mdfa-capacity-btn:not(:disabled):is(:hover,:focus-visible),
html body #mdfa-academy-root [data-panel="path"] button.mdfa-weekday:not(.is-active):not(:disabled):is(:hover,:focus-visible),
html body #mdfa-academy-root [data-panel="path"] .mdfa-calendar-controls button:not(:disabled):is(:hover,:focus-visible),
html body #mdfa-academy-root [data-panel="path"] button.mdfa-mobile-cal-row:not(:disabled):is(:hover,:focus-visible),
html body #mdfa-academy-root [data-panel="path"] .mdfa-cal-event:is(:hover,:focus-visible) {
  background:#F7F1FF !important;
  background-color:#F7F1FF !important;
  background-image:none !important;
  border-color:#D9C7EF !important;
  color:#4D2879 !important;
}

/* Selected study days stay distinctly selected on hover and focus. */
html body #mdfa-academy-root [data-panel="path"] button.mdfa-weekday.is-active:is(:hover,:focus-visible) {
  background:#7512E6 !important;
  background-image:none !important;
  border-color:#7512E6 !important;
  color:#fff !important;
}

/* Primary actions remain solid purple, never Elementor's pink. */
html body #mdfa-academy-root .mdfa-panel button.mdfa-btn.primary:not(:disabled):is(:hover,:focus-visible) {
  background:#5D15B8 !important;
  background-color:#5D15B8 !important;
  background-image:none !important;
  border-color:#5D15B8 !important;
  color:#fff !important;
}

/* Interactive Path tiles keep their designed deep-purple fill. */
html body #mdfa-academy-root [data-panel="path"] .mdfa-module-tile:is(:hover,:focus-visible) {
  background:linear-gradient(145deg,#55409e,#745ab5) !important;
  color:#fff !important;
}

/* Visible keyboard focus without an invented pink button treatment. */
html body #mdfa-academy-root [data-panel="path"] :is(
  .mdfa-pace-option,.mdfa-capacity-btn,.mdfa-weekday,
  .mdfa-calendar-controls button,.mdfa-mobile-cal-row,
  .mdfa-pacing-actions .mdfa-btn,.mdfa-im-back-card .mdfa-btn,
  .mdfa-upcoming-action .mdfa-btn,.mdfa-module-tile
):focus-visible {
  outline:2px solid #9471C4 !important;
  outline-offset:2px;
}

/* === v1.21.12: four-section hover audit ================================
   Buttons within Toolkit, Everyday, Field Guide and Glossary were missing
   from earlier theme-proof rules. A single targeted rule now handles all
   their standard controls, while selected/primary states remain distinct.
   No templates, layouts, content, progress, or workbook styles are changed. */

/* Standard interactive controls: always lavender, never Elementor pink. */
html body #mdfa-academy-root :is(
  [data-panel="toolkit"],
  [data-panel="everyday"],
  [data-panel="fieldguide"],
  [data-panel="glossary"]
) button:not(.mdfa-tab):not(.primary):not(.is-active):not(:disabled):is(:hover,:focus-visible) {
  background:#F7F1FF !important;
  background-color:#F7F1FF !important;
  background-image:none !important;
  border-color:#D9C7EF !important;
  color:#4D2879 !important;
}

/* The selected purple practice rating does not become pink on hover. */
html body #mdfa-academy-root [data-panel="toolkit"] .mdfa-practice-status button.is-active:is(:hover,:focus-visible) {
  background:#4B287F !important;
  background-image:none !important;
  border-color:#4B287F !important;
  color:#fff !important;
}

/* Selected navigation and filters keep their existing soft-lavender states. */
html body #mdfa-academy-root [data-panel="everyday"] .mdfa-collection-nav button.is-active:is(:hover,:focus-visible),
html body #mdfa-academy-root [data-panel="fieldguide"] .mdfa-fg-entry-nav button.is-active:is(:hover,:focus-visible) {
  background:#F5F0FF !important;
  background-image:none !important;
  color:#311166 !important;
}
html body #mdfa-academy-root [data-panel="fieldguide"] .mdfa-fg-categories button.is-active:is(:hover,:focus-visible) {
  background:#F4EEFF !important;
  background-image:none !important;
  color:#41157D !important;
}
html body #mdfa-academy-root [data-panel="glossary"] .mdfa-glossary-categories button.is-active:is(:hover,:focus-visible) {
  background:#F5EFFF !important;
  background-image:none !important;
  border-color:#CDB2EF !important;
  color:#42137C !important;
}
html body #mdfa-academy-root [data-panel="glossary"] .mdfa-glossary-letters button.is-active:is(:hover,:focus-visible) {
  background:#7512E6 !important;
  background-image:none !important;
  border-color:#7512E6 !important;
  color:#fff !important;
}
html body #mdfa-academy-root [data-panel="glossary"] .mdfa-glossary-list>button.is-active:is(:hover,:focus-visible) {
  background:#F6F1FF !important;
  background-image:none !important;
  color:#584B6C !important;
}

/* Keyboard users see a clear focus ring; it never paints a pink background. */
html body #mdfa-academy-root :is(
  [data-panel="toolkit"],
  [data-panel="everyday"],
  [data-panel="fieldguide"],
  [data-panel="glossary"]
) button:not(:disabled):focus-visible {
  outline:2px solid #9471C4 !important;
  outline-offset:2px;
}

/* WordPress lesson editor output only. Core module and workbook styling unchanged. */
#mdfa-academy-root .mdfa-edited-lesson > h3:not(:first-child),
#mdfa-academy-root .mdfa-edited-lesson > h2:not(:first-child){
  border-top:1px solid var(--mdfa-line2);
  margin-top:24px;
  padding-top:22px;
}
#mdfa-academy-root .mdfa-edited-lesson h2{
  color:#31116f;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:27px;
  line-height:1.18;
}
#mdfa-academy-root .mdfa-edited-lesson h4{
  margin:18px 0 8px;
  font-family:Roboto,Arial,sans-serif;
  color:#31116f;
  font-size:15px;
}
#mdfa-academy-root .mdfa-edited-lesson ul,
#mdfa-academy-root .mdfa-edited-lesson ol{color:#4f4664;line-height:1.75;padding-left:24px;margin:8px 0 18px}
#mdfa-academy-root .mdfa-edited-lesson li{margin-bottom:6px}
#mdfa-academy-root .mdfa-edited-lesson blockquote{margin:18px 0;padding:13px 20px;border-left:3px solid #986de0;color:#31116f;background:#faf7ff}
#mdfa-academy-root .mdfa-edited-lesson img{max-width:100%;height:auto}
#mdfa-academy-root .mdfa-edited-lesson .wp-block-table{max-width:100%;overflow-x:auto}
#mdfa-academy-root .mdfa-edited-lesson table{width:100%;border-collapse:collapse;font-size:13px;color:#4f4664}
#mdfa-academy-root .mdfa-edited-lesson th,
#mdfa-academy-root .mdfa-edited-lesson td{padding:10px 12px;border:1px solid #e6e0ef;text-align:left}
