/* Preserve-mode quality pass: guide chrome and bounded control repairs only. */
.tutorial-player .walk-card{padding:20px}
.tutorial-player .tutorial-picker{gap:10px;margin-bottom:15px;padding-bottom:13px}
.tutorial-player .lesson-count strong{font-size:32px}
.tutorial-player .lesson-count>span{font-size:13px}
.tutorial-player #stepCount,.tutorial-player .lesson-track,.phone-objective #phoneStep{display:none}
.tutorial-player .tour-copy{min-height:115px}
.tutorial-player .walk-card .tour-copy p{font-size:16px;line-height:1.5}
.tutorial-player .tour-top{margin-bottom:12px}
.tutorial-player .tour-time{margin-top:15px}
.step-overview>summary{font:500 12px Archivo,sans-serif;color:var(--lesson-muted);cursor:pointer;min-height:36px;align-content:center}
.step-overview[open]>summary{margin-bottom:2px}
.tutorial-player .step-overview .walk-progress{margin:0 0 18px;padding:4px 1px}
.tutorial-player .walk-progress button{width:36px;height:36px;flex-basis:36px;font-size:11px}
.tutorial-player .tutorial-practice,.tutorial-player .tutorial-restart{display:inline-flex;align-items:center;justify-content:center;vertical-align:top;width:49%;min-height:44px;padding:8px 4px;margin:5px 0 0;border:0;background:transparent;color:var(--lesson-muted);font:500 12px Archivo,sans-serif;cursor:pointer}
.tutorial-player .tutorial-practice:hover,.tutorial-player .tutorial-restart:hover{color:var(--lesson-ink);text-decoration:underline}
.tour-mode-help{border-top:1px solid var(--lesson-line);padding-top:8px;font-size:12px;color:var(--lesson-muted)}
.tour-mode-help>summary{cursor:pointer;min-height:34px;align-content:center}
.tutorial-player .walk-card .tour-mode-help p{font-size:12px;line-height:1.6;margin:5px 0 10px;min-height:0}
.tutorial-duration{display:block;color:var(--lesson-muted);font-size:11px;line-height:1.45;font-weight:400;margin-top:5px}
.tutorial-library [data-tutorial]>span{min-width:0}
.tutorial-library [data-tutorial]{min-height:76px}
.tutorial-player .tour-settings{margin-top:12px}
.tutorial-player .tour-settings[open] #scenarioControls{display:block!important;margin-top:10px;max-height:none}
.tutorial-player .tour-settings #scenarioControls fieldset{display:block}
.tutorial-player .tour-settings #scenarioControls .scenario-basis{margin-top:12px;font-size:11px}
.tutorial-player .tour-settings #scenarioControls .scenario-reinvest{font-size:12px;min-height:36px}
.tutorial-practice:focus-visible,.step-overview>summary:focus-visible,.tour-mode-help>summary:focus-visible{outline:2px solid var(--lesson-green);outline-offset:2px}
/* Keep the native two method selectors; move their long values out of tiny cells. */
.tw-payment-dialog .tw-method-content{padding:0 15px}
.tw-payment-dialog .tw-table-tools,.tw-payment-dialog .tw-pagination{display:none}
.tw-payment-dialog .tw-info{font-size:12px;margin:12px 0;padding:10px}
.tw-payment-dialog .tw-method-head,.tw-payment-dialog .tw-method-row{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:12px}
.tw-payment-dialog .tw-method-head>:nth-child(n+3),.tw-payment-dialog .tw-method-row>:nth-child(n+3){display:none}
.tw-payment-dialog .tw-method-head{font-size:12px;line-height:1.4}
.tw-payment-dialog .tw-method-row{padding:10px 0 13px}
.tw-payment-dialog .tw-method-row select{margin:0;min-height:44px;padding:7px 5px;font:12px Arial,sans-serif;background:#fff;border-radius:6px}
.tw-payment-dialog .tw-account-picker select{width:0;flex:1;min-width:0;border-radius:6px 0 0 6px}
.tw-payment-dialog .tw-selection-icon{height:44px;width:24px;border-radius:0 6px 6px 0;font-size:13px}
.tw-payment-dialog .tw-expand{width:20px;height:24px;line-height:24px;font-size:15px;margin-right:5px}
.tw-selected-details{display:grid;gap:7px;padding:13px 0;font:12px/1.5 Arial,sans-serif;color:#333}
.tw-selected-details>strong{font-size:13px}
.tw-selected-details .tw-selected-address{overflow-wrap:anywhere;color:#555}
.tw-selected-details>small{font-size:11px;color:#666;border-top:1px solid #eee;padding-top:8px}
.tw-payment-dialog .tw-dialog-actions{margin-top:10px}
.tw-payment-dialog .tw-dialog-actions button{min-height:44px;border-radius:7px;font-size:13px}
.tw-payment-dialog .tw-dialog-actions button:disabled{opacity:.4;cursor:not-allowed}
.cx-preview-result{font-size:14px;line-height:1.6;color:#333}
.cx-preview-result .cx-primary{margin-top:12px}
.cx-empty-wallet{margin:12px 0;padding:12px;background:#f1f4eb;color:#344328;font-size:12px;line-height:1.5;border-radius:6px}
.cx-empty-wallet p{margin:0 0 10px}
.cx-native-icon{width:17px;height:17px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.copyx-profile-head button{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:28px}
.copyx-profile-head .cx-native-icon{width:15px;height:15px}
.copyx-details dt .cx-native-icon{width:16px;height:16px}
.copyx-product .cx-native-icon{width:15px;height:15px}
.copyx-metadata .cx-native-icon{width:12px;height:12px}
#mt5Portal .mt5-history-basis{font-size:11px;line-height:1.5;color:#a5a5a5;margin:12px 0 22px}
#mt5Portal .mt5-saved-access{font-size:10px;white-space:nowrap}
@media(max-width:900px){
 html.tutorial-player body{overflow-y:auto}
 .tutorial-player .device-wrap{min-height:0;flex:none}
 .tutorial-player .hint-panel,html.is-embed.tutorial-player .hint-panel{max-width:480px;justify-self:center}
 .tutorial-player .walk-card,html.is-embed.tutorial-player .walk-card{padding:14px 16px}
 .tutorial-player .tutorial-picker{margin-bottom:9px;padding-bottom:9px}
 .tutorial-player #tutorialChange{min-height:44px;font-size:13px}
 .tutorial-player .tour-top{margin-bottom:8px}
 .tutorial-player .tour-copy{min-height:0}
 .tutorial-player .walk-card .tour-copy p{font-size:15px;line-height:1.5;min-height:0}
 .tutorial-player .walk-card .tour-copy h2,.tutorial-player .lesson-kicker{display:none}
 .tutorial-player .tour-time{margin-top:10px}
 .tutorial-player .lesson-count strong{font-size:25px}
 .tutorial-player .walk-progress button{width:40px;height:40px;flex-basis:40px;font-size:12px}
 .tutorial-player .step-overview .walk-progress{margin:0 0 10px}
 .tutorial-player .walk-card .lesson-next{display:none}
 .tutorial-player .tour-settings summary{font-size:12px;min-height:36px;align-content:center}
 .tutorial-player .tour-settings #scenarioControls fieldset{grid-column:auto;grid-row:auto}
 .tutorial-player .tour-settings #scenarioControls .scenario-source{display:block;font-size:10px}
 .phone-objective h2{font-size:22px}
 .tutorial-player .walk-controls button{min-height:44px}
 /* Mobile: read and act before browsing secondary tutorial options.
    Keep the readable phone canvas and all controls in normal document flow. */
 .tutorial-player .stage,html.is-embed.tutorial-player .stage{row-gap:12px}
 .tutorial-player .walk-card,html.is-embed.tutorial-player .walk-card{display:flex;flex-direction:column}
 .tutorial-player .tour-top{order:0}
 .tutorial-player .tour-copy{order:1}
 .tutorial-player .walk-card .tour-copy h2{display:block;font-size:18px;line-height:1.2;margin:0 0 6px}
 .tutorial-player .walk-controls{order:2}
 .tutorial-player .tour-time{order:3}
 .tutorial-player .tutorial-picker{order:4;margin:14px 0 0;padding:12px 0 0;border-bottom:0;border-top:1px solid var(--lesson-line)}
 .tutorial-player .step-overview{order:5}
 .tutorial-player .tutorial-practice{order:6;width:100%;margin:0}
 .tutorial-player .tutorial-restart{order:7;width:100%;margin:0}
 .tutorial-player .tour-mode-help{order:8}
 .tutorial-player .lesson-next{order:9}
}
