/* Final Coach surface contract: editorial answer first, analytics second. */

.coach-page {
    --coach-font-sans: 'Instrument Sans', sans-serif;
    --coach-font-data: 'JetBrains Mono', monospace;
    --coach-type-body: 15px;
    --coach-type-meta: 12px;
    --coach-type-kicker: 12px;
    font-family: var(--coach-font-sans);
    font-size: var(--coach-type-body);
    font-weight: 450;
    line-height: 1.5;
}

/* One type hierarchy: editorial headings, quiet interface copy, mono evidence. */
body.coach-page:not(.coach-page--embed-drawer) .app-page-title {
    font-family: var(--coach-font-sans);
    font-size: 24px;
    font-weight: 680;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

body.coach-page:not(.coach-page--embed-drawer) :is(
    .coach-card-title,
    #insightsCard .coach-card-title,
    #weeklyCard .coach-card-title,
    #patternsCard .coach-card-title,
    #whatifCard .coach-card-title
) {
    font-family: var(--coach-font-sans);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.01em;
    line-height: 1.3;
    text-transform: none;
}

body.coach-page:not(.coach-page--embed-drawer) :is(
    .coach-command-actions-kicker,
    .whatif-label,
    .weekly-stat-label,
    .insight-type,
    .insight-card.is-featured .insight-type,
    .insight-card:not(.is-featured) .insight-type
) {
    font-family: var(--coach-font-sans);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: none;
}

body.coach-page:not(.coach-page--embed-drawer) :is(
    .coach-setup-verdict-name,
    .coach-setup-verdict-why > small,
    .coach-setup-verdict-limit > small,
    .coach-answer-v2-proof small,
    .coach-answer-v2-limit small,
    .coach-evidence-panel-head > span,
    .coach-evidence-panel-limit small,
    .insight-badge,
    .insight-badge.primary
) {
    font-family: var(--coach-font-data);
    font-size: var(--coach-type-kicker);
    font-weight: 650;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-transform: uppercase;
}

body.coach-page:not(.coach-page--embed-drawer) :is(
    .weekly-stat-value,
    .weekly-grade,
    .pattern-row .value,
    .whatif-period,
    .whatif-value,
    .whatif-delta,
    .coach-setup-verdict-metric strong,
    .coach-native-observation strong,
    .coach-answer-v2-proof em,
    .coach-evidence-panel-observations > div > strong
) {
    font-family: var(--coach-font-data);
    font-weight: 600;
    letter-spacing: -0.02em;
}

body.coach-page .coach-native-observation {
    gap: 5px;
}

body.coach-page .coach-native-observation small {
    color: var(--text-secondary);
    font-family: var(--coach-font-sans);
    font-size: 12px;
    font-weight: 520;
    letter-spacing: 0;
    line-height: 1.35;
}

body.coach-page .coach-native-observation strong {
    font-size: 16px;
    font-weight: 650;
    line-height: 1.25;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-setup-verdict-head h3,
body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2-direct {
    font-family: var(--coach-font-sans);
    font-weight: 680;
    letter-spacing: -0.035em;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-setup-verdict-head h3 {
    font-size: clamp(26px, 2vw, 32px);
    line-height: 1.08;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-setup-verdict-head p {
    font-size: 14px;
    line-height: 1.55;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-setup-verdict-metric {
    font-size: 13px;
    font-weight: 500;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-setup-verdict-metric strong {
    font-size: 14px;
}

body.coach-page:not(.coach-page--embed-drawer) :is(
    .coach-setup-verdict-why li,
    .coach-setup-verdict-limit p,
    .coach-answer-v2-explanation,
    .coach-answer-v2-limit,
    .insight-text,
    .weekly-summary,
    .weekly-pattern-line,
    .whatif-punchline
) {
    font-size: 15px;
    font-weight: 450;
    line-height: 1.6;
}

body.coach-page:not(.coach-page--embed-drawer) .insight-card.is-featured .insight-text {
    font-size: 15px;
    line-height: 1.6;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2-scope span {
    font-family: var(--coach-font-sans);
    font-size: 12px;
    font-weight: 550;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: none;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2-proof strong {
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions .coach-command-copy strong {
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions .coach-command-copy span {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-command-actions-note,
body.coach-page:not(.coach-page--embed-drawer) .coach-card-title-meta {
    font-family: var(--coach-font-sans);
    font-size: var(--coach-type-meta);
    font-weight: 450;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

body.coach-page:not(.coach-page--embed-drawer) .pattern-row {
    font-size: 14px;
    font-weight: 450;
    line-height: 1.5;
}

body.coach-page:not(.coach-page--embed-drawer) .pattern-row .value {
    font-size: 12.5px;
}

body.coach-page:not(.coach-page--embed-drawer) .weekly-stat-label,
body.coach-page:not(.coach-page--embed-drawer) .whatif-label {
    font-size: 12px;
}

body.coach-page:not(.coach-page--embed-drawer) .weekly-stat-value {
    font-size: 17px;
}

body.coach-page:not(.coach-page--embed-drawer) .whatif-value {
    font-size: 20px;
    line-height: 1.15;
}

body.coach-page:not(.coach-page--embed-drawer) .whatif-period {
    font-size: 12px;
    line-height: 1.45;
}

body.coach-page:not(.coach-page--embed-drawer) .whatif-delta {
    font-size: 13px;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-evidence-panel-head > strong {
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-evidence-panel-scope > span {
    font-family: var(--coach-font-sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-evidence-panel-observations > div > span,
body.coach-page:not(.coach-page--embed-drawer) .coach-evidence-panel-observations > div.is-empty,
body.coach-page:not(.coach-page--embed-drawer) .coach-evidence-panel-limit span {
    font-size: 13px;
    font-weight: 450;
    line-height: 1.5;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-evidence-panel-observations > div > strong {
    font-size: 12px;
}

body.coach-page:not(.coach-page--embed-drawer) :is(.chat-input, .chat-msg-bubble) {
    font-family: var(--coach-font-sans);
    font-size: 15px;
    font-weight: 450;
    line-height: 1.5;
}

body.coach-page:not(.coach-page--embed-drawer) .chat-tool-btn--label {
    font-size: 13px;
    font-weight: 600;
}

body.coach-page:not(.coach-page--embed-drawer) .chat-remaining {
    font-size: 12px;
    line-height: 1.25;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
    gap: 30px;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-main {
    gap: 30px;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.065);
}

body.coach-page:not(.coach-page--embed-drawer) #chatCard {
    border-color: rgba(255, 255, 255, 0.065);
    border-radius: 12px;
    background: #0b0c0c;
}

:is(html.dark, html[data-theme='dark']) body.coach-page--demo:not(.coach-page--embed-drawer) #chatCard {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 12px 32px rgba(0, 0, 0, 0.16);
}

body.coach-page--demo:not(.coach-page--embed-drawer) .chat-msg--demo-sample .chat-msg-meta--coach {
    color: rgba(143, 241, 205, 0.82);
}

body.coach-page:not(.coach-page--embed-drawer) #chatCard .chat-messages {
    height: clamp(310px, 40vh, 500px);
    min-height: 310px;
    max-height: 500px;
    padding: 30px 30px 22px;
}

body.coach-page:not(.coach-page--embed-drawer) #chatCard.has-native-response .chat-messages {
    height: auto;
    min-height: 0;
    max-height: 680px;
}

body.coach-page:not(.coach-page--embed-drawer) .chat-messages:empty {
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

body.coach-page:not(.coach-page--embed-drawer) .chat-messages:empty::before {
    content: 'What should change next?';
    max-width: 680px;
    padding: 0;
    color: rgba(248, 250, 252, 0.91);
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 680;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

body.coach-page:not(.coach-page--embed-drawer) .chat-messages:empty::after {
    content: 'Ask about permission, risk, a repeated leak, or the next rule to test.';
    display: block;
    max-width: 52ch;
    color: rgba(226, 232, 240, 0.50);
    font-size: 14px;
    line-height: 1.5;
}

body.coach-page:not(.coach-page--embed-drawer) .chat-msg.assistant {
    max-width: min(100%, 900px);
}

body.coach-page:not(.coach-page--embed-drawer) .chat-msg.assistant .chat-msg-bubble {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.coach-page:not(.coach-page--embed-drawer) .chat-msg.user .chat-msg-bubble {
    padding: 11px 14px;
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border-bottom-right-radius: 4px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(245, 247, 249, 0.90);
    box-shadow: none;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2 {
    gap: 18px;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2-direct {
    max-width: 42ch;
    font-size: clamp(20px, 1.45vw, 26px);
    font-weight: 680;
    letter-spacing: -0.03em;
    line-height: 1.18;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2-scope span {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(226, 232, 240, 0.52);
}

body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2-scope span:not(:last-child)::after {
    content: '\00b7';
    margin-left: 7px;
    color: rgba(226, 232, 240, 0.24);
}

body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2-evidence {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 0;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2-proof {
    padding: 14px 16px;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2-proof:first-child {
    padding-left: 0;
}

@media (max-width: 520px) {
    body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2-proof {
        padding-left: 0;
    }
}

body.coach-page:not(.coach-page--embed-drawer) .coach-thinking-panel {
    width: min(100%, 720px);
    padding: 11px 0 11px 16px;
    border: 0;
    border-left: 2px solid rgba(91, 196, 176, 0.34);
    border-radius: 0;
    background: transparent;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-thinking-panel-head {
    margin-bottom: 10px;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions {
    padding: 15px 22px 18px;
    background: transparent;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions .coach-command-actions-kicker {
    color: rgba(226, 232, 240, 0.48);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions .coach-command-btn {
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    background: transparent;
    color: rgba(226, 232, 240, 0.72);
    box-shadow: none;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions .coach-command-btn:is(:hover, :focus-visible) {
    border-color: rgba(91, 196, 176, 0.34);
    background: rgba(77, 171, 154, 0.04);
    color: rgba(248, 250, 252, 0.90);
}

body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions .coach-command-icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    color: currentColor;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions .coach-command-icon :is(i, svg) {
    width: 15px;
    height: 15px;
    stroke-width: 1.9;
}

body.coach-page:not(.coach-page--embed-drawer) #insightsCard,
body.coach-page:not(.coach-page--embed-drawer) #weeklyCard {
    padding: 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 0;
    background: transparent;
}

body.coach-page:not(.coach-page--embed-drawer) #insightsCard .coach-card-title,
body.coach-page:not(.coach-page--embed-drawer) #weeklyCard .coach-card-title {
    min-height: 0;
    padding: 17px 0 14px;
    border: 0;
    color: rgba(245, 247, 249, 0.78);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.01em;
    text-transform: none;
}

body.coach-page:not(.coach-page--embed-drawer) #insightsCard .insight-card {
    padding-inline: 0;
}

body.coach-page:not(.coach-page--embed-drawer) #weeklyCard .weekly-nav {
    padding: 0 0 14px;
}

body.coach-page:not(.coach-page--embed-drawer) #weeklyContent {
    padding: 0;
}

body.coach-page:not(.coach-page--embed-drawer) #coachEvidencePanel {
    margin-bottom: 26px;
    border-color: rgba(255, 255, 255, 0.075);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.018);
}

body.coach-page:not(.coach-page--embed-drawer) #patternsCard,
body.coach-page:not(.coach-page--embed-drawer) #whatifCard {
    padding: 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 0;
    background: transparent;
}

body.coach-page:not(.coach-page--embed-drawer) #whatifCard {
    margin-top: 24px;
}

body.coach-page:not(.coach-page--embed-drawer) #patternsCard .coach-card-title,
body.coach-page:not(.coach-page--embed-drawer) #whatifCard .coach-card-title {
    min-height: 0;
    padding: 17px 0 13px;
    border: 0;
    color: rgba(245, 247, 249, 0.68);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
}

body.coach-page:not(.coach-page--embed-drawer) #patternsCard .pattern-card,
body.coach-page:not(.coach-page--embed-drawer) #whatifContent {
    padding-inline: 0;
}

body.coach-page:not(.coach-page--embed-drawer) .pattern-title,
body.coach-page:not(.coach-page--embed-drawer) .pattern-subtitle {
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: none;
}

body.coach-page:not(.coach-page--embed-drawer) :is(.insight-text, .weekly-summary, .weekly-pattern-line, .coach-panel-empty span, .pattern-row .label, .whatif-punchline) {
    color: rgba(226, 232, 240, 0.64);
}

body.coach-page:not(.coach-page--embed-drawer) .coach-panel-empty span {
    font-size: 14px;
    line-height: 1.55;
}

body.coach-page:not(.coach-page--embed-drawer) .coach-evidence-panel-link {
    font-size: 13px;
}

:is(html.light, html[data-theme='light']) body.coach-page:not(.coach-page--embed-drawer) .coach-sidebar {
    border-left-color: rgba(15, 23, 42, 0.10);
}

:is(html.light, html[data-theme='light']) body.coach-page:not(.coach-page--embed-drawer) #chatCard {
    border-color: rgba(15, 23, 42, 0.11);
    background: #ffffff;
}

:is(html.light, html[data-theme='light']) body.coach-page--demo:not(.coach-page--embed-drawer) #chatCard {
    border-color: rgba(15, 23, 42, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 10px 30px rgba(15, 23, 42, 0.055);
}

:is(html.light, html[data-theme='light']) body.coach-page--demo:not(.coach-page--embed-drawer) .chat-msg--demo-sample .chat-msg-meta--coach {
    color: #0f766e;
}

:is(html.light, html[data-theme='light']) body.coach-page:not(.coach-page--embed-drawer) .chat-messages:empty::before {
    color: #111827;
}

:is(html.light, html[data-theme='light']) body.coach-page:not(.coach-page--embed-drawer) .chat-messages:empty::after {
    color: #64748b;
}

:is(html.light, html[data-theme='light']) body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2-scope span {
    color: #475569;
}

:is(html.light, html[data-theme='light']) body.coach-page:not(.coach-page--embed-drawer) .coach-answer-v2-scope span:not(:last-child)::after {
    color: #94a3b8;
}

:is(html.light, html[data-theme='light']) body.coach-page:not(.coach-page--embed-drawer) .chat-msg.user .chat-msg-bubble {
    border-color: rgba(15, 23, 42, 0.10);
    background: #f3f5f6;
    color: #1f2937;
}

:is(html.light, html[data-theme='light']) body.coach-page:not(.coach-page--embed-drawer) :is(#insightsCard, #weeklyCard, #patternsCard, #whatifCard) {
    border-top-color: rgba(15, 23, 42, 0.10);
}

:is(html.light, html[data-theme='light']) body.coach-page:not(.coach-page--embed-drawer) #coachEvidencePanel {
    border-color: rgba(15, 23, 42, 0.11);
    background: #f8fafc;
}

:is(html.light, html[data-theme='light']) body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions .coach-command-btn {
    border-color: rgba(15, 23, 42, 0.105);
    color: #475569;
}

:is(html.light, html[data-theme='light']) body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions .coach-command-btn:is(:hover, :focus-visible) {
    border-color: rgba(15, 118, 110, 0.30);
    background: rgba(15, 118, 110, 0.045);
    color: #17201f;
}

/* The contextual workspace is a focused answer, not the full review library. */
.coach-page--embed-drawer :is(.chat-input, .chat-msg-bubble) {
    font-family: var(--coach-font-sans);
    font-size: 14px;
    font-weight: 450;
    line-height: 1.5;
}

.coach-page--embed-drawer :is(.coach-thinking-panel-title, .app-gate--coach-access h2) {
    font-family: var(--coach-font-sans);
    font-weight: 650;
    letter-spacing: -0.02em;
}

.coach-page--embed-drawer .app-gate--coach-access h2 {
    font-size: 20px;
    line-height: 1.2;
}

.coach-page--embed-drawer .app-gate--coach-access .app-gate__detail {
    font-size: 13.5px;
    font-weight: 450;
    line-height: 1.5;
}

.coach-page--embed-drawer .app-gate--coach-access .app-gate__eyebrow,
.coach-page--embed-drawer :is(.coach-answer-v2-proof small, .coach-answer-v2-limit small) {
    font-family: var(--coach-font-data);
    font-size: var(--coach-type-kicker);
    font-weight: 650;
    letter-spacing: 0.08em;
}

.coach-page--embed-drawer .app-gate--coach-access .app-action-btn {
    font-family: var(--coach-font-sans);
    font-size: 14px;
    font-weight: 600;
}

.coach-page--embed-drawer .chat-messages {
    gap: 26px;
    padding: 28px 34px 24px;
}

.coach-page--embed-drawer .chat-msg.user {
    max-width: min(64%, 620px);
}

.coach-page--embed-drawer .chat-msg.user .chat-msg-bubble {
    padding: 11px 14px;
    border-color: rgba(255, 255, 255, 0.085);
    border-radius: 10px;
    border-bottom-right-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(245, 247, 249, 0.92);
}

.coach-page--embed-drawer .coach-thinking-panel {
    width: min(100%, 640px);
    padding: 12px 0 12px 16px;
    border: 0;
    border-left: 2px solid rgba(91, 196, 176, 0.38);
    border-radius: 0;
    background: transparent;
}

.coach-page--embed-drawer .chat-input-row {
    padding: 12px 18px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #080909;
}

.coach-page--embed-drawer .chat-composer {
    min-height: 82px;
    padding: 11px 13px 9px;
    border-color: rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    background: #0d0e0e;
}

.coach-page--embed-drawer .chat-composer:hover,
.coach-page--embed-drawer .chat-composer:focus-within {
    border-color: rgba(91, 196, 176, 0.36);
    background: #0d0e0e;
}

.coach-page--embed-drawer .chat-composer .chat-input {
    min-height: 30px;
    max-height: 96px;
    padding-block: 3px;
    font-size: 15px;
}

.coach-page--embed-drawer #chatToolsBtn {
    display: none;
}

:is(html.light, html[data-theme='light']) .coach-page--embed-drawer .chat-msg.user .chat-msg-bubble {
    border-color: rgba(15, 23, 42, 0.10);
    background: #f3f5f6;
    color: #1f2937;
}

:is(html.light, html[data-theme='light']) .coach-page--embed-drawer .chat-input-row {
    border-top-color: rgba(15, 23, 42, 0.09);
    background: #ffffff;
}

:is(html.light, html[data-theme='light']) .coach-page--embed-drawer .chat-composer,
:is(html.light, html[data-theme='light']) .coach-page--embed-drawer .chat-composer:hover,
:is(html.light, html[data-theme='light']) .coach-page--embed-drawer .chat-composer:focus-within {
    border-color: rgba(15, 23, 42, 0.12);
    background: #f8fafc;
}

@media (max-width: 1180px) {
    body.coach-page:not(.coach-page--embed-drawer) .coach-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.coach-page:not(.coach-page--embed-drawer) .coach-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        padding: 24px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        border-left: 0;
    }

    body.coach-page:not(.coach-page--embed-drawer) #coachEvidencePanel,
    body.coach-page:not(.coach-page--embed-drawer) #patternsCard,
    body.coach-page:not(.coach-page--embed-drawer) #whatifCard {
        margin: 0;
    }

    body.coach-page:not(.coach-page--embed-drawer) #patternsCard {
        grid-row: span 2;
    }
}

@media (max-width: 1500px) and (min-width: 721px) {
    body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body.coach-page:not(.coach-page--embed-drawer) #chatCard .chat-messages {
        height: clamp(280px, 44dvh, 460px);
        min-height: 280px;
        max-height: 460px;
        padding: 24px 18px 18px;
    }

    body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions,
    body.coach-page:not(.coach-page--embed-drawer) .coach-sidebar {
        grid-template-columns: 1fr;
    }

    body.coach-page:not(.coach-page--embed-drawer) .coach-context-suggestions .coach-command-btn {
        padding-block: 8px;
    }

    .coach-page--embed-drawer .chat-messages {
        padding: 20px 16px 22px;
    }

    .coach-page--embed-drawer .chat-msg.user {
        max-width: 88%;
    }
}
