/* У каждого этапа свой контур. Светлая основа, спокойные синие акценты. */
.ax-review-note { margin:0; padding:9px 16px; background:#fff4df; color:#634b26; text-align:center; font-size:13px; }
.ax-visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.ax-stage { margin:32px 0; padding:30px; border:1px solid #cbdde9; border-radius:22px; background:#fff; box-shadow:0 5px 0 #dce7ef; scroll-margin-top:20px; }
.ax-section-heading { display:flex; align-items:center; gap:17px; margin-bottom:16px; }
.ax-section-heading h2 { margin:0; font-size:32px; line-height:1.2; }
.ax-section-heading .al-eyebrow { margin-bottom:6px!important; font-size:10px; letter-spacing:1.7px; }
.ax-stage-number { display:flex; flex-shrink:0; align-items:center; justify-content:center; width:53px; height:58px; border-radius:14px; background:#153c62; box-shadow:0 4px 0 #c7d8e5; color:#fff; font-size:21px; font-weight:700; }
.ax-section-lead { max-width:950px; color:#43617b; font-size:17px; line-height:1.7; }
.ax-choice-section { border-top:5px solid #23567e; }
.al-site .ax-choice-fieldset { border:0; margin:22px 0 0; padding:0; min-width:0; }
.ax-choices { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.al-site label.ax-choice { display:block; position:relative; margin:0; font-weight:400; cursor:pointer; }
.ax-choice > input { position:absolute; top:16px; right:15px; width:22px; height:22px; margin:0; accent-color:#164c78; cursor:pointer; z-index:1; }
.ax-choice-content { display:flex; flex-direction:column; align-items:flex-start; gap:10px; height:100%; min-height:230px; border:1px solid #cbdce9; border-radius:15px; padding:18px; background:linear-gradient(145deg,#fff,#f2f7fc); box-shadow:0 3px 0 #e0eaf2; }
.ax-icon { display:inline-flex; flex-shrink:0; align-items:center; justify-content:center; width:48px; height:48px; border:1px solid #c3d8e8; border-radius:13px; background:#e8f1f9; color:#2b628b; }
.ax-choice-content strong { font-size:18px; line-height:1.3; padding-right:0; color:#153c61; }
.ax-choice-content > span:not(.ax-icon):not(.ax-choice-state) { font-size:14px; line-height:1.55; color:#48637b; }
.ax-choice-state { margin-top:auto; padding-top:4px; font-size:13px; color:#38688e; font-weight:700; }
.ax-choice:hover .ax-choice-content { border-color:#6d96b6; background:#edf5fb; }
.ax-choice input:focus-visible + .ax-choice-content { outline:3px solid #a45000; outline-offset:4px; }
.ax-choice.is-selected .ax-choice-content { background:#e8f2fb; border:2px solid #245f8e; padding:17px; box-shadow:0 3px 0 #bdd3e5; }
.ax-choice.is-selected .ax-icon { background:#255e88; color:#fff; border-color:#255e88; }
.ax-choice.is-selected .ax-choice-state { color:#184b74; }
.ax-choice-footer { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:22px; padding:17px; border:1px solid #d2e1ec; border-radius:13px; background:#f4f8fc; }
.ax-choice-footer p { flex:1 1 340px; margin:0; font-size:14px; line-height:1.6; }
#access-personal-plan { border-top:1px solid #d1dfeb; margin-top:26px; padding-top:20px; }
.ax-personal-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.ax-personal-card { padding:19px; border:1px solid #cbddec; border-left:4px solid #567e9f; background:#f8fbfe; border-radius:12px; }
.ax-personal-card h4 { font-size:19px; margin:0 0 10px; color:#16436a; }
.ax-personal-card p { font-size:15px; line-height:1.65; }
.ax-theme-links { display:flex; flex-wrap:wrap; gap:7px; }
.ax-theme-links a { padding:8px 10px; border:1px solid #c4d7e7; border-radius:7px; background:white; font-size:13px; text-decoration:none; }
.ax-tools-section { background:linear-gradient(140deg,#edf5fc,#f9fcff); border-top:5px solid #527f9e; }
.ax-tool-shortcuts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:22px 0; }
.ax-tool-shortcuts button,.ax-tool-shortcuts a { display:flex; gap:10px; align-items:center; justify-content:center; min-height:67px; padding:12px; border:1px solid #bdcfdf; border-radius:12px; background:#fff; color:#163f64; font:700 14px/1.4 Arial,sans-serif; cursor:pointer; text-decoration:none; }
.ax-tool-shortcuts svg { flex-shrink:0; width:27px; height:27px; color:#487fa4; }
.ax-tool-shortcuts [aria-pressed=true] { background:#173e63; color:white; }
.ax-tool-shortcuts [aria-pressed=true] svg { color:white; }
.ax-tools-section .al-audio { margin:20px 0; background:white; box-shadow:none; border:1px solid #c6d8e6; }
.ax-voice-panel { padding:23px; border:1px solid #c5d8e8; border-radius:16px; background:white; }
.ax-tool-title { display:flex; gap:14px; align-items:center; margin-bottom:12px; }
.ax-tool-title h3 { margin:0 0 6px; font-size:24px; }
.ax-tool-title p { margin:0; font-size:15px; color:#4c667d; }
#voice-status { border-left:3px solid #6a93b1; padding:10px 13px; background:#f0f6fb; font-size:15px; }
.ax-command-list { display:flex; flex-wrap:wrap; gap:7px; margin-top:15px; }
.ax-command-list span { padding:7px 9px; border:1px solid #cbdde9; border-radius:7px; background:#f7fafe; color:#2a5276; font-size:13px; }
.ax-voice-panel details ol,.ax-instructions-grid details ol { margin:15px 20px 16px 0; }
.ax-voice-panel details p,.ax-instructions-grid details p { padding:0 16px; font-size:15px; }
.ax-voice-panel details li,.ax-instructions-grid details li { margin-bottom:12px; font-size:15px; line-height:1.6; }
.ax-video-section { border-top:5px solid #668599; }
.ax-video-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:20px; margin-top:23px; align-items:start; }
.ax-player-card,.ax-transcript-card { min-width:0; padding:20px; border:1px solid #c7d9e7; border-radius:16px; background:#f4f8fc; }
.ax-video-label { display:flex; gap:10px; align-items:center; margin-bottom:14px; font-size:14px; font-weight:700; }
.ax-video-label svg { color:#3b739b; flex-shrink:0; }
#access-video-player { display:block; width:100%; aspect-ratio:16/9; border-radius:11px; background:#102a46; }
#video-empty-note { margin:12px 0; font-size:14px; color:#45637e; }
.ax-upload-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:17px; }
.ax-upload-grid>div { min-width:0; }
.al-site .ax-upload-grid label { font-size:14px; }
.ax-upload-grid input { width:100%; color:#254a6b; font:13px/1.5 Arial,sans-serif; }
.ax-upload-grid input::file-selector-button { display:block; margin-bottom:7px; padding:10px 12px; border:1px solid #a8c0d4; border-radius:8px; background:white; color:#1b4a70; font-weight:700; cursor:pointer; }
#video-status { padding:12px; border:1px solid #c5d7e6; border-radius:9px; background:#fff; font-size:14px; line-height:1.6; }
.ax-transcript-card { background:white; }
.ax-transcript-card h3 { margin:0 0 10px; font-size:22px; }
.ax-transcript { max-height:510px; overflow:auto; min-height:200px; padding:5px; border:1px solid #d7e3ed; border-radius:9px; overscroll-behavior:contain; }
.ax-transcript>p { padding:15px; font-size:15px; color:#52718a; }
.ax-transcript-line { padding:13px; border-bottom:1px solid #e1eaf2; border-left:3px solid transparent; }
.ax-transcript-line:last-child { border-bottom:0; }
.ax-transcript-line[aria-current] { background:#e8f2fa; border-left-color:#245e8a; }
.ax-transcript-line button { padding:7px 9px; border:1px solid #c4d7e7; border-radius:7px; background:#f1f7fc; color:#1c557f; font:700 13px/1.3 Arial,sans-serif; cursor:pointer; min-height:36px; }
.ax-transcript-line p { margin:9px 0 0; font-size:15px; line-height:1.65; white-space:pre-line; }
.ax-instructions-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ax-instructions-grid details { background:#f7fafd; }
.ax-instructions-grid details .al-button { margin:0 16px 16px; }
.ax-course-selection { border-top:5px solid #265c86; background:#f9fcff; }
.ax-easy .ax-hero-illustration,.ax-easy .al-roadmap { display:none; }
.ax-easy .al-profiles,.ax-easy .al-courses,.ax-easy .al-resources,.ax-easy .ax-personal-grid { grid-template-columns:1fr; }
.ax-easy p,.ax-easy li { line-height:1.9; }
.ax-easy .al-hero { grid-template-columns:1fr; }
.al-contrast .ax-stage,.al-contrast .ax-choice-content,.al-contrast .ax-choice-footer,.al-contrast .ax-personal-card,.al-contrast .ax-voice-panel,.al-contrast .ax-player-card,.al-contrast .ax-transcript-card,.al-contrast .ax-tool-shortcuts a,.al-contrast .ax-tool-shortcuts button,.al-contrast .ax-command-list span { background:#fff; color:#111; border:2px solid #111; box-shadow:none; }
.al-contrast .ax-choice-content strong,.al-contrast .ax-choice-content>span:not(.ax-icon),.al-contrast .ax-section-lead { color:#111; }
.al-contrast .ax-choice.is-selected .ax-choice-content { border:4px solid #111; padding:15px; }
.al-contrast .ax-choice.is-selected .ax-icon,.al-contrast .ax-stage-number { background:#111; color:#fff; }
.al-contrast .ax-transcript-line[aria-current] { border:3px solid #111; background:#fff; }
.al-large .ax-choice-content strong { font-size:21px; }
.al-large .ax-choice-content>span:not(.ax-icon),.al-large .ax-personal-card p,.al-large .ax-transcript-line p { font-size:18px; }
.al-site video::cue { background:#0a1b30ed; color:white; font-size:1.1em; }
@media(max-width:1040px) { .ax-choices { grid-template-columns:repeat(2,minmax(0,1fr)); } .ax-choice-content { min-height:204px; } .ax-video-grid { grid-template-columns:1fr; } .ax-transcript { max-height:320px; } }
@media(max-width:740px) { .ax-stage { padding:23px 19px; border-radius:18px; margin:27px 0; } .ax-section-heading { gap:12px; align-items:flex-start; } .ax-section-heading h2 { font-size:27px; } .ax-stage-number { width:44px; height:49px; font-size:17px; border-radius:12px; } .ax-section-lead { font-size:16px; } .ax-tool-shortcuts { grid-template-columns:1fr 1fr; } .ax-tool-shortcuts button,.ax-tool-shortcuts a { min-height:65px; justify-content:flex-start; } .ax-personal-grid,.ax-instructions-grid { grid-template-columns:1fr; } .ax-voice-panel { padding:19px 16px; } .ax-tool-title h3 { font-size:23px; } .ax-player-card,.ax-transcript-card { padding:17px 14px; } }
@media(max-width:430px) { .ax-choices { grid-template-columns:1fr; gap:11px; } .ax-choice-content { min-height:0; padding:17px 45px 17px 76px; gap:7px; position:relative; } .ax-choice-content .ax-icon { position:absolute; left:16px; top:19px; width:44px; height:44px; } .ax-choice-content strong { font-size:18px; } .ax-choice-content>span:not(.ax-icon):not(.ax-choice-state) { font-size:14px; } .ax-choice.is-selected .ax-choice-content { padding:16px 44px 16px 75px; } .ax-choice.is-selected .ax-choice-content .ax-icon { left:15px; top:18px; } .ax-choice-footer { padding:14px; } .ax-choice-footer>.al-button { width:100%; } .ax-upload-grid { grid-template-columns:1fr; } .ax-tool-shortcuts button,.ax-tool-shortcuts a { font-size:13px; flex-direction:column; align-items:flex-start; padding:13px; gap:7px; } .ax-section-heading h2 { font-size:25px; } }
@media print { .ax-stage { box-shadow:none; } .ax-tool-shortcuts,.ax-voice-panel,.ax-upload-grid { display:none; } }

.ax-hero-visual{min-width:0}.ax-hero-illustration{position:relative;text-align:center;margin-bottom:18px}.ax-hero-illustration svg{display:block;width:100%;max-width:430px;margin:auto;height:auto}.ax-hero-illustration>span{display:inline-block;padding:7px 13px;border:1px solid #c2d7e7;border-radius:20px;background:#fff;color:#325f80;font-size:12px;font-weight:700;letter-spacing:.6px}.ax-hero-visual .al-roadmap{padding:18px 20px;gap:0}.ax-hero-visual .al-roadmap li{padding:12px 0}.ax-hero-visual .al-roadmap li:first-child{padding-top:0}.ax-hero-visual .al-roadmap li:last-child{padding-bottom:0}.ax-hero-visual .al-roadmap strong{font-size:17px}.ax-hero-visual .al-roadmap p{font-size:13px;line-height:1.55}.al-hero{align-items:start}.ax-video-example{padding:21px;margin:20px 0;border:1px solid #bcd2e4;border-left:4px solid #255f89;border-radius:14px;background:#edf5fc}.ax-video-example h3{font-size:23px;margin:11px 0}.ax-video-example p{font-size:15px}.ax-example-badge{display:inline-block;padding:4px 9px;border:1px solid #bdd2e4;border-radius:6px;background:white;color:#285e84;font-size:12px;font-weight:700}.ax-video-example .al-actions>a:not(.al-button){font-size:14px;padding:10px}.al-contrast .ax-video-example,.al-contrast .ax-hero-illustration>span{background:white;color:#111;border:2px solid #111}@media(max-width:740px){.ax-hero-illustration svg{max-width:300px}.ax-video-example{padding:18px 15px}.ax-video-example h3{font-size:22px}}@media(max-width:430px){.ax-hero-illustration svg{max-width:270px}.ax-hero-visual .al-roadmap p{font-size:14px}}
