:root{font-family:-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;font-size:19px;line-height:1.65;color:#193f42;background:#f2f7f5;word-break:keep-all;overflow-wrap:anywhere;--teal:#087b70;--line:#cbded4;--muted:#55706f;--header:90px}
*{box-sizing:border-box}body{margin:0}h1,h2,h3,h4,p{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,summary{touch-action:manipulation;-webkit-tap-highlight-color:#c8e6db}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--teal);outline-offset:4px}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:68px;padding:13px 20px;border:1px solid #b9d1c6;border-radius:12px;background:white;color:#285c54;font-size:21px;font-weight:750;line-height:1.5;text-decoration:none;text-align:center}button.primary,.button.primary{background:var(--teal);border-color:var(--teal);color:#fff}button[aria-pressed=true]{border-color:var(--teal);background:#e5f3ec;color:#056d62;box-shadow:inset 0 0 0 1px var(--teal)}a{color:var(--teal);text-underline-offset:4px}fieldset{border:0;padding:0;margin:0;min-width:0}legend,.field-label{display:block;padding:0;margin-bottom:11px;font-size:20px;font-weight:750;color:#3c6662}h1{font-size:33px;line-height:1.4;letter-spacing:-.045em}h2{font-size:27px;line-height:1.45;letter-spacing:-.035em}h3{font-size:22px;line-height:1.5}ul,ol{padding-left:24px;margin:14px 0 0}li{margin-bottom:9px}.note{font-size:16px;color:var(--muted);line-height:1.7}.wrap{max-width:1150px;padding:0 28px;margin:auto}[hidden]{display:none!important}.skip{position:fixed;top:-100px;left:16px;z-index:100;background:white;padding:12px}.skip:focus{top:12px}.site-header{position:sticky;top:0;z-index:40;border-bottom:1px solid #dbe8e1;background:#fff;padding-top:env(safe-area-inset-top,0px)}.header-inner{display:flex;align-items:center;gap:20px;max-width:1150px;min-height:90px;padding:13px 28px;margin:auto}.home-logo{display:flex;align-items:center;min-height:60px;flex:none}.brand-frame{position:relative;display:block;flex:none;width:240px;aspect-ratio:1665/348;overflow:hidden}.brand-frame>img{position:absolute;display:block;width:116.6366%;max-width:none;height:auto;left:-8.4084%;top:-63.2184%;object-fit:contain}.site-title{margin-left:auto;color:#456b64;font-size:20px;font-weight:750}.offline-badge{font-size:16px;padding:5px 10px;border:1px solid #d6bc83;border-radius:8px;background:#fff6e6;color:#79561f}.step-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.step-nav button{min-height:72px;font-size:22px}.step-nav button[aria-current=step]{background:var(--teal);color:#fff;border-color:var(--teal)}main{scroll-margin-top:calc(var(--header) + 18px)}.intro{margin:26px 0 24px}.intro p{margin-top:9px;color:var(--muted);font-size:19px}.eyebrow{display:block;color:#117466;font-size:17px;font-weight:750;margin-bottom:8px}.panel{padding:26px;margin:0 0 24px;border:1px solid var(--line);border-radius:16px;background:#fff;min-width:0}.panel>p{margin-top:10px;color:var(--muted)}.notice,.error{padding:14px 18px;border-radius:10px;margin:16px 0;font-size:18px;line-height:1.65}.notice{background:#e7f3ec;border:1px solid #b3d6c3;color:#285f4a}.error{background:#fff5e9;border:1px solid #dbb78d;color:#8b4f27}.stale{background:#fff5e8;border-color:#d9b18a}.stale button{margin-top:14px}.work-input{width:100%;min-height:100px;padding:17px 18px;border:1px solid #adcabc;border-radius:12px;background:#fbfdfb;color:#193f42;resize:vertical;font-size:21px;line-height:1.6}.work-input::placeholder{color:#739087}.condition-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:25px 0}.three-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.three-options button{min-height:80px;padding:14px 10px;font-size:21px;border-width:2px;min-width:0}.check{font-weight:850;flex:none}.tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.tags button{min-height:62px;padding:12px 18px;font-size:19px}.more{border-top:1px solid #dce8e1;margin-top:23px}.more>summary{cursor:pointer;min-height:68px;align-content:center;padding:13px 0;font-size:20px;font-weight:750;color:#315f55}.more fieldset{margin:12px 0 22px}.duration-section{margin-top:26px}.full-action{display:flex;width:100%;min-height:76px;font-size:23px;margin-top:24px}.selection-hint{margin-top:12px;font-size:17px;color:var(--muted)}.summary-line{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.summary-line>p{color:#50726a;font-size:18px}.summary-line .outline{min-height:60px;font-size:18px;padding:10px 16px}.context-tags{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.context-tags span{padding:5px 10px;border-radius:7px;background:#eaf4ed;color:#3b6759;font-size:16px}.lesson-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 24px}.lesson-tabs button{min-height:86px;display:flex;align-items:flex-start;justify-content:space-between;flex-direction:column;text-align:left;padding:14px 16px;font-size:18px;line-height:1.45}.lesson-tabs small{display:block;margin-top:5px;font-size:15px;font-weight:500;color:#58756b}.lesson-tabs .watch-done{color:#087568;font-weight:750}.lesson-viewer{scroll-margin-top:calc(var(--header) + 18px)}.lesson-title{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.lesson-title>div{min-width:0}.lesson-title p{margin-top:8px;color:#55756a;font-size:18px}.lesson-title .duration-pill{flex:none;font-size:17px;color:#4f7166;background:#eff6f1;border-radius:7px;padding:5px 10px}.video-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:28px;align-items:start}.media{min-width:0}.media video,.case-video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:12px;background:#103b3b}.player-actions{display:flex;gap:12px;margin-top:15px}.player-actions button{flex:1;min-height:66px}.speed-choices{display:flex;gap:9px;margin-top:13px}.speed-choices button{flex:1;min-height:54px;padding:8px 13px;font-size:17px}.key-points h3{font-size:21px;margin-bottom:12px}.key-points ul{margin:0}.key-points li{font-size:20px;line-height:1.75;margin-bottom:15px}.watch-status{padding:12px 15px;background:#f0f6f2;border-radius:8px;font-size:18px;color:#3d6b58;margin-top:16px}.watch-status.complete{background:#e5f3eb;color:#0f6b53;font-weight:750}.media-error{padding:14px 17px;background:#fff5e9;border:1px solid #d9b78f;border-radius:9px;color:#87512a;margin-top:14px;font-size:17px}.learning-next{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:22px}.learning-next .primary{min-width:240px}.learning-next p{color:#57756a;font-size:17px}.case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.case-card{padding:0;display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;overflow:hidden;text-align:left;gap:0}.case-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:#d6e3dc}.case-card span{padding:14px;font-size:18px;line-height:1.55}.case-detail{border-top:1px solid #d9e7de;padding-top:22px;margin-top:22px}.case-detail h3{margin-bottom:14px}.case-detail .case-video{max-width:650px}.case-detail p{margin-top:12px;color:#4c6f61;font-size:18px}.case-detail ul{font-size:18px}.source-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:16px}.source-links a{display:inline-flex;align-items:center;min-height:52px;font-size:17px}.reading-item{padding:18px 0;border-bottom:1px solid #dce8e0}.reading-item:last-child{border-bottom:0}.reading-item h3{font-size:20px}.reading-item li{font-size:18px}.quiz-progress{font-size:20px;color:#406d5e;font-weight:750;margin-bottom:20px}.question-card{scroll-margin-top:calc(var(--header) + 18px)}.question-card legend{font-size:23px;line-height:1.55;color:#244f49;font-weight:750;margin-bottom:16px}.question-topic{display:block;font-size:16px;font-weight:650;color:#638173;margin-bottom:8px}.choices{display:grid;gap:13px}.choices button{justify-content:flex-start;text-align:left;align-items:center;min-height:84px;padding:17px 20px;border-width:2px;font-size:21px;line-height:1.6}.choices .answer-number{display:grid;place-items:center;flex:none;background:#edf5ef;border-radius:50%;width:34px;height:34px;font-size:18px}.choices button:disabled{opacity:1}.choices button.selected{background:#e7f2eb;border-color:#087b70;color:#155d4b}.quiz-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 28px}.quiz-bottom p{font-size:18px;color:#587568}.quiz-bottom button{min-width:260px}.result-card{text-align:center}.result-badge{display:inline-block;padding:5px 14px;border-radius:20px;font-size:17px;font-weight:750;background:#e4f3e9;color:#0d6d51;margin-bottom:12px}.result-badge.fail{background:#fff1df;color:#8b5c2b}.score-line{display:flex;justify-content:center;align-items:baseline;gap:16px;color:#0e7056;margin:15px 0}.score-line strong{font-size:42px;line-height:1.3}.score-line span{font-size:21px}.result-card>p{max-width:680px;margin:12px auto;color:#557365}.qr-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:30px;align-items:center;text-align:left;max-width:800px;margin:25px auto 4px;padding-top:25px;border-top:1px solid #d7e6dc}.qr-art{width:100%;padding:15px;background:#fff;border:1px solid #d9e5dc;border-radius:12px}.qr-art svg{display:block;width:100%;height:auto;max-width:100%;shape-rendering:crispEdges}.qr-copy h3{font-size:24px;line-height:1.5}.qr-copy p{font-size:17px;color:#547568;margin-top:10px}.qr-copy a{display:inline-flex;min-height:56px;align-items:center;margin-top:12px;font-size:18px}.save-state{font-size:16px!important;color:#557366!important}.result-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:24px}.result-actions button{min-width:250px}.review-question{padding:16px 0;border-bottom:1px solid #dce8e0}.review-question:last-child{border:0}.review-question h3{font-size:20px}.review-question p{font-size:18px;color:#4d6f60;margin-top:10px}.review-question .wrong{color:#8c562c}.feedback-form fieldset{margin:18px 0 22px}.rating-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.rating-options button{min-height:64px;font-size:22px}.feedback-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.feedback-options button{min-height:68px;font-size:19px}.feedback-message{font-size:17px;color:#557365;margin-top:14px}.admin-tools{margin:34px 0 10px;border-top:1px solid #d5e5db;color:#557269}.admin-tools>summary{display:list-item;cursor:pointer;min-height:64px;align-content:center;padding:15px 0;font-size:17px;font-weight:650}.admin-content{padding:16px 0 12px}.device-tools{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px;border:1px solid #cbded3;border-radius:12px;background:white}.device-tools strong{font-size:18px}.device-tools p,.tool-message{font-size:16px;margin-top:6px}.device-tools button{font-size:18px;min-height:60px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px}.history{margin-top:28px;padding-top:22px;border-top:1px solid #d6e5dc}.history h2{font-size:23px}.history-status{font-size:16px}.history-row{display:grid;grid-template-columns:1fr auto;gap:18px;padding:15px 0;border-top:1px solid #dbe7df;font-size:17px}.history-row small{display:block;font-size:15px;color:#688174;margin-top:5px}.sync-status{color:#207050;font-weight:750}.sync-status.pending{color:#946331}.admin-links{display:flex;gap:22px;flex-wrap:wrap;margin:18px 0}.admin-links a{display:inline-flex;align-items:center;min-height:52px;font-size:17px}.loading{padding:45px 0;color:#5a7a6c}footer{font-size:15px;color:#738b80;padding:12px 0 calc(28px + env(safe-area-inset-bottom,0px))}
@media(max-width:1000px){:root{--header:86px}.header-inner{min-height:86px;padding:12px 24px}.brand-frame{width:224px}.wrap{padding-inline:24px}.condition-grid{gap:22px 18px}.three-options{gap:9px}.three-options button{font-size:20px;flex-direction:column;gap:5px;padding:11px 7px}.video-grid{grid-template-columns:1fr}.key-points{padding-top:22px;border-top:1px solid #d7e5dc}.lesson-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qr-grid{grid-template-columns:270px minmax(0,1fr);gap:24px}}
@media(max-width:700px){:root{--header:82px}.header-inner{padding:10px 18px;gap:12px;min-height:82px}.brand-frame{width:205px}.site-title{font-size:17px}.offline-badge{font-size:14px;padding:3px 7px}.wrap{padding-inline:18px}.step-nav{gap:8px;margin:18px 0}.step-nav button{font-size:19px;min-height:68px;padding:11px 4px}.intro{margin:23px 0}h1{font-size:29px}.intro p{font-size:18px}.panel{padding:22px 18px}h2{font-size:25px}.condition-grid{grid-template-columns:1fr}.three-options button{flex-direction:row;font-size:21px;min-height:76px}.summary-line{align-items:flex-start;flex-direction:column;gap:12px}.lesson-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-tabs button{font-size:18px;min-height:83px;padding:13px}.lesson-title{gap:12px}.lesson-title h2{font-size:24px}.lesson-title .duration-pill{font-size:15px;padding:5px 8px}.key-points li{font-size:19px}.learning-next{align-items:stretch;flex-direction:column}.learning-next .primary{width:100%}.case-grid{grid-template-columns:1fr}.case-card{display:grid;grid-template-columns:32% 1fr}.case-card img{height:100%;aspect-ratio:auto}.case-card span{padding:12px;font-size:18px}.choices button{font-size:20px;padding:17px 14px;gap:11px}.question-card legend{font-size:22px}.quiz-bottom{align-items:stretch;flex-direction:column}.quiz-bottom button{width:100%}.qr-grid{grid-template-columns:1fr;text-align:center;gap:20px}.qr-art{width:min(290px,100%);margin:auto}.qr-copy h3{font-size:23px}.qr-copy a{justify-content:center}.score-line strong{font-size:38px}.result-actions button{width:100%}.feedback-options{gap:8px}.feedback-options button{font-size:18px;padding:11px 8px}.device-tools,.section-heading{align-items:stretch;flex-direction:column}.history-row{grid-template-columns:1fr;gap:8px}.admin-links{gap:15px}.admin-content .note{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.site-header,.step-nav,.player-actions,.speed-choices,.admin-tools,footer,.result-actions,.learning-next{display:none}body{background:#fff}.wrap{padding:0}.panel{break-inside:avoid}.qr-art{border:0}}

.header-inner .language-switch select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%23194e48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:18px;background-position:right 5px center}

.language-switch{display:flex;align-items:center;gap:7px;flex-shrink:0;min-height:60px;margin-left:auto;padding:0 12px;border:1px solid #b2cfc2;border-radius:12px;background:white;color:#194e48}.language-switch>span{font-size:24px}.language-switch select{width:142px;min-height:60px;padding:9px 26px 9px 5px;border:0;border-radius:9px;background:transparent;color:inherit;font-size:20px;font-weight:750;cursor:pointer}.language-switch select:focus-visible{outline:3px solid var(--teal);outline-offset:2px}html:not([lang="ko"]){word-break:normal}.site-title{flex-shrink:1}.header-inner{gap:16px}html[lang="vi"] .step-nav button,html[lang="en"] .step-nav button{font-size:19px;line-height:1.35;padding-inline:10px}@media(max-width:1000px){.site-title{display:none}.header-inner{gap:12px}.language-switch{margin-left:auto}}@media(max-width:600px){.brand-frame{width:190px}.language-switch{gap:3px;padding:0 6px;min-height:56px}.language-switch>span{font-size:20px}.language-switch select{width:113px;min-height:56px;font-size:17px}.header-inner{gap:7px;padding-inline:15px}.offline-badge{position:absolute;top:calc(var(--header) + 4px);right:18px;font-size:14px}html[lang="vi"] .step-nav button,html[lang="en"] .step-nav button{font-size:16px}}

/* Learner controls pair stable symbols with translated labels. */
.step-nav button::before,.three-options button::before,.example-work button::before{display:block;flex:none;font-size:28px;line-height:1.2;margin-right:10px;font-weight:400}
[data-step="conditions"]::before{content:"☷"}[data-step="learning"]::before{content:"▷"}[data-step="quiz"]::before{content:"☑"}[data-step="result"]::before{content:"▦"}
[data-condition="weather"][data-value="normal"]::before{content:"☀"}[data-condition="weather"][data-value="hot"]::before{content:"♨"}[data-condition="weather"][data-value="cold"]::before{content:"❄"}
[data-minutes]::before{content:"◷"}
.example-work button:nth-child(1)::before{content:"ϟ"}.example-work button:nth-child(2)::before{content:"▥"}.example-work button:nth-child(3)::before{content:"⚒"}
@media(max-width:1000px){.three-options button::before{margin:0}.step-nav button{flex-direction:column;gap:6px}.step-nav button::before{margin:0}}

.video-grid{grid-template-columns:minmax(0,1fr)}.video-stage{position:relative;isolation:isolate;border-radius:12px;background:#092f32;overflow:hidden}.video-stage video{transition:opacity .2s}.video-stage.show-actions video{opacity:.65}.video-actions-overlay{position:absolute;inset:0 0 48px;padding:clamp(16px,3vw,34px);overflow:auto;z-index:2;display:flex;flex-direction:column;justify-content:safe center;background:rgba(7,28,32,.22);color:#fff;text-shadow:0 2px 5px #000,0 0 12px #0009}.video-actions-overlay h3{font-size:clamp(20px,2.5vw,29px);margin-bottom:14px}.video-actions-overlay li{font-size:clamp(17px,2.1vw,24px);line-height:1.65;margin-bottom:12px}.video-actions-overlay ul{margin:0}@media(max-width:700px){.video-actions-overlay{padding:14px;inset-block-end:42px}.video-actions-overlay h3{font-size:19px;margin-bottom:8px}.video-actions-overlay li{font-size:17px;margin-bottom:8px}}@media(prefers-reduced-motion:reduce){.video-stage video{transition:none}}

/* Distinct construction icons retain the translated text label. */
[data-condition="experience"]::before,[data-condition="stage"]::before,[data-condition="site"]::before{content:"";width:30px;height:30px;background:currentColor;-webkit-mask:var(--condition-icon) center/contain no-repeat;mask:var(--condition-icon) center/contain no-repeat}
[data-condition="experience"][data-value="beginner"]{--condition-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022V12M12%2015C6%2015%203%2011%203%206c5%200%209%203%209%208M12%2012c0-5%203-8%209-8%200%205-3%208-9%208%22%2F%3E%3C%2Fsvg%3E")}
[data-condition="experience"][data-value="experienced"]{--condition-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2010V8a5%205%200%200%201%2010%200v2M4%2010h16M8%2013a4%204%200%200%200%208%200M4%2022v-2c0-3%203-5%208-5s8%202%208%205v2M12%203v4%22%2F%3E%3C%2Fsvg%3E")}
[data-condition="experience"][data-value="skilled"]{--condition-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%225%22%2F%3E%3Cpath%20d%3D%22m8%2012-2%2010%206-3%206%203-2-10m-6-4%201.5%201.5L15%206%22%2F%3E%3C%2Fsvg%3E")}
[data-condition="stage"][data-value="foundation"]{--condition-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2021h18M5%2021V6h4v15M15%2021V6h4v15M4%206h16V3H4zm5%206h6m-6%205h6%22%2F%3E%3C%2Fsvg%3E")}
[data-condition="stage"][data-value="preFinish"]{--condition-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%203v7h7V3M7%2010v11M14%203v4h6v7h-6v7M11%2017h6%22%2F%3E%3C%2Fsvg%3E")}
[data-condition="stage"][data-value="finish"]{--condition-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2215%22%20height%3D%226%22%20rx%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M18%206h3v7H11v3m-2%200h4v6H9z%22%2F%3E%3C%2Fsvg%3E")}
[data-condition="site"][data-value="commercial"]{--condition-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2022V3h14v19M3%2022h18M9%207h1m4%200h1M9%2011h1m4%200h1M9%2015h1m4%200h1m-4%207v-4h2v4%22%2F%3E%3C%2Fsvg%3E")}
[data-condition="site"][data-value="residential"]{--condition-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2022V8l5-4%205%204v14M12%2022V6l5-4%205%204v16M5%2011h2m-2%204h2m9-7h3m-3%204h3m-3%204h3M0%2022h24%22%2F%3E%3C%2Fsvg%3E")}
[data-condition="site"][data-value="other"]{--condition-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2022V8m16%2014V8M2%208h20v8H2zM4%208l6%208m0-8%206%208m0-8%206%208M7%203h10%22%2F%3E%3C%2Fsvg%3E")}

/* Helmet-shaped charge indicator, immediately before the language control. */
.home-logo{padding-top:0}.site-title{display:none}.header-inner{gap:14px;min-height:94px}.header-reset{min-height:60px;max-width:150px;padding:10px 13px;font-size:18px;line-height:1.25;flex:none}.header-reset svg{width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.safety-battery{position:static;display:flex;align-items:center;gap:8px;flex:none;margin-left:auto;color:#087b70;line-height:1}.logo-charge-icon{--logo-charge-width:96px;display:block;position:relative;flex:none;width:var(--logo-charge-width);height:calc(var(--logo-charge-width)*.614828);overflow:hidden}.battery-value{font-size:23px;font-weight:800;min-width:52px;font-variant-numeric:tabular-nums}.safety-battery.charged .logo-charge-icon{filter:drop-shadow(0 0 5px #1aa77845)}.safety-battery.charged{animation:helmet-complete .8s ease-out 1}.language-switch{margin-left:0}.header-inner .language-switch select{width:132px}.video-actions-overlay.key-points{border-top:0;padding-top:clamp(16px,3vw,34px)}
@keyframes helmet-complete{50%{filter:drop-shadow(0 0 7px #16b584)}}
@media(max-width:1000px){:root{--header:94px}.header-inner{gap:12px;padding:12px 24px;min-height:94px}.brand-frame{width:200px}.header-reset{max-width:140px;font-size:17px;gap:6px;padding:10px}.logo-charge-icon{--logo-charge-width:84px}.battery-value{font-size:21px;min-width:48px}.language-switch{margin-left:0;padding:0 8px;gap:6px}.language-switch>span{font-size:20px}.header-inner .language-switch select{width:125px}}
@media(max-width:700px){:root{--header:90px}.header-inner{padding:10px 18px;gap:10px;min-height:90px}.brand-frame{width:175px}.header-reset{font-size:16px;max-width:120px}.header-reset svg{width:21px;height:21px}.logo-charge-icon{--logo-charge-width:72px}.battery-value{font-size:19px;min-width:43px}.safety-battery{gap:5px}.header-inner .language-switch select{width:111px;font-size:18px}.video-actions-overlay.key-points{padding-top:14px}}
@media(max-width:580px){:root{--header:142px}.header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;padding:10px 18px;min-height:142px}.home-logo{grid-column:1;grid-row:1;min-height:54px}.brand-frame{width:190px}.header-reset{grid-column:2;grid-row:1;justify-self:end;max-width:145px;min-height:54px;font-size:17px}.safety-battery{grid-column:1;grid-row:2;margin-left:0;gap:8px}.logo-charge-icon{--logo-charge-width:84px}.battery-value{font-size:21px;min-width:48px}.language-switch{grid-column:2;grid-row:2;min-height:54px}.header-inner .language-switch select{min-height:54px;width:116px;font-size:18px}.language-switch>span{font-size:20px}.offline-badge{position:absolute;right:18px;top:calc(var(--header) + 4px)}}
@media(prefers-reduced-motion:reduce){.safety-battery.charged{animation:none}}
.header-inner .offline-badge{position:absolute;top:calc(100% + 4px);right:24px}

/* Exact existing brand mark: source rectangle x140 y226, 553 by340 pixels. Both layers keep fixed geometry as the colour window grows. */
.logo-charge-base,.logo-charge-color{display:block;position:absolute;left:0;top:0;height:100%;background-image:url("/brand/modoo-safety-logo.png");background-repeat:no-repeat;background-size:calc(var(--logo-charge-width)*3.511754) auto;background-position:calc(var(--logo-charge-width)*-.253165) calc(var(--logo-charge-width)*-.40868)}.logo-charge-base{width:100%;filter:grayscale(1);opacity:.28}.logo-charge-color{width:0;overflow:hidden;transition:width .65s ease}.lesson-end-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;opacity:.65;clip-path:inset(0 0 48px 0);z-index:1}.video-actions-overlay{z-index:2}.video-actions-overlay h3,.video-actions-overlay li{color:#fff}@media(max-width:700px){.lesson-end-frame{clip-path:inset(0 0 42px 0)}}@media(prefers-reduced-motion:reduce){.logo-charge-color{transition:none}}
.media video::cue,.case-video::cue{color:#fff;background:rgba(0,0,0,.88);font-size:clamp(17px,2.5vw,26px);text-shadow:0 1px 3px #000}

/* Keep the case-library shortcut large without squeezing the logo or language. */
.header-actions{display:flex;align-items:center;gap:10px;flex:none}
.header-actions .header-reset,.header-cases{min-height:64px;max-width:none;font-size:18px;line-height:1.3;padding:10px 14px}
.header-cases{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #b9d1c6;border-radius:12px;background:#fff;color:#285c54;font-weight:750;text-align:center;text-decoration:none;touch-action:manipulation}
.header-cases svg{width:25px;height:25px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-cases:focus-visible{outline:3px solid var(--teal);outline-offset:4px}
@media(max-width:1100px){:root{--header:170px}.header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px 14px;padding:12px 24px;min-height:170px}.home-logo{grid-row:1;grid-column:1;min-height:60px}.brand-frame{width:200px}.safety-battery{grid-row:1;grid-column:2;margin-left:0}.language-switch{grid-row:1;grid-column:3}.header-actions{grid-row:2;grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.header-actions .header-reset,.header-cases{width:100%;min-height:64px;max-width:none;font-size:20px}.logo-charge-icon{--logo-charge-width:84px}.battery-value{font-size:21px;min-width:48px}}
@media(max-width:600px){:root{--header:222px}.header-inner{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:10px 18px;min-height:222px}.home-logo{grid-row:1;grid-column:1/-1;min-height:50px}.brand-frame{width:190px}.safety-battery{grid-row:2;grid-column:1;gap:8px}.language-switch{grid-row:2;grid-column:2;min-height:54px}.header-inner .language-switch select{min-height:54px;width:116px;font-size:18px}.header-actions{grid-row:3;grid-column:1/-1}.header-actions .header-reset,.header-cases{min-height:60px;font-size:18px;padding:10px}.header-inner .offline-badge{right:18px}}

.header-actions .header-cases-3d{border-color:#326d50;background:#39795b;color:#fff;box-shadow:inset 0 1px 0 #ffffff26,0 2px 0 #285c43}.header-actions .header-cases-3d svg{color:#fff}.header-actions .header-cases-3d:hover{background:#2d634a;border-color:#285d44;color:#fff}

@media(max-width:600px){.header-actions .header-reset,.header-actions .header-cases{flex-direction:column;gap:4px;font-size:16px;min-height:76px;padding:8px 5px;min-width:0}.header-actions .header-cases svg,.header-actions .header-reset svg{width:23px;height:23px}}
