:root{--orange:#ed5b0a;--orange-soft:#fff1e8;--ink:#18333c;--muted:#62757b;--line:#dce5e7;--bg:#f0f4f5;--green:#128456;--green-soft:#e8f8ef;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:16px;line-height:1.5}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;border:0;cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #196b97;outline-offset:4px}svg{width:20px;height:20px;stroke-width:1.8;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3vw,42px);line-height:1.15;letter-spacing:-1.2px;margin-bottom:14px}h2{font-size:23px;letter-spacing:-.4px;margin-bottom:10px}h3{font-size:19px;margin-bottom:12px}small{font-size:14px}.topbar{height:80px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 3vw}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:25px;letter-spacing:-.7px}.brand em{font-style:normal;color:var(--orange)}.brand-mark{display:grid;place-items:center;width:38px;height:38px;background:var(--orange);color:#fff;border-radius:11px}.topbar nav{display:flex;gap:28px;align-items:center}.topbar nav a{font-size:15px;display:flex;gap:8px;align-items:center;padding:27px 0;color:var(--muted);border-bottom:3px solid transparent}.topbar nav a.selected{color:var(--orange);border-bottom-color:var(--orange)}.account{width:36px;height:36px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center;font-size:13px;font-weight:bold;border-radius:50%}.workspace{max-width:1420px;margin:auto;padding:36px 3vw 64px;min-height:calc(100vh - 160px)}.workspace.wide{max-width:1720px;padding-top:20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;margin:12px 0 32px}.page-heading p{color:var(--muted);max-width:640px;margin-bottom:0}.eyebrow{font-size:12px;font-weight:700;letter-spacing:1.6px;display:block;color:var(--orange);margin-bottom:10px}.steps{display:flex;gap:24px;white-space:nowrap;color:#839297}.steps span{display:flex;align-items:center;gap:7px;font-size:14px}.steps b{font-size:12px;border:1px solid #d3dddf;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}.steps .active{color:var(--orange);font-weight:bold}.steps .active b{border-color:var(--orange);background:var(--orange-soft)}.section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.section-card{padding:28px 24px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 5px 16px #193b4305}.section-card-head{display:flex;gap:12px;align-items:center;margin-bottom:26px}.section-card-head .eyebrow{margin:0;color:var(--muted)}.section-card-head .badge{margin-left:auto}.section-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--orange-soft);color:var(--orange);flex-shrink:0}.section-card>p{color:var(--muted);font-size:14px}.topic-links{border-top:1px solid var(--line);margin-top:24px}.topic-links a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 0;border-bottom:1px solid var(--line)}.topic-links a:last-child{border-bottom:0;padding-bottom:0}.topic-links strong,.topic-links small{display:block}.topic-links strong{font-size:18px}.topic-links small{color:var(--muted);margin-top:4px}.topic-links svg{color:var(--orange)}.topic-links a:hover strong{color:var(--orange)}.coming-soon{background:#f7f9fa}.empty-section{color:var(--muted);padding:24px 0;line-height:1.7;margin:0}.tracking-count{color:var(--orange)!important}.checkpoint-summary{display:flex;align-items:center;gap:22px;padding:28px 0;margin-top:30px;border-top:1px solid var(--line)}.checkpoint-summary h2{font-size:20px}.checkpoint-summary p{max-width:780px;color:var(--muted);font-size:15px;margin:0}.summary-link{margin-left:auto;white-space:nowrap;display:flex;align-items:center;gap:8px;font-size:14px;color:var(--orange);font-weight:bold}.back-link{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:14px;margin-bottom:16px}.breadcrumb{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:14px;flex-wrap:wrap;margin-bottom:18px}.breadcrumb a:last-child{font-weight:700;color:var(--ink)}.study-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}.study-heading>span{font-size:14px;color:var(--muted)}.study-heading p{margin:0;font-size:16px}.study-heading .eyebrow{margin-bottom:4px}.topic-frame-list{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:white}.frame-row{display:flex;align-items:center;gap:20px;padding:24px;border-bottom:1px solid var(--line)}.frame-row:last-child{border-bottom:0}.frame-row>div{flex:1}.frame-row strong,.frame-row small{display:block}.frame-row small{color:var(--muted);margin-top:5px}.frame-number{width:42px;height:42px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center;border-radius:10px;font-weight:bold}.action-row{display:flex;align-items:center;gap:24px;margin:28px 0 0}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border-radius:10px;font-weight:700;font-size:15px}.primary{background:var(--orange);color:white;box-shadow:0 3px 10px #ed5b0a15}.primary:hover:not(:disabled){background:#d84d00}.secondary{background:#fff;border:1px solid var(--line);color:var(--muted)}.text-link{color:var(--orange);font-size:15px}.learning-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.frame-image{position:relative;display:block;width:100%;background:#fff;padding:0}.frame-image img{display:block;width:100%;height:auto}.frame-image>span{position:absolute;right:14px;bottom:14px;padding:9px 13px;background:#193744d9;color:white;border-radius:8px;font-size:13px;display:flex;align-items:center;gap:7px;opacity:0;transition:opacity .15s}.frame-image:hover>span,.frame-image:focus-visible>span{opacity:1}.learning-progress{display:flex;align-items:center;gap:24px;padding:20px 24px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-top:16px}.progress-middle{flex:1;min-width:0}.progress-tag{display:flex;align-items:center;justify-content:center;gap:8px;font-size:17px;margin-bottom:6px}.progress-tag svg{color:var(--orange);width:17px}.progress-meta{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin-bottom:8px}.progress-track{height:5px;border-radius:10px;background:#e7edef;overflow:hidden}.progress-track i{display:block;height:100%;background:var(--orange);border-radius:10px;transition:width .2s}.nav-spacer{width:36px}.question-card{max-width:980px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px 38px}.question-prompt{font-size:18px;line-height:1.8;margin:16px 0 24px;font-weight:400}.answers{display:flex;flex-direction:column;gap:10px}.answer{display:grid;grid-template-columns:34px 1fr 20px;gap:15px;text-align:left;align-items:center;line-height:1.6;background:#f3f6f7;border:1px solid #e2e9eb;border-radius:10px;padding:13px 16px;font-size:16px}.answer>b{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;background:#fff;font-size:14px}.answer:hover:not(:disabled){border-color:var(--orange);background:#fff8f3}.answer:disabled{opacity:1}.answer.correct{background:var(--green-soft);border-color:#8bd4b0;color:#126240}.answer.correct>b{background:var(--green);color:#fff}.answer.wrong{background:#fff0ee;border-color:#f0b5ae;color:#a43932}.answer.wrong>b{background:#cc4e43;color:#fff}.feedback{display:flex;align-items:center;gap:14px;border-radius:10px;padding:18px;margin-top:20px}.feedback>svg{width:26px;height:26px}.feedback>div{flex:1}.feedback p{font-size:14px;margin:4px 0 0}.feedback.correct{background:var(--green-soft);color:#166542}.feedback.wrong{background:#fff1ee;color:#a13930}.explanation-drop{border:1px solid #f1ccb4;background:#fffaf6;border-radius:10px;margin-top:16px}.explanation-drop summary{list-style:none;display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:17px 20px;font-weight:700;color:#ac4b17}.explanation-drop summary::-webkit-details-marker{display:none}.explanation-drop[open] summary svg{transform:rotate(180deg)}.explanation{padding:4px 22px 12px;font-size:16px;line-height:1.8}.explanation p{margin:0 0 14px}.related-frame{margin-top:28px}.related-label{display:flex;gap:9px;align-items:center;color:var(--muted);font-size:14px;margin-bottom:12px}.results-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:28px;align-items:start}.score-card,.tag-performance{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px}.score-card{text-align:center}.score-ring{width:178px;height:178px;border-radius:50%;background:conic-gradient(var(--orange) var(--score),#e6edef 0);display:grid;place-items:center;position:relative;margin:26px auto}.score-ring:before{content:'';position:absolute;inset:10px;background:#fff;border-radius:50%}.score-ring div{position:relative}.score-ring strong{font-size:42px;letter-spacing:-2px;display:block}.score-ring span{font-size:14px;color:var(--muted)}.score-card>p{font-size:14px;color:var(--muted)}.status-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.status-summary>div{background:white;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:14px;padding:20px}.status-summary strong{font-size:30px}.status-summary span{font-size:14px}.status-summary .completed{color:var(--green)}.status-summary .missing{color:#835838}.status-summary .following{color:#526988}.score-card .status-summary{gap:7px;margin-bottom:0}.score-card .status-summary>div{display:block;padding:12px 5px}.score-card .status-summary strong,.score-card .status-summary span{display:block}.score-card .status-summary span{font-size:12px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.panel-heading h2{margin:0}.panel-heading .eyebrow{margin-bottom:8px}.panel-heading>svg{color:var(--orange);width:26px;height:26px}.panel-heading>span{font-size:14px;color:var(--muted)}.tag-list{display:flex;flex-direction:column;gap:10px}.tag-row{display:flex;align-items:center;gap:14px;padding:18px 16px;border:1px solid var(--line);border-left:4px solid #d4dfe2;border-radius:10px;background:#fff}.tag-row.completed{border-left-color:#1ca675}.tag-row.missing{border-left-color:#bb875c;background:#fffcf8}.tag-row.following{border-left-color:#6c85a3;background:#f7faff}.tag-symbol{display:grid;place-items:center;width:36px;height:36px;background:#f0f4f6;border-radius:9px;color:#5f747e}.tag-info{flex:1}.tag-info strong{display:block;font-size:16px}.tag-info small{display:block;font-size:13px;color:var(--muted);margin-top:5px}.tag-row>svg{width:15px;color:#7a8c92}.badge{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border:1px solid #d2dbde;border-radius:20px;padding:5px 10px;font-size:12px;font-weight:bold;background:#f3f6f7;color:#708188}.badge svg{width:14px;height:14px}.badge.completed{background:#eaf9f1;border-color:#9fdcc0;color:#168154}.badge.missing{background:#f4f1ed;border-color:#d6cabe;color:#785e46}.badge.following{background:#ebf0f6;border-color:#bfccd9;color:#526783}.badge.unassessed{background:#f5f6f7;color:#7b858a}.follow-note{display:flex;gap:12px;align-items:center;margin-top:22px;padding-top:20px;border-top:1px solid var(--line);color:#556a78}.follow-note svg{color:var(--orange)}.follow-note p{font-size:14px;margin:0}.legend{display:flex;gap:28px;flex-wrap:wrap;margin-bottom:32px;color:var(--muted);font-size:14px}.legend>span{display:flex;align-items:center;gap:8px}.section-performance{margin-top:30px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px}.topic-performance{margin-top:22px}.site-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 3vw;color:#839398;font-size:13px}.text-button{background:none;color:#839398;font-size:13px;padding:0}.sr-only{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}#info-dialog{width:96vw;max-width:1900px;max-height:95vh;border:0;border-radius:12px;padding:44px 12px 12px;background:#edf2f3}#info-dialog::backdrop{background:#142e39df}#info-dialog img{display:block;width:100%;height:auto}.lightbox-close{position:fixed;right:3vw;top:4vh;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;background:#fff;z-index:2}@media(min-width:1700px){.workspace.wide{max-width:1900px}}@media(max-width:1050px){.section-grid{gap:14px}.section-card{padding:20px}.section-card h2{font-size:21px}.results-layout{grid-template-columns:270px 1fr}.tag-row{gap:10px}.tag-symbol{display:none}.steps{gap:14px}.checkpoint-summary{flex-wrap:wrap}.summary-link{margin-left:66px}}@media(max-width:760px){.topbar{height:auto;min-height:72px;flex-wrap:wrap;padding:14px 4vw;gap:12px}.topbar nav{order:3;width:100%;gap:22px}.topbar nav a{font-size:14px;padding:8px 0}.workspace,.workspace.wide{padding:24px 4vw 40px}.page-heading{flex-direction:column;align-items:flex-start;gap:20px}.section-grid{grid-template-columns:1fr}.results-layout{grid-template-columns:1fr}.learning-progress{gap:12px;padding:16px}.learning-progress .primary,.learning-progress .secondary{font-size:13px;padding:10px;min-height:44px}.progress-tag{font-size:14px}.question-card{padding:22px 18px}.question-prompt{font-size:16px}.answer{font-size:15px;gap:10px;padding:12px}.feedback{flex-wrap:wrap}.frame-row{padding:18px;gap:12px;flex-wrap:wrap}.frame-row>div{min-width:60%}.tag-row{flex-wrap:wrap}.tag-info{min-width:55%}.study-heading .steps{display:none}.status-summary>div{padding:15px;gap:8px}.status-summary strong{font-size:25px}.status-summary span{font-size:12px}.legend{gap:12px}.checkpoint-summary{align-items:flex-start}.checkpoint-summary>div{flex:1}.section-performance,.tag-performance{padding:20px}.frame-image>span{opacity:1;font-size:12px;padding:6px;right:8px;bottom:8px}.site-footer span:nth-child(2){display:none}.action-row{flex-wrap:wrap}}

/* TUS Easy reference: grey canvas, white rounded panels, orange actions. */
:root{--orange:#ff7f00;--orange-soft:#fff0e6;--ink:#202c2f;--muted:#78888e;--bg:#e9eff0;--line:#dfe6e7;--green:#00bc70;--green-soft:#eaffee}
h1{font-size:30px;letter-spacing:-.6px}h2{font-size:22px}.topbar{background:var(--bg);border:0;height:84px}.brand{font-size:30px;gap:12px;letter-spacing:-1px;color:#080c0d}.brand-mark{width:34px;height:37px;background:none;border-radius:0;display:block}.topbar nav a{border:0;padding:14px 0}.workspace{min-height:calc(100vh - 84px)}.home-intro{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:28px 0 36px}.method-message strong{font-size:28px;color:var(--orange)}.method-message p{font-size:18px;line-height:1.6;margin:8px 0 0}.subject-selection{margin-top:12px}.subject-selection>h1{font-size:22px;margin-bottom:20px}.subject-card{background:#fff;border-radius:22px;padding:30px;display:flex;align-items:center;gap:22px}.subject-card h2{margin:0 0 5px}.subject-card p{margin:0;color:var(--muted)}.subject-card .primary{margin-left:auto}.subject-icon{height:52px;width:52px;display:grid;place-items:center;background:var(--orange);color:#fff;border-radius:15px;flex-shrink:0}.subject-icon svg{height:28px;width:28px}.subject-banner{display:flex;align-items:center;gap:20px;background:white;border-radius:22px;padding:28px;margin-bottom:28px}.subject-banner h1{margin:0 0 4px}.subject-banner p{margin:0;color:var(--muted);font-size:15px}.section-label{margin:0 0 16px}.section-accordions{display:flex;flex-direction:column;gap:14px}.section-accordion{border-radius:20px;overflow:hidden;background:#fff}.section-accordion summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:16px;padding:24px}.section-accordion summary::-webkit-details-marker{display:none}.section-accordion summary strong{font-size:18px;flex:1}.section-accordion summary>span{font-size:14px;color:var(--orange)}.section-accordion summary>svg{color:var(--muted);width:18px}.section-accordion[open] summary>svg{transform:rotate(180deg)}.section-topics{padding:0 24px 8px}.section-topics a{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-top:1px solid var(--line)}.section-topics a strong,.section-topics a small{display:block}.section-topics a small{color:var(--muted);margin-top:4px}.section-topics a>svg{color:var(--muted);width:18px}.section-topics a:hover strong{color:var(--orange)}.primary,.secondary{border-radius:28px}.learning-card,.question-card,.topic-frame-list,.score-card,.tag-performance,.section-performance{border-radius:22px}.answer{background:var(--bg);border:0;border-radius:14px}.answer.correct{background:#e5ffee;color:#087e4c}.answer.correct>b{background:var(--green)}.answer.wrong{background:#fff0f0;color:#c8423e}.learning-progress{border-radius:22px}.learning-progress .primary:has(svg:only-child),.learning-progress .secondary:has(svg:only-child){width:48px;padding:12px}.tag-row{border:0;border-radius:14px;background:#f7fafb}.tag-row.missing,.tag-row.following{background:#f7fafb}.tag-symbol{background:none;color:var(--orange)}.badge.missing,.badge.following{background:#e8eaed;border-color:#aab2bc;color:#5e6a7e}.badge.completed{background:#edfff1;border-color:#75d99f;color:#00a766}.section-performance{background:var(--bg);border:0;padding:0}.section-performance .tag-row{background:white}.score-ring:before{inset:10px}.page-heading .steps{display:none}.topic-frame-list .frame-row{border-color:#edf1f1}.frame-number{background:var(--bg);color:var(--muted)}
@media(max-width:760px){.home-intro{grid-template-columns:1fr;gap:20px;padding-top:8px}.method-message strong{font-size:24px}.method-message p{margin-top:2px}.subject-card{flex-wrap:wrap;padding:24px}.subject-card .primary{width:100%;margin:8px 0 0}.topbar{height:auto}.section-accordion summary{padding:20px}.brand{font-size:27px}}

/* Match the supplied learning screens without the added topic contents page. */
.study-header{display:grid;grid-template-columns:1fr auto 1fr}.study-header .brand{justify-self:end;font-size:21px;gap:8px}.study-header .brand-mark{width:24px;height:26px}.header-title{text-align:center;font-size:18px;color:var(--ink)}.header-back{display:grid;place-items:center;width:42px;height:42px;background:#fff;border-radius:50%;color:var(--muted)}.workspace.wide{padding-top:12px}.breadcrumb{margin-bottom:16px}.frames-ready{display:flex;align-items:center;gap:14px;margin-top:18px;padding:18px 22px;background:#edfff0;border:1px solid #77dba0;border-radius:20px;color:#00a761}.frames-ready>svg{height:30px;width:30px}.frames-ready strong,.frames-ready span{display:block}.frames-ready span{font-size:14px}.frame-complete{display:grid;place-items:center;background:var(--orange);color:#fff;width:48px;height:48px;border-radius:50%;flex-shrink:0}.frame-next-action{margin-top:18px}.frame-next-action .primary{width:100%}.progress-meta{justify-content:center;gap:8px}.progress-tag{font-size:16px}.question-card{max-width:none;width:100%;padding:28px;border:0}.question-card>.eyebrow{font-size:14px;letter-spacing:0;color:var(--ink);font-weight:500}.feedback{background:none!important;padding:12px 0 0}.feedback p,.feedback .badge{display:none}.explanation-drop{border-radius:16px}.related-frame{margin-top:18px}.results-layout{display:flex;flex-direction:column;gap:22px;max-width:1000px;margin:0 auto}.score-card,.tag-performance{width:100%;text-align:left;border:0}.completion-heading{display:flex;align-items:center;gap:14px}.completion-heading>svg{width:40px;height:40px;color:var(--green)}.completion-heading h1{font-size:24px;letter-spacing:0;margin:0 0 4px}.completion-heading p{font-size:14px;color:var(--muted);margin:0}.completion-score{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:0 24px}.completion-score>div:first-child>span,.completion-score>div:first-child>strong,.completion-score>div:first-child>small{display:block}.completion-score>div:first-child>span{color:var(--orange);font-weight:bold}.completion-score>div:first-child>strong{font-size:40px}.completion-score>div:first-child>small{margin-top:10px;color:var(--muted)}.completion-score .score-ring{margin:24px 0;width:150px;height:150px;text-align:center}.score-card .completion-note{background:var(--orange-soft);color:var(--orange);border:1px solid #ffccae;border-radius:18px;padding:18px;margin:0}.results-layout+.action-row{max-width:1000px;margin:24px auto 0;flex-direction:column;gap:14px}.results-layout+.action-row>.primary{width:100%}.tag-performance h2{font-size:20px}.tag-performance .eyebrow{display:none}.tag-row>svg{display:none}.tag-symbol{display:none}.tag-row{padding:16px 18px}.tag-info strong{font-size:15px}.badge{min-width:96px;justify-content:center}.follow-note{border:0;padding-top:0;font-size:14px}
@media(max-width:760px){.study-header{display:grid;grid-template-columns:1fr auto 1fr;gap:8px}.study-header .brand strong{display:none}.header-title{font-size:16px}.question-card{padding:20px}.completion-score{padding:0;gap:16px}.completion-score .score-ring{width:120px;height:120px}.completion-score .score-ring strong{font-size:32px}}

.learning-status-panel{max-width:1000px;margin:0 auto;background:var(--bg);border-radius:28px;padding:26px}.status-panel-heading{display:flex;align-items:center;gap:16px;margin-bottom:24px}.status-panel-heading>span{width:48px;height:48px;display:grid;place-items:center;background:#fff;border-radius:50%;color:var(--orange);flex-shrink:0}.status-panel-heading>span svg{height:29px;width:29px}.status-panel-heading h1{font-size:24px;letter-spacing:0;margin:0 0 2px}.status-panel-heading p{font-size:14px;color:var(--muted);margin:0}.status-close{margin-left:auto;background:none;align-self:flex-start}.learning-status-panel h2{font-size:17px;margin:24px 0 12px}.learning-status-panel .tag-row{background:#fff}.learning-status-panel .tag-list{margin-bottom:16px}.status-legend{display:flex;justify-content:space-around;gap:14px;margin-top:22px;font-size:13px;color:#858c94}.status-legend>span:last-child{color:var(--green)}#info-dialog.status-dialog{padding:0;max-width:1000px;width:90vw;max-height:90vh;border-radius:28px;background:var(--bg)}#info-dialog.status-dialog::backdrop{background:#0009}.status-dialog .learning-status-panel{margin:0}.completion-score .score-ring strong{font-size:29px;letter-spacing:0}

/* Fit the complete learning Frame and its controls inside the viewport. */
.study-header{height:72px;min-height:72px;padding-top:0;padding-bottom:0}
.workspace.wide.frame-page{height:calc(100vh - 72px);height:calc(100dvh - 72px);min-height:0;width:calc(100% - 64px);max-width:1120px;padding:12px 24px 20px;display:flex;flex-direction:column;gap:8px}
.frame-page>.breadcrumb{flex-shrink:0;margin:0}
.frame-page>.learning-card{flex:1 1 0;min-height:120px;width:100%;border-radius:18px}
.frame-page .frame-image{height:100%;width:100%}
.frame-page .frame-image img{width:100%;height:100%;object-fit:contain}
.frame-page>.learning-progress{flex-shrink:0;margin:0;padding:10px 18px;gap:16px}
.frame-page .progress-tag{margin-bottom:2px}
.frame-page .progress-meta{margin-bottom:5px}
.frame-page>.frames-ready{flex-shrink:0;margin:0;padding:8px 16px;gap:10px;border-radius:16px}
.frame-page .frames-ready strong{font-size:14px}
.frame-page>.frame-next-action{flex-shrink:0;margin:0}
.frame-page .frame-next-action .primary{min-height:44px;padding:10px 18px}
.related-frame .frame-image img{max-height:calc(100vh - 190px);max-height:calc(100dvh - 190px);object-fit:contain}
@media(max-width:760px){.workspace.wide.frame-page{width:100%;padding:8px 4vw 16px}.frame-page>.learning-progress{padding:10px 12px;gap:10px}.frame-page .progress-tag{font-size:14px}}

.progress-tag .tag-dot{display:inline-block;width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:var(--orange)}

/* Compact questions; keep answer, Frame, optional explanation, and progress in order. */
.workspace.wide.question-page{max-width:1120px;width:calc(100% - 64px);padding:8px 24px 24px;min-height:calc(100dvh - 72px)}
.question-page>.breadcrumb{margin-bottom:10px}
.question-page .question-card{padding:18px 22px;border-radius:18px}
.question-page .question-card>.eyebrow{margin-bottom:8px;font-size:14px}
.question-page .question-prompt{font-size:16px;line-height:1.4;margin:0 0 14px}
.matching-lists{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:10px 0}
.matching-lists strong{display:block;font-size:15px;margin-bottom:5px}
.matching-lists>div>div{margin:2px 0}
.question-page .answers{gap:6px}
.question-page .answer{min-height:44px;grid-template-columns:28px 1fr 18px;gap:10px;padding:7px 12px;font-size:16px;line-height:1.4;border-radius:11px}
.question-page .answer>b{width:28px;height:28px}
.question-page .feedback{margin-top:10px;padding-top:0;font-size:15px}
.question-page>.related-frame{margin-top:12px}
.question-page .related-frame .frame-image img{max-height:min(52vh,480px);max-height:min(52dvh,480px);object-fit:contain}
.question-page>.explanation-drop{margin-top:10px;border-radius:14px}
.question-page>.explanation-drop summary{padding:12px 16px;font-size:15px}
.question-page>.learning-progress{margin-top:10px;padding:10px 16px;gap:16px}
.question-page .progress-tag{margin-bottom:2px}
.question-page .progress-meta{margin-bottom:5px}
.question-page .learning-progress .primary{width:auto;min-width:144px;min-height:44px;padding:10px 16px;flex-shrink:0}
.question-page .learning-progress .secondary{width:44px;min-height:44px;flex-shrink:0;padding:10px}
@media(max-width:760px){.workspace.wide.question-page{width:100%;padding:8px 4vw 24px}.question-page .question-card{padding:16px}.question-page>.learning-progress{gap:10px;padding:10px}.question-page .learning-progress .primary{min-width:112px;padding:10px}.matching-lists{gap:14px}}
@media(max-width:540px){.matching-lists{grid-template-columns:1fr}}

/* Original question header: counter left, revealed tag right, progress below. */
.question-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px;min-height:24px}
.question-topline>span{white-space:nowrap}.question-topline .progress-tag{font-size:14px;margin:0;justify-content:flex-end;text-align:right;font-weight:600}
.question-progress{margin:8px 0 14px;height:4px}
.question-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.question-navigation .secondary{width:44px;padding:10px;min-height:44px}.question-navigation .primary{min-height:44px;padding:10px 22px}
.question-page .feedback .badge{display:inline-flex;margin-left:auto}.question-page .feedback{align-items:center}
.badge.missing{background:#fff0ef;border-color:#eea19a;color:#c53d36}.badge.following{background:#eceef0;border-color:#b9bfc8;color:#626d7c}.status-legend>span:first-child{color:#c53d36}
.tag-list{gap:0}.tag-row,.learning-status-panel .tag-row{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:10px 0;gap:12px;min-height:52px}.tag-row:last-child{border-bottom:0}.tag-row.missing,.tag-row.following{background:transparent}.tag-info strong{font-size:14px;font-weight:500}.tag-info small{font-size:12px;margin-top:2px}.tag-row .badge{min-width:98px;padding:3px 10px;font-size:12px}.tag-performance{padding:18px 24px}.tag-performance .panel-heading{margin-bottom:12px}.tag-performance h2{font-size:18px}.follow-note{margin-top:12px}.follow-note p{font-size:13px}.results-layout{gap:14px}.score-card{padding:20px 24px}.completion-score .score-ring{width:124px;height:124px;margin:16px 0}.score-card .completion-note{padding:10px 14px;font-size:14px}
.point-intro{max-width:760px;margin:40px auto;padding:32px;background:#fff;border-radius:22px}.point-intro h1{font-size:28px;margin-bottom:12px}.point-intro>p{font-size:16px;color:var(--muted)}.point-intro .point-context{color:var(--orange);font-size:14px;margin-bottom:12px}.point-intro .primary{margin-top:12px}
@media(max-width:540px){.question-topline{align-items:flex-start;gap:12px}.question-topline .progress-tag{font-size:13px}.point-intro{padding:24px;margin:20px auto}.tag-info{min-width:0}.tag-row{flex-wrap:nowrap}.tag-row .badge{min-width:90px}.tag-info small{font-size:12px}}

/* Approved introduction copy, within the TUS Easy palette and rounded cards. */
.home-intro{gap:20px;padding:16px 0 28px;align-items:stretch}
.method-message{padding:24px;border-radius:22px;border:1px solid #ffd9b5;background:#fff7ed}
.method-flow{background:#fff;border-color:var(--line)}
.method-follow{background:#ffefe2;border-color:#ffcfaa}
.method-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#ff7f00;color:#fff;margin-bottom:18px}
.method-flow .method-icon{background:#354c57}.method-follow .method-icon{background:#f36921}
.method-message>strong{display:block;font-size:14px;letter-spacing:1.2px;margin-bottom:8px}
.method-message h2{font-size:23px;line-height:1.25;margin-bottom:12px;letter-spacing:-.3px}
.method-message p{font-size:16px;line-height:1.6;margin:0;color:#596b72}
@media(max-width:900px){.home-intro{gap:14px}.method-message{padding:20px}.method-message h2{font-size:21px}}
@media(max-width:760px){.home-intro{grid-template-columns:1fr}.method-message{padding:22px}.method-icon{margin-bottom:12px}}

/* Full orange entry surface: three connected stages without cards. */
.home-surface{min-height:100vh;min-height:100dvh;background:linear-gradient(125deg,#ff8900 0%,#ff7108 44%,#ff5c0b 100%);color:#411b09;overflow:hidden}
.home-surface .home-header{height:92px;padding:0 max(4vw,24px);background:transparent}
.home-surface .brand,.home-surface .brand em{color:#fff}
.home-surface .brand-mark{filter:brightness(0) invert(1)}
.workspace.home-workspace{width:100%;max-width:1480px;min-height:calc(100dvh - 92px);padding:clamp(24px,7vh,76px) max(4vw,24px) 40px;display:flex;flex-direction:column;justify-content:center;gap:clamp(36px,9vh,96px)}
.learning-journey{display:grid;grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr) 56px minmax(0,1fr);gap:16px;align-items:start}
.journey-step h2{font-size:clamp(40px,5.15vw,76px);font-weight:800;line-height:1;letter-spacing:-3px;color:#fff;margin:0 0 25px}
.journey-step h3{font-size:clamp(21px,2vw,28px);line-height:1.2;letter-spacing:-.6px;margin:0 0 16px;min-height:2.4em}
.journey-step p{font-size:17px;line-height:1.65;margin:0;max-width:350px}
.journey-arrow{display:flex;justify-content:center;align-items:center;height:76px;color:#fff}
.journey-arrow svg{width:56px;height:44px;stroke-width:1.3;animation:journey-forward 1.8s ease-in-out 2}
.journey-arrow:nth-of-type(2) svg{animation-delay:.35s}
.home-start{display:flex;justify-content:space-between;align-items:center;gap:28px;padding-top:28px;border-top:1px solid #ffffff80}
.home-subject-label{display:block;font-size:14px;margin-bottom:6px}
.home-start h2{font-size:30px;letter-spacing:-.7px;margin:0 0 4px;color:#fff}
.home-start p{font-size:15px;margin:0}
.home-start-button{display:flex;align-items:center;justify-content:center;gap:16px;background:#fff;color:#a63800;min-height:60px;padding:14px 26px;border-radius:40px;font-size:17px;font-weight:700;box-shadow:0 8px 22px #b53a0020;transition:transform .18s,box-shadow .18s}
.home-start-button img{height:27px;width:25px}.home-start-button>svg{margin-left:12px}
.home-start-button:hover{transform:translateY(-3px);box-shadow:0 12px 26px #b53a0035}
.home-start-button:focus-visible,.home-surface .brand:focus-visible{outline-color:#411b09}
@keyframes journey-forward{0%,100%{transform:translateX(0)}50%{transform:translateX(7px)}}
@media(max-width:1050px){.learning-journey{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr) 30px minmax(0,1fr);gap:12px}.journey-arrow svg{width:30px}.journey-arrow{height:58px}.journey-step h2{letter-spacing:-2px}.journey-step p{font-size:16px}.journey-step h3{font-size:21px}}
@media(max-width:760px){.home-surface .home-header{height:76px}.workspace.home-workspace{min-height:calc(100dvh - 76px);padding:24px 6vw 32px;gap:30px}.learning-journey{grid-template-columns:1fr;gap:14px}.journey-step h2{font-size:48px;margin-bottom:12px}.journey-step h3{min-height:0;margin-bottom:8px}.journey-step p{max-width:none}.journey-arrow{height:32px;justify-content:flex-start;margin-left:8px}.journey-arrow svg{width:32px;height:32px;transform:rotate(90deg);animation:none}.home-start{flex-wrap:wrap;gap:20px}.home-start-button{width:100%}}
@media(prefers-reduced-motion:reduce){.journey-arrow svg{animation:none}.home-start-button{transition:none}}

/* Connected learning stages. */
.journey-icon{height:40px;display:flex;align-items:center;color:#fff;margin-bottom:12px;gap:8px}
.journey-icon>svg{width:40px;height:40px;stroke-width:1.6}.flow-icon>svg:last-child{width:24px;height:24px}
.learning-journey .journey-arrow{margin-top:52px}
.journey-step h2{font-size:clamp(38px,4.6vw,66px);margin-bottom:18px}
.journey-step h3{font-size:clamp(20px,1.8vw,25px);margin-bottom:12px}
.journey-step p{font-size:16px;line-height:1.55}
.home-start{padding-top:22px}
.flow-button-copy{display:flex;flex-direction:column;align-items:center;line-height:1.2;gap:3px}
.flow-button-copy strong{font-size:16px}.flow-button-copy small{font-size:13px;font-weight:400}
.frame-page .frame-next-action .primary{padding:8px 18px;min-height:54px}
@media(max-width:760px){.learning-journey .journey-arrow{margin-top:0}.journey-icon{margin-bottom:8px}.workspace.home-workspace{gap:26px}.journey-step h2{font-size:44px}}


/* One open learning-status list, with aligned labels and compact status pills. */
.tag-performance{padding:24px 28px;border:1px solid #e3e9ea;box-shadow:0 4px 18px #18333c04}
.tag-performance .panel-heading{margin-bottom:22px}
.tag-performance h2{font-size:21px;letter-spacing:-.35px}
.performance-context{margin:5px 0 0;font-size:13px;color:var(--muted)}
.learning-table-heading{display:flex;justify-content:space-between;padding:0 29px 11px 21px;border-bottom:1px solid var(--line);font-size:11px;font-weight:700;letter-spacing:.7px;text-transform:uppercase;color:var(--muted)}
.learning-table-heading span:last-child{width:110px;text-align:center}
.tag-row,.learning-status-panel .tag-row{min-height:66px;padding:13px 0;gap:13px;flex-wrap:nowrap;transition:background .15s}
.tag-row:hover,.learning-status-panel .tag-row:hover{background:#fff9f4}
.learning-tag-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:var(--orange)}
.tag-info{min-width:0}.tag-info strong{font-size:14px;font-weight:600;line-height:1.4}
.tag-info small{font-size:12px;line-height:1.4;margin-top:5px}
.tag-row.following .tag-info small{color:#a74a12}
.tag-row.missing .tag-info small{color:#b53b35}
.tag-row .badge{width:110px;min-width:110px;justify-content:center;padding:5px 10px;font-size:12px;font-weight:600;border:1px solid}
.tag-row .badge.completed{background:#edfff4;border-color:#b5e9cd;color:#00894f}
.tag-row .badge.missing{background:#fff0ee;border-color:#f1b9b2;color:#bd342c}
.tag-row .badge.following{background:#f1f2f4;border-color:#d2d6dd;color:#596577}
.tag-row>svg{height:15px;width:15px;color:#96a4a8}
.tag-performance>h3{font-size:13px;margin:18px 0 0;color:var(--muted)}
.tag-performance .follow-note{margin-top:18px;padding:13px 15px;border:0;border-radius:12px;background:#fff6ef;align-items:flex-start;color:#80502f}
.tag-performance .follow-note svg{width:17px;height:17px;margin-top:1px}
.results-layout+.action-row{max-width:1000px;margin:22px auto 0}
@media(max-width:540px){.tag-performance{padding:20px 18px}.tag-row,.learning-status-panel .tag-row{gap:9px}.tag-row .badge{width:98px;min-width:98px;padding:5px 7px}.learning-table-heading{padding-left:16px;padding-right:24px;font-size:10px}.learning-table-heading span:last-child{width:98px}.tag-info strong{font-size:13px}.tag-performance h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){.tag-row{transition:none}}

/* Frame names and a single, consistently aligned learning state. */
.tag-row .badge{width:130px;min-width:130px}
.tag-performance .panel-heading{margin-bottom:12px}
@media(max-width:540px){.tag-row .badge{width:117px;min-width:117px;font-size:11px}.tag-row>svg{display:none}}

/* Section results: topic headings expand into each topic's Frame states. */
.section-learning-status{border-top:1px solid var(--line)}
.topic-status-group{border-bottom:1px solid var(--line)}
.topic-status-group:last-child{border-bottom:0}
.topic-status-group>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;padding:18px 0;font-size:15px}
.topic-status-group>summary::-webkit-details-marker{display:none}
.topic-status-group>summary>strong{font-weight:600}
.topic-status-group>summary>svg{width:18px;height:18px;color:var(--orange)}
.topic-status-group[open]>summary>svg{transform:rotate(180deg)}
.topic-status-group[open]>summary{color:var(--orange)}
.topic-status-frames{padding:0 0 8px 18px;border-left:2px solid #ffdfc6;margin:0 0 16px 3px}
.topic-status-frames .tag-row:first-child{padding-top:4px}
@media(max-width:540px){.topic-status-frames{padding-left:10px;margin-left:0}.topic-status-group>summary{font-size:14px}}

/* Landscape reader: the complete illustration and a single navigation row. */
@media (orientation:landscape){
:where(html[data-reader="handheld"]) #app:has(.frame-page){
    display:grid;
    grid-template:"image image image" minmax(0,1fr) "back progress flow" auto / auto minmax(0,1fr) auto;
    height:100vh;height:100dvh;width:100%;background:#fff;
    position:fixed;inset:0;padding:0;isolation:isolate;
  }
:where(html[data-reader="handheld"]) .workspace.wide.frame-page{display:contents}
:where(html[data-reader="handheld"]) .frame-page>.breadcrumb,:where(html[data-reader="handheld"]) .frame-page>.frames-ready{display:none}
:where(html[data-reader="handheld"]) .frame-page>.learning-card{grid-area:1/1/-1/-1;min-height:0;min-width:0;height:100%;border:0;border-radius:0;z-index:0}
:where(html[data-reader="handheld"]) .frame-page .frame-image>span{display:none}
:where(html[data-reader="handheld"]) #app:has(.frame-page)>.study-header,:where(html[data-reader="handheld"]) .frame-page>.learning-progress,:where(html[data-reader="handheld"]) .frame-page>.frame-next-action{visibility:hidden;pointer-events:none;z-index:1;align-self:end;background:#fff}
:where(html[data-reader="handheld"]) #app.reader-tools>.study-header,:where(html[data-reader="handheld"]) #app.reader-tools .frame-page>.learning-progress,:where(html[data-reader="handheld"]) #app.reader-tools .frame-page>.frame-next-action{visibility:visible;pointer-events:auto}
:where(html[data-reader="handheld"]) #app.reader-tools>.study-header,:where(html[data-reader="handheld"]) .frame-page>.learning-progress,:where(html[data-reader="handheld"]) .frame-page>.frame-next-action{padding-bottom:env(safe-area-inset-bottom)}
:where(html[data-reader="handheld"]) .frame-page .frame-image img{display:block;width:100%;height:100%;object-fit:contain}
:where(html[data-reader="handheld"]) #app:has(.frame-page)>.study-header{
    grid-area:back;display:grid;place-items:center;min-height:0;height:auto;padding:0 4px;
    border-top:1px solid var(--line);background:white;
  }
:where(html[data-reader="handheld"]) #app:has(.frame-page)>.study-header :is(.header-title,.brand){display:none}
:where(html[data-reader="handheld"]) .frame-page>.learning-progress{grid-area:progress;min-width:0;gap:10px;padding:2px 6px;border:0;border-top:1px solid var(--line);border-radius:0}
:where(html[data-reader="handheld"]) .frame-page .progress-middle{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;align-items:center}
:where(html[data-reader="handheld"]) .frame-page .progress-tag{justify-content:flex-start;min-width:0;font-size:14px;margin:0}
:where(html[data-reader="handheld"]) .frame-page .progress-meta{margin:0;font-size:12px}
:where(html[data-reader="handheld"]) .frame-page .progress-track{grid-column:1/-1}
:where(html[data-reader="handheld"]) .frame-page .learning-progress :is(.primary,.secondary):has(svg:only-child){width:44px;height:44px;min-height:44px;padding:0}
:where(html[data-reader="handheld"]) .frame-page>.frame-next-action{grid-area:flow;display:grid;align-content:center;border-top:1px solid var(--line);padding:2px 6px 2px 0}
:where(html[data-reader="handheld"]) .frame-page .frame-next-action .primary{min-height:44px;padding:4px 14px}
:where(html[data-reader="handheld"]) .frame-page:has(.frame-next-action) .learning-progress [data-action="start-topic"]{display:none}
:where(html[data-reader="handheld"]) #info-dialog[open]:not(.status-dialog){
    position:fixed;inset:0;margin:0;width:100%;height:100vh;height:100dvh;
    max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:white;overflow:hidden;
  }
:where(html[data-reader="handheld"]) #info-dialog[open]:not(.status-dialog) img{width:100%;height:100%;object-fit:contain}
:where(html[data-reader="handheld"]) #info-dialog[open]:not(.status-dialog) .lightbox-close{right:max(8px,env(safe-area-inset-right));top:max(8px,env(safe-area-inset-top))}
}

.reader-fullscreen{display:none}
@media (orientation:landscape){
:where(html[data-reader="handheld"]) #app:has(.frame-page)>.study-header{display:flex;align-items:center;align-self:stretch;padding-left:max(4px,env(safe-area-inset-left))}
:where(html[data-reader="handheld"]) #app.reader-tools .reader-fullscreen{display:grid;place-items:center;width:44px;height:44px;background:white;border-radius:50%}
:where(html[data-reader="handheld"]) .frame-page>.learning-progress:last-child,:where(html[data-reader="handheld"]) .frame-page>.frame-next-action{padding-right:max(6px,env(safe-area-inset-right))}
}


/* The reader fills the landscape viewport; the entire illustration fits inside it. */
@media (orientation:landscape){
:where(html[data-reader="handheld"]) .frame-page>.learning-card{width:100%;height:100%;overflow:hidden;box-sizing:border-box;
    padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
:where(html[data-reader="handheld"]) .frame-page .frame-image{display:block;width:100%;height:100%;min-width:0;min-height:0;padding:0;margin:0}
:where(html[data-reader="handheld"]) .frame-page .frame-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
}



/* Desktop reader: the Frame occupies the central stage; progress stays at the bottom. */
html[data-reader="desktop"]:has(.frame-page){--bg:#f2f5f6;background:var(--bg)}
@media all {
:where(html[data-reader="desktop"]) .workspace.wide.frame-page{
    --reader-fit:max(130px, calc(177dvh - 455px));position:relative;width:min(900px, 80vw, var(--reader-fit)); max-width:none; padding:0;
    height:calc(100dvh - 72px); min-height:0;
    display:grid;grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:auto minmax(0,1fr) auto auto;gap:0 12px;
    grid-template-areas:"crumb crumb" "stage stage" "ready flow" "progress progress";
  }

:where(html[data-reader="desktop"]) .frame-page>.breadcrumb{grid-area:crumb;margin:8px 0 0}
:where(html[data-reader="desktop"]) .frame-page>.learning-card{max-width:calc(100% - 10px);box-shadow:0 -10px 0 5px #fff,0 10px 0 5px #fff;grid-area:auto;position:absolute;left:50%;top:calc(50dvh - 72px);transform:translate(-50%, -50%);min-height:0;height:auto;width:calc(100% - 10px)}
:where(html[data-reader="desktop"]) .workspace.wide.frame-page:has(.frame-next-action){--reader-fit:max(130px, calc(177dvh - 665px))}
:where(html[data-reader="desktop"]) .frame-page .frame-image,:where(html[data-reader="desktop"]) .frame-page .frame-image img{height:auto}
:where(html[data-reader="desktop"]) .frame-page>.learning-progress{grid-area:progress;align-self:end;margin:0 0 20px;border-bottom:1px solid var(--line)}
:where(html[data-reader="desktop"]) .frame-page>.frames-ready{grid-area:ready;margin:0 0 8px}
:where(html[data-reader="desktop"]) .frame-page>.frame-next-action{grid-area:flow;margin:0 0 8px;align-self:center}
:where(html[data-reader="desktop"]) .frame-page .frame-image>span{opacity:1}
:where(html[data-reader="desktop"]) #info-dialog[open]:not(.status-dialog){padding:0;background:#fff;overflow:hidden;width:fit-content;max-width:96vw}
:where(html[data-reader="desktop"]) #info-dialog[open]:not(.status-dialog) img{width:auto;height:auto;max-width:96vw;max-height:92dvh;object-fit:contain}
:where(html[data-reader="desktop"]) #info-dialog[open]:not(.status-dialog) .lightbox-close{position:absolute;top:8px;right:8px}
}
