/* Reading-first shared response language. Product chrome and business controls stay intact. */
.coach-answer{--ca-ink:#28313c;--ca-red:#d33f35;--ca-muted:#707987;--ca-line:#e7eaee;color:var(--ca-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-size:16px;line-height:1.85;overflow-wrap:anywhere;min-width:0;max-width:100%}
.coach-answer> :first-child{margin-top:0}.coach-answer p{margin:12px 0}.coach-answer strong{color:#19222d;font-weight:680}
.coach-answer h1{font-size:27px;line-height:1.45;letter-spacing:-.035em;margin:12px 0 20px;font-weight:750}
.coach-answer h2{font-size:21px;line-height:1.5;margin:30px 0 13px;letter-spacing:-.02em;font-weight:700}
.coach-answer h3{font-size:18px;line-height:1.6;margin:24px 0 10px;font-weight:680}
.coach-answer h4,.coach-answer h5,.coach-answer h6{font-size:16px;line-height:1.65;margin:20px 0 9px;font-weight:680}
.coach-answer .ca-numbered{display:flex;align-items:baseline;gap:12px}.coach-answer .ca-numbered::before{content:attr(data-section);color:var(--ca-red);font-size:1.22em;font-weight:600;letter-spacing:-.05em;flex:none;font-variant-numeric:tabular-nums}
.coach-answer ul,.coach-answer ol{padding-left:24px;margin:12px 0}.coach-answer li{padding-left:3px;margin:8px 0}.coach-answer li::marker{color:var(--ca-muted)}
.coach-answer mark{background:#fff0bd;color:#2d2d29;padding:1px 3px;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.coach-answer blockquote{margin:18px 0;padding:14px 18px 10px;border-left:3px solid var(--ca-red);border-radius:0 10px 10px 0;background:#fff5f3;color:var(--ca-ink);min-width:0}
.coach-answer blockquote p:first-child{margin-top:0}.coach-answer blockquote p:last-child{margin-bottom:0}
.coach-answer .ca-callout{background:#f5f7f9;border-left-color:#a5afbb;padding-bottom:12px}.coach-answer .ca-warning{background:#fff8e9;border-left-color:#d9a846}
.coach-answer .ca-callout-label{font-size:13px;font-weight:650;margin-bottom:5px;color:#5b6675}.coach-answer .ca-warning .ca-callout-label{color:#77531b}
.coach-answer .ca-callout>p{margin-top:4px}
.coach-answer .ca-actions,.coach-answer .quote-actions,.coach-answer .live-md-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin-top:9px;padding:0;border:0}
.coach-answer .ca-actions button,.coach-answer .quote-actions button,.coach-answer .live-md-actions button{font:inherit;font-size:13px;line-height:1.4;min-height:36px;border:0;border-radius:8px;padding:7px 9px;background:transparent;color:#835047;cursor:pointer;box-shadow:none}
.coach-answer :is(.ca-actions,.quote-actions,.live-md-actions) button:hover{background:#f8e9e5;color:#9e352d}
.coach-answer details{border-top:1px solid var(--ca-line);border-bottom:1px solid var(--ca-line);padding:0 1px;margin:20px 0;background:transparent}
.coach-answer summary{font-size:14px;color:#5b6675;padding:12px 0;cursor:pointer;min-height:44px}.coach-answer details[open]>summary{margin-bottom:5px}.coach-answer details> :last-child{margin-bottom:16px}
.coach-answer .ca-table-wrap,.coach-answer .tablewrap,.coach-answer .live-md-table{max-width:100%;overflow-x:auto;margin:18px 0;border:1px solid var(--ca-line);border-radius:10px;background:#fff}
.coach-answer table{border-collapse:collapse;width:100%;max-width:100%;font-size:14px;line-height:1.65;margin:0;border:0;table-layout:auto}
.coach-answer th,.coach-answer td{border:0;border-bottom:1px solid var(--ca-line);padding:11px 14px;vertical-align:top;text-align:left;min-width:75px;white-space:normal;word-break:normal;overflow-wrap:anywhere}
.coach-answer th{background:#f5f6f8;font-weight:600;color:#46515e}.coach-answer tr:last-child td{border-bottom:0}
.coach-answer pre{font-size:13px;line-height:1.7;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f6f8;color:#344054;padding:14px;border-radius:10px}.coach-answer :not(pre)>code{font-size:.9em;background:#f1f3f5;padding:2px 5px;border-radius:4px;color:#57525c}
.coach-answer hr{border:0;border-top:1px solid var(--ca-line);margin:25px 0}.coach-answer a{color:#a53c31;text-decoration-thickness:1px;text-underline-offset:3px}
.coach-answer .ca-image{display:block;width:auto;max-width:100%;height:auto;max-height:620px;border-radius:10px;object-fit:contain;margin:16px 0}
.coach-answer .ca-task-item{list-style:none;position:relative;padding-left:26px;margin-left:-24px}.coach-answer .ca-task-check{position:absolute;left:0;top:.4em;width:18px;height:18px;margin:0;accent-color:var(--ca-red);cursor:pointer}.coach-answer .ca-task-check:disabled{cursor:wait}
.coach-answer .ca-task-done{color:var(--ca-muted)}.coach-answer .ca-sync-status{font-size:12px;color:var(--ca-muted);margin-top:12px;line-height:1.6}
.coach-answer .ca-task-label{display:flex;align-items:flex-start;gap:10px;min-height:36px;cursor:pointer}.coach-answer .ca-task-label>.ca-task-check{position:static;flex:none;margin-top:.4em}.coach-answer .ca-task-item:has(>.ca-task-label){padding-left:0}.coach-answer .ca-task-label p{margin:0}
.ca-copy-buffer{position:fixed;left:-10000px;top:0;width:1px;height:1px}
/* The selected editorial direction replaces the old all-answer card, not the app shell. */
#chat .msg.agent .body:has(>.coach-answer){background:transparent;border:0;border-radius:0;box-shadow:none;padding:8px 8px 14px;min-width:0;max-width:100%}
#chat .msg.agent .coach-answer.md{font-size:16px;line-height:1.85;max-width:76ch}
#chat .msg.agent .coach-answer.md h1{font-size:27px;line-height:1.45;margin:12px 0 20px}#chat .msg.agent .coach-answer.md h2{font-size:21px;line-height:1.5;margin:30px 0 13px}#chat .msg.agent .coach-answer.md h3{font-size:18px;margin:24px 0 10px}
#chat .msg.agent .coach-answer.md p{font-size:inherit;line-height:inherit;margin:12px 0}#chat .msg.agent .coach-answer.md li{font-size:inherit;line-height:inherit;margin:8px 0}#chat .msg.agent .coach-answer.md blockquote{background:#fff5f3;border-left:3px solid var(--ca-red);padding:14px 18px 10px}#chat .msg.agent .coach-answer.md .ca-callout{background:#f5f7f9;border-left-color:#a5afbb}#chat .msg.agent .coach-answer.md .ca-warning{background:#fff8e9;border-left-color:#d9a846}
#chat .msg.agent .name{border-bottom:0;padding-bottom:0;margin-bottom:14px}#chat .answer-actions{border-top:0;flex-wrap:wrap;gap:8px}#chat .answer-actions .minibtn,#chat .user-message-actions .minibtn{min-height:36px;border-radius:8px}
#chat .gen-files{margin:22px 0 10px;padding-top:15px;border-top:1px solid #e7eaee}#chat .gen-file{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #e7eaee;border-radius:11px;background:#f8f9fb;margin-bottom:8px}#chat .gen-file-info{flex:1;min-width:0}#chat .gen-file-name{white-space:normal;overflow-wrap:anywhere;text-align:left;font-size:14px;font-weight:600}#chat .gen-file-info small{display:block;color:#77808d;font-size:12px;line-height:1.5;margin-top:4px}#chat .gen-file-dl{flex:none;min-height:36px;padding:8px 10px;border:1px solid #dce1e7;border-radius:8px;background:#fff;color:#515c6a}
.live-markdown:has(>.coach-answer){font-size:16px;line-height:1.85}
.answer-body>.coach-answer{font-size:calc(16px * var(--coach-text-scale,1));line-height:1.85}
.answer-body>.coach-answer p,.answer-body>.coach-answer li{font-size:inherit;line-height:inherit}
.answer-body>.coach-answer h1{font-size:calc(27px * var(--coach-text-scale,1));line-height:1.45;margin:12px 0 20px}.answer-body>.coach-answer h2{font-size:calc(21px * var(--coach-text-scale,1));line-height:1.5;margin:30px 0 13px}.answer-body>.coach-answer h3{font-size:calc(18px * var(--coach-text-scale,1));line-height:1.6;margin:24px 0 10px}
.answer-body>.coach-answer .live-md-quote{border-left:3px solid var(--ca-red);background:#fff5f3;padding:14px 18px 10px;margin:18px 0;font-size:inherit;line-height:inherit}.answer-body>.coach-answer .ca-callout{background:#f5f7f9;border-left-color:#a5afbb}.answer-body>.coach-answer .ca-warning{background:#fff8e9;border-left-color:#d9a846}.answer-body>.coach-answer .ca-callout>p{margin-top:4px}
.answer-body>.coach-answer .live-md-table{margin:18px 0}.answer-body>.coach-answer .live-md-table table{width:100%;max-width:100%;min-width:100%;font-size:14px;line-height:1.65}.answer-body>.coach-answer .live-md-table th{white-space:normal}
.answer-body>.coach-answer .ca-task-item{display:list-item;list-style:none;position:relative;padding-left:26px;margin-left:-24px}
@media(max-width:700px){
 .coach-answer{font-size:16px;line-height:1.85}.coach-answer h1,#chat .msg.agent .coach-answer.md h1{font-size:25px;line-height:1.5;margin-bottom:17px}.coach-answer h2,#chat .msg.agent .coach-answer.md h2{font-size:20px;margin-top:26px}.coach-answer h3,#chat .msg.agent .coach-answer.md h3{font-size:18px}
 .answer-body>.coach-answer h1{font-size:calc(25px * var(--coach-text-scale,1));line-height:1.5;margin-bottom:17px}.answer-body>.coach-answer h2{font-size:calc(20px * var(--coach-text-scale,1));margin-top:26px}.answer-body>.coach-answer .ca-task-item{padding-left:32px}
 .coach-answer .ca-task-label{min-height:44px;padding-block:4px}.answer-body>.coach-answer .ca-task-item:has(>.ca-task-label),.coach-answer .ca-task-item:has(>.ca-task-label){padding-left:0}
 .coach-answer .ca-numbered{gap:9px}.coach-answer blockquote,#chat .msg.agent .coach-answer.md blockquote{padding:13px 14px 8px}
 .coach-answer :is(.ca-actions,.quote-actions,.live-md-actions) button{min-height:44px;padding:9px 10px}.coach-answer .ca-image{max-height:none}
 #chat .msg.agent .body:has(>.coach-answer){padding:5px 0 12px}#chat .msg.agent .coach-answer.md{font-size:16px}#chat .msg.agent{gap:9px;padding-inline:13px}#chat .answer-actions .minibtn,#chat .user-message-actions .minibtn{min-height:44px}
 .coach-answer .ca-table-stack,.coach-answer .ca-table-stack tbody,.coach-answer .ca-table-stack tr,.coach-answer .ca-table-stack td{display:block;width:100%}
 .answer-body>.coach-answer .live-md-table .ca-table-stack{width:100%;min-width:0}
 .coach-answer .ca-table-stack thead{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}
 .coach-answer .ca-table-stack td{display:grid;grid-template-columns:minmax(65px,26%) minmax(0,1fr);gap:12px;padding:9px 12px;min-width:0;border-bottom:0}
 .coach-answer .ca-table-stack td::before{content:attr(data-label);color:var(--ca-muted);font-size:12px;line-height:1.8;overflow-wrap:anywhere}
 .coach-answer .ca-table-stack tr{padding:7px 0;border-bottom:1px solid var(--ca-line)}.coach-answer .ca-table-stack tr:last-child{border-bottom:0}
 .coach-answer .ca-task-item{padding-left:32px}.coach-answer .ca-task-check{width:22px;height:22px;top:.2em}.coach-answer .ca-task-item:has(.ca-task-check)::before{content:'';position:absolute;left:-8px;top:-5px;width:40px;height:40px;pointer-events:none}
 #chat .gen-file{padding:11px;gap:8px}#chat .gen-file-dl{min-height:44px;padding:11px 8px}
}
@media(prefers-reduced-motion:reduce){.coach-answer *{scroll-behavior:auto!important}}
