/* Measured from the current SwiftUI views: 18pt gutters, 26/28pt section gaps,
   36pt page titles, 29/27pt hero titles, 24/30pt continuous card corners.
   Browser layout is real content space; no simulated status bar or device bezel. */
:root{--paper:#f7f5ef;--ink:#222426;--muted:#858581;--blue:#547384;--sky:#e4eef0;--green:#e8efe4;--sand:#f1e9dd;font-size:17px;line-height:1.45}
.preview-bar{background:transparent;font-size:10px;min-height:26px;color:#989a94}.preview-bar button{min-height:26px}
.layout{grid-template-columns:240px minmax(0,460px);gap:80px;max-width:900px;padding:0 28px}.app{padding-bottom:110px}header{min-height:100px;padding:14px 0 26px;align-items:center}header h1{font-size:36px;font-weight:700;letter-spacing:0;line-height:1.2}header p{font-size:15px;line-height:1.35;font-weight:500;margin-top:2px}.brand>p{font-size:25px}.native-title{align-self:flex-end}.role-capsule{display:flex;align-items:center;gap:6px;min-height:44px;border-radius:40px;background:linear-gradient(140deg,#ffffffa6,#ffffff50);border:.7px solid #c8ccc4;box-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px #fff;backdrop-filter:blur(16px);font-size:13px;font-weight:600;color:#90918e;padding:8px 11px}.role-capsule .icon{width:18px;height:18px}
body[data-page=guide] header,body[data-page=train] header{min-height:119px;align-items:flex-start;padding-top:8px;padding-bottom:18px}body[data-page=account] header{min-height:83px}body[data-page=account-details] header,body[data-page=products] header{min-height:80px;padding:10px 0 20px}body[data-page=account-details] h1,body[data-page=products] h1{font-size:20px;letter-spacing:0}.header-spacer{width:44px}
button{transition:transform .14s ease-out,opacity .14s ease-out,background-color .18s;line-height:1.45}button:active:not(:disabled){opacity:.82;transform:scale(.985)}.mentor:active:not(:disabled){transform:scale(.97)!important}.mentor{font-size:15px;padding:4px 12px 4px 6px;min-height:46px;gap:5px}.mentor img{width:36px;height:36px}.primary{min-height:52px;border-radius:16px;font-size:17px}.secondary{font-size:15px}button:hover:not(:disabled){filter:none}
.countdown{display:flex;align-items:center;gap:13px;width:100%;min-height:72px;padding:12px 15px;border-radius:22px;text-align:left;border:.8px solid #54738417;background:var(--paper);box-shadow:0 4px 9px #22242606;margin-bottom:26px}.countdown.has-date{background:var(--sky)}.countdown-icon{width:43px;height:43px;flex:0 0 43px;border-radius:13px;display:grid;place-items:center;background:#54738421;color:var(--blue)}.countdown-icon .icon{width:21px;height:21px}.countdown-copy{flex:1;min-width:0}.countdown-copy strong{display:block;font-size:15px;font-weight:600}.countdown-copy small{display:block;font-size:12px;color:#22242694;margin-top:3px}.countdown .chevron{color:#22242647;font-size:22px}.days{color:var(--blue);font-size:28px;line-height:1;font-weight:700;font-variant-numeric:tabular-nums}.days small{font-size:12px;margin-left:4px;font-weight:600;color:inherit}
.native-hero{display:block;position:relative;isolation:isolate;overflow:hidden;text-align:left;width:100%;border-radius:30px;border:.8px solid #5473841a;box-shadow:0 7px 14px #54738412;background:var(--sky);padding:0;min-height:226px}.native-hero img{position:absolute;width:178px;height:178px;object-fit:contain;right:-30px;bottom:-23px;z-index:0;pointer-events:none}.hero-orb{position:absolute;width:184px;height:184px;border-radius:50%;right:-44px;bottom:-38px;background:#ffffff6b;z-index:-1}.hero-text{padding:22px;display:flex;align-items:flex-start;flex-direction:column;gap:11px;position:relative;z-index:1;max-width:254px;min-height:226px}.eyebrow{font-size:15px;letter-spacing:0;font-weight:600;line-height:1.35}.hero-title{font-size:29px;line-height:1.2;font-weight:700;letter-spacing:0;max-width:240px}.hero-description{font-size:15px;font-weight:500;color:#222426a3;line-height:1.4;max-width:195px}.hero-link{font-size:15px;font-weight:600;color:var(--blue);display:inline-flex;align-items:center;gap:6px;padding:0;min-height:24px;background:none;position:relative;z-index:1}.native-progress{display:block;width:100%;max-width:190px;font-size:12px;font-weight:600;color:#22242694}.native-progress>span{display:flex;justify-content:space-between;margin-bottom:7px}.native-progress progress{display:block;width:100%;height:4px;appearance:none;border:0;background:#54738426;border-radius:5px;overflow:hidden}.native-progress progress::-webkit-progress-bar{background:#54738426}.native-progress progress::-webkit-progress-value{background:var(--blue);border-radius:5px}.native-progress progress::-moz-progress-bar{background:var(--blue)}
.native-section{margin-top:26px}.section-heading{margin:0 0 12px;align-items:baseline;gap:8px}.section-heading h2{font-size:20px;line-height:1.3;letter-spacing:0;font-weight:700}.section-heading small{font-size:15px;white-space:nowrap}.row-card{padding:15px 16px;gap:14px;margin-bottom:12px;border-radius:24px;border:.8px solid #54738414;min-height:86px}.row-copy{flex:1;min-width:0;display:block}.row-copy strong{font-size:17px;line-height:1.35;font-weight:600}.row-copy small{font-size:15px;line-height:1.35;margin-top:4px;color:#858581}.row-copy .task-slot{font-size:12px;font-weight:600;color:#344954;margin:0 0 4px}.icon-tile{width:44px;height:44px;flex:0 0 44px;border-radius:13px;background:#54738421;color:var(--blue)}.icon-tile .icon{width:22px;height:22px}.green .icon-tile{background:#637b6821;color:#637b68}.chevron{font-size:20px;color:#b7bcb6;font-weight:500;flex:0 0 auto}.completion-check{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#637b68;color:white}.completion-check .icon{width:14px;height:14px;stroke-width:2.4}
.roadmap-preview{display:flex;flex-direction:column;gap:16px;margin-top:26px;padding:18px;width:100%;text-align:left;border-radius:26px;background:#edf2e9;border:.8px solid #406b5714}.roadmap-preview-top{display:flex;align-items:center;gap:14px;width:100%}.roadmap-preview img{width:62px;height:62px;object-fit:contain}.roadmap-preview-top>span:nth-child(2){flex:1;min-width:0}.roadmap-preview-top small{display:block;font-size:15px;color:var(--muted)}.roadmap-preview strong{display:block;font-size:17px;margin-top:4px}.roadmap-preview-top>span:last-child{color:var(--blue)}.roadmap-caption{font-size:13px;color:var(--muted)}.route-dots{display:flex;justify-content:space-between;width:100%;position:relative}.route-dots:before{content:'';position:absolute;left:0;right:0;top:4px;height:2px;background:#2224261a}.route-dots i{width:10px;height:10px;border-radius:50%;background:#78939f;z-index:1}.route-dots i:nth-child(2){background:#7baa87}.route-dots i:nth-child(3){background:#b6a78d}.preview-footnote{display:flex;gap:8px;align-items:flex-start;margin:14px 0 0;color:#90918c;font-size:13px;line-height:1.5}.preview-footnote .icon{width:16px;height:16px;flex-shrink:0;margin-top:1px}
.roadmap-hero{position:relative;isolation:isolate;overflow:hidden;padding:22px;min-height:270px;background:linear-gradient(135deg,#e4eef0,#e6eee9,#f1e9ddba);border:.7px solid #2224260e;border-radius:30px;box-shadow:0 7px 16px #2224260e}.roadmap-hero:before{content:'';position:absolute;z-index:-1;right:-40px;top:-65px;width:184px;height:184px;border-radius:50%;background:#fcfbf857}.roadmap-hero:after{content:'';position:absolute;z-index:-1;right:-47px;bottom:-65px;width:136px;height:136px;border-radius:50%;border:15px solid #5473841a}.roadmap-heading{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:600;color:#222426a8;gap:8px}.pill{padding:6px 10px;border-radius:40px;background:#fcfbf89e;border:.5px solid #2224260d;font-size:12px;font-weight:600;display:inline-flex;align-items:center}.roadmap-lead{display:flex;gap:8px;align-items:center;margin:15px 0}.roadmap-lead>div{flex:1;min-width:0}.roadmap-lead h2{font-size:31px;font-weight:700;line-height:1.23;letter-spacing:0}.roadmap-lead p{font-size:17px;font-weight:600;line-height:1.45;color:#222426bd;margin-top:7px}.roadmap-lead img{width:116px;height:112px;object-fit:contain}.roadmap-note{font-size:12px;color:#22242699;line-height:1.5;margin-bottom:15px}.role-scope{display:flex;gap:13px;align-items:center;margin-top:26px;padding:16px;border-radius:22px;background:#e8efe4c2;border:.6px solid #2224260a}.scope-seal{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;background:#fcfbf8c7;border-radius:50%;color:#637b68}.role-scope strong{font-size:15px;font-weight:600}.role-scope p{font-size:13px;line-height:1.45;color:#222426a3;margin-top:4px}.grouped-rows{background:#fcfbf8;border:.6px solid #2224260b;border-radius:26px;overflow:hidden}.format-row{display:flex;gap:13px;align-items:center;padding:17px 16px;position:relative}.format-row+.format-row:before,.station-row+.station-row:before{content:'';height:.5px;background:#22242620;position:absolute;top:0;left:64px;right:0}.format-row .icon-tile{width:36px;height:36px;flex-basis:36px;border-radius:12px;background:var(--sky)}.format-row:nth-child(2) .icon-tile{background:var(--green)}.format-row:nth-child(3) .icon-tile{background:var(--sand)}.format-row strong{font-size:15px;font-weight:600}.format-row p{font-size:13px;color:#858581;line-height:1.45;margin-top:3px}.station-row{display:flex;align-items:center;position:relative;gap:13px;text-align:left;width:100%;padding:18px 16px;border-radius:0}.station-row>span:nth-child(2){flex:1;min-width:0}.station-row strong{font-size:16px;font-weight:600}.station-row small{display:block;font-size:13px;margin-top:4px}.station-number{width:34px;height:34px;background:var(--sky);color:var(--blue);border-radius:50%;display:grid;place-items:center;font-weight:600}
.training-search{display:flex;align-items:center;gap:10px;border:.7px solid #c8ccc4;box-shadow:inset 0 1px white;background:#ffffff80;border-radius:30px;padding:0 14px;margin-bottom:20px;backdrop-filter:blur(16px)}.training-search input#training-search{background:none;border:none;box-shadow:none;outline-offset:0;border-radius:25px;padding:10px 0;min-height:48px;margin:0;font-size:17px}.training-search .icon{color:#222426;width:21px;height:21px}.training-hero{height:224px;min-height:224px;border-radius:32px;background:linear-gradient(135deg,#e4eef0,#e9f0e7)}.training-hero img{width:172px;height:172px;right:-20px;bottom:-15px}.training-hero .hero-orb{width:176px;height:176px;right:-34px;bottom:-34px}.training-copy{position:relative;z-index:1;padding:20px;display:flex;flex-direction:column;align-items:flex-start;height:224px}.training-copy .pill{font-size:15px;color:var(--blue);background:#ffffff94;border:none}.training-copy h2{font-size:27px;line-height:1.25;font-weight:700;margin-top:12px;max-width:215px;letter-spacing:0}.training-copy p{font-size:15px;font-weight:500;color:#222426a3;max-width:196px;margin-top:7px;line-height:1.4}.training-copy .hero-link,.training-evidence{margin-top:auto;font-size:12px;color:#22242694;font-weight:600;max-width:200px}.module-row{padding:14px 15px;min-height:84px}.module-row .icon-tile{background:#ffffff9e;border-radius:14px}.module-row small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.module-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;max-width:80px}.module-meta small{font-size:12px}.module-questions{margin:-4px 0 16px;border:1px solid #2224260c;border-radius:22px;background:#fcfbf8;overflow:hidden}.question-row{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:17px 18px;border-radius:0}.question-row+.question-row{border-top:.5px solid #22242614}.question-row>span:first-child{flex:1;min-width:0}.question-row strong{font-size:15px;font-weight:500;line-height:1.5}.question-row small{display:block;font-size:12px;margin-top:6px}.question-row .icon{width:16px;height:16px;color:#89978e}
.profile-hero{min-height:210px;background:linear-gradient(135deg,#e4eef0,#f1e9dd);border:.6px solid #22242616;box-shadow:0 7px 16px #2224260e}.profile-hero img{width:148px;height:148px;right:-7px;bottom:-5px}.profile-hero .hero-orb{width:156px;height:156px;right:-34px;bottom:-34px;background:#fcfbf86b}.profile-identity{display:flex;flex-direction:column;justify-content:space-between;min-height:210px;padding:22px;max-width:249px;position:relative;z-index:1}.profile-identity h2{font-size:20px;font-weight:700;letter-spacing:0}.profile-identity span{display:block;font-size:12px;font-weight:600;color:#2224268c}.profile-identity strong{display:block;font-size:17px;font-weight:600;margin-top:5px}.profile-group{border-radius:24px;overflow:hidden;border:.5px solid #22242616;box-shadow:0 4px 10px #22242606}.profile-group.blue{background:var(--sky)}.profile-group.green{background:var(--green)}.profile-group.paper{background:#fcfbf8}.profile-row{display:flex;align-items:center;gap:13px;width:100%;padding:15px 16px;min-height:64px;border-radius:0;position:relative;text-align:left}.profile-row+.profile-row:before{content:'';position:absolute;top:0;left:61px;right:16px;height:.5px;background:#22242618}.profile-icon{width:32px;height:32px;flex:0 0 32px;background:#54738421;border-radius:9px;display:grid;place-items:center;color:var(--blue)}.profile-icon .icon{width:17px;height:17px}.profile-row-title{font-size:17px;font-weight:500;white-space:nowrap}.profile-value{margin-left:auto;color:#2224268f;font-size:15px;text-align:right;min-width:0}.profile-row .chevron{font-size:18px}.profile-row:nth-child(2) .profile-icon{color:#637b68;background:#637b6821}
nav{width:460px;bottom:14px;padding:4px;backdrop-filter:blur(26px) saturate(1.15);border:1px solid #fffffff0;outline:.65px solid #a9b2a98a;box-shadow:inset 0 1px 2px #fff,inset 0 -1px 2px #fff,0 4px 18px #36412f08;border-radius:40px}nav:before{left:4px;top:4px;bottom:4px;width:calc((100% - 8px)/4);background:#e1e3dcbd;transition:transform .26s cubic-bezier(.25,.8,.25,1)}nav button{font-size:11px;min-height:52px;gap:2px;color:#181b19;padding:5px 0}nav .icon{width:25px;height:25px;stroke-width:2.4}nav button.active{color:var(--blue)}
.focus-layout #header{min-height:70px;padding:14px 0 18px}.focus-layout h1{font-size:19px}.focus-layout header p{font-size:12px}.focus-layout .card{border-radius:24px;padding:18px}.focus-layout .question{font-size:17px;line-height:1.6}.focus-layout .requirements{line-height:1.5}.focus-layout .step-line{margin-bottom:16px;font-size:11px}.card{border-radius:24px}.dialog-top h2{font-size:20px}dialog .primary{font-size:17px}dialog p{font-size:15px}.dialog-top{margin-bottom:22px}.self-review h2{font-size:20px}.reference h2{font-size:20px}
@media(max-width:850px){.layout{display:block;max-width:496px;padding:0 18px}.app{padding-bottom:104px}nav{width:min(460px,calc(100vw - 36px));bottom:max(12px,env(safe-area-inset-bottom))}.brand{display:none}header{min-height:100px}.native-hero img{width:178px;height:178px}.training-hero img{width:172px;height:172px}.profile-hero img{width:148px;height:148px}dialog{max-width:496px;left:50%;right:auto;transform:translateX(-50%);border-radius:28px 28px 0 0;padding:26px 18px max(26px,env(safe-area-inset-bottom));animation:none}dialog[open]{animation:ios-sheet-in .32s cubic-bezier(.2,.8,.2,1)}dialog.closing{animation:ios-sheet-out .2s ease-in forwards}.dialog-top .circle{width:44px}.profile-identity{max-width:249px}}
@keyframes ios-sheet-in{from{opacity:.7;transform:translate(-50%,35px)}to{opacity:1;transform:translate(-50%,0)}}@keyframes ios-sheet-out{to{opacity:0;transform:translate(-50%,30px)}}
@media(max-width:370px){.layout{padding:0 18px}.hero-text{max-width:228px;padding:20px}.hero-title{font-size:27px;max-width:205px}.hero-description{max-width:165px}.native-progress{max-width:160px}.native-hero img{right:-39px;width:159px;height:159px}.training-hero img{right:-30px;width:150px;height:150px}.training-copy p{max-width:165px}.training-copy h2{font-size:25px}.section-heading h2{font-size:18px}.section-heading small{font-size:13px}.row-card{padding:14px;gap:10px}.row-copy strong{font-size:16px}.row-copy small{font-size:13px}.icon-tile{width:40px;flex-basis:40px;height:40px}.roadmap-hero{padding:20px}.roadmap-lead h2{font-size:27px}.roadmap-lead p{font-size:15px}.roadmap-lead img{width:78px;height:94px}.roadmap-heading{font-size:13px}.profile-hero img{width:125px;height:125px;right:-18px}.profile-identity{padding:20px;max-width:230px}.profile-row{gap:10px;padding:14px}.profile-row-title{font-size:15px}.profile-value{font-size:12px}.module-meta{max-width:62px}.module-row .row-copy small{max-width:140px}nav{width:calc(100vw - 36px)}.mentor{font-size:15px}.mentor img{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){dialog[open],dialog.closing{animation:none!important}button:active:not(:disabled){transform:none!important}nav:before{transition:none!important}}
/* SwiftUI's 232pt text frame sits inside 22pt padding on both sides. */
.hero-text{max-width:276px}.hero-title{text-wrap:balance}.hero-description{text-wrap:pretty}.roadmap-lead img{width:104px;flex:0 0 104px}.roadmap-lead h2{text-wrap:balance}
@media(max-width:370px){.hero-text{max-width:252px}.hero-title{max-width:212px;font-size:27px}.roadmap-lead img{width:78px;flex-basis:78px}.roadmap-lead h2{font-size:26px}.roadmap-lead{gap:6px}}
/* Formal topic browsing keeps the accepted iOS spacing and quiet card hierarchy. */
.topic-row{display:flex;align-items:center;gap:16px;width:100%;text-align:left;padding:18px 20px;background:transparent;min-height:76px;border-bottom:1px solid #54738414}.topic-row:last-child{border-bottom:0}.topic-row>span:first-child{flex:1;min-width:0}.topic-row strong{display:block;font-size:17px;line-height:1.5;font-weight:600}.topic-row small{display:block;color:var(--muted);font-size:13px;margin-top:4px}.module-questions{background:#ffffffb3;border-radius:24px;overflow:hidden;margin:12px 0 26px}.topic-summary{padding:24px;border-radius:28px;background:var(--sky);border:1px solid #54738412}.topic-summary.green{background:var(--green)}.topic-summary h2{font-size:28px;line-height:1.35;margin:16px 0 10px;text-wrap:balance}.topic-summary p{font-size:16px;color:#222426a3;line-height:1.6}.topic-summary .primary{margin-top:20px}.topic-progress{display:grid;gap:9px;font-size:13px;color:var(--blue);margin-top:20px}.topic-progress progress{width:100%;height:4px;accent-color:var(--blue)}.question-row strong{font-size:16px;line-height:1.6;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.question-row small{margin:0 0 7px;display:block;font-size:13px}.group-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:var(--blue);margin:0 0 16px}.group-navigation button{min-height:44px;padding:8px}.group-navigation>span:last-child{font-size:12px;color:var(--muted)}body[data-page="topic"] header h1{font-size:22px}body[data-page="topic"] .header-spacer{width:44px}.training-search{margin-bottom:24px}
.topic-progress progress{appearance:none;border:0;background:#54738426;border-radius:4px;overflow:hidden}.topic-progress progress::-webkit-progress-bar{background:#54738426}.topic-progress progress::-webkit-progress-value{background:var(--blue);border-radius:4px}.topic-progress progress::-moz-progress-bar{background:var(--blue);border-radius:4px}
/* AI test build 18: formal knowledge cards precede the continuous practice path. */
.topic-metrics{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:16px 0;font-size:12px;color:var(--blue)}.topic-metrics button{color:var(--blue);font-size:12px;min-height:44px;padding:8px 0}.knowledge-content{display:grid;gap:16px;margin:20px 0}.knowledge-card{padding:20px;border:1px solid #5473840b;border-radius:22px;background:#ffffffc9}.knowledge-card h3{font-size:18px;line-height:1.5;margin:0 0 12px}.medical-text{white-space:pre-wrap;font-size:15px;line-height:1.85;color:#222426d6;overflow-wrap:anywhere}.goal-card{background:var(--sky)}.oral-route{counter-reset:oral;list-style:none;padding:0;margin:0;display:grid;gap:18px}.oral-route li{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.8}.oral-route li:before{counter-increment:oral;content:counter(oral);flex:0 0 28px;height:28px;text-align:center;border-radius:50%;background:var(--sky);color:var(--blue);font-weight:600}.diagnosis-card{background:var(--green)}.diagnosis-detail{background:#ffffffab;border-radius:14px;margin-top:10px}.diagnosis-detail summary{padding:15px;font-size:15px;font-weight:600;cursor:pointer}.diagnosis-detail p{padding:0 15px 15px;margin:0}.knowledge-archive{padding:18px;border-radius:20px;border:1px solid #54738420;background:#ffffff65}.knowledge-archive summary{font-size:15px;font-weight:600;cursor:pointer;min-height:28px}.knowledge-archive .medical-text{margin-top:18px}.case-section{display:grid;gap:12px}.case-section>h3{margin:8px 0 0;font-size:20px}.knowledge-route{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--blue)}.knowledge-route span{background:var(--sky);padding:9px 12px;border-radius:18px}.knowledge-practice{background:var(--sky);padding:22px;border-radius:24px;margin-top:24px}.knowledge-practice h3{font-size:22px;margin:12px 0 20px}.reference{background:var(--green);border-color:transparent}.reference h3{color:var(--blue)}#topic-questions{scroll-margin-top:18px}.self-review h2{font-size:20px}
/* Final AI build: complete training hierarchy, settings and independent self-review. */
.skill-category{font-size:16px;margin:22px 4px 10px;color:var(--blue)}.skill-mastery{display:flex;gap:24px;margin-top:22px;font-size:13px;color:var(--muted)}.skill-mastery strong{display:block;font-size:25px;color:var(--blue);margin-top:5px}.extension-label{font-size:13px;padding:18px;color:var(--muted);background:var(--green)}.role-options{display:grid;gap:12px}select{display:block;width:100%;font:inherit;border-radius:14px;border:1px solid #54738430;background:#fff9;padding:12px;margin:10px 0 20px;color:var(--ink)}.oral-mark-row{padding:18px 0;border-bottom:.5px solid #54738425}.oral-mark-row p{font-size:16px;line-height:1.7;white-space:pre-wrap}.segmented{display:flex;gap:10px;margin-top:14px}.segmented button{flex:1;min-height:44px;border-radius:14px;background:#5473840c;color:var(--blue);border:1px solid #54738418}.segmented .selected,.exam-ratings .selected{background:var(--blue);color:white}.sequence-step{display:flex;gap:12px;text-align:left;align-items:flex-start;width:100%;padding:17px;margin:12px 0;border-radius:18px;background:#fffc;border:1px solid #54738418;line-height:1.65;font-size:15px}.sequence-step.chosen{background:var(--sky)}.sequence-step:disabled{opacity:1}.sequence-step>span:nth-child(2){flex:1}.sequence-step small{color:var(--blue);font-size:11px}.step-number{background:#fff9;color:var(--blue);width:26px;height:26px;flex:0 0 26px;border-radius:50%;text-align:center}.sequence-empty{padding:26px;border:1px dashed #54738440;border-radius:20px;color:var(--muted);text-align:center}.sequence-feedback ol{padding-left:22px}.sequence-feedback li{margin:14px 0}.exam-preview>div,.report-row{display:flex;justify-content:space-between;padding:16px 0;border-bottom:.5px solid #54738425}.report-row small{display:block;font-size:12px;margin-top:7px;color:var(--muted)}.exam-progress{width:100%;height:4px;accent-color:var(--blue);display:block;margin-bottom:18px}.exam-clock{display:flex;justify-content:space-between;align-items:center;background:var(--sky);color:var(--blue);padding:13px 17px;border-radius:16px;margin-bottom:20px}.exam-clock strong{font-variant-numeric:tabular-nums;font-size:20px}.exam-ratings{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:20px 0}.exam-ratings button{font-size:14px;min-height:44px;border-radius:12px;background:#5473840b;border:1px solid #54738422;padding:8px 0}.exam-ratings button.selected{background:var(--blue);color:white}body[data-page=skills] header h1,body[data-page=skill] header h1,body[data-page=sequence] header h1,body[data-page=exam] header h1{font-size:19px}.module-meta .icon{width:14px;height:14px;color:#acb4b4}.topic-summary progress{width:100%;height:4px;accent-color:var(--blue);margin-top:18px}
.conversation-sheet{position:fixed;z-index:100;top:0;left:0;right:0;margin:auto;width:min(100%,550px);height:100dvh;background:var(--paper);display:flex;flex-direction:column;box-shadow:0 0 0 100vmax #262c2840;border-radius:28px 28px 0 0;padding-top:env(safe-area-inset-top);overflow:hidden;animation:conversation-in .3s cubic-bezier(.2,.8,.2,1)}.conversation-top{flex:none;display:flex;align-items:center;justify-content:space-between;padding:18px 18px 20px;background:#f7f5eff2;backdrop-filter:blur(22px);gap:15px}.conversation-top h2{font-size:18px;margin:0;font-weight:600}.conversation-top .circle{width:46px;height:46px;color:var(--blue);font-size:32px;line-height:1;box-shadow:inset 0 1px 1px white,0 5px 10px #344c4505}.conversation-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;overflow-anchor:none;padding:8px 18px 20px;scrollbar-width:thin}.chat-role{font-size:12px;color:var(--muted);font-weight:600;margin:8px 0 18px}.chat-account-notice{border-radius:24px;background:#fffc;padding:16px;margin-bottom:18px;font-size:14px;line-height:1.65}.chat-account-notice p{margin:0}.chat-context{padding:16px;border-radius:22px;background:#fffc;margin-bottom:24px}.chat-context summary{color:var(--blue);font-size:17px;cursor:pointer;min-height:24px}.chat-context p{white-space:pre-wrap;line-height:1.7;font-size:14px;margin:14px 0}.chat-context label{font-size:14px}.chat-context input[type=number]{font:inherit;padding:8px;border-radius:10px;border:1px solid #54738430;width:100%;margin-top:10px}.chat-include{display:flex;gap:10px;align-items:center;margin-top:14px}.chat-welcome{padding:20px 16px;background:var(--sky);border-radius:26px}.chat-welcome>div{display:flex;align-items:center;gap:13px}.chat-welcome img{width:46px;height:48px;object-fit:contain}.chat-welcome h3{font-size:19px;font-weight:600;line-height:1.4}.chat-welcome p{color:var(--muted);font-size:15px;line-height:1.6;margin:14px 0 8px}.chat-pill{min-height:40px;padding:7px 14px;background:#54738429;border-radius:24px;color:var(--blue);font-size:17px}.chat-message{border-radius:24px;padding:18px 16px;background:#ffffffc9;margin-bottom:16px;overflow-wrap:anywhere}.chat-message.user{background:var(--sky)}.chat-message>strong{font-size:12px;font-weight:600;display:block;margin-bottom:12px}.chat-message>div{font-size:17px;line-height:1.65}.chat-bottom-anchor{height:8px}.conversation-composer{flex:none;padding:12px 12px max(12px,env(safe-area-inset-bottom));background:#f5f5f5f2;backdrop-filter:blur(22px)}.composer-row{display:flex;align-items:flex-end;gap:6px}.composer-row textarea{min-height:44px;max-height:132px;flex:1;width:0;border:0;border-radius:18px;background:white;box-shadow:none;outline-offset:-2px;resize:none;margin:0;padding:11px 13px;font:inherit;line-height:1.4;overflow-y:auto}.composer-row textarea::placeholder{color:#c4c6c4}.chat-send{width:44px;height:44px;flex:0 0 44px;background:#e6e9e9;color:#c6ced0;border-radius:50%;font-size:30px;padding:0}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;min-height:40px}.chat-wallet{font-size:12px;color:var(--blue);padding:4px 0;min-height:40px}.chat-wallet span{font-size:18px;margin-right:4px}.chat-consent{font-size:12px;display:flex;align-items:center;gap:7px;white-space:nowrap;min-height:40px}.chat-consent input{appearance:none;border:1.5px solid var(--ink);width:18px;height:18px;border-radius:50%;margin:0;flex:none}.chat-consent input:checked{background:var(--blue);border-color:var(--blue);box-shadow:inset 0 0 0 3px var(--paper)}.latest-button{position:absolute;right:22px;bottom:158px;border-radius:20px;background:#fffe;color:var(--blue);border:.5px solid #54738430;padding:9px 13px;font-size:13px;box-shadow:0 3px 14px #22242612}.chat-new{color:var(--blue);font-size:18px;min-height:52px}.history-item{border-radius:22px;background:#fffc;margin:14px 0;padding:14px}.history-item>button{display:block;text-align:left;width:100%;padding:4px}.history-item strong{color:var(--blue);font-size:17px}.history-item p{font-size:14px;color:var(--muted);margin:10px 0}.history-item small{font-size:12px;color:var(--muted)}.history-item>div{display:flex;gap:20px;margin-top:10px}.history-item>div button{font-size:13px;color:var(--blue);min-height:40px}.external-question{width:100%;min-height:220px;resize:vertical;border-radius:20px;border:1px solid #54738420;background:#fffc;font:inherit;line-height:1.6;padding:16px;margin:16px 0}.conversation-scroll>.primary{margin-top:16px}@keyframes conversation-in{from{opacity:.5;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.conversation-sheet{animation:none}}@media(max-width:370px){.chat-consent{font-size:11px}.chat-wallet{font-size:11px}.chat-welcome h3{font-size:17px}.chat-welcome img{width:35px}.conversation-top{padding:14px 18px}.composer-footer{gap:4px}}
.native-progress{max-width:232px}.task-time{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0}.task-time small{font-size:12px;color:var(--muted)}.sequence-voice{padding:16px;border-radius:20px;background:#ffffffb0;margin:15px 0}.sequence-voice summary{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:15px;color:var(--blue)}.sequence-voice p{margin:14px 0}.sequence-voice .player{position:static}.sequence-voice .icon{width:20px;height:20px}.task-row .row-copy{flex:1}.task-row .row-copy strong{display:block}@media(max-width:850px){.preview-bar{display:none}}@media(max-width:370px){.native-progress{max-width:212px}.task-time small{font-size:11px}.task-time{max-width:56px}.task-row .row-copy strong{font-size:15px}}
.question-position{display:flex;justify-content:space-between;gap:12px;margin:12px 0 16px;font-size:15px}.question-position>span{color:var(--muted);font-size:12px}.question-card .question{margin:0}.answer-panel{background:#ffffffcc!important;text-align:left}.answer-panel-heading{display:flex;gap:12px;align-items:center}.answer-panel-heading>strong{display:flex;align-items:center;gap:7px;font-size:17px;margin-right:auto}.answer-panel-heading>span{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.answer-panel-heading .icon{width:19px;height:19px}.answer-panel-heading>button{padding:0;min-width:44px;min-height:44px;color:var(--blue)}.answer-panel .subtle{font-size:13px;line-height:1.6;margin:10px 0 14px}.answer-panel>.text-link{min-height:44px}.answer-panel .primary .icon{width:18px;height:18px;vertical-align:middle}.direct-reference{width:100%;min-height:44px;text-align:center}.mentor-reference{display:flex;gap:10px;align-items:center;width:100%;padding:16px;margin:16px 0;background:#ffffffcc;border-radius:20px;font-size:15px;font-weight:600}.mentor-reference .icon{width:22px;height:22px}.mentor-reference .chevron{margin-left:auto}.reference-point{padding:14px;background:#ffffffb8;border-radius:18px;margin-top:14px}.reference-point h3{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 10px;color:var(--ink);font-size:17px}.reference-point h3 small{font-size:12px;color:var(--blue);white-space:nowrap}.reference-point ul{padding:0 0 0 15px;margin:0}.reference-point li{font-size:15px;line-height:1.65;color:#222426d1;margin:8px 0;padding-left:3px}.reference-point li::marker{color:#637b68}.native-ratings{display:flex;flex-direction:column;gap:10px}.native-ratings button{display:flex;align-items:center;gap:12px;text-align:left;min-height:58px;padding:10px 14px;border-radius:16px}.native-ratings strong{font-size:15px;display:block}.native-ratings small{font-size:12px;display:block;margin-top:2px;opacity:.76}.native-ratings .rating-symbol .icon{width:22px;height:22px}.practice-advance{display:flex;gap:12px}.practice-advance .primary{flex:1}.has-recording .app{padding-bottom:124px}.has-recording .player{position:fixed;top:auto;bottom:0;left:50%;transform:translateX(-50%);width:min(496px,100vw);border-radius:0;border:0;outline:0;padding:8px 16px max(8px,env(safe-area-inset-bottom));margin:0;background:#f6f6f2e8;box-shadow:0 -2px 8px #22242605}.has-recording .play-toggle{background:none;color:var(--blue)}.has-recording .scrub input{height:38px}.chat-context summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}.chat-context summary::-webkit-details-marker{display:none}.chat-context summary:after{content:'›';color:var(--ink);font-size:24px;line-height:1}.chat-context[open] summary:after{transform:rotate(90deg)}.chat-welcome img{width:42px;height:42px;object-fit:cover;border-radius:50%}.chat-welcome{border-radius:22px;padding:18px}.sequence-time{font-size:13px;color:var(--blue);display:flex;justify-content:space-between;margin-top:14px}.sequence-time strong{font-variant-numeric:tabular-nums}@media(min-width:851px){.has-recording .player{left:calc(50% + 160px);width:460px}}
.theory-artwork{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:14px;background:#ffffff9e}.theory-artwork img{width:40px;height:40px;object-fit:contain}.topic-row>span.theory-artwork{flex:0 0 44px}.topic-row>span:not(.theory-artwork):not(.chevron){flex:1;min-width:0}.topic-row{padding:14px;gap:13px;min-height:78px}.topic-row strong{font-size:17px}.topic-row small{font-size:12px;line-height:1.45}.native-ratings button{flex-direction:row;justify-content:flex-start}.native-ratings button.selected{background:var(--blue);color:#fff;border-color:var(--blue)}.native-ratings button.selected small{color:#fff}.reference .reference-point h3{margin:0 0 10px;font-size:17px;color:var(--ink)}

/* Skill flow follows the final native hub and full-utterance hierarchy. */
.skill-flow-heading{margin:14px 0 24px}.skill-flow-heading h2{font-size:32px;line-height:1.3;letter-spacing:-.7px;margin:10px 0}.skill-flow-heading h3{font-size:20px;color:var(--ink);margin:8px 0}.skill-flow-heading p{font-size:17px;line-height:1.5;color:var(--muted);margin:8px 0}
.skill-mastery-card{position:relative;overflow:hidden;min-height:218px;padding:20px;border-radius:30px;background:linear-gradient(130deg,#e2edf0,#efe9dc);border:.8px solid #526f7d17;margin:0 0 16px}.skill-mastery-card>div{position:relative;z-index:1;max-width:210px}.skill-mastery-card>img{position:absolute;right:-17px;bottom:-15px;width:132px;height:132px;object-fit:contain}.skill-mastery-card h2{font-size:24px;line-height:1.3;margin:14px 0}.mastery-progress{margin-top:9px}.mastery-progress>span{display:flex;justify-content:space-between;font-size:12px;font-weight:600;color:#555b59}.mastery-progress progress{width:100%;height:4px}.mastery-progress.sequence progress{accent-color:#687e6e}.skill-mode{padding:17px;gap:15px;border-radius:26px}.skill-mode .icon-tile{width:58px;height:58px;background:#ffffffa3}.mode-badge{display:inline-block!important;font-size:10px!important;background:#ffffffaa;border-radius:20px;padding:4px 8px}.mode-eyebrow{font-size:15px;font-weight:600;color:var(--ink)}.skill-mode .row-copy>small{font-size:13px;line-height:1.45}.oral-focus-tags{display:flex;gap:8px;margin-bottom:24px}.oral-focus-tags span{font-size:12px;font-weight:600;background:#e2edf0;color:var(--ink);padding:7px 11px;border-radius:30px}.oral-mark-row>p{display:flex;gap:10px;align-items:flex-start}.oral-line-number{flex:0 0 26px;height:26px;background:#e2edf0;border-radius:50%;font-size:12px;font-weight:bold;color:var(--ink);display:grid;place-items:center}.sequence-time{display:flex;justify-content:space-between;font-size:15px;color:var(--ink);font-weight:600;margin-top:24px}.sequence-step:not(.chosen){background:#e2edf0;border:0;border-radius:18px;padding:14px;min-height:76px}.sequence-empty{min-height:70px;display:grid;place-items:center;background:#ffffff94;border-radius:20px}.sequence-voice .player{position:static!important;margin:12px 0;transform:none!important;width:auto!important}
@media(max-width:350px){.skill-mode .icon-tile{width:44px;height:44px}.mode-badge{display:none!important}.skill-mastery-card>div{max-width:175px}.skill-mastery-card>img{opacity:.6}.skill-flow-heading h2{font-size:29px}}

/* Standalone native catalog sheet: root tab bar stays below this route. */
body[data-page="library"] #header{justify-content:space-between;align-items:center;position:sticky;top:0;padding:16px 18px;background:#f7f6eff0;backdrop-filter:blur(18px);z-index:10}body[data-page="library"] #header h1{font-size:30px}body[data-page="library"] #main{padding-top:8px}body[data-page="library"] .training-search{margin-bottom:16px}.library-summary{display:flex;align-items:flex-start;gap:14px;background:#ffffffb8;border:.8px solid #526f7d19;border-radius:25px;padding:16px;margin-bottom:16px}.library-summary .icon-tile{width:52px;height:52px;flex:0 0 52px;background:#e2edf0}.library-summary strong{font-size:17px}.library-summary p{font-size:15px;line-height:1.4;color:var(--muted);margin:5px 0 0}.library-scope{margin-bottom:16px}.library-random{display:flex;align-items:center;gap:12px;text-align:left;background:#e2edf0;width:100%;padding:13px;border-radius:20px;margin:0 0 20px}.library-random>span:first-child{width:38px;height:38px;border-radius:50%;background:#ffffffad;display:grid;place-items:center;font-size:25px;color:var(--ink)}.library-random>div{flex:1}.library-random strong{display:block;font-size:17px}.library-random small{display:block;font-size:12px;color:var(--muted);line-height:1.4;margin-top:2px}.library-content{display:grid;gap:12px}.library-content .topic-row{padding:16px;background:#ffffffb8;border-radius:24px;border:.8px solid #526f7d14}.library-content .theory-artwork{width:58px;height:58px;flex-basis:58px!important}.extension-note{padding:12px;border-radius:16px;background:#f1e5df;color:#8e6b58;font-size:12px}.library-content .topic-row small{font-size:13px}.library-content .topic-row strong{font-size:17px}
.library-content .topic-row{padding:14px;border-radius:22px;gap:13px}.library-content .topic-row.blue{background:#e2edf0}.library-content .topic-row.green{background:#e7ede1}.library-content .topic-row.sand{background:#efe9dd}.library-content .topic-row.shell{background:#f1e5df}.library-content .theory-artwork{width:44px;height:44px;flex-basis:44px!important;border-radius:14px;background:#ffffff9e}.library-content .theory-artwork img{width:40px;height:40px}.theory-identity{display:flex;align-items:center;gap:15px;padding:20px;border-radius:26px;background:#e2edf0;margin:10px 0 16px}.theory-identity.sand{background:#efe9dd}.theory-identity .theory-artwork{width:70px;height:70px;flex:0 0 70px}.theory-identity h2{font-size:24px;line-height:1.25;margin:0 0 6px}.theory-identity p{font-size:13px;color:var(--muted);margin:0}.skill-detail-modes{display:flex;gap:12px;margin-bottom:16px}.skill-detail-modes button{flex:1;text-align:left;background:#e2edf0;padding:16px;border-radius:20px;display:flex;flex-direction:column;gap:6px}.skill-detail-modes button.green{background:#e7ede1}.skill-detail-modes small{color:var(--muted);font-size:12px}.skill-detail-modes .icon{width:24px;height:24px;color:var(--ink)}.skill-breakdown{padding:16px;background:#efe9dd;border-radius:22px;margin:16px 0}.skill-breakdown article{padding:14px;background:#ffffffb3;border-radius:18px;margin-top:12px}.skill-breakdown h4{margin:0;font-size:17px}.skill-breakdown p{font-size:15px;color:var(--muted);margin:7px 0}.skill-breakdown small{color:#687e6e}.skill-breakdown .step-warning{font-size:12px;color:#966f5b}.resume-progress{display:block;margin:10px 0;font-size:12px;color:var(--muted)}
.scrub-labels{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.scrub input[type=range]{height:44px;margin:0;display:block;accent-color:#527380}.has-recording .scrub input{height:44px}.player-body{gap:10px}.play-toggle{width:44px;height:44px;flex:0 0 44px}.has-recording .player{padding-top:6px;padding-bottom:max(6px,env(safe-area-inset-bottom))}.player .play-toggle:disabled{opacity:1}
.theory-identity{padding:17px;border-radius:25px}.theory-identity .theory-artwork{width:60px;height:60px;flex-basis:60px;border-radius:20px}.theory-identity .theory-artwork img{width:54px;height:54px}.theory-identity h2{font-size:22px}.theory-identity.green{background:#e7ede1}.theory-identity.shell{background:#f1e5df}.theory-identity .eyebrow{font-size:12px;color:#687e6e;display:block;margin-bottom:7px}.knowledge-metrics{display:flex;padding:14px 0;border-radius:21px;background:#ffffffb8;margin-bottom:16px;border:.7px solid #687e6e14}.knowledge-metrics>div{flex:1;text-align:center;padding:0 6px}.knowledge-metrics>div+div{border-left:.5px solid #22242622}.knowledge-metrics strong{display:block;font-size:15px;color:var(--blue)}.knowledge-metrics small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.native-topic-cta{display:flex;align-items:center;gap:12px;padding:16px;border-radius:22px;background:var(--blue);color:white;text-align:left;width:100%;margin:16px 0}.native-topic-cta>div{flex:1}.native-topic-cta strong{display:block;font-size:17px}.native-topic-cta small{display:block;font-size:12px;opacity:.8;margin-top:4px}.native-topic-cta .chevron{color:white}.topic-play{display:grid;place-items:center;width:40px;height:40px;background:#ffffff25;border-radius:50%}.knowledge-section-heading>span{font-size:12px;font-weight:700;color:#222426ad}.knowledge-section-heading h3{margin:4px 0;font-size:20px}.knowledge-section-heading>p{font-size:12px;line-height:1.45;color:var(--muted);margin:4px 0 14px}.history-oral-route{padding:16px;background:#efe9ddad;border-radius:26px;margin:16px 0}.history-oral-route article{display:flex;gap:12px;padding:14px;background:#ffffffb8;border:.7px solid #5473840c;border-radius:19px;margin-top:10px}.route-number{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#e2edf0;font-size:12px;font-weight:bold;color:var(--blue)}.history-oral-route article:nth-of-type(1) .route-number{background:var(--blue);color:white}.history-oral-route article strong{font-size:17px}.history-oral-route article p{font-size:17px;line-height:1.6;color:#222426d1;margin:6px 0 0}.diagnosis-card{padding:16px;border-radius:26px;background:#e7ede1!important}.diagnosis-detail{border:0!important;background:transparent!important}.diagnosis-detail summary{display:flex;align-items:center;gap:10px;list-style:none;padding:11px 12px;background:#ffffffa8;border-radius:16px;min-height:48px;font-size:17px;font-weight:600}.diagnosis-detail summary::-webkit-details-marker{display:none}.diagnosis-detail summary:after{content:'⌄';margin-left:auto;color:#687e6e}.diagnosis-detail[open] summary:after{content:'⌃'}.diagnosis-index{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;background:#ffffffb8;border-radius:50%;font-size:11px;color:#687e6e}.diagnosis-feature{padding:14px;margin-top:8px;background:#ffffffd9;border-radius:18px}.knowledge-card.supplement-card{background:#efe9dd}.knowledge-card.safety-card{background:#f1e5df}.knowledge-card.guidance-card{background:#e2edf0}.knowledge-content .medical-text{white-space:pre-wrap}.knowledge-content>section{margin-bottom:16px}body[data-page=topic] #header h1{font-size:17px;line-height:1.3;text-align:center;max-width:75%}
.answer-body>p{margin:14px 0;white-space:normal}.answer-body>p:first-child{margin-top:0}.answer-body>p:last-child{margin-bottom:0}.answer-body h3{font-size:18px;margin:18px 0 10px}.answer-item{display:flex;align-items:baseline;gap:9px;margin:10px 0}.answer-item>span{color:var(--blue);flex:0 0 auto}.answer-item p{margin:0;min-width:0}.answer-comparison{display:grid;gap:10px;margin:14px 0}.answer-comparison section{padding:14px;background:#e4eef070;border-radius:15px}.answer-comparison p{font-size:15px;line-height:1.6;margin:8px 0 0}.answer-comparison p>span{display:block;color:var(--blue);font-size:12px;font-weight:600}.answer-body code{font:inherit;overflow-wrap:anywhere}.answer-body{overflow-wrap:anywhere}#notice{z-index:200}
.training-search input#library-search{background:none;border:0;box-shadow:none;margin:0;padding:10px 0;min-height:48px;border-radius:25px;font-size:17px}
.exam-role-scope{display:flex;gap:12px;align-items:center;padding:16px;background:#e7ede1;border-radius:22px;margin:16px 0 22px}.exam-role-scope .icon-tile{width:40px;height:40px;flex:0 0 40px;background:#ffffffb3;border-radius:50%}.exam-role-scope>div{flex:1}.exam-role-scope small{display:block;font-size:12px;color:var(--muted)}.exam-role-scope strong{display:block;font-size:17px}.exam-role-scope .pill{font-size:11px;background:#ffffffa6;padding:5px 9px}.exam-mode-card{display:block;width:100%;padding:18px;border-radius:26px;text-align:left;background:linear-gradient(135deg,#e4eef0,#e8efe4e0);border:.8px solid #54738419;margin:22px 0 8px}.exam-mode-card.four{background:linear-gradient(135deg,#efe9dd,#e4eef0e0)}.exam-mode-card>div{display:flex;align-items:flex-start;gap:14px}.exam-mode-card .icon-tile{width:48px;height:48px;flex:0 0 48px;background:#ffffffb8;border-radius:16px}.exam-mode-card>div>span:nth-child(2){flex:1}.exam-mode-card strong{font-size:20px}.exam-mode-card p{font-size:15px;color:var(--muted);line-height:1.5;margin:5px 0}.exam-mode-card>small{display:block;margin-top:15px;color:#222426a6;font-size:12px;font-weight:600}.exam-options{min-width:0;border:0;border-radius:22px;padding:17px;background:#ffffffb3;margin:22px 0}.exam-options legend{float:left;width:100%;font-size:17px;font-weight:600;margin-bottom:12px}.exam-options>div{clear:both;display:flex;gap:8px}.exam-options label{flex:1;min-width:0;position:relative}.exam-options input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.exam-options label span{display:grid;place-items:center;min-height:44px;border-radius:13px;background:#e4eef0;color:var(--blue);font-size:12px;font-weight:600;padding:11px 3px}.exam-options input:checked+span{background:var(--blue);color:white}.exam-options input:disabled+span{opacity:.42}.exam-options input:focus-visible+span{outline:2px solid var(--blue);outline-offset:3px}.exam-paper-module{background:#ffffffb8;padding:17px;border-radius:22px;margin:20px 0}.exam-paper-module h3{font-size:17px;margin:0 0 6px}.exam-paper-module>small{color:var(--muted);font-size:12px}.exam-paper-module ul{padding-left:17px;margin:13px 0 0}.exam-paper-module li{font-size:15px;line-height:1.5;margin-top:9px}.exam-paper-module li::marker{color:#54738455}
body:is([data-page="topic"],[data-page="skill"],[data-page="skills"],[data-page="exam"],[data-page="exam-config"],[data-page="exam-preview"],[data-page="account-details"],[data-page="products"]) #header{gap:8px;min-height:76px;padding-top:14px;padding-bottom:18px}body:is([data-page="topic"],[data-page="skill"],[data-page="skills"],[data-page="exam"],[data-page="exam-config"],[data-page="exam-preview"],[data-page="account-details"],[data-page="products"]) #header h1{font-size:17px;line-height:1.3;text-align:center;flex:1;min-width:0;margin:0}#header>.header-spacer{width:44px;flex:0 0 44px}#header>.circle{width:44px;height:44px;flex:0 0 44px}

/* Native RoadmapStageSheet: content and role are sourced from the final app. */
.roadmap-stage{display:grid;gap:24px;padding:8px 0 16px}.stage-identity{display:flex;gap:15px;align-items:center}.stage-identity>.icon-tile{width:64px;height:64px;flex:0 0 64px;border-radius:18px;background:linear-gradient(135deg,#e4eef0,#eee8dc)}.stage-identity h2{font-size:22px;margin:5px 0}.stage-identity small{font-size:12px;font-weight:600;color:var(--blue)}.stage-identity p{font-size:15px;color:var(--muted);margin:0}.roadmap-stage .knowledge-card{margin:0;padding:18px;border-radius:22px}.roadmap-stage h3{font-size:17px;margin:0 0 10px}.roadmap-stage p{margin:0;line-height:1.6}.stage-response,.stage-scope{padding:17px;border-radius:20px;font-size:15px}.stage-response{background:#e4eef0b3}.stage-scope{background:#e5ebdfc7}.stage-scope h3{color:#657f70}.stage-focus{counter-reset:focus;list-style:none;padding:0;margin:0;display:grid;gap:13px}.stage-focus li{counter-increment:focus;display:flex;gap:12px;font-size:15px;line-height:1.5}.stage-focus li:before{content:counter(focus);display:grid;place-items:center;min-width:26px;height:26px;border-radius:50%;background:#e4eef0;color:var(--blue);font-size:12px;font-weight:700}.stage-focus li:nth-child(even):before{background:#eee8dc}.sequence-step{transform-origin:top left}

/* DailyCompletionView and DailyPlanSettingSheet. */
body[data-page="daily-summary"] .app{padding-bottom:150px}body[data-page="daily-summary"] #main{display:grid;gap:20px}body[data-page="daily-summary"] #header h1{font-size:34px}.daily-achievement{height:218px;position:relative;isolation:isolate;overflow:hidden;border-radius:30px;padding:22px;border:.8px solid #54738417;background:linear-gradient(135deg,#e4eef0,#ebf1ea)}.daily-achievement img{position:absolute;width:160px;height:160px;right:-22px;bottom:-20px;object-fit:contain;z-index:-1}.daily-achievement h2{font-size:32px;line-height:1.2;margin:10px 0}.daily-achievement p{margin:0;color:var(--blue);font-size:17px;font-weight:600}.daily-achievement p strong{font-size:42px}.daily-metrics{display:flex;gap:10px}.daily-metrics>div{flex:1;padding:15px 13px;border-radius:21px;background:var(--sky)}.daily-metrics>div+div{background:var(--green)}.daily-metrics strong{font-size:22px}.daily-metrics small,.daily-metrics span{font-size:12px;color:var(--muted)}.daily-metrics span{display:block;margin-top:7px}.daily-performance{margin:0;padding:18px}.daily-performance h2{font-size:20px;margin:0 0 16px}.daily-performance>div{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid #22242616}.daily-performance>div:last-child{border:0;padding-bottom:0}.daily-performance p{flex:1;min-width:0;margin:0}.daily-performance strong{display:block;font-size:17px}.daily-performance small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.daily-companion{padding:18px;background:#f3e8e1;border-radius:26px}.daily-companion>div{display:flex;align-items:center;gap:8px;color:var(--blue);font-size:15px}.daily-companion .pill{background:var(--green);color:#637b68}.daily-companion h3{font-size:20px;font-weight:500;line-height:1.6;margin:10px 0}.daily-companion p{font-size:15px;line-height:1.6;color:var(--muted);margin:0}.daily-actions{position:fixed;z-index:12;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,496px);padding:12px 18px max(6px,env(safe-area-inset-bottom));background:#f7f5efbf;backdrop-filter:blur(22px);border-top:1px solid #22242616;display:grid;gap:6px}.daily-actions .text-link{margin:0;min-height:38px}.daily-ceremony{position:fixed;inset:0;z-index:18;background:var(--paper);display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden;pointer-events:none;padding:28px}.ceremony-halo{position:absolute;width:430px;height:430px;border-radius:50%;background:#e4eef04a;animation:halo-in .72s ease-out;z-index:-1}.ceremony-mark{width:112px;height:112px;display:grid;place-items:center;background:#ffffffd6;border:1px solid #54738421;border-radius:50%;box-shadow:0 12px 24px #54738419;animation:mark-in .72s cubic-bezier(.18,.95,.33,1.15)}.ceremony-mark .icon{width:54px;height:54px;color:var(--blue);stroke-width:3}.daily-ceremony h2{font-size:31px;margin:22px 0 9px}.daily-ceremony p{text-align:center;margin:0;color:var(--muted)}@keyframes mark-in{from{opacity:0;transform:scale(.54)}to{opacity:1;transform:scale(1)}}@keyframes halo-in{from{opacity:0;transform:scale(.25)}to{opacity:1;transform:scale(1)}}.study-settings-title{font-size:28px!important;margin:8px 0}.study-count{border-radius:26px;padding:18px;margin:22px 0;background:var(--sky);border:.8px solid #54738417}.study-count.green{background:var(--green)}.study-count h3{font-size:17px;margin:0 0 4px}.study-count p{font-size:12px;color:var(--muted);margin:0}.study-count>div{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:16px}.study-count button{width:44px;height:44px;border-radius:50%;background:#ffffffbf;color:var(--blue);font-size:20px}.study-count label{min-width:72px;text-align:center;margin:0;font-size:15px;color:var(--blue)}.study-count output{font-size:34px;font-weight:700;font-variant-numeric:tabular-nums}.study-count button:disabled{opacity:.3}.study-plan-note{border-radius:22px;padding:17px;background:var(--sand);margin:22px 0}.study-plan-note h3{margin:0 0 10px}.study-plan-note p{font-size:15px;line-height:1.6}
@media(prefers-reduced-motion:reduce){.ceremony-mark,.ceremony-halo{animation:none}}
@media(min-width:761px){.daily-actions{left:calc(50% + 160px);width:496px}}

/* TheoryCaseDetailView: diagnosis, expandable differential, treatment and source archive. */
.case-path{padding:16px;border-radius:24px;background:#fff9}.case-path>div:last-child{display:flex;gap:7px;align-items:center}.case-path article{flex:1;min-width:0;display:grid;justify-items:center;gap:5px;border-radius:16px;background:#e8efe48f;padding:9px 4px}.case-path article>span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--green);color:#637b68;font-size:11px;font-weight:700}.case-path article:first-child>span{background:#637b68;color:white}.case-path strong{font-size:12px}.case-path small{font-size:11px;color:var(--muted);text-align:center}.path-connector{font-size:15px;color:#637b6873}.case-section{display:grid;gap:14px;margin:16px 0}.case-structured{border-radius:24px;padding:16px;border:.8px solid #54738414}.case-structured.green{background:var(--green)}.case-structured.blue{background:var(--sky)}.case-structured.sand{background:var(--sand)}.case-structured.shell{background:#f3e8e1}.case-structured h3{font-size:20px;margin:0 0 12px}.case-line{display:flex;align-items:flex-start;gap:10px;margin-top:12px}.case-marker{display:grid;place-items:center;min-width:24px;min-height:24px;border-radius:20px;background:#ffffffb3;font-size:11px;font-weight:700;color:var(--blue)}.case-line p{font-size:17px;line-height:1.6;color:#222426d1;white-space:pre-wrap;margin:0;min-width:0}.case-differential{padding:16px;border-radius:26px;background:#f1e9ddad;margin:16px 0}.case-differential details{padding:14px;border-radius:18px;background:#ffffffb8;margin-top:10px}.case-differential summary{font-size:15px;font-weight:600;display:flex;align-items:flex-start;gap:10px;min-height:26px;cursor:pointer;list-style:none}.case-differential summary>span{display:grid;place-items:center;min-width:24px;height:24px;border-radius:50%;font-size:11px;background:#f3e8e1;color:#9a654e}.case-differential summary:after{content:'⌄';margin-left:auto;color:#9a654e}.case-differential details[open]>summary:after{content:'⌃'}.case-differential p{margin:9px 0 0;line-height:1.6}.case-supporting{padding:16px;border-radius:21px;background:#ffffffa8;border:.7px solid #2224260b}.case-supporting summary strong,.knowledge-archive summary strong{font-size:17px;display:block}.case-supporting summary small,.knowledge-archive summary small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.case-supporting ul{padding-left:20px}.case-supporting li{margin:10px 0;font-size:17px;line-height:1.6}.case-raw-field{margin-top:10px;border-radius:17px;background:#e8efe48a;padding:13px}.case-raw-field summary{font-size:15px;font-weight:600}.case-raw-field .medical-text{font-size:15px;margin-top:9px;line-height:1.6}.diagnosis-feature-title{display:flex;align-items:center;gap:8px;justify-content:space-between}.diagnosis-feature-title>span{padding:4px 8px;border-radius:30px;background:var(--green);font-size:11px;color:#637b68;font-weight:700}.diagnosis-feature section+section{border-top:1px solid #637b6820;padding-top:13px;margin-top:13px}.diagnosis-feature section small{display:block;font-size:12px;font-weight:700;color:#222426ad;margin-top:13px}.diagnosis-feature section p{margin:4px 0 0}.diagnosis-detail[open] .diagnosis-feature{animation:diagnosis-reveal .22s ease-in-out}@keyframes diagnosis-reveal{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.diagnosis-detail[open] .diagnosis-feature{animation:none}}

.daily-actions .text-link{display:flex;justify-content:center;width:100%;text-align:center}

/* Short landscape windows need space for reading, while every control stays >=44px. */
html{scroll-padding-bottom:110px}
@media (orientation:landscape) and (max-height:500px) and (min-width:600px){
 .layout{display:block;max-width:660px;padding:0 22px}.brand,.preview-bar{display:none}.app{padding-bottom:90px}
 body header,body[data-page=guide] header,body[data-page=train] header,body[data-page=account] header,.focus-layout #header{min-height:68px;padding:8px 0 12px;align-items:center}
 header h1{font-size:28px}header p{font-size:13px}.native-title{align-self:center}
 nav{width:min(616px,calc(100vw - 44px));bottom:max(8px,env(safe-area-inset-bottom));padding:3px}
 nav button{min-height:44px;flex-direction:row;gap:7px;padding:4px;font-size:13px}nav .icon{width:21px;height:21px}
 .conversation-top{padding:6px 18px 8px}.conversation-top .circle{width:44px;height:44px}
 .conversation-composer{padding:5px 12px max(5px,env(safe-area-inset-bottom))}.composer-footer{margin-top:0;min-height:44px}.chat-wallet,.chat-consent{min-height:44px}
 .composer-row textarea{max-height:84px}.latest-button{bottom:112px}
 .daily-actions{left:50%;width:min(660px,100%)}
}

/* Approved wide-screen reading adaptation. Phone/tablet and the four main pages
   retain their existing layout; knowledge and conversation remain one reading column. */
@media (min-width:1100px) and (min-height:501px){
 body[data-page="topic"] .layout{max-width:1056px;grid-template-columns:240px minmax(0,680px)}
 .conversation-sheet{width:680px}
}

/* Final native DailySkillQueue: one group, two modes, direct continuation. */
.daily-skill-heading h2{font-size:35px;line-height:1.18;letter-spacing:-.7px;margin:0 0 7px}.daily-skill-heading p{font-size:17px;color:var(--muted);line-height:1.5;margin:0 0 22px}
.daily-skill-progress{background:#e4eef0;border:.8px solid #5473841a;border-radius:25px;padding:18px;margin-bottom:22px}.daily-skill-progress>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.daily-skill-progress p{display:grid;gap:3px;margin:0}.daily-skill-progress p span{font-size:15px;font-weight:600;color:var(--blue)}.daily-skill-progress strong{font-size:20px}.daily-skill-progress b{font-size:23px;color:var(--blue);white-space:nowrap}.daily-skill-progress progress{display:block;width:100%;height:6px;margin:14px 0}.daily-skill-progress small{font-size:13px;line-height:1.5;color:var(--muted);display:block}
.daily-skill-card{padding:17px;border-radius:24px;background:#f1e9dd;border:.8px solid #2224260f;margin:12px 0}.daily-skill-card.is-complete{background:#e8efe4}.daily-skill-card-title{display:flex;align-items:flex-start;gap:12px}.daily-skill-card-title>span{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border-radius:50%;background:#ffffffb8;color:var(--blue);font-size:12px;font-weight:700}.daily-skill-card-title>div{flex:1;min-width:0}.daily-skill-card-title strong{font-size:17px;line-height:1.45;display:block}.daily-skill-card-title small{display:block;font-size:13px;line-height:1.4;color:var(--muted);margin-top:4px}.daily-skill-card-title>.icon{color:#637b68;flex-shrink:0}
.daily-skill-modes{display:flex;gap:10px;margin-top:14px}.daily-skill-modes button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:0;min-height:46px;padding:8px 4px;border-radius:15px;background:#ffffffb8;color:var(--blue);font-size:15px;font-weight:600;white-space:nowrap}.daily-skill-modes button .icon{width:17px;height:17px;flex-shrink:0}.daily-skill-modes button.is-complete{color:#637b68}.daily-skill-card .mentor-reference{margin:14px 0 0;border-radius:15px;font-size:14px;min-height:46px;padding:10px 12px}.daily-skill-boundary{font-size:13px;line-height:1.55;color:var(--muted);padding:16px;background:#ffffff9e;border-radius:20px;margin-top:22px}
.daily-skill-completion{min-height:65dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px 10px;gap:16px}.daily-skill-completion .done-mark{margin:0;color:#637b68}.daily-skill-completion h2{font-size:30px;margin:0}.daily-skill-completion p{margin:0 0 8px;color:var(--muted);line-height:1.5}.daily-skill-completion .primary{min-height:52px;border-radius:17px}.daily-skill-completion .done-mark{animation:skill-completion-in .7s cubic-bezier(.2,.8,.25,1.25)}@keyframes skill-completion-in{from{opacity:0;transform:scale(.55)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.daily-skill-completion .done-mark{animation:none}}

.daily-skill-heading p span{white-space:nowrap}

/* Native lightweight reply presence: only these three dots animate. */
.chat-presence{padding:8px;margin:12px 0;color:var(--muted);font-size:13px}.chat-presence>div{height:24px;display:flex;align-items:center;gap:12px}.chat-presence p{font-size:12px;margin:8px 0 0}.reply-dots{display:inline-flex;gap:5px;align-items:center}.reply-dots i{display:block;width:5px;height:5px;border-radius:50%;background:var(--blue);animation:reply-breathe 1.8s ease-in-out infinite}.reply-dots i:nth-child(2){animation-delay:-1.5s}.reply-dots i:nth-child(3){animation-delay:-1.2s}@keyframes reply-breathe{0%,100%{opacity:.35}50%{opacity:.85}}
.chat-incomplete{display:block;color:var(--muted);font-size:12px;line-height:1.5;margin-top:10px}.chat-receive-notice:empty{display:none}.chat-receive-notice{font-size:13px;color:#93614b;line-height:1.5}.chat-send.ready{background:var(--blue);color:white}.chat-send.receiving{font-size:19px;background:var(--sky);color:var(--blue)}.composer-options{display:flex;align-items:center;gap:4px;min-width:0}.chat-keyboard,.chat-more{width:44px;height:44px;padding:0;color:var(--blue);font-size:20px}.chat-more{font-size:15px}.chat-input-limit{font-size:12px;color:#93614b;line-height:1.4;margin:5px 0}.composer-footer .chat-wallet{min-height:44px}.conversation-scroll>.secondary{margin-top:12px}.chat-welcome[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.reply-dots i{animation:none;opacity:.6}}

.startup-card{margin:32px 0;padding:28px;border-radius:24px;background:rgba(255,255,255,.8)}.startup-card h2{font-size:28px}.startup-card p{line-height:1.7}.startup-card button{min-height:48px}.startup-card [data-connection-status]{color:var(--accent,#527584);font-size:14px}
/* Standalone display may extend under a status bar; browser viewports report zero. */
body{padding-top:env(safe-area-inset-top,0px)}
@media(max-width:850px){.app{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}}

/* Account learning migration: one explicit choice per conflicting fact. */
.migration-choice{border:1px solid #dce5e3;border-radius:18px;margin:16px 0;padding:12px;min-width:0}.migration-choice legend{font-size:14px;line-height:1.6;padding:0 6px}.migration-choice label{display:flex;align-items:flex-start;gap:10px;min-height:48px;padding:10px 0;cursor:pointer}.migration-choice input[type="radio"]{margin-top:5px;width:20px;height:20px;min-width:20px;min-height:20px;flex:0 0 20px;padding:0;accent-color:var(--blue)}.migration-choice span{min-width:0;overflow-wrap:anywhere}.migration-choice strong{display:block;font-size:14px}.migration-choice small{display:block;font-size:12px;line-height:1.6;color:var(--muted);margin-top:4px}

/* Native report hierarchy: overview, module cards, individual self-ratings. */
body[data-page="exam-report"] header h1{font-size:19px}body[data-page="exam-report"] .app{padding-bottom:30px}.exam-report-score{padding:19px;background:var(--green);border-radius:24px;margin-bottom:21px}.exam-report-score>strong{font-size:38px;font-weight:700;color:var(--blue);font-variant-numeric:tabular-nums}.exam-report-score small{font-size:25px}.exam-report-score p{font-size:14px;color:var(--muted);margin:8px 0}.exam-report-score progress{display:block;width:100%;height:4px;accent-color:var(--blue)}.exam-report-modules,.exam-report-tasks{display:grid;gap:10px;margin-bottom:21px}.exam-report-modules .report-row,.exam-report-task{padding:15px;background:#ffffffb3;border-radius:18px;border:0}.exam-report-modules .report-row{align-items:center;gap:14px;font-size:14px}.exam-report-modules .report-row>strong{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--blue)}.exam-report-task>small{font-size:12px;color:var(--muted)}.exam-report-task h3{font-size:15px;font-weight:600;line-height:1.6;margin:4px 0}.exam-report-task>p{font-size:13px;color:var(--blue);margin:4px 0 0}.exam-report-note{padding:16px;background:var(--sky);border-radius:20px;font-size:13px;line-height:1.7;color:var(--muted)}.exam-report-actions{display:grid;gap:10px}.exam-report-actions .danger{color:#a5463e}.report-audio{margin-top:10px}.report-audio button{display:inline-flex;align-items:center;gap:6px;min-height:44px;border-radius:24px;font-size:13px;padding:8px 12px;background:var(--sky)}.report-audio .icon{width:18px;height:18px}.report-audio-controls{margin-top:8px}.report-audio-controls[hidden]{display:none}.report-audio-controls input{width:100%;height:32px;padding:0;accent-color:var(--blue)}.report-audio-controls span{display:block;text-align:right;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}

/* Resume content owns its height. Illustration stays in a separate lower-right lane. */
.training-hero{height:auto;min-height:224px}
.training-copy{height:auto;min-height:224px;padding:20px;display:grid;grid-template-columns:minmax(0,1fr) 116px;align-content:start;align-items:start;column-gap:12px;row-gap:12px}
.training-copy .pill,.training-copy h2{grid-column:1/-1;justify-self:start;margin:0;max-width:none}
.training-copy h2{font-size:25px;line-height:1.3}
.training-copy .training-subject{grid-column:1;margin:0;max-width:none;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.training-copy .resume-progress{grid-column:1;margin:0;font-size:12px;line-height:1.5;color:var(--muted)}
.training-copy .hero-link,.training-copy .training-evidence{grid-column:1;justify-self:start;margin:0;max-width:none}
.training-copy .hero-link{padding:0;min-height:44px;font-size:15px;color:var(--blue);display:inline-flex;align-items:center;gap:7px}
.training-hero img{width:144px;height:144px;right:-10px;bottom:4px}
.training-hero .hero-orb{width:162px;height:162px;right:-28px;bottom:-20px}
/* The daily quantity has two distinct pieces; keep the value below its label. */
.profile-row[data-action=study-settings]{display:grid;grid-template-columns:32px minmax(0,1fr) auto;column-gap:13px;row-gap:3px}
.profile-row[data-action=study-settings] .profile-icon{grid-column:1;grid-row:1/3}
.profile-row[data-action=study-settings] .profile-row-title{grid-column:2;grid-row:1;white-space:normal;line-height:1.45}
.profile-row[data-action=study-settings] .profile-value{grid-column:2;grid-row:2;justify-self:start;text-align:left;margin:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.profile-row[data-action=study-settings]>.chevron{grid-column:3;grid-row:1/3;align-self:center}
@media(max-width:370px){.training-copy{grid-template-columns:minmax(0,1fr) 92px;column-gap:8px}.training-copy h2{font-size:23px}.training-hero img{width:116px;height:116px;right:-8px;bottom:10px}.training-copy .training-subject{font-size:14px}.profile-row[data-action=study-settings]{column-gap:12px}}

/* Filled action surfaces must not inherit the global muted-small color. */
.native-topic-cta small{color:#f0f4f6;opacity:1}
.primary small,.primary .subtle{color:#f0f4f6}
/* This is a preview; the complete original question remains in the practice page. */
.training-copy .training-subject{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
