
#chat-course .yd-head { max-width: 900px; }
#chat-course .yd-lead { max-width: none; }
.yd-chatcard { display: grid; grid-template-columns: minmax(0, 636fr) minmax(0, 500fr); align-items: center; gap: 48px; padding: 48px; border-radius: var(--lf-radius-2xl); background: var(--lf-tone-lime-bg); }
.yd-chatcard__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.yd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.yd-chatcard__action { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.yd-chatcard__action p { color: var(--lf-text-secondary); font-size: 15px; line-height: 22px; }
.yd-chatcard__visual { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.yd-mcp { display: flex; align-items: center; gap: 24px; padding: 20px 24px; border-radius: var(--lf-radius-xl); background: var(--lf-tone-sky-bg); }
.yd-mcp__clients { display: flex; flex: none; gap: 8px; }
.yd-mcp__clients li { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--lf-radius-md); background: var(--lf-bg-surface); }
.yd-mcp__text { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.yd-mcp__text h3 { font-size: 18px; line-height: 24px; letter-spacing: -0.01em; }
.yd-mcp__text p { color: var(--lf-text-secondary); font-size: 15px; line-height: 22px; }
.yd-lesson { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 16px 24px 16px 16px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-xl); background: var(--lf-bg-surface); }
.yd-lesson__play { display: grid; flex: none; place-items: center; width: 128px; height: 72px; border-radius: var(--lf-radius-lg); background: var(--lf-bg-inverse); }
.yd-lesson__play > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--lf-radius-full); background: var(--lf-lime-300); color: var(--lf-text-on-lime); transition: transform 0.2s ease; }
.yd-lesson__play:hover > span { transform: scale(1.08); }
.yd-lesson__play:focus-visible { outline: none; box-shadow: var(--lf-focus-ring); }
.yd-lesson__text { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.yd-lesson__title { font-size: 18px; font-weight: 600; line-height: 24px; letter-spacing: -0.01em; }
.yd-lesson__player { flex-basis: 100%; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--lf-radius-lg); background: var(--lf-bg-inverse); }
.yd-lesson__player iframe { display: block; width: 100%; height: 100%; border: 0; }

.yd-define { display: flex; flex-direction: column; gap: 16px; }
.yd-define__text { max-width: 1000px; font-size: 22px; font-weight: 600; line-height: 28px; letter-spacing: -0.015em; }
.yd-confirm { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: center; gap: 48px; padding: 40px; border-radius: var(--lf-radius-2xl); background: var(--lf-tone-mint-bg); }
.yd-confirm__text { display: flex; flex-direction: column; gap: 16px; }
.yd-confirm__text > p:last-child { font-size: 16px; line-height: 24px; }
.yd-confirm__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.yd-change { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 17px; border: 1px solid var(--lf-border-subtle); border-radius: 14px; background: var(--lf-bg-surface); }
.yd-change b { font-size: 14px; font-weight: 500; line-height: 18px; }
.yd-change__list { display: flex; flex-direction: column; gap: 7px; align-self: stretch; }
.yd-change__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.yd-trustfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-xl); background: var(--lf-bg-surface); }
.yd-trustfacts li { padding: 28px 24px; }
.yd-trustfacts li + li { border-left: 1px solid var(--lf-border-subtle); }
.yd-agrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.yd-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.yd-pills li { padding: 10px 16px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-full); background: var(--lf-bg-surface); color: var(--lf-text-secondary); font-size: 16px; font-weight: 500; line-height: 20px; }

.yd-pains { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.yd-pain { position: relative; grid-column: span 4; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--lf-radius-2xl); }
.yd-pain--wide { grid-column: span 8; }
.yd-pain h3 { font-size: 22px; line-height: 28px; letter-spacing: -0.015em; }
.yd-pain > p { color: var(--lf-text-secondary); font-size: 15px; line-height: 22px; }
.yd-pain > .yd-link { margin-top: 4px; }
.yd-mini { margin-top: 8px; padding: 20px; border-radius: var(--lf-radius-xl); background: var(--lf-bg-surface); }
.yd-mini--spend { display: flex; align-items: center; gap: 24px; }
.yd-mini__total { display: flex; flex: none; flex-direction: column; gap: 4px; width: 200px; }
.yd-mini__total small { color: var(--lf-text-tertiary); font-size: 13px; line-height: 18px; }
.yd-mini__total b { color: var(--lf-status-danger); font-size: 44px; font-weight: 600; line-height: 48px; letter-spacing: -0.03em; white-space: nowrap; }
.yd-bars { display: flex; flex: 1; flex-direction: column; gap: 10px; min-width: 0; }
.yd-bars li { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 15px; line-height: 22px; }
.yd-bar { display: block; height: 8px; overflow: hidden; border-radius: var(--lf-radius-full); background: var(--lf-bg-subtle); }
.yd-bar > i { display: block; height: 100%; border-radius: inherit; background: var(--lf-status-danger); }
.yd-bar--warn > i { background: var(--lf-status-warning); }
.yd-f100 { width: 100%; }
.yd-f70 { width: 70%; }
.yd-f50 { width: 50%; }
.yd-f40 { width: 40%; }
.yd-mini--qa { display: flex; flex-direction: column; gap: 8px; padding: 0; background: none; }
.yd-mini__answer { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-radius: var(--lf-radius-xl); background: var(--lf-bg-surface); font-size: 15px; line-height: 22px; }
.yd-mini__answer .lf-icon { margin-top: 3px; color: var(--lf-text-link); }
.yd-mini--stat { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.yd-stat { display: flex; flex-direction: column; gap: 6px; padding: 4px 8px 0; }
.yd-stat small, .yd-report__stats small { color: var(--lf-text-secondary); font-size: 14px; font-weight: 500; line-height: 18px; }
.yd-stat__val { display: flex; align-items: baseline; gap: 6px; }
.yd-stat__val b { font-size: 28px; font-weight: 600; line-height: 34px; letter-spacing: -0.02em; white-space: nowrap; }
.yd-stat__val span { color: var(--lf-text-secondary); font-size: 15px; line-height: 22px; }
.yd-stat em, .yd-report__stats em { color: var(--lf-text-brand); font-size: 13px; font-style: normal; line-height: 18px; }
.yd-spark { display: block; width: 100%; height: 44px; fill: none; stroke: var(--lf-status-danger); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.yd-conns { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.yd-conns li { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: var(--lf-radius-md); background: var(--lf-bg-subtle); }
.yd-conns li.is-main { background: var(--lf-bg-brand-soft); }
.yd-conns span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yd-conns b { font-size: 14px; font-weight: 500; line-height: 18px; }
.yd-conns small { color: var(--lf-text-secondary); font-size: 13px; line-height: 18px; }
.yd-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--lf-status-success); }
.yd-dot--wait { background: var(--lf-text-tertiary); }
.yd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.yd-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--lf-border-default); border-radius: var(--lf-radius-full); background: var(--lf-bg-surface); font-size: 14px; font-weight: 500; line-height: 18px; }
.yd-swipe { display: none; }

.yd-audit { display: grid; grid-template-columns: minmax(0, 780fr) minmax(0, 476fr); gap: 24px; }
.yd-report { display: flex; flex-direction: column; gap: 20px; padding: 32px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-2xl); background: var(--lf-bg-surface); }
.yd-report__head { display: flex; align-items: center; gap: 12px; }
.yd-report__head > span:not(.yd-badge) { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.yd-report__head b { font-size: 18px; font-weight: 600; line-height: 24px; letter-spacing: -0.01em; }
.yd-report__head small { color: var(--lf-text-tertiary); font-size: 13px; line-height: 18px; }
.yd-wing { flex: none; width: 40px; height: 40px; }
.yd-wing--36 { width: 36px; height: 36px; }
.yd-report__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.yd-report__stats li { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-lg); }
.yd-todo { display: flex; flex-direction: column; gap: 8px; margin-top: -8px; }
.yd-todo li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--lf-radius-lg); background: var(--lf-bg-subtle); font-size: 15px; line-height: 22px; }
.yd-todo li > span:nth-child(2) { flex: 1; min-width: 0; }
.yd-report__foot { display: flex; align-items: center; gap: 12px; }
.yd-report__foot small { flex: 1; color: var(--lf-text-tertiary); font-size: 13px; line-height: 18px; }
.yd-checklist { display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-2xl); background: var(--lf-bg-surface); }
.yd-checklist li { padding: 8px 0; }
.yd-minus { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); align-items: center; gap: 64px; }
.yd-minus__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.yd-minus__text > p { color: var(--lf-text-secondary); font-size: 16px; line-height: 24px; }
.yd-minus__frag { display: flex; flex-direction: column; gap: 12px; padding: 40px; border-radius: var(--lf-radius-2xl); background: var(--lf-tone-rose-bg); }
.yd-queries { overflow: hidden; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-xl); background: var(--lf-bg-surface); }
.yd-queries__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--lf-border-subtle); }
.yd-queries__head b { flex: 1; font-size: 18px; font-weight: 600; line-height: 24px; letter-spacing: -0.01em; }
.yd-queries li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--lf-border-subtle); }
.yd-queries li.is-minus { background: var(--lf-status-danger-soft); }
.yd-queries li > span:nth-child(2) { flex: 1; min-width: 0; font-size: 16px; line-height: 24px; }
.yd-box { position: relative; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--lf-border-default); border-radius: var(--lf-radius-xs); background: var(--lf-bg-surface); }
.is-minus .yd-box { border-color: var(--lf-action-primary); background: var(--lf-action-primary); }
.is-minus .yd-box::after { content: ""; position: absolute; left: 6px; top: 3px; width: 6px; height: 11px; border: solid var(--lf-action-on-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.yd-queries__foot { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--lf-bg-subtle); font-size: 15px; line-height: 22px; }
.yd-queries__foot > span:first-child { flex: 1; }
.yd-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.yd-pane { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--lf-radius-2xl); }
.yd-pane h3 { font-size: 22px; line-height: 28px; letter-spacing: -0.015em; }
.yd-pane > p { color: var(--lf-text-secondary); font-size: 15px; line-height: 22px; }
.yd-pane--dark { background: var(--lf-bg-inverse); color: var(--lf-text-on-inverse); }
.yd-pane--dark > p { color: var(--lf-graphite-400); }
.yd-mini--learn { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.yd-mini__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.yd-mini__row b { flex: 1; font-size: 16px; font-weight: 500; line-height: 20px; }
.yd-mini--learn small { color: var(--lf-text-tertiary); font-size: 13px; line-height: 18px; }
.yd-memory { display: flex; flex-direction: column; gap: 8px; }
.yd-memory li { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--lf-radius-lg); background: var(--lf-alpha-white-12); font-size: 15px; line-height: 22px; }
.yd-memory li > span:nth-child(2) { flex: 1; }

.yd-tabs { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); align-items: center; gap: 32px; }
.yd-tabs__side, .yd-tabs__list { display: flex; flex-direction: column; gap: 8px; }
.yd-tab { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; border: 1px solid transparent; border-radius: var(--lf-radius-xl); background: none; text-align: left; cursor: pointer; transition: background 0.2s ease; }
.yd-tab b { color: var(--lf-text-secondary); font-size: 18px; font-weight: 600; line-height: 24px; letter-spacing: -0.01em; }
.yd-tab span { color: var(--lf-text-tertiary); font-size: 15px; line-height: 22px; }
.yd-tab:hover { background: var(--lf-bg-hover); }
.yd-tab.is-active { border-color: var(--lf-border-subtle); background: var(--lf-bg-surface); }
.yd-tab.is-active b { color: var(--lf-text-primary); }
.yd-tab.is-active span { color: var(--lf-text-secondary); }
.yd-tab:focus-visible { outline: none; box-shadow: var(--lf-focus-ring); }
.yd-tabs__cta { align-self: flex-start; margin: 16px 0 0 24px; }
.yd-tabs__stage { display: grid; padding: 48px; border-radius: var(--lf-radius-2xl); background: var(--lf-tone-lime-bg); }
.yd-panel { grid-area: 1 / 1; min-width: 0; transition: opacity 0.2s ease; }
.yd-tabs.is-ready .yd-panel:not(.is-active) { visibility: hidden; opacity: 0; }
.yd-screen { display: flex; flex-direction: column; gap: 24px; height: 100%; padding: 32px; border-radius: var(--lf-radius-2xl); background: var(--lf-bg-surface); box-shadow: var(--lf-shadow-elevation-2); }
.yd-bubble--q { padding: 12px 18px; border-radius: 18px 18px 6px 18px; font-size: 16px; line-height: 24px; }
.yd-screen__sum { display: flex; flex: 1; flex-direction: column; }
.yd-screen__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 8px 0 16px; }
.yd-screen__big b { font-size: 36px; font-weight: 500; line-height: 40px; letter-spacing: -0.035em; white-space: nowrap; }
.yd-screen__big .is-bad { color: var(--lf-status-danger); }
.yd-screen__big .is-good { color: var(--lf-status-success); }
.yd-screen__big span { color: var(--lf-text-secondary); font-size: 16px; line-height: 24px; }
.yd-screen__th { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 6px; color: var(--lf-text-tertiary); font-size: 13px; line-height: 18px; }
.yd-screen__rows li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--lf-border-subtle); font-size: 16px; line-height: 24px; }
.yd-screen__act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.yd-screen__act small { color: var(--lf-text-tertiary); font-size: 13px; line-height: 18px; }

.yd-pipe { display: flex; justify-content: center; gap: 24px; padding: 36px; border-radius: var(--lf-radius-2xl); background: var(--lf-tone-lilac-bg); }
.yd-pipe li { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; gap: 10px; max-width: 219px; text-align: center; }
.yd-pipe b { font-size: 16px; font-weight: 500; line-height: 20px; }
.yd-pipe small { color: var(--lf-text-tertiary); font-size: 13px; line-height: 18px; }
.yd-pipe__ic { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-full); background: var(--lf-bg-surface); }
.yd-pipe__ic svg { width: 24px; height: 24px; }
.yd-pipe__arrow { position: absolute; top: 18px; left: -22px; width: 20px; height: 20px; color: var(--lf-text-tertiary); }
.yd-aud { display: grid; grid-template-columns: minmax(0, 696fr) minmax(0, 560fr); align-items: start; gap: 24px; }
.yd-aud__main, .yd-aud__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.yd-aud__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.yd-aud__tiles li { padding: 20px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-xl); background: var(--lf-bg-surface); }
.yd-aud__note { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-lg); background: var(--lf-bg-surface); color: var(--lf-text-secondary); font-size: 15px; line-height: 22px; }
.yd-aud__note .lf-icon { width: 18px; height: 18px; color: var(--lf-text-primary); }
.yd-aud__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.yd-aud__frag { padding: 32px; border-radius: var(--lf-radius-2xl); background: var(--lf-bg-subtle); }
.yd-appm { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px; border-radius: var(--lf-radius-lg); background: var(--lf-bg-inverse); color: var(--lf-text-on-inverse); }
.yd-appm img { width: 64px; height: 64px; border-radius: var(--lf-radius-lg); }
.yd-appm h3 { font-size: 22px; line-height: 28px; letter-spacing: -0.015em; }
.yd-appm p { color: var(--lf-graphite-300); font-size: 15px; line-height: 22px; }

.yd-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.yd-step { display: flex; flex-direction: column; gap: 16px; }
.yd-step h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; line-height: 24px; letter-spacing: -0.01em; }
.yd-step h3 .yd-badge { align-self: center; }
.yd-step > p { color: var(--lf-text-secondary); font-size: 15px; line-height: 22px; }
.yd-step__vis { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 168px; padding: 16px; border-radius: var(--lf-radius-2xl); }
.yd-step__vis > small { color: var(--lf-text-secondary); font-size: 13px; line-height: 18px; }
.yd-toast--mini { gap: 10px; width: min(100%, 260px); padding: 10px 12px; border-radius: var(--lf-radius-md); }
.yd-toast--mini .yd-toast__ok { width: 24px; height: 24px; }
.yd-toast--mini .yd-toast__ok .lf-icon { width: 12px; height: 12px; }
.yd-yaid { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-full); background: var(--lf-bg-surface); font-size: 14px; font-weight: 500; line-height: 18px; }
.yd-input { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 10px 10px 14px; border: 1px solid var(--lf-border-subtle); border-radius: var(--lf-radius-xl); background: var(--lf-bg-surface); font-size: 15px; line-height: 22px; }
.yd-input span { flex: 1; text-align: left; }
.yd-input i { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: var(--lf-radius-full); background: var(--lf-bg-inverse); color: var(--lf-text-on-inverse); }
.yd-input .lf-icon { width: 14px; height: 14px; }
.yd-plan { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 10px; border-radius: var(--lf-radius-md); background: var(--lf-bg-surface); font-size: 14px; font-weight: 500; line-height: 18px; }
