:root{--color-page:#fff8f1;--color-surface:#fff;--color-surface-soft:#f3eee7;--color-primary:#236a65;--color-primary-pressed:#194f4b;--color-accent:#e57752;--color-text:#20302e;--color-text-muted:#66736f;--color-border:#d9d4cc;--color-success:#2f6f50;--color-emergency:#b42318;--color-nav-active:#dcece8;--color-focus:#0b5fff;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--radius-control:12px;--radius-card:16px;--radius-panel:22px;--shadow-soft:0 10px 30px #20302e14;color:var(--color-text);background:var(--color-page);font-synthesis:none;text-rendering:optimizelegibility;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans TC,Microsoft JhengHei,PingFang TC,sans-serif}*{box-sizing:border-box}body{background:var(--color-page);min-width:320px;min-height:100dvh;margin:0}button,input{font:inherit}a{color:inherit}#root{min-height:100dvh}.app-shell{background:var(--color-surface);border-inline:1px solid var(--color-border);width:100%;max-width:500px;min-height:100dvh;margin:0 auto;position:relative}.page-content{min-height:100vh;padding:28px 20px calc(112px + env(safe-area-inset-bottom))}.eyebrow{color:#646464;letter-spacing:.03em;margin:0 0 6px;font-size:.875rem;font-weight:700}h1,h2,h3,p{margin-top:0}h1{margin-bottom:10px;font-size:2rem;line-height:1.2}h2{margin-bottom:12px;font-size:1.2rem}h3{margin-bottom:4px;font-size:1rem}p{margin-bottom:12px;font-size:1rem;line-height:1.55}.intro{margin:22px 0 12px}.intro h2{margin-bottom:4px;font-size:1.5rem}.search-field{gap:6px;margin-bottom:28px;display:grid}.search-field input{color:#555;background:#f2f2f2;border:1px solid #777;border-radius:8px;width:100%;min-height:48px;padding:0 14px}.search-field label{font-weight:700}.search-row{grid-template-columns:1fr auto;gap:8px;display:grid}.search-row button{color:#fff;background:#333;border:1px solid #333;border-radius:8px;min-width:72px;min-height:48px}.quick-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.quick-card{background:#f2f2f2;border:1px solid #777;border-radius:8px;min-height:132px;display:grid;overflow:hidden}.quick-card-link{align-content:center;gap:6px;padding:14px;text-decoration:none;display:grid}.quick-card strong{font-size:1.1rem}.quick-card span,.quick-card small{font-size:.875rem}.quick-card small{color:#555}.available-situation,.practice-callout,.primary-link,.show-link{color:#fff;background:#333;border:2px solid #222;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:14px 16px;text-decoration:none;display:flex}.available-situation h3,.available-situation p{margin-bottom:3px}.available-situation p{font-size:.875rem}.situation-list{gap:10px;margin-top:10px;display:grid}.situation-card{background:#f5f5f5;border:1px solid #aaa;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:88px;padding:12px 14px;display:flex}.situation-card p{color:#555;margin:0;font-size:.82rem}.status-label{color:#444;background:#eee;border:1px solid #777;border-radius:4px;flex:none;align-items:center;min-height:28px;padding:4px 8px;font-size:.78rem;font-weight:700;display:inline-flex}.practice-callout{color:#222;background:#eee;border-color:#777;margin-top:28px}.practice-callout span{font-size:.85rem}.emergency-section{background:#fff;border:2px solid #8d2222;border-radius:8px;margin-top:18px;padding:16px;position:relative}.emergency-section h2{margin-bottom:5px}.emergency-section p{margin:0 0 8px}.back-button,.close-show{cursor:pointer;background:#eee;border:1px solid #555;border-radius:7px;min-width:44px;min-height:44px;margin-bottom:18px;padding:8px 12px}.filter-row{gap:8px;margin:22px 0;display:flex;overflow-x:auto}.filter-row span,.filter-row button{white-space:nowrap;background:#fff;border:1px solid #777;border-radius:22px;align-items:center;min-height:44px;padding:0 16px;display:inline-flex}.filter-row span[data-active=true],.filter-row button[aria-pressed=true]{color:#fff;background:#333;font-weight:700}.phrase-list{gap:14px;display:grid}.phrase-card{background:#f5f5f5;border:1px solid #777;border-radius:9px;overflow:hidden}.phrase-card-body{align-content:center;gap:6px;min-height:112px;padding:16px;text-decoration:none;display:grid}.phrase-card-body strong{font-size:1.3rem}.phrase-card-body span{font-size:1rem}.phrase-card-body small,.pinyin{color:#555;font-size:.875rem}.phrase-actions{border-top:1px solid #aaa;grid-auto-columns:1fr;grid-auto-flow:column;display:grid}.phrase-actions button,.button-link{text-align:center;background:#eee;border:0;justify-content:center;align-items:center;gap:5px;min-height:52px;text-decoration:none;display:flex}.phrase-actions button{color:#777;border-right:1px solid #aaa}.phrase-actions button small{font-size:.68rem}.saved-phrase-card .phrase-actions{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:initial}.saved-phrase-card .phrase-actions>*{min-width:0;padding-inline:6px;font-size:.9rem}.saved-phrase-card .remove-button{color:#222;cursor:pointer;border-right:0;font-weight:700}.direction-label{border:1px solid #777;border-radius:4px;align-items:center;min-height:32px;margin-bottom:16px;padding:4px 10px;font-size:.85rem;font-weight:700;display:inline-flex}.detail-toolbar{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.detail-speech-controls{grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;display:grid}.speech-button{background:#eee;border:1px solid #777;min-height:48px;padding:8px}.speech-button:not(:disabled){color:#222;cursor:pointer}.speech-button.is-playing{background:#d1d1d1;border:2px solid #111;font-weight:700}.speech-button small{margin-left:4px;display:block}.speech-status{color:#555;min-height:0;margin:0 0 12px;font-size:.875rem}.speech-status:empty{display:none}.pinyin-toggle,.save-button{background:#eee;border:1px solid #555;border-radius:7px;min-height:44px;padding:8px 12px;font-weight:700}.save-button{width:100%;min-height:52px;margin-top:14px}.phrase-detail{text-align:center;border:1px solid #777;border-radius:10px;padding:28px 18px}.phrase-detail h1{font-size:clamp(1.8rem,8vw,2.5rem)}.disabled-audio{color:#777;background:#eee;border:1px solid #aaa;border-radius:8px;width:100%;min-height:52px;margin-top:16px}.disabled-audio small{display:block}.show-link{justify-content:center;margin-top:12px}.natural-note{background:#eee;border:1px solid #888;border-radius:8px;margin-top:22px;padding:16px}.natural-note p{margin-bottom:0}.future-control{color:#666;border:1px dashed #999;border-radius:8px;justify-content:space-between;align-items:center;min-height:52px;margin-top:14px;padding:12px 14px;display:flex}.show-shell{background:#111;max-width:430px}.show-page{color:#fff;background:#111;place-items:center;min-height:100vh;padding:24px;display:grid;position:relative;overflow:hidden}.show-page h1{overflow-wrap:anywhere;text-align:center;max-width:100%;margin:0;font-size:clamp(3rem,15vw,5.3rem);line-height:1.25}.close-show{color:#fff;background:#111;border-color:#fff;margin:0;position:absolute;top:20px;right:20px}.show-audio{right:20px;bottom:calc(20px + env(safe-area-inset-bottom));gap:6px;display:grid;position:absolute;left:20px}.show-audio .speech-button{color:#fff;background:#111;border-color:#fff}.show-audio .speech-status{color:#fff;text-align:center;margin:0}.not-found{padding-top:32px}.primary-link{width:fit-content;margin-top:20px}.placeholder-page{gap:16px;display:grid}.placeholder-panel{background:#eee;border:1px solid #777;border-radius:8px;height:240px;margin-top:8px}.empty-state{text-align:center;background:#f5f5f5;border:1px dashed #888;border-radius:9px;margin-top:24px;padding:24px 18px}.bottom-navigation{z-index:100;isolation:isolate;width:min(100%,500px);min-height:76px;padding:6px 8px env(safe-area-inset-bottom);border-top:1px solid var(--color-border);background:var(--color-surface);display:flex;position:fixed;bottom:0;left:50%;overflow:visible;transform:translate(-50%);box-shadow:0 -8px 24px #20302e14}.navigation-item{z-index:1;visibility:visible;opacity:1;min-width:0;min-height:64px;color:var(--color-text-muted);text-align:center;border-radius:12px;flex:33.333%;place-content:center;gap:4px;font-size:.78rem;font-weight:650;text-decoration:none;transition:color .15s,background-color .15s,transform .15s;display:grid;position:relative}.navigation-item[data-active=true]{color:var(--color-primary);background:var(--color-nav-active);font-weight:800}.navigation-icon{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:24px;height:24px;margin:0 auto}.navigation-item[data-active=true] .navigation-icon{stroke-width:2.4px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--color-focus);outline-offset:3px}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.emergency-entry{color:#171717;border-left-width:8px;justify-content:space-between;align-items:center;min-height:72px;text-decoration:none;display:flex}.emergency-entry strong,.emergency-entry small{display:block}.emergency-entry small{margin-top:4px;font-size:.88rem;font-weight:400}.home-footer{margin-top:var(--space-6);padding:var(--space-4) 0 var(--space-2);text-align:center}.home-footer a{color:var(--color-text-muted);text-underline-offset:3px;font-size:.9rem}.privacy-page{gap:var(--space-4);display:grid}.privacy-header{border-radius:var(--radius-panel);background:linear-gradient(145deg,#eaf4f1,#faf6f0);border:1px solid #b9d2cc;padding:22px}.privacy-header .eyebrow{color:var(--color-primary)}.privacy-header p:last-child{color:var(--color-text-muted);margin-bottom:0}.privacy-section{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);padding:18px}.privacy-section h2{margin-bottom:var(--space-2)}.privacy-section p:last-child,.privacy-section ul:last-child{margin-bottom:0}.privacy-section ul{margin:0 0 var(--space-3);padding-left:1.25rem}.privacy-section li{padding-left:var(--space-1);line-height:1.55}.privacy-section li+li{margin-top:var(--space-2)}.privacy-emergency-note{border-left:6px solid var(--color-emergency)}.privacy-return{width:100%;margin-top:var(--space-2);justify-content:center}.emergency-warning{background:#f3f3f3;border:2px solid #222;border-left-width:8px;border-radius:12px;margin:18px 0 24px;padding:14px 16px}.emergency-warning p{margin:0}.emergency-warning p+p{margin-top:10px}.emergency-call-list{gap:12px;display:grid}.emergency-call-card{background:#fff;border:1px solid #888;border-radius:12px;padding:14px}.emergency-call-card h3{margin:0;font-size:1.65rem}.emergency-call-card p{margin:4px 0 0}.emergency-call-card>button{width:100%;min-height:44px;margin-top:12px}.call-note{color:#444;font-size:.9rem}.call-confirmation{background:#eee;border:2px solid #222;border-radius:10px;margin-top:12px;padding:12px}.call-confirmation>div{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.call-confirmation button,.call-confirmation a{text-align:center;border:2px solid #222;border-radius:8px;justify-content:center;align-items:center;min-height:44px;padding:8px;font-weight:700;display:flex}.call-confirmation a{color:#fff;background:#222;text-decoration:none}.emergency-phrase-group h3{margin:0 0 10px}.practice-subtitle{font-size:1.15rem}.practice-scenario-card{border:2px solid #333;border-radius:12px;margin-top:24px;padding:20px}.practice-label{letter-spacing:.08em;margin-bottom:8px;font-size:.78rem;font-weight:800}.practice-scenario-card h2{font-size:1.5rem}.practice-metadata,.practice-learning-type{border-top:1px solid #bbb;margin:14px 0 0;padding-top:12px}.practice-learning-type{border-top:0;margin-top:0;padding-top:4px}.future-practice{background:#f3f3f3;border:1px dashed #888;border-radius:10px;margin-top:24px;padding:18px}.future-practice h2{margin-bottom:6px}.future-practice p{margin-bottom:0}.practice-preview-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.practice-preview-heading h1{font-size:1.55rem}.practice-progress{background:#ddd;border:1px solid #555;border-radius:7px;height:14px;margin:8px 0 22px;overflow:hidden}.practice-progress span{background:#333;height:100%;display:block}.practice-phrase{text-align:center;border:1px solid #777;border-radius:10px;min-height:190px;padding:26px 18px}.practice-phrase h2{font-size:clamp(1.8rem,8vw,2.5rem)}.practice-step-navigation{grid-template-columns:1fr 1fr;gap:10px;margin-top:22px;display:grid}.practice-step-navigation a,.practice-step-navigation button{text-align:center;border:2px solid #333;border-radius:8px;justify-content:center;align-items:center;min-height:52px;padding:8px;font-weight:700;text-decoration:none;display:flex}.practice-step-navigation a{color:#fff;background:#333}.practice-step-navigation button:disabled{color:#666;cursor:not-allowed;background:#eee;border-color:#999}.conversation-note{color:#555;text-align:right;margin-top:10px;font-size:.9rem}.conversation-toolbar{justify-content:space-between;align-items:flex-start;margin-bottom:14px;display:flex}.conversation-toolbar .back-button{margin-bottom:0}.conversation-header h1{white-space:nowrap;font-size:1.7rem}.conversation-prompt{text-align:center;border:1px solid #777;border-radius:10px;padding:22px 18px}.conversation-prompt h2{font-size:clamp(1.8rem,8vw,2.4rem)}.answer-section{margin-top:26px}.answer-options{gap:12px;display:grid}.answer-options a{border:2px solid #444;border-radius:10px;gap:5px;min-height:88px;padding:14px;text-decoration:none;display:grid}.answer-options strong{font-size:1.2rem}.answer-options small{font-size:.85rem}.preset-note{color:#555;margin-top:10px;font-size:.85rem}.limited-answer{border-top:2px solid #aaa;margin-top:24px;padding-top:22px}.limited-answer form{gap:8px;display:grid}.limited-answer label{font-weight:700}.limited-answer input,.limited-answer form button{min-height:48px}.limited-answer input{border:1px solid #777;border-radius:8px;width:100%;padding:10px 12px}.limited-answer form button{color:#fff;background:#333;border:2px solid #333;border-radius:8px;font-weight:700}.match-result:empty{display:none}.match-result{background:#f2f2f2;border:1px solid #777;border-radius:10px;margin-top:14px;padding:14px}.match-result p:last-child{margin-bottom:0}.matched-answer>strong{font-size:1.25rem}.matched-answer>div{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.matched-answer a,.matched-answer button{text-align:center;border:2px solid #333;border-radius:8px;justify-content:center;align-items:center;min-height:48px;padding:8px;font-weight:700;text-decoration:none;display:flex}.matched-answer a{color:#fff;background:#333}.feedback-success{border:2px solid #333;border-radius:10px;padding:18px}.feedback-success h1{margin-bottom:6px}.feedback-success p{margin-bottom:0}.feedback-answer{border:1px solid #888;border-radius:10px;margin-top:22px;padding:18px}.feedback-answer strong,.feedback-natural strong{font-size:1.3rem}.feedback-natural .speech-button{width:100%}.continue-checkout{justify-content:center;width:100%;margin-top:20px}.conversation-complete{border:1px dashed #777;border-radius:10px;margin-top:20px;padding:18px}.conversation-complete button{width:100%;min-height:52px}.conversation-complete p{color:#555;margin:10px 0 0}.result-summary{gap:12px;margin-top:26px;display:grid}.result-summary article{border:1px solid #888;border-radius:10px;padding:14px}.result-summary h3{margin-top:8px;font-size:1.1rem}.result-summary p{margin-bottom:4px}.review-section{margin-top:28px}.review-card{border:2px solid #555;border-radius:10px;padding:16px}.review-card>strong{font-size:1.35rem}.review-card>div{grid-template-columns:1fr 1fr;gap:8px;display:grid}.review-card>div button{min-height:48px}.result-actions{gap:10px;margin-top:24px;display:grid}.result-actions button,.result-actions a{border:2px solid #333;border-radius:8px;justify-content:center;align-items:center;min-height:52px;padding:10px;font-weight:700;text-decoration:none;display:flex}.result-actions button{color:#fff;background:#333}h1{color:var(--color-text);letter-spacing:-.035em;font-size:clamp(2rem,9vw,2.55rem);font-weight:780;line-height:1.15}h2{color:var(--color-text);font-size:1.25rem;font-weight:750;line-height:1.25}h3{color:var(--color-text);font-size:1.125rem;font-weight:720;line-height:1.35}p{color:var(--color-text);font-size:1rem;line-height:1.55}.pinyin,.phrase-card-body small{color:var(--color-text-muted);line-height:1.5}button,input,a{-webkit-tap-highlight-color:transparent}button,.primary-link,.show-link,.button-link{transition:background-color .15s,border-color .15s,color .15s,transform .15s}button:not(:disabled):active,.primary-link:active,.navigation-item:active{transform:translateY(1px)}button:disabled{color:var(--color-text-muted);background:var(--color-surface-soft);border-color:var(--color-border);cursor:not-allowed;opacity:1}.primary-link,.show-link{border-color:var(--color-primary);border-radius:var(--radius-control);background:var(--color-primary);color:#fff;min-height:48px;font-weight:750}.back-button,.close-show,.pinyin-toggle,.save-button,.speech-button{border-color:var(--color-border);border-radius:var(--radius-control);background:var(--color-surface-soft);min-height:44px;color:var(--color-text)}.status-label{border-color:var(--color-border);background:var(--color-surface-soft);color:var(--color-text-muted);border-radius:999px}.home-hero{border-radius:0 0 var(--radius-panel) var(--radius-panel);background:linear-gradient(145deg,#e8f2ef 0%,#fff8f1 82%);margin:-28px -20px 0;padding:32px 20px 26px;position:relative;overflow:hidden}.brand-label{color:var(--color-primary);letter-spacing:.015em;margin-bottom:24px;font-size:.88rem;font-weight:800}.home-hero .eyebrow{color:var(--color-text-muted);letter-spacing:.06em;margin-bottom:8px;font-size:.8rem;font-weight:750}.home-hero h1{z-index:1;max-width:340px;margin-bottom:10px;position:relative}.home-support{z-index:1;max-width:330px;color:var(--color-text-muted);margin:0;position:relative}.hero-dialogue-mark{border:3px solid #236a6526;border-radius:28px;width:104px;height:82px;position:absolute;bottom:-22px;right:-18px;transform:rotate(-8deg)}.hero-dialogue-mark:after{background:var(--color-page);content:"";border-bottom:3px solid #236a6526;border-left:3px solid #236a6526;width:24px;height:24px;position:absolute;bottom:-13px;left:22px;transform:rotate(-35deg)}.quick-help-home .search-field{z-index:2;margin:-1px 0 0;padding-top:22px;position:relative}.search-field label{color:var(--color-text);font-size:.9rem;font-weight:750}.search-field input{border-color:var(--color-border);border-radius:var(--radius-control);background:var(--color-surface);min-height:52px;color:var(--color-text);box-shadow:0 2px 8px #20302e0a}.search-field input::placeholder{color:var(--color-text-muted);opacity:1}.search-row button{border-color:var(--color-primary);border-radius:var(--radius-control);background:var(--color-primary);color:#fff;min-width:82px;min-height:52px;font-weight:750}.content-section{margin-top:var(--space-8)}.content-section>h2{margin-bottom:var(--space-4)}.quick-grid{gap:var(--space-3)}.quick-card{border-color:var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);min-height:148px;box-shadow:0 5px 16px #20302e0d}.quick-card-link{gap:6px;padding:16px}.quick-card strong{color:var(--color-text);font-size:1.17rem;line-height:1.35}.quick-card span{color:var(--color-text);line-height:1.4}.quick-card small{color:var(--color-text-muted);line-height:1.45}.quick-card .speech-button{border-color:var(--color-border);background:var(--color-surface-soft);color:var(--color-primary);border-radius:0;font-weight:700}.available-situation{border:1px solid var(--color-primary);border-radius:var(--radius-card);background:var(--color-primary);min-height:122px;box-shadow:var(--shadow-soft);padding:18px;position:relative;overflow:hidden}.available-situation:after{content:"";border-inline:1px dashed #ffffff47;width:42px;height:140%;position:absolute;top:-9px;right:58px;transform:rotate(7deg)}.available-situation h3{color:#fff;margin-top:5px;font-size:1.3rem}.available-situation p{color:#ffffffdb;max-width:250px;margin:0;line-height:1.45}.situation-kicker{color:#fff;letter-spacing:.04em;font-size:.74rem;font-weight:750}.open-label{z-index:1;flex:none;font-size:.85rem;font-weight:800;position:relative}.situation-list{gap:var(--space-3);margin-top:var(--space-3)}.situation-card{border-color:var(--color-border);border-radius:var(--radius-card);background:var(--color-surface-soft);min-height:84px;padding:14px 16px}.situation-card p{color:var(--color-text-muted)}.practice-callout{min-height:96px;margin-top:var(--space-8);border-radius:var(--radius-card);color:var(--color-text);box-shadow:none;background:#eaf4f1;border:1px solid #c8ddd7;padding:18px}.practice-callout>span:first-child{gap:3px;display:grid}.practice-callout strong{color:var(--color-primary);font-size:1.08rem}.practice-callout small{color:var(--color-text-muted);font-size:.84rem;display:block}.callout-eyebrow{font-weight:750}.callout-arrow{color:var(--color-primary);font-size:1.55rem}.emergency-section{border-color:var(--color-emergency)}.emergency-entry{border-radius:var(--radius-card);background:var(--color-surface);min-height:88px;color:var(--color-text);border-width:1px 1px 1px 6px}.emergency-entry strong{color:var(--color-text)}.emergency-entry small{color:var(--color-text-muted)}.emergency-label{color:var(--color-emergency)!important;font-weight:800!important}.practice-hero{background:linear-gradient(145deg,#f5ede4 0%,#e5f1ed 100%)}.practice-hero h1{max-width:360px;font-size:clamp(1.95rem,8.6vw,2.45rem)}.readiness-dots{gap:7px;margin-top:22px;display:flex}.readiness-dots span{background:var(--color-primary);border-radius:999px;width:30px;height:6px}.readiness-dots span:nth-child(2){background:#79a9a2}.readiness-dots span:nth-child(3){background:var(--color-border)}.practice-scenario-card{border:1px solid var(--color-border);border-radius:var(--radius-panel);background:var(--color-surface);box-shadow:var(--shadow-soft);margin-top:24px;padding:20px}.practice-label{color:var(--color-success);letter-spacing:.055em;text-transform:none;margin-bottom:12px;font-size:.78rem;font-weight:800}.practice-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.practice-card-heading h2{margin-bottom:6px;font-size:1.4rem}.practice-card-heading p{color:var(--color-text-muted);margin:0}.practice-store-mark{background:var(--color-nav-active);width:46px;height:46px;color:var(--color-primary);border:1px solid #c8ddd7;border-radius:14px;flex:none;place-items:center;font-size:1.25rem;font-weight:800;display:grid}.practice-details{flex-wrap:wrap;gap:8px;margin-top:18px;display:flex}.practice-details .practice-metadata,.practice-details .practice-learning-type{background:var(--color-surface-soft);color:var(--color-text-muted);border:0;border-radius:999px;margin:0;padding:7px 10px;font-size:.82rem;font-weight:650}.practice-start{justify-content:center;width:100%;margin-top:20px}.future-practice{border:1px dashed var(--color-border);border-radius:var(--radius-card);background:var(--color-surface-soft);align-items:flex-start;gap:12px;margin-top:20px;padding:17px;display:flex}.future-practice .status-label{flex:none}.future-practice h2{margin-bottom:4px;font-size:1rem}.future-practice p{color:var(--color-text-muted);font-size:.88rem}.support-page{width:100%}.support-toolbar{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:44px;margin-bottom:var(--space-4);display:flex}.support-toolbar .back-button{margin:0}.support-header{margin-bottom:var(--space-6)}.support-header .eyebrow{margin-bottom:var(--space-2);color:var(--color-primary);font-size:.8rem}.support-header h1{margin-bottom:var(--space-2)}.support-header>p:last-child{max-width:38ch;color:var(--color-text-muted);margin:0}.section-intro{justify-content:space-between;align-items:baseline;gap:var(--space-3);margin:var(--space-6) 0 var(--space-3);display:flex}.section-intro h2,.section-intro p{margin:0}.section-intro p{color:var(--color-text-muted);text-align:right;font-size:.82rem}.secondary-link{border:1px solid var(--color-primary);border-radius:var(--radius-control);min-height:44px;color:var(--color-primary);justify-content:center;align-items:center;padding:8px 14px;font-weight:750;text-decoration:none;display:inline-flex}.support-search{margin:0 0 var(--space-6);padding:var(--space-4);border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface-soft)}.results-heading{margin:0 0 var(--space-3);align-items:center;display:flex}.results-heading p{color:var(--color-text-muted);flex-wrap:wrap;gap:5px;margin:0;display:flex}.results-heading strong{color:var(--color-text)}.support-empty{margin-top:var(--space-4);border-color:var(--color-border);border-radius:var(--radius-panel);background:linear-gradient(150deg, var(--color-surface-soft), var(--color-surface));padding:30px 20px}.support-empty h2{margin-bottom:6px}.support-empty p{max-width:32ch;color:var(--color-text-muted);margin-inline:auto}.empty-state-mark{width:48px;height:48px;margin:0 auto var(--space-4);background:var(--color-nav-active);color:var(--color-primary);border:1px solid #b9d2cc;border-radius:15px;place-items:center;font-weight:800;display:grid}.bookmark-mark:before{border:2px solid var(--color-primary);content:"";clip-path:polygon(0 0,100% 0,100% 100%,50% 73%,0 100%);border-radius:3px 3px 6px 6px;width:17px;height:23px}.empty-state-link{margin:var(--space-4) auto 0}.scenario-header{border-radius:var(--radius-panel);background:linear-gradient(145deg, #eaf4f1, var(--color-surface));border:1px solid #c8ddd7;padding:20px;position:relative;overflow:hidden}.scenario-header .eyebrow,.scenario-header h1,.scenario-header>p{z-index:1;position:relative}.scenario-line-mark{border:2px dashed #236a652e;border-radius:20px;width:112px;height:72px;position:absolute;bottom:-20px;right:-18px;transform:rotate(-7deg)}.scenario-page .filter-row,.saved-page .filter-row{margin:0 0 var(--space-4);padding-bottom:4px}.filter-row span,.filter-row button{border-color:var(--color-border);background:var(--color-surface);color:var(--color-text-muted);font-weight:650}.filter-row span[data-active=true],.filter-row button[aria-pressed=true]{border-color:var(--color-primary);background:var(--color-nav-active);color:var(--color-primary);font-weight:800}.phrase-list{gap:var(--space-4)}.phrase-card{border-color:var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);box-shadow:0 5px 16px #20302e0d}.phrase-card-body{gap:7px;min-height:126px;padding:18px}.phrase-card-body strong{color:var(--color-text);font-size:1.35rem;line-height:1.35}.phrase-card-body span{color:var(--color-text);line-height:1.45}.phrase-card-body small{color:var(--color-text-muted)}.phrase-actions{border-color:var(--color-border);background:var(--color-surface-soft)}.phrase-actions button,.button-link{border-color:var(--color-border);background:var(--color-surface-soft);min-height:52px;color:var(--color-primary);font-weight:750}.phrase-actions .speech-button{border-radius:0}.saved-phrase-card .remove-button{color:var(--color-emergency);background:var(--color-surface);font-weight:650}.saved-intro{margin-top:0}.saved-page>.eyebrow{margin-bottom:var(--space-2);color:var(--color-primary)}.saved-page>h1{margin-bottom:var(--space-2)}.saved-support{max-width:38ch;margin-bottom:var(--space-6);color:var(--color-text-muted)}.phrase-page .direction-label{margin-bottom:var(--space-3);background:var(--color-nav-active);color:var(--color-primary);border-color:#b9d2cc;border-radius:999px}.phrase-page .phrase-detail{border-color:var(--color-border);border-radius:var(--radius-panel);background:linear-gradient(155deg, var(--color-surface), #faf6f0);box-shadow:var(--shadow-soft);padding:30px 20px}.phrase-page .phrase-detail h1{margin-bottom:var(--space-3);color:var(--color-text);overflow-wrap:normal;letter-spacing:-.025em;line-break:strict;text-wrap:balance;word-break:normal;font-size:clamp(1.9rem,8.5vw,2.6rem);line-height:1.28}.phrase-page .phrase-english{margin-bottom:var(--space-2);color:var(--color-text);font-size:1.05rem}.phrase-page .phrase-detail .pinyin{color:var(--color-text-muted);margin:0}.speech-panel{margin-top:var(--space-6)}.speech-panel h2{margin-bottom:var(--space-2);font-size:.9rem}.phrase-page .detail-speech-controls{margin-top:0}.phrase-page .detail-speech-controls .speech-button{background:var(--color-nav-active);color:var(--color-primary);border-color:#b9d2cc;font-weight:750}.phrase-page .show-link{width:100%;margin-top:var(--space-4);justify-content:center}.phrase-page .secondary-action{margin-top:var(--space-3);border:1px solid var(--color-primary);background:var(--color-surface);color:var(--color-primary)}.phrase-page .natural-note{margin-top:var(--space-6);border-color:var(--color-border);border-radius:var(--radius-card);background:var(--color-surface-soft);padding:18px}.natural-note .eyebrow{color:var(--color-primary);margin-bottom:5px}.natural-note h2{margin-bottom:6px}.natural-note p:last-child{color:var(--color-text-muted)}.emergency-header{margin-bottom:var(--space-4)}.emergency-header .eyebrow{color:var(--color-emergency)}.emergency-warning{margin:0 0 var(--space-6);border:1px solid #e4b4af;border-left:6px solid var(--color-emergency);border-radius:var(--radius-card);background:#fff7f6;padding:16px 18px}.emergency-warning p{color:var(--color-text)}.emergency-warning p+p{color:var(--color-text-muted);font-size:.9rem}.emergency-call-list{gap:var(--space-3)}.emergency-call-card{align-items:center;gap:var(--space-3);border-color:var(--color-border);border-radius:var(--radius-card);grid-template-columns:minmax(0,1fr) auto;padding:16px;display:grid;box-shadow:0 4px 14px #20302e0a}.emergency-call-card h3{color:var(--color-emergency);font-size:1.8rem}.emergency-call-card p{color:var(--color-text)}.emergency-call-card .call-note{color:var(--color-text-muted)}.emergency-call-card>button{border:1px solid var(--color-emergency);border-radius:var(--radius-control);background:var(--color-surface);width:auto;min-width:72px;color:var(--color-emergency);margin:0;padding-inline:16px;font-weight:800}.call-confirmation{border-radius:var(--radius-control);background:#fff7f6;border:1px solid #e4b4af;grid-column:1/-1;margin-top:2px;padding:14px}.call-confirmation p{margin-bottom:6px}.call-confirmation button,.call-confirmation a{border-color:var(--color-emergency);border-radius:var(--radius-control)}.call-confirmation button{background:var(--color-surface);color:var(--color-text)}.call-confirmation a{background:var(--color-emergency);color:#fff}.emergency-phrases-section{padding-top:var(--space-6);border-top:1px solid var(--color-border)}.emergency-phrase-group{margin-top:var(--space-6)}.emergency-phrase-group h3{color:var(--color-text);align-items:center;gap:8px;display:flex}.emergency-phrase-group h3:before{background:var(--color-emergency);content:"";border-radius:50%;width:7px;height:7px}.practice-flow-page{width:100%}.practice-flow-toolbar{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:44px;margin-bottom:var(--space-4);display:flex}.practice-flow-toolbar .back-button{margin:0}.practice-flow-toolbar .pinyin-toggle{flex:none}.practice-flow-header{margin-bottom:var(--space-3)}.practice-flow-header .eyebrow{color:var(--color-primary);margin-bottom:5px;font-size:.8rem}.practice-flow-header h1{letter-spacing:-.025em;white-space:nowrap;margin:0;font-size:clamp(1.65rem,7vw,2rem)}.practice-flow-page .practice-progress{height:10px;margin:0 0 var(--space-6);background:var(--color-surface-soft);border:0;border-radius:999px}.practice-flow-page .practice-progress span{border-radius:inherit;background:var(--color-primary)}.practice-flow-page>.direction-label{margin-bottom:var(--space-3);background:var(--color-nav-active);color:var(--color-primary);letter-spacing:.04em;border-color:#b9d2cc;border-radius:999px;font-size:.78rem}.practice-phrase,.conversation-prompt{border-color:var(--color-border);border-radius:var(--radius-panel);background:linear-gradient(155deg, var(--color-surface), #faf6f0);min-height:210px;box-shadow:var(--shadow-soft);padding:28px 20px}.practice-phrase h2,.conversation-prompt h2{margin-bottom:var(--space-3);color:var(--color-text);font-size:clamp(2rem,10vw,2.8rem);line-height:1.25}.practice-phrase-english{margin-bottom:var(--space-2);color:var(--color-text);font-size:1.05rem}.practice-phrase .pinyin,.conversation-prompt .pinyin{color:var(--color-text-muted);margin:0}.practice-listen{margin-top:var(--space-6)}.practice-listen>h2{margin-bottom:var(--space-2);font-size:.9rem}.practice-listen .detail-speech-controls{margin-top:0}.practice-listen .speech-button{background:var(--color-nav-active);color:var(--color-primary);border-color:#b9d2cc;font-weight:750}.practice-hint{margin-top:var(--space-6);border-color:var(--color-border);border-radius:var(--radius-card);background:var(--color-surface-soft);padding:17px}.practice-hint h2{margin-bottom:5px;font-size:1rem}.practice-hint p{color:var(--color-text-muted)}.practice-step-navigation{gap:var(--space-3);margin-top:var(--space-6)}.practice-step-navigation a,.practice-step-navigation button{border-color:var(--color-primary);border-radius:var(--radius-control);min-height:52px}.practice-step-navigation a{background:var(--color-primary);color:#fff}.practice-step-navigation a:first-child:not(:last-child){background:var(--color-surface);color:var(--color-primary)}.practice-step-navigation button:disabled{border-color:var(--color-border);background:var(--color-surface-soft);color:var(--color-text-muted)}.conversation-toolbar{margin-bottom:var(--space-4)}.conversation-header{margin-bottom:var(--space-3)}.conversation-header h1{font-size:clamp(1.6rem,6.8vw,1.95rem)}.cashier-label{background:#e7f0ee!important}.conversation-prompt{background:linear-gradient(155deg, #f4faf8, var(--color-surface));border-color:#b9d2cc;min-height:190px}.answer-section{margin-top:var(--space-8);padding-top:var(--space-6);border-top:1px solid var(--color-border)}.your-answer-label{margin-bottom:var(--space-2);color:#8a432d;letter-spacing:.04em;background:#fff0e9;border-color:#e8c8b9;border-radius:999px;font-size:.78rem}.answer-section>h2{margin-bottom:var(--space-4)}.answer-options{gap:var(--space-3)}.answer-options a{border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);min-height:104px;padding:16px 18px;transition:border-color .15s,background-color .15s,transform .15s;box-shadow:0 4px 14px #20302e0a}.answer-options a strong{color:var(--color-text);font-size:1.25rem}.answer-options a span{color:var(--color-text)}.answer-options a .pinyin,.preset-note{color:var(--color-text-muted)}.limited-answer{margin-top:var(--space-8);border:1px solid var(--color-border);border-radius:var(--radius-card);background:var(--color-surface-soft);padding:18px}.limited-answer-heading{align-items:flex-start;gap:var(--space-3);margin-bottom:var(--space-4);display:flex}.limited-answer-heading>span{background:var(--color-nav-active);width:38px;height:38px;color:var(--color-primary);border-radius:12px;flex:none;place-items:center;font-size:.8rem;font-weight:800;display:grid}.limited-answer-heading h2{margin-bottom:3px;font-size:1.05rem}.limited-answer-heading p{color:var(--color-text-muted);margin:0;font-size:.8rem}.limited-answer form{gap:var(--space-2)}.limited-answer input{border-color:var(--color-border);border-radius:var(--radius-control);background:var(--color-surface);min-height:48px;color:var(--color-text)}.limited-answer form button{border-color:var(--color-primary);border-radius:var(--radius-control);background:var(--color-primary);color:#fff;min-height:48px}.match-result{margin-top:var(--space-4);border-color:var(--color-border);border-radius:var(--radius-control);background:var(--color-surface);padding:14px}.match-result-empty{border-left:5px solid var(--color-accent)}.match-result-unrecognized{background:#fff9f5;border-left:5px solid #9a6a55}.match-result-matched{border-left:5px solid var(--color-success);background:#f3faf6}.matched-answer>div{gap:var(--space-2)}.matched-answer a,.matched-answer button{border-color:var(--color-primary);border-radius:var(--radius-control)}.matched-answer a{background:var(--color-primary)}.matched-answer button{background:var(--color-surface);color:var(--color-primary)}.feedback-header{margin-bottom:var(--space-3)}.feedback-success{align-items:flex-start;gap:var(--space-3);border-radius:var(--radius-panel);background:#f2faf7;border:1px solid #b9d2cc;padding:20px;display:flex}.feedback-mark,.completion-mark{background:var(--color-success);color:#fff;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;font-size:1.25rem;font-weight:800;display:grid}.feedback-success h1{margin-bottom:6px;font-size:clamp(1.7rem,7vw,2.1rem)}.feedback-success p{color:var(--color-text-muted)}.feedback-answer{margin-top:var(--space-6);border-color:var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);padding:18px}.feedback-answer .direction-label{margin-bottom:var(--space-3);color:#8a432d;background:#fff0e9;border-color:#e8c8b9;border-radius:999px}.feedback-answer h2{margin-bottom:var(--space-3);font-size:.95rem}.feedback-answer strong,.feedback-natural strong{color:var(--color-text);font-size:1.45rem;line-height:1.35}.feedback-answer p,.feedback-natural p{margin-bottom:6px}.feedback-natural{margin-top:var(--space-4);border-radius:var(--radius-card);background:var(--color-nav-active);border-color:#b9d2cc;padding:20px}.feedback-natural .eyebrow{color:var(--color-primary);margin-bottom:4px}.feedback-natural .natural-explanation{margin:var(--space-3) 0;padding-top:var(--space-3);color:var(--color-text-muted);border-top:1px solid #b9d2cc}.feedback-natural .speech-button{border-color:var(--color-primary);background:var(--color-surface);color:var(--color-primary);font-weight:750}.continue-checkout{border-radius:var(--radius-control);background:var(--color-primary);min-height:52px}.conversation-complete{border-radius:var(--radius-card);background:var(--color-surface-soft);border-color:#b9d2cc;padding:18px}.conversation-complete p{color:var(--color-text-muted)}.results-header{margin-bottom:var(--space-8);border-radius:var(--radius-panel);background:linear-gradient(145deg,#eaf4f1,#faf6f0);border:1px solid #b9d2cc;padding:22px;position:relative}.results-header .eyebrow{margin-bottom:var(--space-4);color:var(--color-primary)}.results-header .completion-mark{margin-bottom:var(--space-3)}.results-header h1{margin-bottom:6px}.results-header>p:last-child{color:var(--color-text-muted);margin:0}.results-section-heading{justify-content:space-between;align-items:baseline;gap:var(--space-3);display:flex}.results-section-heading h2{margin-bottom:5px}.results-section-heading>span,.results-section-heading p{color:var(--color-text-muted);font-size:.85rem}.result-summary{gap:var(--space-3);margin-top:0}.result-summary>article{border-color:var(--color-border);border-radius:var(--radius-card);background:var(--color-surface);padding:16px;position:relative}.result-summary article .status-label{color:var(--color-success);background:#f2faf7;border-color:#b9d2cc;position:absolute;top:14px;right:14px}.result-summary h3{margin:0 90px 10px 0}.result-summary strong{color:var(--color-text);font-size:1.2rem}.result-summary article p{margin:5px 0 0}.review-section{margin-top:var(--space-8);padding-top:var(--space-6);border-top:1px solid var(--color-border)}.review-section>h2{margin-bottom:5px}.review-intro{margin-bottom:var(--space-3);color:var(--color-text-muted);font-size:.85rem}.review-card{margin-top:var(--space-3);border-radius:var(--radius-card);background:#f4faf8;border:1px solid #b9d2cc;padding:18px}.review-card .eyebrow{margin-bottom:var(--space-2);color:var(--color-primary)}.review-card>strong{color:var(--color-text);font-size:1.45rem}.review-card>p{margin-bottom:6px}.review-card>div{margin-top:var(--space-4)}.review-card>div button{border:1px solid var(--color-primary);border-radius:var(--radius-control);background:var(--color-surface);color:var(--color-primary);font-weight:750}.review-card>div button[aria-pressed=true]{background:var(--color-nav-active)}.practice-review-empty{border-color:var(--color-border);border-radius:var(--radius-card);background:var(--color-surface-soft);color:var(--color-text-muted)}.result-actions{gap:var(--space-3);margin-top:var(--space-6)}.result-actions button,.result-actions a{border-color:var(--color-primary);border-radius:var(--radius-control);min-height:52px}.result-actions button{background:var(--color-primary)}.result-actions a{background:var(--color-surface);color:var(--color-primary)}.practice-empty-state{margin-top:var(--space-8);border-color:var(--color-border);border-radius:var(--radius-panel);background:linear-gradient(145deg, var(--color-surface-soft), var(--color-surface));padding:30px 20px}.incomplete-mark{width:48px;height:48px;margin:0 auto var(--space-4);border:3px solid #79a9a2;border-top-color:var(--color-border);border-radius:50%;display:block}.practice-empty-state h1{font-size:clamp(1.8rem,8vw,2.2rem)}@media (hover:hover){.answer-options a:hover{border-color:var(--color-primary);background:#f4faf8}.practice-step-navigation a:hover,.limited-answer form button:hover,.continue-checkout:hover,.result-actions button:hover{border-color:var(--color-primary-pressed);background:var(--color-primary-pressed)}}@media (width<=370px){.emergency-call-card{grid-template-columns:1fr}.emergency-call-card>button{width:100%}}@media (hover:hover){.navigation-item:hover{color:var(--color-primary);background:#edf5f3}.search-row button:hover,.primary-link:hover,.show-link:hover{background:var(--color-primary-pressed);border-color:var(--color-primary-pressed)}.quick-card:hover{border-color:#adc7c1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}@media (width>=501px){.app-shell{border:1px solid var(--color-border);border-radius:var(--radius-panel);min-height:calc(100dvh - 48px);box-shadow:var(--shadow-soft);margin-block:24px}.bottom-navigation{border:1px solid var(--color-border);border-radius:0 0 var(--radius-panel) var(--radius-panel);bottom:24px}.show-page,.show-main{min-height:calc(100vh - 48px)}}.show-shell{background:#10211f;border:0;max-width:520px}.show-main{min-height:100dvh}.show-page{min-height:100dvh;padding:calc(88px + env(safe-area-inset-top)) 22px calc(20px + env(safe-area-inset-bottom));background:radial-gradient(circle at 50% 42%,#27433f 0%,#10211f 68%);grid-template-rows:minmax(0,1fr) auto;overflow:hidden auto}.show-phrase-content{text-align:center;place-self:center;width:100%;max-width:460px}.show-page h1{color:#fff;overflow-wrap:normal;letter-spacing:-.02em;line-break:strict;text-wrap:balance;word-break:normal;margin:0 auto;font-size:clamp(2.5rem,11vw,5.25rem);font-weight:800;line-height:1.2}@supports (word-break:auto-phrase){.show-page h1,.phrase-page .phrase-detail h1{word-break:auto-phrase}}.show-english{max-width:34rem;margin:var(--space-6) auto 0;color:#f5f1eb;font-size:clamp(1rem,4.4vw,1.2rem);line-height:1.45}.show-pinyin{max-width:34rem;margin:var(--space-2) auto 0;color:#c9d8d5;font-size:clamp(.9rem,3.8vw,1.05rem);line-height:1.5}.close-show{z-index:2;top:calc(18px + env(safe-area-inset-top));color:#fff;background:#10211ff5;border-color:#ffffffb8;min-width:72px;font-weight:750;right:18px}.show-audio{width:100%;max-width:460px;margin:var(--space-6) auto 0;align-self:end;position:static}.show-audio .speech-button{border-radius:var(--radius-control);color:#10211f;background:#fff;border-color:#ffffffb8;min-height:52px;font-weight:800}.show-audio .speech-button:disabled{color:#394744;background:#d8dedc;border-color:#72817e}.show-audio .speech-status:not(:empty){color:#f5f1eb;background:#ffffff1a;border-color:#71827e}.speech-status:not(:empty){min-height:44px;margin:0 0 var(--space-3);border:1px solid var(--color-border);border-left:5px solid var(--color-primary);border-radius:var(--radius-control);background:var(--color-surface-soft);color:var(--color-text-muted);align-items:center;padding:10px 12px;font-size:.875rem;line-height:1.4;display:flex}.speech-status-error,.speech-status-unavailable{color:var(--color-text);background:#fff8f3;border-left-color:#8a654d}.speech-status-ready:empty,.speech-status-stopped:empty{display:none}.not-found{border:1px solid var(--color-border);border-radius:var(--radius-panel);background:linear-gradient(145deg, var(--color-surface-soft), var(--color-surface));text-align:center;max-width:420px;box-shadow:var(--shadow-soft);margin:24px auto 0;padding:30px 22px}.not-found-mark{width:52px;height:52px;margin:0 auto var(--space-4);color:var(--color-primary);background:var(--color-nav-active);border:2px solid #79a9a2;border-radius:50%;place-items:center;font-size:1.4rem;font-weight:800;display:grid}.not-found .eyebrow{color:var(--color-primary)}.not-found>p:last-of-type{color:var(--color-text-muted)}.not-found-actions{gap:var(--space-3);margin-top:var(--space-6);display:grid}.not-found-actions .primary-link,.not-found-actions .secondary-link{justify-content:center;width:100%;min-height:52px;margin:0}@media (orientation:landscape) and (height<=540px){.show-page{padding-top:calc(72px + env(safe-area-inset-top))}.show-page h1{font-size:clamp(2.5rem,11vh,4.5rem)}.show-english,.show-audio{margin-top:var(--space-3)}}@media (width>=501px){.show-shell{min-height:100dvh;box-shadow:none;border:0;border-radius:0;margin-block:0}.show-page,.show-main{min-height:100dvh}}
