/* V6 Phase 5 — Capture + Coach. Presentation only; writes remain explicit RPC actions. */
.capture-v6,.coach-v6{display:grid;gap:14px;min-width:0}
.capture-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.capture-action{min-width:0;text-align:left;border:1px solid var(--border);border-radius:18px;background:#fff;padding:16px;box-shadow:var(--shadow);color:var(--text);display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:start}
.capture-action:hover{border-color:#b9d3ee;background:#fbfdff}.capture-action.active{border-color:#9bc7ef;background:linear-gradient(135deg,var(--blue-soft),#fff 72%);box-shadow:0 10px 28px rgba(11,107,203,.10)}
.capture-action-icon{width:42px;height:42px;border-radius:13px;background:#eef4fb;color:var(--blue);display:grid;place-items:center}.capture-action-icon svg{width:20px;height:20px}
.capture-action strong{display:block;font-size:15px;letter-spacing:-.01em}.capture-action small{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.45}
.capture-editor{padding:18px;min-width:0}.capture-editor-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px}.capture-editor-head h2{margin:5px 0 0;font-size:21px;letter-spacing:-.025em}.capture-editor-head p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.45;max-width:700px}
.v6-form{display:grid;gap:14px}.v6-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v6-form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.v6-form label{display:grid;gap:6px;color:#40516a;font-size:11px;font-weight:800}.v6-form input,.v6-form select,.v6-form textarea{width:100%;min-width:0;border:1px solid #cfd9e6;border-radius:11px;background:#fff;color:var(--text);padding:10px 11px;font-size:14px;outline:none}.v6-form input,.v6-form select{min-height:43px}.v6-form textarea{min-height:92px;resize:vertical;line-height:1.45}.v6-form input:focus,.v6-form select:focus,.v6-form textarea:focus{border-color:#8dbce9;box-shadow:0 0 0 3px rgba(11,107,203,.10)}
.v6-form small.form-help{color:var(--muted);font-weight:500;line-height:1.35}.v6-form .form-wide{grid-column:1/-1}.v6-form-actions{display:flex;gap:9px;justify-content:flex-end;align-items:center;flex-wrap:wrap;padding-top:2px}.secondary-btn{border:1px solid var(--border);background:#fff;color:#31435b;border-radius:11px;padding:10px 13px;font-weight:750}.danger-btn{border:1px solid #ebc5c5;background:#fff8f8;color:var(--red);border-radius:10px;padding:8px 10px;font-weight:800;font-size:11px}.primary-btn:disabled,.secondary-btn:disabled,.danger-btn:disabled{opacity:.55;cursor:default}
.inline-details{border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;padding:10px 12px}.inline-details summary{cursor:pointer;color:#40516a;font-size:12px;font-weight:800}.inline-details[open] summary{margin-bottom:10px}
.capture-existing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.compact-panel{padding:16px;min-width:0}.compact-panel h3{margin:5px 0 10px;font-size:16px}.compact-list{display:grid;gap:0}.compact-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f5;align-items:start}.compact-list-row:last-child{border-bottom:0}.compact-list-row strong{display:block;font-size:12px}.compact-list-row small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.4}.compact-list-row .row-actions{display:flex;align-items:center;gap:6px}.empty-compact{color:var(--muted);font-size:12px;line-height:1.45;margin:0}
.coach-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.coach-summary-card{padding:15px}.coach-summary-card span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.065em;font-weight:800}.coach-summary-card strong{display:block;margin-top:5px;font-size:25px;font-variant-numeric:tabular-nums}.coach-summary-card small{display:block;margin-top:3px;color:var(--muted);font-size:10px}
.coach-create{padding:18px}.coach-create h2{margin:5px 0 5px;font-size:21px}.coach-create>p{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.5}.coach-create-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.coach-create-button{border:1px solid var(--border);background:#fff;border-radius:15px;padding:14px;text-align:left;color:var(--text);min-height:112px;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.coach-create-button:hover{border-color:#a9ccec;background:#fbfdff}.coach-create-button svg{width:19px;height:19px;color:var(--blue)}.coach-create-button strong{font-size:13px}.coach-create-button small{color:var(--muted);font-size:10px;line-height:1.4}.coach-note{margin-top:12px}.coach-note textarea{min-height:70px}
.coach-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:12px;align-items:start}.coach-panel{padding:17px;min-width:0}.coach-panel-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}.coach-panel-head h3{margin:0;font-size:17px}.count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:25px;padding:0 8px;border-radius:999px;background:#f0f4f9;color:#40516a;font-size:10px;font-weight:800}
.coach-request-list,.coach-result-list{display:grid}.coach-request,.coach-result{padding:12px 0;border-bottom:1px solid #edf1f5}.coach-request:last-child,.coach-result:last-child{border-bottom:0}.coach-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}.coach-row strong{display:block;font-size:13px}.coach-row small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.4}.coach-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f0f4f9;color:#52637a;font-size:9px;font-weight:800;text-transform:uppercase}.coach-status.ready{background:var(--green-soft);color:var(--green)}.coach-request-note{margin:8px 0 0;padding:9px 10px;border-radius:10px;background:#f7f9fc;color:#40516a;font-size:11px;line-height:1.45}.coach-request-actions,.coach-result-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.coach-ref{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px;color:var(--muted);font-size:10px}.followup-strip{padding:13px 15px;background:linear-gradient(135deg,#f7fbff,#fff);border:1px solid #d8e7f5;border-radius:14px;display:flex;justify-content:space-between;gap:14px;align-items:center}.followup-strip strong{font-size:12px}.followup-strip small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.followup-strip .followup-counts{display:flex;gap:8px;flex-wrap:wrap}.followup-strip .followup-counts span{padding:6px 8px;border-radius:999px;background:#edf4fb;color:#3f5f7f;font-size:9px;font-weight:800}

@media(max-width:1080px){.coach-columns{grid-template-columns:1fr}.capture-actions,.coach-create-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.capture-v6,.coach-v6{gap:10px}.capture-actions{grid-template-columns:1fr;gap:8px}.capture-action{grid-template-columns:38px minmax(0,1fr);padding:12px;border-radius:14px}.capture-action-icon{width:38px;height:38px}.capture-editor,.coach-create,.coach-panel,.compact-panel{padding:14px}.capture-editor-head{display:grid;grid-template-columns:1fr;gap:7px}.v6-form-grid,.v6-form-grid.three{grid-template-columns:1fr}.v6-form .form-wide{grid-column:auto}.v6-form input,.v6-form select{min-height:46px;font-size:16px}.v6-form textarea{font-size:16px}.v6-form-actions{display:grid;grid-template-columns:1fr}.v6-form-actions button{width:100%;min-height:44px}.capture-existing{grid-template-columns:1fr;gap:10px}.coach-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.coach-summary-card{padding:11px}.coach-summary-card strong{font-size:20px}.coach-create-grid{grid-template-columns:1fr}.coach-create-button{min-height:0}.coach-columns{grid-template-columns:1fr;gap:10px}.followup-strip{align-items:flex-start;flex-direction:column}.coach-row{grid-template-columns:1fr}.coach-status{justify-self:start}.coach-request-actions,.coach-result-actions{display:grid;grid-template-columns:1fr}.coach-request-actions button,.coach-result-actions button{width:100%;min-height:42px}.coach-note textarea{font-size:16px}}
@media(max-width:380px){.coach-summary{grid-template-columns:1fr}.coach-summary-card{display:grid;grid-template-columns:1fr auto;align-items:center}.coach-summary-card strong{grid-row:1/3;grid-column:2}.capture-action small{font-size:10px}}
