.elt-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin:1rem 0; }
.elt-grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.elt-grid .card { min-width:0; }
.elt-grid h2 { font-size:1.2rem; }
.elt-grid h3 { margin:.35rem 0 .7rem; }
.elt-row { display:flex; gap:1rem; justify-content:space-between; align-items:center; padding:.8rem 0; border-bottom:1px solid #e5e5e5; }
.card.elt-row { padding:1rem 1.2rem; margin:.75rem 0; }
.elt-row p { margin:.3rem 0; }
.elt-row > a { flex-shrink:0; }
.coach-hero { display:flex; justify-content:space-between; align-items:center; gap:2rem; padding:1.5rem; border:1px solid #edd99c; border-left:5px solid #ffbc0d; border-radius:16px; background:#fffaf0; margin:1rem 0; }
.coach-hero h2 { font-size:1.6rem; margin:.5rem 0; }
.coach-hero > a { flex-shrink:0; }
.module-link { display:block; text-decoration:none; border-top:3px solid #ffbc0d; }
.module-link:hover { box-shadow:0 4px 16px #0000000c; }
.module-link p { color:#565656; }
.metric-note { border-left:3px solid #ffbc0d; padding:.8rem 1rem; background:#fff; margin:1rem 0; }
.conversation { max-width:850px; margin:1.5rem auto; }
.chat-turn { background:white; padding:1rem 1.25rem; border:1px solid #dedede; border-radius:14px; margin:1rem 0 1rem 2rem; }
.chat-turn.coach-turn { background:#fff9e7; margin-left:0; margin-right:2rem; border-color:#ecdfa9; }
.chat-turn p { white-space:normal; margin:.5rem 0 0; }
.coach-step { border:1px solid #ddd; padding:1rem; border-radius:12px; margin:1rem 0; }
.coach-step legend { font-weight:700; padding:0 .4rem; }
.notice p { margin:.35rem 0; }
.elt-grid .card p, .elt-row, .chat-turn { overflow-wrap:anywhere; }
@media(max-width:1000px) { .elt-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .coach-hero { flex-direction:column; align-items:flex-start; gap:1rem; } }
@media(max-width:600px) { .elt-grid,.elt-grid.two { grid-template-columns:1fr; gap:.7rem; } .coach-hero { padding:1rem; } .coach-hero h2 { font-size:1.3rem; } .coach-hero >a { width:100%; } .chat-turn,.chat-turn.coach-turn { margin-left:0; margin-right:0; } .elt-row { align-items:flex-start; } .elt-row .button { padding:.6rem; } }

.plan-editor-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.25rem 1.2rem; }
.plan-editor-fields .form-field:has(textarea), .plan-editor-fields .form-field:has(#id_title) { grid-column:1 / -1; }
@media(max-width:600px) { .plan-editor-fields { grid-template-columns:1fr; } }
.performance-chart {display:block;width:100%;height:auto;margin:20px 0 12px;}
.performance-chart text {font:12px -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;fill:#4d5866;}
.trend-summary {font-size:15px;line-height:1.7;}
.metric-question {padding:12px 15px;border-left:2px solid #ffd23f;background:#fafbfc;border-radius:0 8px 8px 0;}
.metric-results {width:100%;border-collapse:collapse;}
.metric-results th,.metric-results td {padding:12px 10px;text-align:left;border-bottom:1px solid #e7e9ed;font-size:12px;}
.metric-results caption {text-align:left;font-size:12px;color:#606773;padding:8px 10px;}
.attention-summary>div {display:flex;flex-direction:column;gap:5px;padding:17px 22px;background:white;min-width:0;}
@media(max-width:600px) {.attention-summary>div {padding:14px 12px;}.attention-summary>div strong {font-size:25px;}.attention-summary>div span {font-size:10px;}}
.plan-editor-fields .form-field:has(#id_include_demo_history) {grid-column:1 / -1;padding:14px;border:1px solid #e8e2cf;border-radius:10px;background:#fffdf5;}
