/* 六场景演示。仅作用于演示窗口，不改动背景视频与全站风格。 */
.demo-window { height: 724px; }
.task-panel { display: flex; flex-direction: column; }
.scenario-strip { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 9px; padding: 14px 16px; flex: 0 0 auto; border-bottom: 1px solid #e8e8ef; background: #fcfcfe; }
.scenario-strip button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 9px; border: 1px solid #e1e3ec; border-radius: 10px; background: #fff; color: #777a88; font-size: 13px; white-space: nowrap; transition: background .2s,border-color .2s,color .2s,box-shadow .2s; }
.scenario-strip button img { width: 19px; height: 19px; opacity: .62; flex-shrink: 0; }
.scenario-strip button:hover { border-color: #aeb7d0; background: #f7f8fc; color: #252a3b; }
.scenario-strip button.is-active { border-color: #8b9cce; background: #eff2fc; color: #2d3b6b; box-shadow: inset 0 -2px 0 #879ad1,0 2px 5px #404b7908; }
.scenario-strip button.is-active img { opacity: .9; }
.scenario-strip button:focus-visible { outline-offset: 2px; }
.task-workspace { flex: 1; min-height: 0; display: grid; grid-template-columns: 170px minmax(0,1fr); }
.task-workspace .client-sidebar { padding: 18px 10px 12px; }
.task-workspace .client-brand { font-size: 16px; gap: 6px; }
.task-workspace .client-brand > img { width: 22px; height: 22px; }
.task-workspace .new-task { margin-top: 20px; min-height: 38px; padding: 9px; font-size: 11px; }
.task-workspace .sidebar-label { font-size: 10px; margin: 23px 8px 9px; color: #9093a1; }
.sidebar-project { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #5d6375; padding: 9px 7px; overflow: hidden; }
.sidebar-project img { width: 14px; height: 14px; flex-shrink: 0; }
.sidebar-project span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-current { font-size: 11px; line-height: 1.7; padding: 9px 10px; margin-top: 3px; background: #e9eaf0; border-radius: 7px; color: #525765; }
.sidebar-files { display: flex; flex-direction: column; gap: 3px; }
.sidebar-files button { display: flex; align-items: center; gap: 6px; text-align: left; min-height: 35px; padding: 6px 7px; font-size: 10px; line-height: 1.6; color: #6e7280; background: transparent; border-radius: 6px; }
.sidebar-files button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-files button:hover { background: #e8eaf1; }
.sidebar-files img { width: 13px; height: 13px; flex-shrink: 0; opacity: .65; }
.task-panel.sidebar-collapsed { display: flex; }
.task-panel.sidebar-collapsed .task-workspace { grid-template-columns: 52px minmax(0,1fr); }
.task-panel.sidebar-collapsed .client-sidebar > :not(.client-brand) { display: none; }
.task-panel.sidebar-collapsed .client-brand { padding: 0; font-size: 0; }
.task-header { padding: 0 18px; min-height: 45px; height: 45px; font-size: 13px; border-bottom: 0; }
.task-status { font-size: 10px; }
.task-layout { padding: 4px 18px 16px; gap: 18px; grid-template-columns: minmax(0,.97fr) minmax(0,1.12fr); }
.conversation-column { display: flex; flex-direction: column; position: relative; min-width: 0; min-height: 0; }
.conversation { flex: 1; min-height: 0; padding-right: 7px; overscroll-behavior: contain; scroll-behavior: auto; }
.conversation:focus-visible,.result-body:focus-visible { outline: 2px solid #849acb; outline-offset: -2px; border-radius: 8px; }
.user-message { padding: 13px 14px; margin-bottom: 18px; background: #f1f2f6; border-radius: 10px; font-size: 13px; line-height: 1.8; flex-shrink: 0; }
.task-inputs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.task-inputs span { display: inline-flex; gap: 4px; align-items: center; padding: 4px 6px; background: #ffffffb3; border: 1px solid #e2e5ed; border-radius: 5px; color: #737b8d; font-size: 9px; line-height: 1.3; }
.task-inputs img { width: 11px; height: 11px; opacity: .6; }
.assistant-label { flex-shrink: 0; font-size: 12px; }
.assistant-label span { margin-left: auto; font-family: inherit; font-size: 9px; font-weight: 400; color: #aaaebb; }
.assistant-intro { display: block; flex-shrink: 0; font-size: 12px; line-height: 1.9; color: #687184; margin-top: 9px; }
.execution-steps { display: flex; flex-shrink: 0; gap: 0; margin: 19px 0 0; }
.execution-steps li { display: flex; gap: 9px; position: relative; padding: 0 0 19px; color: #303847; font-size: 12px; line-height: 1.7; }
.execution-steps li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 24px; bottom: 4px; width: 1px; background: #e5e9f1; }
.execution-steps li > div { flex: 1; min-width: 0; }
.stage-icon { width: 22px; height: 22px; flex: 0 0 22px; display: flex; align-items: center; justify-content: center; background: #eff2f8; border-radius: 50%; font-size: 9px; color: #687caa; font-variant-numeric: tabular-nums; }
.execution-steps .stage-icon img { width: 14px; height: 14px; margin: 0; opacity: .75; animation: none; }
.execution-steps li.is-done { color: #465266; }
.execution-steps li.is-running .stage-icon { box-shadow: 0 0 0 3px #edf0fb; animation: taskPulse 1.8s ease-in-out infinite; }
.execution-steps li button { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; width: 100%; min-height: 24px; padding: 0; text-align: left; background: transparent; color: #3c4658; font-weight: 500; font-size: 12px; line-height: 1.8; }
.execution-steps li button:hover { color: #4567ac; }
.execution-steps li p { font-size: 11px; line-height: 1.9; color: #828998; margin-top: 4px; }
.execution-steps li small { display: inline-block; font-size: 9px; line-height: 1.6; color: #7c8a9f; margin-top: 6px; border: 1px solid #e9edf4; background: #fafbfe; border-radius: 4px; padding: 3px 6px; }
.step-live { color: #7b8db8; font-size: 8px; font-weight: 400; background: #eff2fb; padding: 1px 5px; border-radius: 3px; }
.task-next { font-size: 10px; color: #a0a6b2; margin: 0 0 17px 31px; }
.task-conclusion { margin: 0 0 15px 31px; padding: 11px 12px; border: 1px solid #dde7e1; background: #f5f9f6; border-radius: 8px; flex-shrink: 0; }
.task-conclusion strong { font-size: 11px; font-weight: 500; color: #55725f; }
.task-conclusion p { font-size: 11px; line-height: 1.8; color: #728579; margin-top: 5px; }
.conversation-hint { flex-shrink: 0; padding-top: 9px; margin-top: 4px; border-top: 1px solid #f0f1f5; color: #a2a8b4; font-size: 9px; line-height: 1.8; }
.show-latest { position: absolute; bottom: 37px; left: 50%; transform: translateX(-50%); padding: 7px 12px; border: 1px solid #dce2ef; border-radius: 99px; background: #fff; box-shadow: 0 4px 15px #1e35571a; white-space: nowrap; font-size: 11px; color: #566c95; }
.mobile-task-tabs { display: none; }
.result-toolbar { min-height: 38px; flex-shrink: 0; }
.result-toolbar button { min-height: 30px; padding: 5px 10px; font-size: 10px; }
.result-body { overscroll-behavior: contain; min-height: 0; }
.result-caption { flex-shrink: 0; min-height: 45px; font-size: 10px; line-height: 1.65; padding: 8px 11px; color: #9299a7; }
.window-status { height: 42px; min-height: 42px; font-size: 10px; }
.window-status > div:first-child { min-width: 0; }
#demo-status-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window-status .playback-controls { flex-shrink: 0; }
.playback-controls button { min-height: 34px; font-size: 11px; }

/* Result components */
.rd-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; border-bottom: 1px solid #e9ecf3; padding: 8px 11px; background: #fcfcfe; }
.rd-modes button,.rd-device-bar button { background: transparent; padding: 7px 10px; border-radius: 6px; color: #9299a8; font-size: 10px; min-height: 30px; }
.rd-modes button.is-active,.rd-device-bar button.is-active { background: #eaf0fb; color: #4a6090; }
.rd-modes button:hover:not(:disabled) { background: #f0f3f9; }
.rd-modes button:disabled { color: #c0c5cf; }
.rd-eyebrow { font-size: 9px; letter-spacing: 1px; color: #8b98ae; margin-bottom: 11px; }
.rd-sheet { padding: 21px 19px; font-size: 12px; color: #778296; line-height: 1.9; }
.rd-sheet h4,.rd-document h4 { margin: 0 0 20px; font-size: 19px; font-weight: 500; line-height: 1.55; letter-spacing: -.5px; color: #37455d; text-wrap: balance; }
.rd-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 18px; font-size: 10px; color: #8a98aa; line-height: 1.85; }
.rd-note img { width: 13px; height: 13px; margin-top: 3px; flex-shrink: 0; opacity: .55; }
.rd-code-label { display: flex; align-items: center; gap: 6px; padding: 11px 13px; color: #64728b; font-size: 10px; background: #f8fafd; border-bottom: 1px solid #eaf0f6; }
.rd-code-label img { width: 13px; height: 13px; opacity: .65; }
.rd-code-label span { margin-left: auto; font-size: 8px; color: #8599a3; }
.rd-code { margin: 0; padding: 15px 14px; overflow: auto; font-family: Consolas,"Courier New",monospace; font-size: 10px; line-height: 1.7; color: #4b6476; background: #f5faf7; border-left: 3px solid #b1cbb9; }
.rd-code.is-before { min-height: 123px; background: #fcf7f6; border-color: #ddc0b7; color: #856f6c; }
.rd-form-demo { padding: 16px 14px; background: #fff; }
.rd-form-demo p { font-size: 10px; line-height: 1.8; color: #8b94a3; margin-top: 5px; }
.rd-form-actions { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-top: 12px; }
.rd-form-actions button { background: #2d3b53; color: #fff; border-radius: 6px; padding: 8px 11px; min-height: 34px; font-size: 10px; }
.rd-form-actions button:disabled { background: #a4adbc; }
.rd-form-actions > span { font-size: 9px; color: #8b93a1; white-space: nowrap; }
.rd-form-actions strong { font-size: 17px; font-weight: 500; color: #4e6487; margin: 0 2px; }
.rd-feedback { min-height: 18px; }
.rd-checklist { display: flex; flex-direction: column; gap: 15px; margin: 25px 0; }
.rd-checklist p { display: flex; align-items: center; gap: 9px; color: #667e72; font-size: 12px; }
.rd-checklist img { width: 16px; height: 16px; opacity: .65; }
.rd-device-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid #e5e9f0; }
.rd-device-bar button { display: flex; align-items: center; gap: 5px; }
.rd-device-bar img { width: 12px; height: 12px; opacity: .65; }
.rd-device-bar > span { margin-left: auto; font-size: 9px; color: #a1a7b2; }
.rd-web-canvas { background: #e9ecf2; padding: 9px; min-height: 380px; }
.rd-website { width: 100%; margin: 0 auto; background: #f4f3ed; color: #2f352a; min-height: 365px; border: 1px solid #d8dcd6; transition: max-width .3s; max-width: 700px; }
.rd-website.is-mobile { max-width: 235px; border-radius: 12px; overflow: hidden; }
.rd-web-address { background: #fff; padding: 6px 11px; font-size: 7px; color: #9da399; border-bottom: 1px solid #e5e7de; }
.rd-website header { display: flex; align-items: center; justify-content: space-between; padding: 16px 17px; gap: 10px; }
.rd-website header strong { font-family: Arial,sans-serif; font-size: 19px; font-weight: 500; letter-spacing: -1px; }
.rd-website header span { font-size: 7px; color: #8b8f83; }
.rd-web-hero { padding: 17px 17px 26px; }
.rd-web-hero > p { font-size: 7px; letter-spacing: 1.7px; color: #8f9685; }
.rd-web-hero h4 { font-family: Georgia,serif; font-size: 32px; font-weight: 400; letter-spacing: -1.8px; line-height: 1.05; margin: 15px 0 11px; }
.rd-web-hero > span { font-size: 8px; color: #858b7c; }
.rd-web-projects { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 17px; }
.rd-web-projects article { padding: 13px 12px; background: #dce1d2; min-height: 106px; }
.rd-web-projects article+article { background: #e5ddd1; }
.rd-web-projects small { font-size: 6px; letter-spacing: 1px; color: #929981; }
.rd-web-projects strong { display: block; font-family: Georgia,serif; font-size: 25px; line-height: 1.1; font-weight: 400; margin-top: 12px; letter-spacing: -1px; }
.rd-web-contact { padding: 20px 17px; font-size: 8px; color: #7a806f; }
.rd-web-contact a { display: flex; align-items: center; gap: 5px; width: max-content; margin-top: 12px; background: #39432d; color: #f4f4eb; padding: 8px 10px; border-radius: 3px; font-size: 8px; min-height: 31px; }
.rd-web-contact a img { width: 10px; height: 10px; filter: invert(1); }
.rd-website.is-mobile .rd-web-projects { grid-template-columns: 1fr; }
.rd-website.is-mobile header > span { display: none; }
.rd-website.is-mobile .rd-web-hero h4 { font-size: 30px; }
.rd-web-outline { padding: 26px 20px; border-top: 1px solid #e1e4d8; }
.rd-web-outline p { font-size: 8px; color: #8d9582; letter-spacing: 1px; }
.rd-web-outline h4 { font-size: 22px; font-weight: 400; margin: 14px 0; line-height: 1.5; }
.rd-web-outline ol { font-size: 12px; line-height: 2.5; padding-left: 20px; color: #8a907f; }
.rd-slide-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; font-size: 10px; color: #8994ab; border-bottom: 1px solid #e7edf4; }
.rd-slide-head b { font-weight: 400; font-size: 9px; }
.rd-slide { min-height: 317px; padding: 25px 22px; background: #f3f5fb; color: #3e5276; }
.rd-slide h4 { font-size: 24px; line-height: 1.4; font-weight: 500; letter-spacing: -.7px; margin: 15px 0 23px; text-wrap: balance; }
.rd-slide-kicker { font-size: 8px; color: #97a5bf; letter-spacing: 1.5px; }
.rd-slide.page-0 { background: #dce4f7; display: flex; align-items: stretch; }
.rd-slide-cover { width: 100%; padding: 7px 2px; }
.rd-slide-cover > span { font-size: 8px; letter-spacing: 1.3px; color: #7e91b5; }
.rd-slide-cover h4 { font-size: 37px; line-height: 1.28; letter-spacing: -1.5px; margin: 34px 0 19px; font-weight: 400; }
.rd-slide-cover p { font-size: 12px; color: #8092b5; }
.rd-slide-cover > div { margin-top: 36px; padding-top: 14px; border-top: 1px solid #b7c5e266; font-size: 8px; letter-spacing: .5px; color: #8b9bb8; }
.rd-slide-callout { font-size: 11px; line-height: 1.85; padding: 12px; margin-top: 23px; background: #e9eef8; color: #8193b1; border-left: 2px solid #a9b9da; }
.rd-slide-nav { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-top: 1px solid #e9eef7; background: #fcfdff; gap: 5px; }
.rd-slide-nav > div { display: flex; gap: 4px; }
.rd-slide-nav button { min-width: 27px; height: 30px; padding: 5px; border-radius: 4px; background: transparent; color: #99a4b8; font-size: 9px; }
.rd-slide-nav button.is-active { background: #e5ebf7; color: #506b9c; }
.rd-slide-nav button:disabled { opacity: .25; }
.rd-slide-nav img { width: 14px; height: 14px; }
.rd-metric-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 22px 0 0; }
.rd-metric { border-bottom: 1px solid #dce4f2; padding-bottom: 15px; }
.rd-metric:first-child { grid-column: 1/-1; }
.rd-metric span { display: block; font-size: 9px; color: #8c9bb3; }
.rd-metric strong { display: block; margin-top: 8px; font-size: 27px; color: #52698e; font-weight: 400; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.rd-metric small { color: #9eabc0; font-size: 8px; }
.rd-bars { display: flex; flex-direction: column; gap: 17px; margin-top: 28px; }
.rd-bars > div { display: grid; grid-template-columns: 52px minmax(20px,1fr) 58px; align-items: center; gap: 10px; font-size: 9px; color: #8494b0; }
.rd-bars > div > div { height: 14px; background: #e4eaf5; border-radius: 2px; overflow: hidden; }
.rd-bars i { display: block; width: var(--bar); background: #9badd2; height: 100%; border-radius: 2px; }
.rd-bars > div:nth-child(even) i { background: #b4c1dd; }
.rd-bars b { font-size: 9px; font-weight: 500; text-align: right; color: #6f84a9; font-variant-numeric: tabular-nums; }
.rd-project-list { display: flex; flex-direction: column; margin-top: 25px; gap: 13px; }
.rd-project-list p { display: grid; grid-template-columns: 1fr 65px; gap: 8px; border-bottom: 1px solid #dfe6f2; padding-bottom: 14px; font-size: 12px; }
.rd-project-list b { font-weight: 500; }
.rd-project-list span { font-size: 9px; color: #8a9eba; text-align: right; }
.rd-project-list small { grid-column: 1/-1; font-size: 10px; color: #97a6bd; }
.rd-slide-list { padding-left: 20px; display: flex; flex-direction: column; gap: 20px; font-size: 13px; color: #667d9f; }
.rd-slide-list b { font-weight: 500; }
.rd-slide-list span { display: block; margin-top: 7px; font-size: 10px; color: #91a0b7; }
.rd-source-cards p { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 14px 11px; background: #f4f6fb; border: 1px solid #e4e9f2; margin-top: 12px; border-radius: 8px; font-size: 12px; }
.rd-source-cards img { width: 16px; height: 16px; opacity: .65; }
.rd-source-cards span { width: 100%; font-size: 10px; color: #99a3b5; padding-left: 23px; }
.rd-document { padding: 16px 19px 25px; color: #68778e; font-size: 12px; line-height: 1.95; }
.rd-document-meta { display: flex; align-items: center; gap: 5px; font-size: 9px; padding-bottom: 14px; border-bottom: 1px solid #e8edf3; margin-bottom: 21px; color: #9ca6b6; }
.rd-document-meta img { width: 12px; height: 12px; opacity: .5; }
.rd-document-meta > span { margin-left: auto; font-size: 8px; }
.rd-document h5 { font-size: 11px; color: #4e688e; font-weight: 500; margin: 24px 0 11px; }
.rd-document ul { padding-left: 17px; margin: 0; }
.rd-document li { margin-bottom: 9px; }
.rd-document b { font-weight: 500; }
.rd-raw-notes { background: #faf9f5; padding: 17px 15px; color: #8d887c; border: 1px solid #eeeae0; font-size: 13px; line-height: 2; }
.rd-extract { margin-top: 23px; padding: 14px; border-left: 2px solid #b2c3dc; background: #f4f7fc; font-size: 10px; }
.rd-extract strong { font-weight: 500; color: #738aad; }
.rd-extract p { margin-top: 6px; color: #94a1b4; }
.rd-highlight { background: #f8f4e9; border-left: 2px solid #d6c490; padding: 10px; color: #9a8b67; font-size: 11px; }
.rd-table-wrap { overflow-x: auto; scrollbar-width: thin; margin-top: 18px; }
.rd-table-wrap table { border-collapse: collapse; width: 100%; font-size: 10px; color: #71819a; text-align: left; }
.rd-table-wrap th { font-weight: 500; background: #eef2f8; color: #8897ad; padding: 9px 8px; white-space: nowrap; }
.rd-table-wrap td { padding: 10px 8px; border-bottom: 1px solid #edf0f6; line-height: 1.6; }
.rd-table-wrap tr:nth-child(even) td { background: #fafbfe; }
.rd-table-wrap td:last-child { white-space: nowrap; }
.rd-mini-stats { display: flex; justify-content: space-between; gap: 5px; color: #98a4b6; font-size: 10px; padding: 12px 0 8px; }
.rd-mini-stats b { font-size: 18px; font-weight: 400; color: #677fa7; padding-left: 5px; }
.rd-data-alert { padding: 12px; background: #faf6ed; color: #a39471; font-size: 10px; line-height: 1.8; margin-top: 16px; border-radius: 5px; }
.rd-sales-total { margin: 23px 0 29px; }
.rd-sales-total > span { display: block; font-size: 10px; color: #94a2b8; }
.rd-sales-total strong { display: block; font-size: 38px; line-height: 1.2; font-weight: 400; color: #4f678e; letter-spacing: -1.7px; margin: 9px 0; }
.rd-sales-total small { font-size: 10px; color: #9aa7b9; }
.rd-file-tree { margin-top: 20px; }
.rd-folder-label { display: flex; align-items: center; gap: 8px; background: #f4f6fa; padding: 8px 10px; margin-top: 9px; border-radius: 4px; color: #7183a0; font-size: 11px; }
.rd-file-tree img { width: 14px; height: 14px; opacity: .55; flex-shrink: 0; }
.rd-file-tree p { display: flex; align-items: center; gap: 8px; margin-left: 12px; padding: 11px 6px 11px 10px; border-left: 1px solid #e4e9f1; color: #8390a6; font-size: 11px; }
.rd-file-tree p > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.rd-file-tree p > img:last-child:not(:first-child) { width: 12px; height: 12px; opacity: .45; }
.rd-file-tree small { display: block; font-size: 9px; color: #a8b0bd; margin-top: 2px; }
.rd-rule { padding: 15px 12px; background: #f3f6fb; border: 1px solid #e6ecf5; border-radius: 7px; }
.rd-rule span { display: block; font-size: 10px; color: #9aa7bb; margin-bottom: 9px; }
.rd-rule code { font-size: 11px; color: #7589a9; }
.rd-rule-list { padding-left: 18px; font-size: 11px; line-height: 2.1; margin: 20px 0; }
.rd-log { border: 1px solid #e7edf3; background: #f8fafc; padding: 13px; font-size: 10px; color: #8d9bad; font-family: Consolas,monospace; line-height: 1.9; }
.rd-file-tabs { display: flex; gap: 5px; padding: 9px; overflow-x: auto; border-bottom: 1px solid #e8edf4; scrollbar-width: thin; }
.rd-file-tabs button { display: flex; gap: 5px; align-items: center; min-height: 31px; border: 1px solid #e5eaf3; border-radius: 5px; color: #8b99ac; padding: 6px 8px; background: #fafbfd; font-size: 9px; white-space: nowrap; }
.rd-file-tabs button.is-active { background: #eaf0fb; color: #607ba4; border-color: #d2ddf1; }
.rd-file-tabs img { width: 11px; height: 11px; opacity: .6; }
.rd-file-content { font-family: Consolas,"Courier New",monospace; margin: 0; padding: 16px; font-size: 11px; line-height: 1.95; color: #73849d; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (min-width:761px) and (max-width:1000px) {
  .task-workspace,.task-panel.sidebar-collapsed .task-workspace { grid-template-columns: minmax(0,1fr); }
  .task-workspace .client-sidebar { display: none; }
  .scenario-strip { gap: 6px; padding-inline: 12px; }
  .scenario-strip button { font-size: 11px; gap: 5px; }
  .scenario-strip button img { width: 16px; height: 16px; }
  .task-layout { padding-inline: 15px; gap: 15px; }
  .rd-slide { padding-inline: 17px; }
  .rd-slide h4 { font-size: 22px; }
  .rd-slide-cover h4 { font-size: 34px; }
}
@media (max-width:760px) {
  .demo-window { height: 792px; }
  .task-panel,.task-panel.sidebar-collapsed { display: flex; }
  .scenario-strip { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 10px; }
  .scenario-strip button { min-height: 45px; padding: 8px 3px; font-size: 11px; gap: 6px; border-radius: 7px; }
  .scenario-strip button img { width: 15px; height: 15px; }
  .task-workspace,.task-panel.sidebar-collapsed .task-workspace { display: flex; flex-direction: column; }
  .task-workspace .client-sidebar { display: none; }
  .client-main { flex: 1; height: auto; }
  .task-header { min-height: 46px; height: auto; padding: 10px 13px 7px; font-size: 12px; }
  .task-status { font-size: 9px; }
  .task-header > span:first-child { white-space: normal; line-height: 1.5; }
  .mobile-task-tabs { display: flex; flex-shrink: 0; border-bottom: 1px solid #e7ebf2; padding: 0 13px 7px; gap: 5px; }
  .mobile-task-tabs button { flex: 1; min-height: 40px; background: #f7f8fc; color: #8c97aa; border-radius: 6px; font-size: 12px; border: 1px solid transparent; }
  .mobile-task-tabs button[aria-pressed="true"] { background: #eef2fb; border-color: #d9e2f4; color: #59719d; }
  .task-layout { display: block; min-height: 0; overflow: hidden; padding: 12px 12px 10px; }
  .conversation-column,.result-panel { height: 100%; min-height: 0; }
  .task-panel[data-mobile-view="process"] .result-panel { display: none; }
  .task-panel[data-mobile-view="result"] .conversation-column { display: none; }
  .conversation { overflow-y: auto; flex: 1; min-height: 0; padding-right: 5px; }
  .user-message { font-size: 13px; line-height: 1.8; padding: 12px; margin-bottom: 17px; }
  .task-inputs span { font-size: 9px; }
  .assistant-label { display: flex; font-size: 12px; }
  .assistant-intro { font-size: 12px; line-height: 1.9; }
  .execution-steps { margin-top: 18px; }
  .execution-steps li { gap: 9px; padding-bottom: 18px; }
  .execution-steps li button { min-height: 36px; font-size: 12px; }
  .execution-steps li p { font-size: 11px; margin-top: 0; }
  .execution-steps li small { font-size: 9px; }
  .stage-icon { margin-top: 6px; }
  .execution-steps li:not(:last-child)::after { top: 33px; }
  .conversation-hint { font-size: 9px; }
  .show-latest { min-height: 40px; }
  .result-panel { flex-shrink: 1; }
  .result-body { min-height: 0; }
  .result-toolbar { min-height: 40px; }
  .result-toolbar button { min-height: 34px; font-size: 11px; }
  .result-caption { font-size: 10px; min-height: 42px; padding: 8px 10px; }
  .window-status { flex-wrap: nowrap; min-height: 46px; height: 46px; padding-inline: 9px; gap: 6px; }
  .window-status > div:first-child { flex: 1; font-size: 9px; }
  .window-status .status-dot { display: none; }
  .playback-controls { gap: 2px; }
  .playback-controls button { font-size: 10px; padding: 5px 6px; min-height: 42px; }
  .playback-controls img { width: 12px; height: 12px; }
  .rd-modes { padding: 6px 8px; gap: 3px; }
  .rd-modes button { min-height: 40px; font-size: 11px; padding: 7px 9px; }
  .rd-device-bar button { min-height: 40px; font-size: 11px; }
  .rd-sheet,.rd-document { padding: 18px 15px; }
  .rd-sheet h4,.rd-document h4 { font-size: 19px; }
  .rd-code { font-size: 10px; line-height: 1.85; padding-inline: 10px; }
  .rd-code-label { font-size: 10px; padding-inline: 10px; }
  .rd-code-label span { font-size: 7px; }
  .rd-form-demo { padding: 15px 12px; }
  .rd-form-demo p { font-size: 11px; }
  .rd-form-actions { gap: 8px; }
  .rd-form-actions button { min-height: 42px; font-size: 10px; padding-inline: 10px; }
  .rd-form-actions > span { font-size: 9px; }
  .rd-form-actions strong { font-size: 16px; }
  .rd-checklist p { font-size: 12px; }
  .rd-web-canvas { min-height: 340px; }
  .rd-website { min-height: 325px; }
  .rd-web-hero h4 { font-size: 30px; }
  .rd-web-contact a { min-height: 40px; font-size: 9px; }
  .rd-slide { min-height: 323px; padding-inline: 17px; }
  .rd-slide h4 { font-size: 22px; }
  .rd-slide-cover h4 { font-size: 34px; }
  .rd-slide-nav { padding-inline: 7px; }
  .rd-slide-nav button { min-width: 29px; height: 40px; font-size: 10px; }
  .rd-slide-nav > div { gap: 3px; }
  .rd-bars > div { grid-template-columns: 51px minmax(20px,1fr) 57px; gap: 7px; }
  .rd-table-wrap table { font-size: 10px; }
  .rd-table-wrap td,.rd-table-wrap th { padding-inline: 6px; }
  .rd-document h5 { font-size: 12px; }
  .rd-document { font-size: 12px; }
  .rd-file-tabs button { min-height: 40px; font-size: 10px; }
  .rd-file-content { font-size: 11px; }
}
@media (max-width:370px) {
  .scenario-strip button { font-size: 10px; gap: 5px; }
  .scenario-strip button img { width: 13px; height: 13px; }
  .task-header { font-size: 11px; }
  .task-layout { padding-inline: 9px; }
  .rd-modes button { font-size: 10px; padding-inline: 8px; }
  .rd-slide-nav button { min-width: 24px; }
  .rd-slide-nav > div { gap: 2px; }
  .rd-form-actions { flex-wrap: wrap; }
  .rd-form-actions > span { margin-left: auto; }
  .rd-form-actions button { font-size: 10px; }
  .rd-sheet,.rd-document { padding-inline: 12px; }
  .rd-slide h4 { font-size: 20px; }
  .rd-slide-cover h4 { font-size: 31px; }
  .playback-controls button { font-size: 9px; padding-inline: 4px; }
  .playback-controls img { display: none; }
}
@media (prefers-reduced-motion:reduce) {
  .execution-steps li.is-running .stage-icon { animation: none; }
}
