
.cgpt-panel{margin:16px;padding:14px;background:#f8fafc;border-radius:16px;color:#0f172a}
.cgpt-panel h2{font-size:22px;margin:0 0 12px}
.cgpt-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px;margin:12px 0;box-shadow:0 8px 20px rgba(15,23,42,.08)}
.cgpt-card h3{margin:0 0 10px;font-size:17px}
.cgpt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.cgpt-grid label{font-weight:700;font-size:13px}
.cgpt-grid input,.cgpt-grid select,.cgpt-card textarea{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:10px;font-size:15px}
.cgpt-card textarea{min-height:220px;background:#020617;color:#e5e7eb;font-family:ui-monospace,Menlo,Consolas,monospace}
#cgptPrompt{min-height:360px}
.cgpt-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}
.cgpt-buttons button{border:0;border-radius:999px;background:#2563eb;color:#fff;font-weight:800;padding:12px;font-size:14px}
.cgpt-buttons .danger{background:#dc2626}
.cgpt-status{white-space:pre-wrap;margin-top:10px;padding:10px;border-radius:10px;background:#e2e8f0;color:#0f172a;font-weight:700}
.cgpt-status.ok{background:#dcfce7;color:#14532d}.cgpt-status.ng{background:#fee2e2;color:#7f1d1d}.cgpt-status.warn{background:#fef3c7;color:#78350f}
.cgpt-pill{display:inline-block;background:#e2e8f0;color:#0f172a;border-radius:999px;padding:4px 9px;margin:3px;font-size:13px;font-weight:700}
.cgpt-pill.ok{background:#dcfce7;color:#14532d}.cgpt-pill.ng{background:#fee2e2;color:#7f1d1d}
.cgpt-muted,.cgpt-empty{color:#64748b}
.cgpt-race{border:1px solid #e2e8f0;border-radius:12px;padding:10px;margin:8px 0;background:#f8fafc}
.cgpt-race pre{white-space:pre-wrap;background:#020617;color:#e5e7eb;border-radius:10px;padding:10px;overflow:auto}
@media(max-width:760px){.cgpt-grid,.cgpt-buttons{grid-template-columns:1fr}.cgpt-panel{margin:8px;padding:10px}}
