[hidden]{display:none!important}*{box-sizing:border-box}body.in-session{overflow:hidden;background:#132b2c}body.in-session>canvas{position:fixed!important;inset:0!important;width:100%!important;height:100%!important}.session-screen{position:fixed;inset:0;display:grid;place-items:center;background:#f4f1e9;z-index:80;text-align:center;padding:24px}.load-card{max-width:430px}.load-card h1{font:38px Georgia}.load-pulse{font-size:64px;color:#267064}.load-card p{line-height:1.65;color:#566962}.load-card button{padding:14px 20px;min-height:48px;margin:6px;border-radius:10px;border:1px solid #728d80;color:#173e3c;background:transparent}#load-error button:first-child{background:#173e3c;color:white}
#experience{--panel-height:184px;position:fixed;inset:0;z-index:20;pointer-events:none;color:#e8eee9;font:15px/1.5 Arial,sans-serif}#experience button,#experience select,#experience input,#experience a,.lesson-panel,#model-region,#experience dialog{pointer-events:auto}#experience button{font:inherit;font-size:14px;min-height:44px;border:1px solid #a7b9ad;background:#fffef9;color:#173e3c;border-radius:9px;padding:10px 16px;line-height:1.3;cursor:pointer}#experience button:hover:not(:disabled){background:#e5ede7}#experience button:disabled{opacity:.45;cursor:default}#experience button[aria-pressed=true],#experience button[aria-current=page]{background:#21675d;color:#fff;border-color:#21675d}#experience :is(button,input,select,a,summary):focus-visible{outline:3px solid #c2814f;outline-offset:3px}#experience input[type=range]{accent-color:#21675d;min-height:36px;min-width:0;cursor:pointer}#experience select,#experience input[type=search]{width:100%;font:inherit;color:#173e3c;padding:12px;background:#fffefa;border:1px solid #a7b9ad;border-radius:8px;min-height:46px}#experience label{display:block;margin:16px 0 6px;font-size:14px}#experience p{line-height:1.7}#experience .small-note{font-size:13px;color:#596e64;line-height:1.65}#experience .eyebrow{font-size:12px;color:#397165;letter-spacing:1px;font-weight:700}.experience-bar{position:absolute;top:0;left:0;right:0;height:80px;padding:16px 28px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#102a2be8,#102a2b00);z-index:3}.experience-title{text-align:center;display:grid;gap:3px;letter-spacing:2px}.experience-title span{font-size:10px;letter-spacing:1px}.experience-bar .icon-label,.view-controls button{background:#203a3bec!important;color:#f5f6ee!important;border-color:#69817b!important}.model-region{position:absolute;left:0;top:84px;right:420px;bottom:104px;touch-action:none;cursor:grab}.model-region:active{cursor:grabbing}.model-caption{position:absolute;left:32px;bottom:28px;display:grid;gap:5px;pointer-events:none}.model-caption span:first-child{font-size:11px;letter-spacing:1.5px;color:#b0c7bd}.model-caption span:last-child:not(:empty){font:22px Georgia;background:#173535e8;padding:8px 12px;border-radius:8px;max-width:240px}.gesture-hint{position:absolute;left:32px;bottom:0;font-size:12px;color:#c5d5ca;background:#173535d9;padding:4px 8px;border-radius:5px;pointer-events:none}.view-controls{position:absolute;left:calc((100% - 420px)/2);transform:translateX(-50%);bottom:30px;display:flex;gap:8px;white-space:nowrap}.view-controls button{font-size:13px!important}.lesson-panel{position:absolute;right:24px;top:94px;bottom:24px;width:372px;background:#f5f3eb;color:#173e3c;border:1px solid #ffffff4d;border-radius:18px;box-shadow:0 12px 40px #071e2738;display:flex;flex-direction:column;overflow:hidden}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 18px 8px;flex-shrink:0;touch-action:none}.sheet-heading>span{font-size:14px;font-weight:600;line-height:1.35}.sheet-heading button{display:none}.lesson-player{padding:4px 18px 14px;border-bottom:1px solid #173e3c20;flex-shrink:0}.player-row{display:flex;gap:10px;align-items:center}.player-row button{flex-shrink:0}.player-row input{width:100%}.player-row output{min-width:36px;font-size:12px;font-variant-numeric:tabular-nums}.flow-controls{display:grid;grid-template-columns:1fr 1.7fr 1fr;gap:6px}.flow-controls button{padding:10px 8px!important;font-size:13px!important}#experience #flow-play,#experience #beat-play{background:#21675d;color:white;border-color:#21675d}#flow-progress{display:block;width:100%;height:4px;margin:10px 0 0;accent-color:#26776c;border:0;border-radius:8px;overflow:hidden}progress::-webkit-progress-bar{background:#d9e3d9}progress::-webkit-progress-value{background:#368878}.player-hint{display:block;font-size:12px;color:#61756b;margin-top:4px}.panel-body{padding:22px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}.panel-body h2{font:30px/1.14 Georgia;margin:10px 0 18px;letter-spacing:-.5px}.panel-body p{font-size:15px;color:#4f675d}.panel-body button{margin-top:8px}.lesson-tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:6px;gap:3px;border-top:1px solid #173e3c20;flex-shrink:0;background:#edeFE6}.lesson-tabs button{border:0!important;background:transparent!important;padding:10px 4px!important;font-size:12px!important}.lesson-tabs button[aria-current=page]{background:#21675d!important;color:white}.phase-list{list-style:none;padding:0;margin:24px 0;display:grid;gap:0}.phase-list li{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #becdc1}.phase-list li::before{content:'';width:6px;border-radius:6px;margin-right:10px;background:#d7ae89}.phase-list li:nth-child(2)::before{background:#cb716b}.phase-list li:nth-child(3)::before{background:#5c9b89}.phase-list span{flex:1}.phase-list b{font-weight:400;font-size:13px}.blood-chip{display:inline-block;background:#e4e9df;border-radius:24px;padding:6px 10px;font-size:12px}.flow-step.poor .blood-chip{background:#d7e9f3;color:#245a79}.flow-step.rich .blood-chip{background:#f5dfe1;color:#843f4a}.flow-step h2{margin-top:18px}.flow-steps{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:16px 0}.flow-steps button{display:flex;align-items:center;gap:8px;text-align:left;font-size:12px!important;padding:9px!important;margin:0;min-height:50px!important}.flow-steps span{font-size:11px;opacity:.8;flex-shrink:0}.flow-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0}.flow-options label{margin:0!important}.flow-options select{width:70px!important}.flow-options button{margin:0}.lung-bridge{padding:14px;background:#e0eee8;border-radius:9px;font-size:14px;line-height:1.6}.flow-legend{display:flex;gap:18px;font-size:13px}.flow-legend span:first-child{color:#28779b}.flow-legend span:last-child{color:#a9495d}.related{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.related button{font-size:13px!important}.structure-location{font-style:italic}.row-controls{display:flex;gap:8px;flex-wrap:wrap}.answer-options{display:grid;gap:8px;margin:18px 0}.answer-options button{margin:0;text-align:left;min-height:50px!important}.answer-options button.chosen{border:2px solid #487261!important}.answer-options button.correct{background:#dcebdc!important;border-color:#508267!important}.feedback{padding:16px;background:#e1ebdc;border-radius:10px;margin:18px 0;font-size:15px}.order-answer{padding-left:24px;min-height:28px}.order-answer li{padding:5px 0}.tracking-status{position:absolute;z-index:4;top:84px;left:28px;max-width:min(360px,calc(100vw - 48px));font-size:13px;line-height:1.5;background:#f5f3ebeF;color:#173e3c;border-radius:10px;padding:10px 14px}.tracking-status.tracked{background:#1e5549ef;color:#f0f8ed;padding:7px 12px}
#experience dialog{color:#173e3c;background:#f5f3eb;border:1px solid #bbcbbd;border-radius:18px;width:min(480px,calc(100vw - 24px));max-height:85dvh;padding:24px;overscroll-behavior:contain}#experience dialog::backdrop{background:#061f2899;backdrop-filter:blur(5px)}#experience dialog h2{font:28px/1.15 Georgia;margin:0}#experience dialog a{color:#276857}#experience .learning-dialog{padding:0;overflow:hidden}#experience .learning-dialog[open]{display:flex;flex-direction:column}.learning-dialog header{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid #bfcfc1;gap:12px}.learning-dialog header h2{font-size:24px!important}.dialog-body{overflow:auto;padding:20px;min-height:0}.setting-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}.setting-toggle span{font-size:12px}.range-row{display:flex;align-items:center;gap:16px}.range-row input{width:100%}.range-row output{min-width:40px;font-size:13px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}#fit-context,#continue-3d{width:100%;margin:8px 0}#preset-views{border:0;padding:0;margin:22px 0 0}#preset-views legend{font-size:14px}.tree-actions{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin:14px 0}.tree-actions button{font-size:13px!important}.structure-row{display:grid;grid-template-columns:1fr 52px;gap:6px;margin:6px 0}.structure-row button{text-align:left;font-size:14px!important}.structure-row .visibility-toggle{text-align:center;padding:8px!important;font-size:12px!important}.group-visibility{min-height:44px!important;padding:8px!important;font-size:12px!important;margin:6px 0}#structure-tree details{border-top:1px solid #c3d0c3;padding:10px 0}summary{cursor:pointer;min-height:44px;align-content:center;font-weight:600;pointer-events:auto}.close-help{float:right}
@media(max-width:760px) and (orientation:portrait){
 #experience{--panel-height:180px}.experience-bar{height:66px;padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top))}.experience-title{font-size:12px;letter-spacing:1.5px}.experience-title span{font-size:9px}.experience-bar button{font-size:12px!important;padding:10px!important}.model-region{top:70px;right:0;bottom:calc(var(--panel-height) + 64px + env(safe-area-inset-bottom))}.model-caption{left:16px;bottom:30px}.model-caption span:first-child{font-size:10px}.model-caption span:last-child:not(:empty){font-size:18px;max-width:220px}.gesture-hint{left:16px;font-size:11px;bottom:4px}.view-controls{left:50%;bottom:calc(var(--panel-height) + 12px + env(safe-area-inset-bottom));gap:6px}.view-controls button{padding:10px 12px!important;font-size:12px!important}.lesson-panel{left:8px;right:8px;top:auto;bottom:max(8px,env(safe-area-inset-bottom));width:auto;height:var(--panel-height);border-radius:16px}.sheet-heading{padding:8px 12px 0;min-height:46px}.sheet-heading>span{font-size:13px}.sheet-heading button{display:block;border:0!important;background:transparent!important;font-size:12px!important;padding:8px!important;flex-shrink:0}.lesson-player{padding:0 12px 8px;border:0;min-height:60px}.player-row{gap:7px}.player-row button{font-size:12px!important;padding:9px 11px!important}.player-hint{display:inline;font-size:11px;margin-left:8px}.panel-body{padding:18px;overscroll-behavior:contain}.lesson-panel[data-size=compact] .panel-body{display:none}.lesson-tabs{margin-top:auto;padding:4px}.lesson-tabs button{min-height:44px!important;font-size:12px!important}.panel-body h2{font-size:28px}.tracking-status{top:70px;left:12px;font-size:12px}.tracking-status.tracked{padding:5px 10px}.experience-title span{max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#experience[data-sheet=learn]{--panel-height:44dvh}#experience[data-sheet=reading]{--panel-height:80dvh}#experience[data-sheet=reading] .model-caption,#experience[data-sheet=reading] .gesture-hint{display:none}#experience[data-sheet=reading] .model-region{bottom:calc(var(--panel-height) + 12px)}#experience[data-sheet=reading] .view-controls{display:none}#experience .learning-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-height:85dvh;border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom)}
}
@media(max-width:1000px) and (orientation:landscape){.experience-bar{height:60px;padding:8px 16px}.lesson-panel{top:66px;right:10px;bottom:10px;width:320px}.model-region{top:64px;right:340px;bottom:74px}.model-caption,.gesture-hint{display:none}.view-controls{left:calc((100% - 340px)/2);bottom:15px;gap:4px}.view-controls button{padding:10px 8px!important;font-size:11px!important}.panel-body{padding:16px}.tracking-status{top:64px;max-width:220px}.experience-title span{display:none}}
@media(max-height:620px) and (orientation:portrait){#experience{--panel-height:168px}.model-caption{display:none}.gesture-hint{font-size:10px}.sheet-heading>span{font-size:12px}.lesson-player .player-hint{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Compact structure picker: fixed search, independent 44px selection/visibility targets. */
#experience #structures-dialog{max-width:480px;margin:auto;max-height:85dvh}
#structures-dialog header{padding:8px 12px 8px 18px;flex-shrink:0;gap:8px}
#experience #structures-dialog h2{font:600 20px/1.25 Arial,sans-serif!important}
#experience #structures-dialog header button{width:44px;padding:10px;flex-shrink:0;border:0;background:transparent}
#structures-dialog svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block;pointer-events:none}
.structure-toolbar{padding:12px 16px 0;flex-shrink:0}
#experience .structure-search-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#experience #structure-search{font-size:16px;min-height:44px;padding:10px 12px}
#structures-dialog .tree-actions{margin:0;min-height:44px;gap:8px;color:#5b7065}
#experience #structures-dialog #show-all{border:0;background:transparent;padding:10px 0 10px 12px;font-size:12px}
#structures-dialog .dialog-body{padding:0 16px 12px;overscroll-behavior:contain}
.structure-group{position:relative;border-top:1px solid #c3d0c3}
#structure-tree .structure-group details{border:0;padding:0}
#structure-tree summary{display:flex;align-items:center;gap:8px;padding:8px 48px 8px 0;min-height:44px;list-style:none;font-size:13px;line-height:1.3}
#structure-tree summary::-webkit-details-marker{display:none}
#structure-tree summary::before{content:'';width:6px;height:6px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(-45deg);flex-shrink:0;margin:0 4px 0 2px}
#structure-tree details[open] summary::before{transform:rotate(45deg);margin-top:-4px}
#structure-tree summary small{font-size:11px;font-weight:400;color:#61756b;margin-left:auto}
#experience #structure-tree .group-visibility{position:absolute;right:0;top:0;margin:0;width:44px;min-height:44px;padding:12px;border:0;background:transparent;border-radius:7px}
#structures-dialog .structure-row{grid-template-columns:minmax(0,1fr) 44px;gap:0;margin:0;border-top:1px solid #173e3c0d}
#experience #structures-dialog .structure-row button{min-height:44px;padding:10px 12px;border:0;border-radius:7px;background:transparent;font-size:14px!important;line-height:1.4;overflow-wrap:anywhere}
#experience #structures-dialog .structure-row .visibility-toggle{display:grid;place-items:center;padding:12px!important;color:#56766a}
#experience #structures-dialog .structure-row button[aria-pressed=true]{background:#21675d;color:white}
#experience #structures-dialog button:hover:not(:disabled){background:#e5ede7}
#experience #structures-dialog .structure-row button[aria-pressed=true]:hover{background:#1b5a50}
#structures-dialog .eye-slash{display:none}
#structures-dialog [data-hidden=true]>.eye-slash,#structures-dialog button[data-hidden=true] .eye-slash{display:block}
#structures-dialog .structure-row[data-hidden=true] [data-pick]{color:#728078}
#structure-announcement:empty{display:none}
@media(max-width:760px) and (orientation:portrait){#experience #structures-dialog{inset:auto 0 0;margin:0 auto;width:100%;max-width:100%;max-height:85dvh;border-radius:18px 18px 0 0}#structures-dialog header{padding-left:16px}}
