.coach-open{border:2px solid var(--mint-edge);background:var(--mint);width:100%;color:var(--leaf-deep);justify-content:center;align-items:center;gap:8px;display:inline-flex}.coach{border:2px solid var(--mint-edge);background:var(--paper);border-radius:20px;gap:10px;padding:12px;display:grid}.coach-head{font-family:var(--font-display);align-items:center;gap:10px;font-size:18px;display:flex}.coach-head b{flex:1}.coach-x{width:40px;height:40px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:12px;place-items:center;display:grid}.coach-x:focus-visible{outline:3px solid var(--leaf)}.coach-log{gap:8px;max-height:340px;display:grid;overflow-y:auto}.coach-msg{white-space:pre-wrap;border-radius:16px;max-width:88%;margin:0;padding:10px 12px;line-height:1.45}.coach-msg[data-role=assistant]{background:var(--mint);border-bottom-left-radius:4px;justify-self:start}.coach-msg[data-role=user]{background:var(--leaf-deep);color:var(--paper);border-bottom-right-radius:4px;justify-self:end}.coach-msg code{background:var(--paper);white-space:nowrap;border-radius:6px;padding:1px 5px;font-weight:700}.coach-wait{color:var(--ink-2);font-style:italic}.coach-problem{background:var(--sun-wash);color:var(--sun-ink);border-radius:16px;gap:8px;margin:0;padding:10px 12px;font-weight:700;display:grid}.coach-chips{flex-wrap:wrap;gap:8px;display:flex}.coach-chip{border:2px solid var(--mint-edge);background:var(--paper);color:var(--leaf-deep);font:inherit;cursor:pointer;border-radius:999px;padding:8px 12px;font-weight:700}.coach-chip:focus-visible{outline:3px solid var(--leaf)}.coach-form{gap:8px;display:flex}.coach-form input{border:2px solid var(--line);min-width:0;font:inherit;border-radius:14px;flex:1;padding:10px 12px;font-size:16px}.coach-form input:focus-visible{border-color:var(--leaf);outline:none}.coach-send{flex:none;padding-inline:14px}.coach-note{color:var(--ink-3);margin:0;font-size:13px}
